Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to
Convenient for description, part relevant to related invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is shown can be using the method for the processing information for terminal of the application or the processing information for terminal
Device embodiment exemplary system architecture 100.
As shown in Figure 1, system architecture 100 may include terminal device 101,102,103, network 104 and server 105.
Network 104 between terminal device 101,102,103 and server 105 to provide the medium of communication link.Network 104 can be with
Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be used terminal device 101,102,103 and be interacted by network 104 with server 105, to receive or send out
Send message etc..Various telecommunication customer end applications can be installed, such as web browser is answered on terminal device 101,102,103
With, e-book reading class application, news category application, searching class application, instant messaging tools etc..
Terminal device 101,102,103 can be hardware, be also possible to software.When terminal device 101,102,103 is hard
When part, it can be the various electronic equipments with display screen, including but not limited to smart phone, tablet computer, e-book reading
(Moving Picture Experts Group Audio Layer III, dynamic image expert compress mark for device, MP3 player
Quasi- audio level 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert compression
Standard audio level 4) player, pocket computer on knee and desktop computer etc..When terminal device 101,102,103 is
When software, it may be mounted in above-mentioned cited electronic equipment.Its may be implemented into multiple softwares or software module (such as with
To provide the multiple softwares or software module of Distributed Services), single software or software module also may be implemented into.It does not do herein
It is specific to limit.
Server 105 can be to provide the server of various services, such as send eyeshield to terminal device 101,102,103
The background server of instruction.Background server can carry out the data such as the eyeshield request received the processing such as analyzing, and will place
Reason result (such as eyeshield instruction) feeds back to terminal device.
It should be noted that the method for the processing information provided by the embodiment of the present application for terminal is generally set by terminal
Standby 101,102,103 execute, correspondingly, the device of the processing information for terminal be generally positioned at terminal device 101,102,
In 103.
It should be noted that server can be hardware, it is also possible to software.When server is hardware, may be implemented
At the distributed server cluster that multiple servers form, individual server also may be implemented into.It, can when server is software
It, can also be with to be implemented as multiple softwares or software module (such as providing multiple softwares of Distributed Services or software module)
It is implemented as single software or software module.It is not specifically limited herein.
It should be understood that the number of terminal device, network and server in Fig. 1 is only schematical.According to realization need
It wants, can have any number of terminal device, network and server.Particularly, eyeshield figure is instructed or obtained in eyeshield
Used data do not need in the case where long-range obtain as during, and above system framework can not include network kimonos
Business device, and only include terminal device.
With continued reference to Fig. 2, one embodiment of the method for the processing information for terminal according to the application is shown
Process 200.This is used for the method for the processing information of terminal, comprising the following steps:
Step 201, in response to receiving eyeshield instruction, the interface that display screen is currently shown is determined, and display screen is worked as
The interface of preceding display is determined as to eyeshield interface.
In the present embodiment, executing the terminal of the method for the processing information for terminal, (such as terminal shown in FIG. 1 is set
It is standby) it may include display screen, in turn, above-mentioned terminal can determine what display screen was currently shown in response to receiving eyeshield instruction
Interface, and the interface that display screen is currently shown are determined as to eyeshield interface.
Wherein, eyeshield instruction can include but is not limited at least one of following: text, number, symbol, picture, audio.Shield
Eye instruction can serve to indicate that above-mentioned terminal opens eye-protecting function.Eyeshield instruction can be instruction (such as the voice of user's output
Instruction), or the instruction sent with the electronic equipment (such as server shown in FIG. 1) of above-mentioned terminal communication connection.To
Eyeshield interface can be the interface to execute eyeshield operation for the interface.
It should be noted that above-mentioned terminal can determine the interface that display screen is currently shown by various modes, for example, on
Stating terminal available user's the last time executes clicking operation and is formed by click logs, and according to identified click logs
Corresponding interface is determined as the interface that display screen is currently shown.
In some optional implementations of the present embodiment, in response to receiving eyeshield instruction, determine that display screen is worked as
Before the interface of preceding display, following steps are can also be performed in above-mentioned terminal: determining the light intensity of current environment;In response to determination
The intensity value of light intensity is not belonging to preset strength value range, generates eyeshield instruction.
Herein, terminal can determine current environment by communicating the test side (such as photoelectric sensor) of connection
Light intensity.Wherein, test side can be hardware and be also possible to software, and test side can be set in above-mentioned terminal, can also
To be set to outside above-mentioned terminal.Preset strength value may range from the pre-set intensity value range of technical staff, for determining
Whether light intensity is too strong or excessively weak.Specifically, when identified intensity value is greater than the maximum value in preset strength value range,
Then light intensity is too strong;When identified intensity value is less than the minimum value in preset strength value range, then light intensity mistake
It is weak.,
Step 202, eyeshield image is created, so that eyeshield is covered with image to eyeshield interface.
In the present embodiment, above-mentioned terminal can create eyeshield image, so that eyeshield is covered with image to eyeshield interface.
Wherein, after eyeshield can be to show it with image, the image of eyeshield effect can be reached.Specifically, eyeshield
It can be the image (such as translucent image) with transparency with image, so that eyeshield is covered with image to eyeshield interface
When, user still is able to get through eyeshield image to the content in eyeshield interface.Herein, eyeshield image is saturating
Lightness can be preset by technical staff.In addition, eyeshield image can be covered to whole interfaces included by eyeshield interface
Or localized interface, it can also specifically be preset by technical staff.It should be noted that the eyeshield image created is usual
It does not include prospect, and color included by its background can determine by various modes, for example, can be set in advance by technical staff
It sets.
It is understood that the blue light that the display screen of terminal often issues, blue light energy is stronger, to the eyesight of user
Have and larger endangers user.In addition, when ambient light intensity and the luminance difference of terminal display screen away from it is larger when, to the eyesight of user
There is adverse effect.Based on this, the terminal in the embodiment of the present application can be instructed in response to receiving eyeshield, open eye-protecting function,
Eyeshield image is created, to realize the filtering to blue light, adjusting to brightness etc., and then achievees the purpose that eyeshield.
It should be noted that herein, above-mentioned eyeshield is covered with image and refers specifically to scheme eyeshield to eyeshield interface
As being set to on eyeshield interface.
Step 203, eyeshield image is shown.
In the present embodiment, the eyeshield image obtained based on step 202, above-mentioned terminal can show eyeshield image.
With this, when user's browse displays interface of eyeshield image, eye-protecting function may be implemented.
With continued reference to one that Fig. 3, Fig. 3 are according to the application scenarios of the method for the processing information for terminal of the present embodiment
A schematic diagram.Wherein, terminal 301 includes display screen 3011.In the application scenarios of Fig. 3, terminal 301 can be first in response to connecing
The eyeshield instruction for receiving user's transmission determines the interface that display screen 3011 is currently shown, and display screen 3011 is currently shown
Interface be determined as to eyeshield interface 30111.Then, terminal 301 can create eyeshield image 302, so that eyeshield image
Covering is to eyeshield interface 30111.Finally, terminal 301 can show eyeshield image 302.
The method provided by the above embodiment of the application is by determining that display screen is currently shown in response to receiving eyeshield instruction
The interface shown, and the interface that display screen is currently shown are determined as to eyeshield interface;Eyeshield image is created, so that eyeshield is used
Image is covered to eyeshield interface;It shows eyeshield image, to by creation eyeshield image and be shown, realizes eyeshield
Function.
With continued reference to Fig. 4, another embodiment of the method for the processing information for terminal according to the application is shown
Process 400.This is used for the method for the processing information of terminal, comprising the following steps:
Step 401, in response to receiving eyeshield instruction, the interface that display screen is currently shown is determined, and display screen is worked as
The interface of preceding display is determined as to eyeshield interface.
In the present embodiment, executing the terminal of the method for the processing information for terminal, (such as terminal shown in FIG. 1 is set
It is standby) it may include display screen, in turn, above-mentioned terminal can determine what display screen was currently shown in response to receiving eyeshield instruction
Interface, and the interface that display screen is currently shown are determined as to eyeshield interface.
Step 402, initial eyeshield image is created.
In the present embodiment, to eyeshield interface based on determined by step 401, above-mentioned terminal can create initial eyeshield and use
Image, so that initial eyeshield is covered with image to eyeshield interface.
Wherein, initial eyeshield image can be the image (such as translucent image) with transparency, so that just
Beginning eyeshield is covered when eyeshield interface with image, and user still is able to get through eyeshield image in eyeshield interface
Content.Herein, the transparency of initial eyeshield image can be preset by technical staff.In addition, initial eyeshield image
It can cover to whole interfaces or localized interface included by eyeshield interface, can also specifically be preset by technical staff.
It should be noted that the initial eyeshield image created does not usually include prospect, and color included by its background can be
Arbitrarily.Such as background can be white background.
It should be noted that herein, above-mentioned initial eyeshield is referred specifically to image covering to eyeshield interface will be initial
Eyeshield is set to image on eyeshield interface.
Step 403, the color value to pixel included by the image in eyeshield interface is obtained.
In the present embodiment, the color of pixel included by the available image in eyeshield interface of above-mentioned terminal
Value.It, can also be with specifically, the color value of partial pixel point included by the available image in eyeshield interface of above-mentioned terminal
Obtain the color value to whole pixels included by the image in eyeshield interface.It should be noted that working as fetching portion pixel
When the color value of point, above-mentioned terminal can use the color value of the pre-set mode fetching portion pixel of technical staff, example
Such as, the color value of pixel included by the available image being located to the top half at eyeshield interface;Can also using with
The color value of the mode fetching portion pixel of machine sampling.
In practice, it can be color image to the image in eyeshield interface, be also possible to gray level image.When for color image
When, a pixel in image usually may include that multiple color values (lead to by color value number color as included by pixel
The number in road determines, for example, if including three Color Channels, including three color values);When for gray level image, in image
A pixel generally include a color value (i.e. gray value).
Step 404, based on acquired color value, target color values are determined.
In the present embodiment, based on color value acquired in step 403, above-mentioned terminal can determine target color values.Its
In, target color values can be used for adjusting the background color of above-mentioned initial eyeshield image, to obtain eyeshield image.Target face
Color value can be a color value, be also possible to one group of color value.Wherein, one group of color value refers to corresponding to a pixel
Each Color Channel color value.
In the present embodiment, above-mentioned terminal based on acquired color value, can determine color of object by various methods
Value.For example, technical staff can preset color threshold, and the numberical range for being more than or equal to color threshold, it is provided with
First color value;For being less than the numberical range of color threshold, it is provided with the second color value.In turn, above-mentioned terminal can determine
Whether acquired color value is respectively less than above-mentioned color threshold;If so, the second color value can be determined as target color values;
If it is not, then the first color value can be determined as target color values.
In some optional implementations of the present embodiment, above-mentioned terminal can also be primarily based on acquired color
Value, determines base colors value, is then based on base colors value, determine target color values.Herein, as an example, technical staff
The corresponding relationship (such as mapping table) of base colors value and target color values can be pre-established, in turn, above-mentioned terminal can
To determine target color values by above-mentioned corresponding relationship based on identified base colors value.It should be noted that above-mentioned
Corresponding relationship can be set in above-mentioned terminal, also can be set in electronic equipment (such as the Fig. 1 communicated to connect with above-mentioned terminal
Shown in server) in.When above-mentioned correspondence setting is in the electronic equipment of communication connection, above-mentioned terminal can be by determination
Base colors value out is sent to above-mentioned electronic equipment, and then above-mentioned electronic equipment can search institute from above-mentioned mapping table
Target color values corresponding to received base colors value, and the target color values found out are sent to above-mentioned electronic equipment.
Optionally, for filter blue light, above-mentioned terminal can determine whether base colors value includes corresponding to blue channel
Color value, if including, the color value of blue channel can be adjusted to 0 by above-mentioned terminal, obtain new base colors value, and
New base colors value obtained is determined as target color values.
In this implementation, above-mentioned terminal can determine base colors value by various methods.For example, above-mentioned terminal can
To carry out mean value computation to acquired color value, calculated result is obtained, and using calculated result as base colors value.At this
In, when each pixel have multiple Color Channels color value when, above-mentioned terminal can for each Color Channel respectively into
Row mean value computation obtains candidate calculated result corresponding to Color Channel, finally forms calculated result using candidate calculated result.
In some optional implementations of the present embodiment, above-mentioned terminal can also determine target face as follows
Color value:
Step 4041, the difference that color value is extracted in pixel included by the image to eyeshield interface is less than or equal to
The pixel of preset threshold generates at least one pixel collection.
Herein, above-mentioned terminal can be from the above-mentioned pixel for obtaining color value, and the difference for extracting color value is less than
Equal to the pixel of preset threshold, at least one pixel collection is generated.Wherein, preset threshold can be set in advance by technical staff
It sets.For the pixel collection at least one pixel collection, the color value of the every two pixel in the pixel collection
Difference be respectively less than and be equal to above-mentioned preset threshold.It should be noted that when a pixel has the color of multiple Color Channels
When value, above-mentioned difference refers to carrying out seeking difference difference obtained respectively to the color value of the corresponding Color Channel of two pixels
Value, at this point, above-mentioned " difference of color value is less than or equal to preset threshold " can refer to that the difference of the color value of each Color Channel is equal
Less than or equal to preset threshold, it can also refer to that the difference for having the color value of at least one Color Channel is less than or equal to preset threshold.
As an example, preset threshold can be 10, obtain the pixel of the color value of three Color Channels of RGB with
And acquired color value may include: A pixel (33,67,100);B pixel (60,30,50);C pixel (37,60,
101);D pixel (59,31,52).In turn, for A pixel and C pixel, due to (37-33)=7≤10;(67-60)=
7≤10;(101-100)=1≤10, therefore A pixel and C pixel can form a pixel collection;For B pixel and
D pixel, due to (60-59)=1≤10;(31-30)=1≤10;(52-50)=2≤10, therefore B pixel and D pixel can
To form a pixel collection.Two pixel collections, respectively pixel collection " A pixel may finally be obtained;C picture
Element " and pixel collection " B pixel;D pixel ".
It is understood that above-mentioned terminal can extract the composition pixel point set of pixel similar in color by this step
It closes.
Step 4042, it for the pixel collection at least one pixel collection, determines included by the pixel collection
Pixel quantity.
Herein, for the pixel collection at least one pixel collection, above-mentioned terminal can determine the pixel
The quantity of the included pixel of set.
Step 4043, based on identified quantity, selected pixels point set is as mesh from least one pixel collection
Mark pixel collection.
Herein, based on identified quantity, above-mentioned executing subject can be by various modes from least one pixel
A pixel collection is chosen in set as object pixel point set.For example, can be selected from least one pixel collection
The pixel collection for taking included pixel quantity most is as object pixel point set;Alternatively, above-mentioned executing subject can be with
Two more pixel collections of included pixel quantity are chosen from least one pixel collection first as candidate
Pixel collection.Then mean value computation is carried out to the color value of the pixel in two selected pixel collections, obtained each
Base colors value corresponding to a candidate pixel point set.Finally choose the corresponding biggish candidate pixel point of base colors value
Set is used as object pixel point set.
It should be noted that when each pixel collection generated includes the pixel of identical quantity, above-mentioned terminal
Can using various methods from least one pixel collection selected pixels point set as object pixel point set.For example,
It can randomly select, can also choose with the pixel collection where the pixel of maximum color value as object pixel point set
It closes.
Step 4044, the color value based on the pixel in object pixel point set, determines target color values.
Herein, above-mentioned terminal can use various methods, based on the color value of the pixel in object pixel point set,
Determine target color values.For example, above-mentioned terminal can carry out mean value meter to the color value of the pixel in object pixel point set
It calculates, obtains calculated result, and using calculated result as base colors value, and then be based on base colors value, determine target color values.
Herein, when the pixel in object pixel point set has the color value of multiple Color Channels, above-mentioned terminal can be directed to
Each Color Channel carries out mean value computation respectively, obtains candidate calculated result corresponding to Color Channel, finally utilizes candidate meter
It calculates result and forms calculated result.
It is understood that when ambient light intensity and the luminance difference of terminal display screen away from it is larger when, also can be to user
Eyesight generates adverse effect.Therefore, optionally, above-mentioned terminal be also based on current environment light intensity and acquired face
Color value determines target color values.Herein, target color values can be used for adjusting the background color of above-mentioned eyeshield image, with
After eyeshield image after making display screen vision-control, achieve the purpose that the brightness for adjusting interface shown by display screen.
Step 405, the color value of the pixel of initial eyeshield image is adjusted to target color values, obtains eyeshield figure
Picture.
In the present embodiment, based on the target color values determined in step 404, above-mentioned terminal can scheme initial eyeshield
The color value of the pixel of picture is adjusted to target color values, obtains eyeshield image.Specifically, above-mentioned terminal will can initially protect
The color value of whole pixels included by ophthalmically acceptable image is adjusted to target color values, can also be by initial eyeshield image institute
Including the color value of partial pixel point adjust target color values, specific regulative mode can preset by technical staff, or
Person is customized by the user.
In some optional implementations of the present embodiment, after above-mentioned terminal executes step 204, above-mentioned terminal may be used also
To obtain current time (i.e. time of image is used in acquisition eyeshield) as initial time;And execute following processing step: determining
Whether current time (time after initial time) and the difference of initial time are more than or equal to default time difference threshold value.In turn, above-mentioned
Terminal can be more than or equal to default time difference threshold value in response to the difference of determining current time and initial time and eyeshield mode is in
Open state obtains the interface that currently shows of display screen as new to eyeshield interface, and obtain newly in eyeshield interface
Image included by pixel color value;Based on acquired color value, new target color values are determined;Eyeshield is schemed
The color value of the pixel of picture is adjusted to identified target color values, when obtaining new eyeshield image, and obtaining current
Between as new initial time;Use new eyeshield to use image as eyeshield to use image and use new initial time as just
Begin the time, continues to execute above-mentioned processing step.With this, above-mentioned terminal can be right based on the color for the image that interface is currently shown
The background color of eyeshield image is updated, and improves the flexibility of information processing.
Herein, it should be noted that the open state of eyeshield mode referred specifically to starts eye-protecting function, shows eyeshield
With the state of image.The open state of eyeshield mode can state that is preset by determination, being used to indicate eyeshield mode shape
State information (such as Status Flag on state flag bit) determines.The state of eyeshield mode may include open state and closing
State.Status information can include but is not limited at least one of following: number, text, symbol.For example, status information can wrap
Include " 1 " and " 0 ", wherein " 1 " is used to characterize the open state of eyeshield mode, and " 0 " is used to characterize the closed state of eyeshield mode.
Particularly, the open state of above-mentioned eyeshield mode can also be by determining from above-mentioned initial time to current time this
Eyeshield END instruction whether is received in one period to determine, if not receiving eyeshield END instruction, can determine eyeshield
Mode is in the open state.Wherein, eyeshield END instruction can include but is not limited at least one of following: text, number, symbol
Number, picture, audio.Eyeshield END instruction can serve to indicate that above-mentioned terminal terminates eye-protecting function.Eyeshield END instruction can be
The instruction (such as phonetic order) of user's output, or the electronic equipment with the communication connection of above-mentioned terminal is (such as shown in Fig. 1
Server) send instruction.
In some optional implementations of the present embodiment, above-mentioned processing step can also include: in response to eyeshield mould
Formula is in close state, and deletes eyeshield image.Wherein, the closed state of eyeshield mode can use and above-mentioned eyeshield mode
The similar determination method of open state determines that details are not described herein again.It should be noted that in processing step, above-mentioned terminal
It can be in close state at any time in response to eyeshield mode, delete eyeshield image.For example, can current time with
It when the difference of initial time is more than or equal to default time difference threshold value, is in close state in response to eyeshield mode, deletes eyeshield figure
Picture can also be in response to eyeshield mode and close when current time and the difference of initial time are less than default time difference threshold value
State deletes eyeshield image.
Step 406, eyeshield image is shown.
In the present embodiment, the eyeshield image obtained based on step 405, above-mentioned terminal can show eyeshield image.
Above-mentioned steps 401, step 406 are consistent with step 201, the step 203 in previous embodiment respectively, above with respect to step
Rapid 201 and step 203 description be also applied for step 401, step and step 406, details are not described herein again.
Figure 4, it is seen that the processing information for terminal compared with the corresponding embodiment of Fig. 2, in the present embodiment
Method process 400 highlight based on to the image in eyeshield interface color create eyeshield image the step of.As a result, originally
The flexibility of information processing can be improved in the scheme of embodiment description, realizes more efficiently eyeshield.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, this application provides a kind of for terminal
One embodiment of the device of information is handled, the Installation practice is corresponding with embodiment of the method shown in Fig. 2, and the device is specific
It can be applied in various terminals.
As shown in figure 5, the device 500 of the processing information for terminal of the present embodiment include: interface determination unit 501,
Image creation unit 502, image-display units 503.Wherein, interface determination unit 501 is configured in response to receive eyeshield
Instruction, determines the interface that display screen is currently shown, and the interface that display screen is currently shown is determined as to eyeshield interface;Image
Creating unit 502 is configured to create eyeshield image, so that eyeshield is covered with image to eyeshield interface;Image-display units
503 are display configured to eyeshield image.
In the present embodiment, the terminal (such as terminal device shown in FIG. 1) including device 500 can also include display
Screen.The interface determination unit 501 of above-mentioned apparatus 500 can determine what display screen was currently shown in response to receiving eyeshield instruction
Interface, and the interface that display screen is currently shown are determined as to eyeshield interface.
In the present embodiment, based on interface determination unit 501 obtain to eyeshield interface, image creation unit 502 can be with
Eyeshield image is created, so that eyeshield is covered with image to eyeshield interface.
In the present embodiment, the eyeshield image obtained based on image creation unit 502, image-display units 503 can be with
Show eyeshield image.With this, when user's browse displays interface of eyeshield image, eye-protecting function may be implemented.
In some optional implementations of the present embodiment, image creation unit 502 may include: image creation mould
Block is configured to create initial eyeshield image;Color obtains module, is configured to obtain and be wrapped to the image in eyeshield interface
The color value of the pixel included;Color determination module is configured to determine target color values based on acquired color value;Face
Color adjustment module is configured to for the color value of the pixel of initial eyeshield image being adjusted to target color values, obtains eyeshield
Use image.
In some optional implementations of the present embodiment, color determination module may include: set generation module, quilt
The difference for being configured to extract color value in pixel included by the image to eyeshield interface is less than or equal to preset threshold
Pixel generates at least one pixel collection, wherein the difference of the color value of the every two pixel in pixel collection is small
In equal to preset threshold;Quantity determining module is configured to determine the pixel collection at least one pixel collection
The quantity of pixel included by the pixel collection;Set chooses module, is configured to based on identified quantity, from least
Selected pixels point set is as object pixel point set in one pixel collection;Color determines submodule, is configured to be based on
The color value of pixel in object pixel point set, determines target color values.
In some optional implementations of the present embodiment, color adaptation module may include: time-obtaining module, quilt
It is configured to for the color value of the pixel of initial eyeshield image to be adjusted to target color values, obtains eyeshield image, and obtain
Take current time as initial time;And device 500 further include: the first execution unit is configured to execute following processing step
It is rapid: to determine whether the difference of current time and initial time is more than or equal to default time difference threshold value;Second execution unit, is configured to
In response to determining that the difference of current time and initial time is more than or equal to default time difference threshold value and eyeshield mode is in the open state,
The interface that currently shows of display screen is obtained as new to eyeshield interface, and obtains being wrapped to the image in eyeshield interface newly
The color value of the pixel included;Based on acquired color value, new target color values are determined;By the pixel of eyeshield image
Color value be adjusted to identified target color values, obtain new eyeshield image, and obtain current time as newly
Initial time;Use new eyeshield to use image as eyeshield and use image and uses new initial time as initial time, after
It is continuous to execute processing step.
In some optional implementations of the present embodiment, processing step can also include: in response at eyeshield mode
In closed state, eyeshield image is deleted.
In some optional implementations of the present embodiment, device 500 can also include: strength determining unit, be matched
It is set to the light intensity of determining current environment;Instruction generation unit is configured in response to the intensity value of determining light intensity not
Belong to preset strength value range, generates eyeshield instruction.
It is understood that all units in the device 500 are opposite with each step in the method with reference to Fig. 2 description
It answers.Device 500 and wherein is equally applicable to above with respect to the operation of method description, the beneficial effect of feature and generation as a result,
The unit for including, details are not described herein.
The device provided by the above embodiment 500 of the application is referred to by image creation unit 501 in response to receiving eyeshield
It enables, determines the interface that display screen is currently shown, and the interface that display screen is currently shown is determined as then scheming to eyeshield interface
As the creation eyeshield image of creating unit 502, so that eyeshield is covered with image to eyeshield interface, and then image-display units 503
It shows eyeshield image, to by creation eyeshield image and be shown, realizes eye-protecting function.
Below with reference to Fig. 6, it illustrates the computer systems 600 for the terminal device for being suitable for being used to realize the embodiment of the present application
Structural schematic diagram.Terminal device shown in Fig. 6 is only an example, function to the embodiment of the present application and should not use model
Shroud carrys out any restrictions.
As shown in fig. 6, computer system 600 includes central processing unit (CPU) 601, it can be read-only according to being stored in
Program in memory (ROM) 602 or be loaded into the program in random access storage device (RAM) 603 from storage section 608 and
Execute various movements appropriate and processing.In RAM 603, also it is stored with system 600 and operates required various programs and data.
CPU 601, ROM 602 and RAM 603 are connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to always
Line 604.
I/O interface 605 is connected to lower component: the importation 606 including keyboard, mouse etc.;It is penetrated including such as cathode
The output par, c 607 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 608 including hard disk etc.;
And the communications portion 609 of the network interface card including LAN card, modem etc..Communications portion 609 via such as because
The network of spy's net executes communication process.Driver 610 is also connected to I/O interface 605 as needed.Detachable media 611, such as
Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 610, in order to read from thereon
Computer program be mounted into storage section 608 as needed.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description
Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium
On computer program, which includes the program code for method shown in execution flow chart.In such reality
It applies in example, which can be downloaded and installed from network by communications portion 609, and/or from detachable media
611 are mounted.When the computer program is executed by central processing unit (CPU) 601, limited in execution the present processes
Above-mentioned function.It should be noted that computer-readable medium described herein can be computer-readable signal media or
Computer readable storage medium either the two any combination.Computer readable storage medium for example can be --- but
Be not limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.
The more specific example of computer readable storage medium can include but is not limited to: have one or more conducting wires electrical connection,
Portable computer diskette, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only deposit
Reservoir (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory
Part or above-mentioned any appropriate combination.In this application, computer readable storage medium, which can be, any include or stores
The tangible medium of program, the program can be commanded execution system, device or device use or in connection.And
In the application, computer-readable signal media may include in a base band or the data as the propagation of carrier wave a part are believed
Number, wherein carrying computer-readable program code.The data-signal of this propagation can take various forms, including but not
It is limited to electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer
Any computer-readable medium other than readable storage medium storing program for executing, the computer-readable medium can send, propagate or transmit use
In by the use of instruction execution system, device or device or program in connection.Include on computer-readable medium
Program code can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc., Huo Zheshang
Any appropriate combination stated.
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the application, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use
The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box
The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually
It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse
Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding
The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction
Combination realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard
The mode of part is realized.Described unit also can be set in the processor, for example, can be described as: a kind of processor packet
Include interface determination unit, image creation unit, image-display units.Wherein, the title of these units is not under certain conditions
The restriction to the unit itself is constituted, for example, image creation unit is also described as " unit of creation eyeshield image ".
As on the other hand, present invention also provides a kind of computer-readable medium, which be can be
Included in terminal device described in above-described embodiment;It is also possible to individualism, and without in the supplying terminal device.
Above-mentioned computer-readable medium carries one or more program, when said one or multiple programs are held by the terminal device
When row, so that the terminal device: in response to receiving eyeshield instruction, determining the interface that display screen is currently shown, and will display
Shield the interface currently shown to be determined as to eyeshield interface;Eyeshield image is created, so that eyeshield is covered with image to eyeshield interface;
Show eyeshield image.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art
Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic
Scheme, while should also cover in the case where not departing from foregoing invention design, it is carried out by above-mentioned technical characteristic or its equivalent feature
Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed herein
Can technical characteristic replaced mutually and the technical solution that is formed.