CN105975447A - Font adjustment method and apparatus - Google Patents

Font adjustment method and apparatus Download PDF

Info

Publication number
CN105975447A
CN105975447A CN201610274526.8A CN201610274526A CN105975447A CN 105975447 A CN105975447 A CN 105975447A CN 201610274526 A CN201610274526 A CN 201610274526A CN 105975447 A CN105975447 A CN 105975447A
Authority
CN
China
Prior art keywords
parameter
font
intelligent terminal
current
current brightness
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
CN201610274526.8A
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.)
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology Beijing Co Ltd
Original Assignee
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology Beijing 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 LeTV Holding Beijing Co Ltd, LeTV Mobile Intelligent Information Technology Beijing Co Ltd filed Critical LeTV Holding Beijing Co Ltd
Priority to CN201610274526.8A priority Critical patent/CN105975447A/en
Publication of CN105975447A publication Critical patent/CN105975447A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/109Font handling; Temporal or kinetic typography

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

Embodiments of the invention provide a font adjustment method and apparatus. The method specifically comprises the steps of acquiring a current brightness parameter of a corresponding display apparatus of an intelligent terminal; obtaining a first font parameter matched with the current brightness parameter; and adjusting a font parameter of the intelligent terminal to the first font parameter. According to the embodiments of the method and apparatus, a current application, running in a foreground, of the intelligent terminal can be prevented from being disturbed, so that the running stability and continuity of the application in the intelligent terminal can be enhanced and the user experience can be improved.

Description

