CN105068838B - A kind of information processing method and electronic equipment - Google Patents

A kind of information processing method and electronic equipment Download PDF

Info

Publication number
CN105068838B
CN105068838B CN201510484782.5A CN201510484782A CN105068838B CN 105068838 B CN105068838 B CN 105068838B CN 201510484782 A CN201510484782 A CN 201510484782A CN 105068838 B CN105068838 B CN 105068838B
Authority
CN
China
Prior art keywords
screen
electronic equipment
controller
vision
instruction
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.)
Active
Application number
CN201510484782.5A
Other languages
Chinese (zh)
Other versions
CN105068838A (en
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510484782.5A priority Critical patent/CN105068838B/en
Publication of CN105068838A publication Critical patent/CN105068838A/en
Application granted granted Critical
Publication of CN105068838B publication Critical patent/CN105068838B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention discloses a kind of information processing method and electronic equipment, and method includes: to obtain the first instruction of instruction booting;Detect the ambient light information of the electronic equipment;The screen vision-control parameter of the electronic equipment is calculated based on the ambient light information;It is shown according to the screen that the screen vision-control parameter executes the electronic equipment.

Description

A kind of information processing method and electronic equipment
Technical field
The present invention relates to intelligent electronic device technical field more particularly to a kind of information processing methods and electronic equipment.
Background technique
The sensor for detecting ambient light information is equipped in current electronic equipment, the sensor is for detecting the electricity Ambient light information locating for sub- equipment.Electronic equipment is into described in operating system (OS, Operating System) afterwards starting Sensor carries out the detection of ambient light information, and the ambient light information based on acquisition generates screen according to screen adjustment algorithm and shows Adjustment parameter, the screen according to the screen vision-control parameter regulation electronic equipment are shown, so that the screen of electronic equipment is aobvious Show can environment locating for adaptive electronics carry out dynamic regulation.
But due to ambient light information in the prior art detection and screen display parameters adjusting be the electronic equipment into Enter and execute after OS, therefore, the electronic equipment can be used the electronic equipment to the adjustment process of its Showing Effectiveness On Screen User seen in (Showing Effectiveness On Screen adjusting will lead to screen flicker), cause user experience bad;In addition, in the prior art Ambient light information detection and the execution of screen adjustment algorithm need to occupy CPU loading (load), this is unfavorable for saving centre Device (CPU, Central Processing Unit) resource is managed, the booting efficiency of electronic equipment is influenced.
Summary of the invention
To solve existing technical problem, the embodiment of the present invention provides a kind of information processing method and electronic equipment.
The embodiment of the invention provides a kind of information processing methods, are applied to electronic equipment, which comprises
Obtain the first instruction of instruction booting;
Detect the ambient light information of the electronic equipment;
The screen vision-control parameter of the electronic equipment is calculated based on the ambient light information;
It is shown according to the screen that the screen vision-control parameter executes the electronic equipment.
The embodiment of the invention also provides a kind of electronic equipment, including first sensor, screen vision-control device and first Controller, the first sensor are used to detect the ambient light information of the electronic equipment;The screen vision-control device is used for The screen display parameters of the electronic equipment are adjusted, and executes screen based on the screen display parameters and shows, first control Device processed is for controlling the first sensor and the screen vision-control device;
First controller is also used to, and obtains the first instruction, and first instruction indicates the electronic equipment booting;It rings First instruction is answered, the first sensor is opened in triggering, and is obtained the first sensor and detected the resulting electronics The ambient light information of equipment;The ambient light information based on acquisition, and calculated according to preset screen adjustment algorithm and obtain institute The screen vision-control parameter of acquisition is exported and shows tune to the screen by the screen vision-control parameter for stating electronic equipment Save device;
The screen vision-control device is also used to, in the screen vision-control parameter for obtaining the first controller output When, it is arranged according to the register that the screen vision-control parameter carries out the screen vision-control device;Obtain the second instruction, institute The second instruction is stated to indicate to call display after the electronic equipment enters operating system OS;Second instruction is responded, according to described The screen that the setting of register executes the electronic equipment is shown.
A kind of information processing method and electronic equipment provided by the embodiment of the present invention, on an electronic device by bottom after electricity The register setting of screen vision-control device, the i.e. register of screen vision-control device are completed in hardware (i.e. the first controller) control It is arranged before electronic equipment enters OS, rather than later, it can be directly according to setting in this way after electronic equipment enters OS Register is completed screen and is shown, no longer needs to do register setting, thus adjustment process of the electronic equipment to its Showing Effectiveness On Screen Seen in the user that electronic equipment will not be used;In addition, the screen adjustment algorithm of the embodiment of the present invention is completed in bottom hardware, Without occupying CPU loading, is conducive to save cpu resource, promotes the booting efficiency of electronic equipment.
Detailed description of the invention
Fig. 1 a is the flow diagram one of the information processing method of the embodiment of the present invention one;
Fig. 1 b is the flow diagram two of the information processing method of the embodiment of the present invention one;
Fig. 2 is the flow diagram of the information processing method of the embodiment of the present invention two;
Fig. 3 is the flow diagram of the information processing method of the embodiment of the present invention three;
Fig. 4 is the flow diagram of the information processing method of the embodiment of the present invention four;
Fig. 5 is the composed structure schematic diagram of the electronic equipment of the embodiment of the present invention five;
Fig. 6 is the composed structure schematic diagram of the electronic equipment of the embodiment of the present invention six;
Fig. 7 is the flow diagram of the information processing method of the embodiment of the present invention six.
Specific embodiment
The technical solution of the present invention is further elaborated in the following with reference to the drawings and specific embodiments.
Embodiment one
The embodiment of the present invention one provides a kind of information processing method, is applied to electronic equipment, referring first to Fig. 1 a, comprising:
Step 001, the first instruction of instruction booting is obtained.
Step 002, the ambient light information of the electronic equipment is detected.
Step 003, the screen vision-control parameter of the electronic equipment is calculated based on the ambient light information.
Step 004, it is shown according to the screen that the screen vision-control parameter executes the electronic equipment.
Electronic equipment described in the embodiment of the present invention may include first sensor and screen vision-control device, first sensing Device is used to detect the ambient light information of the electronic equipment, and the screen vision-control device is used to adjust the screen of the electronic equipment Curtain display parameters, and execute screen based on the screen display parameters and show;The electronic equipment further includes the first controller, institute The first controller is stated for controlling the first sensor and the screen vision-control device;
So, first instruction for obtaining instruction booting can be with are as follows: first controller obtains the of instruction booting One instruction;
The ambient light information of the detection electronic equipment can be with are as follows: the first controller response first instruction, touching Hair opens the first sensor, and obtains the ambient light information that the first sensor detects the resulting electronic equipment;
The screen vision-control parameter for calculating electronic equipment based on ambient light information can be with are as follows: first controller The ambient light information based on acquisition, and it is aobvious according to the screen that preset screen adjustment algorithm calculates the acquisition electronic equipment Show adjustment parameter;
The screen for executing the electronic equipment according to screen vision-control parameter is shown can be with are as follows: first control Device exports the screen vision-control parameter of acquisition to the screen vision-control device, the screen vision-control device according to The screen vision-control parameter obtained carries out the register setting of the screen vision-control device;The screen vision-control Device obtains the second instruction, and second instruction indicates that the electronic equipment enters operating system (OS) and calls display afterwards;The screen Curtain vision-control device response second instruction, shows according to the screen that the setting of the register executes the electronic equipment.
Again as shown in Figure 1 b, the embodiment of the present invention one includes: based on the method that above-mentioned electronic equipment internal component is realized
Step 101, the first controller obtains the first instruction, and first instruction indicates the electronic equipment booting.
In the specific implementation process, first controller can be electronic equipment embedded controller (EC, Embeded Controller), first controller is the bottom hardware of the electronic equipment, is switched in the electronic equipment When, the bottom hardware of the electronic equipment is first powered up;So that is, in electronic equipment booting, the electronic equipment Bottom hardware obtain and be used to indicate the first instruction of electronic equipment booting (first instruction can be the instruction bottom The instruction that layer hardware powers on), and a bottom hardware of first controller as the electronic equipment, it can also obtain certainly First instruction.
It should be noted that the first controller described in the embodiment of the present invention is different from the CPU of the electronic equipment, That is first controller is the processor except CPU;The electronic equipment of the embodiment of the present invention can be personal computer (PC), mobile phone, PAD, laptop etc..
Step 102, the first sensor is opened in the first controller response first instruction, triggering, and described in acquisition First sensor detects the ambient light information of the resulting electronic equipment.
After first controller obtains the first instruction, processing relevant to first instruction is responded is executed, the processing is extremely It is powered on less including first controller and the first sensor is opened in first controller triggering;To described first After working sensor, first controller obtains the ambient light information that the first sensor detects resulting electronic equipment.
Wherein, first controller can provide engine for the first sensor, open described the to reach triggering The purpose of one sensor and control first sensor work.The first sensor can be RGB (RGB, Red Green Blue) sensor, or it is also possible to ALS (ambient light sensor, Ambient Light Sensor), the embodiment of the present invention is simultaneously It is not limited only to this.The ambient light information can be the colour temperature of environment light, the brightness of environment light etc., and the embodiment of the present invention is also simultaneously It is not limited only to this;Wherein, colour temperature is the photochromic scale for indicating environment light, and unit is K (Kelvin).When the first controller passes through After the first sensor is opened in the triggering of its sensor engine, the first sensor is powered on and is started to work, and described first passes Sensor detects the ambient light information (such as colour temperature, brightness) of the electronic equipment local environment, and will test result and be supplied to institute The first controller is stated, first control obtains the first sensor immediately and believes the testing result of environment light, i.e. environment light Breath.
Step 103, the ambient light information of first controller based on acquisition, and according to preset screen adjustment algorithm meter Calculate the screen vision-control parameter for obtaining the electronic equipment.
First controller information is after obtaining the ambient light information that the first sensor provides, based on first control The screen adjustment algorithm of device internal preset, which calculates, obtains corresponding screen vision-control parameter.Such as: the first controller can root According to the colour temperature of the environment light of acquisition, is calculated using preset screen adjustment algorithm and obtain corresponding screen vision-control parameter;Or Person, the first controller can also be calculated using preset screen adjustment algorithm and be obtained accordingly according to the brightness of the environment light of acquisition Screen vision-control parameter;Alternatively, the first controller can also be according to the colour temperature and brightness of the environment light of acquisition, using default Screen adjustment algorithm calculate and obtain corresponding screen vision-control parameter.The embodiment of the present invention is not limited to that.Moreover, this Inventive embodiments are not intended to limit the particular content of screen adjustment algorithm, in practical application, it is all can using ambient light information come The algorithm for calculating the screen vision-control parameter of electronic equipment, should belong to the protection scope of the embodiment of the present invention.
Step 104, the first controller exports the screen vision-control parameter of acquisition to the screen vision-control Device, the screen vision-control device carry out posting for the screen vision-control device according to the screen vision-control parameter of acquisition Storage setting.
First controller is after calculating the screen vision-control parameter for obtaining electronic equipment by screen adjustment algorithm, by institute It states screen vision-control parameter to export to the screen vision-control device, the screen vision-control device can be according to the institute of acquisition State the register that screen vision-control parameter resets the screen vision-control device.
It should be noted that the register of the screen vision-control device is to preset screen display ginseng at the beginning of powering on Several, the screen display parameters that the preset screen display parameters can be the electronic equipment default (or can be out Factory's setting);That is, not having or close intelligence described in the embodiment of the present invention in electronic equipment adjusts screen display parameters When function, electronic equipment can carry out screen in each booting with preset screen display parameters and show.
In practical applications, screen vision-control parameter described in the embodiment of the present invention can be to the preset screen The adjustment parameter of display parameters, that is to say, that the screen vision-control parameter is illustrated to be shown in the preset screen The adjusting of much offsets is carried out on the basis of parameter;The screen vision-control parameter can certainly directly give the screen The occurrence that the register of curtain vision-control device should be arranged, that is to say, that described in the screen vision-control parameter indicates The new setting value of the register of screen vision-control device.
When step 104 is finished, the register of the screen vision-control device of the electronic equipment has been provided with, And the value of the register setting is the display foundation of screen after the booting of this electronic equipment;Also, step 104 is described The register setting of screen vision-control device is completed before electronic equipment enters OS, then naturally, step 104 The screen vision-control device register setting more should be before electronic equipment enters OS and calls display function i.e. It completes.
Step 105, screen vision-control device obtains the second instruction, and second instruction indicates that the electronic equipment enters OS Display is called afterwards.
After step 104, electronic equipment enters OS, and when OS calls display function, screen vision-control device can be obtained Obtain the second instruction.
Step 106, screen vision-control device response second instruction executes the electricity according to the setting of the register The screen of sub- equipment is shown.
Screen vision-control device executes the relevant treatment of response second instruction, the place after the instruction of acquisition second Reason is included at least to be shown according to the screen that the setting of the register of the screen vision-control device executes the electronic equipment, that is, is controlled The screen for making the electronic equipment is shown according to the setting parameter of the register of the screen vision-control device.
It should be noted that usually can first power on to bottom hardware after electronic equipment booting, the first controller is exactly described One of bottom hardware, bottom hardware power on rear electronic equipment and enter OS, into OS after call display function.So namely It says, the first controller according to embodiments of the present invention has controlled before electronic equipment enters OS and completed screen vision-control device pair The setting of its register, the register parameters of setting be with the most adaptable screen display parameters of electronic equipment local environment, because This, when electronic equipment enters OS and calls display function, screen vision-control device can directly be held according to the register of setting The screen of row electronic equipment is shown.Compared with prior art, the embodiment of the present invention on an electronic device electricity after by bottom hardware (i.e. First controller) control the register setting for completing screen vision-control device, i.e. the register setting of screen vision-control device exists Electronic equipment enters before OS, rather than later, it can be directly according to the register of setting in this way after electronic equipment enters OS It completes screen to show, no longer needs to do register setting, so that electronic equipment will not be by the adjustment process of its Showing Effectiveness On Screen It (because the parameter regulation of register is before calling display function rather than later, calls and shows seen in user using electronic equipment Show that function no longer needs to adjust register setting later);In addition, the screen adjustment algorithm of the embodiment of the present invention is complete in bottom hardware At being conducive to save cpu resource, promote the booting efficiency of electronic equipment without occupying CPU loading.
Embodiment two
Second embodiment of the present invention provides continuity processing on the basis of embodiment one, that is to say, that the embodiment of the present invention two Processing after embodiment one.Referring specifically to shown in Fig. 2, enter OS in the electronic equipment and according to the register Be arranged execute the electronic equipment screen show after, the method can also include:
Step 107, third instruction is obtained, the third instruction indicates that the electronic equipment enters first state, described Under first state, the screen of the electronic equipment is not necessarily to that display is adjusted according to the ambient light information of the electronic equipment.
After electronic equipment execution screen is normally shown, electronic equipment obtains third instruction, to know that electronic equipment needs To enter first state.First state described in the embodiment of the present invention such as dormant state, power down mode, standby mode etc., this Inventive embodiments are not limited to that;That is, in said first condition, the screen of electronic equipment is not necessarily to according to the electricity Display is adjusted in the ambient light information of sub- equipment, i.e., the intelligence for closing electronic equipment in the first state adjusts what screen was shown Function.Certainly, the first state of the embodiment of the present invention is not limited only to the intrinsic state of above-mentioned electronic equipment, is also possible to user After screen display parameters are manually adjusted a certain numerical value, the intelligence for closing electronic equipment adjusts the function that screen is shown.No matter How, in a word in said first condition, electronic equipment, which no longer has, intelligently adjusts the function that screen is shown according to ambient light information Energy.
Step 108, first controller responds the third instruction, and enters first state in the electronic equipment When, obtain the corresponding screen display parameters of the first state.
After first controller obtains the third instruction, processing relevant to the third instruction is responded is executed;Institute It states the first controller and obtains the corresponding screen display parameters of first state, such as: when entering suspend mode, power saving or standby mode, First controller can obtain the screen display parameters of the correspondence suspend mode, power saving or standby mode that electronic equipment prestores;Again Such as: screen display parameters are manually adjusted into a certain numerical value if it is user and close the function that intelligence adjusting screen is shown, So the first controller obtains the screen display parameters of user's manual setting.
Step 109, first controller exports the corresponding screen display parameters of the first state to the screen Vision-control device, the screen vision-control device carry out the screen vision-control device according to the screen display parameters of acquisition Register setting, and shown according to the screen that the setting of the register executes the electronic equipment.
Electronic equipment enters the display that first state needs screen to complete adaptability, i.e. the first controller is by first state pair The screen display parameters answered, which export, gives screen vision-control device, and screen vision-control device is carried out according to the screen display parameters of acquisition Register setting, and execute screen according to the setting of register and show;The screen is shown until electronic equipment has newly screen Display demand.
It should be noted that the operating process of the embodiment of the present invention two can also be executed by the CPU of electronic equipment, that is, use The CPU of electronic equipment carrys out the execution of the first controller in alternate embodiment two;But for example mitigates cpu load, can choose by the One controller executes the operating process of embodiment two.
Embodiment three
The embodiment of the present invention three provides continuity processing on the basis of embodiment two, that is to say, that the embodiment of the present invention three Processing after embodiment two.Referring specifically to shown in Fig. 3, enters first state in the electronic equipment and posted according to described After the screen that the setting of storage executes the electronic equipment is shown, the method also includes:
Step 110, the 4th instruction is obtained, the 4th instruction indicates that the electronic equipment enters the second state, described Under second state, display need to be adjusted according to the ambient light information of the electronic equipment in the screen of the electronic equipment.
Electronic equipment knows that electronic equipment needs to enter the second state when obtaining the 4th instruction.Institute of the embodiment of the present invention The second state stated refers to that the intelligence for opening electronic equipment adjusts the state of screen display function, i.e., in the second condition, opens The intelligence of electronic equipment adjusts the function that screen is shown, that is to say, that in the second condition, electronic equipment is needed according to the electricity Display is adjusted in the ambient light information of sub- equipment.Second state such as user trigger the state of some application in OS, user The state etc. of normal operating electronic equipment screen.
Step 111, first controller response the 4th instruction, and the electronic equipment enter the second state it Before, the first sensor is opened in triggering, and obtains the environment light that the first sensor detects the resulting electronic equipment Information.
First controller is after obtaining the 4th instruction, it is also desirable to before electronic equipment enters the second state, especially exist Before the adaptation that the screen of electronic equipment enters the second state is shown, the first sensor, first sensing are opened in triggering Device detects the ambient light information (such as colour temperature, brightness) of the electronic equipment local environment, and will test result be supplied to it is described First controller, first control obtain the first sensor to the testing result of environment light, i.e. ambient light information immediately.
Step 112, the ambient light information of first controller based on acquisition, and calculated according to preset screen adjustment Method calculates the screen vision-control parameter for obtaining the electronic equipment.
First controller information is after obtaining the ambient light information that the first sensor provides, based on first control The screen adjustment algorithm of device internal preset, which calculates, obtains corresponding screen vision-control parameter.Such as: the first controller can root According to the colour temperature of the environment light of acquisition, is calculated using preset screen adjustment algorithm and obtain corresponding screen vision-control parameter;Or Person, the first controller can also be calculated using preset screen adjustment algorithm and be obtained accordingly according to the brightness of the environment light of acquisition Screen vision-control parameter;Alternatively, the first controller can also be according to the colour temperature and brightness of the environment light of acquisition, using default Screen adjustment algorithm calculate and obtain corresponding screen vision-control parameter.The embodiment of the present invention is not limited to that.Moreover, this Inventive embodiments are not intended to limit the particular content of screen adjustment algorithm, in practical application, it is all can using ambient light information come The algorithm for calculating the screen vision-control parameter of electronic equipment, should belong to the protection scope of the embodiment of the present invention.
Step 113, the screen vision-control parameter of acquisition is exported and is shown to the screen by first controller Adjuster, the screen vision-control device carry out the screen vision-control device according to the screen vision-control parameter of acquisition Register setting.
First controller is after calculating the screen vision-control parameter for obtaining electronic equipment by screen adjustment algorithm, by institute It states screen vision-control parameter to export to the screen vision-control device, the screen vision-control device can be according to the institute of acquisition State the register that screen vision-control parameter resets the screen vision-control device.
In practical applications, the screen vision-control parameter can be the adjusting offset of screen vision-control parameter, It can certainly be that the occurrence that the register of the screen vision-control device should be arranged (is used to substitute old register count The new value of value).
Step 114, when the electronic equipment enters the second state, the electronics is executed according to the setting of the register The screen of equipment is shown.
When step 113 is finished, the register of the screen vision-control device of the electronic equipment has been provided with, And the value of the register setting is the display foundation that this electronic equipment enters screen after the second state;Also, step The 113 screen vision-control device register setting be electronic equipment enter the second state display function before i.e. It completes.
In the embodiment of the present invention, due to being to be completed before the display function that electronic equipment enters the second state to screen The register setting of curtain vision-control device, rather than later, in this way after the display function that electronic equipment enters the second state i.e. Screen directly can be completed according to the register of setting to show, no longer need to do register setting, so that electronic equipment is aobvious to its screen Show that the adjustment process of effect will not be used seen in the user of electronic equipment (because the parameter regulation of register is calling display function Can before rather than later, call display function after no longer need to adjust register setting);In addition, the screen of the embodiment of the present invention It adjusts algorithm to complete in bottom hardware, without occupying CPU loading, is conducive to save cpu resource.
Example IV
The embodiment of the present invention four is implemented to show it in the screen that the setting according to register executes the electronic equipment Afterwards, after can be the step 106 described in embodiment one, it is also possible to after the step 109 described in embodiment two, may be used also After being the step 114 described in embodiment three;As shown in figure 4, the method for the embodiment of the present invention four includes:
Step 115, the first controller obtains the 5th instruction, and the 5th instruction indicates the electronic equipment shutdown.
After electronic equipment is shown according to the screen that the setting of register executes the electronic equipment, electronic equipment is obtained 5th instruction, it is described 5th instruction instruction electronic equipment shutdown, due to the first controller be electronic equipment bottom hardware, first Controller can obtain the 5th instruction.
Step 116, first controller notifies the screen vision-control device to set the electronics for register and set Standby booting initial screen display parameters.
First controller can notify the screen vision-control device that register is arranged after obtaining the 5th instruction For the screen display parameters (or can be factory initial setting up) of electronic equipment default.
Certainly, if the method that electronic equipment default booting is carried out the embodiment of the present invention one, the operation of step 116 It can not also execute, because carrying out screen display parameters tune in electronic equipment booting Shi Douhui adaptive environment optical information every time Section;If electronic equipment is not the method that default booting is carried out the embodiment of the present invention one, it is aobvious that screen is set during shutdown Show that the register of adjuster just seems that it is necessary to can at least guarantee electronic equipment in this way for booting initial screen display parameters It can normally be shown by booting initial screen display parameters in each booting.
Embodiment five
The information processing method of the corresponding embodiment of the present invention, the embodiment of the present invention five additionally provide a kind of electronic equipment, such as Shown in Fig. 5, which includes first sensor 10, screen vision-control device 20 and the first controller 30, and described first passes Sensor 10 is used to detect the ambient light information of the electronic equipment;The screen vision-control device 20 is set for adjusting the electronics Standby screen display parameters, and execute screen based on the screen display parameters and show, first controller 30 is for controlling The first sensor 10 and the screen vision-control device 20;
First controller 30 is also used to, and obtains the first instruction, and first instruction indicates the electronic equipment booting;Response First instruction, the first sensor 10 is opened in triggering, and is obtained the first sensor 10 and detected the resulting electricity The ambient light information of sub- equipment;The ambient light information based on acquisition, and calculate and obtain according to preset screen adjustment algorithm The screen vision-control parameter of acquisition is exported and is shown to the screen by the screen vision-control parameter of the electronic equipment Adjuster 20;
Screen vision-control device 20 is also used to, in the screen vision-control parameter for obtaining the output of the first controller 30 When, it is arranged according to the register that the screen vision-control parameter carries out the screen vision-control device;Obtain the second instruction, institute The second instruction is stated to indicate to call display after the electronic equipment enters OS;Second instruction is responded, according to the register It is arranged and executes the screen of the electronic equipment and show.
In an embodiments possible, the first controller 30 is also used to, and enters OS in the electronic equipment and according to described After the screen that the setting of register executes the electronic equipment show, first controller 30 obtains third and instructs, and described the Three instructions indicate that the electronic equipment enters first state, and in said first condition, the screen of the electronic equipment is not necessarily to root Display is adjusted according to the ambient light information of the electronic equipment;
First controller 30 responds the third instruction, and when the electronic equipment enters first state, obtains The corresponding screen display parameters of the first state, the corresponding screen display parameters of the first state are exported to the screen Vision-control device 20;
The screen vision-control device 20 is also used to, and is carried out the screen according to the screen display parameters of acquisition and is shown The register of adjuster 20 is arranged, and shows according to the screen that the setting of the register executes the electronic equipment.
In an embodiments possible, the first controller 30 is also used to, the electronic equipment enter first state and by According to the register setting execute the electronic equipment screen show after, first controller 30 obtains the 4th and instructs, 4th instruction indicates that the electronic equipment enters the second state, in said second condition, the screen of the electronic equipment Display need to be adjusted according to the ambient light information of the electronic equipment;
First controller 30 responds the 4th instruction, and before the electronic equipment enters the second state, touching Hair opens the first sensor 10, and obtains the environment light letter that the first sensor 10 detects the resulting electronic equipment Breath;The ambient light information based on acquisition, and the screen for obtaining the electronic equipment is calculated according to preset screen adjustment algorithm Curtain vision-control parameter, the screen vision-control parameter of acquisition is exported to the screen vision-control device 20;
The screen vision-control device 20 is also used to, and carries out the screen according to the screen vision-control parameter of acquisition The register of vision-control device 20 is arranged;When the electronic equipment enters the second state, held according to the setting of the register The screen of the row electronic equipment is shown.
In an embodiments possible, the first controller 30 is also used to, described in the setting execution according to register After the screen of electronic equipment is shown, first controller 30 obtains the 5th instruction, and the 5th instruction indicates that the electronics is set Standby shutdown;First controller 30 notifies the screen vision-control device 20 to set opening for the electronic equipment for register Machine initial screen display parameters;
Screen vision-control device 20 is also used to, and according to the notice of first controller 30, sets described for register The booting initial screen display parameters of electronic equipment.
In an embodiments possible, first controller 30 is adjusted with the first sensor 10 and screen display The connection of internal integrated circuit (I2C, Inter-Integrated Circuit) bus can be respectively adopted between section device 20.
Above- mentioned information processing method and electronic equipment are further elaborated below with reference to a specific example.
Embodiment six
Electronic equipment described in the embodiment of the present invention six is PC, and the internal structure of the PC is as shown in fig. 6, EC sets for electronics Standby embedded controller, EC and display pass through I2C bus respectively and are connected with CPU, and RGB/ALS is for monitoring environment light letter The sensor of breath, EC are connected with RGB/ALS also by I2C bus, and EC provides sensor engine for triggering and controlling RGB/ ALS;Display has sequence controller (TCON, Timing Controller), and the screen that TCON is used to control display is aobvious Show;EC also has the function of display parameters setting, and for the register of TCON to be arranged, the register of TCON is shown for saving screen Parameter.
Based on electronic devices structure shown in fig. 6, specific information process is mainly comprised the steps that referring to Fig. 7
Step 701, when PC is switched on, EC obtains the first instruction for being used to indicate PC booting, as on the EC of bottom hardware Electricity.
Step 702, EC response first instruction opens RGB sensor (with RGB by the sensor engine triggering of EC It is illustrated for sensor).
Step 703, the ambient light information of PC local environment is detected after the starting of RGB sensor, and will test result and is supplied to EC, EC obtain the RGB sensor and detect resulting ambient light information.
Step 704, EC calculates the screen vision-control parameter for obtaining PC according to preset screen adjustment algorithm.
Step 705, EC is set according to the screen vision-control parameter obtained, and by the display parameters of the calling EC Function is set, the register setting of TCON is carried out.
Step 706, after register is provided with, TCON judges whether the display function of PC opens, and such as opens, executes step Rapid 707;Otherwise continue to judge.
When entering OS in PC, and calling display function, TCON obtains the second instruction, and the second instruction instruction PC enters OS And call display function.
Step 707, TCON is arranged according to the register of the TCON and executes when whether the display function for judging PC opens The screen of the PC is shown.
It should be noted that usually PC booting after can first be powered on to bottom hardware, EC be exactly the bottom hardware wherein it One, bottom hardware powers on rear PC and enters OS, into OS after call display function.So that is, according to embodiments of the present invention EC has controlled the setting for completing TCON to its register before PC enters OS, and the register parameters of setting are as and locating for PC The most adaptable screen display parameters of environment, therefore, when PC enters OS and calls display function, TCON can be directly according to setting Register execute PC screen show.Compared with prior art, the embodiment of the present invention after PC is powered on by bottom hardware (i.e. EC) the register setting of TCON is completed in control, i.e. the register of TCON is arranged before PC enters OS, rather than later, exist in this way PC can directly be shown according to the register completion screen of setting after entering OS, no longer need to do register setting, thus electronics Equipment will not use the adjustment process of its Showing Effectiveness On Screen seen in the user of PC (because the parameter regulation of register is being adjusted It no longer needs to adjust register setting after display function with before display function rather than later, calling);In addition, the present invention is implemented The screen adjustment algorithm of example is completed in bottom hardware, without occupying CPU loading, is conducive to save cpu resource, is promoted PC Booting efficiency.
In addition, entering OS in an embodiment in the PC and executing the PC according to the setting of the register Screen show after, the method for the embodiment of the present invention six may also include that
PC enters such as suspend mode, power saving, standby first state, and EC is when the PC enters first state, acquisition described the The corresponding screen display parameters of one state;
EC exports the corresponding screen display parameters of the first state to the TCON, and the TCON is according to the institute of acquisition The register setting that screen display parameters carry out the TCON is stated, and executes the screen of the PC according to the setting of the register Display.
In another embodiment, enters OS in the PC and execute the PC's according to the setting of the register After screen is shown, the method for the embodiment of the present invention six may also include that
PC enters such as suspend mode, power saving, standby first state, and CPU is when the PC enters first state, acquisition described the The corresponding screen display parameters of one state;
CPU exports the corresponding screen display parameters of the first state to the TCON, and the TCON is according to acquisition The screen display parameters carry out the register setting of the TCON, and the screen of the PC is executed according to the setting of the register Curtain display.
In another embodiment, enters first state in the PC and execute institute according to the setting of the register State PC screen show after, the method for the embodiment of the present invention six may also include that
PC obtains the 4th instruction being used to indicate into the second state, and in said second condition, the screen of PC needs basis Display is adjusted in ambient light information;
EC obtains the 4th instruction, and before the PC enters the second state, the RGB sensor is opened in triggering, And obtain the ambient light information that the RGB sensor detects the resulting PC;
The ambient light information of the EC based on acquisition, and the screen for obtaining the PC is calculated according to preset screen adjustment algorithm Curtain vision-control parameter;
EC exports the screen vision-control parameter of acquisition to TCON, and the TCON is aobvious according to the screen of acquisition Show that adjustment parameter carries out the register setting of the TCON;
When the PC enters the second state, TCON executes the screen of the electronic equipment according to the setting of the register Display.
In another embodiment, it is shown in the screen that the setting according to register executes the electronic equipment Afterwards, the method for the embodiment of the present invention six may also include that
EC obtains the 5th instruction, and the 5th instruction indicates the PC shutdown;
The EC notifies the TCON to set register to the booting initial screen display parameters of the electronic equipment.
Certainly, if the method that PC default booting is carried out the embodiment of the present invention one, register is arranged when shutting down Operation for the initial screen display parameters that are switched on can not also execute, because every time in PC booting Shi Douhui adaptive environment light letter Breath carries out screen display parameters adjusting;If PC is not the method that default booting is carried out the embodiment of the present invention one, closing The register that TCON is arranged when machine is that booting initial screen display parameters just seem that it is necessary to can at least guarantee that PC exists in this way It can normally be shown by booting initial screen display parameters when booting every time.
In several embodiments provided by the present invention, it should be understood that disclosed method, apparatus and electronic equipment, It may be implemented in other ways.Apparatus embodiments described above are merely indicative, for example, the unit is drawn Point, only a kind of logical function partition, there may be another division manner in actual implementation, such as: multiple units or components can To combine, or it is desirably integrated into another system, or some features can be ignored or not executed.In addition, shown or discussed The mutual coupling of each component part or direct-coupling or communication connection can be through some interfaces, equipment or unit Indirect coupling or communication connection can be electrical, mechanical or other forms.
Above-mentioned unit as illustrated by the separation member, which can be or may not be, to be physically separated, aobvious as unit The component shown can be or may not be physical unit, it can and it is in one place, it may be distributed over multiple network lists In member;Some or all of units can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
In addition, each functional unit in various embodiments of the present invention can be fully integrated in one processing unit, it can also To be each unit individually as a unit, can also be integrated in one unit with two or more units;It is above-mentioned Integrated unit both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned include: movable storage device, it is read-only Memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or The various media that can store program code such as person's CD.
If alternatively, the above-mentioned integrated unit of the embodiment of the present invention is realized in the form of software function module and as independence Product when selling or using, also can store in a computer readable storage medium.Based on this understanding, this hair Substantially the part that contributes to existing technology can body in the form of software products in other words for the technical solution of bright embodiment Reveal and, which is stored in a storage medium, including some instructions are with so that a computer is set Standby (can be personal computer, server or network equipment etc.) executes the whole of each embodiment the method for the present invention Or part.And storage medium above-mentioned include: movable storage device, read-only memory (ROM, Read-Only Memory), with Machine accesses various Jie that can store program code such as memory (RAM, Random Access Memory), magnetic or disk Matter.
In consideration of it, the storage medium includes one the embodiment of the invention also provides a kind of computer readable storage medium Group computer executable instructions, described instruction is for executing information processing method described in the embodiment of the present invention.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (10)

1. a kind of information processing method is applied to electronic equipment, which comprises
First controller of the electronic equipment obtains the first instruction of instruction booting;Wherein, first controller is insertion Formula controller;
First controller response, first instruction, the first sensor of the electronic equipment is opened in triggering, and obtains institute State the ambient light information that first sensor detects the electronic equipment;
First controller calculates the screen vision-control parameter of the electronic equipment based on the ambient light information;
First controller exports the screen vision-control parameter to the screen vision-control device of the electronic equipment, makes The screen vision-control device carries out register setting according to the screen vision-control parameter;
The electronic equipment enters operating system, when the operating system calls display function, the screen vision-control device Obtain the second instruction;
Screen vision-control device response second instruction, executes the electronic equipment according to the setting of the register Screen is shown.
2. information processing method according to claim 1, which is characterized in that the electronic equipment enter operating system and After being shown according to the screen that the setting of the register executes the electronic equipment, the method also includes:
Third instruction is obtained, the third instruction indicates that the electronic equipment enters first state, in said first condition, institute The screen for stating electronic equipment is not necessarily to that display is adjusted according to the ambient light information of the electronic equipment;
First controller responds the third instruction, and when the electronic equipment enters first state, obtains described the The corresponding screen display parameters of one state;
First controller exports the corresponding screen display parameters of the first state to the screen vision-control device, institute Screen vision-control device is stated to be arranged according to the register that the screen display parameters of acquisition carry out the screen vision-control device, And it is shown according to the screen that the setting of the register executes the electronic equipment.
3. information processing method according to claim 2, which is characterized in that the electronic equipment enter first state and After being shown according to the screen that the setting of the register executes the electronic equipment, the method also includes:
The 4th instruction is obtained, the 4th instruction indicates that the electronic equipment enters the second state, in said second condition, institute Display need to be adjusted according to the ambient light information of the electronic equipment in the screen for stating electronic equipment;
First controller response the 4th instruction, and before the electronic equipment enters the second state, triggering is opened The first sensor, and obtain the ambient light information that the first sensor detects the resulting electronic equipment;
The ambient light information of first controller based on acquisition, and calculated according to preset screen adjustment algorithm and obtain institute State the screen vision-control parameter of electronic equipment;
First controller exports the screen vision-control parameter of acquisition to the screen vision-control device, the screen Curtain vision-control device is arranged according to the register that the screen vision-control parameter of acquisition carries out the screen vision-control device;
When the electronic equipment enters the second state, the screen for executing the electronic equipment according to the setting of the register is aobvious Show.
4. according to claim 1,2 or 3 information processing method, which is characterized in that in the setting according to the register Set execute the electronic equipment screen show after, the method also includes:
First controller obtains the 5th instruction, and the 5th instruction indicates the electronic equipment shutdown;
The booting that first controller notifies the screen vision-control device to set the electronic equipment for register is initial Screen display parameters.
5. according to claim 1,2 or 3 information processing method, which is characterized in that first controller and described first The connection of internal integrated circuit I2C bus is respectively adopted between sensor and the screen vision-control device.
6. a kind of electronic equipment, including first sensor, screen vision-control device and the first controller, the first sensor is used In the ambient light information for detecting the electronic equipment;The screen that the screen vision-control device is used to adjust the electronic equipment is aobvious Show parameter, and execute screen based on the screen display parameters and show, first controller is for controlling first sensing Device and the screen vision-control device;Wherein, first controller is embedded controller;
First controller is also used to, and obtains the first instruction, and first instruction indicates the electronic equipment booting;Response institute The first instruction is stated, the first sensor is opened in triggering, and is obtained the first sensor and detected the resulting electronic equipment Ambient light information;The ambient light information based on acquisition, and calculated according to preset screen adjustment algorithm and obtain the electricity The screen vision-control parameter of sub- equipment exports the screen vision-control parameter of acquisition to the screen vision-control Device;
The screen vision-control device is also used to, when obtaining the screen vision-control parameter of the first controller output, root The register setting of the screen vision-control device is carried out according to the screen vision-control parameter;Obtain the second instruction, described the Two instructions indicate to call display after the electronic equipment enters operating system;Second instruction is responded, according to the register Setting execute the screen of the electronic equipment and show.
7. electronic equipment according to claim 6, which is characterized in that
First controller is also used to, and is entered operating system in the electronic equipment and is held according to the setting of the register After the screen of the row electronic equipment is shown, first controller obtains third instruction, and the third instruction indicates the electricity Sub- equipment enters first state, and in said first condition, the screen of the electronic equipment is not necessarily to according to the electronic equipment Display is adjusted in ambient light information;
First controller responds the third instruction, and when the electronic equipment enters first state, obtains described the The corresponding screen display parameters of the first state are exported and show tune to the screen by the corresponding screen display parameters of one state Save device;
The screen vision-control device is also used to, and carries out the screen vision-control device according to the screen display parameters of acquisition Register setting, and shown according to the screen that the setting of the register executes the electronic equipment.
8. electronic equipment according to claim 7, which is characterized in that
First controller is also used to, and is entered first state in the electronic equipment and is held according to the setting of the register After the screen of the row electronic equipment is shown, first controller obtains the 4th instruction, and the 4th instruction indicates the electricity Sub- equipment enters the second state, and in said second condition, the screen of the electronic equipment need to be according to the ring of the electronic equipment Display is adjusted in border optical information;
First controller response the 4th instruction, and before the electronic equipment enters the second state, triggering is opened The first sensor, and obtain the ambient light information that the first sensor detects the resulting electronic equipment;Based on obtaining The ambient light information obtained, and the screen vision-control for obtaining the electronic equipment is calculated according to preset screen adjustment algorithm Parameter exports the screen vision-control parameter of acquisition to the screen vision-control device;
The screen vision-control device is also used to, and is carried out the screen display according to the screen vision-control parameter of acquisition and is adjusted Save the register setting of device;When the electronic equipment enters the second state, the electricity is executed according to the setting of the register The screen of sub- equipment is shown.
9. according to claim 6,7 or 8 electronic equipments, which is characterized in that
First controller is also used to, and is shown in the screen that the setting according to the register executes the electronic equipment Afterwards, first controller obtains the 5th instruction, and the 5th instruction indicates the electronic equipment shutdown;First controller The screen vision-control device is notified to set register to the booting initial screen display parameters of the electronic equipment;
The screen vision-control device is also used to, and according to the notice of first controller, sets the electronics for register The booting initial screen display parameters of equipment.
10. according to claim 6,7 or 8 electronic equipments, which is characterized in that first controller and first sensing The connection of internal integrated circuit I2C bus is respectively adopted between device and the screen vision-control device.
CN201510484782.5A 2015-08-07 2015-08-07 A kind of information processing method and electronic equipment Active CN105068838B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510484782.5A CN105068838B (en) 2015-08-07 2015-08-07 A kind of information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510484782.5A CN105068838B (en) 2015-08-07 2015-08-07 A kind of information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN105068838A CN105068838A (en) 2015-11-18
CN105068838B true CN105068838B (en) 2019-05-31

Family

ID=54498216

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510484782.5A Active CN105068838B (en) 2015-08-07 2015-08-07 A kind of information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN105068838B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105577932B (en) * 2015-12-29 2019-10-25 Oppo广东移动通信有限公司 A kind of screen luminance adjustment method and mobile terminal
CN106409270A (en) * 2016-09-21 2017-02-15 南京百敖软件有限公司 Method for automatically adjusting backlight brightness of device screen
CN108122528A (en) * 2017-12-13 2018-06-05 广东欧珀移动通信有限公司 Display control method and related product
CN108877737A (en) * 2018-06-12 2018-11-23 努比亚技术有限公司 Screen adjustment method, mobile terminal and computer readable storage medium
CN109348049B (en) * 2018-09-28 2021-01-29 Oppo广东移动通信有限公司 Light effect display method, related device and storage medium
CN112233626A (en) * 2020-10-29 2021-01-15 昆山龙腾光电股份有限公司 Backlight adjusting device, backlight adjusting method and display device

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100419847C (en) * 2005-03-25 2008-09-17 联想(北京)有限公司 Display device and display method
KR20070116830A (en) * 2005-04-01 2007-12-11 코닌클리케 필립스 일렉트로닉스 엔.브이. Reflective display panel with brightness control depending on ambient brightness
EP1850316A1 (en) * 2006-04-25 2007-10-31 ASUSTeK Computer Inc. Display device capable of compensating for luminance of environments
CN101153903A (en) * 2006-09-25 2008-04-02 佛山市顺德区顺达电脑厂有限公司 Global positioning system navigation device with automatic brightness adjusting function and screen brightness regulation method
CN100583965C (en) * 2007-06-01 2010-01-20 海尔集团公司 Brightness control method and control system for on and off of TV set
CN101262563B (en) * 2008-03-24 2012-06-06 中兴通讯股份有限公司 A method for automatically adjusting brightness of video header of a mobile phone
CN101404148B (en) * 2008-11-11 2013-03-13 宇龙计算机通信科技(深圳)有限公司 Method for regulating terminal screen display effect and terminal unit
CN203204842U (en) * 2013-04-22 2013-09-18 百年金海安防科技有限公司 Intelligent light control system for traffic LED light supplement lamps
CN104347018A (en) * 2013-08-09 2015-02-11 联想(北京)有限公司 Method and electronic equipment for adjusting backlight
CN104575447A (en) * 2015-02-11 2015-04-29 京东方科技集团股份有限公司 Brightness adjusting device and method thereof and display
CN106033666B (en) * 2015-03-18 2019-02-05 联想(北京)有限公司 A kind of information processing method and electronic equipment

Also Published As

Publication number Publication date
CN105068838A (en) 2015-11-18

Similar Documents

Publication Publication Date Title
CN105068838B (en) A kind of information processing method and electronic equipment
CN103677192B (en) There is electronic installation and the method for managing power supply thereof of electric power management mechanism
WO2016068620A1 (en) Electronic device and method of controlling power of electronic device
US9665166B2 (en) Method for adjusting shutdown threshold voltage, startup method, and electronic devices thereof
CN102122483B (en) Method and system for monitoring LED (light-emitting diode) display screen as well as LED display
US8773194B2 (en) Method, apparatus and system for adaptively adjusting voltage
CN103489429B (en) A kind of method adjusting brightness and electronic equipment
CN107993604A (en) The adjusting method and equipment of a kind of display screen
CN104853025B (en) A kind of control method and device of mobile terminal
CN110209428A (en) A kind of terminal screen awakening method, device, terminal and storage medium
CN104424915A (en) Electronic apparatus and method for controlling brightness for display
CN110515462A (en) It is a kind of intelligence wearable device in apply control method, device
CN109067416A (en) A kind of method and Intelligent hardware for realizing SIM card hot plug and starting
CN105847527B (en) A kind of method preventing mobile terminal automatic shutdown and mobile terminal
CN105159722B (en) RTC wakes up the method and computer of system
CN105744034A (en) Screen brightness output method and device
US8423804B2 (en) System and method for adjusting system performance based on an output power of a power adapter determined according to an over current recovering time
CN105575364A (en) Intelligent watch and brightness adaptive adjusting system and method
CN107515668A (en) A kind of control method and device
CN105307352B (en) The control method and device of Intelligent illumination device
CN103631356B (en) A kind of method and electronic equipment of economize on electricity
CN107104478A (en) A kind of information processing method and electronic equipment
CN110189674A (en) The method for automatically adjusting output voltage according to the battery capacity of mobile display device
US20190196567A1 (en) Electronic device and sleep control method thereof
CN104376835A (en) Method for adjusting brightness and electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant