CA3166085A1 - A method, device, terminal, and computer-readable storage medium for adjusting font size - Google Patents

A method, device, terminal, and computer-readable storage medium for adjusting font size Download PDF

Info

Publication number
CA3166085A1
CA3166085A1 CA3166085A CA3166085A CA3166085A1 CA 3166085 A1 CA3166085 A1 CA 3166085A1 CA 3166085 A CA3166085 A CA 3166085A CA 3166085 A CA3166085 A CA 3166085A CA 3166085 A1 CA3166085 A1 CA 3166085A1
Authority
CA
Canada
Prior art keywords
font size
distance
terminal screen
radius
human
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CA3166085A
Other languages
French (fr)
Inventor
Jinfei DING
Zhibo Dai
Shilong Zhu
Rui Wang
Chenjie Wu
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
10353744 Canada Ltd
Original Assignee
10353744 Canada Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 10353744 Canada Ltd filed Critical 10353744 Canada Ltd
Publication of CA3166085A1 publication Critical patent/CA3166085A1/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)

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.

Description

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 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:

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;

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;

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 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 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.

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 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 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 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 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:

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 .

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, 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 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 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;

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:

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.

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,;

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.

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), 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 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 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 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.

Date Regue/Date Received 2022-06-29

Claims (243)

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 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;

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 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.

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;

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 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;

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 , 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 <

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 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.

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 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 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.

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 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;

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 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.

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.
.

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 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.

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;

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:

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.

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, 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;

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] , 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;

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;

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 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 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 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.

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:

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.

Date Regue/Date Received 2022-06-29
CA3166085A 2021-06-29 2022-06-29 A method, device, terminal, and computer-readable storage medium for adjusting font size Pending CA3166085A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110725591.9 2021-06-29
CN202110725591.9A CN113342229A (en) 2021-06-29 2021-06-29 Method and device for adjusting font size, terminal equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CA3166085A1 true CA3166085A1 (en) 2022-09-30

Family

ID=77481253

Family Applications (1)

Application Number Title Priority Date Filing Date
CA3166085A Pending CA3166085A1 (en) 2021-06-29 2022-06-29 A method, device, terminal, and computer-readable storage medium for adjusting font size

Country Status (2)

Country Link
CN (1) CN113342229A (en)
CA (1) CA3166085A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115499538B (en) * 2022-08-23 2023-08-22 广东以诺通讯有限公司 Screen display font adjusting method, device, storage medium and computer equipment
CN116992418B (en) * 2023-09-25 2024-01-05 深圳市赛义德信息技术有限公司 Account safety protection system for medical inquiry terminal

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100741426B1 (en) * 2006-06-08 2007-07-20 삼성전자주식회사 Method and apparatus for font auto control in mobile phone
CN104777903A (en) * 2015-03-27 2015-07-15 深圳市金立通信设备有限公司 Character display method
CN106325695A (en) * 2015-06-29 2017-01-11 宇龙计算机通信科技(深圳)有限公司 Intelligent display method and device for terminal, and terminal
CN105630167B (en) * 2015-12-24 2019-01-29 浙江吉利控股集团有限公司 Screen self-adapting regulation method, screen self-adapting adjusting apparatus and terminal device
US10097809B2 (en) * 2016-11-11 2018-10-09 Rovi Guides, Inc. Systems and methods for adjusting display settings to reduce eye strain of multiple viewers
CN107528972B (en) * 2017-08-11 2020-04-24 维沃移动通信有限公司 Display method and mobile terminal
CN108989571B (en) * 2018-08-15 2020-06-19 浙江大学滨海产业技术研究院 Adaptive font adjustment method and device for mobile phone character reading
CN112394808A (en) * 2019-08-14 2021-02-23 奇酷互联网络科技(深圳)有限公司 Method, terminal and storage medium for adjusting font size

Also Published As

Publication number Publication date
CN113342229A (en) 2021-09-03

Similar Documents

Publication Publication Date Title
CA3166085A1 (en) A method, device, terminal, and computer-readable storage medium for adjusting font size
JP6342458B2 (en) Improved facial recognition in video
CN106471419B (en) Management information is shown
US10950205B2 (en) Electronic device, augmented reality device for providing augmented reality service, and method of operating same
KR20180028796A (en) Method, storage medium and electronic device for displaying images
KR20180062174A (en) Method for Producing Haptic Signal and the Electronic Device supporting the same
JP2019511067A5 (en)
US10783835B2 (en) Automatic control of display brightness
JP2014519665A6 (en) Improved facial recognition in video
KR20180099026A (en) Photographing method using external electronic device and electronic device supporting the same
WO2016076530A1 (en) System for measuring power of eyeglass lens using mobile device, method therefore, and program therefor
KR20190009101A (en) Method for operating speech recognition service, electronic device and server supporting the same
US11210932B2 (en) Discovery of and connection to remote devices
US10636167B2 (en) Method and device for determining distance
CN105808190A (en) Display screen display method and terminal equipment
KR20200120105A (en) Electronic device and method for providing information to relieve stress thereof
JP7518005B2 (en) Systems and methods for smart image capture - Patents.com
CN112130326B (en) Method and device for improving eye protection performance of VR glasses
JP2010237884A (en) Device, method, and program for controlling display
CN111610886A (en) Method and device for adjusting brightness of touch screen and computer readable storage medium
CN110930372A (en) Image processing method, electronic equipment and computer readable storage medium
US11457804B1 (en) System for monitoring vision changes
CN110399930B (en) Data processing method and system
CN114661152A (en) AR display control system and method for reducing visual fatigue
CN107919094B (en) Control terminal backlight control method, control terminal and readable storage medium