A kind of font method of adjustment and device
Technical field
The present embodiments relate to electronic technology field, particularly relate to a kind of font method of adjustment and device.
Background technology
Along with the development of communication technology, the intelligent terminal such as smart mobile phone, panel computer is the most commonly used In the webpage that surfs the web, reading electronic book, object for appreciation game, mobile office etc., its sharpest edges are User can be free from time and space restrictions, by bus, wait for bus or free time can be carried out, This life style meeting modern and reading requirement.
Current intelligent terminal does not the most possess the function being adaptively adjusted display font.Such that Make for same user, the most also can there is different demands in it to display font, because of This, in existing scheme, user needs the demand according to self, manually during using intelligent terminal Ground adjusts display font.
But, in actual applications, when eyes are felt uncomfortable, user is required for manually adjusting Display font, operation extremely inconvenience, therefore have impact on the regulated efficiency of display font, and, impact The experience of user.
Summary of the invention
The embodiment of the present invention provides a kind of font method of adjustment and device, manual in order to solve in existing scheme Adjust the technical problem that convenience is poor and regulated efficiency is low that display font brings, it is possible to avoid bothering intelligence The current application of the front stage operation of energy terminal, therefore, it is possible to improve the stability applying operation in intelligent terminal And continuity such that it is able to improve the experience of user.
The embodiment of the present invention provides a kind of font method of adjustment, including:
Gather the current brightness parameter of intelligent terminal's correspondence display device;
Obtain first font parameter suitable with described current brightness parameter;
The font parameter of described intelligent terminal is adjusted to described first font parameter.
Alternatively, the step of the current font parameter that described acquisition is suitable with described current brightness parameter, Including:
According to described current brightness parameter, the mapping between the luminance parameter pre-build and font parameter Relation makes a look up, to obtain the current font parameter suitable with described current brightness parameter.
Alternatively, the mapping relations between described luminance parameter and font parameter are set up as follows:
Obtain the font parameter initial value that described luminance parameter is corresponding;
According to user for the feedback information of described font parameter initial value, obtain described luminance parameter corresponding Font parameter currency.
Alternatively, described method also includes:
Gather the intensive parameter of described intelligent terminal's local environment light;
When the intensive parameter of described ambient light meets prerequisite, it is judged that the intensive parameter of described ambient light Whether mate with described current brightness parameter;
When the intensive parameter of described ambient light is not mated with described current brightness parameter, to described intelligence eventually The font parameter of end and/or the contrast of described display device are adjusted.
Alternatively, described method also includes:
Gather the current distance parameter between described intelligent terminal and user;
Obtain second font parameter suitable with described current brightness parameter and current distance parameter;
The font parameter of described intelligent terminal is adjusted to described second font parameter.
Alternatively, the second word that described acquisition is suitable with described current brightness parameter and current distance parameter The step of body parameter, including:
According to described current brightness parameter and current distance parameter, in the luminance parameter pre-build, distance Mapping relations between parameter and font parameter make a look up, with obtain with described current brightness parameter and The current font parameter that current distance parameter is suitable.
On the other hand, the embodiment of the present invention provides a kind of font adjusting apparatus, including:
First acquisition module, for gathering the current brightness parameter of intelligent terminal's correspondence display device;
First acquisition module, for obtaining first font parameter suitable with described current brightness parameter; And
First adjusting module, for being adjusted to described first font ginseng by the font parameter of described intelligent terminal Number.
Alternatively, described first acquisition module, including:
First searches submodule, for according to described current brightness parameter, at the luminance parameter pre-build And the mapping relations between font parameter make a look up, suitable with described current brightness parameter to obtain Current font parameter.
Alternatively, described device also includes:
Set up module, for setting up the mapping relations between described luminance parameter and font parameter:
Wherein, described set up module, including:
First obtains submodule, for obtaining the font parameter initial value that described luminance parameter is corresponding;And
Second obtains submodule, is used for the foundation user feedback information for described font parameter initial value, Obtain the font parameter currency that described luminance parameter is corresponding.
Alternatively, described device also includes:
Second acquisition module, for gathering the intensive parameter of described intelligent terminal's local environment light;
Judge module, for when the intensive parameter of described ambient light meets prerequisite, it is judged that described ring Whether the intensive parameter of border light mates with described current brightness parameter;
Second adjusting module, for intensive parameter and the described current brightness parameter in described ambient light not Timing, is adjusted the font parameter of described intelligent terminal and/or the contrast of described display device.
Alternatively, described device also includes:
3rd acquisition module, for gathering the current distance parameter between described intelligent terminal and user;
Second acquisition module, suitable with described current brightness parameter and current distance parameter for obtaining Second font parameter;
3rd adjusting module, for being adjusted to described second font ginseng by the font parameter of described intelligent terminal Number.
Alternatively, described second acquisition module, including:
Second searches submodule, for according to described current brightness parameter and current distance parameter, in advance Mapping relations between luminance parameter, distance parameter and the font parameter set up make a look up, to obtain The current font parameter suitable with described current brightness parameter and current distance parameter.
The font method of adjustment of embodiment of the present invention offer and device, can show according to intelligent terminal's correspondence The font parameter of intelligent terminal is adaptively adjusted by the current brightness parameter of showing device, therefore can Enough improve convenience and regulated efficiency that display font adjusts.Such as, in the case of dark, The commonly provided Night of intelligent terminal, has relatively low brightness relative to this Night of day mode The dazzling sense that parameter causes to avoid higher brightness, and the embodiment of the present invention can be according to mould at this at night The font parameters such as the font size of intelligent terminal, font color are carried out by current brightness parameter corresponding to formula Be adaptively adjusted, for example, it is possible to font size is tuned up, or, font color is adjusted to green, Redness waits brighter color etc., therefore can alleviate the feeling of fatigue of eyes to a certain extent.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that under, Accompanying drawing during face describes is some embodiments of the present invention, for those of ordinary skill in the art, On the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 shows the flow chart of steps of a kind of font method of adjustment embodiment one of the present invention;
Fig. 2 shows the flow chart of steps of a kind of font method of adjustment embodiment two of the present invention;
Fig. 3 shows the flow chart of steps of a kind of font method of adjustment embodiment three of the present invention;
Fig. 4 shows the structured flowchart of a kind of font adjusting apparatus embodiment one of the present invention;
Fig. 5 shows the structured flowchart of a kind of font adjusting apparatus embodiment two of the present invention;And
Fig. 6 shows the structured flowchart of a kind of font adjusting apparatus embodiment three of the present invention.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with this Accompanying drawing in bright embodiment, is clearly and completely described the technical scheme in the embodiment of the present invention, Obviously, described embodiment is a part of embodiment of the present invention rather than whole embodiments.Based on Embodiment in the present invention, those of ordinary skill in the art are obtained under not making creative work premise The every other embodiment obtained, broadly falls into the scope of protection of the invention.
For existing scheme manually adjusting convenience difference that display font brings and regulated efficiency is low Technical problem, the embodiment of the present invention can be according to the current brightness parameter of intelligent terminal's correspondence display device The font parameter of intelligent terminal is adaptively adjusted, therefore, it is possible to improve what display font adjusted Convenience and regulated efficiency.
Embodiment of the method one
With reference to Fig. 1, it is shown that the flow chart of steps of a kind of font method of adjustment embodiment one of the present invention, Specifically may include that
Step 101, the current brightness parameter of collection intelligent terminal's correspondence display device;
The font method of adjustment that the embodiment of the present invention provides can be applicable to the application that client and server is corresponding In environment, wherein, client and server may be located in wired or wireless network, wired by this or Wireless network, client and server carry out data interaction.
Specifically, client may operate on intelligent terminal, and above-mentioned intelligent terminal specifically includes but do not limits: Smart mobile phone, panel computer, E-book reader, MP3 (dynamic image expert's compression standard audio frequency aspect 3, Moving Picture Experts Group Audio Layer III) player, MP4 (dynamic image expert Compression standard audio frequency aspect 4, Moving Picture Experts Group Audio Layer IV) player, Pocket computer on knee, vehicle-mounted computer, desk computer, Set Top Box, intelligent TV set, wearable Equipment etc..
In the embodiment of the present invention, above-mentioned client can have the adjustment function of display font, should in reality In with, above-mentioned client can be module, assembly, service or the application program that operating system provides, Can also be the boarding program being hosted by host program, it will be understood that the embodiment of the present invention is for above-mentioned visitor The concrete applied environment of family end is not any limitation as.
In actual applications, the display device of above-mentioned intelligent terminal may include that touch screen, liquid crystal display screen, The display screens such as electronic ink screen, the embodiment of the present invention is not any limitation as concrete display device.
In actual applications, above-mentioned steps 101 can call intelligent terminal operating system provide first Preset interface, to gather the current brightness parameter of intelligent terminal's correspondence display device, such as, above-mentioned first Preset interface can be SDK (SDK, Software Development Kit), API (application programming interface, Application Programming Interface) etc., wherein, different Operating system can provide the first different preset interfaces, and the embodiment of the present invention is for concrete first preset The concrete mode of the current brightness parameter of interface and collection intelligent terminal's correspondence display device is not any limitation as.
In the embodiment of the present invention, the font of the embodiment of the present invention adjusts the triggering mode of flow process can be had multiple, Such as, when the preset application such as browse application or text reading application start, the present invention can be performed and implement The font of example adjusts flow process.And for example, input preset user by modes such as button, touch screen, voices Triggering command time, it is also possible to perform the embodiment of the present invention font adjust flow process.It is appreciated that this Bright embodiment adjusts flow process for concrete font and is not any limitation as.
Step 102, obtain first font parameter suitable with described current brightness parameter;
In a kind of alternative embodiment of the present invention, described acquisition is suitable with described current brightness parameter The step 102 of current font parameter, specifically may include that according to described current brightness parameter, in advance Set up luminance parameter and font parameter between mapping relations in make a look up, with obtain with described currently The current font parameter that luminance parameter is suitable.
In the another kind of alternative embodiment of the present invention, described luminance parameter can be set up as follows And the mapping relations between font parameter:
Step A1, obtain the font parameter initial value that described luminance parameter is corresponding;
Step A2, foundation user, for the feedback information of described font parameter initial value, obtain described brightness The font parameter currency that parameter is corresponding.
In actual applications, above-mentioned steps A1 can perform before intelligent terminal is dispatched from the factory, specifically, and can To obtain N number of user observation for various luminance parameters, and the observation of this N number of user is made even All corresponding to obtain described luminance parameter font parameter initial value, or, it is also possible to from this N number of user Observation in remove maximum and minima after average, the embodiment of the present invention is for font parameter The concrete acquisition process of initial value is not any limitation as;Wherein, N is the integer more than 0.
In implementing, above-mentioned steps A2 can be first depending on the font ginseng that described luminance parameter is corresponding Number initial value, is adjusted the font parameter of described intelligent terminal, and, it is also possible to font ginseng is provided The adjustment interface of number initial value, so that this font parameter initial value is adjusted by user, it is then possible to This font parameter initial value after adjusting is current as the font parameter that luminance parameter described above is corresponding Value.
Assume luminance parameter in the range of 1~100, font size parameter specifically includes: especially big, big or middle, Little, this every kind font size can corresponding certain font size, No. two words as big in especially big correspondence, big corresponding three Number word, middle corresponding No. four words, little corresponding No. five words, it is assumed that the font parameter of luminance parameter 20 correspondence is initial Value is big, then, when current brightness parameter is 20, can first the font size of described intelligent terminal be joined Number is adjusted to big, and provides corresponding adjustment interface, it is assumed that user passes through this adjustment interface by font size Parameter is especially big, then can be using current for the especially big font size parameter corresponding as luminance parameter described above Value.
It is appreciated that above-mentioned brightness range and various font size are intended only as application example, it practice, Those skilled in the art can be according to practical application request, the brightness range needed for employing and font size, Concrete brightness range and font size are not especially limited by the embodiment of the present invention.
In a kind of alternative embodiment of the present invention, it is interval that the embodiment of the present invention can also set up luminance parameter And the mapping relations between font parameter, then obtaining first word suitable with described current brightness parameter During body parameter, current brightness parameter can be mated with luminance parameter interval, to obtain Join successful luminance parameter interval correspondence font parameter.Wherein, luminance parameter is interval can be corresponding certain Brightness range, the embodiment of the present invention is not any limitation as concrete luminance parameter interval.
Step 103, the font parameter of described intelligent terminal is adjusted to described first font parameter.
In actual applications, above-mentioned steps 103 can call intelligent terminal operating system provide second Preset interface, is adjusted to described first font parameter with the font parameter by described intelligent terminal.Such as, Above-mentioned second preset interface can be SDK, API etc..Wherein, different operating system can provide not The second same preset interface, above-mentioned second preset interface can be used for entering the font parameter of described intelligent terminal Row sum-equal matrix.Specifically, intelligent terminal can be by calling upper strata for being configured font size ((Application Programming Interface, application programming interface) changes terminal demonstration to API Font size.Specifically, in Android system, this API is specifically as follows writeFontSizePreference()。
It is appreciated that the embodiment of the present invention is for the second concrete preset interface and by described intelligent terminal's Font parameter is adjusted to the concrete mode of described first font parameter and is not any limitation as.
In a kind of alternative embodiment of the present invention, in order to not affect the reading of user, by described intelligence Before the font parameter of terminal is adjusted to described first font parameter, said method can also include: inquiry Whether user is changed font parameter, and determines whether to carry out font parameter according to the selection of user Adjust.
To sum up, the embodiment of the present invention can be according to the current brightness parameter of intelligent terminal's correspondence display device The font parameter of intelligent terminal is adaptively adjusted, therefore, it is possible to improve what display font adjusted Convenience and regulated efficiency.
Such as, in a kind of application example 1 of the present invention, it is assumed that in the case of dark, intelligence The energy the commonly provided Night of terminal, has relatively low brightness ginseng relative to this Night of day mode Number is with the dazzling sense avoiding higher brightness to cause;And the embodiment of the present invention can be according to this Night Corresponding current brightness parameter the font parameters such as the font size of intelligent terminal, font color are carried out from Adaptively adjust, for example, it is possible to font size is tuned up, or, font color is adjusted to green, Redness waits brighter color etc., therefore can alleviate the feeling of fatigue of eyes to a certain extent.
And for example, in a kind of application example 2 of the present invention, it is assumed that in the case of light is brighter, intelligence The energy the commonly provided day mode of terminal, has higher brightness ginseng relative to this day mode of Night Number is with eyestrain sense avoiding relatively low brightness to cause;And the embodiment of the present invention can be according to this daytime The font parameters such as the font size of intelligent terminal, font color are entered by current brightness parameter corresponding to pattern Row is adaptively adjusted, for example, it is possible to font size is turned down, or, font color is adjusted to black The color etc. that color, Lycoperdon polymorphum Vitt etc. are dark, therefore can alleviate the feeling of fatigue of eyes to a certain extent.
Embodiment of the method two
With reference to Fig. 2, it is shown that the flow chart of steps of a kind of font method of adjustment embodiment two of the present invention, Specifically may include that
Step 201, the current brightness parameter of collection intelligent terminal's correspondence display device;
Step 202, gather the intensive parameter of described intelligent terminal's local environment light;
Step 203, when the intensive parameter of described ambient light meets prerequisite, it is judged that described ambient light Intensive parameter whether mate with described current brightness parameter;
Step 204, when the intensive parameter of described ambient light is not mated with described current brightness parameter, right The font parameter of described intelligent terminal and/or the contrast of described display device are adjusted.
In conventional art, intelligent terminal can provide the adjustment function of luminance parameter, such as, more and more User feel when the intensity of ambient light is higher, the font on screen can become unintelligible, it appears that meeting The most painstaking, then user can improve luminance parameter when the intensity of ambient light is higher.But, higher Luminance parameter easily increases the electric quantity consumption of intelligent terminal.
The problem easily increasing the electric quantity consumption of intelligent terminal for above-mentioned higher luminance parameter, this enforcement Example can meet prerequisite and the intensive parameter in described ambient light in the intensive parameter of described ambient light Font parameter and/or described display dress when not mating with described current brightness parameter, to described intelligent terminal The contrast put is adjusted;Owing to the present embodiment can not change the luminance parameter of screen, therefore can be While improving the display effect of intelligent terminal, reduce the electric quantity consumption of intelligent terminal.
In actual applications, it is possible to use optical sensor integrated in intelligent terminal gathers described intelligence eventually The intensive parameter of end local environment light.Wherein, above-mentioned optical sensor can be by built-in light sensitive diode Ambient light is acquired, luminous energy is converted into electric energy simultaneously, forms certain electric current, be then passed through putting Big device amplifies, and the resistance two ends on loop of the electric current after amplification form voltage.The light meeting of varying strength There is different electric currents, thus export different magnitudes of voltage, embody ambient light by obtaining this magnitude of voltage Intensity.Further, the comparison of follow-up magnitude of voltage, can pass through ADC (analog digital conversion, Analog-to-digital converter) detecting system to input magnitude of voltage sample and quantify.
In the embodiment of the present invention, above-mentioned prerequisite can be used for represent ambient light intensity higher to such an extent as to need The strength condition of luminance parameter to be improved, in such cases, the embodiment of the present invention may determine that described environment Whether the intensive parameter of light mates with described current brightness parameter, if coupling, then current brightness parameter is described For the luminance parameter of customer acceptance, therefore can not perform corresponding with improving brightness to process operation, if not Coupling, then explanation current brightness parameter is not the luminance parameter of customer acceptance, therefore can perform and improve Brightness processes operation accordingly, that is, can replace with the adjustment operation of font parameter and/or contrast State the operation improving brightness, such that it is able to save the electric quantity consumption of intelligent terminal.
In a kind of alternative embodiment of the present invention, the method for the present embodiment can also include: judges environment Whether the intensive parameter of light meets prerequisite;
Wherein, the above-mentioned step judging whether the intensive parameter of ambient light meets prerequisite is the most permissible Including:
The intensity of ambient light described in step B1, comparison and the span preset;
Step B2, judge according to comparative result whether the intensive parameter of ambient light meets prerequisite.
Wherein, the comparison of step B1 can be completed by the baseband processing unit of intelligent terminal, can in advance by Magnitude of voltage is divided into different intervals or sets different threshold values to represent different light intensities, when comparing, It needs to be determined which interval the magnitude of voltage corresponding to current ambient light falls on earth.
Concrete, owing to the intensity of ambient light is directly proportional to magnitude of voltage, corresponding magnitude of voltage is the highest, represents The intensity of the ambient light recorded is the biggest.When the intensity of ambient light is in the normal interval set, typically it is not required to Regulation display can meet the needs of user, and when the intensity of ambient light is too strong or crosses weak, now needs Judge whether that the situation changing display is to meet user's display for intelligent terminal in conjunction with current brightness parameter Need clearly.
It is appreciated that above-mentioned normal interval can be set by user oneself, it is assumed that normal interval use (X1, X2) this interval represents, if user X1 is set as intensity maximum (for example with 0 to Numeral between 5 represents light intensity value, and the biggest then intensity of numeral is the biggest, and now 5 is maximum), now intelligence Terminal can will not meet prerequisite in the case of light intensity value higher than normal interval (i.e. high light);If used X2 is set as 0 by family, and now intelligent terminal only meets prerequisite in the case of high light, and at light Prerequisite is not met by force less than in the case of normal interval (i.e. light intensity is more weak).Visible, on setting Stating the endpoint value of normal interval, user can set the adaptation function of intelligent terminal at high light or the low light level In the case of start.
In a kind of alternative embodiment of the present invention, the intensive parameter of the described ambient light of above-mentioned judgement is with described The step whether current brightness parameter mates, specifically may include that according to the ambient light that pre-builds is strong Degree parameter and luminance parameter between mapping relations, it is judged that the intensive parameter of described ambient light with described currently Whether luminance parameter mates, specifically, it can be determined that the intensive parameter of described ambient light is the brightest with described Degree parameter whether in the same data record that above-mentioned mapping relations are corresponding, the most then may determine that the two Coupling, otherwise, it can be determined that the two does not mates.Wherein, if the two does not mates, then can illustrate to change Become the situation of display to meet user's display needs clearly for intelligent terminal.
In actual applications, the above-mentioned font parameter to described intelligent terminal and/or described display device is right The process being adjusted than degree specifically may include that increase font parameter that described intelligent terminal show with/ Or Display Contrast.It should be noted that whether font parameter here includes the size of font, font Overstriking, the depth etc. of font color.Increase font parameter and be meant that the font increasing display, or right Font carries out overstriking.Regulation font parameter or regulation Display Contrast can select one, or both are same Shi Zhihang, can select flexibly according to practical application request.
In a kind of application example 3 of the present invention, it is assumed that intelligent terminal changes to high noon 12 from indoor environment The high light outdoor environment of point, conventional art can improve the luminance parameter of display device in this case, and The embodiment of the present invention can not meet prerequisite and described ring in the intensive parameter determining described ambient light After the intensive parameter of border light is not mated with described current brightness parameter, increase the font ginseng of described intelligent terminal Several and/or the contrast of described display device, therefore, it is possible to improving display effect same of intelligent terminal Time, reduce the electric quantity consumption of intelligent terminal.
Embodiment of the method three
With reference to Fig. 3, it is shown that the flow chart of steps of a kind of font method of adjustment embodiment three of the present invention, Specifically may include that
Step 301, the current brightness parameter of collection intelligent terminal's correspondence display device;
Step 302, the current distance parameter gathered between described intelligent terminal and user;
Step 303, obtain second font suitable with described current brightness parameter and current distance parameter Parameter;
Step 304, the font parameter of described intelligent terminal is adjusted to described second font parameter.
Use the present embodiment, intelligence can be adjusted in real time according to current brightness parameter and current distance parameter The font parameter of terminal, the automatization that can not only realize font parameter adjusts, and can improve user Reading experience, and the degree of fatigue of eyes can be alleviated.
In actual applications, current distance parameter can be intelligent terminal and be currently in use or operate this intelligence Vertical dimension between the user of terminal, this vertical dimension can be that user currently puts shape with intelligent terminal Distance between the vertical component of state, when intelligent terminal is in heeling condition, it puts the vertical of form Component is component perpendicular to the ground, and horizontal component is the component with ground level.
In a kind of alternative embodiment of the present invention, current distance parameter can be by the upper peace of this intelligent terminal The range sensor of dress obtains.Specifically, this range sensor can be proximity transducer, and this is close to passing The operation principle of sensor can be: by infrared LED (light emitting diode, the Light of proximity transducer EmittingDiode) launch specific wavelength infrared light, have object near time, infrared LED launch Light is reflected by the object, and the receptor of proximity transducer can be according to the intensity of the light received and wavelength Detect the distance between object, then optical signal is converted into data, after whole detection terminates, meter The data calculated are by the depositor being placed on proximity transducer;Can be by regulating the transmitting of infrared LED Power changes the identification ability of terminal and the distance of object: power is the biggest, close to the response of sensing capability Distance is the most remote;The intensity that can also receive light by changing receptor regulates terminal and object distance Identification ability.
It is appreciated that the mode above by infrared light collection distance parameter is intended only as example, it practice, Current distance parameter can also collect by the way of laser ranging or ultrasonic ranging;Wherein, when When obtaining distance parameter by laser ranging, need a laser ranging system, root are installed on intelligent terminal According to the distance parameter sent between laser and the time difference calculating user and the intelligent terminal that receive reflection light; When obtaining distance parameter by ultrasonic ranging, need to install supersonic range finder on intelligent terminal, User is calculated with intelligence eventually according to the time difference sending ultrasound wave and receive the ultrasound wave returned by barrier Distance parameter between end.
In a kind of alternative embodiment of the present invention, described acquisition and described current brightness parameter and current away from From the step 303 of suitable the second font parameter of parameter, specifically may include that according to described the brightest Degree parameter and current distance parameter, between the luminance parameter pre-build, distance parameter and font parameter Mapping relations in make a look up, suitable with described current brightness parameter and current distance parameter to obtain Current font parameter.
In the another kind of alternative embodiment of the present invention, can set up as follows described luminance parameter, Mapping relations between distance parameter and font parameter:
Step C1, obtain the font parameter initial value that described luminance parameter is corresponding with distance parameter;
Step C2, foundation user, for the feedback information of described font parameter initial value, obtain described brightness The font parameter currency that parameter is corresponding with distance parameter.
In actual applications, above-mentioned steps C1 can perform before intelligent terminal is dispatched from the factory, specifically, permissible Obtain N number of user for various luminance parameters and the observation of distance parameter, and the sight to this N number of user Measured value is averaged to obtain the font parameter initial value that described luminance parameter is corresponding with distance parameter, or, Can also average after removing maximum and minima from the observation of this N number of user, the present invention Embodiment is not any limitation as the concrete acquisition process of font parameter initial value.
In implementing, it is corresponding with distance parameter that above-mentioned steps C2 can be first depending on described luminance parameter Font parameter initial value, the font parameter of described intelligent terminal is adjusted, and, it is also possible to carry For the adjustment interface of font parameter initial value, so that this font parameter initial value is adjusted, so by user After, can be using this font parameter initial value after adjusting as luminance parameter described above and distance parameter pair The font parameter currency answered.
It is appreciated that between luminance parameter, distance parameter and the font parameter that above-mentioned foundation pre-builds Mapping relations, obtain second font parameter suitable with described current brightness parameter and current distance parameter Process be intended only as example, it practice, in other embodiments of the invention, it is also possible to foundation respectively Between the first mapping relations and distance parameter and font parameter between luminance parameter and font parameter Second mapping relations, obtain second font suitable with described current brightness parameter and current distance parameter Parameter;Specifically, it is assumed that the font parameter obtained by the first mapping relations is P1, map by second The font parameter that relation obtains is P2, then when the absolute difference of P1 Yu P2 is less than threshold value, by P1 It is the second font threshold value with the average of P2, when the absolute difference of P1 Yu P2 is more than threshold value, can not Font parameter is adjusted.
In a kind of alternative embodiment of the present invention, it is interval that the embodiment of the present invention can also set up distance parameter And the 3rd mapping relations between font parameter, then obtaining the word suitable with described current distance parameter During body parameter, current distance parameter can be mated with distance parameter interval, to obtain Join successful distance parameter interval correspondence font parameter.Wherein, distance parameter is interval can be corresponding certain Distance range, the embodiment of the present invention is not any limitation as concrete distance parameter interval.
In a kind of application example of the present invention, in above-mentioned 3rd mapping relations, can preserve multiple away from From parameter interval and the corresponding relation of the font size of its correspondence, such as, the plurality of distance parameter is interval Can be first interval a, b}, second interval b, c}, the 3rd interval c, d} and the 4th interval (d, E), a > b > c > d, each distance parameter interval may include that first with the corresponding of font size Interval corresponding especially big, second is interval corresponding big, and in the 3rd interval correspondence, the 4th is interval corresponding little.Preferably Ground, the reading of user for convenience, distance parameter is the biggest, then the font size of its correspondence is the biggest.
The font parameter suitable with described current distance parameter is being obtained according to above-mentioned 3rd mapping relations During, when the distance of intelligent terminal and user is when the 4th is interval, and the 4th interval corresponding font is big Little for little;When the distance of intelligent terminal and user is when the 3rd is interval, and the 3rd interval corresponding font is big Little it is;When the distance of intelligent terminal and user is when second is interval, and this second interval corresponding font is big Little is big;When the distance of intelligent terminal and user is when first is interval, and this first interval corresponding font is big Little for especially big, can see clearly as allowing user when with the distance of intelligent terminal the most a little further.
In a kind of application example 4 of the present invention, it is assumed that intelligent terminal is in Night therefore the brightest Degree parameter is relatively low, then the embodiment of the present invention can be according to current brightness parameter pair corresponding to this Night The font parameters such as the font size of intelligent terminal, font color are adaptively adjusted, such as, and can So that font size is tuned up, or, font color is adjusted to the color etc. that green, redness etc. are brighter, Therefore the feeling of fatigue of eyes can be alleviated to a certain extent.Further, in such cases, user's recumbency Grip intelligent terminal to browse the content on intelligent terminal, it is assumed that gripping action determine intelligent terminal with During the distance of user near time remote, then when the distance of intelligent terminal Yu user is near, then can suitably turn down Font size, and, when the distance of intelligent terminal Yu user is remote, then can suitably tune up font big Little.
It should be noted that for embodiment of the method, in order to be briefly described, therefore it is all expressed as one it be The combination of actions of row, but those skilled in the art should know, and the embodiment of the present invention is not by described The restriction of sequence of movement because according to the embodiment of the present invention, some step can use other orders or Person is carried out simultaneously.Secondly, those skilled in the art also should know, embodiment described in this description Belong to preferred embodiment, necessary to the involved action not necessarily embodiment of the present invention.
Device embodiment one
With reference to Fig. 4, it is shown that the structured flowchart of a kind of font device embodiment one of the present invention, specifically may be used To include:
First acquisition module 401, for gathering the current brightness parameter of intelligent terminal's correspondence display device;
First acquisition module 402, for obtaining the first font ginseng suitable with described current brightness parameter Number;And
First adjusting module 403, for being adjusted to described first word by the font parameter of described intelligent terminal Body parameter.
In a kind of alternative embodiment of the present invention, described first acquisition module 402, specifically may include that
First searches submodule, for according to described current brightness parameter, at the luminance parameter pre-build And the mapping relations between font parameter make a look up, suitable with described current brightness parameter to obtain Current font parameter.
In the another kind of alternative embodiment of the present invention, described device can also include:
Set up module, for setting up the mapping relations between described luminance parameter and font parameter:
Wherein, described set up module, specifically may include that
First obtains submodule, for obtaining the font parameter initial value that described luminance parameter is corresponding;And
Second obtains submodule, is used for the foundation user feedback information for described font parameter initial value, Obtain the font parameter currency that described luminance parameter is corresponding.
Device embodiment two
With reference to Fig. 5, it is shown that the structured flowchart of a kind of font adjusting apparatus embodiment two of the present invention, tool Body may include that
First acquisition module 501, for gathering the current brightness parameter of intelligent terminal's correspondence display device;
Second acquisition module 502, for gathering the intensive parameter of described intelligent terminal's local environment light;
Judge module 503, for when the intensive parameter of described ambient light meets prerequisite, it is judged that institute Whether the intensive parameter stating ambient light mates with described current brightness parameter;And
Second adjusting module 504, for intensive parameter and described current brightness parameter in described ambient light When not mating, the font parameter of described intelligent terminal and/or the contrast of described display device are adjusted Whole.
Device embodiment three
With reference to Fig. 6, it is shown that the structured flowchart of a kind of font adjusting apparatus embodiment three of the present invention, tool Body may include that
First acquisition module 601, for gathering the current brightness parameter of intelligent terminal's correspondence display device;
3rd acquisition module 602, for gathering the current distance parameter between described intelligent terminal and user;
Second acquisition module 603, fits with described current brightness parameter and current distance parameter mutually for obtaining The second font parameter joined;And
3rd adjusting module 604, for being adjusted to described second word by the font parameter of described intelligent terminal Body parameter.
In a kind of alternative embodiment of the present invention, described second acquisition module 603, specifically may include that
Second searches submodule, for according to described current brightness parameter and current distance parameter, in advance Mapping relations between luminance parameter, distance parameter and the font parameter set up make a look up, to obtain The current font parameter suitable with described current brightness parameter and current distance parameter.
For device embodiment, due to itself and embodiment of the method basic simlarity, so the comparison described Simply, relevant part sees the part of embodiment of the method and illustrates.
Device embodiment described above is only schematically, wherein said illustrates as separating component Unit can be or may not be physically separate, the parts shown as unit can be or Person may not be physical location, i.e. may be located at a place, or can also be distributed to multiple network On unit.Some or all of module therein can be selected according to the actual needs to realize the present embodiment The purpose of scheme.Those of ordinary skill in the art are not in the case of paying performing creative labour, the most permissible Understand and implement.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive each reality The mode of executing can add the mode of required general hardware platform by software and realize, naturally it is also possible to by firmly Part.Based on such understanding, the portion that prior art is contributed by technique scheme the most in other words Dividing and can embody with the form of software product, this computer software product can be stored in computer can Read in storage medium, such as ROM/RAM, magnetic disc, CD etc., including some instructions with so that one Computer equipment (can be personal computer, server, or the network equipment etc.) performs each to be implemented The method described in some part of example or embodiment.
Last it is noted that above example is only in order to illustrate technical scheme, rather than to it Limit;Although the present invention being described in detail with reference to previous embodiment, the ordinary skill of this area Personnel it is understood that the technical scheme described in foregoing embodiments still can be modified by it, or Person carries out equivalent to wherein portion of techniques feature;And these amendments or replacement, do not make corresponding skill The essence of art scheme departs from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (12)

