Language selection

Search

Patent 3166085 Summary

Third-party information liability

Some of the information on this Web page has been provided by external sources. The Government of Canada is not responsible for the accuracy, reliability or currency of the information supplied by external sources. Users wishing to rely upon this information should consult directly with the source of the information. Content provided by external sources is not subject to official languages, privacy and accessibility requirements.

Claims and Abstract availability

Any discrepancies in the text and image of the Claims and Abstract are due to differing posting times. Text of the Claims and Abstract are posted:

  • At the time the application is open to public inspection;
  • At the time of issue of the patent (grant).
(12) Patent Application: (11) CA 3166085
(54) English Title: A METHOD, DEVICE, TERMINAL, AND COMPUTER-READABLE STORAGE MEDIUM FOR ADJUSTING FONT SIZE
(54) French Title: METHODE, DISPOSITIF, TERMINAL, ET SUPPORT DE STOCKAGE LISIBLE PAR ORDINATEUR POUR AJUSTEMENT DE LA TAILLE DE LA POLICE
Status: Examination
Bibliographic Data
(51) International Patent Classification (IPC):
  • G6F 40/109 (2020.01)
  • G6F 3/01 (2006.01)
  • G6F 3/147 (2006.01)
(72) Inventors :
  • DING, JINFEI (China)
  • DAI, ZHIBO (China)
  • ZHU, SHILONG (China)
  • WANG, RUI (China)
  • WU, CHENJIE (China)
(73) Owners :
  • 10353744 CANADA LTD.
(71) Applicants :
  • 10353744 CANADA LTD. (Canada)
(74) Agent: JAMES W. HINTONHINTON, JAMES W.
(74) Associate agent:
(45) Issued:
(22) Filed Date: 2022-06-29
(41) Open to Public Inspection: 2022-09-30
Examination requested: 2022-06-29
Availability of licence: N/A
Dedicated to the Public: N/A
(25) Language of filing: English

Patent Cooperation Treaty (PCT): No

(30) Application Priority Data:
Application No. Country/Territory Date
202110725591.9 (China) 2021-06-29

Abstracts

English Abstract


The present invention relates to a method of adjusting a font size, and
corresponding device,
terminal equipment, and computer-readable storage medium, of which the method
comprises:
determining a font size range displayed by a terminal screen according to an
age group of a user
currently using or manipulating a terminal, obtaining a preset relation of a
distance between human
eyes and the terminal screen to a font size detecting a current distance
between the human eyes
and the terminal screen, determining a target font size according to the
current distance and the
preset relation, and displaying font on the terminal screen according to the
target font size.
Different font size ranges are set with respect to different age groups, and
font sizes can all be self-
adaptively adjusted according to distances between human eyes and the terminal
screen, whereby
requirements of users for use under different scenarios are satisfied.


Claims

Note: Claims are shown in the official language in which they were submitted.


Claims:
1. A device comprising:
a font size range determining module, configured to determine a font size
range displayed by
a terminal screen according to an age group of a user currently using or
manipulating a terminal;
a preset relation obtaining module, configured to obtain a preset relation of
a distance between
human eyes and the terminal screen to a font size according to the font size
range;
a detecting module, configured to detect a current distance between the human
eyes and the
terminal screen;
a target font size determining module, configured to determine a target font
size according to
the current distance and the preset relation; and
a displaying module, configured to display font on the terminal screen
according to the target
font size.
2. The device of claim 1, further comprises a preset relation determining
module
configured to:
self-adaptively adjust font size S in the terminal screen while changing
distance L between
the human eyes and the terminal screen;
obtain maximum distance Lrn between the human eyes and the terminal screen
when the
font size S is adjusted as maximum font Sr,,ax in the font size range;
obtain normal distance 1, between the human eyes and the terminal screen when
the font
size S is adjusted as normal font S in the font size range;
obtain minimum distance L. between the human eyes and the terminal screen when
the font
size S is adjusted as minimum font in the font size range;
perform linear fitting according to Smax and L., S and
L, and S.,õ and Lõ,,õ; and
33
Date Regue/Date Received 2022-06-29

obtain a preset relation of the distance L between the human eyes and the
terminal screen to
the font size S .
3. The device of claim 2, the preset relation determining module is further
configured to:
obtain minimum radius kin , normal radius Rnoõ and maximum radius R.
respectively of
human pupils when the distance between the human eyes and the terminal screen
is L. , L noõ
and L..;
4. The device of claim 3, wherein performing linear fitting according to
Smax and L.,
S nor and Lnor, and Sr. and L.., obtaining a preset relation of the distance
between
the human eyes and the terminal screen to the font size comprises:
performing linear fitting according to Smax and R., S nor and Rnor, , and
Smill and R.,
and obtaining the preset relation of the radius R of the human pupils to the
font size S ; and
5. The device of claim 4, wherein the preset relation comprises:
when R c[Rmin,R], S = ¨ R)+ Snor;
when R S = k2(Rnor - R)+ S nor; and
wherein kl= max ¨ S 0,.)1(1?or ¨ ) and k2 = (Snor ¨ S rnm)1(R. ¨ Ror).
6. The device of claim 5, further comprises a current radius of human
pupils obtaining
module, configured to obtain current radius Ro of the human pupils when the
current
distance 1,0 between the human eyes and the terminal screen is detected.
7. The device of claim 6, wherein the target font size determining module
is further
configured to:
determine the target font size according to a range in which the current
radius Ro of the human
pupils locates;
34
Date Regue/Date Received 2022-06-29

calculate by employing formula S = kl(Rnor ¨ R)+ Snor if R0 c[Rom,Rnor] and
obtain target
font size So ;
calculate by employing formula S = k2(k0r - R) + S nor if Ro c[RioõRmax] and
obtain the
target font size So ;
wherein target font size So being minimum font Snnn if R0 > Rmax ; and
wherein target font size So being maximum font Smax if R0 <
8. The device of claim 7, wherein the current radius of human pupils
obtaining module is
further configured to:
respectively obtain pupil radius R1 of a user's left eye on an x axis and
pupil radius R12
thereof on a y axis of a screen coordinate system, and the pupil radius Rri of
a user's right
eye on the x axis and the pupil radius Rr2 thereof on the y axis of the screen
coordinate system;
R12 ,
take any one of R11 Rri, and Rr2 as if
Ro R11=R12 , p
Rr2 , and R11= p =
take Rr2 or R12 as if
Ro R11=R12 or Rn <R12 , and Rd< Rr2 R72 = Rr2;
take Rr2 or R12 as R0 if Rri=Rr2 or Rr1<Rr2 , and Rn <R12 and R12 = Rr2 ; and
take Rr1 or R=
11 as Ro if Rri> R r2 R11>R12 , and Rr2=R12 Rri=R/1
9. The device of any one of claims 6 to 8, wherein the detecting module is
further
configured to detect the left eye and the right eye are both imaged within the
terminal
screen.
10. The device of any one of claims 1 to 9, further comprises a judging
module, configured
to judge, wherein the left eye and the right eye are both imaged within the
terminal
screen, detection is carried out for a first time.
Date Regue/Date Received 2022-06-29

11. The device of any one of claims 1 to 10, wherein the detecting module is
further
configured to:
detect, wherein the detection is carried out for the first time, the current
distance between the
human eyes and the terminal screen; and
determine the target font size according to the current distance and the
preset relation.
12. The device of claim 11, wherein the judging module is further configured
to judge,
wherein the detection is not carried out for the first time, a volume of
change in the
distance between the human eyes and the terminal screen between the current
detection
and a previous detection is greater than a preset volume of change;
13. The device of claim 11, wherein the detecting module is further configured
to, wherein
yes, detecting the current distance between the human eyes and the terminal
screen, and
the target font size is determined according to the current distance and the
preset relation
by the target font size determining module.
14. The device of any one of claims 1 to 13, further comprises a the volume of
change in the
radius of human pupils obtaining module, configured to obtain, when the
current
distance 1,0 between the human eyes and the terminal screen is detected, the
volume of
change AR in the radius of the human pupils as compared by the current radius
Ro of
the human pupils as currently detected with the radius of the human pupils as
previously
detected; and
15. The device of any one of claims 1 to 13, wherein the judging module
further configured
to judge the volume of change in the distance between the human eyes and the
terminal
screen is greater than the preset volume of change comprising:
judging the volume of change AR in the radius of the human pupils is
greater than the preset volume of change AR' in the radius; and
judging, wherein the volume of change AR in the radius of the human
pupils is greater than AR' , the volume of change in the distance between
36
Date Regue/Date Received 2022-06-29

the human eyes and the terminal screen is greater than the preset volume of
change.
16. The device of any one of claims 1 to 15, further comprises a front camera
in the terminal
is started, wherein the front camera captures a human face image of the user.
17. The device of any one of claims 1 to 16, wherein the human face image is
input into an
age detecting model, wherein the age detecting model is formed by collecting
face
images of various age groups, extracting human faces including regions of
interest and
region of interest (ROI), by means of an artificial intelligence (AI) face
recognition
system, and big data deep learning based on collected face images.
18. The device of any one of claims 1 to 17, wherein the font size ranges to
which the
various age groups correspond are prestored.
19. The device of any one of claims 1 to 18, wherein the font size ranges are
derived through
statistics carried out according to requirements on font pixels by the various
age groups
as collected.
20. The device of any one of claims 1 to 19, wherein the font size ranges of
various ages are
analyzed through big data and by several rounds of simulated collections of
plural
persons of each age, and are prestored.
21. The device of any one of claims 1 to 20, wherein endpoint values of
adjustment range
are size of the maximum font and the size of the minimum font, and include
sizes of
normal fonts, and adjustment range.
22. The device of any one of claims 1 to 21, wherein the human face image of
the user is
collected through the front camera, the age of the user is recognized through
the age
detecting model, corresponding font size range is obtained through recognized
age, and
the font size displayed in the terminal screen is adjustable within the font
size range.
23. The device of any one of claims 1 to 22, wherein the current distance
between the human
eyes and the terminal screen is measured through the front camera or any other
sensor.
37
Date Regue/Date Received 2022-06-29

24. The device of any one of claims 1 to 23, wherein the terminal includes a
mobile phone, a
panel computer, a wearable device, and any other type of terminal.
25. The device of any one of claims 1 to 24, wherein the target font size
matches the current
distance is determined according to the current distance and the preset
relation, wherein
the target font size is different for people of different ages in case of same
current
distance, wherein font displayed on the terminal screen according to the
target font size
more fits to requirements of the user.
26. The device of any one of claims 1 to 25, wherein the preset relation of
the distance L
between the human eyes and the terminal screen to the font size S in the
terminal
screen is created in advance.
27. The device of any one of claims 1 to 26, wherein the distance between the
human eyes
and the terminal screen is the radius of the human pupils.
28. The device of any one of claims 1 to 27, wherein the human pupils are all
circular,
wherein the distance between the human eyes and the terminal screen is
inversely
proportional to imaging of the human eyes
29. The device of any one of claims 1 to 28, wherein the distance between the
human eyes
and the terminal screen is L..õ the radius of the human pupils is minimum
value Rm.
30. The device of any one of claims 1 to 29, wherein the distance between the
human eyes
and the terminal screen is Lfloõ the radius of the human pupils is normal
value R., .
31. The device of any one of claims 1 to 30, wherein the distance between the
human eyes
and the terminal screen is L.
in the radius of the human pupils is maximum value R..
32. The device of any one of claims 1 to 31, wherein calculation of the preset
relation,
R c [RtnõõRnor] L lies between Lnor L..õ the distance between the human eyes
and
the terminal screen is between the normal distance and the maximum distance,
and the
font size changes relatively quickly at this time;
38
Date Regue/Date Received 2022-06-29

33. The device of any one of claims 1 to 32, wherein R E[RooõRoax], L lies
between
Lmin Lõr , the distance between the human eyes and the terminal screen is
between
the normal distance and the minimum distance, and the font size changes
relatively
slowly, wherein gradients of the two are different, and preset relations are
different for
pupil radii lying between different intervals.
34. The device of any one of claims 1 to 33, wherein current distance Lo
between the
human eyes and the terminal screen is detected, the current radius R0 of the
human
pupils is obtained, to determine the target font size according to the current
distance and
the preset relation is to obtain corresponding target font size through the
range in which
Ro locates.
35. The device of any one of claims 1 to 34, wherein the formula S = kl(Roor ¨
R)+ Si , is
used to calculate and obtain the target font size So if R0 E [Rmui,kor] .
36. The device of any one of claims 1 to 35, wherein the formula S = k2(Roor -
R)+ Soo, is
uesd to calculate and obtain the target font size So if Ro E [RnoõRoJ .
37. The device of any one of claims 1 to 36, wherein R0 > /tax indicates the
distance
between the human eyes and the terminal screen is smaller than the minimum
distance
L., then minimum font size Su,,11 is directly taken to serve as the target
font size S .
38. The device of any one of claims 1 to 37, wherein Ro < gm,õ indicates the
distance
between the human eyes and the terminal screen is greater than the maximum
distance
Lmax then maximum font size Smax is directly taken to serve as the target font
size S.
.
39. The device of any one of claims 1 to 38, wherein under different use
scenarios of the
user, radii of the human pupils captured by the front camera are different.
40. The device of any one of claims 1 to 39, wherein the screen coordinate
system, upper left
39
Date Regue/Date Received 2022-06-29

corner of the screen serves as original point or lower left corner of the
screen serves as
the original point.
41. The device of any one of claims 1 to 40, wherein longitudinal direction of
the screen
serves as the y axis, and transversal direction of the screen serves as the x
axis to create
the screen coordinate system.
42. The device of any one of claims 1 to 41, wherein the user watches the
screen from
different angles, different radii of the human eyes are obtained.
43. The device of any one of claims 1 to 42, wherein the preset volume of
change AR' in
the radius is determined comprises:
obtaining minimum amount of adjustment AS of the font size;
wherein Ro E[R,oõõ Roor] , AR' = kl x AS ; and
wherein Ro c [Rõoõ Itax] , AR' = k2 x AS .
44. The device of any one of claims 1 to 43, wherein adjustment of the font
size of the
terminal screen, there is the minimum amount of adjustment AS of the font
size,
wherein each adjustment of the font size is an integral multiple of AS , to
obtain the
preset volume of change in the radius based on the preset relation of the
radius of the
human pupils to the font size;
45. The device of any one of claims 1 to 44, wherein the calculation of the
preset volume of
change in the radius, corresponding preset volume of change in the radius is
obtained,
judge in which range the radius Ro of the human pupils locates during the
current
detection, wherein Ro E [1?min,1?flor] , AR' = klx AS , wherein Ro e[Rõoõ
Itax] ,
AR' = k2 x AS .
46. The device of any one of claims 1 to 45, wherein Ro > R or Ro <
kun, AR' is 0,
the distance between the human eyes and the terminal screen is greater than
the
maximum distance or smaller than the minimum distance, adjustment to the font
size is
Date Regue/Date Received 2022-06-29

