CN104103258A - Display font adjusting method and terminal - Google Patents

Display font adjusting method and terminal Download PDF

Info

Publication number
CN104103258A
CN104103258A CN201310117754.0A CN201310117754A CN104103258A CN 104103258 A CN104103258 A CN 104103258A CN 201310117754 A CN201310117754 A CN 201310117754A CN 104103258 A CN104103258 A CN 104103258A
Authority
CN
China
Prior art keywords
terminal
default
parameter
rock
display font
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
CN201310117754.0A
Other languages
Chinese (zh)
Inventor
杨东齐
葛鹏
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310117754.0A priority Critical patent/CN104103258A/en
Publication of CN104103258A publication Critical patent/CN104103258A/en
Pending legal-status Critical Current

Links

Abstract

The embodiment of the invention discloses a display font adjusting method. The method comprises steps: the current sloshing parameters of a terminal are acquired; the acquired current sloshing parameters of the terminal are judged whether to meet the preset sloshing parameter threshold; and if yes, the size of the display font of the terminal is adjusted according to the preset sloshing parameter threshold. The embodiment of the invention also discloses a terminal. By adopting the method and the terminal of the invention, when reading is carried out in a sloshing environment, the size of the display font of the terminal is adjusted according to the specific sloshing situation, reading consistency in the sloshing environment can be ensured, eyesight protection is facilitated, and eye fatigue is allayed.

Description

