CN105653505A - Method and device for regulating character display - Google Patents

Method and device for regulating character display Download PDF

Info

Publication number
CN105653505A
CN105653505A CN201510983253.XA CN201510983253A CN105653505A CN 105653505 A CN105653505 A CN 105653505A CN 201510983253 A CN201510983253 A CN 201510983253A CN 105653505 A CN105653505 A CN 105653505A
Authority
CN
China
Prior art keywords
text
terminal
content
reading scene
reading
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
CN201510983253.XA
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.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510983253.XA priority Critical patent/CN105653505A/en
Publication of CN105653505A publication Critical patent/CN105653505A/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

Abstract

The invention relates to a method and a device for regulating character display, and belongs to the technical field of computers. The method detects and determines the current reading scene of a terminal as a preset reading scene, the display parameters of text contents are regulated and displayed if the ambient light luminance of a preset value and a terminal screen display mode are met and one or a plurality of reading scenes under a mobile state of a preset condition are met, and therefore, a text which is currently displayed can adapt to different types of ambient light luminance, different terminal screen display modes or different mobile states so as to protect the reading experience of a user under different reading scenes.

Description

Adjust method and the device of text importing
Technical field
It relates to field of computer technology, particularly to a kind of method adjusting text importing and device.
Background technology
Along with the fast development of mobile terminal technology, user can use terminal unit to carry out such as reading, watching the activities such as video, object for appreciation game or communication whenever and wherever possible. Modal a kind of situation; user often can utilize the time of free time to use mobile phone to carry out the reading of information; font is as the carrier of content; the form of its displaying and effect can directly affect user and absorb efficiency and the reading experience of content; and user uses the reading scene state that the terminals such as such as mobile phone carry out reading to fix, how to ensure that user's reading experience under different reading scenes becomes the problem needing to solve.
Summary of the invention
Disclosure embodiment provides a kind of method adjusting text importing and device. Described technical scheme is as follows:
First aspect according to disclosure embodiment, it is provided that a kind of method adjusting text importing, for terminal, the method includes:
When the content that described terminal is currently displaying is content of text, detects and determine the reading scene that described terminal is current;
When described reading scene is predetermined reading scene, the display parameters of described content of text is adjusted and shows;
Wherein, described reading scene at least include meeting the environmental light brightness of predetermined value, terminal screen display pattern and meet the mobile status of predetermined condition in one or more.
The technical program is by detecting and determining that the current reading scene of terminal is predetermined reading scene, as one or more in meeting the environmental light brightness of predetermined value, terminal screen display pattern and meeting the mobile status of predetermined condition are read under scenes, the display parameters of content of text are adjusted display, so that currently displaying text can be suitable for different environmental light brightness, different terminal screen display patterns or different mobile status, thus ensureing that user reads the reading experience under scene in difference.
Optionally, described detection also determines the reading scene that described terminal is current, including:
Current environmental light brightness is detected, to determine whether the ambient brightness that described terminal is presently in meets predetermined value by the light sensor arranged in described terminal; Or/and,
The mobile status that described terminal is current is detected, to determine whether the current mobile status of described terminal meets predetermined condition by the gravity sensor arranged in described terminal;Or/and,
By the gravity sensor arranged in terminal, to determine the display pattern of described terminal screen.
Optionally, described display parameters at least include one or more in the font size of word, font, line space, color, transparency, thickness and the degree of compression.
Optionally, described the display parameters of described content of text be adjusted when described reading scene is predetermined reading scene and shows, including:
When described reading scene be defined as the display pattern of described terminal screen be transverse screen display time, according to predetermined compression factor, the text importing height of described content of text is compressed and shows.
Optionally, described the display parameters of described content of text be adjusted when described reading scene is predetermined reading scene and shows, including:
When described reading scene is defined as the mobile status that described terminal meets predetermined condition, according to predetermined magnification ratio the word of described content of text it is amplified and shows, or/and, adjust the line space of described content of text and show.
Optionally, described the display parameters of described content of text be adjusted when described reading scene is predetermined reading scene and shows, including:
Meet the environmental light brightness of predetermined value when described reading scene is defined as described terminal, one or more in the font size of described content of text, font, color, transparency and stroke weight is adjusted and shows.
The technical program is detecting different reading scenes, after different environmental light brightness, different terminal screens display pattern or different mobile status, one or more display parameters in such as font size, font, line space, color, transparency, thickness and the degree of compression of currently displaying text are adjusted, so that currently displaying content of text can be applicable to different reading environment, thus ensureing that user reads the reading experience under scene in difference.
Second aspect according to disclosure embodiment, it is provided that a kind of device adjusting text importing, for terminal, this device includes:
Detection module, is configured as described terminal currently displaying content when being content of text, detects and determine the reading scene that described terminal is current;
Text adjusting module, is configured as described reading scene when being predetermined reading scene, the display parameters of described content of text is adjusted and shows; Wherein, described reading scene at least include meeting the environmental light brightness of predetermined value, terminal screen display pattern and meet the mobile status of predetermined condition in one or more.
The technical program is by detecting and determining that the current reading scene of terminal is predetermined reading scene, as one or more in meeting the environmental light brightness of predetermined value, terminal screen display pattern and meeting the mobile status of predetermined condition are read under scenes, the display parameters of content of text are adjusted display, so that currently displaying text can be suitable for different environmental light brightness, different terminal screen display patterns or different mobile status, thus ensureing that user reads the reading experience under scene in difference.
Optionally, described detection module, including:
First detection sub-module, being configured in described terminal, the light sensor of setting is to detect current environmental light brightness, to determine whether the ambient brightness that described terminal is presently in meets predetermined value; Or/and,
Second detection sub-module, the gravity sensor being configured in described terminal to arrange is to detect the mobile status that described terminal is current, to determine whether the current mobile status of described terminal meets predetermined condition; Or/and,
3rd detection sub-module, be configured in terminal arrange gravity sensor, to determine the display pattern of described terminal screen.
Optionally, described display parameters at least include one or more in the font size of word, font, line space, color, transparency, thickness and the degree of compression.
Optionally, described text adjusting module, it is configured as described reading scene and is defined as the display pattern of described terminal screen when being transverse screen display, according to predetermined compression factor, the text importing height of described content of text is compressed and shows.
Optionally, described text adjusting module, is configured as described reading scene when being defined as the mobile status that described terminal meets predetermined condition, according to predetermined magnification ratio the word of described content of text is amplified and shows, or/and, adjust the line space of described content of text and show.
Optionally, described text adjusting module, it is configured as described reading scene to be defined as described terminal and meet the environmental light brightness of predetermined value, one or more in the font size of described content of text, font, color, transparency and stroke weight is adjusted and shows.
The technical program is detecting different reading scenes, after different environmental light brightness, different terminal screens display pattern or different mobile status, one or more display parameters in such as font size, font, line space, color, transparency, thickness and the degree of compression of currently displaying text are adjusted, so that currently displaying content of text can be applicable to different reading environment, thus ensureing that user reads the reading experience under scene in difference.
The third aspect according to disclosure embodiment, it is provided that a kind of device adjusting text importing, including:
Processor;
For storing the memorizer of the executable instruction of processor;
Wherein, processor is configured to:
When the content that described terminal is currently displaying is content of text, detects and determine the reading scene that described terminal is current;
When described reading scene is predetermined reading scene, the display parameters of described content of text is adjusted and shows;
Wherein, described reading scene at least include meeting the environmental light brightness of predetermined value, terminal screen display pattern and meet the mobile status of predetermined condition in one or more.
The technical scheme that disclosure embodiment provides can include following beneficial effect:
The technical program is by detecting and determining that the current reading scene of terminal is predetermined reading scene, as one or more in meeting the environmental light brightness of predetermined value, terminal screen display pattern and meeting the mobile status of predetermined condition are read under scenes, the display parameters of content of text are adjusted display, so that currently displaying text can be suitable for different environmental light brightness, different terminal screen display patterns or different mobile status, thus ensureing that user reads the reading experience under scene in difference. Such as, different reading scenes detected, after different environmental light brightness, different terminal screens display pattern or different mobile status, one or more display parameters in such as font size, font, line space, color, transparency, thickness and the degree of compression of currently displaying text are adjusted, so that currently displaying content of text can be applicable to different reading environment, thus ensureing that user reads the reading experience under scene in difference.
It should be appreciated that it is only exemplary and explanatory that above general description and details hereinafter describe, the disclosure can not be limited.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meets and embodiment of the disclosure, and for explaining the principle of the disclosure together with description.
Fig. 1 is a kind of method flow diagram adjusting text importing according to an exemplary embodiment;
Fig. 2 is a kind of method flow diagram adjusting text importing according to an exemplary embodiment;
Fig. 3 is a kind of method flow diagram adjusting text importing according to an exemplary embodiment;
Fig. 4 is a kind of method flow diagram adjusting text importing according to an exemplary embodiment;
Fig. 5 is a kind of device block diagram adjusting text importing according to an exemplary embodiment;
What Fig. 6 was exemplary gives the device block diagram of a kind of detection module as shown in Figure 5;
Fig. 7 is a kind of device block diagram adjusting text importing according to an exemplary embodiment.
By above-mentioned accompanying drawing, it has been shown that the embodiment that the disclosure is clear and definite, will there is more detailed description hereinafter. These accompanying drawings and word describe the scope being not intended to be limited disclosure design by any mode, but are the concept that those skilled in the art illustrate the disclosure by reference specific embodiment.
Detailed description of the invention
Here in detail exemplary embodiment being illustrated, its example representation is in the accompanying drawings. When as explained below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element. Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the disclosure. On the contrary, they only with in appended claims describe in detail, the disclosure some in the example of consistent apparatus and method.
Fig. 1 is a kind of method flow diagram adjusting text importing according to an exemplary embodiment, and the method for this adjustment text importing is applied in terminal, for instance mobile phone or panel computer etc. Referring to Fig. 1, the method for this adjustment text importing can include following several step:
In a step 101, when the content that terminal is currently displaying is content of text, detects and determine the reading scene that terminal is current.
In the technical program, it is possible to determine, by the sensor arranged in terminal, the reading scene that terminal is current. For example, it is possible to determine whether terminal is currently in mobile environment by gravity sensor; Or, determine whether the current screen display mode of terminal there occurs switching by gravity sensor, as shown by transverse screen, being switched to perpendicular screen shows, or shows that by perpendicular screen being switched to transverse screen shows; Or, detect terminal by light sensor and be presently in the environmental light brightness of environment.
In a step 102, when described reading scene is predetermined reading scene, the display parameters of described content of text is adjusted and shows. Wherein, described reading scene at least include meeting the environmental light brightness of predetermined value, terminal screen display pattern and meet the mobile status of predetermined condition in one or more.
The technical program is by detecting and determining that the current reading scene of terminal is predetermined reading scene, as one or more in meeting the environmental light brightness of predetermined value, terminal screen display pattern and meeting the mobile status of predetermined condition are read under scenes, the display parameters of content of text are adjusted display, so that currently displaying text can be suitable for different environmental light brightness, different terminal screen display patterns or different mobile status, thus ensureing that user reads the reading experience under scene in difference.
Such as, when environment bright angle value being detected lower than certain predetermined value, the display pattern of terminal screen by erect screen display switch to transverse screen to show time, or terminal is in the mobile environment jolted, the technical program can to the display parameters of currently displaying content of text, font size such as word, font, line space, color, transparency, one or more in thickness and the degree of compression is adjusted, so that the display of the content of text of terminal demonstration disclosure satisfy that specific environmental light brightness, transverse screen display pattern or the mobile environment jolted, ensure that user reads the reading experience under scene in difference.
Optionally, described detection determine the reading scene that described terminal is current, it is possible to including:
Current environmental light brightness is detected, to determine whether the ambient brightness that terminal is presently in meets predetermined value by the light sensor arranged in terminal;Here, this predetermined value can be set previously according to practical situation, such as 10, so, when being detected that by light sensor the value of current environmental light brightness is less than 10, then it is assumed that need the display parameters of the word to currently displaying content of text to be adjusted.
Or/and,
The mobile status that terminal is current is detected, to determine whether the current mobile status of terminal meets predetermined condition by the gravity sensor arranged in terminal; Here, this predetermined condition can be set previously according to practical situation, as detected that the current acceleration of gravity of terminal reaches predetermined value by gravity sensor, then think that terminal is currently at one and compares the mobile environment jolted, it is necessary to the display parameters of the word of currently displaying content of text are adjusted.
Or/and,
By the gravity sensor arranged in terminal, to determine the display pattern of terminal screen. In the technical program, the gravity sensor arranged in by terminal detect terminal by erect screen display pattern be switched to transverse screen display pattern time, then think that terminal is currently at one and compares the mobile environment jolted, it is necessary to the display parameters of the word of currently displaying content of text are adjusted.
Optionally, described display parameters at least include one or more in the font size of word, font, line space, color, transparency, thickness and the degree of compression. In the technical program, according to concrete facilities, it is possible under different reading scenes, to or not text importing parameter be adjusted so that the display state of current character can be suitable for reading environment instantly.
Optionally, described the display parameters of described content of text be adjusted when described reading scene is predetermined reading scene and shows, including:
When described reading scene be defined as the display pattern of described terminal screen be transverse screen display time, according to predetermined compression factor, the text importing height of described content of text is compressed and shows. Or/and,
When terminal by erect screen display pattern switch to transverse screen display pattern time, to the font size of the word of described content of text or/and line space is adjusted.
Optionally, described the display parameters of described content of text be adjusted when described reading scene is predetermined reading scene and shows, including:
When described reading scene is defined as the mobile status that described terminal meets predetermined condition, according to predetermined magnification ratio the word of described content of text it is amplified and shows, or/and, adjust the line space of described content of text and show.
Optionally, described the display parameters of described content of text be adjusted when described reading scene is predetermined reading scene and shows, including:
Meet the environmental light brightness of predetermined value when described reading scene is defined as described terminal, one or more in the font size of described content of text, font, color, transparency and stroke weight is adjusted and shows.
The technical program is detecting different reading scenes, after different environmental light brightness, different terminal screens display pattern or different mobile status, one or more display parameters in such as font size, font, line space, color, transparency, thickness and the degree of compression of currently displaying text are adjusted, so that currently displaying content of text can be applicable to different reading environment, thus ensureing that user reads the reading experience under scene in difference.
In sum, the technical program is by detecting and determining that the current reading scene of terminal is predetermined reading scene, as one or more in meeting the environmental light brightness of predetermined value, terminal screen display pattern and meeting the mobile status of predetermined condition are read under scenes, the display parameters of content of text are adjusted display, so that currently displaying text can be suitable for different environmental light brightness, different terminal screen display patterns or different mobile status, thus ensureing that user reads the reading experience under scene in difference.
Such as, different reading scenes detected, after different environmental light brightness, different terminal screens display pattern or different mobile status, one or more display parameters in such as font size, font, line space, color, transparency, thickness and the degree of compression of currently displaying text are adjusted, so that currently displaying content of text can be applicable to different reading environment, thus ensureing that user reads the reading experience under scene in difference.
Below in conjunction with different application scenarios, technique scheme is described in detail:
Referring to Fig. 2, for the reading scene that environmental light brightness changes, disclosure embodiment provides a kind of method adjusting text importing, and Fig. 2 is a kind of method flow diagram adjusting text importing according to an exemplary embodiment, it is possible to include following several step:
In step 201, it is determined that whether the currently displaying content of terminal is content of text;
If the currently displaying content of terminal is content of text, perform step 202;
If the currently displaying content of terminal is not content of text, then continue executing with step 201.
In step 202., terminal is presently in the environment bright angle value of environment and detects by light sensor by arranging in terminal at predetermined intervals.
In the present embodiment, described display parameters at least include one or more in the font size of word, font, color, transparency and stroke weight.
In the present embodiment, described predetermined interval can be set according to practical situation, and such as 2 hours, 3 hours or half an hour etc., this is not done too much restriction by disclosure embodiment.
In step 203, the display parameters of the word of described content of text are adjusted according to the described environment bright angle value detected.
In one embodiment, the display parameters of the word of described content of text are adjusted according to the described environment bright angle value detected, it is possible to including:
According to the described environment bright angle value detected, mapping table between inquiry environment bright angle value, text importing parameter and display parameter value, obtains text importing parameter and corresponding display parameter value that the need corresponding with the described environment bright angle value detected adjust;
According to Query Result, the text importing parameter that described content of text need to be adjusted is adjusted according to the display parameter value of described correspondence.
In the technical program, the mapping table between environment bright angle value, text importing parameter and display parameter value can be preset, so, after the environment bright angle value residing for present terminal detected by light sensor, just can be obtained the adjusted value of the display parameters of current character by the mode inquired about, it is achieved mode is simple and convenient. Wherein, the mapping table between environment bright angle value, text importing parameter and display parameter value can be as shown in table 1.
Table 1
It should be noted that the corresponding relation between the explanation environment bright angle value of being merely cited for property of content in above table, text importing parameter and display parameter value, being not limited to this corresponding relation, this corresponding relation can be adjusted according to actual situation.
The display parameters of currently displaying text are adjusted by the technical program according to the environmental light brightness detected, as one or more in the font size of currently displaying word, font, color, transparency and stroke weight is adjusted, make currently displaying text can be suitable for current environmental light brightness, it is ensured that user's reading experience under varying environment light.
In one embodiment, when the color needing the display parameters adjusted to include word, adjust the display parameters of the word of described content of text according to the described environment bright angle value detected, also include:
The background colour of the content of text that detection terminal is currently displaying;
According to the background colour detected and described environment bright angle value, the color of the word of described content of text is adjusted.
When the color of word is adjusted in currently displaying parameter, it is necessary to the background colour with reference to currently displaying content of text is adjusted, to avoid the situation that the color to word is conflicted with background colour to occur.
In the technical program, according to the background colour detected and described environment bright angle value, the color of the word of described content of text is adjusted, it is possible to including:
Inquire about the mapping table between environment bright angle value, text importing parameter and display parameter value according to environment bright angle value, obtain the color of the word that currently need to adjust;
Whether the color of the word that comparison inquiry obtains is consistent with the background colour of current text content;
When the color inquiring about the word obtained is consistent with the background colour of current text content, then revises the color of the word that this inquiry obtains, and adopt the color of amended word that the color of currently displaying content of text is adjusted.
Here, the mode of color amendment may is that and the color of the word inquired is revised as the arbitrary color inconsistent with the background colour of current text content.
In step 204, the described content of text after display adjustment.
In sum, the environmental light brightness that terminal is presently at predetermined intervals by the technical program by the light sensor arranged detects, and according to the environmental light brightness detected, the display parameters of currently displaying text are adjusted, as one or more in the font size of currently displaying word, font, color, transparency and stroke weight is adjusted, make currently displaying text can be suitable for current environmental light brightness, it is ensured that user's reading experience under varying environment light.
Referring to Fig. 3, the reading scene under mobile status it is in for terminal, disclosure embodiment provides a kind of method adjusting text importing, and Fig. 3 is a kind of method flow diagram adjusting text importing according to an exemplary embodiment, it is possible to include following several step:
In step 301, when the content that terminal is currently displaying is content of text, determine whether terminal is currently in mobile environment by the gravity sensor arranged in terminal.
In step 302, when terminal is in mobile environment, adjust the display parameters of the word of described content of text.
In the technical program, described display parameters at least include one or more in the font size of word, font and stroke weight.
Optionally, when described display parameters include font size, the display parameters of the word of the described content of text of described adjustment, it is possible to including:
The font size of the word of described content of text is adjusted to predetermined font size. Here, the display font size of terminal word most suitably used under mobile environment state can be preset, so, when determining that terminal is in mobile environment, the font size of the word of currently displaying content of text just can be adjusted to the font size being best suited under this mobile environment, improve user's word read under mobile status and experience.
Optionally, when described display parameters include font, the display parameters of the word of the described content of text of described adjustment, including:
The word of described content of text is adjusted to predetermined font. Here, the display font of terminal word most suitably used under mobile environment state can be preset, so, when determining that terminal is in mobile environment, the font of the word of currently displaying content of text just can be adjusted to the font being best suited under this mobile environment, improve user's word read under mobile status and experience.
Optionally, when described display parameters include stroke weight, the display parameters of the word of the described content of text of described adjustment, including:
Undertaken adding bulk processing by the word of described content of text. Here, when determining that terminal is under mobile environment, it is possible to undertaken adding bulk processing by the word of content of text currently displaying for terminal, to improve user's word read experience under mobile status.
In the technical program, can according to actual situation come setting terminal be in mobile environment time, one or more parameters in the font size of word of currently displaying content of text, font and text importing thickness are adjusted, and this is not done specific restriction by disclosure embodiment.
In step 303, the described content of text after display adjustment.
In step 304, when terminal stops mobile, recover the display parameters of word of described content of text to the state before adjusting.
In the technical program, when terminal stops mobile, then recovering content of text is the state before adjusting, and self adaptation carries out showing under varying environment state the switching adjustment of word.
The applied environment that the technical program can be suitable for includes: user is when walking, the situation of text reading is carried out when taking subway or bus, adopt the technical program, the gravity sensor arranged in terminal can be adopted to automatically detect whether active user's used terminal is in mobile environment, if user is when walking, text reading is carried out when taking subway or bus, once detect that the reading environment of user is mobile environment, just can the parameter of the adaptive word that terminal is currently displaying be adjusted, as strengthened display font size, overstriking shows one or more in word and amendment display font, currently displaying literal state is made to be adaptable to current mobile environment, experience user's reading experience under mobile environment state.
In sum, by gravity sensor, the technical program detects whether terminal is in mobile environment automatically, and in a mobile environment, adjust the display parameters of the word of the currently displaying content of text of terminal, the display parameters of currently displaying word can be adjusted the adaptive mobile environment according to terminal, as one or more in the font size of word, font and stroke weight being adjusted display, with the reading environment that better adaptation is presently in, to improve user's reading experience to word.
Referring to Fig. 4, for the reading scene that the display pattern of terminal screen changes, disclosure embodiment provides a kind of method adjusting text importing, and Fig. 4 is a kind of method flow diagram adjusting text importing according to an exemplary embodiment, it is possible to include following several step:
In step 401, when the content that terminal is currently displaying is content of text, whether the display pattern of the gravity sensor detection terminal screen by arranging in terminal is switched to transverse screen display pattern by perpendicular screen display pattern.
When terminal by erect screen display pattern switch to transverse screen display pattern time, perform step 402.
When by transverse screen, terminal shows that pattern switches to perpendicular screen display pattern, perform step 404.
In step 402, the display parameters of the word of described content of text are adjusted.
In the technical program, when terminal by erect screen display pattern switch to transverse screen display pattern time, the display parameters of the word of described content of text are adjusted, it is possible to including:
Highly it is compressed adjusting to the display of the word of described content of text. Here, according to the compression factor set, the display of the word of content of text highly can be compressed, as reduced the display height of the word of content of text according to the compression factor of 2%, 1% or 1.5%, this is not done too much restriction by the technical program.
In the technical program, when terminal is transverse screen display, it is possible to by compressing the display height of display word, to improve under transverse screen display state, the display inner capacities of each page, reduces the number of times of user's page turning or drop-down roll display content.
In the technical program, when terminal by erect screen display pattern switch to transverse screen display pattern time, the display parameters of the word of described content of text are adjusted, it is also possible to including:
When terminal by erect screen display pattern switch to transverse screen display pattern time, to the font size of the word of described content of text or/and line space is adjusted.
Here, the font size of display word under transverse screen display pattern can be preset or/and line space, so, when terminal by erect screen display pattern switch to transverse screen display pattern time, it is possible to by the font size of the word of current text content or/and line space is adjusted to font size set in advance or/and line space.
In the technical program, terminal by erect screen display switch to transverse screen to show time, the font size adjusting display word can be passed through or/and line space, as reduced display font size or/and reduce the mode of line space, to improve under transverse screen display state, the display inner capacities of each page, reduces the number of times of user's page turning or drop-down roll display content.
In step 403: the described content of text after display adjustment.
In step 404: recover described content of text and be the state before adjusting and show.
In the technical program, when by transverse screen, terminal shows that pattern switches back into perpendicular screen display pattern, recovering content of text is the state before adjusting so that display content can the switching of self adaptation display pattern. Meet user's reading requirement under different reading modeies.
In sum, the technical program detects the display pattern of terminal screen automatically by gravity sensor, when detecting that terminal is switched to the second display pattern by the first display pattern, the display parameters of the word of content of text are adjusted and show, the display parameters of currently displaying word can be adjusted the adaptive display pattern according to terminal screen, the display pattern current better to adapt to terminal, improves user's reading experience to word.
Following for disclosure device embodiment, it is possible to be used for performing method of disclosure embodiment. For the details not disclosed in disclosure device embodiment, refer to method of disclosure embodiment.
Fig. 5 is the block diagram of a kind of device 500 adjusting text importing according to an exemplary embodiment, the device 500 of this adjustment text importing can pass through software, hardware or both be implemented in combination with become the some or all of of terminal, this terminal is mobile phone or panel computer. The device 500 of this adjustment text importing may include that
Detection module 501, is configured as described terminal currently displaying content when being content of text, detects and determine the reading scene that described terminal is current;
Text adjusting module 502, is configured as described reading scene when being predetermined reading scene, the display parameters of described content of text is adjusted and shows; Wherein, described reading scene at least include meeting the environmental light brightness of predetermined value, terminal screen display pattern and meet the mobile status of predetermined condition in one or more.
The technical program is by detecting and determining that the current reading scene of terminal is predetermined reading scene, as one or more in meeting the environmental light brightness of predetermined value, terminal screen display pattern and meeting the mobile status of predetermined condition are read under scenes, the display parameters of content of text are adjusted display, so that currently displaying text can be suitable for different environmental light brightness, different terminal screen display patterns or different mobile status, thus ensureing that user reads the reading experience under scene in difference.
Referring to Fig. 6, detection module 501 as shown in Figure 5, it is possible to including:
First detection sub-module 5011, being configured in described terminal, the light sensor of setting is to detect current environmental light brightness, to determine whether the ambient brightness that described terminal is presently in meets predetermined value; Or/and,
Second detection sub-module 5012, the gravity sensor being configured in described terminal to arrange is to detect the mobile status that described terminal is current, to determine whether the current mobile status of described terminal meets predetermined condition; Or/and,
3rd detection sub-module 5013, be configured in terminal arrange gravity sensor, to determine the display pattern of described terminal screen.
Optionally, described display parameters at least include one or more in the font size of word, font, line space, color, transparency, thickness and the degree of compression.
Optionally, text adjusting module 502, it is possible to be configured as described reading scene and be defined as the display pattern of described terminal screen when being transverse screen display, according to predetermined compression factor, the text importing height of described content of text is compressed and shows.
Optionally, text adjusting module 502, it is possible to be configured as described reading scene when being defined as the mobile status that described terminal meets predetermined condition, is amplified the word of described content of text according to predetermined magnification ratio and shows, or/and, adjust the line space of described content of text and show.
Optionally, text adjusting module 502, described reading scene can be configured as be defined as described terminal and meet the environmental light brightness of predetermined value, one or more in the font size of described content of text, font, color, transparency and stroke weight is adjusted and shows.
The technical program is detecting different reading scenes, after different environmental light brightness, different terminal screens display pattern or different mobile status, one or more display parameters in such as font size, font, line space, color, transparency, thickness and the degree of compression of currently displaying text are adjusted, so that currently displaying content of text can be applicable to different reading environment, thus ensureing that user reads the reading experience under scene in difference.
In sum, the technical program is by detecting and determining that the current reading scene of terminal is predetermined reading scene, as one or more in meeting the environmental light brightness of predetermined value, terminal screen display pattern and meeting the mobile status of predetermined condition are read under scenes, the display parameters of content of text are adjusted display, so that currently displaying text can be suitable for different environmental light brightness, different terminal screen display patterns or different mobile status, thus ensureing that user reads the reading experience under scene in difference. Such as, different reading scenes detected, after different environmental light brightness, different terminal screens display pattern or different mobile status, one or more display parameters in such as font size, font, line space, color, transparency, thickness and the degree of compression of currently displaying text are adjusted, so that currently displaying content of text can be applicable to different reading environment, thus ensureing that user reads the reading experience under scene in difference.
About the device in above-described embodiment, the concrete mode that wherein modules performs to operate has been described in detail in about the embodiment of the method, and explanation will be not set forth in detail herein.
Refer to Fig. 7, it illustrates a kind of block diagram for adjusting character display apparatus 600 shown in an exemplary embodiment. Such as, device 600 can be mobile phone, the terminal unit such as panel computer or intelligent television.
With reference to Fig. 7, device 600 can include following one or more assembly: processes assembly 602, memorizer 604, power supply module 606, multimedia groupware 608, audio-frequency assembly 610, input/output (I/O) interface 612, sensor cluster 614, and communications component 616.
Process assembly 602 and generally control the integrated operation of device 600, such as with display, call, data communication, the operation that camera operation and record operation are associated. Process assembly 602 and can include one or more processor 620 to perform instruction, to complete all or part of step of above-mentioned adjustment character displaying method. Additionally, process assembly 602 can include one or more module, it is simple to what process between assembly 602 and other assemblies is mutual. Such as, process assembly 602 and can include multi-media module, with facilitate multimedia groupware 608 and process between assembly 602 mutual.
Memorizer 604 is configured to store various types of data to support the operation on device 600. The example of these data includes any application for operation on device 600 or the instruction of method, contact data, telephone book data, message, picture, video etc. Memorizer 604 can be realized by any kind of volatibility or non-volatile memory device or their combination, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that power supply module 606 is device 600 provide electric power. Power supply module 606 can include power-supply management system, one or more power supplys, and other generate, manage and distribute, with for device 600, the assembly that electric power is associated.
Multimedia groupware 608 includes the screen providing an output interface between device 600 and user. In certain embodiments, screen can include liquid crystal display (LCD) and touch panel (TP). If screen includes touch panel, screen may be implemented as touch screen, to receive the input signal from user. Touch panel includes one or more touch sensor to sense the gesture on touch, slip and touch panel. Touch sensor can not only sense the border of touch or sliding action, but also detects the persistent period relevant to touch or slide and pressure. In certain embodiments, multimedia groupware 608 includes a front-facing camera and/or post-positioned pick-up head. When device 600 is in operator scheme, during such as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive the multi-medium data of outside. Each front-facing camera and post-positioned pick-up head can be a fixing optical lens system or have focal length and optical zoom ability.
Audio-frequency assembly 610 is configured to output and/or input audio signal. Such as, audio-frequency assembly 610 includes a mike (MIC), and when device 600 is in operator scheme, during such as call model, logging mode and speech recognition mode, mike is configured to receive external audio signal. The audio signal received can be further stored at memorizer 604 or send via communications component 616.In certain embodiments, audio-frequency assembly 710 also includes a speaker, is used for exporting audio signal.
I/O interface 612 provides interface for processing between assembly 602 and peripheral interface module, above-mentioned peripheral interface module can be keyboard, puts striking wheel, button etc. These buttons may include but be not limited to: home button, volume button, startup button and locking press button.
Sensor cluster 614 includes one or more sensor, for providing the state estimation of various aspects for device 600. Such as, what sensor cluster 614 can detect device 600 opens/closed mode, the relative localization of assembly, such as assembly is display and the keypad of device 600, the position change of all right detecting device 600 of sensor cluster 614 or 600 1 assemblies of device, the presence or absence that user contacts with device 600, the variations in temperature of device 600 orientation or acceleration/deceleration and device 600. Sensor cluster 614 can include proximity transducer, is configured to when not having any physical contact object near detection. Sensor cluster 614 can also include optical sensor, such as CMOS or ccd image sensor, for using in imaging applications. In certain embodiments, this sensor cluster 614 can also include acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 616 is configured to facilitate between device 600 and other equipment the communication of wired or wireless mode. Device 600 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or their combination. In one exemplary embodiment, communications component 616 receives the broadcast singal or the broadcast related information that manage system from external broadcasting via broadcast channel. In one exemplary embodiment, communications component 616 also includes near-field communication (NFC) module, to promote junction service. Such as, can based on RF identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 600 can be realized by one or more application specific integrated circuits (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components, for the method performing above-mentioned adjustment text importing.
In the exemplary embodiment, additionally providing a kind of non-transitory computer-readable recording medium including instruction, for instance include the memorizer 604 of instruction, above-mentioned instruction can have been performed above-mentioned adjustment character displaying method by the processor 620 of device 600. Such as, non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
A kind of non-transitory computer-readable recording medium, when the instruction in storage medium is performed by the processor of device 600 so that device 600 is able to carry out the method for above-mentioned adjustment text importing.
It should be appreciated that the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and various amendment and change can carried out without departing from the scope. The scope of the present disclosure is only limited by appended claim.

Claims (13)

1. the method adjusting text importing, it is characterised in that for terminal, described method includes:
When the content that described terminal is currently displaying is content of text, detects and determine the reading scene that described terminal is current;
When described reading scene is predetermined reading scene, the display parameters of described content of text is adjusted and shows;
Wherein, described reading scene at least include meeting the environmental light brightness of predetermined value, terminal screen display pattern and meet the mobile status of predetermined condition in one or more.
2. the method according to right 1, it is characterised in that described detection also determines the reading scene that described terminal is current, including:
Current environmental light brightness is detected, to determine whether the ambient brightness that described terminal is presently in meets predetermined value by the light sensor arranged in described terminal; Or/and,
The mobile status that described terminal is current is detected, to determine whether the current mobile status of described terminal meets predetermined condition by the gravity sensor arranged in described terminal; Or/and,
By the gravity sensor arranged in terminal, to determine the display pattern of described terminal screen.
3. method according to claim 1 and 2, it is characterised in that described display parameters at least include one or more in the font size of word, font, line space, color, transparency, thickness and the degree of compression.
4. method according to claim 3, it is characterised in that described the display parameters of described content of text be adjusted when described reading scene is predetermined reading scene and shows, including:
When described reading scene be defined as the display pattern of described terminal screen be transverse screen display time, according to predetermined compression factor, the text importing height of described content of text is compressed and shows.
5. method according to claim 3, it is characterised in that described the display parameters of described content of text be adjusted when described reading scene is predetermined reading scene and shows, including:
When described reading scene is defined as the mobile status that described terminal meets predetermined condition, according to predetermined magnification ratio the word of described content of text it is amplified and shows, or/and, adjust the line space of described content of text and show.
6. method according to claim 3, it is characterised in that described the display parameters of described content of text be adjusted when described reading scene is predetermined reading scene and shows, including:
Meet the environmental light brightness of predetermined value when described reading scene is defined as described terminal, one or more in the font size of described content of text, font, color, transparency and stroke weight is adjusted and shows.
7. the device adjusting text importing, it is characterised in that for terminal, described device includes:
Detection module, is configured as described terminal currently displaying content when being content of text, detects and determine the reading scene that described terminal is current;
Text adjusting module, is configured as described reading scene when being predetermined reading scene, the display parameters of described content of text is adjusted and shows; Wherein, described reading scene at least include meeting the environmental light brightness of predetermined value, terminal screen display pattern and meet the mobile status of predetermined condition in one or more.
8. device according to claim 7, it is characterised in that described detection module, including:
First detection sub-module, being configured in described terminal, the light sensor of setting is to detect current environmental light brightness, to determine whether the ambient brightness that described terminal is presently in meets predetermined value; Or/and,
Second detection sub-module, the gravity sensor being configured in described terminal to arrange is to detect the mobile status that described terminal is current, to determine whether the current mobile status of described terminal meets predetermined condition;Or/and,
3rd detection sub-module, be configured in terminal arrange gravity sensor, to determine the display pattern of described terminal screen.
9. the device according to claim 7 or 8, it is characterised in that described display parameters at least include one or more in the font size of word, font, line space, color, transparency, thickness and the degree of compression.
10. device according to claim 9, it is characterized in that, described text adjusting module, it is configured as described reading scene and is defined as the display pattern of described terminal screen when being transverse screen display, according to predetermined compression factor, the text importing height of described content of text is compressed and shows.
11. device according to claim 9, it is characterized in that, described text adjusting module, it is configured as described reading scene when being defined as the mobile status that described terminal meets predetermined condition, according to predetermined magnification ratio the word of described content of text it is amplified and shows, or/and, adjust the line space of described content of text and show.
12. device according to claim 9, it is characterized in that, described text adjusting module, it is configured as described reading scene to be defined as described terminal and meet the environmental light brightness of predetermined value, one or more in the font size of described content of text, font, color, transparency and stroke weight is adjusted and shows.
13. the device adjusting text importing, it is characterised in that including:
Processor;
For storing the memorizer of the executable instruction of described processor;
Wherein, described processor is configured to:
When the content that described terminal is currently displaying is content of text, detects and determine the reading scene that described terminal is current;
When described reading scene is predetermined reading scene, the display parameters of described content of text is adjusted and shows;
Wherein, described reading scene at least include meeting the environmental light brightness of predetermined value, terminal screen display pattern and meet the mobile status of predetermined condition in one or more.
CN201510983253.XA 2015-12-24 2015-12-24 Method and device for regulating character display Pending CN105653505A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510983253.XA CN105653505A (en) 2015-12-24 2015-12-24 Method and device for regulating character display

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510983253.XA CN105653505A (en) 2015-12-24 2015-12-24 Method and device for regulating character display

Publications (1)

Publication Number Publication Date
CN105653505A true CN105653505A (en) 2016-06-08

Family

ID=56476915

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510983253.XA Pending CN105653505A (en) 2015-12-24 2015-12-24 Method and device for regulating character display

Country Status (1)

Country Link
CN (1) CN105653505A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106648352A (en) * 2016-10-19 2017-05-10 珠海格力电器股份有限公司 Information processing method and device and electronic device
CN106875920A (en) * 2016-08-09 2017-06-20 阿里巴巴集团控股有限公司 A kind of parameter regulation means and device
CN108228544A (en) * 2017-12-28 2018-06-29 掌阅科技股份有限公司 E-book reading parameter regulation means, electronic equipment and computer storage media
CN108650421A (en) * 2018-05-10 2018-10-12 Oppo广东移动通信有限公司 Display control method and related product
CN109840239A (en) * 2019-01-28 2019-06-04 Oppo广东移动通信有限公司 Intelligent reading method, electronic equipment and computer readable storage medium
CN110413955A (en) * 2019-07-30 2019-11-05 北京小米移动软件有限公司 Word resets section method, apparatus, terminal and storage medium
WO2021068303A1 (en) * 2019-10-08 2021-04-15 深圳市华星光电半导体显示技术有限公司 Electronic device and reading mode identification method thereof, and controller
CN113655934A (en) * 2021-08-30 2021-11-16 咪咕数字传媒有限公司 Electronic file display method and device, computing equipment and computer storage medium
CN113821186A (en) * 2021-11-22 2021-12-21 湖南新云网科技有限公司 Method and system for adjusting size of character display

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102346646A (en) * 2011-09-19 2012-02-08 百度在线网络技术(北京)有限公司 Method and device for displaying contents on display screen of mobile terminal
CN102541254A (en) * 2010-12-31 2012-07-04 联想移动通信科技有限公司 Method and device for adjusting text display manner, and mobile terminal
CN103050089A (en) * 2011-10-12 2013-04-17 富泰华工业(深圳)有限公司 Electronic device and method for adjusting brightness of display screen thereof
CN103067573A (en) * 2012-12-17 2013-04-24 广东欧珀移动通信有限公司 System and method for enhancing display effect of cell phone
WO2014174168A1 (en) * 2013-04-25 2014-10-30 Essilor International (Compagnie Generale D'optique) Method of customizing an electronic image display device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541254A (en) * 2010-12-31 2012-07-04 联想移动通信科技有限公司 Method and device for adjusting text display manner, and mobile terminal
CN102346646A (en) * 2011-09-19 2012-02-08 百度在线网络技术(北京)有限公司 Method and device for displaying contents on display screen of mobile terminal
CN103050089A (en) * 2011-10-12 2013-04-17 富泰华工业(深圳)有限公司 Electronic device and method for adjusting brightness of display screen thereof
CN103067573A (en) * 2012-12-17 2013-04-24 广东欧珀移动通信有限公司 System and method for enhancing display effect of cell phone
WO2014174168A1 (en) * 2013-04-25 2014-10-30 Essilor International (Compagnie Generale D'optique) Method of customizing an electronic image display device

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106875920A (en) * 2016-08-09 2017-06-20 阿里巴巴集团控股有限公司 A kind of parameter regulation means and device
CN106648352A (en) * 2016-10-19 2017-05-10 珠海格力电器股份有限公司 Information processing method and device and electronic device
CN108228544A (en) * 2017-12-28 2018-06-29 掌阅科技股份有限公司 E-book reading parameter regulation means, electronic equipment and computer storage media
CN108228544B (en) * 2017-12-28 2019-03-29 掌阅科技股份有限公司 E-book reading parameter regulation means, electronic equipment and computer storage medium
CN108650421A (en) * 2018-05-10 2018-10-12 Oppo广东移动通信有限公司 Display control method and related product
CN108650421B (en) * 2018-05-10 2020-12-08 Oppo广东移动通信有限公司 Display control method and related product
CN109840239A (en) * 2019-01-28 2019-06-04 Oppo广东移动通信有限公司 Intelligent reading method, electronic equipment and computer readable storage medium
CN110413955A (en) * 2019-07-30 2019-11-05 北京小米移动软件有限公司 Word resets section method, apparatus, terminal and storage medium
CN110413955B (en) * 2019-07-30 2023-04-07 北京小米移动软件有限公司 Character readjusting method, device, terminal and storage medium
WO2021068303A1 (en) * 2019-10-08 2021-04-15 深圳市华星光电半导体显示技术有限公司 Electronic device and reading mode identification method thereof, and controller
CN113655934A (en) * 2021-08-30 2021-11-16 咪咕数字传媒有限公司 Electronic file display method and device, computing equipment and computer storage medium
CN113821186A (en) * 2021-11-22 2021-12-21 湖南新云网科技有限公司 Method and system for adjusting size of character display

Similar Documents

Publication Publication Date Title
CN105653505A (en) Method and device for regulating character display
CN105100609A (en) Mobile terminal and shooting parameter adjusting method
CN105653165A (en) Method and device for regulating character display
CN104881104A (en) Intelligent equipment, intelligent equipment performance improvement method and intelligent equipment performance improvement device
CN105786507A (en) Display interface switching method and device
CN104898505A (en) Smart scene configuration method and device
CN105528151A (en) Brightness adjusting method and apparatus
CN104899610A (en) Picture classification method and device
EP3599581A1 (en) Method and apparatus for displaying a commodity
US20170090684A1 (en) Method and apparatus for processing information
CN104090735A (en) Picture projection method and device
CN104090709A (en) Picture switching method and device
CN105867733A (en) Notice display method and device and mobile device
CN108110854A (en) Charging method, device and computer readable storage medium
CN105824819A (en) Image loading method, device and electronic device
CN106101773A (en) Content is with shielding method, device and display device
CN105913569A (en) Electric power management method and device
CN104991731A (en) Photographic method, apparatus and mobile terminal
CN107132983B (en) Split-screen window operation method and device
CN105488829A (en) Method and device for generating head portrait
CN105630447B (en) Adjust the method and device of text importing
CN105635809A (en) Image processing method and device and terminal
CN105260151A (en) Information display method and apparatus
CN105657325A (en) Method, apparatus and system for video communication
CN106773750B (en) Equipment image display method and 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20160608

RJ01 Rejection of invention patent application after publication