required.
47. The device of any one of claims 1 to 46, wherein judging the radius Ro of
the human
pupils during the current detection and the radius Ro' of the human pupils
during the
previous detection locate in same range, wherein in same interval, AR' is
obtained,
wherein not in the same range, adjustment to the font size is required.
48. The device of any one of claims 1 to 47, wherein judging the radius Ro of
the human
pupils and the radius Ro' of the human pupils during the previous detection
locate in
the same range, wherein Ro c [Rm., Rnor] , but Ro' c {Rnor, the distance
between
the human eyes and the terminal screen is changed relatively greatly,
adjustment to the
font size is required.
49. The device of any one of claims 1 to 48, wherein pixels to which
differently sized fonts
correspond are different, adjustment of the font size is corresponding
adjustment of
pixels of the font.
50. The device of any one of claims 1 to 49, wherein manual for the user or
automatic to
start adjusting the font size in the terminal;
51. The device of any one of claims 1 to 50, wherein the user is reminded to
close when it is
not required to adjust the font.
52. A system comprising:
a font size range determining module, configured to determine a font size
range displayed by
a terminal screen according to an age group of a user currently using or
manipulating a terminal;
a preset relation obtaining module, configured to obtain a preset relation of
a distance between
human eyes and the terminal screen to a font size according to the font size
range;
a detecting module, configured to detect a current distance between the human
eyes and the
terminal screen;
41
Date Regue/Date Received 2022-06-29

a target font size determining module, configured to determine a target font
size according to
the current distance and the preset relation; and
a displaying module, configured to display font on the terminal screen
according to the target
font size.
53. The system of claim 52, further comprises a preset relation determining
module
configured to:
self-adaptively adjust font size S in the terminal screen while changing
distance L between
the human eyes and the terminal screen;
obtain maximum distance L. between the human eyes and the terminal screen when
the
font size S is adjusted as maximum font S. in the font size range;
obtain normal distance 1, between the human eyes and the terminal screen when
the font
size S is adjusted as normal font S in the font size range;
obtain minimum distance L11111 between the human eyes and the terminal screen
when the font
size S is adjusted as minimum font SI11111 in the font size range;
perform linear fitting according to Sr. and L., S and 1,õ and S and ; and
obtain a preset relation of the distance L between the human eyes and the
terminal screen to
the font size S .
54. The system of claim 53, the preset relation determining module is further
configured to:
obtain minimum radius kin , normal radius Rioõ and maximum radius R.
respectively of
human pupils when the distance between the human eyes and the terminal screen
is L., Lfloõ
and L1n ;
55. The system of claim 54, wherein performing linear fitting according to
Sinax and Linax ,
42
Date Regue/Date Received 2022-06-29

Snor and Lnor, , and S
mill and Llo
m, obtaining a preset relation of the distance between
the human eyes and the terminal screen to the font size comprises:
performing linear fitting according to Smax and km Snor and Rnor , and Sroor
and R.,
and obtaining the preset relation of the radius R of the human pupils to the
font size S ; and
56. The system of claim 55, wherein the preset relation comprises:
when R c[Rroor,Rnor], S = kl(Rnor ¨ R)+ S nor;
when R c[Rnor,R.1, S = k2(Rnor - R)+ Snor; and
wherein kl= (Srri= ¨ S nor)/ (Rnor ¨ Rroor), and k2 = (S ¨ Sroor)/(R. ¨ Rnor).
57. The system of claim 56, further comprises a current radius of human pupils
obtaining
module, configured to obtain current radius Ro of the human pupils when the
current
distance Lo between the human eyes and the terminal screen is detected.
58. The system of claim 57, wherein the target font size determining module is
further
configured to:
determine the target font size according to a range in which the current
radius Ro of the human
pupils locates;
calculate by employing formula S = OR. ¨ R)+ Snor if Ro C[Rom,Rnor] and obtain
target
font size So ;
calculate by employing formula S = k2(Rn0r - R)+ Snor if Ro C[Rnor,R.1 and
obtain the
target font size So ;
wherein target font size So being minimum font S
min if Ro > Rmax ; and
wherein target font size So being maximum font Smax if Ro <
43
Date Regue/Date Received 2022-06-29

59. The system of claim 58, wherein the current radius of human pupils
obtaining module is
further configured to:
respectively obtain pupil radius R, of a user's left eye on an x axis and
pupil radius R12
thereof on a y axis of a screen coordinate system, and the pupil radius Rõ of
a user's right
eye on the x axis and the pupil radius Rr2 thereof on the y axis of the screen
coordinate system;
, ,
take any one of R11 R12 Rõ, and Rr2 as f
R i
o R11=R12 , =
/Cr Rr2 , and R11=Rri;
take Rr2 or R72 as if
Ro R11=R12 or Rn<R12 , and Rri < Rr2 R72 = Rr2 ;
take Rr2 or R12 as Ro if Rri=Rr2 or Rri <Rr2, and Rn< R12, and R12 = Rr2 ; and
take Rr1 or R11 as R if Rr1> Rr2 R /1>R 12 , and Rr2 = 72 , Rrl= /1 ,
60. The system of any one of claims 57 to 59, wherein the detecting module is
further
configured to detect the left eye and the right eye are both imaged within the
terminal
screen.
61. The system of any one of claims 52 to 60, further comprises a judging
module,
configured to judge, wherein the left eye and the right eye are both imaged
within the
terminal screen, detection is carried out for a first time.
62. The system of any one of claims 52 to 61, wherein the detecting module is
further
configured to:
detect, wherein the detection is carried out for the first time, the current
distance between the
human eyes and the terminal screen; and
determine the target font size according to the current distance and the
preset relation.
63. The system of claim 62, wherein the judging module is further configured
to judge,
wherein the detection is not carried out for the first time, a volume of
change in the
distance between the human eyes and the terminal screen between the current
detection
44
Date Regue/Date Received 2022-06-29

and a previous detection is greater than a preset volume of change;
64. The system of claim 62, wherein the detecting module is further configured
to, wherein
yes, detecting the current distance between the human eyes and the terminal
screen, and
the target font size is determined according to the current distance and the
preset relation
by the target font size determining module.
65. The system of any one of claims 52 to 64, further comprises a the volume
of change in
the radius of human pupils obtaining module, configured to obtain, when the
current
distance L, between the human eyes and the terminal screen is detected, the
volume of
change AR in the radius of the human pupils as compared by the current radius
R, of
the human pupils as currently detected with the radius of the human pupils as
previously
detected; and
66. The system of any one of claims 52 to 65, wherein the judging module
further
configured to judge the volume of change in the distance between the human
eyes and
the terminal screen is greater than the preset volume of change comprising:
judging the volume of change AR in the radius of the human pupils is
greater than the preset volume of change AR' in the radius; and
judging, wherein the volume of change AR in the radius of the human
pupils is greater than AR' , the volume of change in the distance between
the human eyes and the terminal screen is greater than the preset volume of
change.
67. The system of any one of claims 52 to 66, further comprises a front camera
in the
terminal is started, wherein the front camera captures a human face image of
the user.
68. The system of any one of claims 52 to 67, wherein the human face image is
input into an
age detecting model, wherein the age detecting model is formed by collecting
face
images of various age groups, extracting human faces including regions of
interest and
region of interest (ROI), by means of an artificial intelligence (AI) face
recognition
Date Regue/Date Received 2022-06-29

system, and big data deep learning based on collected face images.
69. The system of any one of claims 52 to 68, wherein the font size ranges to
which the
various age groups correspond are prestored.
70. The system of any one of claims 52 to 69, wherein the font size ranges are
derived
through statistics carried out according to requirements on font pixels by the
various age
groups as collected.
71. The system of any one of claims 52 to 70, wherein the font size ranges of
various ages
are analyzed through big data and by several rounds of simulated collections
of plural
persons of each age, and are prestored.
72. The system of any one of claims 52 to 71, wherein endpoint values of
adjustment range
are size of the maximum font and the size of the minimum font, and include
sizes of
normal fonts, and adjustment range.
73. The system of any one of claims 52 to 72, wherein the human face image of
the user is
collected through the front camera, the age of the user is recognized through
the age
detecting model, corresponding font size range is obtained through recognized
age, and
the font size displayed in the terminal screen is adjustable within the font
size range.
74. The system of any one of claims 52 to 73, wherein the current distance
between the
human eyes and the terminal screen is measured through the front camera or any
other
sensor.
75. The system of any one of claims 52 to 74, wherein the terminal includes a
mobile phone,
a panel computer, a wearable system, and any other type of terminal.
76. The system of any one of claims 52 to 75, wherein the target font size
matches the
current distance is determined according to the current distance and the
preset relation,
wherein the target font size is different for people of different ages in case
of same
current distance, wherein font displayed on the terminal screen according to
the target
font size more fits to requirements of the user.
46
Date Regue/Date Received 2022-06-29

77. The system of any one of claims 52 to 76, wherein the preset relation of
the distance L
between the human eyes and the terminal screen to the font size S in the
terminal
screen is created in advance.
78. The system of any one of claims 52 to 77, wherein the distance between the
human eyes
and the terminal screen is the radius of the human pupils.
79. The system of any one of claims 52 to 78, wherein the human pupils are all
circular,
wherein the distance between the human eyes and the terminal screen is
inversely
proportional to imaging of the human eyes
80. The system of any one of claims 52 to 79, wherein the distance between the
human eyes
and the terminal screen is L..õ the radius of the human pupils is minimum
value R.,õ ,
81. The system of any one of claims 52 to 80, wherein the distance between the
human eyes
and the terminal screen is Looõ the radius of the human pupils is normal value
Roo, .
82. The system of any one of claims 52 to 81, wherein the distance between the
human eyes
and the terminal screen is L11111, the radius of the human pupils is maximum
value R.
ax -
83. The system of any one of claims 52 to 82, wherein calculation of the
preset relation,
R c [R.., kor] , L lies between Lnor L..õ the distance between the human eyes
and
the terminal screen is between the normal distance and the maximum distance,
and the
font size changes relatively quickly at this time;
84. The system of any one of claims 52 to 83, wherein R c [Roo, Rmax] , L lies
between
Lmin Lõr , the distance between the human eyes and the terminal screen is
between
the normal distance and the minimum distance, and the font size changes
relatively
slowly, wherein gradients of the two are different, and preset relations are
different for
pupil radii lying between different intervals.
85. The system of any one of claims 52 to 84, wherein current distance L 0
between the
47
Date Regue/Date Received 2022-06-29

human eyes and the terminal screen is detected, the current radius R0 of the
human
pupils is obtained, to determine the target font size according to the current
distance and
the preset relation is to obtain corresponding target font size through the
range in which
Ro locates.
86. The system of any one of claims 52 to 85, wherein the formula S = kl(Rnor
¨ R)+ Snor is
used to calculate and obtain the target font size So if R0 E kor] .
87. The system of any one of claims 52 to 86, wherein the formula S = k2(Rnor -
R)+Snor is
uesd to calculate and obtain the target font size So if Ro E [RnoõRmax] .
88. The system of any one of claims 52 to 87, wherein R0 > R indicates the
distance
between the human eyes and the terminal screen is smaller than the minimum
distance
L nun , then minimum font size Smjn is directly taken to serve as the target
font size So .
89. The system of any one of claims 52 to 88, wherein R0 < Rõõ,, indicates the
distance
between the human eyes and the terminal screen is greater than the maximum
distance
Lniax , then maximum font size Sr. is directly taken to serve as the target
font size So .
90. The system of any one of claims 52 to 89, wherein under different use
scenarios of the
user, radii of the human pupils captured by the front camera are different.
91. The system of any one of claims 52 to 90, wherein the screen coordinate
system, upper
left corner of the screen serves as original point or lower left corner of the
screen serves
as the original point.
92. The system of any one of claims 52 to 91, wherein longitudinal direction
of the screen
serves as the y axis, and transversal direction of the screen serves as the x
axis to create
the screen coordinate system.
93. The system of any one of claims 52 to 92, wherein the user watches the
screen from
48
Date Regue/Date Received 2022-06-29

different angles, different radii of the human eyes are obtained.
94. The system of any one of claims 52 to 93, wherein the preset volume of
change AR' in
the radius is determined comprises:
obtaining minimum amount of adjustment AS of the font size;
wherein R0 E[Rro.õ Rooj , AR' = kl x AS ; and
wherein Ro c [Roo õ Itax] , AR' = k2 x AS .
95. The system of any one of claims 52 to 94, wherein adjustment of the font
size of the
terminal screen, there is the minimum amount of adjustment AS of the font
size,
wherein each adjustment of the font size is an integral multiple of AS , to
obtain the
preset volume of change in the radius based on the preset relation of the
radius of the
human pupils to the font size;
96. The system of any one of claims 52 to 95, wherein the calculation of the
preset volume
of change in the radius, corresponding preset volume of change in the radius
is obtained,
judge in which range the radius R0 of the human pupils locates during the
current
detection, wherein Ro e [Rifo,õ Ro or] , AR' = kl x AS , wherein Ro E
[RooõRoax] ,
AR' = k2 x AS .
97. The system of any one of claims 52 to 96, wherein Ro > Rroa,õ or Ro <
Rtoõõ AR' is 0,
the distance between the human eyes and the terminal screen is greater than
the
maximum distance or smaller than the minimum distance, adjustment to the font
size is
required.
98. The system of any one of claims 52 to 97, wherein judging the radius Ro of
the human
pupils during the current detection and the radius R0' of the human pupils
during the
previous detection locate in same range, wherein in same interval, Alr is
obtained,
wherein not in the same range, adjustment to the font size is required.
49
Date Regue/Date Received 2022-06-29

99. The system of any one of claims 52 to 98, wherein judging the radius Ro of
the human
pupils and the radius R0' of the human pupils during the previous detection
locate in
the same range, wherein Ro c [R0., Rior] , but Ro' c {Rnor, the distance
between
the human eyes and the terminal screen is changed relatively greatly,
adjustment to the
font size is required.
100. The system of any one of claims 52 to 99, wherein pixels to which
differently sized fonts
correspond are different, adjustment of the font size is corresponding
adjustment of
pixels of the font.
101. The system of any one of claims 52 to 100, wherein manual for the user or
automatic to
start adjusting the font size in the terminal;
102. The system of any one of claims 52 to 101, wherein the user is reminded
to close when it
is not required to adjust the font.
103. A method comprising:
determining a font size range displayed by a terminal screen according to an
age group of a
user currently using or manipulating a terminal;
obtaining a preset relation of a distance between human eyes and the terminal
screen to a font
size according to the font size range;
detecting a current distance between the human eyes and the terminal screen;
determining a target font size according to the current distance and the
preset relation; and
displaying font on the terminal screen according to the target font size.
104. The method of claim 103, wherein the preset relation is determined
comprises:
self-adaptively adjusting font size S in the terminal screen while changing
distance L
between the human eyes and the terminal screen;
obtaining maximum distance L max between the human eyes and the terminal
screen when the
Date Regue/Date Received 2022-06-29

font size S is adjusted as maximum font S. in the font size range;
obtaining normal distance L nor between the human eyes and the terminal screen
when the font
size S is adjusted as normal font S nor in the font size range;
obtaining minimum distance Lunn between the human eyes and the terminal screen
when the
font size S is adjusted as minimum font S.jrr in the font size range;
performing linear fitting according to Smax and L., S nor and L noõ and SinIll
and L
min
and
obtaining the preset relation of the distance L between the human eyes and the
terminal
screen to the font size S .
105. The method of claim 104, further comprises:
obtaining minimum radius km , normal radius Rnoõ and maximum radius Rmax
respectively
of human pupils when the distance between the human eyes and the terminal
screen is Linax ,
Lnor, and Lnnn ;
106. The method of claim 105, wherein performing linear fitting according to
S. and
Lmax , Snor and L nor , and Su,III and L., and obtaining the preset relation
of the
distance between the human eyes and the terminal screen to the font size
comprises:
performing linear fitting according to Smax and Run., S nor and Rnor, , and
sun. and Rmax ;
and obtaining a preset relation of radius R of the human pupils to the font
size S ;
107. The method of claim 106, wherein the preset relation comprises:
when R c [RnnoRnor] S = k 1(R, ¨ R) + Snor;
when R c[Rnor,Rna], S = k2(R10, - R)+ Snor; and
51
Date Regue/Date Received 2022-06-29

wherein kl = S nor)1(kor ¨ Rmm), and k2 = (S nor ¨ mm)I (R. ¨ kor).
108. The method of claim 107, wherein current radius Ro of the human pupils is
obtained
when the current distance Lo between the human eyes and the terminal screen is
detected.
109. The method of claim 108, wherein determining the target font size
according to the
current distance and the preset relation comprises:
determining the target font size according to a range in which the current
radius Ro of the
human pupils locates;
calculating using formula S = kl(kor ¨ R)+ S nor if Ro c[Rmm,Rnor] and obtain
the target
font size So ;
calculating using formula S = k2(k0,. - R)+ Sim,. if Ro c[RnoõRmax] and obtain
the target
font size So ;
the target font size So being minimum font Snon if Ro > Rmax; and
the target font size So being maximum font Smax if Ro < Rmm .
110. The method of claim 109, wherein obtaining the current radius Ro of the
human pupils
comprises:
respectively obtaining pupil radius RI of a left eye on an x axis and pupil
radius R72 thereof
on a y axis of a screen coordinate system, and the pupil radius Rri of a right
eye on the x axis
and the pupil radius Rõ thereof on the y axis of the screen coordinate system;
taking any one of Rn, R72, Rri, and Rõ as R0 if RI = R12 , Rri= Rõ, and Rii=
Rri;
52
Date Regue/Date Received 2022-06-29