A kind of control method of display font and terminal
Technical field
The present invention relates to electronic applications, relate in particular to a kind of control method and terminal of display font.
Background technology
Along with the development of electronic information technology, people's reading method, knowledge and acquisition of information mode are constantly changing, and support the appearance of the e-book (e-book) of the multimedia elements such as text, sound, image, image, make the propagation of information more convenient.
In the terminal such as mobile phone, panel computer, can read or download the digital publication on internet, read purposefully whenever and wherever possible, if but while reading in the mobile environment such as public transport, subway, train, the vehicle body rocking at any time changes the relative position of terminal display screen and people's eyes, thereby cause not seeing font reading interruption, now can manually tune up font and make also can see clearly font in the situation that rocking, or until rock and stop vehicle body and continue to read after stable.In the time reading in mobile environment, because rocking, vehicle body causes reading interruption, affect the experience of reading, reduce speed and the quality of reading.
Summary of the invention
Embodiment of the present invention technical matters to be solved is, a kind of control method and terminal of display font is provided, and has guaranteed the continuity of reading and be of value to vision protection, relieving eye strain in the environment rocking.
In order to solve the problems of the technologies described above, embodiment of the present invention first aspect provides a kind of control method of display font, and described method comprises:
Obtain terminal current rock parameter;
Whether what the terminal that gets described in judgement was current rock parameter meets the default parameter threshold that rocks;
If so, according to the described default display font size of rocking parameter threshold adjusting terminal.
In the possible implementation of the first of first aspect, obtain terminal current rock parameter before also comprise:
Determine that current scene is for reading scene.
In the possible implementation of the second of first aspect, regulate the display font size of terminal to comprise according to the described default parameter threshold that rocks:
The display font size of terminal is adjusted into described default the first default display font size that parameter threshold is corresponding of rocking.
In the third possible implementation of first aspect, after according to the described default display font size of rocking parameter threshold adjusting terminal, comprise:
Again obtain terminal current rock parameter;
Whether what the terminal that again gets described in judgement was current rock parameter meets the default parameter threshold that rocks;
If not, by the display font size adjustment of terminal be the second display font size of presetting.
In conjunction with the third possible implementation of the possible implementation of the second of the possible implementation of the first of first aspect or first aspect or first aspect or first aspect, in the 4th kind of possible implementation of first aspect, described in rock parameter and comprise: rock angle, rock size, one or more in jitter time, slosh frequency.
In conjunction with the third possible implementation of the possible implementation of the second of the possible implementation of the first of first aspect or first aspect or first aspect or first aspect, in the 5th kind of possible implementation of first aspect, described in obtain the current parameter of rocking of terminal and comprise:
By sensor obtain terminal current rock parameter, described sensor comprises gyroscope or Shock inductor.
Correspondingly, embodiment of the present invention second aspect provides a kind of terminal, comprising:
Acquisition module, for obtain terminal current rock parameter;
Judge module, for current the rocking parameter and whether meet the default parameter threshold that rocks of the terminal that gets described in judging;
Adjustment module, for when the judged result of described judge module is when being, according to described default display font size of rocking parameter threshold and regulate terminal.
In the possible implementation of the first of second aspect, described terminal also comprises:
Scene determination module, for determining that current scene is for reading scene.
In the possible implementation of the second of second aspect, described adjustment module regulates the display font size of terminal to be according to the described default parameter threshold that rocks:
The display font size of terminal is adjusted into described default the first default display font size that parameter threshold is corresponding of rocking.
In the third possible implementation of second aspect, described judge module also for when again get terminal current rock parameter time, whether what the terminal that again gets described in judgement was current rock parameter meets the default parameter threshold that rocks;
Described terminal also comprises:
Recovery module, for not meeting defaultly while rocking parameter threshold when the current parameter of rocking of the terminal again getting described in described judge module determines, is the second display font size of presetting by the display font size adjustment of terminal.
In conjunction with the third possible implementation of the possible implementation of the second of the possible implementation of the first of second aspect or second aspect or second aspect or second aspect, in the 4th kind of possible implementation of second aspect, described in rock parameter and comprise: rock angle, rock size, one or more in jitter time, slosh frequency.
In conjunction with the third possible implementation of the possible implementation of the second of the possible implementation of the first of second aspect or second aspect or second aspect or second aspect, in the 5th kind of possible implementation of second aspect, described acquisition module obtains the current parameter of rocking of terminal and is:
By sensor obtain terminal current rock parameter, described sensor comprises gyroscope or Shock inductor.
Implement the embodiment of the present invention; in the time reading in the environment rocking; can be the first display font size of presetting by the display font size adjustment of terminal according to the concrete situation of rocking; when detect rock stop or slightly rocking do not affect read time; the display font size of terminal can be adjusted into the second default display font size; for example the reducible display font size for acquiescence, has guaranteed the continuity of reading in the environment rocking and has been of value to vision protection, relieving eye strain.
Brief description of the drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The structural representation of a kind of terminal that Fig. 1 provides for the embodiment of the present invention;
Fig. 2 is the embodiment process flow diagram of the control method of a kind of display font of providing of the embodiment of the present invention;
Fig. 3 is the embodiment process flow diagram of the control method of the another kind of display font that provides of the embodiment of the present invention;
Fig. 4 is the structural representation of the terminal based on computer system that provides of the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Refer to Fig. 1, the structural representation of a kind of terminal that Fig. 1 provides for the embodiment of the present invention.Wherein, the terminal in the embodiment of the present invention can be as panel computer, notebook computer, mobile phone, mobile TV, multimedia player, vehicle-mounted playback terminal etc.As shown in the figure, the terminal of this inventive embodiments at least comprises acquisition module 101, judge module 102 and adjustment module 103, wherein:
Acquisition module 101, for obtain terminal current rock parameter.In specific implementation, when determining that current scene is for reading when scene, obtain terminal current rock parameter, wherein, rock parameter and comprise: rock angle, rock size, one or more in jitter time, slosh frequency.Acquisition module 101 obtains current the rocking parameter and can be of terminal: by sensor obtain terminal current rock parameter, wherein, sensor is including, but not limited to gyroscope or Shock inductor.
Gyroscope can be three-axis gyroscope, and three-axis gyroscope can be for measure position and the motion track of six direction simultaneously, and three-axis gyroscope is also for detection of the angular velocity of terminal.In the time that the environment at terminal place rocks, for example, in the environment such as motorbus, subway, train, while reading by terminal, vehicle body rocks, and terminal can be followed and be rocked, and now, three-axis gyroscope can detect the angular velocity of terminal.Concrete, gyroscope can, for detection of the angular velocity at x, y, z three axles, therefore can be measured the angular velocity of six direction simultaneously, for example: during to anticlockwise, y axle is for negative; During to right rotation, y axle is for just; While rotating up, x axle is for negative; While being rotated down, x axle is for just; When level is rotated counterclockwise, z axle is for just, and level turns clockwise, and z axle is for negative.Gyroscope can measuring terminals rotational angular velocity in deflection, while tilting, to distinguish the motion state of terminal.
Shock inductor, in the time shaking/rock, can produce a signal, this signal is sent to the comparer in the control circuit of inductor, it is sensitivity that comparer is provided with threshold value, in the time that signal voltage is greater than threshold value, comparer is exported a level value, can be high level or low level, determined by forward input and anti-phase input, trigger and carry out respective operations by the level value of this output.In the time that terminal environment of living in rocks, for example, in the environment such as motorbus, subway, train, while reading by terminal, vehicle body rocks, terminal can be followed and be rocked, rock in process, can be detected and shaken/rock size and shake/rock number of times by Shock inductor, the jitter time detecting in conjunction with terminal can obtain slosh frequency.
Judge module 102, for current the rocking parameter and whether meet the default parameter threshold that rocks of the terminal that gets described in judging.In specific implementation, default rocks parameter threshold for can edit settings, be specifically as follows default jitter time threshold value, default rock angle threshold, default slosh frequency threshold value, default rock one or more in size threshold value, whether the current jitter time of terminal that for example, judgement gets meets default jitter time threshold value 10~20 seconds; Angle that what the terminal that gets of judgement was current rock meets default 5 °~8 ° of the angle thresholds etc. that rock.Default rock the numerical value section that parameter threshold can be corresponding different, for example, default corresponding three the default numerical value sections of parameter threshold of rocking, wherein, the first default numerical value section is: default jitter time threshold value is that 10~20 seconds, the default angle threshold that rocks are that 5 °~8 °, default slosh frequency threshold value are that 20Hz~40Hz and the default size threshold value of rocking are low; Default second value section is: default jitter time threshold value is that 21~60 seconds, the default angle threshold that rocks are that 9 °~15 °, default slosh frequency threshold value are 41Hz~60Hz and default rocking during size threshold value is; Default third value section is: default jitter time threshold value is that 61~100 seconds, the default angle threshold that rocks are that 16 °~25 °, default slosh frequency threshold value are 61Hz~70Hz and default rock size threshold value for high.Judge current the rocking parameter and whether meet and default rock parameter threshold and can be of the terminal that gets: the current parameter of rocking of terminal that judgement gets is to meet concrete default which numerical value that rocks parameter threshold, if do not met, trigger acquisition module 101 again obtain terminal current rock parameter.
Adjustment module 103, for when the judged result of described judge module 102 is when being, according to described default display font size of rocking parameter threshold and regulate terminal.In specific implementation, when the judged result of judge module 102 is when being, parameter that what the terminal that gets was current rock meets default while rocking parameter threshold, according to default display font size of rocking parameter threshold and regulate terminal.Further alternative, adjustment module 103 regulates the display font size of terminal to be according to the described default parameter threshold that rocks: the display font size of terminal is adjusted into described default the first default display font size that parameter threshold is corresponding of rocking, wherein, the first default display font size is for can edit font size value, the first default display font size with preset to rock parameter threshold corresponding one by one, for example, when the first numerical value section for default, the jitter time getting is in 10~20 seconds (default jitter time threshold value) scopes, what get rocks angle in 5 °~8 ° (default rock angle threshold) scopes, the slosh frequency value getting is in the default slosh frequency threshold value of 20Hz~40Hz() in scope or get rock size for low (default rock size threshold value) time, corresponding the first default display font size is No. 30, when being default second value section, the jitter time getting in 21~60 seconds (default jitter time threshold value) scopes, get rock angle in 9 °~15 ° (default rock angle threshold) scopes, the slosh frequency value that gets is in the default slosh frequency threshold value of 41Hz~60Hz() in scope or get rock size be in when (default rock size threshold value), the first display font size of presetting of correspondence is No. 35, when being default third value section, the jitter time getting in 61~100 seconds (default jitter time threshold value) scopes, get rock angle in 16 °~25 ° (default rock angle threshold) scopes, the slosh frequency value that gets is in the default slosh frequency threshold value of 61Hz~70Hz() in scope or get rock size for high (default rock size threshold value) time, the first display font size of presetting of correspondence is No. 40 etc.When judge module 102 determine the terminal that gets current rock parameter while meeting concrete default which numerical value that rocks parameter threshold, the corresponding concrete default numerical value section of rocking parameter threshold, arranges corresponding the first default display font size.
The embodiment of the present invention provides a kind of terminal, in the time reading in the environment rocking, can regulate according to the concrete situation of rocking the display font size of terminal, has guaranteed the continuity of reading and be of value to vision protection, relieving eye strain in the environment rocking.
Further alternative, the terminal in the embodiment of the present invention can also comprise scene determination module 104 and recovery module 105, wherein:
Scene determination module 104, for determining that current scene is for reading scene.In specific implementation, acquisition module 101 obtain terminal current rock parameter before, need to determine that current scene, for reading scene, reads scene, for example: reading electronic book, the scene such as captions of reading note, consulting microblogging, consulting mail, watch captions in video, watch mobile TV.
Further alternative, the judge module 102 in the embodiment of the present invention also for again get when acquisition module 101 terminal current rock parameter time, whether what the terminal that again gets described in judgement was current rock parameter meets the default parameter threshold that rocks.In specific implementation, after adjustment module 103 regulates the display font size of terminal, acquisition module 101 again obtain terminal current rock parameter, whether what the terminal that again gets described in judge module 102 judgements was current rock parameter meets the default parameter threshold that rocks.
Recovery module 105, for not meeting defaultly while rocking parameter threshold when the current parameter of rocking of the terminal again getting described in described judge module 102 determines, is the second display font size of presetting by the display font size adjustment of terminal.In specific implementation, do not meet default while rocking parameter threshold when judge module 102 determines the current parameter of rocking of the terminal that again gets, detect to rock and stop, current environment no longer rocks, when having recovered normal reading pattern or current environment and slightly rocking but do not affect user and read, it is the second display font size of presetting by the display font size adjustment of terminal, the second default display font size can be the display font size of terminal acquiescence, also can be for can edit settings, for example the display font size of acquiescence is No. 20, editor's font size value is No. 25 etc.
The embodiment of the present invention provides a kind of terminal; in the time reading in the environment rocking; can be the first display font size of presetting by the display font size adjustment of terminal according to the concrete situation of rocking; when detect rock stop or slightly rocking do not affect read time; the display font size of terminal can be adjusted into the second default display font size; the for example reducible display font size for acquiescence; guarantee the continuity of reading and be of value to vision protection, relieving eye strain in the environment rocking.
Set forth the specific implementation of the control method of the display font that the embodiment of the present invention provides below.
Fig. 2 is the embodiment process flow diagram of the control method of a kind of display font in the embodiment of the present invention, the embodiment of the present invention can realize in as terminals such as panel computer, notebook computer, mobile phone, mobile TV, multimedia player, vehicle-mounted playback terminals, and the control method of display font at least comprises as shown in the figure:
Step S201, obtain terminal current rock parameter.In specific implementation, in the time determining current scene for reading scene, for example: reading electronic book, read note, consult microblogging, consult the scenes such as mail, obtain terminal current rock parameter, wherein, rocking parameter comprises: rock angle, rock size, one or more in jitter time, slosh frequency.Obtain current the rocking parameter and can be of terminal: by sensor obtain terminal current rock parameter, described sensor is including, but not limited to gyroscope or Shock inductor.
Gyroscope can be three-axis gyroscope, and three-axis gyroscope can be for measure position and the motion track of six direction simultaneously, and three-axis gyroscope is also for detection of the angular velocity of terminal.In the time that the environment at terminal place rocks, for example, in the environment such as motorbus, subway, train, while reading by terminal, vehicle body rocks, and terminal can be followed and be rocked, and now, three-axis gyroscope can detect the angular velocity of terminal.Concrete, gyroscope can, for detection of the angular velocity at x, y, z three axles, therefore can be measured the angular velocity of six direction simultaneously, for example: during to anticlockwise, y axle is for negative; During to right rotation, y axle is for just; While rotating up, x axle is for negative; While being rotated down, x axle is for just; When level is rotated counterclockwise, z axle is for just, and level turns clockwise, and z axle is for negative.Gyroscope can measuring terminals rotational angular velocity in deflection, while tilting, to distinguish the motion state of terminal.
Shock inductor, in the time shaking/rock, can produce a signal, this signal is sent to the comparer in the control circuit of inductor, it is sensitivity that comparer is provided with threshold value, in the time that signal voltage is greater than threshold value, comparer is exported a level value, can be high level or low level, determined by forward input and anti-phase input, trigger and carry out respective operations by the level value of this output.In the time that terminal environment of living in rocks, for example, in the environment such as motorbus, subway, train, while reading by terminal, vehicle body rocks, terminal can be followed and be rocked, rock in process, can be detected and shaken/rock size and shake/rock number of times by Shock inductor, the jitter time detecting in conjunction with terminal can obtain slosh frequency.
Step S202, whether what the terminal that gets described in judgement was current rock parameter meets the default parameter threshold that rocks, and when judged result is when being, performs step S203, when judged result is while being no, returns to step S201.In specific implementation, default rocks parameter threshold for can edit settings, be specifically as follows default jitter time threshold value, default rock angle threshold, default slosh frequency threshold value, default rock one or more in size threshold value, whether the current jitter time of terminal that for example, judgement gets meets default jitter time threshold value 10~20 seconds; Angle that what the terminal that gets of judgement was current rock meets default 5 °~8 ° of the angle thresholds etc. that rock.Default rock the numerical value section that parameter threshold can be corresponding different, for example, default corresponding three the default numerical value sections of parameter threshold of rocking, wherein, the first default numerical value section is: default jitter time threshold value is that 10~20 seconds, the default angle threshold that rocks are that 5 °~8 °, default slosh frequency threshold value are that 20Hz~40Hz and the default size threshold value of rocking are low; Default second value section is: default jitter time threshold value is that 21~60 seconds, the default angle threshold that rocks are that 9 °~15 °, default slosh frequency threshold value are 41Hz~60Hz and default rocking during size threshold value is; Default third value section is: default jitter time threshold value is that 61~100 seconds, the default angle threshold that rocks are that 16 °~25 °, default slosh frequency threshold value are 61Hz~70Hz and default rock size threshold value for high.Judge current the rocking parameter and whether meet and default rock parameter threshold and can be of the terminal that gets: the current parameter of rocking of terminal that judgement gets is to meet concrete default which numerical value that rocks parameter threshold.
Step S203, according to the described default display font size of rocking parameter threshold adjusting terminal.In specific implementation, when the terminal getting current rock parameter meet default while rocking parameter threshold, according to default display font size of rocking parameter threshold and regulate terminal.Further alternative, regulate the display font size of terminal to be according to the described default parameter threshold that rocks: the display font size of terminal is adjusted into described default the first default display font size that parameter threshold is corresponding of rocking, wherein, the first default display font size is for can edit font size value, the first default display font size with preset to rock parameter threshold corresponding one by one, for example, when the first numerical value section for default, the jitter time getting is in 10~20 seconds (default jitter time threshold value) scopes, what get rocks angle in 5 °~8 ° (default rock angle threshold) scopes, the slosh frequency value getting is in the default slosh frequency threshold value of 20Hz~40Hz() in scope or get rock size for low (default rock size threshold value) time, corresponding the first default display font size is No. 30, when being default second value section, the jitter time getting in 21~60 seconds (default jitter time threshold value) scopes, get rock angle in 9 °~15 ° (default rock angle threshold) scopes, the slosh frequency value that gets is in the default slosh frequency threshold value of 41Hz~60Hz() in scope or get rock size be in when (default rock size threshold value), the first display font size of presetting of correspondence is No. 35, when being default third value section, the jitter time getting in 61~100 seconds (default jitter time threshold value) scopes, get rock angle in 16 °~25 ° (default rock angle threshold) scopes, the slosh frequency value that gets is in the default slosh frequency threshold value of 61Hz~70Hz() in scope or get rock size for high (default rock size threshold value) time, the first display font size of presetting of correspondence is No. 40 etc.When determine the terminal that gets current rock parameter while meeting concrete default which numerical value that rocks parameter threshold, the corresponding concrete default numerical value section of rocking parameter threshold, arranges corresponding the first default display font size.
The embodiment of the present invention provides a kind of control method of display font; in the time reading in the environment rocking; can regulate according to the concrete situation of rocking the display font size of terminal, guaranteed the continuity of reading and be of value to vision protection, relieving eye strain in the environment rocking.
Fig. 3 is another embodiment process flow diagram of the control method of a kind of display font in the embodiment of the present invention, the embodiment of the present invention can realize in as terminals such as panel computer, notebook computer, mobile phone, mobile TV, multimedia player, vehicle-mounted playback terminals, and the control method of display font at least can also comprise as shown in the figure:
Step S301, determines that current scene is for reading scene.In specific implementation, determine that current scene, for reading scene, for example reads scene: reading electronic book, the scene such as captions of reading note, consulting microblogging, consulting mail, watch captions in video, watch mobile TV.
Step S302, obtain terminal current rock parameter.In specific implementation, when determining that current scene is for reading when scene, obtain terminal current rock parameter, wherein, rock parameter and comprise: rock angle, rock size, one or more in jitter time, slosh frequency.Obtain current the rocking parameter and can be of terminal: by sensor obtain terminal current rock parameter, described sensor is including, but not limited to gyroscope or Shock inductor.
Gyroscope can be three-axis gyroscope, and three-axis gyroscope can be measured position and the motion track of six direction simultaneously, and three-axis gyroscope is also for detection of the angular velocity of terminal.In the time that the environment at terminal place rocks, for example, in the environment such as motorbus, subway, train, while reading by terminal, vehicle body rocks, and terminal can be followed and be rocked, and now, three-axis gyroscope can detect the angular velocity of terminal.Gyroscope can measuring terminals rotational angular velocity in deflection, while tilting, to distinguish the motion state of terminal.
Shock inductor, in the time shaking/rock, can produce a signal, this signal is sent to the comparer in the control circuit of inductor, it is sensitivity that comparer is provided with threshold value, in the time that signal voltage is greater than threshold value, comparer is exported a level value, can be high level or low level, determined by forward input and anti-phase input, trigger and carry out respective operations by the level value of this output.In the time that terminal environment of living in rocks, for example, in the environment such as motorbus, subway, train, while reading by terminal, vehicle body rocks, terminal can be followed and be rocked, rock in process, can be detected and shaken/rock size and shake/rock number of times by Shock inductor, the jitter time detecting in conjunction with terminal can obtain slosh frequency.
Step S303, whether what the terminal that gets described in judgement was current rock parameter meets the default parameter threshold that rocks, and when judged result is when being, performs step S304, when judged result is while being no, returns to step S302.In specific implementation, default rocks parameter threshold for can edit settings, be specifically as follows default jitter time threshold value, default rock angle threshold, default slosh frequency threshold value, default rock one or more in size threshold value, whether the current jitter time of terminal that for example, judgement gets meets default jitter time threshold value 10~20 seconds; Angle that what the terminal that gets of judgement was current rock meets default 5 °~8 ° of the angle thresholds etc. that rock.Default rock the numerical value section that parameter threshold can be corresponding different, for example, default corresponding three the default numerical value sections of parameter threshold of rocking, wherein, the first default numerical value section is: default jitter time threshold value is that 10~20 seconds, the default angle threshold that rocks are that 5 °~8 °, default slosh frequency threshold value are that 20Hz~40Hz and the default size threshold value of rocking are low; Default second value section is: default jitter time threshold value is that 21~60 seconds, the default angle threshold that rocks are that 9 °~15 °, default slosh frequency threshold value are 41Hz~60Hz and default rocking during size threshold value is; Default third value section is: default jitter time threshold value is that 61~100 seconds, the default angle threshold that rocks are that 16 °~25 °, default slosh frequency threshold value are 61Hz~70Hz and default rock size threshold value for high.Judge current the rocking parameter and whether meet and default rock parameter threshold and can be of the terminal that gets: the current parameter of rocking of terminal that judgement gets is to meet concrete default which numerical value that rocks parameter threshold.
Step S304, is adjusted into described default the first default display font size that parameter threshold is corresponding of rocking by the display font size of terminal.In specific implementation, the rock parameter current when the terminal getting meets default while rocking parameter threshold, the display font size of terminal is adjusted into described default the first default display font size that parameter threshold is corresponding of rocking, wherein, the first default display font size is for can edit font size value, the first default display font size with preset to rock parameter threshold corresponding one by one, for example, when the first numerical value section for default, the jitter time getting is in 10~20 seconds (default jitter time threshold value) scopes, what get rocks angle in 5 °~8 ° (default rock angle threshold) scopes, the slosh frequency value getting is in the default slosh frequency threshold value of 20Hz~40Hz() in scope or get rock size for low (default rock size threshold value) time, corresponding the first default display font size is No. 30, when being default second value section, the jitter time getting in 21~60 seconds (default jitter time threshold value) scopes, get rock angle in 9 °~15 ° (default rock angle threshold) scopes, the slosh frequency value that gets is in the default slosh frequency threshold value of 41Hz~60Hz() in scope or get rock size be in when (default rock size threshold value), the first display font size of presetting of correspondence is No. 35, when being default third value section, the jitter time getting in 61~100 seconds (default jitter time threshold value) scopes, get rock angle in 16 °~25 ° (default rock angle threshold) scopes, the slosh frequency value that gets is in the default slosh frequency threshold value of 61Hz~70Hz() in scope or get rock size for high (default rock size threshold value) time, the first display font size of presetting of correspondence is No. 40 etc.Determine the terminal that gets current rock parameter while meeting concrete default which numerical value that rocks parameter threshold, the corresponding concrete default numerical value section of rocking parameter threshold, arranges corresponding the first default display font size.
Step S305, again obtain terminal current rock parameter.In specific implementation, by sensor again obtain terminal current rock parameter, sensor is including, but not limited to gyroscope or Shock inductor.Wherein, rocking parameter comprises: rock angle, rock size, one or more in jitter time, slosh frequency.
Step S306, whether what the terminal that again gets described in judgement was current rock parameter meets the default parameter threshold that rocks, and when judged result is while being no, execution step S307, when judged result is when being, returns to step S304.In specific implementation, default rocks parameter threshold for can edit settings, is specifically as follows default jitter time threshold value, default rocks angle threshold, default slosh frequency threshold value, default rocks one or more in size threshold value.
Step S307 is the second display font size of presetting by the display font size adjustment of terminal.In specific implementation, do not meet default while rocking parameter threshold when determining the current parameter of rocking of the terminal that again gets, detect to rock and stop, current environment no longer rocks, when having recovered normal reading pattern or current environment and slightly rocking but do not affect user and read, it is the second display font size of presetting by the display font size adjustment of terminal, the second default display font size can be the display font size of terminal acquiescence, also can be for can edit settings, for example the display font size of acquiescence is No. 20, and editor's font size value is No. 25 etc.
The embodiment of the present invention provides a kind of control method of display font; in the time reading in the environment rocking; can be the first display font size of presetting by the display font size adjustment of terminal according to the concrete situation of rocking; when detect rock stop or slightly rocking do not affect read time; the display font size of terminal can be adjusted into the second default display font size; the for example reducible display font size for acquiescence; guarantee the continuity of reading and be of value to vision protection, relieving eye strain in the environment rocking.
Terminal in the embodiment of the present invention can realize based on computer system, and the control method of the display font shown in Fig. 2-Fig. 3 all can be realized in the terminal based on computer system.Fig. 4 shows the embodiment of the terminal realizing based on computer system.Terminal in the present embodiment can comprise: processor 401, storer 402, communication interface 403, sensor 404 and display screen 405.Storer 402 is for program code stored.Processor 401 is for the program code of execute store 402 storages.In the embodiment of the present invention, storer 402 stores the first program code, and processor 401 is for carrying out this first program code, comprises and carries out following operation: obtain terminal current rock parameter; Whether what the terminal that gets described in judgement was current rock parameter meets the default parameter threshold that rocks; If so, according to the described default display font size of rocking parameter threshold adjusting terminal.Communication interface 403, for external device communication.Sensor 404 is for detection of the parameter of rocking of terminal, and wherein, sensor can comprise gyroscope or Shock inductor.The data that display screen 405 sends for video-stream processor 401.Wherein, the parameter of rocking of the terminal that processor 401 detects sensor 404 according to the program code in storer 402 is processed, and corresponding data are sent to display screen 405.Processor 401 can be central processing unit (central processing unit, CPU), special IC (application-specific integrated circuit, ASIC) etc.Wherein, the terminal in the present embodiment can comprise bus 406.Between processor 401, storer 402, sensor 404, display screen 405 and communication interface 403, can connect and communicate by letter by bus 406.Wherein, storer 402 can comprise: random access memory (random access memory, RAM), and ROM (read-only memory) (read-only memory, ROM), disks etc. have the entity of memory function.Default in the embodiment of the present invention rocks parameter threshold and can be buffered in RAM.
Terminal in the embodiment of the present invention can regulate according to the concrete situation of rocking the display font size of terminal, has guaranteed the continuity of reading and be of value to vision protection, relieving eye strain in the environment rocking.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize with hardware, or firmware realization, or their array mode realizes.In the time using software to realize, one or more instructions or the code that above-mentioned functions can be stored in computer-readable medium or on computer-readable medium transmit.Computer-readable medium comprises computer-readable storage medium and communication media, and wherein communication media comprises any medium of being convenient to transmit from a place to another place computer program.Storage medium can be any usable medium that computing machine can access.As example but be not limited to: computer-readable medium can comprise RAM, ROM, EEPROM, CD-ROM or other optical disc storage, magnetic disk storage medium or other magnetic storage apparatus or can be used in carry or store the expectation with instruction or data structure form program code and can be by any other medium of computer access.In addition.Any connection can be suitable become computer-readable medium.For example, if software be use concentric cable, optical fiber cable, twisted-pair feeder, Digital Subscriber Line (DSL) or the wireless technology such as infrared ray, radio and microwave from website, server or the transmission of other remote source, so concentric cable, optical fiber cable, twisted-pair feeder, DSL or the wireless technology such as infrared ray, wireless and microwave be included under in the photographic fixing of medium.As used in the present invention, dish (Disk) and dish (disc) comprise compression laser disc (CD), laser dish, laser disc, digital universal laser disc (DVD), floppy disk and Blu-ray Disc, the copy data of the common magnetic of its mid-game, dish carrys out the copy data of optics with laser.Within combination above also should be included in the protection domain of computer-readable medium.
Above disclosed is only preferred embodiment of the present invention, certainly can not limit with this interest field of the present invention, and the equivalent variations of therefore doing according to the claims in the present invention, still belongs to the scope that the present invention is contained.