1. a font method of adjustment, it is characterised in that including:
Gather the current brightness parameter of intelligent terminal's correspondence display device;
Obtain first font parameter suitable with described current brightness parameter;
The font parameter of described intelligent terminal is adjusted to described first font parameter.
Method the most according to claim 1, it is characterised in that described acquisition and described present intensity The step of the current font parameter that parameter is suitable, including:
According to described current brightness parameter, the mapping between the luminance parameter pre-build and font parameter Relation makes a look up, to obtain the current font parameter suitable with described current brightness parameter.
Method the most according to claim 2, it is characterised in that set up described bright as follows Mapping relations between degree parameter and font parameter:
Obtain the font parameter initial value that described luminance parameter is corresponding;
According to user for the feedback information of described font parameter initial value, obtain described luminance parameter corresponding Font parameter currency.
Method the most according to claim 1, it is characterised in that described method also includes:
Gather the intensive parameter of described intelligent terminal's local environment light;
When the intensive parameter of described ambient light meets prerequisite, it is judged that the intensive parameter of described ambient light Whether mate with described current brightness parameter;
When the intensive parameter of described ambient light is not mated with described current brightness parameter, to described intelligence eventually The font parameter of end and/or the contrast of described display device are adjusted.
Method the most according to claim 1, it is characterised in that described method also includes:
Gather the current distance parameter between described intelligent terminal and user;
Obtain second font parameter suitable with described current brightness parameter and current distance parameter;
The font parameter of described intelligent terminal is adjusted to described second font parameter.
Method the most according to claim 4, it is characterised in that described acquisition and described present intensity Parameter and the step of suitable the second font parameter of current distance parameter, including:
According to described current brightness parameter and current distance parameter, in the luminance parameter pre-build, distance Mapping relations between parameter and font parameter make a look up, with obtain with described current brightness parameter and The current font parameter that current distance parameter is suitable.
7. a font adjusting apparatus, it is characterised in that including:
First acquisition module, for gathering the current brightness parameter of intelligent terminal's correspondence display device;
First acquisition module, for obtaining first font parameter suitable with described current brightness parameter; And
First adjusting module, for being adjusted to described first font ginseng by the font parameter of described intelligent terminal Number.
Device the most according to claim 7, it is characterised in that described first acquisition module, including:
First searches submodule, for according to described current brightness parameter, at the luminance parameter pre-build And the mapping relations between font parameter make a look up, suitable with described current brightness parameter to obtain Current font parameter.
Device the most according to claim 8, it is characterised in that described device also includes:
Set up module, for setting up the mapping relations between described luminance parameter and font parameter:
Wherein, described set up module, including:
First obtains submodule, for obtaining the font parameter initial value that described luminance parameter is corresponding;And Second obtains submodule, is used for the foundation user feedback information for described font parameter initial value, Obtain the font parameter currency that described luminance parameter is corresponding.
Device the most according to claim 7, it is characterised in that described device also includes:
Second acquisition module, for gathering the intensive parameter of described intelligent terminal's local environment light;
Judge module, for when the intensive parameter of described ambient light meets prerequisite, it is judged that described ring Whether the intensive parameter of border light mates with described current brightness parameter;
Second adjusting module, for intensive parameter and the described current brightness parameter in described ambient light not Timing, is adjusted the font parameter of described intelligent terminal and/or the contrast of described display device.
11. devices according to claim 7, it is characterised in that described device also includes:
3rd acquisition module, for gathering the current distance parameter between described intelligent terminal and user;
Second acquisition module, suitable with described current brightness parameter and current distance parameter for obtaining Second font parameter;
3rd adjusting module, for being adjusted to described second font ginseng by the font parameter of described intelligent terminal Number.
12. devices according to claim 4, it is characterised in that described second acquisition module, bag Include:
Second searches submodule, for according to described current brightness parameter and current distance parameter, in advance Mapping relations between luminance parameter, distance parameter and the font parameter set up make a look up, to obtain The current font parameter suitable with described current brightness parameter and current distance parameter.
CN201610274526.8A 2016-04-27 2016-04-27 Font adjustment method and apparatus Pending CN105975447A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610274526.8A CN105975447A (en) 2016-04-27 2016-04-27 Font adjustment method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610274526.8A CN105975447A (en) 2016-04-27 2016-04-27 Font adjustment method and apparatus