taking Rõ or R12 as Ro if Rn= R12 or Rn< R12 , and Rõ< Rr2 = Rr2 ;
taking Rr2 or R12 as Ro if Rri =Rr2 or Rri< Rr2 , and Rn <R12 and R2 = Rr2 ;
and
taking Rri or Rn as Ro if Rõ> Rr2 , R11> R12 ; and Rr2 = Ri2 Rri=
111. The method of any one of claims 108 to 110, further comprises detecting
the left eye and
the right eye are both imaged within the screen comprises:
judging, wherein the left eye and the right eye are both imaged within the
screen, detection is
carried out for first time;
detecting, wherein detection is carried out for the first time, the current
distance between the
human eyes and the terminal screen, and determining the target font size
according to the
current distance and the preset relation;
judging, wherein detection is not carried out for the first time, a volume of
change in the
distance between the human eyes and the terminal screen between a current
detection and a
previous detection is greater than a preset volume of change; and
wherein yes, detecting the current distance between the human eyes and the
terminal screen,
and determining the target font size according to the current distance and the
preset relation.
112. The method of claim 111, further comprises:
obtaining, when the current distance 1,0 between the human eyes and the
terminal screen is
detected, the volume of change AR in radius of the human pupils as compared by
the current
radius R0 of the human pupils as currently detected with the radius of the
human pupils as
previously detected;
113. The method of claim 112, wherein judging the volume of change in the
distance between
the human eyes and the terminal screen is greater than the preset volume of
change
comprises:
judging the volume of change AR in the radius of the human pupils is greater
than the preset
53
Date Regue/Date Received 2022-06-29

volume of change AR' in the radius; and
judging, whrerin the volume of change AR in the radius of the human pupils is
greater than
AR' , the volume of change in the distance between the human eyes and the
terminal screen is
greater than the preset volume of change.
114. The method of any one of claims 103 to 113, further comprises a front
camera in the
terminal is started, wherein the front camera captures a human face image of
the user.
115. The method of any one of claims 103 to 114, wherein the human face image
is input into
an age detecting model, wherein the age detecting model is formed by
collecting face
images of various age groups, extracting human faces including regions of
interest and
region of interest (ROI), by means of an artificial intelligence (AI) face
recognition
system, and big data deep learning based on collected face images.
116. The method of any one of claims 103 to 115, wherein the font size ranges
to which the
various age groups correspond are prestored.
117. The method of any one of claims 103 to 116, wherein the font size ranges
are derived
through statistics carried out according to requirements on font pixels by the
various age
groups as collected.
118. The method of any one of claims 103 to 117, wherein the font size ranges
of various
ages are analyzed through big data and by several rounds of simulated
collections of
plural persons of each age, and are prestored.
119. The method of any one of claims 103 to 118, wherein endpoint values of
adjustment
range are size of the maximum font and the size of the minimum font, and
include sizes
of normal fonts, and adjustment range.
120. The method of any one of claims 103 to 119, wherein the human face image
of the user
is collected through the front camera, the age of the user is recognized
through the age
detecting model, corresponding font size range is obtained through recognized
age, and
the font size displayed in the terminal screen is adjustable within the font
size range.
54
Date Regue/Date Received 2022-06-29

121. The method of any one of claims 103 to 120, wherein the current distance
between the
human eyes and the terminal screen is measured through the front camera or any
other
sensor.
122. The method of any one of claims 103 to 121, wherein the terminal includes
a mobile
phone, a panel computer, a wearable system, and any other type of terminal.
123. The method of any one of claims 103 to 122, wherein the target font size
matches the
current distance is determined according to the current distance and the
preset relation,
wherein the target font size is different for people of different ages in case
of same
current distance, wherein font displayed on the terminal screen according to
the target
font size more fits to requirements of the user.
124. The method of any one of claims 103 to 123, wherein the preset relation
of the distance
L between the human eyes and the terminal screen to the font size S in the
terminal
screen is created in advance.
125. The method of any one of claims 103 to 124, wherein the distance between
the human
eyes and the terminal screen is the radius of the human pupils.
126. The method of any one of claims 103 to 125, wherein the human pupils are
all circular,
wherein the distance between the human eyes and the terminal screen is
inversely
proportional to imaging of the human eyes
127. The method of any one of claims 103 to 126, wherein the distance between
the human
eyes and the terminal screen is L the
radius of the human pupils is minimum value
128. The method of any one of claims 103 to 127, wherein the distance between
the human
eyes and the terminal screen is Lnoõ the radius of the human pupils is normal
value
Rnor -
129. The method of any one of claims 103 to 128, wherein the distance between
the human
Date Regue/Date Received 2022-06-29

eyes and the terminal screen is Lmn the radius of the human pupils is maximum
value
i
Rrnax
130. The method of any one of claims 103 to 129, wherein calculation of the
preset relation,
R c [R.õ Roor] , L lies between Loor Lma,õ the distance between the human eyes
and
the terminal screen is between the normal distance and the maximum distance,
and the
font size changes relatively quickly at this time;
131. The method of any one of claims 103 to 130, wherein R c[RooõRmax], L lies
between
Lmin Lõr , the distance between the human eyes and the terminal screen is
between
the normal distance and the minimum distance, and the font size changes
relatively
slowly, wherein gradients of the two are different, and preset relations are
different for
pupil radii lying between different intervals.
132. The method of any one of claims 103 to 131, wherein current distance Lo
between the
human eyes and the terminal screen is detected, the current radius Ro of the
human
pupils is obtained, to determine the target font size according to the current
distance and
the preset relation is to obtain corresponding target font size through the
range in which
R0 locates.
133. The method of any one of claims 103 to 132, wherein the formula S =
kl(Roor ¨ R) + Snor
is used to calculate and obtain the target font size So if R0 E [Rmoi,Rnor] .
134. The method of any one of claims 103 to 133, wherein the formula S =
k2(Roor - R)+ Soo,
is uesd to calculate and obtain the target font size So if Ro E [RioõRmax] .
135. The method of any one of claims 103 to 134, wherein Ro > Rma,õ indicates
the distance
between the human eyes and the terminal screen is smaller than the minimum
distance
then minimum font size S is
directly taken to serve as the target font size S.
.
56
Date Regue/Date Received 2022-06-29

136. The method of any one of claims 103 to 135, wherein Ro < kun, indicates
the distance
between the human eyes and the terminal screen is greater than the maximum
distance
Lroax , then maximum font size Smax is directly taken to serve as the target
font size So .
137. The method of any one of claims 103 to 136, wherein under different use
scenarios of
the user, radii of the human pupils captured by the front camera are
different.
138. The method of any one of claims 103 to 137, wherein the screen coordinate
system,
upper left corner of the screen serves as original point or lower left comer
of the screen
serves as the original point.
139. The method of any one of claims 103 to 138, wherein longitudinal
direction of the screen
serves as the y axis, and transversal direction of the screen serves as the x
axis to create
the screen coordinate system.
140. The method of any one of claims 103 to 139, wherein the user watches the
screen from
different angles, different radii of the human eyes are obtained.
141. The method of any one of claims 103 to 140, wherein the preset volume of
change AR'
in the radius is determined comprises:
obtaining minimum amount of adjustment AS of the font size;
wherein R0 c [Rm., Rnor] , AR' = kl x AS ; and
wherein Ro c [Rooõ Rmax] , AR' = k2 x AS .
142. The method of any one of claims 103 to 141, wherein adjustment of the
font size of the
terminal screen, there is the minimum amount of adjustment AS of the font
size,
wherein each adjustment of the font size is an integral multiple of AS , to
obtain the
preset volume of change in the radius based on the preset relation of the
radius of the
human pupils to the font size;
143. The method of any one of claims 103 to 142, wherein the calculation of
the preset
volume of change in the radius, corresponding preset volume of change in the
radius is
57
Date Regue/Date Received 2022-06-29