Claims (12)

1. a control method for display font, is characterized in that, described method comprises:
Obtain terminal current rock parameter;
Whether what the terminal that gets described in judgement was current rock parameter meets the default parameter threshold that rocks;
If so, according to the described default display font size of rocking parameter threshold adjusting terminal.
2. method according to claim 1, is characterized in that, described in obtain current the rocking before parameter of terminal and also comprise:
Determine that current scene is for reading scene.
3. method according to claim 1, is characterized in that, describedly regulates the display font size of terminal to comprise according to the described default parameter threshold that rocks:
The display font size of terminal is adjusted into described default the first default display font size that parameter threshold is corresponding of rocking.
4. method according to claim 1, is characterized in that, described according to comprising after the described default display font size of rocking parameter threshold adjusting terminal:
Again obtain terminal current rock parameter;
Whether what the terminal that again gets described in judgement was current rock parameter meets the default parameter threshold that rocks;
If not, by the display font size adjustment of terminal be the second display font size of presetting.
5. according to the method described in claim 1 to 4, it is characterized in that, described in rock parameter and comprise: rock angle, rock size, one or more in jitter time, slosh frequency.
6. according to the method described in claim 1 to 4, it is characterized in that, described in obtain the current parameter of rocking of terminal and comprise:
By sensor obtain terminal current rock parameter, described sensor comprises gyroscope or Shock inductor.
7. a terminal, is characterized in that, described terminal comprises:
Acquisition module, for obtain terminal current rock parameter;
Judge module, for current the rocking parameter and whether meet the default parameter threshold that rocks of the terminal that gets described in judging;
Adjustment module, for when the judged result of described judge module is when being, according to described default display font size of rocking parameter threshold and regulate terminal.
8. terminal according to claim 7, is characterized in that, described terminal also comprises:
Scene determination module, for determining that current scene is for reading scene.
9. terminal according to claim 7, is characterized in that, described adjustment module regulates the display font size of terminal to be according to the described default parameter threshold that rocks:
The display font size of terminal is adjusted into described default the first default display font size that parameter threshold is corresponding of rocking.
10. terminal according to claim 7, is characterized in that, described judge module also for when again get terminal current rock parameter time, whether what the terminal that again gets described in judgement was current rock parameter meets the default parameter threshold that rocks;
Described terminal also comprises:
Recovery module, for not meeting defaultly while rocking parameter threshold when the current parameter of rocking of the terminal again getting described in described judge module determines, is the second display font size of presetting by the display font size adjustment of terminal.
11. according to the terminal described in claim 7 to 10, it is characterized in that, described in rock parameter and comprise: rock angle, rock size, one or more in jitter time, slosh frequency.
12. according to the terminal described in claim 7 to 10, it is characterized in that, described acquisition module obtains the current parameter of rocking of terminal and is:
By sensor obtain terminal current rock parameter, described sensor comprises gyroscope or Shock inductor.
CN201310117754.0A 2013-04-07 2013-04-07 Display font adjusting method and terminal Pending CN104103258A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310117754.0A CN104103258A (en) 2013-04-07 2013-04-07 Display font adjusting method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310117754.0A CN104103258A (en) 2013-04-07 2013-04-07 Display font adjusting method and terminal

