CN105427831A - Electronic book color display control method and system - Google Patents
Electronic book color display control method and system Download PDFInfo
- Publication number
- CN105427831A CN105427831A CN201510923455.5A CN201510923455A CN105427831A CN 105427831 A CN105427831 A CN 105427831A CN 201510923455 A CN201510923455 A CN 201510923455A CN 105427831 A CN105427831 A CN 105427831A
- Authority
- CN
- China
- Prior art keywords
- light intensity
- interval
- ambient light
- belonging
- color display
- 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
Links
Landscapes
- Controls And Circuits For Display Device (AREA)
Abstract
The invention discloses an electronic book color display control method and a system. The method comprises the following steps of setting a timer in advance, dividing environment light intensity into several sections and arranging a set of color display configuration for each section; when an electronic book is started, detecting and acquiring light intensity of current environment to obtain the corresponding section, acquiring the set of corresponding color display configuration according to the section where the environment light intensity belongs and making the configuration take effect; starting the timer which triggers to continuously detect and acquire the environment light intensity, acquiring the corresponding section according to the acquired environment light intensity and determining whether the corresponding section is consistent with the section which is acquired in advance and where the environment light intensity belongs; when the two sections are not consistent and the corresponding section maintains in a same section in continuous timer periods with the predetermined number, according to the corresponding section, acquiring the set of corresponding color display configuration and making the configuration take effect. By using the method provided in the invention, the electronic book can dynamically adjust color display, which greatly facilitates a user.
Description
Technical field
The present invention relates to e-book technical field, in particular a kind of e-book color display control method and systems technology field.
Background technology
At present along with the development of mobile terminal, increasing user is using mobile terminal to carry out reading electronic book, e-book its be that screen by word content being presented at mobile terminal is read for user.Generally speaking, e-book display is simple, only need show word content on a kind of background color, is white gravoply, with black engraved characters as common; Because color itself has lightness, such as, when representing color with the yuv format light levels of its Y value representative color, that is Y value is larger, color gets over lightness, such as the Y value of white is greater than black, and the white stimulation for human eye is much larger than black in dark conditions.
In the prior art, the color of e-book display is configurable, its deploy content comprises text color and background color, environment in actual use residing for user is different, need to be configured to conform to the color of e-book display, for example under brighter environment, need e-book to be configured to white gravoply, with black engraved characters to make displaying contents more obvious; And under darker environment, need e-book to be configured to black matrix ash word to reduce the stimulation of brightness minimizing to user's eye of displaying contents.All manual configuration is needed in prior art, and cannot dynamic adjustments, user uses inconvenience, and Experience Degree is low.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
The technical problem to be solved in the present invention is, for the above-mentioned deficiency of prior art, there is provided a kind of e-book color display control method and system, object is that the display word of the e-book solving current mobile terminal can not the environmentally problem that automatically regulates of light intensity.The present invention is interval by ambient light intensity being divided into several, and configure for each interval arranges the display of a set of color, the light intensity obtained for detection of dynamic configures corresponding e-book color display configuration, thus solve the brightness of e-book displaying contents does not cause stimulation to user's eye problem with environmental change, and the brightness of dynamic adjustments displaying contents greatly facilitates user's reading electronic book.
The technical scheme that technical solution problem of the present invention adopts is as follows:
A kind of e-book color display control method, wherein, comprises step:
A. pre-set a timer, and arrange and ambient light intensity is divided into several are interval, for each interval arranges a set of color display configuration;
B. when e-book starts, detect and obtain the light intensity of current environment, obtain belonging to ambient light intensity interval according to the light intensity of described current environment, and environmentally interval belonging to light intensity obtains corresponding a set of color display configuration, and control to make configuration take-effective;
C. timer is started, triggered by timer and continue to detect, obtain ambient light intensity, obtain belonging to corresponding ambient light intensity interval according to the ambient light intensity obtained, and judge belonging to described ambient light intensity interval whether consistent with interval belonging to the ambient light intensity obtained in step B;
D. when determine belonging to the ambient light intensity that obtains in step C interval with step B in interval inconsistent belonging to the ambient light intensity that obtains, and continuous and remain on same interval in the timer period of predetermined number, the then interval a set of color display configuration obtaining correspondence belonging to described ambient light intensity, and control to make configuration take-effective.
Described e-book color display control method, wherein, specifically comprises at described step C:
C1, startup timer, triggered by timer and continue to detect, obtain ambient light intensity;
C2, obtain belonging to corresponding ambient light intensity interval according to the ambient light intensity obtained, and judge belonging to described ambient light intensity interval whether consistent with interval belonging to the ambient light intensity obtained in step B;
Described step C2 also comprises:
C21, interval consistent with interval belonging to the ambient light intensity obtained in step B when to determine belonging to described ambient light intensity, then return step C1;
C22, when to determine belonging to described ambient light intensity interval with step B in interval inconsistent belonging to the ambient light intensity that obtains, then proceed to step D.
Described e-book color display control method, wherein, specifically comprises at described step D:
D1, when determine belonging to the ambient light intensity that obtains in step C interval with step B in interval inconsistent belonging to the ambient light intensity that obtains, then continue to detect and judge that interval belonging to the ambient light intensity that obtains in step C is continuous and whether remain on same interval in the timer period of predetermined number, if then proceed to step D2, then proceed to step D3 if not;
D2, interval continuous and remain on same interval in the timer period of predetermined number when determining belonging to the ambient light intensity that obtains in step C, the then interval a set of color display configuration obtaining correspondence belonging to described ambient light intensity, and control to make configuration take-effective;
D3, interval continuous and do not remain on same interval in the timer period of predetermined number when determining belonging to the ambient light intensity that obtains in step C, then do not deal with.
Described e-book color display control method, wherein, in described step B, by light sensors, the light intensity obtaining current environment.
Described e-book color display control method, wherein, in described steps A, each burst length of division is equal, and interval is connected by clear area with between interval, and described clear area length is 10% of burst length.
Described e-book color display control method, wherein, in described steps A, described color display configuration comprises: text color and background color; The time-out time of described timer is set to 2 seconds.
The present invention also provides a kind of e-book color display control program, wherein, comprising:
Pre-set module, for pre-setting a timer, and arrange and ambient light intensity is divided into several are interval, for each interval arranges a set of color display configuration;
First configuration take-effective control module, for detecting and obtaining the light intensity of current environment, obtain belonging to ambient light intensity interval according to the light intensity of described current environment, and environmentally interval belonging to light intensity obtains corresponding a set of color display configuration, and control to make configuration take-effective;
Detect and judge module, for starting timer, triggered by timer and continue to detect, obtain ambient light intensity, obtain belonging to corresponding ambient light intensity interval according to the ambient light intensity obtained, and judge belonging to described ambient light intensity interval whether consistent with interval belonging to the ambient light intensity obtained in described first configuration take-effective control module;
Second configuration take-effective control module, for when determine belonging to the ambient light intensity that obtains in described detection and judge module interval with described first configuration take-effective control module in interval belonging to the ambient light intensity that obtains inconsistent, and continuous and remain on same interval in the timer period of predetermined number, the then interval a set of color display configuration obtaining correspondence belonging to described ambient light intensity, and control to make configuration take-effective.
Described e-book color display control program, wherein,
Described first configuration take-effective control module comprises:
First detects the interval acquiring unit with light intensity, for detecting and obtaining the light intensity of current environment, obtains belonging to ambient light intensity interval according to the light intensity of described current environment;
First configuration take-effective control module, obtains corresponding a set of color and show and configure, and control makes configuration take-effective for detecting according to first with interval belonging to the ambient light intensity obtained in acquiring unit;
Described detection and judge module comprise:
Timer start unit, for starting timer;
Second detects the interval acquiring unit with light intensity, triggers and continues to detect, obtain ambient light intensity, obtain belonging to corresponding ambient light intensity interval according to the ambient light intensity obtained for timer,
First judging unit, interval whether consistent with interval belonging to the ambient light intensity obtained in the first configuration take-effective control module for judging belonging to described ambient light intensity;
Described second configuration take-effective control module comprises:
Second judging unit, for to determine when the first judging unit belonging to described ambient light intensity interval with the first configuration take-effective control module in belonging to the ambient light intensity that obtains interval inconsistent time, continue to detect and judge that the affiliated interval of ambient light intensity that obtains in the interval acquiring unit of the second detection and light intensity is continuous and whether remain on same interval in the timer period of predetermined number;
Second configuration take-effective control module, for when determine interval belonging to the ambient light intensity that obtains in the interval acquiring unit of the second detection and light intensity continuous and remain on same interval in the timer period of predetermined number, the then interval a set of color display configuration obtaining correspondence belonging to described ambient light intensity, and control to make configuration take-effective.
Described e-book color display control program, wherein, pre-set in module described, each burst length of division is equal, and interval is connected by clear area with between interval, and described clear area length is 10% of burst length; And described color display configuration comprises: text color and background color; The time-out time of described timer is set to 2 seconds.
Described e-book color display control program, wherein, by light sensors, the light intensity obtaining current environment.
A kind of e-book color display control method provided by the present invention and system, make mobile terminal electronic reading add New function: the function with the display of dynamic conditioning e-book color.Ambient light intensity is divided into several intervals by arranging by the present invention, and configure for each interval arranges the display of a set of color, the light intensity obtained for detection of dynamic configures corresponding e-book color display configuration, thus solve the brightness of e-book displaying contents does not cause stimulation to user's eye problem with environmental change, and the brightness of mobile terminal electronic reading dynamic adjusting displayed content greatly facilitates user's reading; The display word solving the e-book of current mobile terminal can not the environmentally problem that automatically regulates of light intensity, improves Consumer's Experience.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of a kind of e-book color of the present invention display control method preferred embodiment.
Fig. 2 is that a kind of e-book color of the present invention display control method preferred embodiment ambient light intensity interval divides schematic diagram.
Fig. 3 is the functional schematic block diagram of a kind of e-book color of the present invention display control program preferred embodiment.
Embodiment
For making object of the present invention, technical scheme and advantage clearly, clearly, developing simultaneously referring to accompanying drawing, the present invention is described in more detail for embodiment.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Refer to Fig. 1, Fig. 1 is the process flow diagram of a kind of e-book color of the present invention display control method preferred embodiment.As described in Figure 1, described e-book color display control method, comprises the following steps:
Step S110, pre-set a timer, and arrange and ambient light intensity is divided into several are interval, for each interval arranges a set of color display configuration;
In prior art, can only be come into force after e-book startup a set of e-book color configuration, and along with ambient light intensity change e-book color configuration can not automatically along with adjusting, in the present invention, object has been that e-book color configuration also can along with dynamic conditioning because the ambient light intensity that user moves or other reason causes changes.In the embodiment of the present invention, described e-book can be the e-book in electronic reader, also can be the e-book in mobile terminal.For electronic book in mobile terminal, a timer can be set in electronic book in mobile terminal in advance, and the time-out time arranging described timer is 2 seconds; Described timer starts for triggering the light intensity that e-book detects user current place environment.And pre-set in mobile terminal electronics and ambient light intensity is divided into several intervals, for each interval arranges a set of color display configuration, described color display configuration comprises: text color and background color, is interval each display configuration distributing a set of text color and background color belonging to each light intensity.
In the embodiment of the present invention, ambient light intensity is divided into several intervals, each burst length of division is equal, and interval is connected by clear area with between interval, and described clear area length is 10% of burst length; Specifically refer to Fig. 2, Figure 2 shows that a kind of e-book color of the present invention display control method preferred embodiment ambient light intensity interval divides schematic diagram.As shown in Figure 2, be divided into that several are interval as follows by ascending for ambient light intensity:
1st is interval: L (1,1) to L (1,2) composition one is interval;
2nd is interval: L (2,1) to L (2,2) composition one is interval;
3rd is interval: L (3,1) to L (3,2) composition one is interval;
……
N-1 is interval: L (N-1,1) to L (N-1,2) composition one is interval;
N is interval: L (N, 1) to L (N, 2) composition one is interval;
Wherein, described interval is as follows with the clear area be connected between interval:
It is clear area between the 1st interval and the 2nd interval that L (1,2) to L (2,1) forms an interval;
It is clear area between the 2nd interval and the 3rd interval that L (2,2) to L (3,1) forms an interval;
It is clear area between the 3rd interval and the 4th interval that L (3,2) to L (4,1) forms an interval;
……
It is clear area between the interval and N-1 interval of N-2 that L (N-2,2) to L (N-1,1) forms an interval;
It is clear area between the interval and N interval of N-1 that L (N-1,2) to L (N, 1) forms an interval;
Wherein, described clear area length is 10% of burst length, i.e. L (N-1,2)-L (N, 1)=(L (N, 1)-L (N, 2)) * 10%; Described clear area arranges and is used for when the ambient light intensity detected by electronic book in mobile terminal is in clear area, the display of its e-book color remains unchanged, and avoids the ambient light intensity when two intervals are directly connected near two interval point of interfaces, the change of ambient light intensity frequently detected and cause detecting and judging disorder.From above interval division, the environmental light intensity angle value in each interval by the 1st interval, the 2nd interval, the 3rd interval ..., interval, the N interval of N-1 increases successively.
When the present invention specifically implements, e-book color display configuration is comprised: text color and background color; Specifically arrange as follows:
In the embodiment of the present invention, what occupy larger display area in e-book is ground-color portion, therefore text color is only decided to be black or white; And when ambient light intensity is larger, text color black when namely ambient brightness is brighter; When ambient light intensity is less, text color white when namely environment is darker.
For the text color in e-book color display configuration, if N is even number, text color choosing white in the color display configuration corresponding to front N/2 light intensity interval, in rear N/2 the color display configuration corresponding to light intensity interval, text color selects black; If N is odd number, if N=2M+1, then text color choosing white in the color display configuration before corresponding to M light intensity interval, in rear N-M the color display configuration corresponding to light intensity interval, text color selects black.
For the background color in e-book color display configuration, in the embodiment of the present invention, the background color in color display configuration uses larger Y value when then environmentally brightness is brighter, by less Y value when ambient brightness is darker.Specifically arrange as follows: the data representation background color adopting YUV coded format, wherein, the Y of YUV is the lightness of color, U and V is colourity; Can be changed by set formula between yuv format and rgb format.For the interval corresponding color configuration of each ambient light intensity, its color depth Range Representation is from 0 to 255, and white is 255, and black is 0, wherein, and U=V=255; And N number of value composition arithmetic progression will be got in the span (0 ~ 255) of Y; Then ascending arrangement is pressed to this N number of value:
Y(1)、Y(2)、Y(3)、……、Y(N-1)、Y(N);
In the embodiment of the present invention, according to actual conditions, ambient light intensity can be divided into several intervals.Such as N=10 is set; Then corresponding e-book color configuration is:
1st interval corresponding e-book color configuration: background color is Y (1), U=V=255, text color is white;
2nd interval corresponding e-book color configuration: background color is Y (2), U=V=255, text color is white;
……
The then interval corresponding e-book color configuration of N-1: background color is Y (9), U=V=255, and text color is black.
The then interval corresponding e-book color configuration of N: background color is Y (10), U=V=255, and text color is black.
Step S120, when e-book starts, detect and obtain the light intensity of current environment, obtain belonging to ambient light intensity interval according to the light intensity of described current environment, and environmentally interval belonging to light intensity obtains corresponding a set of color display configuration, and control to make configuration take-effective;
In the embodiment of the present invention, by arranging an optical sensor on mobile terminals, can obtain for detecting the light intensity that user reads current environment; As when user starts e-book reading, ambient light intensity is acquired by optical sensor, again according to the ambient light intensity that obtains in the corresponding relation pre-set, find belonging to corresponding light intensity interval, and obtain corresponding a set of color display configuration, as pre-set the interval number N=10 of light intensity, ambient light intensity correspondence interval according to detecting is the 2nd interval, then e-book obtains corresponding e-book color configuration: background color is Y (2), U=V=255, and text color is white; And the e-book color configuration obtained is come into force.
Step S130, startup timer, triggered by timer and continue to detect, obtain ambient light intensity, obtain belonging to corresponding ambient light intensity interval according to the ambient light intensity obtained, and judge belonging to described ambient light intensity interval whether consistent with interval belonging to the ambient light intensity obtained in step B;
In the embodiment of the present invention, by pre-setting timer, being triggered by timer and continuing to detect, obtain ambient light intensity, realizing the change of the detection of dynamic ambient light intensity that environmental change causes residing for e-book; Namely this step specifically comprises:
S1300, startup timer, triggered by timer and continue to detect, obtain ambient light intensity;
S1310, obtain belonging to corresponding ambient light intensity interval according to the ambient light intensity obtained, and judge belonging to described ambient light intensity interval whether consistent with interval belonging to the ambient light intensity obtained in step 120;
Wherein, also specifically comprise in S1310:
S1311, interval consistent with interval belonging to the ambient light intensity obtained in step 120 when to determine belonging to described ambient light intensity, then return step S1300;
S1312, when determine belonging to the ambient light intensity that obtains in S1300 interval with step 120 in interval inconsistent belonging to the ambient light intensity that obtains, then proceed to step 140.
Step S140, when determine belonging to the ambient light intensity that obtains in 130 steps interval with step 120 in interval inconsistent belonging to the ambient light intensity that obtains, and continuous and remain on same interval in the timer period of predetermined number, the then interval a set of color display configuration obtaining correspondence belonging to described ambient light intensity, and control to make configuration take-effective.
In the embodiment of the present invention, step S140 specifically comprises:
S1400, when determine in S1312 belonging to the ambient light intensity that obtains in S1300 interval with step 120 in interval inconsistent belonging to the ambient light intensity that obtains, then continue to detect and judge that interval belonging to the ambient light intensity that obtains in S1300 step is continuous and whether remain on same interval in the timer period of predetermined number, if then proceed to step S1401, then proceed to step S1402 if not;
Particularly, in the embodiment of the present invention, the predetermined set timer expiry time is 2 seconds, if predetermined number is 5, then judge whether the affiliated interval of the ambient light intensity (namely in 10 seconds) in continuous 5 timer period obtained in S1300 step remains on same interval, if then proceed to step S1401, then proceed to step S1402 if not;
S1401, interval continuous and remain on same interval in the timer period of predetermined number when determining belonging to the ambient light intensity that obtains in S1300 step, the then interval a set of color display configuration obtaining correspondence belonging to described ambient light intensity, and control to make configuration take-effective;
S1402, interval continuous and do not remain on same interval in the timer period of predetermined number when determining belonging to the ambient light intensity that obtains in S1300 step, then do not deal with.
Based on said method embodiment, present invention also offers a kind of e-book color display control program, as shown in Figure 3, described system comprises:
Pre-set module 210, for pre-setting a timer, and arrange and ambient light intensity is divided into several are interval, for each interval arranges a set of color display configuration, as detailed above.
First configuration take-effective control module 220, for detecting and obtaining the light intensity of current environment, obtain belonging to ambient light intensity interval according to the light intensity of described current environment, and environmentally interval belonging to light intensity obtains corresponding a set of color display configuration, and control to make configuration take-effective, as detailed above.
Detect and judge module 230, for starting timer, triggered by timer and continue to detect, obtain ambient light intensity, obtain belonging to corresponding ambient light intensity interval according to the ambient light intensity obtained, and judge belonging to described ambient light intensity interval whether consistent with interval belonging to the ambient light intensity obtained in described first configuration take-effective control module, as detailed above.
Second configuration take-effective control module 240, for when determine belonging to the ambient light intensity that obtains in described detection and judge module interval with described first configuration take-effective control module in interval belonging to the ambient light intensity that obtains inconsistent, and continuous and remain on same interval in the timer period of predetermined number, the then interval a set of color display configuration obtaining correspondence belonging to described ambient light intensity, and control to make configuration take-effective, as detailed above.
Wherein, described first configuration take-effective control module 220 comprises:
First detects the interval acquiring unit with light intensity, for detecting and obtaining the light intensity of current environment, obtains belonging to ambient light intensity interval, as detailed above according to the light intensity of described current environment.
First configuration take-effective control module, obtains corresponding a set of color and show and configure, and control makes configuration take-effective, as detailed above for detecting according to first with interval belonging to the ambient light intensity obtained in acquiring unit.
Described detection and judge module 230 comprise:
Timer start unit, for starting timer, as detailed above.
Second detects the interval acquiring unit with light intensity, triggers and continues to detect, obtain ambient light intensity, obtain belonging to corresponding ambient light intensity interval, as detailed above according to the ambient light intensity obtained for timer.
First judging unit, interval whether consistent with interval belonging to the ambient light intensity obtained in the first configuration take-effective control module for judging belonging to described ambient light intensity, as detailed above.
Described second configuration take-effective control module 240 comprises:
Second judging unit, for to determine when the first judging unit belonging to described ambient light intensity interval with the first configuration take-effective control module in belonging to the ambient light intensity that obtains interval inconsistent time, continue to detect and judge that the affiliated interval of ambient light intensity that obtains in the interval acquiring unit of the second detection and light intensity is continuous and whether remain on same interval in the timer period of predetermined number, as detailed above.
Second configuration take-effective control module, for when determine interval belonging to the ambient light intensity that obtains in the interval acquiring unit of the second detection and light intensity continuous and remain on same interval in the timer period of predetermined number, the then interval a set of color display configuration obtaining correspondence belonging to described ambient light intensity, and control to make configuration take-effective, as detailed above.
Further, described e-book color display control program, pre-set in module 210 described, each burst length of division is equal, and interval is connected by clear area with between interval, and described clear area length is 10% of burst length; And described color display configuration comprises: text color and background color; The time-out time of described timer is set to 2 seconds.In described system, light sensors can be passed through, obtain the light intensity of current environment.
A kind of e-book color display control method provided by the present invention and system, make mobile terminal electronic reading add New function: the function with the display of dynamic conditioning e-book color.Ambient light intensity is divided into several intervals by arranging by the present invention, and configure for each interval arranges the display of a set of color, the light intensity obtained for detection of dynamic configures corresponding e-book color display configuration, thus solve the brightness of e-book displaying contents does not cause stimulation to user's eye problem with environmental change, and the brightness of mobile terminal electronic reading dynamic adjusting displayed content greatly facilitates user's reading; The display word solving the e-book of current mobile terminal can not the environmentally problem that automatically regulates of light intensity, improves Consumer's Experience.
Should be understood that, application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can be improved according to the above description or convert, and all these improve and convert the protection domain that all should belong to claims of the present invention.
Claims (10)
1. an e-book color display control method, is characterized in that, comprises step:
A. pre-set a timer, and arrange and ambient light intensity is divided into several are interval, for each interval arranges a set of color display configuration;
B. when e-book starts, detect and obtain the light intensity of current environment, obtain belonging to ambient light intensity interval according to the light intensity of described current environment, and environmentally interval belonging to light intensity obtains corresponding a set of color display configuration, and control to make configuration take-effective;
C. timer is started, triggered by timer and continue to detect, obtain ambient light intensity, obtain belonging to corresponding ambient light intensity interval according to the ambient light intensity obtained, and judge belonging to described ambient light intensity interval whether consistent with interval belonging to the ambient light intensity obtained in step B;
D. when determine belonging to the ambient light intensity that obtains in step C interval with step B in interval inconsistent belonging to the ambient light intensity that obtains, and continuous and remain on same interval in the timer period of predetermined number, the then interval a set of color display configuration obtaining correspondence belonging to described ambient light intensity, and control to make configuration take-effective.
2. e-book color display control method according to claim 1, is characterized in that, specifically comprise at described step C:
C1, startup timer, triggered by timer and continue to detect, obtain ambient light intensity;
C2, obtain belonging to corresponding ambient light intensity interval according to the ambient light intensity obtained, and judge belonging to described ambient light intensity interval whether consistent with interval belonging to the ambient light intensity obtained in step B;
Described step C2 also comprises:
C21, interval consistent with interval belonging to the ambient light intensity obtained in step B when to determine belonging to described ambient light intensity, then return step C1;
C22, when to determine belonging to described ambient light intensity interval with step B in interval inconsistent belonging to the ambient light intensity that obtains, then proceed to step D.
3. e-book color display control method according to claim 3, is characterized in that, specifically comprise at described step D:
D1, when determine belonging to the ambient light intensity that obtains in step C interval with step B in interval inconsistent belonging to the ambient light intensity that obtains, then continue to detect and judge that interval belonging to the ambient light intensity that obtains in step C is continuous and whether remain on same interval in the timer period of predetermined number, if then proceed to step D2, then proceed to step D3 if not;
D2, interval continuous and remain on same interval in the timer period of predetermined number when determining belonging to the ambient light intensity that obtains in step C, the then interval a set of color display configuration obtaining correspondence belonging to described ambient light intensity, and control to make configuration take-effective;
D3, interval continuous and do not remain on same interval in the timer period of predetermined number when determining belonging to the ambient light intensity that obtains in step C, then do not deal with.
4. e-book color display control method according to claim 1, is characterized in that, in described step B, can pass through light sensors, obtain the light intensity of current environment.
5. e-book color display control method according to claim 1, is characterized in that, in described steps A, each burst length of division is equal, and interval is connected by clear area with between interval, and described clear area length is 10% of burst length.
6. e-book color display control method according to claim 1, is characterized in that, in described steps A, described color display configuration comprises: text color and background color; The time-out time of described timer is set to 2 seconds.
7. an e-book color display control program, is characterized in that, comprising:
Pre-set module, for pre-setting a timer, and arrange and ambient light intensity is divided into several are interval, for each interval arranges a set of color display configuration;
First configuration take-effective control module, for detecting and obtaining the light intensity of current environment, obtain belonging to ambient light intensity interval according to the light intensity of described current environment, and environmentally interval belonging to light intensity obtains corresponding a set of color display configuration, and control to make configuration take-effective;
Detect and judge module, for starting timer, triggered by timer and continue to detect, obtain ambient light intensity, obtain belonging to corresponding ambient light intensity interval according to the ambient light intensity obtained, and judge belonging to described ambient light intensity interval whether consistent with interval belonging to the ambient light intensity obtained in described first configuration take-effective control module;
Second configuration take-effective control module, for when determine belonging to the ambient light intensity that obtains in described detection and judge module interval with described first configuration take-effective control module in interval belonging to the ambient light intensity that obtains inconsistent, and continuous and remain on same interval in the timer period of predetermined number, the then interval a set of color display configuration obtaining correspondence belonging to described ambient light intensity, and control to make configuration take-effective.
8. e-book color display control program according to claim 7, is characterized in that,
Described first configuration take-effective control module comprises:
First detects the interval acquiring unit with light intensity, for detecting and obtaining the light intensity of current environment, obtains belonging to ambient light intensity interval according to the light intensity of described current environment;
First configuration take-effective control module, obtains corresponding a set of color and show and configure, and control makes configuration take-effective for detecting according to first with interval belonging to the ambient light intensity obtained in acquiring unit;
Described detection and judge module comprise:
Timer start unit, for starting timer;
Second detects the interval acquiring unit with light intensity, triggers and continues to detect, obtain ambient light intensity, obtain belonging to corresponding ambient light intensity interval according to the ambient light intensity obtained for timer,
First judging unit, interval whether consistent with interval belonging to the ambient light intensity obtained in the first configuration take-effective control module for judging belonging to described ambient light intensity;
Described second configuration take-effective control module comprises:
Second judging unit, for to determine when the first judging unit belonging to described ambient light intensity interval with the first configuration take-effective control module in belonging to the ambient light intensity that obtains interval inconsistent time, continue to detect and judge that the affiliated interval of ambient light intensity that obtains in the interval acquiring unit of the second detection and light intensity is continuous and whether remain on same interval in the timer period of predetermined number;
Second configuration take-effective control module, for when determine interval belonging to the ambient light intensity that obtains in the interval acquiring unit of the second detection and light intensity continuous and remain on same interval in the timer period of predetermined number, the then interval a set of color display configuration obtaining correspondence belonging to described ambient light intensity, and control to make configuration take-effective.
9. e-book color display control program according to claim 7, it is characterized in that, pre-set in module described, each burst length of division is equal, interval is connected by clear area with between interval, and described clear area length is 10% of burst length; And described color display configuration comprises: text color and background color; The time-out time of described timer is set to 2 seconds.
10. e-book color display control program according to claim 7, is characterized in that, by light sensors, the light intensity obtaining current environment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510923455.5A CN105427831A (en) | 2015-12-14 | 2015-12-14 | Electronic book color display control method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510923455.5A CN105427831A (en) | 2015-12-14 | 2015-12-14 | Electronic book color display control method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105427831A true CN105427831A (en) | 2016-03-23 |
Family
ID=55505987
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510923455.5A Pending CN105427831A (en) | 2015-12-14 | 2015-12-14 | Electronic book color display control method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105427831A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106055219A (en) * | 2016-05-26 | 2016-10-26 | 北京京东尚科信息技术有限公司 | Method, apparatus and system of improving e-book reading experience of user |
CN106293358A (en) * | 2016-08-09 | 2017-01-04 | Tcl移动通信科技(宁波)有限公司 | A kind of mobile terminal and electronic book in mobile terminal browse control method |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080076103A1 (en) * | 2006-09-15 | 2008-03-27 | Wallace Thomas B | Electronic book |
CN101858783A (en) * | 2010-06-23 | 2010-10-13 | 华为终端有限公司 | Reading prompt method in electronic reading terminal and electronic reading terminal |
CN102148020A (en) * | 2010-02-10 | 2011-08-10 | 元太科技工业股份有限公司 | Light-to-dark transition display device, display and brightness adjusting method |
TW201214098A (en) * | 2010-09-16 | 2012-04-01 | Piime View Internat Co Ltd | E-book and power controller and power controlling method thereof |
CN103310763A (en) * | 2013-05-30 | 2013-09-18 | 北京小米科技有限责任公司 | Method for switching display state of mobile equipment, device and equipment |
CN104064162A (en) * | 2013-03-21 | 2014-09-24 | 深圳迈瑞生物医疗电子股份有限公司 | Automatic external defibrillator, and display screen brightness adjusting method and apparatus thereof |
CN104252327A (en) * | 2013-06-27 | 2014-12-31 | 腾讯科技(深圳)有限公司 | Reading mode start method and device |
-
2015
- 2015-12-14 CN CN201510923455.5A patent/CN105427831A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080076103A1 (en) * | 2006-09-15 | 2008-03-27 | Wallace Thomas B | Electronic book |
CN102148020A (en) * | 2010-02-10 | 2011-08-10 | 元太科技工业股份有限公司 | Light-to-dark transition display device, display and brightness adjusting method |
CN101858783A (en) * | 2010-06-23 | 2010-10-13 | 华为终端有限公司 | Reading prompt method in electronic reading terminal and electronic reading terminal |
TW201214098A (en) * | 2010-09-16 | 2012-04-01 | Piime View Internat Co Ltd | E-book and power controller and power controlling method thereof |
CN104064162A (en) * | 2013-03-21 | 2014-09-24 | 深圳迈瑞生物医疗电子股份有限公司 | Automatic external defibrillator, and display screen brightness adjusting method and apparatus thereof |
CN103310763A (en) * | 2013-05-30 | 2013-09-18 | 北京小米科技有限责任公司 | Method for switching display state of mobile equipment, device and equipment |
CN104252327A (en) * | 2013-06-27 | 2014-12-31 | 腾讯科技(深圳)有限公司 | Reading mode start method and device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106055219A (en) * | 2016-05-26 | 2016-10-26 | 北京京东尚科信息技术有限公司 | Method, apparatus and system of improving e-book reading experience of user |
CN106055219B (en) * | 2016-05-26 | 2019-05-03 | 北京京东尚科信息技术有限公司 | Improve the method, apparatus and system of the experience of user's reading electronic book |
CN106293358A (en) * | 2016-08-09 | 2017-01-04 | Tcl移动通信科技(宁波)有限公司 | A kind of mobile terminal and electronic book in mobile terminal browse control method |
CN106293358B (en) * | 2016-08-09 | 2020-05-08 | Tcl移动通信科技(宁波)有限公司 | Mobile terminal and electronic book turning control method of mobile terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107111992B (en) | method and terminal for adjusting backlight brightness | |
US9830883B2 (en) | Method and circuit for adjusting screen brightness and display device | |
CN106503004B (en) | Information processing method and device, and terminal | |
CN103442128B (en) | A kind of method and apparatus of display communication event | |
JP4903577B2 (en) | Video signal converter, video display device | |
US20110175872A1 (en) | Display device for converting between bright and dark states and method thereof | |
US20090315923A1 (en) | Electronic paper panel image display method | |
CN102148020B (en) | Light-to-dark transition display device, display and brightness adjusting method | |
CN101707027A (en) | Device for identifying and displaying and outputting image colors of embedded equipment and method thereof | |
CN105278899A (en) | Display control method and device | |
EP3664445B1 (en) | Image processing method and device therefor | |
WO2006054242A2 (en) | Image processing apparatus and method | |
CN105872402A (en) | Photographing method and system of smart television | |
CN105427831A (en) | Electronic book color display control method and system | |
CN102543031A (en) | Display screen control method and display screen control system beneficial for vision protection | |
CN105468617A (en) | Method and device for regulating webpage content color | |
CN113112944A (en) | Display control method, electronic device, and storage medium | |
CN111090384B (en) | Soft keyboard display method and device | |
CN102270427A (en) | Method and apparatus for enhancing reading effect of electronic book and electronic terminal capable of reading electronic book | |
CN106200937A (en) | Sight protectio method, device and the mobile terminal of mobile terminal | |
CN108259871A (en) | A kind of projection process method and electronic equipment | |
CN105761267A (en) | Image processing method and device | |
CN105744377B (en) | A kind of interface display method and device of low cost set-top box | |
CN111326118B (en) | Device and method for setting display parameters and computer readable storage medium | |
CN111292677B (en) | Image display processing method and device, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160323 |