obtained, judge in which range the radius Ro of the human pupils locates
during the
current detection, wherein R0 c kor] , AR' = kl x AS , wherein Ro e
[RooõRoJ ,
AR' = k2 x AS .
144. The method of any one of claims 103 to 143, wherein Ro > Rroax , or Ro <
Rto,,õ AR' is
0, the distance between the human eyes and the terminal screen is greater than
the
maximum distance or smaller than the minimum distance, adjustment to the font
size is
required.
145. The method of any one of claims 103 to 144, wherein judging the radius Ro
of the
human pupils during the current detection and the radius Ro' of the human
pupils
during the previous detection locate in same range, wherein in same interval,
AR' is
obtained, wherein not in the same range, adjustment to the font size is
required.
146. The method of any one of claims 103 to 145, wherein judging the radius Ro
of the
human pupils and the radius Ro' of the human pupils during the previous
detection
locate in the same range, wherein Ro c [Rm., Rflor] , but Ro' c [Rõ0õ Itax] ,
the distance
between the human eyes and the terminal screen is changed relatively greatly,
adjustment to the font size is required.
147. The method of any one of claims 103 to 146, wherein pixels to which
differently sized
fonts correspond are different, adjustment of the font size is corresponding
adjustment of
pixels of the font.
148. The method of any one of claims 103 to 147, wherein manual for the user
or automatic
to start adjusting the font size in the terminal;
149. The method of any one of claims 103 to 148, wherein the user is reminded
to close when
it is not required to adjust the font.
58
Date Regue/Date Received 2022-06-29

150. A terminal equipment comprising:
one or more processors; and
a memory, associated with the one or more processors and used for storing a
program
instruction read and executed by the one or more processors configured to:
determine a font size range displayed by a terminal screen according to an
age group of a user currently using or manipulating a terminal;
obtain a preset relation of a distance between human eyes and the terminal
screen to a font size according to the font size range;
detect a current distance between the human eyes and the terminal screen;
determine a target font size according to the current distance and the preset
relation; and
display font on the terminal screen according to the target font size.
151. The equipment of claim 150, wherein the preset relation is determined
comprises:
self-adaptively adjusting font size S in the terminal screen while changing
distance L
between the human eyes and the terminal screen;
obtaining maximum distance L. between the human eyes and the terminal screen
when the
font size S is adjusted as maximum font S. in the font size range;
obtaining normal distance Lnor between the human eyes and the terminal screen
when the font
size S is adjusted as normal font Snor in the font size range;
obtaining minimum distance Lrnjr between the human eyes and the terminal
screen when the
font size S is adjusted as minimum font Su01 in the font size range;
59
Date Regue/Date Received 2022-06-29

performing linear fitting according to Smax and L., S nor and L noõ and Su,III
and L ;
min
and
obtaining the preset relation of the distance L between the human eyes and the
terminal
screen to the font size S .
152. The equipment of claim 151, further comprises:
obtaining minimum radius Rnnn , normal radius Rnoõ and maximum radius Rinax
respectively
of human pupils when the distance between the human eyes and the terminal
screen is Linax ,
Lnor and Lunn ;
153. The equipment of claim 152, wherein performing linear fitting according
to Smax and
L., Snor and L nor , and Su,III and L.,n and obtaining the preset
relation of the
i
distance between the human eyes and the terminal screen to the font size
comprises:
performing linear fitting according to S. and Rm., S nor and Rnor, and Sun.
and R.;
and obtaining a preset relation of radius R of the human pupils to the font
size S ;
154. The equipment of claim 153, wherein the preset relation comprises:
when R c[Rinni,Rnor] S = kl(Rnor ¨ R) + Snor;
when R c[Rnor,Rm], S = k2(Rnor - R)+ S nor; and
wherein kl = (Sinn, ¨ S nor)/ (Rnor , and k2 = (S nor ¨ mni) 1 (R. ¨ Rnor)
.
155. The equipment of claim 154, wherein current radius Ro of the human pupils
is obtained
when the current distance L, between the human eyes and the terminal screen is
detected.
156. The equipment of claim 155, wherein determining the target font size
according to the
Date Regue/Date Received 2022-06-29

current distance and the preset relation comprises:
determining the target font size according to a range in which the current
radius Ro of the
human pupils locates;
calculating using formula S = OR. - R)+Snor if Ro c[Rom,Rior] and obtain the
target
font size So ;
calculating using formula S = k2(Roor - R)+ S nor if Ro c[RnoõRoax] and obtain
the target
font size So ;
the target font size So being minimum font S non if Ro> Rmax; and
the target font size So being maximum font S. if Ro < Rom.
157. The equipment of claim 156, wherein obtaining the current radius Ro of
the human
pupils comprises:
respectively obtaining pupil radius R11 of a left eye on an x axis and pupil
radius R1 2 thereof
on a y axis of a screen coordinate system, and the pupil radius Rri of a right
eye on the x axis
and the pupil radius Rõ thereof on the y axis of the screen coordinate system;
taking any one of Rn, R12, Rri, and Rõ as Ro if Rn= 2 , Rri= Rõ, and Rn= Rri;
taking Rr2 or R1 2 as Ro if Rn= 2 or Rn< R12 , and Rri <Rr2, Ri2 = Rr 2 ;
taking Rr2 or R12 as R0 if Rri=Rr2 or Rri < Rr2 , and Rn< 2 , and R12 = Rr2 ;
and
taking Rri or Rn as Ro if Rri> Rr 2, Rn> R1 2 , and Rr 2=R72 Rri=
158. The equipment of any one of claims 155 to 157, further comprises
detecting the left eye
and the right eye are both imaged within the screen comprises:
61
Date Regue/Date Received 2022-06-29

judging, wherein the left eye and the right eye are both imaged within the
screen, detection is
carried out for first time;
detecting, wherein detection is carried out for the first time, the current
distance between the
human eyes and the terminal screen, and determining the target font size
according to the
current distance and the preset relation;
judging, wherein detection is not carried out for the first time, a volume of
change in the
distance between the human eyes and the terminal screen between a current
detection and a
previous detection is greater than a preset volume of change; and
wherein yes, detecting the current distance between the human eyes and the
terminal screen,
and determining the target font size according to the current distance and the
preset relation.
159. The equipment of claim 155, further comprises:
obtaining, when the current distance L, between the human eyes and the
terminal screen is
detected, the volume of change AR in radius of the human pupils as compared by
the current
radius Ro of the human pupils as currently detected with the radius of the
human pupils as
previously detected;
160. The equipment of claim 159, wherein judging the volume of change in the
distance
between the human eyes and the terminal screen is greater than the preset
volume of
change comprises:
judging the volume of change AR in the radius of the human pupils is greater
than the preset
volume of change AR' in the radius; and
judging, whrerin the volume of change AR in the radius of the human pupils is
greater than
AR' , the volume of change in the distance between the human eyes and the
terminal screen is
greater than the preset volume of change.
161. The equipment of any one of claims 150 to 160, further comprises a front
camera in the
terminal is started, wherein the front camera captures a human face image of
the user.
62
Date Regue/Date Received 2022-06-29

162. The equipment of any one of claims 150 to 161, wherein the human face
image is input
into an age detecting model, wherein the age detecting model is formed by
collecting
face images of various age groups, extracting human faces including regions of
interest
and region of interest (ROI), by means of an artificial intelligence (AI) face
recognition
system, and big data deep learning based on collected face images.
163. The equipment of any one of claims 150 to 162, wherein the font size
ranges to which
the various age groups correspond are prestored.
164. The equipment of any one of claims 150 to 163, wherein the font size
ranges are derived
through statistics carried out according to requirements on font pixels by the
various age
groups as collected.
165. The equipment of any one of claims 150 to 164, wherein the font size
ranges of various
ages are analyzed through big data and by several rounds of simulated
collections of
plural persons of each age, and are prestored.
166. The equipment of any one of claims 150 to 165, wherein endpoint values of
adjustment
range are size of the maximum font and the size of the minimum font, and
include sizes
of normal fonts, and adjustment range.
167. The equipment of any one of claims 150 to 166, wherein the human face
image of the
user is collected through the front camera, the age of the user is recognized
through the
age detecting model, corresponding font size range is obtained through
recognized age,
and the font size displayed in the terminal screen is adjustable within the
font size range.
168. The equipment of any one of claims 150 to 167, wherein the current
distance between
the human eyes and the terminal screen is measured through the front camera or
any
other sensor.
169. The equipment of any one of claims 150 to 168, wherein the terminal
includes a mobile
phone, a panel computer, a wearable system, and any other type of terminal.
170. The equipment of any one of claims 150 to 169, wherein the target font
size matches the
current distance is determined according to the current distance and the
preset relation,
63
Date Regue/Date Received 2022-06-29

wherein the target font size is different for people of different ages in case
of same
current distance, wherein font displayed on the terminal screen according to
the target
font size more fits to requirements of the user.
171. The equipment of any one of claims 150 to 170, wherein the preset
relation of the
distance L between the human eyes and the terminal screen to the font size S
in the
terminal screen is created in advance.
172. The equipment of any one of claims 150 to 171, wherein the distance
between the human
eyes and the terminal screen is the radius of the human pupils.
173. The equipment of any one of claims 150 to 172, wherein the human pupils
are all
circular, wherein the distance between the human eyes and the terminal screen
is
inversely proportional to imaging of the human eyes
174. The equipment of any one of claims 150 to 173, wherein the distance
between the human
eyes and the terminal screen is L the radius of the human pupils is minimum
value
175. The equipment of any one of claims 150 to 174, wherein the distance
between the human
eyes and the terminal screen is Lnoõ the radius of the human pupils is normal
value
Rnor -
176. The equipment of any one of claims 150 to 175, wherein the distance
between the human
eyes and the terminal screen is L.., the radius of the human pupils is maximum
value
Rmax
177. The equipment of any one of claims 150 to 176, wherein calculation of the
preset
relation, R e[RmnõRnor] L lies between Lnor Lmax the distance between the
human
eyes and the terminal screen is between the normal distance and the maximum
distance,
and the font size changes relatively quickly at this time;
64
Date Regue/Date Received 2022-06-29

178. The equipment of any one of claims 150 to 177, wherein R e[Rnoõkax], L
lies
between Lmin Lõr , the distance between the human eyes and the terminal screen
is
between the normal distance and the minimum distance, and the font size
changes
relatively slowly, wherein gradients of the two are different, and preset
relations are
different for pupil radii lying between different intervals.
179. The equipment of any one of claims 150 to 178, wherein current distance
L0 between
the human eyes and the terminal screen is detected, the current radius R0 of
the human
pupils is obtained, to determine the target font size according to the current
distance and
the preset relation is to obtain corresponding target font size through the
range in which
Ro locates.
180. The equipment of any one of claims 150 to 179, wherein the formula
S = kl(Rnor ¨ R)+ Snor is used to calculate and obtain the target font size So
if
Ro E [km Rnor] -
181. The equipment of any one of claims 150 to 180, wherein the formula
S = k2(Rn0r - R)+ S nor is uesd to calculate and obtain the target font size
So if
Ro E [Rnor, R.] -
182. The equipment of any one of claims 150 to 181, wherein Ro > Rniax,
indicates the
distance between the human eyes and the terminal screen is smaller than the
minimum
distance L min , then minimum font size Smjn is directly taken to serve as the
target font
size So .
183. The equipment of any one of claims 150 to 182, wherein Ro < kun indicates
the
distance between the human eyes and the terminal screen is greater than the
maximum
distance Lmax then maximum font size Sri1 is directly taken to serve as the
target font
Date Regue/Date Received 2022-06-29

size So .
184. The equipment of any one of claims 150 to 183, wherein under different
use scenarios of
the user, radii of the human pupils captured by the front camera are
different.
185. The equipment of any one of claims 150 to 184, wherein the screen
coordinate system,
upper left corner of the screen serves as original point or lower left comer
of the screen
serves as the original point.
186. The equipment of any one of claims 150 to 185, wherein longitudinal
direction of the
screen serves as the y axis, and transversal direction of the screen serves as
the x axis to
create the screen coordinate system.
187. The equipment of any one of claims 150 to 186, wherein the user watches
the screen
from different angles, different radii of the human eyes are obtained.
188. The equipment of any one of claims 150 to 187, wherein the preset volume
of change
AR' in the radius is determined comprises:
obtaining minimum amount of adjustment AS of the font size;
wherein Ro [go,o, Ro or] , AR' = kl x AS ; and
wherein Ro c [Rooõ /tax], AR' = k2 x AS .
189. The equipment of any one of claims 150 to 188, wherein adjustment of the
font size of
the terminal screen, there is the minimum amount of adjustment AS of the font
size,
wherein each adjustment of the font size is an integral multiple of AS , to
obtain the
preset volume of change in the radius based on the preset relation of the
radius of the
human pupils to the font size;
190. The equipment of any one of claims 150 to 189, wherein the calculation of
the preset
volume of change in the radius, corresponding preset volume of change in the
radius is
obtained, judge in which range the radius Ro of the human pupils locates
during the
current detection, wherein Ro c [go,o,Roor] , AR' = kl x AS , wherein Ro c
[Rõ0õ kiax] ,
66
Date Regue/Date Received 2022-06-29

AR' = k2 x AS .
191. The equipment of any one of claims 150 to 190, wherein R0 > R or R0 <
Rm., AR'
is 0, the distance between the human eyes and the terminal screen is greater
than the
maximum distance or smaller than the minimum distance, adjustment to the font
size is
required.
192. The equipment of any one of claims 150 to 191, wherein judging the radius
Ro of the
human pupils during the current detection and the radius R0' of the human
pupils
during the previous detection locate in same range, wherein in same interval,
AR' is
obtained, wherein not in the same range, adjustment to the font size is
required.
193. The equipment of any one of claims 150 to 192, wherein judging the radius
R0 of the
human pupils and the radius R0' of the human pupils during the previous
detection
locate in the same range, wherein Ro c [kõõ kor] , but Ro' c [Rõ0õ Itax] , the
distance
between the human eyes and the terminal screen is changed relatively greatly,
adjustment to the font size is required.
194. The equipment of any one of claims 150 to 193, wherein pixels to which
differently
sized fonts correspond are different, adjustment of the font size is
corresponding
adjustment of pixels of the font.
195. The equipment of any one of claims 150 to 194, wherein manual for the
user or
automatic to start adjusting the font size in the terminal;
196. The equipment of any one of claims 150 to 195, wherein the user is
reminded to close
when it is not required to adjust the font.
197. A computer readable physical memory having stored thereon a computer
program
executed by a computer configured to:
determine a font size range displayed by a terminal screen according to an age
group of a user
currently using or manipulating a terminal;
67
Date Regue/Date Received 2022-06-29

obtain a preset relation of a distance between human eyes and the terminal
screen to a font size
according to the font size range;
detect a current distance between the human eyes and the terminal screen;
determine a target font size according to the current distance and the preset
relation; and
display font on the terminal screen according to the target font size.
198. The memory of claim 197, wherein the preset relation is determined
comprises:
self-adaptively adjusting font size S in the terminal screen while changing
distance L
between the human eyes and the terminal screen;
obtaining maximum distance L. between the human eyes and the terminal screen
when the
font size S is adjusted as maximum font Sn in the font size range;
obtaining normal distance L nor between the human eyes and the terminal screen
when the font
size S is adjusted as normal font Snor in the font size range;
obtaining minimum distance L.,III between the human eyes and the terminal
screen when the
font size S is adjusted as minimum font Smin in the font size range;
performing linear fitting according to Smax and L., S nor and L noõ and SnaIII
and L ;
min
and
obtaining the preset relation of the distance L between the human eyes and the
terminal
screen to the font size S .
199. The memory of claim 198, further comprises:
obtaining minimum radius R.. , normal radius R noõ and maximum radius Rinax
respectively
of human pupils when the distance between the human eyes and the terminal
screen is Linax ,
-1" nor and L. nun;
68
Date Regue/Date Received 2022-06-29

200. The memory of claim 199, wherein performing linear fitting according to
Smax and
L., Snor and Lnoõ and Su,III and Llon and obtaining the preset relation of the
i
distance between the human eyes and the terminal screen to the font size
comprises:
performing linear fitting according to Smax and Rm., S nor and Rnor, and Smio
and R.;
and obtaining a preset relation of radius R of the human pupils to the font
size S ;
201. The memory of claim 200, wherein the preset relation comprises:
when R c[Rinni,Rnor] S = kl(Rnor ¨ R)+ S nor;
when R c[Rnor,R.] , S = k2(R110r - R) + nor; and
wherein kl = (Sioax ¨ S nor)/ (Rnor ¨ R.), and k2 = (5 nor ¨ Smut)! (Rmax
Rnor).
202. The memory of claim 201, wherein current radius Ro of the human pupils is
obtained
when the current distance L, between the human eyes and the terminal screen is
detected.
203. The memory of claim 202, wherein determining the target font size
according to the
current distance and the preset relation comprises:
determining the target font size according to a range in which the current
radius Ro of the
human pupils locates;
calculating using formula S = kl1Roor ¨ R1+ Snor if Ro c[R.,Rnor] and obtain
the target
font size So ;
calculating using formula S = k2(Rnor - R)+ Snor if Ro c[Rnor, R..) and obtain
the target
font size So ;
the target font size So being minimum font Sr. if Rip > RI.; and
69
Date Regue/Date Received 2022-06-29

the target font size S0 being maximum font S. if R0 < km.
204. The memory of claim 203, wherein obtaining the current radius R0 of the
human pupils
comprises:
respectively obtaining pupil radius R, of a left eye on an x axis and pupil
radius R12 thereof
on a y axis of a screen coordinate system, and the pupil radius Rri of a right
eye on the x axis
and the pupil radius Rr2 thereof on the y axis of the screen coordinate
system;
taking any one of Rn, R12 Rõ, and Rõ as R0 if R11= R12, Rõ= Rõ, and = Rõ;
taking Rr2 or R12 as Ro if Rn= R12 or Rn< R12 , and Rõ R,2, R12= Rr2;
taking Rõ or R12 as Ro if Rõ= Rõ or Rõ< Rõ , and Rn< R12 , and R12= Rõ; and
taking Rõ or R11 as Ro if Rõ> Rr2, Rn> R12, and Rr2= R12 Rri=
205. The memory of any one of claims 202 to 204, further comprises detecting
the left eye
and the right eye are both imaged within the screen comprises:
judging, wherein the left eye and the right eye are both imaged within the
screen, detection is
carried out for first time;
detecting, wherein detection is carried out for the first time, the current
distance between the
human eyes and the terminal screen, and determining the target font size
according to the
current distance and the preset relation;
judging, wherein detection is not carried out for the first time, a volume of
change in the
distance between the human eyes and the terminal screen between a current
detection and a
previous detection is greater than a preset volume of change; and
wherein yes, detecting the current distance between the human eyes and the
terminal screen,
and determining the target font size according to the current distance and the
preset relation.
Date Regue/Date Received 2022-06-29

206. The memory of claim 205, further comprises:
obtaining, when the current distance L, between the human eyes and the
terminal screen is
detected, the volume of change AR in radius of the human pupils as compared by
the current
radius Ro of the human pupils as currently detected with the radius of the
human pupils as
previously detected;
207. The memory of claim 206, wherein judging the volume of change in the
distance
between the human eyes and the terminal screen is greater than the preset
volume of
change comprises:
judging the volume of change AR in the radius of the human pupils is greater
than the preset
volume of change AR' in the radius; and
judging, whrerin the volume of change AR in the radius of the human pupils is
greater than
AR' , the volume of change in the distance between the human eyes and the
terminal screen is
greater than the preset volume of change.
208. The memory of any one of claims 197 to 207, further comprises a front
camera in the
terminal is started, wherein the front camera captures a human face image of
the user.
209. The memory of any one of claims 197 to 208, wherein the human face image
is input
into an age detecting model, wherein the age detecting model is formed by
collecting
face images of various age groups, extracting human faces including regions of
interest
and region of interest (ROI), by means of an artificial intelligence (AI) face
recognition
system, and big data deep learning based on collected face images.
210. The memory of any one of claims 197 to 209, wherein the font size ranges
to which the
various age groups correspond are prestored.
211. The memory of any one of claims 197 to 210, wherein the font size ranges
are derived
through statistics carried out according to requirements on font pixels by the
various age
groups as collected.
212. The memory of any one of claims 197 to 211, wherein the font size ranges
of various
71
Date Regue/Date Received 2022-06-29

ages are analyzed through big data and by several rounds of simulated
collections of
plural persons of each age, and are prestored.
213. The memory of any one of claims 197 to 212, wherein endpoint values of
adjustment
range are size of the maximum font and the size of the minimum font, and
include sizes
of normal fonts, and adjustment range.
214. The memory of any one of claims 197 to 213, wherein the human face image
of the user
is collected through the front camera, the age of the user is recognized
through the age
detecting model, corresponding font size range is obtained through recognized
age, and
the font size displayed in the terminal screen is adjustable within the font
size range.
215. The memory of any one of claims 197 to 214, wherein the current distance
between the
human eyes and the terminal screen is measured through the front camera or any
other
sensor.
216. The memory of any one of claims 197 to 215, wherein the terminal includes
a mobile
phone, a panel computer, a wearable system, and any other type of terminal.
217. The memory of any one of claims 197 to 216, wherein the target font size
matches the
current distance is determined according to the current distance and the
preset relation,
wherein the target font size is different for people of different ages in case
of same
current distance, wherein font displayed on the terminal screen according to
the target
font size more fits to requirements of the user.
218. The memory of any one of claims 197 to 217, wherein the preset relation
of the distance
L between the human eyes and the terminal screen to the font size S in the
terminal
screen is created in advance.
219. The memory of any one of claims 197 to 218, wherein the distance between
the human
eyes and the terminal screen is the radius of the human pupils.
220. The memory of any one of claims 197 to 219, wherein the human pupils are
all circular,
wherein the distance between the human eyes and the terminal screen is
inversely
proportional to imaging of the human eyes
72
Date Regue/Date Received 2022-06-29

221. The memory of any one of claims 197 to 220, wherein the distance between
the human
eyes and the terminal screen is L the
radius of the human pupils is minimum value
,
222. The memory of any one of claims 197 to 221, wherein the distance between
the human
eyes and the terminal screen is Lnoõ the radius of the human pupils is normal
value
Rnor -
223. The memory of any one of claims 197 to 222, wherein the distance between
the human
eyes and the terminal screen is Lmn the radius of the human pupils is maximum
value
i
Rrnax
224. The memory of any one of claims 197 to 223, wherein calculation of the
preset relation,
R c [Rm., Rflor] , L lies between Lnor Lma,õ the distance between the human
eyes and
the terminal screen is between the normal distance and the maximum distance,
and the
font size changes relatively quickly at this time;
225. The memory of any one of claims 197 to 224, wherein R c[Rnor,Rmax], L
lies between
Lmin Lnõ , the distance between the human eyes and the terminal screen is
between
the normal distance and the minimum distance, and the font size changes
relatively
slowly, wherein gradients of the two are different, and preset relations are
different for
pupil radii lying between different intervals.
226. The memory of any one of claims 197 to 225, wherein current distance 1,0
between the
human eyes and the terminal screen is detected, the current radius R0 of the
human
pupils is obtained, to determine the target font size according to the current
distance and
the preset relation is to obtain corresponding target font size through the
range in which
Ro locates.
73
Date Regue/Date Received 2022-06-29

227. The memory of any one of claims 197 to 226, wherein the formula
S = kftkor ¨ R1+ Snor is used to calculate and obtain the target font size So
if
RO E [Rm m Rnor -
228. The memory of any one of claims 197 to 227, wherein the formula
S = k2(Rn0r - R) + Snor is uesd to calculate and obtain the target font size
So if
RO E [Rnor, Rinax "
229. The memory of any one of claims 197 to 228, wherein Ro > R
indicates the distance
between the human eyes and the terminal screen is smaller than the minimum
distance
Lmin then minimum font size Slnin is directly taken to serve as the target
font size So .
230. The memory of any one of claims 197 to 229, wherein Ro < Rullõ indicates
the distance
between the human eyes and the terminal screen is greater than the maximum
distance
Lnia,õ then maximum font size S. is directly taken to serve as the target font
size So .
231. The memory of any one of claims 197 to 230, wherein under different use
scenarios of
the user, radii of the human pupils captured by the front camera are
different.
232. The memory of any one of claims 197 to 231, wherein the screen coordinate
system,
upper left corner of the screen serves as original point or lower left corner
of the screen
serves as the original point.
233. The memory of any one of claims 197 to 232, wherein longitudinal
direction of the
screen serves as the y axis, and transversal direction of the screen serves as
the x axis to
create the screen coordinate system.
234. The memory of any one of claims 197 to 233, wherein the user watches the
screen from
different angles, different radii of the human eyes are obtained.
235. The memory of any one of claims 197 to 234, wherein the preset volume of
change AR'
in the radius is determined comprises:
74
Date Regue/Date Received 2022-06-29

obtaining minimum amount of adjustment AS of the font size;
wherein R0 E[Rouõ Rooj , AR' = kl x AS ; and
wherein Ro c [Rooõ gr.] , AR' = k2 x AS .
236. The memory of any one of claims 197 to 235, wherein adjustment of the
font size of the
terminal screen, there is the minimum amount of adjustment AS of the font
size,
wherein each adjustment of the font size is an integral multiple of AS , to
obtain the
preset volume of change in the radius based on the preset relation of the
radius of the
human pupils to the font size;
237. The memory of any one of claims 197 to 236, wherein the calculation of
the preset
volume of change in the radius, corresponding preset volume of change in the
radius is
obtained, judge in which range the radius R0 of the human pupils locates
during the
current detection, wherein Ro E[Rifo,õ Roo r] , AR' = kl x AS , wherein Ro
E[RooõRmax] ,
AR' = k2 x AS .
238. The memory of any one of claims 197 to 237, wherein Ro > ita,õ or Ro <
gum AR'
is 0, the distance between the human eyes and the terminal screen is greater
than the
maximum distance or smaller than the minimum distance, adjustment to the font
size is
required.
239. The memory of any one of claims 197 to 238, wherein judging the radius Ro
of the
human pupils during the current detection and the radius Ro' of the human
pupils
during the previous detection locate in same range, wherein in same interval,
AR' is
obtained, wherein not in the same range, adjustment to the font size is
required.
240. The memory of any one of claims 197 to 239, wherein judging the radius R0
of the
human pupils and the radius R0' of the human pupils during the previous
detection
locate in the same range, wherein Ro c [Ro,o, Roor] , but Ro' c [Rnor, R..]
the distance
Date Regue/Date Received 2022-06-29

between the human eyes and the terminal screen is changed relatively greatly,
adjustment to the font size is required.
241. The memory of any one of claims 197 to 240, wherein pixels to which
differently sized
fonts correspond are different, adjustment of the font size is corresponding
adjustment of
pixels of the font.
242. The memory of any one of claims 197 to 241, wherein manual for the user
or automatic
to start adjusting the font size in the terminal;
243. The memory of any one of claims 197 to 242, wherein the user is reminded
to close
when it is not required to adjust the font.
76
Date Regue/Date Received 2022-06-29

Description

Note: Descriptions are shown in the official language in which they were submitted.


A METHOD, DEVICE, TERMINAL, AND COMPUTER-READABLE STORAGE
MEDIUM FOR ADJUSTING FONT SIZE
BACKGROUND OF THE INVENTION
Technical Field
[0001] The present invention relates to the field of terminal technology, and
more particularly
to a method of adjusting a font size, and corresponding device, terminal
equipment, and
computer-readable storage medium.
Description of Related Art
[0002] With the incessant progress of science and technology, such mobile
communication
equipments as mobile phones have become everyday necessities in the life of
people.
However, with the popularization of mobile phones, the problem concerning
comfort
level of font sizes has also gradually manifested itself, if a human face is
distanced
relatively far from the screen of a mobile phone, viewing will be adversely
affected
because font displayed on the screen is unduly small at this time; if the
human face is
distanced relatively close to the screen of the mobile phone, the font
displayed on the
screen will be unduly large at this time, appearing awkwardly.
[0003] In the currently available mobile phones, the displayed font size is
mostly directly
adjusted in the setup option or software setup option of the mobile phone, and
optional
font sizes are mostly handled at fixed settings to adapt to different
requirements, but the
settings are the same ones for people of different age groups, so that,
insofar as aged
people are concerned, the font size used thereby differs much from those used
by young
people, and the process of adjusting the font size in the mobile phone is
rather
complicated and inconvenient for operation.
SUMMARY OF THE INVENTION
[0004] To solve the above technical problems, the present invention provides a
method of
adjusting a font size, and corresponding device, terminal equipment, and
computer-
readable storage medium. Specific solutions are as follows.
[0005] According to the first aspect, there is provided a method of adjusting
a font size, and
1
Date Regue/Date Received 2022-06-29

the method comprises:
[0006] determining a font size range displayed by a terminal screen according
to an age group
of a user currently using or manipulating a terminal;
[0007] obtaining a preset relation of a distance between human eyes and the
terminal screen to
a font size according to the font size range;
[0008] detecting a current distance between the human eyes and the terminal
screen;
[0009] determining a target font size according to the current distance and
the preset relation;
and
[0010] displaying font on the terminal screen according to the target font
size.
[0011] In a preferred embodiment, the preset relation is determined as
follows:
[0012] self-adaptively adjusting font size S in the terminal screen while
changing distance
L between the human eyes and the terminal screen;
[0013] obtaining maximum distance L. between the human eyes and the terminal
screen
when the font size S is adjusted as maximum font S. in the font size range;
[0014] obtaining normal distance Lõ, between the human eyes and the terminal
screen when
the font size S is adjusted as normal font Snor in the font size range;
[0015] obtaining minimum distance km between the human eyes and the terminal
screen
when the font size S is adjusted as minimum font S. in the font size range;
and
[0016] performing linear fitting according to S. and L., Snor and Lnoõ and S11
and
Limit and obtaining a preset relation of the distance L between the human eyes
and
the terminal screen to the font size S.
[0017] In a preferred embodiment, the method further comprises:
2
Date Regue/Date Received 2022-06-29

[0018] obtaining minimum radius R1111, normal radius R no r , and maximum
radius Rmax
respectively of human pupils when the distance between the human eyes and the
terminal screen is L. , L nor , and Lin ;
[0019] the step of performing linear fitting according to S. and L. S nor and
L noõ and
SMLII and L., and obtaining a preset relation of the distance between the
human eyes
and the terminal screen to the font size is:
[0020] performing linear fitting according to S. and R. , Snor and Rnoõ and S.
and
R. , and obtaining a preset relation of the radius R of human pupils to the
font size
S; and
[0021] the preset relation is as follows:
[0022] when R E R1111, R nor] S = k 1(Rnor ¨ R) + Sjior
nor ax ,
[0023] when R E [R , RmS = k2(Rnor - R) + S nor ; wherein
k 1 = max ¨ RInut) , and k2 = (S ¨ S )/(R ¨ R )
[0024] S nor)I (R nor nor mat max nor
[0025] In a preferred embodiment, current radius Rip of human pupils is
obtained when
current distance Lc, between the human eyes and the terminal screen is
detected; and
[0026] the step of determining a target font size according to the current
distance and the preset
relation includes:
[0027] determining the target font size according to a range in which the
current radius Rip of
human pupils locates;
[0028] calculating by employing formula S = kl(Rnor ¨ R) + S nor if Rip E
R1111, Rnor] and
obtain target font size S0;
3
Date Regue/Date Received 2022-06-29

[0029] calculating by employing formula S= k2(R10r - R)+Soor if Ro E [Rnor, ,
RH,ax] and
obtain target font size So if Ro E [Rnor , R 1;
max
[0030] target font size So being minimum font S11 if RO > Rmax ;
[0031] target font size So being maximum font S. if Ro <R1111.
[0032] In a preferred embodiment, the step of obtaining current radius Ro of
human pupils
includes:
[0033] respectively obtaining pupil radius Rn of a user's left eye on an x
axis and pupil radius
R12 thereof on a y axis of a screen coordinate system, and pupil radius Rri of
a user's
right eye on the x axis and pupil radius Rõ thereof on the y axis of the
screen
coordinate system;
, ,
[0034] taking any one of R11 R12 Rri, and Rr2 as
Ro if R11=R12 Rrl = Rr2 and R11=
Rri;
[0035] taking Rr2 or R12 as if
Ro R11=R12 or Rn<R12 and Rri< Rr2, R12 = Rr2;
[0036] taking Rr2 or R12 as Ro if RrI=Rr2 or Rri<Rõ, and Rn < R/2 and R12=
Rr2;
and
[0037] taking Rr1 or R11 as R if R >R
rl r2, R11>R/2 , and R2="12, p
R11.
[0038] In a preferred embodiment, the method further comprises detecting
whether the left eye
and the right eye are both imaged within the screen before the step of
detecting a current
distance between the human eyes and the terminal screen;
[0039] judging, if the left eye and the right eye are both imaged within the
screen, whether the
current detection as to whether the left eye and the right eye are both imaged
within the
screen is carried out for the first time;
4
Date Regue/Date Received 2022-06-29

[0040] detecting, if the detection is carried out for the first time, the
current distance between
the human eyes and the terminal screen, and determining the target font size
according
to the current distance and the preset relation;
[0041] judging, if the detection is not carried out for the first time,
whether a volume of change
in the distance between the human eyes and the terminal screen between the
current
detection and a previous detection is greater than a preset volume of change;
[0042] if yes, detecting the current distance between the human eyes and the
terminal screen,
and determining the target font size according to the current distance and the
preset
relation.
[0043] In a preferred embodiment, the method further comprises: obtaining,
when the current
distance L, between the human eyes and the terminal screen is detected, volume
of
change AR in the radius of the human pupils as compared by the current radius
R,
of the human pupils as currently detected with the radius of the human pupils
as
previously detected; and
[0044] the step of judging whether a volume of change in the distance between
the human eyes
and the terminal screen is greater than a preset volume of change is:
[0045] judging whether the volume of change AR in the radius of the human
pupils is greater
than the preset volume of change AR' in the radius; and
[0046] judging, if the volume of change AR in the radius of the human pupils
is greater than
AR', that a volume of change in the distance between the human eyes and the
terminal
screen is greater than the preset volume of change.
[0047] According to the second aspect, there is provided a device for
adjusting a font size, and
the device comprises:
[0048] a font size range determining module, for determining a font size range
displayed by a
terminal screen according to an age group of a user currently using or
manipulating a
terminal;
Date Regue/Date Received 2022-06-29

[0049] a preset relation obtaining module, for obtaining a preset relation of
a distance between
human eyes and the terminal screen to a font size according to the font size
range;
[0050] a detecting module, for detecting a current distance between the human
eyes and the
terminal screen;
[0051] a target font size determining module, for determining a target font
size according to
the current distance and the preset relation; and
[0052] a displaying module, for displaying font on the terminal screen
according to the target
font size.
[0053] According to the third aspect, there is provided a terminal equipment
that comprises:
[0054] one or more processor(s); and
[0055] a memory, associated with the one or more processor(s) and used for
storing a program
instruction that executes the foregoing method when it is read and executed by
the one
or more processor(s).
[0056] According to the fourth aspect, there is provided a computer-readable
medium storing
a computer program thereon that realizes the foregoing method when it is
executed by
a processor.
[0057] In the present invention, on the one hand, the font size range
displayed by the terminal
screen is determined according to the age group of the user, a preset relation
of the
distance between human eyes and the terminal screen to the font size is
obtained
according to the font size range, and a target font size is then determined
according to
the current distance as detected between the human eyes and the terminal
screen and
the preset relation, whereby different font size ranges are not only set with
respect to
different age groups to more fit to use requirements of users, but font sizes
can also be
self-adaptively adjusted according to distances of human eyes to the terminal
screen
with respect to all age groups, whereby use requirements of users are
satisfied under
different scenarios. On the other hand, by characterizing distances between
human eyes
and the terminal screen through radii of human pupils, the process of
measuring the
6
Date Regue/Date Received 2022-06-29

distances is simplified.
BRIEF DESCRIPTION OF THE DRAWINGS
[0058] In order to more clearly describe the technical solutions in the
embodiments of the
present invention, drawings required for the illustration of the embodiments
will be
briefly introduced below. Apparently, the drawings described below are merely
directed
to some embodiments of the present invention, and it is possible for persons
ordinarily
skilled in the art to acquire other drawings without spending creative effort
in the
process based on these drawings.
[0059] Fig. 1 is a flowchart illustrating the method of adjusting a font size
in an embodiment
of the present invention;
[0060] Figs. 2(a)-(c) are views schematically illustrating different font
sizes displayed by the
terminal screen in the present invention;
[0061] Fig. 3 illustrates a relation curve between radii of human pupils and
font sizes in the
present invention;
[0062] Fig. 4 schematically illustrates in (a)-(c) gazing at the screen from
different angles by a
human face;
[0063] Fig. 5 is a flowchart illustrating the method of adjusting a font size
in another
embodiment of the present invention;
[0064] Fig. 6 is a view schematically illustrating the device for adjusting a
font size in the
present invention; and
[0065] Fig. 7 is a view schematically illustrating the computer system in the
present invention.
DETAILED DESCRIPTION OF THE INVENTION
[0066] In order to make the objectives, technical solutions and advantages of
the present
invention more lucid and clear, the present invention is described in greater
detail below
with reference to accompanying drawings and embodiments. Apparently, the
specific
embodiments as described are merely meant to explain the present invention,
rather
7
Date Regue/Date Received 2022-06-29

than to restrict the present invention.
[0067] In view of the prior-art problem that it is inconvenient to adjust the
font size of the
terminal screen, the present invention provides a method of adjusting a font
size, and
corresponding device, terminal equipment, and computer-readable storage
medium, in
which font size ranges to which users of different age groups correspond are
different,
and preset relations of distances between human eyes and the terminal screen
to the
font sizes are also different, and a target font size is determined according
to the current
distance as detected between a person and the terminal screen and the preset
relation,
whereby different font size ranges are not only set with respect to different
age groups
to more fit to use requirements of users, but font sizes can also be self-
adaptively
adjusted according to distances of human eyes to the terminal screen with
respect to all
age groups, and use requirements of users are satisfied under different
scenarios.
[0068] The present invention is further described below in conjunction with
specific
embodiments.
[0069] Embodiment 1
[0070] As shown in Fig. 1, there is provided a method of adjusting a font
size, and the method
comprises the following.
[0071] S101 - determining a font size range displayed by a terminal screen
according to an age
group of a user currently using or manipulating a terminal.
[0072] Before the font size is adjusted in the present invention, it is
firstly required to determine
that the user has started the function of adjusting the font size in the
terminal, after it
has been determined that the user has started the function of adjusting the
font size in
the terminal, a front camera in the terminal is started, the front camera
captures a human
face image of the user, the human face image is then input to an age detecting
model,
and the age detecting model is formed by collecting face images of various age
groups,
extracting human faces (regions of interest, ROT) by means of an AT face
recognition
system, and big data deep learning on the basis of the collected face images.
8
Date Regue/Date Received 2022-06-29

[0073] Font size ranges to which various age groups correspond are prestored
in the present
invention, the font size ranges are derived through statistics carried out
according to
requirements on font pixels by the various age groups as collected, and the
font size
ranges of various ages are analyzed through big data and by several rounds of
simulated
collections of plural persons of each age, and are prestored. Endpoint values
of the
adjustment range are the size of the maximum font and the size of the minimum
font,
and also included are sizes of normal fonts, and adjustment range thereof.
[0074] In the present invention, a human face image of the current user is
collected through
the front camera, the age of the user is recognized through the age detecting
model, the
corresponding font size range is obtained through the recognized age, and the
font size
displayed in the terminal screen is adjustable within the font size range.
[0075] S102 - obtaining a preset relation of a distance between human eyes and
the terminal
screen to a font size according to the font size range.
[0076] In the embodiment, different font size ranges reflect ages of users, in
order that fonts as
viewed by the human eyes on the screen more fit to requirements, preset
relations of
distances between human eyes and the terminal screen to font sizes are
different for
users of different ages, accordingly, insofar as different font size ranges
are concerned,
distances between human eyes and the terminal screen and the font sizes are
also
different.
[0077] S103 - detecting a current distance between the human eyes and the
terminal screen.
[0078] In the present invention, the current distance between the human eyes
and the terminal
screen can be measured through a front camera or any other sensor.
[0079] S104 ¨ determining a target font size according to the current distance
and the preset
relation.
[0080] S105 ¨ displaying font on the terminal screen according to the target
font size.
[0081] In the present invention, the terminal is a mobile phone, a panel
computer, or a wearable
device, or any other type of terminal, as long as it can realize the
aforementioned
9
Date Regue/Date Received 2022-06-29

functions, so these are not described on a one-by-one basis.
[0082] In the present invention, after the current distance and the preset
relation have been
determined, a target font size that matches the current distance is determined
according
to the current distance and the preset relation, this target font size differs
for people of
different ages in the case of the same current distance, so font displayed on
the terminal
screen according to the target font size more fits to the requirements of the
users.
[0083] In a preferred embodiment, the preset relation is determined as
follows:
[0084] self-adaptively adjusting font size S in the terminal screen while
changing distance
L between the human eyes and the terminal screen;
[0085] obtaining maximum distance L. between the human eyes and the terminal
screen
when the font size S is adjusted as maximum font S. in the font size range;
[0086] obtaining normal distance Lõ, between the human eyes and the terminal
screen when
the font size S is adjusted as normal font Snor in the font size range;
[0087] obtaining minimum distance km between the human eyes and the terminal
screen
when the font size S is adjusted as minimum font S. in the font size range;
and
[0088] performing linear fitting according to S. and L., Snor and Lnoõ and S11
and
and obtaining a preset relation of the distance L between the human eyes and
the terminal screen to the font size S.
[0089] In this embodiment, a preset relation of the distance L between the
human eyes and
the terminal screen to the font size S in the terminal screen is created in
advance,
while the distance L between the human eyes and the terminal screen is being
changed, the font size S in the terminal screen is self-adaptively adjusted;
the self-
adaptive adjustment here is such adjustment that makes the user's eyes
relatively
comfortable for the current font size, and can be effected by making
statistics on
Date Regue/Date Received 2022-06-29

distances between human eyes and the terminal screen with respect to different
font
sizes of plural users within the age group. Understandably, the bigger the
font size is,
the greater the comfortable distance between the human eyes and the terminal
screen
will be, as shown in Figs. 2(a)-(c), accordingly, when the font size is
adjusted as
maximum font Smax in the font size range, the distance between the human eyes
and
the terminal screen is maximum value L., when the font size is adjusted as
normal
font Snor in the font size range, the distance between the human eyes and the
terminal
screen is normal value L noõ and when the font size is adjusted as minimum
font S.
in the font size range, the distance between the human eyes and the terminal
screen is
minimum value L
11111.
[0090] Therefore, linear fitting can be performed according to S. and L. ,
Snor and
L nor and S.II and Lunn to obtain the preset relation of the distance L
between the
human eyes and the terminal screen to the font size S.
[0091] In a preferred embodiment, the method further comprises:
[0092] obtaining minimum radius Rnni , normal radius R non , and maximum
radius Rnax
respectively of human pupils when the distance between the human eyes and the
terminal screen is L. , L non , and L1111;
[0093] the step of performing linear fitting according to S. and L. , Sn, and
L non , and
and Linin, and obtaining a preset relation of the distance between the human
eyes
and the terminal screen to the font size is:
[0094] performing linear fitting according to S. and km S n, and Rn, , and
SulIII and
R111ax , and obtaining a preset relation of the radius R of human pupils to
the font size
S; and
11
Date Regue/Date Received 2022-06-29

[0095] the preset relation is as follows:
[0096] when R 6 [km Rnor] S = k nor ¨ R) + Sn or
[nor, Rinax]
[0097] when R E R
S = k2(Rnor - R) + S n r ; wherein
[0098]
kl = (s111 ¨ S nor)I (Rnor ¨ RMin and
) k2 = nor ¨ S min) I (R. ¨ Rnor)
,
[0099] In this embodiment, the distance between the human eyes and the
terminal screen is
characterized by means of the radius of the human pupils. Suppose that human
pupils
are all circular, the distance between the human eyes and the terminal screen
is inversely
proportional to the imaging of human eyes, so the farther the human eyes are
distanced
from the terminal screen, the smaller the imaging of the eyes will be, and the
smaller
the radius of the pupils will be, whereas the closer the human eyes are
distanced from
the terminal screen, the larger the imaging of the eyes will be, and the
bigger the radius
of the pupils will be, accordingly, it can be obtained that, when the distance
between
the human eyes and the terminal screen is L rua,õ the radius of the human
pupils is
minimum value R. , when the distance between the human eyes and the terminal
screen is Lno r , the radius of the human pupils is normal value Rnor, , when
the distance
between the human eyes and the terminal screen is L. , the radius of the human
pupils
is maximum value R and linear fitting is performed according to S.
and kin,
S nor and Rm. and Smin and Rmax to obtain the preset relation of the radius R
of
human pupils to the font size S, and it suffices to obtain the font size that
matches the
current distance merely according to the radius of human pupils detected by
the front
camera, whereby the process of obtaining the font size is simplified.
[0100] Refer to Fig. 3 for the calculation of the preset relation, when Re
[Rmin,Rnor] L lies
between Lnor Lrna,õ that is to say, the distance between the human eyes and
the
terminal screen is between the normal distance and the maximum distance, and
the font
12
Date Regue/Date Received 2022-06-29

size changes relatively quickly at this time; when R e[RnoõRniai L lies
between
Lmin Lnor , that is to say, the distance between the human eyes and the
terminal screen
is between the normal distance and the minimum distance, and the font size
changes
relatively slowly at this time, in other words, the gradients of the two are
different, so
the preset relations are different for pupil radii lying between different
intervals:
[0101] when R E [Rm. Rnor] S = kl(Rnor ¨ R)+ Snor
[
[0102] when R E Rnor, S = k2(Rnor - R) + S nor ; wherein
[0103]
kl = (S ¨ S nor) I (Rnor ¨ RI. and
) k2 = nor ¨ S mui)1 (R. ¨ Rnor)
,
[0104] In this embodiment, the distance between the human eyes and the
terminal screen is
characterized by means of the radius of the human pupils, the distance between
the
human eyes and the terminal screen is transformed to the detection of the
radius of the
human pupils, a preset relation of the radius of the human pupils to the font
size is
created, the process of obtaining the font size is simplified, and the time
taken to adjust
the font size is shortened.
[0105] In a preferred embodiment, current radius Rip of human pupils is
obtained when
current distance L, between the human eyes and the terminal screen is
detected; and
[0106] the step of determining a target font size according to the current
distance and the preset
relation includes:
[0107] determining the target font size according to a range in which the
current radius Rip of
human pupils locates;
[0108] calculating by employing formula S = ¨ R)
+ S nor if R, E [k Rnor] and
obtain target font size S0;
[0109] calculating by employing formula S= k2(R10r - R) + S nor if Rip E [Rnor
Rmax ] and
13
Date Regue/Date Received 2022-06-29

obtain target font size So;
[0110] target font size So being minimum font S. if Ro > R.;
[0111] target font size So being maximum font S. if Ro <
[0112] In this embodiment, when current distance Lo between the human eyes and
the
terminal screen is detected, current radius R0 of human pupils is obtained, at
this time,
to determine the target font size according to the current distance and the
preset relation
is to obtain the corresponding target font size through the range in which Ro
locates.
[0113] The formula S = k1(R00, ¨ + S nor is employed to calculate and obtain
target font size
So if Ro E [RH. , Rflor] , the formula S = k2(Rnor - R) + S nor is employed to
calculate
and obtain target font size So if Ro E [Rõ,, , if
R, > Rioa,õ this indicates that the
distance between the human eyes and the terminal screen is smaller than
minimum
distance L., then minimum font size S. is directly taken to serve as target
font
size S0; if Ro < Rroõõ this indicates that the distance between the human eyes
and the
terminal screen is greater than maximum distance L.õ then maximum font size
Smax
is directly taken to serve as target font size S0.
[0114] In this embodiment, when the target font size is determined according
to the current
distance and the corresponding relation, the target font size is determined
according to
the range in which the radius of the human pupils locates, and target font
sizes
determined by radii of human pupils that locate in different ranges are
different, so that
the target font size can be more flexibly adjusted within the font size range.
[0115] In a preferred embodiment, the step of obtaining current radius Ro of
human pupils
includes:
14
Date Regue/Date Received 2022-06-29

[0116] respectively obtaining pupil radius R11 of a user's left eye on an x
axis and pupil radius
R12 thereof on a y axis of a screen coordinate system, and pupil radius R, of
a user's
right eye on the x axis and pupil radius R, thereof on the y axis of the
screen
coordinate system;
, ,
[0117] taking any one of R11 R12 R,, and R, as if
Ro
R11=R12 Rrl = Rr2 and R11=
Rri;
[0118] taking R, or R12 as if
Ro R11=R12 or R11<R12 , and R,<Ar2, R12 = Rr2;
[0119] taking R, or R12 as Ro if R,= R, or R,< R,, and Rn < R12 and R12= Rr2;
and
R11>R72 D R11.
[0120] taking R, or R11 as R if R > R and R,=R12 -"-r1 rl r2,
[0121] In this embodiment, under different use scenarios of the user, radii of
the human pupils
captured by the front camera are different, for instance, usually the human
face looks
straight at the terminal screen under the normal circumstance, and when the
user
happens to sit under a lamp to watch the screen, if the frontal side is
parallel to the
screen, light is happens to reflected, it is required to tilt the screen or
the human face
slightly to the right, at this time, the screen is looked sideways from the
right side, and
it is also probable that the terminal is placed relatively high, the user
looks upwards to
the screen, and the screen is looked sideways from below at this time, and so
on,
therefore, when the radius of the human pupils is determined, it is needed to
firstly
determine the current use scenario of the user.
[0122] In the present invention, it is considered by default that the human
pupils are circular,
in the screen coordinate system, the upper left corner of the screen serves as
the original
point or the lower left corner of the screen serves as the original point, the
longitudinal
direction of the screen serves as the y axis, and the transversal direction of
the screen
serves as the x axis to create the coordinate system, in which the following
scenarios
Date Regue/Date Received 2022-06-29

are included.
11, R12 , Ro Ri1=R/2 ,
[0123] Any one of R R,, and Rr2 is taken as if Rri = Rr2, and R11=
R1.
[01241 Under this scenario, as shown in Fig. 4(a), the left and right pupils
of the user are both
circular, and the left and right pupils are identical in size, which indicates
that the human
eyes are looking straight at the screen at this time, so any one radius value
is directly
taken therefrom to serve as R0.
[0125] Rõ or R
12 is taken as if
Ro R11=R12 or R11<R/2 and Rri
< Rr2 R12 = p
[0126] Under this scenario, as shown in Fig. 4(b), the left pupil is circular
or oval, the right
pupil is oval, and the radius of the left pupil on they axis in the screen
coordinate system
is identical with the radius of the right pupil on the y axis, at this time,
the user looks at
the screen sideways from the right side.
[0127] R, or R12 is taken as Ro if R,=R, or R,< R and R Rr2 , and Rn
i2 , 12 < = Rr2 -
[0128] Under this scenario, the left pupil is oval, the right pupil is
circular or oval, and the
radius of the left pupil on the y axis in the screen coordinate system is
identical with
the radius of the right pupil on the y axis, at this time, the user looks at
the screen
sideways from the left side.
[0129] R, or Rn is taken as Ro in the above two scenarios.
Ro
[0130] Rõ or 11 is taken as if Rri R
> r2 R /1>R 12 , and R,=
12 Rrl
[0131] Under this scenario, as shown in Fig. 4(c), if the left pupil and the
right pupil are both
oval, the radius of the left pupil on the x axis in the screen coordinate
system is identical
with the radius of the right pupil on the x axis, the radius of the left pupil
on the y axis
in the screen coordinate system is identical with the radius of the right
pupil on the y
axis, and the radius value of the y axis is directly taken as Ro .
16
Date Regue/Date Received 2022-06-29

[0132] In this embodiment, when the user watches the screen from different
angles, different
radii of human eyes are obtained, so that the method of the present invention
is adapted
to many scenarios, target font sizes obtained under the many scenarios are
more
matched to the current requirements of the user, and user experience is
enhanced.
[0133] In a preferred embodiment, the method further comprises detecting
whether the left eye
and the right eye are both imaged within the screen before the step of
detecting a current
distance between the human eyes and the terminal screen;
[0134] judging, if the left eye and the right eye are both imaged within the
screen, whether
detection is carried out for the first time;
[0135] detecting, if the detection is carried out for the first time, the
current distance between
the human eyes and the terminal screen, and determining the target font size
according
to the current distance and the preset relation;
[0136] judging, if the detection is not carried out for the first time,
whether a volume of change
in the distance between the human eyes and the terminal screen between the
current
detection and a previous detection is greater than a preset volume of change;
[0137] if yes, detecting the current distance between the human eyes and the
terminal screen,
and determining the target font size according to the current distance and the
preset
relation.
[0138] In this embodiment, before the font size displayed in the terminal
screen is adjusted, it
is firstly required to judge whether the user is currently gazing at the
terminal screen,
and detection as to whether the left eye and the right eye are both imaged
within the
screen is further included before the step of detecting a current distance
between the
human eyes and the terminal screen, if the left eye and the right eye are both
imaged
within the screen, it is determined that the user is currently gazing at the
terminal screen;
if only one eye is imaged within the screen, or if the two eyes are both not
imaged
within the screen, it is then determined that the user is currently not gazing
at the
terminal screen, and it is possible that the terminal is merely opened but is
not gazed at,
17
Date Regue/Date Received 2022-06-29

at this time it is not required to adjust the font size.
[0139] If it is determined that the left eye and the right eye are both imaged
within the screen
during the current gazing of the user, it is then judged whether the current
detection as
to whether the left eye and the right eye are both imaged within the screen is
carried out
for the first time, if the detection is carried out for the first time, the
current distance
between the human eyes and the terminal screen is detected, and the target
font size is
determined according to the current distance and the preset relation; if the
detection is
not carried out for the first time, the current distance between the human
eyes and the
terminal screen is detected, and it is judged whether a volume of change in
the distance
between the human eyes and the terminal screen between the current detection
and a
previous detection is greater than a preset volume of change, in other words,
if the
detection is carried out for the first time, it is required to directly adjust
the font size, if
the detection is not carried out for the first time, i.e., detection has been
previously
carried out and the font size has been previously adjusted, it is then judged
whether it
is needed to adjust the font size again, namely to judge whether a volume of
change in
the distance between the human eyes and the terminal screen between the
current
detection and the previous detection is greater than a preset volume of
change, if yes,
i.e., the volume of change is greater than the preset volume of change, it is
required to
adjust the font size again, to detect the current distance between the human
eyes and
the terminal screen, and to determine the target font size according to the
current
distance and the preset relation; if not, i.e., the volume of change is
smaller than or
equal to the preset volume of change, it is not required to adjust the font
size.
[0140] In this embodiment, before the font size on the terminal screen is
adjusted, it is firstly
needed to judge whether adjusting conditions are satisfied; the adjusting
conditions
include three aspects, for the first aspect, it is judged whether the user is
gazing at the
screen, and the judging condition is to detect whether the left eye and the
right eye are
both imaged within the screen; for the second aspect, it is judged whether
detection is
carried out for the first time; for the third aspect, in the case the
detection is not carried
out for the first time, it is judged whether a change in the distance between
the human
18
Date Regue/Date Received 2022-06-29

eyes and the terminal screen between the current detection and a previous
detection is
smaller than a preset volume of change; accordingly, while it is ensured that
font size
is adjusted according to the user's requirement, the problem is avoided that
unduly
much memory, CPU or electric quantity of the terminal is occupied due to
frequent
adjustment of the font size.
[0141] In a preferred embodiment, the method further comprises: obtaining,
when the current
distance L, between the human eyes and the terminal screen is detected, volume
of
change AR in the radius of the human pupils as compared by the current radius
R,
of the human pupils as currently detected with the radius of the human pupils
as
previously detected; and
[0142] the step ofjudging whether a volume of change in the distance between
the human eyes
and the terminal screen is smaller than a preset volume of change is:
[0143] judging whether the volume of change AR in the radius of the human
pupils is greater
than the preset volume of change AR' in the radius; and
[0144] judging, if the volume of change AR in the radius of the human pupils
is greater than
AR', that a volume of change in the distance between the human eyes and the
terminal
screen is greater than the preset volume of change.
[0145] In this embodiment, the change in the distance between the human eyes
and the terminal
screen between the current detection and the previous detection is
characterized by a
volume of change in the current radius R, of the human pupils as currently
detected
with respect to the radius of the human pupils as previously detected, and the
step of
judging whether the change in the distance between the human eyes and the
terminal
screen is smaller than a preset volume of change is: to judge whether the
volume of
change AR in the radius of the human pupils is smaller than the preset volume
of
change AR' in the radius, if the volume of change AR in the radius of the
human
pupils is smaller than AR', it is then judged that the volume of change in the
distance
between the human eyes and the terminal screen is smaller than the preset
volume of
19
Date Regue/Date Received 2022-06-29

change.
[0146] In a preferred embodiment, the preset volume of change AR' in the
radius is
determined as follows:
[0147] obtaining minimum amount of adjustment AS of the font size;
[0148] when Ro c [Rrollõ , AR' = k 1 x AS;
[0149] when Ro c [Rooõ Itax] , AR' = k2 x AS.
[0150] In this embodiment, insofar as adjustment of the font size of the
terminal screen is
concerned, there is a minimum amount of adjustment AS of the font size, each
adjustment of the font size is an integral multiple of AS, so it is possible
to obtain the
preset volume of change in the radius based on the preset relation of the
radius of the
human pupils to the font size; reference should be made again to Fig. 3 for
the
calculation of the preset volume of change in the radius, when the
corresponding preset
volume of change in the radius is obtained, it should firstly judge in which
range the
radius Ro of human pupils locates during the current detection, when Ro c
[RiollõRoo,] ,
AR' = kl x AS , when Ro e [Rooõ Itax] , AR' = k2 x AS .
[0151] When Ro > Rmax , or Ro < Rroõõ AR' is 0, that is to say, when the
distance between
the human eyes and the terminal screen is greater than the maximum distance or
smaller
than the minimum distance, it is directly judged that it is required to adjust
the font size.
[0152] In one embodiment, before obtaining minimum amount of adjustment AS of
the font
size is further included judging whether radius Ro of human pupils during the
current
detection and radius Ro' of human pupils during the previous detection locate
in the
same range, if they are in the same interval, AR' is obtained according to the
above
method, if they are not in the same range, it is directly judged that it is
required to adjust
the font size, to detect the current distance between the human eyes and the
terminal
Date Regue/Date Received 2022-06-29

screen, and to determine the target font size according to the current
distance and the
preset relation.
[0153] In this embodiment, before obtaining AR' is further included judging
whether radius
Ro of human pupils and radius Ro' of human pupils during the previous
detection
locate in the same range, for instance, Ro c [Rõ,õõRooj , but Ro' c [RooõRoax]
, this
indicates that under such a circumstance it is currently detected that the
distance
between the human eyes and the terminal screen is changed relatively greatly,
and it is
therefore needed to adjust the font size.
[0154] In the present invention, pixels to which differently sized fonts
correspond are different,
so adjustment of the font size can be the corresponding adjustment of pixels
of the font.
[0155] Fig. 5 is a view schematically illustrating the process of adjusting
the font size in the
present invention, and the specific process of adjusting the font size is as
follows:
[0156] S501 ¨ the user starts the function of adjusting the font size in the
terminal;
[0157] S502 ¨ the camera is started to detect a human face;
[0158] S503 ¨the user's age is recognized through imaging of the face;
[0159] S504 ¨ a corresponding font size range is obtained according to the
age;
[0160] S505 ¨ it is detected whether human eyes are both imaged within the
screen, if yes, the
process enters step S506, if not, the process enters step S511;
[0161] S506 ¨ it is judged whether detection is carried out for the first
time, if yes, the process
of step S508 is directly performed, if not, step S507 is performed;
[0162] S507 ¨ it is judged whether a volume of change in the distance between
the human eyes
and the terminal screen between the current detection and a previous detection
is greater
than a preset volume of change, if yes, step S508 is performed, if not, the
process enters
step S511;
[0163] S508 ¨ a current distance between the human eyes and the terminal
screen is detected;
21
Date Regue/Date Received 2022-06-29

[0164] S509 ¨ a target font size is determined according to the current
distance and the preset
relation;
[0165] S510 ¨ font is displayed on the terminal screen according to the target
font size;
[0166] S511 ¨ a function to close font adjustment is provided to the user;
[0167] S512 ¨ it is detected whether the user has closed the function of
adjusting font, if the
user has closed the function on his own initiative, the process enters step
S513,
otherwise detection is continued cyclically, and the process enters step S505;
and
[0168] S513 ¨the function of adjusting font is closed.
[0169] In the present invention, it can be either manual for the user or
automatic to start the
function of adjusting the font size in the terminal; since certain electric
quantity is
consumed by the intelligent font adjustment function, the user can be reminded
to close
this function when it is not required to adjust font.
[0170] In the present invention, on the one hand, a font size range displayed
by the terminal
screen is determined according to the age group of the user, a preset relation
of the
distance between the human eyes and the terminal screen to the font size is
obtained
according to the font size range, and a target font size is then determined
according to
the current distance detected between the human eyes and the terminal screen
and
according to the preset relation, whereby different font size ranges are not
only set with
respect to different age groups to more fit to the use requirements of users,
but the font
size can also be self-adaptively adjusted according to distances between human
eyes
and the terminal screen with respect to all age groups to satisfy use
requirements of
users under different scenarios. On the other hand, distances between human
eyes and
the terminal screen are characterized through radii of human pupils, whereby
the
process of distance measurement is simplified.
[0171] Embodiment 2
[0172] This embodiment provides a device for adjusting a font size, and the
device comprises:
22
Date Regue/Date Received 2022-06-29

[0173] a font size range determining module, for determining a font size range
displayed by a
terminal screen according to an age group of a user currently using or
manipulating a
terminal;
[0174] a preset relation obtaining module, for obtaining a preset relation of
a distance between
human eyes and the terminal screen to a font size according to the font size
range;
[0175] a detecting module, for detecting a current distance between the human
eyes and the
terminal screen;
[0176] a target font size determining module, for determining a target font
size according to
the current distance and the preset relation; and
[0177] a displaying module, for displaying font on the terminal screen
according to the target
font size.
[0178] In a preferred embodiment, the device further comprises a preset
relation determining
module for self-adaptively adjusting font size S in the terminal screen while
changing
distance L between the human eyes and the terminal screen;
[0179] obtaining maximum distance L. between the human eyes and the terminal
screen
when the font size S is adjusted as maximum font S. in the font size range;
[0180] obtaining normal distance Lõ, between the human eyes and the terminal
screen when
the font size S is adjusted as normal font Snor in the font size range;
[0181] obtaining minimum distance L. between the human eyes and the terminal
screen
when the font size S is adjusted as minimum font S. in the font size range;
and
[0182] performing linear fitting according to Smax and L., Si , and Lnoõ and
S11 and
L., and obtaining a preset relation of the distance L between the human eyes
and
the terminal screen to the font size S.
23
Date Regue/Date Received 2022-06-29

[0183] In a preferred embodiment, the preset relation determining module is
further employed
for obtaining minimum radius R1111, normal radius Rnor and maximum radius RI11
respectively of human pupils when the distance between the human eyes and the
terminal screen is L., Lnoõ and L1111;
[0184] the step of performing linear fitting according to S.. and L. , Snor
and L noõ and
and Linin, and obtaining a preset relation of the distance between the human
eyes
and the terminal screen to the font size is:
[0185] performing linear fitting according to S. and kin, S nor and Rnor and
S1nIII and
RH. , and obtaining a preset relation of the radius R of human pupils to the
font size
S; and
[0186] the preset relation is as follows:
[0187] when R 6 [km Rnor] S = k l(R ¨ R) + Snor
[ nor , Rmax]
[0188] when RE R S = k2(Rnon - R)+ Sn r ;
wherein
kl = (S ¨ S nor)I(Rnor ¨ RMin) k2 = (Sn, ¨ Snin)/(
[0189] , and Rmax Rnor)
[0190] In a preferred embodiment, the device further comprises: a current
radius of human
pupils obtaining module, for obtaining current radius R, of human pupils when
current distance L, between the human eyes and the terminal screen is
detected; and
[0191] the target font size determining module is further employed for
determining the target
font size according to a range in which the current radius R, of human pupils
locates;
[0192] calculating by employing formula S = kl(Rnor ¨ R) + S nor if Rip E [R.
Rnor] and
obtain target font size S,;
24
Date Regue/Date Received 2022-06-29

[0193] calculating by employing formula S= k2(k0r - Snor if R0 E [Rnor ,
R.] and
obtain target font size S0;
[0194] target font size So being minimum font S11 if RO > Rmax ;
[0195] target font size So being maximum font S. if Ro <R1111.
[0196] In a preferred embodiment, the current radius of human pupils obtaining
module is
further employed for respectively obtaining pupil radius R11 of a user's left
eye on an
x axis and pupil radius R12 thereof on a y axis of a screen coordinate system,
and pupil
radius Rri of a user's right eye on the x axis and pupil radius Rõ thereof on
the y
axis of the screen coordinate system;
R12 ,
[0197] taking any one of R11 Rri , and Rr2 as if
Ro R =R12 , =
Ar, Rr2 and R11=
Rrl ;
[0198] taking Rr2 or R12 as if
Ro R =R12 or R <R12 , and Rri< Rr2, R12 = Rr2;
[0199] taking Rr2 or R12 as Ro if Rri= Rr2 or Rri< Rr2 , and Rn < Ri2 , and
R12= Rr2;
and
[0200] taking Rri or R11 as if Rrl
R > Rr2, R 11>R 12 an
, d Rr2= 72 D R /1 .
[0201] In a preferred embodiment, the detecting module is further employed for
detecting
whether the left eye and the right eye are both imaged within the screen
before the step
of detecting a current distance between the human eyes and the terminal
screen;
[0202] the device further comprises a judging module, for judging, if the left
eye and the right
eye are both imaged within the screen, whether detection is carried out for
the first time;
[0203] the detecting module is further employed for detecting, if the
detection is carried out
for the first time, the current distance between the human eyes and the
terminal screen,
Date Regue/Date Received 2022-06-29

and determining the target font size according to the current distance and the
preset
relation;
[0204] the judging module is further employed for judging, if the detection is
not carried out
for the first time, whether a volume of change in the distance between the
human eyes
and the terminal screen between the current detection and a previous detection
is greater
than a preset volume of change;
[0205] the detecting module is further employed for, if yes, detecting the
current distance
between the human eyes and the terminal screen, and the target font size is
determined
according to the current distance and the preset relation by the target font
size
determining module.
[0206] In a preferred embodiment, the device further comprises a volume of
change in the
radius of human pupils obtaining module, for obtaining, when the current
distance Lc,
between the human eyes and the terminal screen is detected, volume of change
AR in
the radius of the human pupils as compared by the current radius R, of the
human
pupils as currently detected with the radius of the human pupils as previously
detected;
and
[0207] the judging module further being employed for judging whether a volume
of change in
the distance between the human eyes and the terminal screen is greater than a
preset
volume of change by:
[0208] judging whether the volume of change AR in the radius of the human
pupils is greater
than the preset volume of change AR' in the radius; and
[0209] judging, if the volume of change AR in the radius of the human pupils
is greater than
AR', that a volume of change in the distance between the human eyes and the
terminal
screen is greater than the preset volume of change.
[0210] The technical effects achievable by this embodiment can be inferred
from the
corresponding description in Embodiment 1, and no redundancy is made in this
context.
26
Date Regue/Date Received 2022-06-29

[0211] Embodiment 3
[0212] This embodiment provides a terminal equipment that comprises:
[0213] one or more processor(s); and
[0214] a memory, associated with the one or more processor(s) and storing a
program
instruction that executes the above method when it is read and executed by the
one or
more processor(s).
[0215] The process executed by and technical effects achievable by this
embodiment can be
inferred from the corresponding description in Embodiment 1, and no redundancy
is
made in this context.
[0216] Embodiment 4
[0217] In one embodiment is provided a computer-readable storage medium
storing thereon is
a computer program that realizes the method of adjusting a font size in
Embodiment 1
when it is executed by a processor, the process of executing the method and
technical
effects achievable thereby can be inferred from the corresponding description
in
Embodiment 1, and no redundancy is made in this context.
[0218] Fig. 7 exemplarily illustrates the framework of a computer system that
can specifically
include a processor 710, a video display adapter 711, a magnetic disk driver
712, an
input/output interface 713, a network interface 714, and a memory 720. The
processor
710, the video display adapter 711, the magnetic disk driver 712, the
input/output
interface 713, the network interface 714, and the memory 720 can be
communicably
connected with one another via a communication bus 730.
[0219] The processor 710 can be embodied as a general CPU (Central Processing
Unit), a
microprocessor, an ASIC (Application Specific Integrated Circuit), or one or
more
integrated circuit(s) for executing relevant program(s) to realize the
technical solutions
provided by the present application.
[0220] The memory 720 can be embodied in such a form as an ROM (Read Only
Memory),
27
Date Regue/Date Received 2022-06-29

an RAM (Random Access Memory), a static storage device, or a dynamic storage
device. The memory 720 can store an operating system 721 for controlling the
running
of the computer system 700, and a basic input/output system (BIOS) for
controlling
lower-level operations of the computer system 700. In addition, the memory 720
can
also store a web browser 723, a data storage administration system 724, and an
equipment identification information processing system 725, etc. The equipment
identification information processing system 725 can be an application program
that
specifically realizes the aforementioned various step operations in the
embodiments of
the present application. To sum it up, when the technical solutions provided
by the
present application are to be realized via software or firmware, the relevant
program
codes are stored in the memory 720, and invoked and executed by the processor
710.
[0221] The input/output interface 713 is employed to connect with an
input/output module to
realize input and output of information. The input/output module can be
equipped in
the device as a component part (not shown in the drawings), and can also be
externally
connected with the device to provide corresponding functions. The input means
can
include a keyboard, a mouse, a touch screen, a microphone, and various sensors
etc.,
and the output means can include a display screen, a loudspeaker, a vibrator,
an
indicator light etc.
[0222] The network interface 714 is employed to connect to a communication
module (not
shown in the drawings) to realize intercommunication between the current
device and
other devices. The communication module can realize communication in a wired
mode
(via USB, network cable, for example) or in a wireless mode (via mobile
network, WIFI,
Bluetooth, etc.).
[0223] The bus 730 includes a passageway transmitting information between
various
component parts of the device (such as the processor 710, the video display
adapter 711,
the magnetic disk driver 712, the input/output interface 713, the network
interface 714,
and the memory 720).
[0224] Additionally, the computer system 700 may further obtain information of
specific
28
Date Regue/Date Received 2022-06-29

collection conditions from a virtual resource object collection condition
information
database 741 for judgment on conditions, and so on.
[0225] As should be noted, although merely the processor 710, the video
display adapter 711,
the magnetic disk driver 712, the input/output interface 713, the network
interface 714,
the memory 720, and the bus 730 are illustrated for the aforementioned
equipment, the
equipment may further include other component parts prerequisite for realizing
normal
running during specific implementation. In addition, as can be understood by
persons
skilled in the art, the aforementioned equipment may as well only include
component
parts necessary for realizing the solutions of the present application,
without including
the entire component parts as illustrated.
[0226] Particularly, according to the embodiments of the current disclosure,
the processes
described above with reference to flowcharts can be realized as computer
software
programs. For instance, embodiments of the present application include a
computer
program product that includes a computer program borne on a computer-readable
medium, and the computer program contains program codes for executing the
methods
shown in the flowcharts. In such an embodiment, the computer program can be
downloaded from the network and installed through a communication device, or
installed from a storage device, or installed from an ROM. When the computer
program
is executed by a processor, it executes the aforementioned functions defined
in the
methods of the embodiments of the present application.
[0227] As should be noted, the computer-readable medium recited in the
embodiments of the
present application can be a computer-readable signal medium or a computer-
readable
storage medium or a random combination of the two. The computer-readable
storage
medium can for example be, but is not limited to be, an electric, magnetic,
optical,
electromagnetic, infrared, or semiconductor system, device or component, or
any
combination of the above. A more specific example of the computer-readable
storage
medium can include, but is not limited to include, an electrically
connectible, portable
computer magnetic disk, a hard disk, a random-access memory (RAM), a read-only
memory (ROM), an erasable programmable read-only memory (EPROM or flash
29
Date Regue/Date Received 2022-06-29

memory), an optical fiber, a portable compact magnetic disk read-only memory
(CD-
ROM), an optical storage device, a magnetic storage device having one or more
conducting wire(s), or any suitable combination of the above. In the
embodiments of
the present application, the computer-readable storage medium can be any
tangible
medium containing or storing a program usable by or in combination with an
instruction
executing system, device, or component. Moreover, in the embodiments of the
present
application, the computer-readable signal medium can include a data signal
transmitted
in a baseband or as part of a carrier wave, in which data signal are borne
computer-
readable program codes. The data signal thusly propagated can be embodied in
plural
forms, including, but not limited to, an electromagnetic signal, an optical
signal, or any
suitable combination thereof. The computer-readable signal medium can further
be any
other computer-readable medium than the computer-readable storage medium, and
the
computer-readable signal medium can transmit, propagate, or convey programs
for use
by or in combination with an instruction executing system, device, or
component. The
program codes contained in the computer-readable medium can be transmitted via
any
suitable medium, including, but not limited to, an electric wire, an optical
fiber, radio
frequency (RF) etc., or any suitable combination of the above.
[0228] The computer-readable medium can be either contained in the server, or
independent
of, not installed in the server. The computer-readable medium carries
therewith one or
more program(s), when the one or more program(s) is/are executed by the
server, the
server is enabled: to respond to the inactivated peripheral mode of the
terminal as
detected to obtain frame rate applied to the terminal; to judge whether the
user is
obtaining screen information of the terminal when the frame rate satisfies a
screen
resting condition; and to control the screen to enter an immediately darkening
mode in
response to a judging result that the user has not obtained the screen
information.
[0229] One or more programming language(s) or a combination thereof can be
employed to
write the computer program codes for executing the operations of the
embodiments of
the present application, the programming language(s) include(s) such an object-
oriented programming language as Java, Smalltalk, C++, and further include(s)
such a
Date Regue/Date Received 2022-06-29

conventional procedural programming language as "C" language or a similar
programming language. The program codes can be entirely executed on a user
computer,
partly executed on a user computer, executed as an independent software
package,
partly executed on a user computer and partly executed on a remote computer,
or
entirely executed on a remote computer or a server. In the case a remote
computer is
involved, the remote computer can be connected to the user computer via a
randomly
typed network, including a local area network (LAN) or a wide area network
(WAN),
or can be connected to an external computer (for example, internet connection
can be
supplied by an internet service provider).
[0230] The various embodiments are progressively described in the Description,
identical or
similar sections among the various embodiments can be inferred from one
another, and
each embodiment stresses what is different from other embodiments.
Particularly, with
respect to the system or system embodiment, since it is essentially similar to
the method
embodiment, its description is relatively simple, and the relevant sections
thereof can
be inferred from the corresponding sections of the method embodiment. The
system or
system embodiment as described above is merely exemplary in nature, units
therein
described as separate parts can be or may not be physically separate, parts
displayed as
units can be or may not be physical units, that is to say, they can be located
in a single
site, or distributed over a plurality of network units. It is possible to base
on practical
requirements to select partial modules or the entire modules to realize the
objectives of
the embodied solutions. It is understandable and implementable by persons
ordinarily
skilled in the art without spending creative effort in the process.
[0231] The method of adjusting a font size, and the corresponding device,
terminal equipment
and computer-readable storage medium provided by the present application have
been
described in detail above, and concrete examples are used in this paper to
enunciate the
principles and embodiments of the present application; the descriptions of the
foregoing
embodiments are merely meant to help understand the methods and kernel
conception
of the present application; at the same time, persons ordinarily skilled in
the art may
make various modifications both in terms of the specific embodiments and the
ranges
31
Date Regue/Date Received 2022-06-29

of application in accordance with the conception of the present application.
In summary,
the contents of this Description shall not be understood to restrict the
present application.
32
Date Regue/Date Received 2022-06-29

Representative Drawing
A single figure which represents the drawing illustrating the invention.
Administrative Status

2024-08-01:As part of the Next Generation Patents (NGP) transition, the Canadian Patents Database (CPD) now contains a more detailed Event History, which replicates the Event Log of our new back-office solution.

Please note that "Inactive:" events refers to events no longer in use in our new back-office solution.

For a clearer understanding of the status of the application/patent presented on this page, the site Disclaimer , as well as the definitions for Patent , Event History , Maintenance Fee  and Payment History  should be consulted.

Event History

Description Date
Examiner's Report 2024-08-14
Amendment Received - Voluntary Amendment 2024-06-17
Amendment Received - Response to Examiner's Requisition 2024-06-17
Examiner's Report 2024-02-15
Inactive: Report - No QC 2024-02-14
Amendment Received - Response to Examiner's Requisition 2023-12-19
Amendment Received - Voluntary Amendment 2023-12-19
Examiner's Report 2023-09-29
Inactive: Report - No QC 2023-09-29
Amendment Received - Voluntary Amendment 2023-07-31
Inactive: Adhoc Request Documented 2023-07-31
Examiner's Report 2023-03-30
Inactive: Report - No QC 2023-03-29
Amendment Received - Response to Examiner's Requisition 2023-01-27
Amendment Received - Voluntary Amendment 2023-01-27
Inactive: Cover page published 2022-11-29
Application Published (Open to Public Inspection) 2022-09-30
Examiner's Report 2022-09-27
Inactive: Report - No QC 2022-09-26
Advanced Examination Determined Compliant - paragraph 84(1)(a) of the Patent Rules 2022-08-05
Amendment After Allowance Requirements Determined Compliant 2022-08-05
Letter Sent 2022-08-05
Amendment After Allowance Requirements Determined Compliant 2022-08-05
Letter Sent 2022-08-05
Letter sent 2022-08-05
Inactive: First IPC assigned 2022-08-04
Inactive: IPC assigned 2022-08-04
Inactive: IPC assigned 2022-08-04
Inactive: IPC assigned 2022-08-04
Filing Requirements Determined Compliant 2022-07-29
Letter sent 2022-07-29
Priority Claim Requirements Determined Compliant 2022-07-27
Letter Sent 2022-07-27
Request for Priority Received 2022-07-27
Application Received - Regular National 2022-06-29
Request for Examination Requirements Determined Compliant 2022-06-29
Inactive: Advanced examination (SO) fee processed 2022-06-29
Inactive: Pre-classification 2022-06-29
Inactive: Advanced examination (SO) 2022-06-29
All Requirements for Examination Determined Compliant 2022-06-29
Inactive: QC images - Scanning 2022-06-29

Abandonment History

There is no abandonment history.

Maintenance Fee

The last payment was received on 2023-12-15

Note : If the full payment has not been received on or before the date indicated, a further fee may be required which may be one of the following

  • the reinstatement fee;
  • the late payment fee; or
  • additional fee to reverse deemed expiry.

Patent fees are adjusted on the 1st of January every year. The amounts above are the current amounts if received by December 31 of the current year.
Please refer to the CIPO Patent Fees web page to see all current fee amounts.

Fee History

Fee Type Anniversary Year Due Date Paid Date
Application fee - standard 2022-06-29 2022-06-29
Advanced Examination 2022-06-29 2022-06-29
Request for examination - standard 2026-06-29 2022-06-29
MF (application, 2nd anniv.) - standard 02 2024-07-02 2023-12-15
Owners on Record

Note: Records showing the ownership history in alphabetical order.

Current Owners on Record
10353744 CANADA LTD.
Past Owners on Record
CHENJIE WU
JINFEI DING
RUI WANG
SHILONG ZHU
ZHIBO DAI
Past Owners that do not appear in the "Owners on Record" listing will appear in other documentation within the application.
Documents

To view selected files, please enter reCAPTCHA code :



To view images, click a link in the Document Description column (Temporarily unavailable). To download the documents, select one or more checkboxes in the first column and then click the "Download Selected in PDF format (Zip Archive)" or the "Download Selected as Single PDF" button.

List of published and non-published patent-specific documents on the CPD .

If you have any difficulty accessing content, you can call the Client Service Centre at 1-866-997-1936 or send them an e-mail at CIPO Client Service Centre.


Document
Description 
Date
(yyyy-mm-dd) 
Number of pages   Size of Image (KB) 
Claims 2024-06-16 42 2,034
Claims 2023-07-30 42 2,080
Claims 2023-12-10 43 2,069
Description 2022-06-28 32 1,359
Claims 2022-06-28 44 1,653
Abstract 2022-06-28 1 23
Drawings 2022-06-28 7 458
Representative drawing 2022-11-28 1 40
Cover Page 2022-11-28 1 68
Claims 2023-01-26 42 2,071
Examiner requisition 2024-08-13 5 168
Amendment / response to report 2024-06-16 99 3,924
Examiner requisition 2024-02-14 4 228
Courtesy - Acknowledgement of Request for Examination 2022-07-26 1 423
Courtesy - Filing certificate 2022-07-28 1 568
Amendment / response to report 2023-07-30 93 3,359
Examiner requisition 2023-09-28 5 235
Amendment / response to report 2023-12-18 52 1,878
New application 2022-06-28 7 226
Courtesy - Advanced Examination Request - Compliant (SO) 2022-08-04 1 204
Examiner requisition 2022-09-26 5 227
Amendment / response to report 2023-01-26 101 3,634
Examiner requisition 2023-03-29 6 265