CN104656870A - Information processing method and electronic device - Google Patents

Information processing method and electronic device Download PDF

Info

Publication number
CN104656870A
CN104656870A CN201310589871.7A CN201310589871A CN104656870A CN 104656870 A CN104656870 A CN 104656870A CN 201310589871 A CN201310589871 A CN 201310589871A CN 104656870 A CN104656870 A CN 104656870A
Authority
CN
China
Prior art keywords
electronic equipment
state
processor
storage unit
memory cells
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310589871.7A
Other languages
Chinese (zh)
Inventor
金正操
马克·C·戴维斯
蒋晓华
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 CN201310589871.7A priority Critical patent/CN104656870A/en
Publication of CN104656870A publication Critical patent/CN104656870A/en
Pending legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The invention discloses an information processing method and an electronic device. The information processing method is applied to the electronic device, and the electronic device comprises a first storage unit and a non-volatile storage unit. The method includes the steps: storing first data stored in the first storage unit into the non-volatile storage unit when the electronic device is switched from a first state to a second state; controlling the first storage unit and the non-volatile storage unit to be off and enabling the electronic device to be in the second state. The first data are data of the electronic device in the first state, and both the first storage unit and the non-volatile storage unit are arranged inside an internal storage of the electronic device.

Description

A kind of information processing method and electronic equipment
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of information processing method and electronic equipment.
Background technology
Along with electronic equipment function from strength to strength, the thing that user can be able to do at electronic equipment also gets more and more, as: user can be made a phone call by smart mobile phone, short-message sending, shares photo or video, listens to music, see TV or see a film.
In order to saves energy, when user does not use electronic equipment, electronic equipment can be made to be in holding state.Such as: user is using smart mobile phone to see a film, when user because busy leave temporarily time, the power key of smart mobile phone can be pressed, make smart mobile phone be in holding state.
After returning to normal operating condition in order to make electronic equipment from holding state, the program before executing state switches can be continued, the solution that prior art adopts is: be switched to the process of holding state at electronic equipment from normal operating condition, before state is switched, data when namely electronic equipment is in normal operating condition, the data such as used during normal operating condition and program, be stored in the first storage unit.Therefore, electronic equipment, after recovery normal operating condition, just can continue the program before executing state switches.
Such as: be switched to the process of holding state at smart mobile phone from normal operating condition, before state being switched, when namely smart mobile phone is in normal operating condition, buffered data and the film playing progress rate of the film of broadcasting are kept in the first storage unit.When user presses power key again, when making smart mobile phone recover normal operating condition, smart mobile phone just can utilize the buffered data of film and film playing progress rate to continue movie.
But present inventor is in the process realizing invention technical scheme in the embodiment of the present application, find that above-mentioned technology at least exists following technical matters:
Due in prior art, when electronic equipment is in holding state, the data of the first cell stores will be lost after power is turned off, so regularly must refresh the data in this first storage unit with certain clock period, and thus can not to this first storage unit power-off.
In a word, prior art exists when electronic equipment is in holding state, needs to power the technical matters causing energy consumption higher to the first bit cell period, shortens the stand-by time of electronic equipment.
Summary of the invention
The embodiment of the present application is by a kind of information processing method and electronic equipment, solve that prior art in prior art exists when electronic equipment is in holding state, must power to the first storage unit, thus the technical matters causing energy consumption higher, achieve when electronic equipment is in holding state, close the first storage unit while reserved memory data, and then slow down the speed of power consumption, extend the technique effect of the stand-by time of electronic equipment.
On the one hand, the embodiment of the present application provides a kind of information processing method, and be applied in an electronic equipment, described method comprises:
When described electronic equipment is switched to the second state from the first state, be saved in nonvolatile memory cell by the first data that the described electronic equipment stored in the first storage unit is in described first state, described first storage unit and described non-volatile memory cells are all internal storage of described electronic equipment;
Control described first storage unit and described non-volatile memory cells is all in off-position, be in described second state to make described electronic equipment.
Optionally, described be switched to the second state when described electronic equipment from the first state time, before being saved in described non-volatile memory cells by the first data stored in described first storage unit, described method also comprises:
While the standby process of maintenance is run, the process controlled except described standby process is in halted state;
At least one consuming components controlling described electronic equipment is in off-position.
Optionally, when the described processor of described electronic equipment is a described processor, all be in off-position in described first storage unit of described control and described non-volatile memory cells, while being in described second state to make described electronic equipment, described method also comprises:
Control a described processor and be in disable state.
Optionally, the processor of described electronic equipment comprise primary processor and at least one from processor time, described be switched to the second state when described electronic equipment from the first state time, before being saved in described non-volatile memory cells by the first data stored in described first storage unit, described method also comprises:
While the standby process of maintenance is run, the process controlled except described standby process is in halted state;
At least one consuming components controlling described electronic equipment is in described off-position;
Described in controlling, at least one is in disable state from processor.
Optionally, the described processor of described electronic equipment comprise described primary processor and described at least one from processor time, all off-position is in described first storage unit of described control and described non-volatile memory cells, while being in described second state to make described electronic equipment, described method also comprises:
Control described primary processor and be in disable state.
Optionally, described when described electronic equipment is switched to the second state from the first state, the first data stored in described first storage unit are saved in described non-volatile memory cells, specifically comprise:
Described first data encapsulation is become the first packet;
Described first packet is saved in described non-volatile memory cells.
Optionally, the second read or write speed of described non-volatile memory cells is more than or equal to the first read or write speed of described first storage unit.
Optionally, be all in off-position in described first storage unit of described control and described non-volatile memory cells, to make after described electronic equipment is in described second state, described method also comprises:
Detect the first operation obtained for making described electronic equipment be in described first state;
Respond described first operation, control described first storage unit and described non-volatile memory cells is all in power-up state;
Described first packet in described non-volatile memory cells is saved in described first storage unit;
By described first packet decapsulation, obtain described first data, and then make described electronic equipment be in described first state.
Optionally, when the processor of described electronic equipment is a processor, in described first operation of described response, control while described first storage unit and described non-volatile memory cells be all in power-up state, described method also comprises:
Control a described processor and be in enabled state.
Optionally, when the processor of described electronic equipment is a described processor, described described first packet in described non-volatile memory cells is saved in described first storage unit after, described method also comprises:
At least one consuming components described controlling described electronic equipment is in described power-up state;
The whole processes controlling described electronic equipment are in running status.
Optionally, the processor of described electronic equipment comprise primary processor and at least one from processor time, in described first operation of described response, control while described first storage unit and described non-volatile memory cells be all in power-up state, described method also comprises:
Control described primary processor and be in enabled state.
Optionally, the described processor of described electronic equipment comprise described primary processor and described at least one from processor time, described described first packet in described non-volatile memory cells is saved in described first storage unit after, described method also comprises:
Described enabled state is in from processor described in controlling;
At least one consuming components described controlling described electronic equipment is in described power-up state;
The whole processes controlling described electronic equipment are in running status.
On the other hand, the embodiment of the present application provides a kind of electronic equipment, comprising:
First preserves module, for when described electronic equipment is switched to the second state from the first state, be saved in nonvolatile memory cell by the first data that the described electronic equipment stored in the first storage unit is in described first state, described first storage unit and described non-volatile memory cells are all internal storage of described electronic equipment;
First control module, for controlling described first storage unit and described non-volatile memory cells is all in off-position, is in described second state to make described electronic equipment.
Optionally, described electronic equipment also comprises:
Second control module, while running in the standby process of maintenance, the process controlled except described standby process is in halted state;
3rd control module, is in off-position at least one consuming components controlling described electronic equipment.
Optionally, when the described processor of described electronic equipment is a described processor, described electronic equipment also comprises:
First controls submodule, is in disable state for controlling a described processor.
Optionally, the processor of described electronic equipment comprise primary processor and at least one from processor time, described electronic equipment also comprises:
Second controls submodule, and while running in the standby process of maintenance, the process controlled except described standby process is in halted state;
3rd controls submodule, is in described off-position at least one consuming components controlling described electronic equipment;
4th controls submodule, and described in controlling, at least one is in disable state from processor.
Optionally, the described processor of described electronic equipment comprise described primary processor and described at least one from processor time, described electronic equipment also comprises:
5th controls submodule, is in disable state for controlling described primary processor.
Optionally, described first preservation module specifically comprises:
First package module, for becoming the first packet by described first data encapsulation;
First preserves submodule, for being saved in described non-volatile memory cells by described first packet.
Optionally, the second read or write speed of described non-volatile memory cells is more than or equal to the first read or write speed of described first storage unit.
Optionally, described electronic equipment also comprises:
First detection module, for detecting the first operation obtained for making described electronic equipment be in described first state;
First respond module, for responding described first operation, controls described first storage unit and described non-volatile memory cells is all in power-up state;
Second preserves module, for being saved in described first storage unit by described first packet in described non-volatile memory cells;
First decapsulation module, for by described first packet decapsulation, obtains described first data, and then makes described electronic equipment be in described first state.
Optionally, when the processor of described electronic equipment is a processor, described electronic equipment also comprises:
6th controls submodule, is in enabled state for controlling a described processor.
Optionally, when the processor of described electronic equipment is a described processor, described electronic equipment also comprises:
7th controls submodule, is in described power-up state for controlling at least one consuming components described in described electronic equipment;
8th controls submodule, is in running status for the whole processes controlling described electronic equipment.
Optionally, the processor of described electronic equipment comprise primary processor and at least one from processor time, described electronic equipment also comprises:
9th controls submodule, is in enabled state for controlling described primary processor.
Optionally, the described processor of described electronic equipment comprise described primary processor and described at least one from processor time, described electronic equipment also comprises:
Tenth controls submodule, described in controlling, be in described enabled state from processor;
11 controls submodule, is in described power-up state for controlling at least one consuming components described in described electronic equipment;
12 controls submodule, is in running status for the whole processes controlling described electronic equipment.
The one or more technical schemes provided in the embodiment of the present application, at least have following technique effect or advantage:
One, owing to have employed when electronic equipment is switched to the second state from the first state, by the first data stored in the first storage unit, namely this electronic equipment is in the data of the first state, be saved in described non-volatile memory cells, control again to be arranged on the first storage unit of the inside of the internal storage of this electronic equipment and non-volatile memory cells is all in off-position, and then make this electronic equipment be in the technological means of the second state, because after non-volatile memory cells is in off-position, the first data stored before still keeping power-off are not lost, so can to the first storage unit and non-volatile memory cells power-off.Therefore, efficiently solve exist in prior art when electronic equipment is in holding state, can not to the technical matters of the first storage unit power-off, achieve when electronic equipment is in holding state, to the first storage unit power-off, and then slow down the speed of power consumption, extend the technique effect of the stand-by time of electronic equipment.
Two, owing to have employed at electronic equipment from after the first state is switched to the second state, when detecting for making electronic equipment be in the first operation of the first state, described first packet in non-volatile memory cells is saved in described first storage unit, and then make electronic equipment be in the first state, and the first storage unit and described non-volatile memory cells are all internal storage of described electronic equipment, and the second read or write speed of non-volatile memory cells is more than or equal to the first read or write speed of described first storage unit, so electronic equipment can fast from the second recovering state to the first state, improve the efficiency that state of electronic equipment switches, decrease user and wait for that electronic equipment carries out the time of state switching.
Three, due to the processor that this application provides electronic equipment be primary processor and at least one from processor time, when electronic equipment is switched to the second state from the first state, first control this at least one from after processor is in disable state, again the first data are saved in non-volatile memory cells, when electronic equipment recovers the first state, now the first data are saved in the first storage unit, control again this at least one be in the technological means of enabled state from processor, further increase the efficiency that state switches, decrease electric energy loss unnecessary in stateful switchover process.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of information processing method in the embodiment of the present application;
Fig. 2 is the particular flow sheet of step S10 in the embodiment of the present application;
Fig. 3 is the module map of electronic equipment in the embodiment of the present application.
Embodiment
The embodiment of the present application is by providing a kind of the embodiment of the present application by a kind of information processing method and electronic equipment, solve that prior art in prior art exists when electronic equipment is in holding state, can not to the technical matters of the first storage unit power-off, achieve when electronic equipment is in holding state, to the first storage unit power-off, and then slow down the speed of power consumption, extend the technique effect of the stand-by time of electronic equipment.
Technical scheme in the embodiment of the present application is for solving the problems of the technologies described above, and general thought is as follows:
When electronic equipment is switched to the second state from the first state, by the first data stored in the first storage unit, namely this electronic equipment is in the data of the first state, be saved in described non-volatile memory cells, control again to be arranged on the first storage unit of the inside of the internal storage of this electronic equipment and non-volatile memory cells is all in off-position, and then make this electronic equipment be in the second state, because after non-volatile memory cells is in off-position, the first data stored before still keeping power-off are not lost, so can to the first storage unit and non-volatile memory cells power-off.Therefore, efficiently solve exist in prior art when electronic equipment is in holding state, can not to the technical matters of the first storage unit power-off, achieve when electronic equipment is in holding state, to the first storage unit power-off, and then slow down the speed of power consumption, extend the technique effect of the stand-by time of electronic equipment.
In order to better understand technique scheme, below in conjunction with Figure of description and concrete embodiment, technique scheme is described in detail.
Embodiment one
The information processing method that the embodiment of the present application provides, is applied in an electronic equipment.In specific implementation process, this electronic equipment can be notebook computer, and also can be panel computer, can also be smart mobile phone, just illustrate at this, the application be not specifically limited.
In the embodiment of the present application, will be that smart mobile phone is described for electronic equipment.Below in conjunction with Fig. 1, to the idiographic flow of the information processing method in the embodiment of the present application, be described in detail, specific as follows:
The embodiment of the present application provides a kind of information processing method, and be applied in an electronic equipment, the method comprises the following steps:
S10: when described electronic equipment is switched to the second state from the first state, be saved in nonvolatile memory cell by the first data that the described electronic equipment stored in the first storage unit is in described first state, described first storage unit and described non-volatile memory cells are all internal storage of described electronic equipment.
S20: control described first storage unit and described non-volatile memory cells is all in off-position, is in described second state to make described electronic equipment.
Specifically, as shown in Figure 2, step S10 comprises following two steps:
S101: described first data encapsulation is become the first packet.
S102: described first packet is saved in described non-volatile memory cells.
Be smart mobile phone for electronic equipment below, the implementation procedure of step S10 be described in detail:
Such as, user is using smart mobile phone to see a film, when user interim busy away from keyboard time, the power key of mobile phone can be pressed, when power key is pressed, smart mobile phone just obtains the instruction being switched to holding state from normal operating condition, and the processor of smart mobile phone will switch according to this instruction executing state.
Due to smart mobile phone be in normal operating condition time, the program that the first cell stores in internal storage is current to be performed and data, such as video reproduction program and film playing progress rate.When smart mobile phone carries out state switching, the data stored can be saved in the non-volatile memory cells in internal storage in the first storage unit.In order to improve the efficiency of data transmission and conveniently preserve data, the data stored can be encapsulated in the first storage unit, compression is packaged into packet, is then saved in non-volatile memory cells by packet.
In addition, in order to improve the efficiency of data transmission further, second read or write speed of the non-volatile memory cells in the embodiment of the present application is more than or equal to the first read or write speed of the first storage unit, therefore, when the data in the first storage unit are saved in non-volatile memory cells, can ensure that the data that the first storage unit reads can write non-volatile memory cells in time, while raising data transmission efficiency, avoid loss of data as far as possible.
Certainly; at this just for data encapsulation; the process store in first storage unit first data be saved in non-volatile memory cells is illustrated; in actual applications; every data processing method that data can be saved in from the first storage unit non-volatile memory cells, all within the protection domain of the application.
After execution of step S10, the information processing method that the embodiment of the present application provides, just enter step S20, that is: control described first storage unit and described non-volatile memory cells is all in off-position, be in described second state to make described electronic equipment.
After the data stored in the first storage unit are saved in non-volatile memory cells, in order to reduce the loss of smart mobile phone to electric energy, the information processing method that the embodiment of the present application provides also needs control first storage unit and non-volatile memory cells to be in off-position, and such smart mobile phone just enters holding state.
In actual applications, in order to reduce the electric energy loss of smart mobile phone further, prolongs standby time, the information processing method that the embodiment of the present application provides, before being saved in described non-volatile memory cells by the first data stored in described first storage unit, also needs to perform step S0 and step S00:
S0: while the standby process of maintenance is run, the process controlled except described standby process is in halted state.
S00: at least one consuming components controlling described electronic equipment is in off-position.
That is, be pressed at smart mobile phone power key, smart mobile phone obtains the instruction being switched to holding state from normal operating condition, and when the processor of smart mobile phone switches according to this instruction executing state, first, in meeting control processor, all processes are in halted state, the standby process performed except when front.Then, at least one consuming components controlling smart mobile phone is in off-position, such as: close, the light of the display screen of smart mobile phone by the data transmission interface power-off of smart mobile phone.Finally, then by the data stored in the first storage unit be saved in non-volatile memory cells.
After completing steps S10-S20, smart mobile phone just enters holding state, and when again pressing power key to make user, smart mobile phone can return to normal operating condition.The embodiment of the present application is further comprising the steps of:
S30: detect the first operation obtained for making described electronic equipment be in described first state.
S40: respond described first operation, controls described first storage unit and described non-volatile memory cells is all in power-up state.
S50: described first packet in described non-volatile memory cells is saved in described first storage unit.
S60: by described first packet decapsulation, obtain described first data, and then make described electronic equipment be in described first state.
Continuing for electronic equipment is below smart mobile phone, is described in detail the implementation procedure of step S30-S60:
After smart mobile phone is in holding state, when user needs to reuse mobile phone, such as user is before smart mobile phone is in holding state, video player is used to see the film of 120 minutes, and see 60 minutes these positions, because user is temporarily busy, smart mobile phone is arranged to holding state, when user wants then to see a film, again power key can be pressed.Now, the processor of smart mobile phone just detects and obtains one for the operation making smart mobile phone be in normal operating condition, namely presses the operation of power key.
The processor of smart mobile phone can respond the operation that this presses power key: first, control the first storage unit and non-volatile memory cells is all in power-up state, because store the packet that the data encapsulation of smart mobile phone before holding state becomes in non-volatile memory cells, such as: the video reproduction program before holding state and film playing progress rate.
Then, packet in non-volatile memory cells is saved in the first storage unit, in the embodiment of the present application, second read or write speed of non-volatile memory cells is greater than the first read or write speed of the first storage unit, and the packet read from non-volatile memory cells can write in the first storage unit rapidly.
Finally, decapsulation is carried out to the packet in the first storage unit, just can obtain program and data that smart mobile phone performs before standby, such as: the video reproduction program that smart mobile phone runs before standby and film playing progress rate, processor just can utilize these date restoring normal operating conditions, and user just can continue to have seen a film.
In addition, in the application, data are all be kept in non-volatile memory cells with the form of packet, and in the first storage unit, complete encapsulation and decapsulation, therefore, in the embodiment of the present application, the memory capacity of non-volatile memory cells can be less than the capacity of the first storage unit, due to non-volatile memory cells unit price costly, so the cost using the information processing method that provides of the embodiment of the present application can reduce state to switch.
Processor due to electronic equipment can be a processor, also can by a primary processor and at least one multiple processor formed from processor, so will arrange for two example two below, describe the application scenarios that the method that provides of the embodiment of the present application is applied to the electronic equipment with a processor in detail, and the method that provides of the embodiment of the present application is applied to the application scenarios of the electronic equipment with a processor.
Embodiment two
When the processor of electronic equipment is a processor, the specific implementation process of the information processing method that the embodiment of the present application provides is as follows:
When electronic equipment is switched to the second state from the first state:
First, while the standby process of maintenance is run, the process controlled except this standby process is in halted state, and at least one consuming components controlling electronic equipment is in off-position.
Then, the first data electronic equipment stored in the first storage unit being in described first state are saved in nonvolatile memory cell, the first data encapsulation is become the first packet and is saved in non-volatile memory cells.
Finally, in described first storage unit of control with while non-volatile memory cells is all in off-position, control a described processor and be in disable state and be in described second state to make described electronic equipment.
When electronic equipment is switched to the first state from the second state:
First, detecting the first operation obtained for making electronic equipment be in the first state, and responding the first operation, control the first storage unit and non-volatile memory cells is all in power-up state.
Then, the first packet in non-volatile memory cells is saved in the first storage unit, and by the first packet decapsulation, obtains the first data.
Finally, control a processor and be in enabled state, at least one consuming components of electronic equipment is in power-up state, and whole processes of electronic equipment are in running status, and then makes described electronic equipment be in described first state.
Embodiment three
When multiple processor that the processor of electronic equipment is made up of from processor a primary processor and at least one, the specific implementation process of the information processing method that the embodiment of the present application provides is as follows:
When electronic equipment is switched to the second state from the first state:
First, while the standby process of maintenance is run, the process controlled except described standby process is in halted state, and at least one consuming components controlling described electronic equipment is in off-position, and at least one is in disable state from processor.
Then, the first data electronic equipment stored in the first storage unit being in the first state are saved in nonvolatile memory cell.
Finally, while described first storage unit of control and non-volatile memory cells are all in off-position, control primary processor and be in disable state, be in described second state to make electronic equipment.
When electronic equipment is switched to the first state from the second state:
First, detect to obtain and operate and respond this first to operate for making described electronic equipment be in first of the first state, control the first storage unit and non-volatile memory cells is all in power-up state; Control primary processor and be in enabled state.
Then, described first packet in non-volatile memory cells is saved in described first storage unit; By this first packet decapsulation, obtain described first data.
Finally, be in described enabled state from processor described in controlling, at least one consuming components of electronic equipment is in power-up state, and the whole processes controlling electronic equipment are in running status, and then makes described electronic equipment be in described first state.
Embodiment four
Based on same inventive concept, additionally provide electronic equipment in the embodiment of the present invention, the principle of dealing with problems due to this electronic equipment is similar to information processing method, and therefore the enforcement of this electronic equipment see the enforcement of method, can repeat part and repeat no more.
As shown in Figure 3, electronic equipment comprises:
First preserves module 10, for when described electronic equipment is switched to the second state from the first state, be saved in described non-volatile memory cells by the first data stored in described first storage unit, described first storage unit and described non-volatile memory cells are all internal storage of described electronic equipment.
Concrete, first preserves module 10 tool comprises:
First package module, for becoming the first packet by described first data encapsulation;
First preserves submodule, for being saved in described non-volatile memory cells by described first packet.
First control module 20, for controlling described first storage unit and described non-volatile memory cells is all in off-position, is in described second state to make described electronic equipment.
Second control module 30, while running in the standby process of maintenance, the process controlled except described standby process is in halted state.
3rd control module 40, is in off-position at least one consuming components controlling described electronic equipment.
First detection module 50, for detecting the first operation obtained for making described electronic equipment be in described first state.
First respond module 60, for responding described first operation, controls described first storage unit and described non-volatile memory cells is all in power-up state.
Second preserves module 70, for being saved in described first storage unit by described first packet in described non-volatile memory cells.
First decapsulation module 80, for by described first packet decapsulation, obtains described first data, and then makes described electronic equipment be in described first state.
When the described processor of described electronic equipment is a described processor, described electronic equipment also comprises:
First controls submodule, is in disable state for controlling a described processor.
6th controls submodule, is in enabled state for controlling a described processor.
7th controls submodule, is in described power-up state for controlling at least one consuming components described in described electronic equipment.
8th controls submodule, is in running status for the whole processes controlling described electronic equipment.
The processor of described electronic equipment comprise primary processor and at least one from processor time, described electronic equipment also comprises:
Second controls submodule, and while running in the standby process of maintenance, the process controlled except described standby process is in halted state.
3rd controls submodule, is in described off-position at least one consuming components controlling described electronic equipment.
4th controls submodule, and described in controlling, at least one is in disable state from processor.
5th controls submodule, is in disable state for controlling described primary processor.
9th controls submodule, is in enabled state for controlling described primary processor.
Tenth controls submodule, described in controlling, be in described enabled state from processor;
11 controls submodule, is in described power-up state for controlling at least one consuming components described in described electronic equipment.
12 controls submodule, is in running status for the whole processes controlling described electronic equipment.
Technical scheme in above-mentioned the embodiment of the present application, at least has following technique effect or advantage:
One, owing to have employed when electronic equipment is switched to the second state from the first state, by the first data stored in the first storage unit, namely this electronic equipment is in the data of the first state, be saved in described non-volatile memory cells, control again to be arranged on the first storage unit of the inside of the internal storage of this electronic equipment and non-volatile memory cells is all in off-position, and then make this electronic equipment be in the technological means of the second state, because after non-volatile memory cells is in off-position, the first data stored before still keeping power-off are not lost, so can to the first storage unit and non-volatile memory cells power-off.Therefore, efficiently solve exist in prior art when electronic equipment is in holding state, can not to the technical matters of the first storage unit power-off, achieve when electronic equipment is in holding state, to the first storage unit power-off, and then slow down the speed of power consumption, extend the technique effect of the stand-by time of electronic equipment.
Two, owing to have employed at electronic equipment from after the first state is switched to the second state, when detecting for making electronic equipment be in the first operation of the first state, described first packet in non-volatile memory cells is saved in described first storage unit, and then make electronic equipment be in the first state, and the first storage unit and described non-volatile memory cells are all internal storage of described electronic equipment, and the second read or write speed of non-volatile memory cells is more than or equal to the first read or write speed of described first storage unit, so electronic equipment can fast from the second recovering state to the first state, improve the efficiency that state of electronic equipment switches, decrease user and wait for that electronic equipment carries out the time of state switching.
Three, due to the processor that this application provides electronic equipment be primary processor and at least one from processor time, when electronic equipment is switched to the second state from the first state, first control this at least one from after processor is in disable state, again the first data are saved in non-volatile memory cells, when electronic equipment recovers the first state, now the first data are saved in the first storage unit, control again this at least one be in the technological means of enabled state from processor, further increase the efficiency that state switches, decrease electric energy loss unnecessary in stateful switchover process.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, equipment (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing device produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Specifically, the computer program instructions that a kind of information processing method in the embodiment of the present application is corresponding can be stored in CD, hard disk, on the storage mediums such as USB flash disk, when the computer program instructions corresponding with a kind of information processing method in storage medium is read by an electronic equipment or be performed, comprise the steps:
When described electronic equipment is switched to the second state from the first state, be saved in nonvolatile memory cell by the first data that the described electronic equipment stored in the first storage unit is in described first state, described first storage unit and described non-volatile memory cells are all internal storage of described electronic equipment;
Control described first storage unit and described non-volatile memory cells is all in off-position, be in described second state to make described electronic equipment.
Optionally, described be switched to the second state when described electronic equipment from the first state time, before being saved in described non-volatile memory cells by the first data stored in described first storage unit, described method also comprises:
While the standby process of maintenance is run, the process controlled except described standby process is in halted state;
At least one consuming components controlling described electronic equipment is in off-position.
Optionally, when the described processor of described electronic equipment is a described processor, all be in off-position in described first storage unit of described control and described non-volatile memory cells, while being in described second state to make described electronic equipment, described method also comprises:
Control a described processor and be in disable state.
Optionally, the processor of described electronic equipment comprise primary processor and at least one from processor time, described be switched to the second state when described electronic equipment from the first state time, before being saved in described non-volatile memory cells by the first data stored in described first storage unit, described method also comprises:
While the standby process of maintenance is run, the process controlled except described standby process is in halted state;
At least one consuming components controlling described electronic equipment is in described off-position;
Described in controlling, at least one is in disable state from processor.
Optionally, the described processor of described electronic equipment comprise described primary processor and described at least one from processor time, all off-position is in described first storage unit of described control and described non-volatile memory cells, while being in described second state to make described electronic equipment, described method also comprises:
Control described primary processor and be in disable state.
Optionally, described when described electronic equipment is switched to the second state from the first state, the first data stored in described first storage unit are saved in described non-volatile memory cells, specifically comprise:
Described first data encapsulation is become the first packet;
Described first packet is saved in described non-volatile memory cells.
Optionally, the second read or write speed of described non-volatile memory cells is more than or equal to the first read or write speed of described first storage unit.
Optionally, be all in off-position in described first storage unit of described control and described non-volatile memory cells, to make after described electronic equipment is in described second state, described method also comprises:
Detect the first operation obtained for making described electronic equipment be in described first state;
Respond described first operation, control described first storage unit and described non-volatile memory cells is all in power-up state;
Described first packet in described non-volatile memory cells is saved in described first storage unit;
By described first packet decapsulation, obtain described first data, and then make described electronic equipment be in described first state.
Optionally, when the processor of described electronic equipment is a processor, in described first operation of described response, control while described first storage unit and described non-volatile memory cells be all in power-up state, described method also comprises:
Control a described processor and be in enabled state.
Optionally, when the processor of described electronic equipment is a described processor, described described first packet in described non-volatile memory cells is saved in described first storage unit after, described method also comprises:
At least one consuming components described controlling described electronic equipment is in described power-up state;
The whole processes controlling described electronic equipment are in running status.
Optionally, the processor of described electronic equipment comprise primary processor and at least one from processor time, in described first operation of described response, control while described first storage unit and described non-volatile memory cells be all in power-up state, described method also comprises:
Control described primary processor and be in enabled state.
Optionally, the described processor of described electronic equipment comprise described primary processor and described at least one from processor time, described described first packet in described non-volatile memory cells is saved in described first storage unit after, described method also comprises:
Described enabled state is in from processor described in controlling;
At least one consuming components described controlling described electronic equipment is in described power-up state;
The whole processes controlling described electronic equipment are in running status.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (24)

1. an information processing method, be applied in an electronic equipment, described method comprises:
When described electronic equipment is switched to the second state from the first state, be saved in nonvolatile memory cell by the first data that the described electronic equipment stored in the first storage unit is in described first state, described first storage unit and described non-volatile memory cells are all internal storage of described electronic equipment;
Control described first storage unit and described non-volatile memory cells is all in off-position, be in described second state to make described electronic equipment.
2. the method for claim 1, is characterized in that, when described electronic equipment is switched to the second state from the first state, before being saved in described non-volatile memory cells by the first data stored in described first storage unit, described method also comprises:
While the standby process of maintenance is run, the process controlled except described standby process is in halted state;
At least one consuming components controlling described electronic equipment is in off-position.
3. method as claimed in claim 2, it is characterized in that, when the described processor of described electronic equipment is a described processor, all off-position is in described first storage unit of described control and described non-volatile memory cells, while being in described second state to make described electronic equipment, described method also comprises:
Control a described processor and be in disable state.
4. the method for claim 1, it is characterized in that, the processor of described electronic equipment comprise primary processor and at least one from processor time, described be switched to the second state when described electronic equipment from the first state time, before being saved in described non-volatile memory cells by the first data stored in described first storage unit, described method also comprises:
While the standby process of maintenance is run, the process controlled except described standby process is in halted state;
At least one consuming components controlling described electronic equipment is in described off-position;
Described in controlling, at least one is in disable state from processor.
5. method as claimed in claim 4, it is characterized in that, the described processor of described electronic equipment comprise described primary processor and described at least one from processor time, all off-position is in described first storage unit of described control and described non-volatile memory cells, while being in described second state to make described electronic equipment, described method also comprises:
Control described primary processor and be in disable state.
6. the method as described in claim arbitrary in claim 1-5, it is characterized in that, described when described electronic equipment is switched to the second state from the first state, the first data stored in described first storage unit are saved in described non-volatile memory cells, specifically comprise:
Described first data encapsulation is become the first packet;
Described first packet is saved in described non-volatile memory cells.
7. method as claimed in claim 6, it is characterized in that, the second read or write speed of described non-volatile memory cells is more than or equal to the first read or write speed of described first storage unit.
8. the method as described in claim arbitrary in claim 1-5, it is characterized in that, all be in off-position in described first storage unit of described control and described non-volatile memory cells, to make after described electronic equipment is in described second state, described method also comprises:
Detect the first operation obtained for making described electronic equipment be in described first state;
Respond described first operation, control described first storage unit and described non-volatile memory cells is all in power-up state;
Described first packet in described non-volatile memory cells is saved in described first storage unit;
By described first packet decapsulation, obtain described first data, and then make described electronic equipment be in described first state.
9. method as claimed in claim 8, it is characterized in that, when the processor of described electronic equipment is a processor, in described first operation of described response, control while described first storage unit and described non-volatile memory cells be all in power-up state, described method also comprises:
Control a described processor and be in enabled state.
10. method as claimed in claim 9, it is characterized in that, when the processor of described electronic equipment is a described processor, described described first packet in described non-volatile memory cells is saved in described first storage unit after, described method also comprises:
At least one consuming components described controlling described electronic equipment is in described power-up state;
The whole processes controlling described electronic equipment are in running status.
11. methods as claimed in claim 8, it is characterized in that, the processor of described electronic equipment comprise primary processor and at least one from processor time, in described first operation of described response, control while described first storage unit and described non-volatile memory cells be all in power-up state, described method also comprises:
Control described primary processor and be in enabled state.
12. methods as claimed in claim 11, it is characterized in that, the described processor of described electronic equipment comprise described primary processor and described at least one from processor time, described described first packet in described non-volatile memory cells is saved in described first storage unit after, described method also comprises:
Described enabled state is in from processor described in controlling;
At least one consuming components described controlling described electronic equipment is in described power-up state;
The whole processes controlling described electronic equipment are in running status.
13. 1 kinds of electronic equipments, comprising:
First preserves module, for when described electronic equipment is switched to the second state from the first state, be saved in described non-volatile memory cells by the first data stored in described first storage unit, described first storage unit and described non-volatile memory cells are all internal storage of described electronic equipment; ;
First control module, for controlling described first storage unit and described non-volatile memory cells is all in off-position, is in described second state to make described electronic equipment.
14. electronic equipments as claimed in claim 13, it is characterized in that, described electronic equipment also comprises:
Second control module, while running in the standby process of maintenance, the process controlled except described standby process is in halted state;
3rd control module, is in off-position at least one consuming components controlling described electronic equipment.
15. electronic equipments as claimed in claim 14, it is characterized in that, when the described processor of described electronic equipment is a described processor, described electronic equipment also comprises:
First controls submodule, is in disable state for controlling a described processor.
16. electronic equipments as claimed in claim 13, is characterized in that, the processor of described electronic equipment comprise primary processor and at least one from processor time, described electronic equipment also comprises:
Second controls submodule, and while running in the standby process of maintenance, the process controlled except described standby process is in halted state;
3rd controls submodule, is in described off-position at least one consuming components controlling described electronic equipment;
4th controls submodule, and described in controlling, at least one is in disable state from processor.
17. electronic equipments as claimed in claim 16, is characterized in that, the described processor of described electronic equipment comprise described primary processor and described at least one from processor time, described electronic equipment also comprises:
5th controls submodule, is in disable state for controlling described primary processor.
18. electronic equipments as described in claim arbitrary in claim 13-17, is characterized in that, described first preserves module specifically comprises:
First package module, for becoming the first packet by described first data encapsulation;
First preserves submodule, for being saved in described non-volatile memory cells by described first packet.
19. electronic equipments as claimed in claim 18, is characterized in that, the second read or write speed of described non-volatile memory cells is more than or equal to the first read or write speed of described first storage unit.
20. electronic equipments as described in claim arbitrary in claim 13-17, it is characterized in that, described electronic equipment also comprises:
First detection module, for detecting the first operation obtained for making described electronic equipment be in described first state;
First respond module, for responding described first operation, controls described first storage unit and described non-volatile memory cells is all in power-up state;
Second preserves module, for being saved in described first storage unit by described first packet in described non-volatile memory cells;
First decapsulation module, for by described first packet decapsulation, obtains described first data, and then makes described electronic equipment be in described first state.
21. electronic equipments as claimed in claim 20, it is characterized in that, when the processor of described electronic equipment is a processor, described electronic equipment also comprises:
6th controls submodule, is in enabled state for controlling a described processor.
22. electronic equipments as claimed in claim 21, it is characterized in that, when the processor of described electronic equipment is a described processor, described electronic equipment also comprises:
7th controls submodule, is in described power-up state for controlling at least one consuming components described in described electronic equipment;
8th controls submodule, is in running status for the whole processes controlling described electronic equipment.
23. electronic equipments as claimed in claim 20, is characterized in that, the processor of described electronic equipment comprise primary processor and at least one from processor time, described electronic equipment also comprises:
9th controls submodule, is in enabled state for controlling described primary processor.
24. electronic equipments as claimed in claim 23, is characterized in that, the described processor of described electronic equipment comprise described primary processor and described at least one from processor time, described electronic equipment also comprises:
Tenth controls submodule, described in controlling, be in described enabled state from processor;
11 controls submodule, is in described power-up state for controlling at least one consuming components described in described electronic equipment;
12 controls submodule, is in running status for the whole processes controlling described electronic equipment.
CN201310589871.7A 2013-11-20 2013-11-20 Information processing method and electronic device Pending CN104656870A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310589871.7A CN104656870A (en) 2013-11-20 2013-11-20 Information processing method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310589871.7A CN104656870A (en) 2013-11-20 2013-11-20 Information processing method and electronic device

Publications (1)

Publication Number Publication Date
CN104656870A true CN104656870A (en) 2015-05-27

Family

ID=53248115

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310589871.7A Pending CN104656870A (en) 2013-11-20 2013-11-20 Information processing method and electronic device

Country Status (1)

Country Link
CN (1) CN104656870A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017016521A1 (en) * 2015-07-30 2017-02-02 华为技术有限公司 Electronic device capable of reducing power consumption, and method for reducing power consumption of electronic device
CN116745768A (en) * 2022-01-10 2023-09-12 华为技术有限公司 Data processing method and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101710253A (en) * 2009-11-25 2010-05-19 安凯(广州)微电子技术有限公司 Deep-sleep method of embedded system
CN101937376A (en) * 2009-06-30 2011-01-05 联想(北京)有限公司 Data management method and data storage device
US20110252225A1 (en) * 2010-04-13 2011-10-13 Compal Electronics, Inc. Computer system and bootup and shutdown method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101937376A (en) * 2009-06-30 2011-01-05 联想(北京)有限公司 Data management method and data storage device
CN101710253A (en) * 2009-11-25 2010-05-19 安凯(广州)微电子技术有限公司 Deep-sleep method of embedded system
US20110252225A1 (en) * 2010-04-13 2011-10-13 Compal Electronics, Inc. Computer system and bootup and shutdown method thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017016521A1 (en) * 2015-07-30 2017-02-02 华为技术有限公司 Electronic device capable of reducing power consumption, and method for reducing power consumption of electronic device
US10976800B2 (en) 2015-07-30 2021-04-13 Huawei Technologies Co., Ltd. Electronic device capable of reducing power consumption and method for reducing power consumption of electronic device
CN116745768A (en) * 2022-01-10 2023-09-12 华为技术有限公司 Data processing method and electronic equipment
CN116745768B (en) * 2022-01-10 2024-05-07 华为技术有限公司 Data processing method and electronic equipment

Similar Documents

Publication Publication Date Title
US20170168542A1 (en) Method for playing video and electronic device
US9338642B2 (en) Method and apparatus for processing application program, and mobile terminal therefor
CN103810020A (en) Virtual machine elastic scaling method and device
KR20120049604A (en) Method and apparatus for managing memory of a mobile device
CN105573845A (en) Information processing method and system and terminals
CN105446916B (en) USB bus state switching method and device
CN102253860A (en) Asynchronous operation method and asynchronous operation management device
CN104267801A (en) Power consumption and bandwidth reducing method and system
CN104424122A (en) Electronic equipment and memory dividing method
CN103488504A (en) Method and device for loading data
CN101521782A (en) Method for fast-forward and fast-backward browsing video, system and multimedia equipment
CN104679497A (en) Mobile terminal control method, device and mobile terminal
CN104104705A (en) Access method and device of distributed storage system
CN104077184A (en) Progress control method of application program and computer system
CN104123208A (en) System abnormality repairing method and device and mobile terminal
CN104656870A (en) Information processing method and electronic device
CN104021022A (en) Partition adjusting method and electronic equipment
CN104808765A (en) Information processing method and electronic equipment
CN104199729A (en) Resource management method and system
CN109542829A (en) The control method of GPU equipment, device and electronic equipment in multisystem
CN105282327A (en) Control method, electronic device and external device
CN105320246A (en) Information processing method and electronic device
CN101866212A (en) Multi-mode power source managing device and managing method
CN104063278A (en) Method and electronic equipment for information processing
CN103544221A (en) Method and system for generating video thumbnail in Android system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150527