Publications (1)

Publication Number Publication Date
CN105975447A true CN105975447A (en) 2016-09-28

Family

ID=56993346

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610274526.8A Pending CN105975447A (en) 2016-04-27 2016-04-27 Font adjustment method and apparatus

Country Status (1)

Country Link
CN (1) CN105975447A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107221304A (en) * 2017-06-09 2017-09-29 深圳市伊特利网络科技有限公司 terminal brightness control method and system
CN107547749A (en) * 2017-09-08 2018-01-05 深圳天珑无线科技有限公司 Word size adjusting method and device, terminal and computer-readable recording medium
CN109756788A (en) * 2017-11-03 2019-05-14 腾讯科技(深圳)有限公司 Video caption automatic adjusting method and device, terminal and readable storage medium storing program for executing
CN109840060A (en) * 2019-01-31 2019-06-04 维沃移动通信有限公司 A kind of display control method and terminal device
CN110716642A (en) * 2019-09-29 2020-01-21 上海连尚网络科技有限公司 Method and equipment for adjusting display interface
CN112020173A (en) * 2019-05-29 2020-12-01 广东小天才科技有限公司 Light adjusting method and intelligent desk lamp
CN112235911A (en) * 2019-06-26 2021-01-15 广东小天才科技有限公司 Font size-based light ray adjusting method and device, terminal device and medium
CN115638504A (en) * 2022-10-25 2023-01-24 珠海格力电器股份有限公司 Temperature controller control method and device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101951445A (en) * 2010-10-09 2011-01-19 华为终端有限公司 Adaptive adjusting terminal equipment and method
CN103700363A (en) * 2012-09-27 2014-04-02 文鼎科技开发股份有限公司 Font generation system for display and font generation method for display
CN103839534A (en) * 2012-11-27 2014-06-04 英业达科技有限公司 Font adjusting system and adjusting method
CN105630167A (en) * 2015-12-24 2016-06-01 浙江吉利控股集团有限公司 Self-adaptive screen regulation method, self-adaptive screen regulation device and terminal device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101951445A (en) * 2010-10-09 2011-01-19 华为终端有限公司 Adaptive adjusting terminal equipment and method
CN103700363A (en) * 2012-09-27 2014-04-02 文鼎科技开发股份有限公司 Font generation system for display and font generation method for display
CN103839534A (en) * 2012-11-27 2014-06-04 英业达科技有限公司 Font adjusting system and adjusting method
CN105630167A (en) * 2015-12-24 2016-06-01 浙江吉利控股集团有限公司 Self-adaptive screen regulation method, self-adaptive screen regulation device and terminal device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107221304A (en) * 2017-06-09 2017-09-29 深圳市伊特利网络科技有限公司 terminal brightness control method and system
CN107547749A (en) * 2017-09-08 2018-01-05 深圳天珑无线科技有限公司 Word size adjusting method and device, terminal and computer-readable recording medium
CN109756788A (en) * 2017-11-03 2019-05-14 腾讯科技(深圳)有限公司 Video caption automatic adjusting method and device, terminal and readable storage medium storing program for executing
CN109840060A (en) * 2019-01-31 2019-06-04 维沃移动通信有限公司 A kind of display control method and terminal device
WO2020156169A1 (en) * 2019-01-31 2020-08-06 维沃移动通信有限公司 Display control method and terminal device
CN112020173A (en) * 2019-05-29 2020-12-01 广东小天才科技有限公司 Light adjusting method and intelligent desk lamp
CN112235911A (en) * 2019-06-26 2021-01-15 广东小天才科技有限公司 Font size-based light ray adjusting method and device, terminal device and medium
CN110716642A (en) * 2019-09-29 2020-01-21 上海连尚网络科技有限公司 Method and equipment for adjusting display interface
CN110716642B (en) * 2019-09-29 2024-04-09 上海连尚网络科技有限公司 Method and equipment for adjusting display interface
CN115638504A (en) * 2022-10-25 2023-01-24 珠海格力电器股份有限公司 Temperature controller control method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN105975447A (en) Font adjustment method and apparatus
US9280206B2 (en) System and method for perceiving images with multimodal feedback
CN108520241B (en) Fingerprint acquisition method and device based on optical fingerprint technology and user terminal
CN103489412B (en) Transparent display and transparency adjustment method thereof
US20150293592A1 (en) Haptic information management method and electronic device supporting the same
WO2014022450A2 (en) Setting an operating-system color using a photograph
CN102402383A (en) Information processing device and information processing method
CN101477631B (en) Method, equipment for extracting target from image and human-machine interaction system
EP2799984A2 (en) Electronic device and icon arrangement method therefor
CN108021161A (en) Ambient light intensity detection method, device, storage medium and electronic equipment
CN104798104A (en) Gesture pre-processing of video stream using a markered region
CN102402382A (en) Information processing device and information processing method
CN110246110A (en) Image evaluation method, device and storage medium
US20230362293A1 (en) Method for Configuring Theme Color of Terminal Device, Apparatus, and Terminal Device
US10665005B2 (en) Data-based memorabilia product and method of making the same
CN104133632A (en) Portable terminal and method for protecting a displayed object
CN110826438B (en) Display method and electronic equipment
CN107277903A (en) Brightness adjusting method and mobile terminal
CN105549927A (en) Display method and terminal
CN114038370A (en) Display parameter adjusting method and device, storage medium and display equipment
US20180286089A1 (en) Electronic device and method for providing colorable content
CN114138215A (en) Display method and related equipment
CN113196730B (en) Visual effect providing method and electronic device using same
CN104391597B (en) A kind of pressure detection method and equipment
KR102539052B1 (en) Electronic device comprising rotating body and method for operation in the electronic device

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

WD01 Invention patent application deemed withdrawn after publication