Publications (1)

Publication Number Publication Date
CN104103258A true CN104103258A (en) 2014-10-15

Family

ID=51671351

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310117754.0A Pending CN104103258A (en) 2013-04-07 2013-04-07 Display font adjusting method and terminal

Country Status (1)

Country Link
CN (1) CN104103258A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104808793A (en) * 2015-04-21 2015-07-29 广东欧珀移动通信有限公司 Method and device for adjusting fonts of electronic book and mobile terminal
CN105245814A (en) * 2015-10-29 2016-01-13 天脉聚源(北京)科技有限公司 Method and device for recording multimedia data
CN105630167A (en) * 2015-12-24 2016-06-01 浙江吉利控股集团有限公司 Self-adaptive screen regulation method, self-adaptive screen regulation device and terminal device
CN106371713A (en) * 2015-07-23 2017-02-01 环达电脑(上海)有限公司 Automatic regulation device and method of display picture of mobile electronic equipment
CN106527913A (en) * 2016-11-22 2017-03-22 广东小天才科技有限公司 Display adjusting method and device of mobile device
CN106648352A (en) * 2016-10-19 2017-05-10 珠海格力电器股份有限公司 Information processing method and device and electronic device
CN108628517A (en) * 2017-03-22 2018-10-09 中国航天员科研训练中心 Adaptive display method, touch device and the smart machine of touch screen

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070206015A1 (en) * 2006-03-06 2007-09-06 Brian Gonsalves Methods and apparatus for convenient change of display characters on a handheld device
CN101587704A (en) * 2008-05-20 2009-11-25 鸿富锦精密工业(深圳)有限公司 Portable video unit and method for adjusting display font size thereof
US20090305199A1 (en) * 2002-04-18 2009-12-10 Andrew Chepaitis Dynamic tactile and low vision fonts
CN101645970A (en) * 2009-05-15 2010-02-10 上海闻泰电子科技有限公司 Method and device for adjusting test font size of mobile terminal
CN102541254A (en) * 2010-12-31 2012-07-04 联想移动通信科技有限公司 Method and device for adjusting text display manner, and mobile terminal
CN103176694A (en) * 2013-03-05 2013-06-26 广东欧珀移动通信有限公司 Mobile terminal font automatic regulation method and device
CN103324378A (en) * 2012-03-22 2013-09-25 富泰华工业(深圳)有限公司 Font-size dynamic adjustment system and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090305199A1 (en) * 2002-04-18 2009-12-10 Andrew Chepaitis Dynamic tactile and low vision fonts
US20070206015A1 (en) * 2006-03-06 2007-09-06 Brian Gonsalves Methods and apparatus for convenient change of display characters on a handheld device
CN101587704A (en) * 2008-05-20 2009-11-25 鸿富锦精密工业(深圳)有限公司 Portable video unit and method for adjusting display font size thereof
CN101645970A (en) * 2009-05-15 2010-02-10 上海闻泰电子科技有限公司 Method and device for adjusting test font size of mobile terminal
CN102541254A (en) * 2010-12-31 2012-07-04 联想移动通信科技有限公司 Method and device for adjusting text display manner, and mobile terminal
CN103324378A (en) * 2012-03-22 2013-09-25 富泰华工业(深圳)有限公司 Font-size dynamic adjustment system and method
CN103176694A (en) * 2013-03-05 2013-06-26 广东欧珀移动通信有限公司 Mobile terminal font automatic regulation method and device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104808793A (en) * 2015-04-21 2015-07-29 广东欧珀移动通信有限公司 Method and device for adjusting fonts of electronic book and mobile terminal
CN104808793B (en) * 2015-04-21 2017-08-25 广东欧珀移动通信有限公司 Adjust the method, device and mobile terminal of e-book font
CN106371713A (en) * 2015-07-23 2017-02-01 环达电脑(上海)有限公司 Automatic regulation device and method of display picture of mobile electronic equipment
CN105245814A (en) * 2015-10-29 2016-01-13 天脉聚源(北京)科技有限公司 Method and device for recording multimedia data
CN105245814B (en) * 2015-10-29 2019-04-12 天脉聚源(北京)科技有限公司 A kind of method and device of recording multi-media data
CN105630167A (en) * 2015-12-24 2016-06-01 浙江吉利控股集团有限公司 Self-adaptive screen regulation method, self-adaptive screen regulation device and terminal device
CN105630167B (en) * 2015-12-24 2019-01-29 浙江吉利控股集团有限公司 Screen self-adapting regulation method, screen self-adapting adjusting apparatus and terminal device
CN106648352A (en) * 2016-10-19 2017-05-10 珠海格力电器股份有限公司 Information processing method and device and electronic device
CN106527913A (en) * 2016-11-22 2017-03-22 广东小天才科技有限公司 Display adjusting method and device of mobile device
CN108628517A (en) * 2017-03-22 2018-10-09 中国航天员科研训练中心 Adaptive display method, touch device and the smart machine of touch screen

Similar Documents

Publication Publication Date Title
CN104103258A (en) Display font adjusting method and terminal
US8952987B2 (en) User interface elements augmented with force detection
US8704767B2 (en) Environmental gesture recognition
US11297477B2 (en) Tethering distribution apparatus, control method thereof, and central mediator
US8669937B2 (en) Information processing apparatus and computer-readable medium
US20120284671A1 (en) Systems and methods for interface mangement
CN111159604A (en) Picture resource loading method and device
CN104780311A (en) Terminal control method
CN105353942A (en) Information output method and terminal
CN110990341A (en) Method, device, electronic equipment and medium for clearing data
US20200356112A1 (en) Gimbal control method and device
CN111553050A (en) Structure checking method and device of automobile steering system and storage medium
CN109302563B (en) Anti-shake processing method and device, storage medium and mobile terminal
US11669192B2 (en) Electronic device for processing input event and method of operating same
CN110769120A (en) Method, device, equipment and storage medium for message reminding
CN112424744A (en) Electronic device and volume adjusting method of electronic device
CN111597797A (en) Method, device, equipment and medium for editing social circle message
CN112513803A (en) Electronic device for controlling display of virtual input interface in environment of multiple output screens and method of operating the same
US11567532B2 (en) Method for providing screen using foldable display and electronic device for supporting same
CN115344537A (en) Storage space allocation method and device, file system and storage medium
CN110399688B (en) Method and device for determining environment working condition of automatic driving and storage medium
CN104603862A (en) Method of enhancing moving graphical elements
CN111263084B (en) Video-based gesture jitter detection method, device, terminal and medium
CN108958816B (en) Initialization method, device and electronic device
CN112905280A (en) Page display method, device, equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20141015

WD01 Invention patent application deemed withdrawn after publication