CN108052197A - 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
CN108052197A
CN108052197A CN201810008775.1A CN201810008775A CN108052197A CN 108052197 A CN108052197 A CN 108052197A CN 201810008775 A CN201810008775 A CN 201810008775A CN 108052197 A CN108052197 A CN 108052197A
Authority
CN
China
Prior art keywords
volatile memory
memory cells
state
electronic equipment
stored
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
CN201810008775.1A
Other languages
Chinese (zh)
Inventor
刘鑫全
纪纲
蒋晓华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201810008775.1A priority Critical patent/CN108052197A/en
Publication of CN108052197A publication Critical patent/CN108052197A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The invention discloses a kind of information processing method and electronic equipment, which includes:When electronic equipment is in the first state of operation operating system, the first instruction is obtained, wherein, the first non-volatile memory cells and the second non-volatile memory cells, which are in, in the first state is powered state;Based on the first instruction, electronic equipment switches to the second state for not running operating system, wherein the first non-volatile memory cells and the second non-volatile memory cells are in and are not powered state in the second condition, system operation data before second non-volatile memory cells storage the first instruction of acquisition in the second non-volatile memory cells, so that the electronic equipment is in the second condition, obtain the second instruction, and it is instructed according to second, according to the system operation data stored in the second non-volatile memory cells, electronic equipment is switched into first state.

Description

A kind of information processing method and electronic equipment
Technical field
The present invention relates to electronic technology field more particularly to a kind of information processing methods and electronic equipment.
Background technology
With the continuous development of science and technology, electronic technology has also obtained development at full speed, and the species of electronic product is also got over Come more, people have also enjoyed the various facilities that development in science and technology is brought.Present people can be set by various types of electronics It is standby, enjoy the comfortable life brought with development in science and technology.For example, the electronics such as smart mobile phone, tablet computer and laptop are set Standby to have become an important component in people's life, user can use smart mobile phone, tablet computer and notebook The electronic equipments such as computer listen to music, play game etc., to mitigate pressure caused by modern fast pace life.
By taking laptop as an example, in order to save the energy consumption of laptop, advanced configuration and power interface (ACPI, Advanced Configuration and Power Interface) specification defines several states of laptop, example Normal operating conditions (namely S0 states), holding state (namely S3 states or be suspended to internal storage state) etc. in this way, standby Under state, system will be all stored into memory into the operating state data before S3 states, so as to facilitate the fast quick-recovery of user Into normal operating conditions.
But the present inventor has found that above-mentioned technology at least exists during the technical solution in realizing the embodiment of the present invention Following technical problem:
In the standby state, power supply continues to power for the most necessary equipment such as memory, to ensure that data are not lost, from And the consumption electricity that can continue, therefore, electronic equipment exists and still can power in holding state to memory in the prior art, with The operation data for preserving electronic equipment are not lost, so as to the technical issues of electronic equipment can be caused persistently to consume electricity.
The content of the invention
The embodiment of the present invention is in the prior art in standby shape to solve by providing a kind of information processing method It still can power to memory during state, not lost with the operation data for preserving electronic equipment, so as to electronic equipment be caused persistently to disappear The technical issues of power consumption.
On the one hand the embodiment of the present invention provides a kind of information processing method, applied to electronic equipment, the electronic equipment Including the first non-volatile memory cells and the second non-volatile memory cells, the first of first non-volatile memory cells Read or write speed is less than the second read or write speed of second non-volatile memory cells, and first non-volatile memory cells At least can storage program area source program data, second non-volatile memory cells can at least transport in the operating system At least part system operation data during the operating system is stored during row, the described method includes:
When the electronic equipment is in the first state of operation operating system, the first instruction is obtained, wherein, described the First non-volatile memory cells and second non-volatile memory cells, which are in, under one state is powered state, and institute The source program data that the first non-volatile memory cells are at least stored with the operating system of the electronic equipment is stated, described second is non- Volatile memory cell at least stores at least part system operation data during the operating system;
Based on the described first instruction, the electronic equipment switches to the second state for not running the operating system, wherein First non-volatile memory cells and second non-volatile memory cells, which are in, in said second condition is not supplied Electricity condition, the second non-volatile memory cells storage obtain second non-volatile memory cells before first instruction In the system operation data so that the electronic equipment is in said second condition, obtain the second instruction, and according to institute The second instruction is stated, according to the system operation data stored in second non-volatile memory cells, the electronics is set It is standby to switch to the first state.
Optionally, before the electronic equipment is in the first state for running the operating system, the method is also wrapped It includes:
By at least one in the source program data of the operating system stored in first non-volatile memory cells Partial data is copied in second non-volatile memory cells and run, and by the operation number of at least a portion data According to being stored in second non-volatile memory cells, so that the electronic equipment enters the first state.
Optionally, the electronic equipment further includes volatile memory cell, the 3rd read-write of the volatile memory cell Speed is higher than first read or write speed, and the volatile memory cell can at least store described in the operating system At least part system operation data, wherein, the volatile memory cell is in and is powered state in said first condition, The volatile memory cell is in and is not powered state under second state.
Optionally, the source program number of at least one application program is also stored in first non-volatile memory cells According to when the electronic equipment is in the first state, the system operation data during operating system is stored in institute It states in the second non-volatile memory cells, when any one at least one application program or multiple application programs are run Application operation data be stored in the volatile memory cell.
Optionally, when the electronic equipment is in the first state, the system operation data is transported with the application The sum of data volume of row data is more than the memory capacity of second non-volatile memory cells.
Optionally, after the electronic equipment is in the first state of operation operating system, described the is obtained described According to the system operation data stored in second non-volatile memory cells before one instruction or described, by institute It states electronic equipment to switch to after the first state, the method further includes:
Obtain the 3rd instruction;
Based on the described 3rd instruction, the electronic equipment switches to the third state for not running the operating system, wherein First non-volatile memory cells, second non-volatile memory cells and the volatibility under the third state Storage unit is in the state that is not powered, and second non-volatile memory cells, which do not store, to be obtained described in before the 3rd instruction The system operation data in second non-volatile memory cells;
Under the third state, the 4th instruction is obtained;
Based on the described 4th instruction, the electronic equipment switches to the 4th state for running the operating system, wherein Under 4th state, the system fortune during operating system is only stored in second non-volatile memory cells Row data, first non-volatile memory cells and second non-volatile memory cells are in and are powered state, described Volatile memory cell be in be not powered state so that the electronic equipment can delete or unload it is described it is at least one should With any application program in program.
Optionally, after the electronic equipment is in the first state of operation operating system, described the is obtained described According to the system operation data stored in second non-volatile memory cells before one instruction or described, by institute It states electronic equipment to switch to after the first state, the method further includes:
The 5th instruction is obtained, and based on the described 5th instruction, stops powering to the volatile memory cell so that described Electronic equipment enters the 5th state, so that the electronic equipment can be deleted or unloaded at least one application program Any application program, wherein under the 5th state, first non-volatile memory cells and described second non-volatile Storage unit is in the state that is powered, and the volatile memory cell is in and is not powered state.
Optionally, after the electronic equipment is in the first state of operation operating system, described the is obtained described According to the system operation data stored in second non-volatile memory cells before one instruction or described, by institute It states electronic equipment to switch to after the first state, the method further includes:
Definite the first application program for needing to run;
According to first application program, the first application operation data storage during the first application program operation is determined In second non-volatile memory cells or in the volatile memory cell.
Optionally, it is described according to first application program, determine the first application during the first application program operation Operation data are stored in second non-volatile memory cells or in the volatile memory cell, are specifically included:
The corresponding first storage address label of first application program is obtained, and according to the first storage address label Described in storage address, determine that the first application operation data are stored in second non-volatile memory cells or storage In the volatile memory cell;Or
In mapping table between the storage address of application operation data when application program and application program are run, The corresponding storage address of first application program is searched, and according to the corresponding storage address of first application program, is determined The first application operation data are stored in second non-volatile memory cells or are stored in the volatile memory cell In.
Optionally, it is described determine the first application operation data be stored in second non-volatile memory cells or After being stored in the volatile memory cell, the method further includes:When running first application program, by described in First application operation data correspondence is stored in second non-volatile memory cells or is stored in the volatile storage list In member.
Optionally, first application operation data correspondence is stored in second non-volatile memory cells described In or after being stored in the volatile memory cell, the method further includes:
An adjust instruction is obtained, the adjust instruction is used to that the electronic equipment to be controlled to adjust the first application operation number According to storage address;
Based on the adjust instruction, the storage address of adjustment the first application operation data.
Optionally, it is described based on the adjust instruction, the storage address of the first application operation data is adjusted, is specifically wrapped It includes:
It is described by the first application operation data correspondence be stored in second non-volatile memory cells after, The first application operation data are copied to from second non-volatile memory cells in the volatile memory cell, and Delete the first application operation data being stored in second non-volatile memory cells;Or
It is described by the first application operation data correspondence be stored in the volatile memory cell after, will described in First application operation data are copied to from the volatile memory cell in second non-volatile memory cells, and are deleted and deposited Store up the first application operation data in the volatile memory cell.
Optionally, the first application operation data are copied to described second from the volatile memory cell described In non-volatile memory cells, and delete be stored in the first application operation data in the volatile memory cell it Afterwards, the method further includes:
It is needing by the first application operation data convert into the volatile memory cell, it is non-easy by described second The first application operation data in the property lost storage unit are copied in the volatile memory cell, and delete described second The first application operation data in non-volatile memory cells.
Optionally, the electronic equipment be in operation operating system first state before, the method further include with Lower three kinds of control electronic equipment enters at least two modes in the first state:
The first:The source program data of the operating system stored in first non-volatile memory cells is replicated It into second non-volatile memory cells and runs, so that the electronic equipment enters the first state;
Second:The source program data of the operating system stored in first non-volatile memory cells is replicated It into the volatile memory cell and runs, so that the electronic equipment enters the first state;
The third:The source program data of the operating system stored in first non-volatile memory cells is replicated It into second non-volatile memory cells and the volatile memory cell and runs, so that the electronic equipment enters The first state.
On the other hand the embodiment of the present invention also provides a kind of electronic equipment, including:
First non-volatile memory cells, first non-volatile memory cells can at least store the electronic equipment The source program data of operating system;
Second non-volatile memory cells are connected with first non-volatile memory cells, and described second is non-volatile At least part system operation number when storage unit at least can store the operating system in the operating system According to second of the first read or write speed less than second non-volatile memory cells of first non-volatile memory cells is read Writing rate;
Processing unit, respectively with first non-volatile memory cells and the second non-volatile memory cells phase When even, for being in the first state of operation operating system in the electronic equipment, the first instruction is obtained, wherein, described the First non-volatile memory cells and second non-volatile memory cells, which are in, under one state is powered state, and institute The source program data that the first non-volatile memory cells are at least stored with the operating system of the electronic equipment is stated, described second is non- Volatile memory cell at least stores at least part system operation data during the operating system, and based on described first Instruction, the electronic equipment switches to the second state for not running the operating system, wherein described in said second condition First non-volatile memory cells and second non-volatile memory cells, which are in, is not powered state, and described second is non-volatile Property storage unit storage obtain the system operation data before first instruction in second non-volatile memory cells, So that the electronic equipment is in said second condition, the second instruction is obtained, and according to the described second instruction, according to described the The electronic equipment is switched to the first state by the system operation data stored in two non-volatile memory cells.
Optionally, the processing unit is additionally operable to be in the first state of the operation operating system in the electronic equipment Before, by least a portion in the source program data of the operating system stored in first non-volatile memory cells Data are copied in second non-volatile memory cells and run, and the operation data of at least a portion data are deposited Storage is in second non-volatile memory cells, so that the electronic equipment enters the first state.
Optionally, the electronic equipment further includes volatile memory cell, the volatile memory cell respectively with it is described First non-volatile memory cells, second non-volatile memory cells are connected with the processing unit, and the volatibility is deposited 3rd read or write speed of storage unit is higher than first read or write speed, and the volatile memory cell is in the operating system When can at least store at least part system operation data, wherein, the volatile memory cell in said first condition In the state that is powered, the volatile memory cell is in and is not powered state in said second condition.
Optionally, the source program number of at least one application program is also stored in first non-volatile memory cells According to when the electronic equipment is in the first state, the system operation data during operating system is stored in institute It states in the second non-volatile memory cells, when any one at least one application program or multiple application programs are run Application operation data be stored in the volatile memory cell.
Optionally, the processing unit is additionally operable to when the electronic equipment is in the first state, in the acquisition According to the system operation number stored in second non-volatile memory cells before first instruction or described According to, after the electronic equipment is switched to the first state, the 3rd instruction of acquisition;It is described and based on the described 3rd instruction Electronic equipment switches to the third state for not running the operating system, wherein described first non-volatile under the third state Property storage unit, second non-volatile memory cells and the volatile memory cell be in be not powered state, it is described Second non-volatile memory cells do not store described in second non-volatile memory cells before acquisition the described 3rd instructs System operation data, and under the third state, the 4th instruction is obtained, and based on the described 4th instruction, the electronic equipment The 4th state for running the operating system is switched to, wherein under the 4th state, the second non-volatile memories list System operation data when only storing the operating system in member, first non-volatile memory cells and described Second non-volatile memory cells are in the state that is powered, and the volatile memory cell is in and is not powered state, so that Any application program at least one application program can be deleted or unloaded to the electronic equipment.
Optionally, the processing unit be additionally operable to the electronic equipment be in operation operating system first state it Afterwards, according to the institute stored in second non-volatile memory cells before the acquisition first instruction or described System operation data is stated, after the electronic equipment is switched to the first state, obtains the 5th instruction, and based on described the Five instructions stop powering to the volatile memory cell so that the electronic equipment enters the 5th state, so that the electricity Any application program at least one application program can be deleted or unloaded to sub- equipment, wherein in the 5th state Under, first non-volatile memory cells and second non-volatile memory cells are in and are powered state, described volatile Property storage unit be in be not powered state.
Optionally, the processing unit be additionally operable to the electronic equipment be in operation operating system first state it Afterwards, according to the institute stored in second non-volatile memory cells before the acquisition first instruction or described System operation data is stated, after the electronic equipment is switched to the first state, determines to need run first using journey Sequence, the source program data of first application program are stored in first non-volatile memory cells, and according to described It is non-volatile to determine that the first application operation data during the first application program operation are stored in described second for one application program In storage unit or in the volatile memory cell.
Optionally, the processing unit is additionally operable to obtain the corresponding first storage address label of first application program, And the storage address according to described in the first storage address label, it is described to determine that the first application operation data are stored in Second non-volatile memory cells are stored in the volatile memory cell or when application program and application program are run Application operation data storage address between mapping table in, search the corresponding storage of first application program Location, and according to the corresponding storage address of first application program, determine that the first application operation data are stored in described Two non-volatile memory cells are stored in the volatile memory cell.
Optionally, the processing unit is additionally operable to determine that the first application operation data are stored in described second described Non-volatile memory cells or after being stored in the volatile memory cell, will when running first application program The first application operation data correspondence is stored in second non-volatile memory cells or is stored in the volatibility and deposits In storage unit.
Optionally, the processing unit is additionally operable to that first application operation data correspondence is stored in described the described In two non-volatile memory cells or after being stored in the volatile memory cell, an adjust instruction, the adjustment are obtained The storage address that the electronic equipment is controlled to adjust the first application operation data is instructed, and is referred to based on the adjustment Order adjusts the storage address of the first application operation data.
Optionally, the processing unit is specifically additionally operable to that first application operation data correspondence is stored in institute described After stating in the second non-volatile memory cells, by the first application operation data from second non-volatile memory cells It copies in the volatile memory cell, and deletes described first be stored in second non-volatile memory cells and answer With operation data or it is described by the first application operation data correspondence be stored in the volatile memory cell after, The first application operation data in second non-volatile memory cells are copied in the volatile memory cell, And delete the first application operation data in second non-volatile memory cells.
Optionally, the processing unit is additionally operable to described that the first application operation data are stored in described second is non- Volatile memory cell or after being stored in the volatile memory cell, it is described by the first application operation data from Second non-volatile memory cells are copied to first application operation in the volatile memory cell or described Before data are copied to from the volatile memory cell in second non-volatile memory cells, detection first storage Whether address tag changes, wherein, when the first variation occurs for the first storage address label, the first variation table The storage address described in the bright first storage address label is changed to institute by second non-volatile memory cells Volatile memory cell is stated, performs step:The first application operation data are answered from second non-volatile memory cells It makes in the volatile memory cell;When the second variation occurs for the first storage address label, the second variation table The storage address described in the bright first storage address label is changed to described second by the volatile memory cell Non-volatile memory cells perform step:The first application operation data are copied into institute from the volatile memory cell It states in the second non-volatile memory cells.
Optionally, the processing unit be additionally operable to the electronic equipment be in operation operating system first state it Before, the source program data of the operating system is loaded into second non-volatile memory cells and/or the volatile storage In unit, so that the electronic equipment enters the first state.
On the other hand the embodiment of the present invention also provides a kind of electronic equipment, including:
Casing;
Circuit board is arranged in the casing;
First nonvolatile memory is connected with the circuit board, and first non-volatile memory cells can at least be deposited Store up the source program data of the operating system of the electronic equipment;
Second nonvolatile memory is arranged on the circuit board, is connected with first nonvolatile memory, institute The second non-volatile memory cells are stated when at least can store the operating system in the operating system at least Part system runs data, and the first read or write speed of first non-volatile memory cells is non-volatile less than described second to deposit Second read or write speed of storage unit;
Processor is arranged on the circuit board, respectively with first nonvolatile memory and it is described second it is non-easily The property lost memory is connected, for when the electronic equipment is in the first state for running operating system, obtaining the first instruction, In, first nonvolatile memory and second nonvolatile memory, which are in, in said first condition is powered shape State, and first nonvolatile memory is at least stored with the source program data of the operating system of the electronic equipment, it is described Second nonvolatile memory at least stores at least part system operation data during the operating system, and based on described First instruction, the electronic equipment switches to the second state for not running the operating system, wherein in said second condition First nonvolatile memory and second nonvolatile memory, which are in, is not powered state, and described second is non-volatile Property memory storage obtain the system operation data before first instruction in second nonvolatile memory so that Under second state described in the electronic equipment of obtaining, the second instruction is obtained, and according to the described second instruction, it is non-easy according to described second The system operation data stored in the property lost memory, the first state is switched to by the electronic equipment.
Optionally, the electronic equipment further includes volatile memory, and the volatile memory is respectively with described first Nonvolatile memory, second nonvolatile memory are connected with the processor, and the 3rd of the volatile memory the Read or write speed is higher than first read or write speed, and the volatile memory can at least store institute in the operating system At least part system operation data is stated, wherein, the volatile memory is in and is powered state in said first condition, The volatile memory is in and is not powered state under second state.
The one or more technical solutions provided in the embodiment of the present invention, have at least the following technical effects or advantages:
1st, as a result of based on the first instruction, electronic equipment switches to the second state for not running operating system, wherein The first non-volatile memory cells and the second non-volatile memory cells, which are in, in the second condition is not powered state, and second is non- System operation data before volatile memory cell storage the first instruction of acquisition in the second non-volatile memory cells, so that institute It states electronic equipment in the second condition, obtains the second instruction, and instructed according to second, according in the second non-volatile memory cells Electronic equipment, is switched to the technical solution of first state by the system operation data of storage, and wherein first state namely electronics is set The holding state of standby normal operating condition, the second state namely electronic equipment, electronic equipment are instructed based on first by first After state switches to the second state, the first non-volatile memory cells and the second non-volatile memory cells need not be continued into Row power supply, it becomes possible to be instructed according to second, switch to first state from the second state, that is to say, that electronic equipment is in standby shape It will not power under state to memory, so solving in the prior art, electronic equipment still can power to memory in holding state, It is not lost with the operation data for preserving electronic equipment, so as to the technical issues of electronic equipment can be caused persistently to consume electricity, realized Save the technique effect of the energy consumption of electronic equipment.
2nd, due to will not be carried out when the electronic equipments such as laptop are standby to the second non-volatile memory cells Power supply, it becomes possible to the purpose for preserving the data in the second non-volatile memory cells is realized, it is achieved thereby that reducing notebook The technique effect of the energy consumption of the electronic equipments such as computer is set for portable electronics such as laptop, smart mobile phone, tablet computers For standby, the stand-by time of electronic equipment can be increased, user is avoided and charge regularly for portable electric appts, save The time of user, so as to improve user experience.
Description of the drawings
Fig. 1 is the functional block diagram of electronic equipment provided in an embodiment of the present invention;
Fig. 2 is the flow chart of information processing method provided in an embodiment of the present invention;
Fig. 3 is the entity module figure of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
The embodiment of the present invention provides a kind of information processing method and electronic equipment, solves electricity in the prior art Sub- equipment still can power to memory in holding state, not lost with the operation data for preserving electronic equipment, so as to cause Electronic equipment persistently consumes the technical issues of electricity.
Technical solution in the embodiment of the present invention is in order to solve the above technical problems, general thought is as follows:
The embodiment of the present invention provides a kind of information processing method, and this method is applied to an electronic equipment, the electronic equipment bag Include the first non-volatile memory cells and the second non-volatile memory cells, the first read-write speed of the first non-volatile memory cells Degree is less than the second read or write speed of the second non-volatile memory cells, and the first non-volatile memory cells are at least stored with electronics The source program data of the operating system of equipment, the second non-volatile memory cells at least store operation system in operating system System operation data during system operation, this method include:
When electronic equipment is in the first state of operation operating system, the first instruction is obtained, wherein, in the first state First non-volatile memory cells and the second non-volatile memory cells, which are in, is powered state;
Based on the first instruction, electronic equipment switches to the second state for not running operating system, wherein in the second condition First non-volatile memory cells and the second non-volatile memory cells, which are in, is not powered state, the second non-volatile memories list System operation data before member storage the first instruction of acquisition in the second non-volatile memory cells, so that electronic equipment is second Under state, the second instruction is obtained, and is instructed according to second, according to the system operation number stored in the second non-volatile memory cells According to electronic equipment is switched to first state.
It can be seen that by above-mentioned part as a result of based on the first instruction, electronic equipment, which switches to, does not run operation Second state of system, wherein the first non-volatile memory cells and the second non-volatile memory cells are in the second condition State is not powered, is in the second non-volatile memory cells before the second non-volatile memory cells storage the first instruction of acquisition System operation data so that electronic equipment is in the second condition, obtain the second instruction, and are instructed according to second, non-according to second Electronic equipment is switched to the technical solution of first state by the system operation data stored in volatile memory cell, wherein the The holding state of the normal operating condition of one state namely electronic equipment, the second state namely electronic equipment, electronic equipment is in base It, need not be non-volatile to the first non-volatile memory cells and second after the first instruction switches to the second state by first state Property storage unit be persistently powered, it becomes possible to according to second instruct, switch to first state from the second state, that is to say, that Electronic equipment in the standby state will not power to the second non-volatile memory cells, be set so solving electronics in the prior art It is standby still to power in holding state to memory, it is not lost with the operation data for preserving electronic equipment, so as to which electronics can be caused Equipment persistently consumes the technical issues of electricity, realizes the technique effect for the energy consumption for saving electronic equipment.
In order to better understand the above technical scheme, in conjunction with appended figures and specific embodiments to upper Technical solution is stated to be described in detail.
The embodiment of the present invention provides a kind of information processing method, and this method is applied to an electronic equipment, the electronic equipment bag Include the first non-volatile memory cells and the second non-volatile memory cells, the first read-write speed of the first non-volatile memory cells Degree is less than the second read or write speed of the second non-volatile memory cells, and the first non-volatile memory cells can at least store operation The source program data of system, the second non-volatile memory cells at least can be in operating systems during storage program area operation At least part system operation data.
It please refers to Fig.1, Fig. 1 is the functional block diagram of electronic equipment provided in an embodiment of the present invention, as shown in Figure 1, the electricity Sub- equipment includes:First non-volatile memory cells 101;Second non-volatile memory cells 102, with the first non-volatile memories Unit 101 is connected;Processing unit 103, respectively with the first non-volatile memory cells 101 and the second non-volatile memory cells 102 are connected.
In practical applications, which can be laptop, desktop computer or smart mobile phone, put down Plate computer, is not limited herein.
In next part, exemplified by one laptop, it will be retouched by the electronic equipment to be illustrated in detail It states, wherein, the first non-volatile memory cells 101 belong to the external memory (namely external memory) of laptop, external storage Device refers to the memory in addition to calculator memory and cpu cache, for example, can be mechanical hard disk, solid state disk (SSD, Solid State Disk or Solid State Drive) or flash memory (Flash) etc., the second non-volatile memory cells 102 Belong to the internal storage (namely memory) of electronic equipment, internal storage refer to for example can be resistance internal memory (MRAM, Magnetic Random Access Memory) or using non-volatility memory (NVM, Non-Volatile Memory) memory of technology and Static RAM (SRAM, Static RAM) this combination, are not limited herein.
In the realization method of the second non-volatile memory cells 102, resistance internal memory uses two pieces of nano-level iron magnets, The structure of a metallic conductor is clamped with a nonmagnetic metal layer or insulating layer on interface, it is ferromagnetic by changing two pieces Direction, the magnetoresistance (magnetoresistance) of conductor below will change, and resistance once becomes larger, and passes through it Electric current will become smaller, vice versa, therefore, only need to a triode come judge power-up when current values just can interpolate that Two kinds of different conditions of ferromagnetic magnetic field direction distinguish " 0 " and " 1 ", and magnetic resistance resistance stores data with this, due to iron What the magnetism of magnet almost never disappeared, therefore resistance internal memory can almost be rewritten infinitely.And ferromagnetic magnetism It will not be disappeared due to power down, so it has volatility unlike dynamic random stored memory, but can fallen Continue to keep its content after electric.
In another realization method of the second non-volatile memory cells, non-volatility memory for example can be erasable Except programmable read only memory (EPROM, Erasable Programmable Read-Only Memory), band electrically-erasable can Program read-only memory (EEPROM, Electrically Erasable Programmable Read-Only Memory) etc. Deng electronic equipment is stored using non-volatility memory in Static RAM before Static RAM power down Data, so as to which when start next time, the data in non-volatility memory are copied to Static RAM In, then realize the function of the second non-volatile memory cells, details are not described herein again.
Certainly, introduction through this embodiment, the technical staff belonging to this field can be according to actual conditions, using other Suitably, the mode that may be employed, to meet the needs of actual conditions, details are not described herein again.
It please refers to Fig.2, Fig. 2 is the flow chart of information processing method provided in an embodiment of the present invention, the information processing method It can apply on laptop as shown in Figure 1, as shown in Fig. 2, this method includes:
S1:When electronic equipment is in the first state of operation operating system, the first instruction is obtained, wherein, in the first shape The first non-volatile memory cells and the second non-volatile memory cells, which are in, under state is powered state;
S2:Based on the first instruction, electronic equipment switches to the second state for not running operating system, wherein in the second state Lower first non-volatile memory cells and the second non-volatile memory cells, which are in, is not powered state, the second non-volatile memories Unit storage obtains the system operation data in the second non-volatile memory cells before the first instruction, so that electronic equipment is the Under two-state, the second instruction is obtained, and is instructed according to second, according to the system operation stored in the second non-volatile memory cells Electronic equipment is switched to first state by data.
In specific implementation process, the electronic equipment introduced in step sl is in the first state of operation operating system Before, information processing method provided in an embodiment of the present invention further includes:The operation that will be stored in first non-volatile memory cells At least a portion data in the source program data of system are copied in the second non-volatile memory cells and run, and will at least The operation data of a part of data are stored in the second non-volatile memory cells, so that electronic equipment enters first state.
Specifically, laptop can be external by the first non-volatile memory cells such as mechanical hard disk, solid state disk etc. At least a portion data in the source program data of the operating system stored in memory copy to the second non-volatile memories list In member namely in the internal storages such as resistance internal memory, and at least a portion data are run, and by least a portion data Operation data are stored in the second non-volatile memory cells namely load and run in second non-volatile memory cells Operating system, so that laptop enters the first state of operation operating system, on the other hand, second is non-easy Lose property storage unit be specifically as follows non-volatile RAM (Non-Volatile Random Access Memory, NVRAM), therefore the second non-volatile memory cells can be as the internal storage of laptop.
In practical applications, which can be Windows systems or linux system etc., certainly, It can also be the other systems that laptop can use, not be limited herein.Certainly, if electronic equipment is specially other Equipment, such as a smart mobile phone, then the operating system can be the system that the smart mobile phone can use, such as Android (Android) system etc., details are not described herein again.
When laptop enters the first state of operation operating system namely laptop is in normal work shape During state, such as can be in advanced configuration and power interface (ACPI, Advanced Configuration and Power During the S0 states that Interface) specification defines, the first non-volatile memory cells 101 and the second non-volatile memories list at this time Member 102 is in and is powered state.
It should be noted that it in embodiments of the present invention, when laptop is in first state, obtains first and refers to Order can obtain standby command specifically, and laptop can switch to holding state according to the standby command, when So, it is necessary to illustrate, the S3 that the holding state in the embodiment of the present invention is defined with advanced configuration and power interface specification (Suspend to RAM, STR, be otherwise known as and be suspended to memory) state differs, and that is introduced in embodiments of the present invention is standby State, the second non-volatile memory cells 102 are to be in not to be powered state, this can further be situated between in further part It continues, can be that acquisition input by user first instructs or laptop is meeting certain predetermined in practical applications In the case of condition, such as the operation of user is not received in a preset time period, i.e. triggering generates the standby command, notes This computer is not limited herein so as to obtain the standby command.
It needs further exist for illustrating, the holding state in the embodiment of the present invention, with advanced configuration and power interface specification S4 (Suspend to Disk, STD, be suspended to hard disk) state of definition differs, and S4 states are commonly referred to as dormant state or sleep Dormancy state, meanwhile, S4 states are to preserve system operation data into the external memories such as hard disk.
After the first instruction is obtained by step S1, information processing method provided in an embodiment of the present invention enters step S2, I.e.:Based on the first instruction, electronic equipment switches to the second state for not running operating system, wherein first non-in the second condition Volatile memory cell and the second non-volatile memory cells are in the state that is not powered, the storage of the second non-volatile memory cells System operation data before the first instruction of acquisition in the second non-volatile memory cells.
In step s 2, based on the first instruction, electronic equipment switches to the second state for not running operating system, specific next It says, i.e., the standby command obtained according to step S1, laptop switches to the S3 that advanced configuration and power interface specification defines State, under S3 states, the first non-volatile memory cells 101 of laptop namely mechanical hard disk, solid state disk etc. are outer Portion's memory and the internal storages such as the second non-volatile memory cells 102 namely resistance internal memory, which are in, is not powered state, but Since the second non-volatile memory cells 102 are not in the case where being powered state, it becomes possible to data are preserved, without being deposited as volatibility Storage unit, if dynamic random access memory needs continued power that can preserve data, so pen provided in an embodiment of the present invention Remember that this computer need not carry out continued power to the second non-volatile memory cells 102 in the standby state, it is achieved thereby that section The technique effect of the energy consumption of laptop is saved.
It can be seen from above-mentioned part due to when the electronic equipments such as laptop are standby will not it is non-to second easily The property lost storage unit is powered, it becomes possible to the purpose for preserving the data in the second non-volatile memory cells is realized, so as to real The technique effect for the energy consumption for reducing the electronic equipments such as laptop is showed, for laptop, smart mobile phone, tablet electricity For the portable electric appts such as brain, the stand-by time of electronic equipment can be increased, it is portable electric regularly to avoid user Sub- equipment charge saves the time of user, so as to improve user experience.
After electronic equipment is switched to by step S2 and not run the second state of operating system, so that electronic equipment The second instruction in the second condition, can be being obtained, and instructed according to second, according to what is stored in the second non-volatile memory cells Electronic equipment is switched to first state by system operation data.
Specifically, in the second condition, obtain second instruction, can be laptop in the standby state, obtain Instruction is waken up, laptop can be instructed according to the wake-up, and first state is switched to by the second state.In practical applications, Can be that laptop obtains the wake-up input by user for waking up instruction, LAN transmission can also being obtained by network interface Instruction, is not limited herein.
After the second instruction is obtained, you can be instructed according to second, according to what is stored in the second non-volatile memory cells Electronic equipment is switched to first state, such as can be instructed with laptop according to the wake-up of acquisition by system operation data, is read The system operation data stored in the second non-volatile memory cells 102 is taken, it is then that laptop is quick by holding state Ground switches to normal operating conditions, and details are not described herein again.
It can be seen that by above-mentioned part as a result of based on the first instruction, electronic equipment, which switches to, does not run operation Second state of system, wherein the first non-volatile memory cells and the second non-volatile memory cells are in the second condition State is not powered, is in the second non-volatile memory cells before the second non-volatile memory cells storage the first instruction of acquisition System operation data so that electronic equipment is in the second condition, obtain the second instruction, and are instructed according to second, non-according to second Electronic equipment is switched to the technical solution of first state by the system operation data stored in volatile memory cell, wherein the The holding state of the normal operating condition of one state namely electronic equipment, the second state namely electronic equipment, electronic equipment is in base It, need not be non-volatile to the first non-volatile memory cells and second after the first instruction switches to the second state by first state Property storage unit be persistently powered, it becomes possible to according to second instruct, switch to first state from the second state, that is to say, that Electronic equipment in the standby state will not power to memory, thus solve in the prior art electronic equipment in holding state still It can so power to memory, not lost with the operation data for preserving electronic equipment, so as to electronic equipment be caused persistently to consume electricity The technical issues of, realize save electronic equipment energy consumption technique effect.
Further, due to will not be to the second non-volatile memories list when the electronic equipments such as laptop are standby Member is powered, it becomes possible to the purpose for preserving the data in the second non-volatile memory cells is realized, it is achieved thereby that reducing The technique effect of the energy consumption of the electronic equipments such as laptop, it is portable for laptop, smart mobile phone, tablet computer etc. For electronic equipment, the stand-by time of electronic equipment can be increased, user is avoided and charge regularly for portable electric appts, The time of user is saved, so as to improve user experience.
In specific implementation process, please continue to refer to Fig. 1, electronic equipment provided in an embodiment of the present invention further includes volatibility Storage unit 104, the 3rd read or write speed of volatile memory cell 104 are higher than the first of the first non-volatile memory cells 101 Read or write speed, volatile memory cell 104 can at least store at least part system operation data in operating system, In, volatile memory cell 104 is in and is powered state in the first state, in the second condition volatile memory cell 104 In not being powered state.
Specifically, volatile memory cell 104 belongs to the internal storage of laptop, can be specifically dynamic with Machine stored memory (Dynamic Random Access Memory, DRAM) or static random memory (Static Random Access Memory, SRAM) etc., it is not limited herein.The first state of operation operating system is in laptop When, volatile memory cell 104 can at least store at least part system during the operating system in operating system System operation data.
When laptop is in first state, volatile memory cell 104 is in and is powered state, in notebook electricity Brain is in first state and volatile memory cell 104 is in when being powered state, and volatile memory cell 104 can store behaviour Make at least part system operation data during system operation, when laptop is in the second state, volatile memory cell 104 in state is not powered, and in the case where not being powered state, volatile memory cell 104 can not store data, therefore volatibility The data of 104 memory storage of storage unit are " volatibility ", and the second non-volatile memory cells 102 are either in and are powered State is not still powered state, can storage program area operation when at least part system operation data, therefore second The data of 102 memory storage of non-volatile memory cells are " non-volatile ".
In practical applications, the second read or write speed of the second non-volatile memory cells 102 can be equal to volatile storage 3rd read or write speed of unit 104, can not also be identical, certainly, if the second read or write speed is differed with the 3rd read or write speed, Laptop is needed using elastic memory techniques (FMT, Flex Memory Technology), by the second read or write speed and the Three read or write speeds, which are adjusted to the same (being adjusted to speed relatively low in the two), can ensure the normal operation of laptop, because This is in order to avoid the second read or write speed of the second non-volatile memory cells 102 and the 3rd read-write of volatile memory cell 104 The wasting of resources that speed is differed and brought, preferred scheme are that the second read or write speed is identical with the 3rd read or write speed.
In specific implementation process, information processing method provided in an embodiment of the present invention further includes following control electronics At least two modes into three kinds of modes of first state:
The first:It is non-that the source program data of the operating system stored in first non-volatile memory cells is copied to second It in volatile memory cell and runs, so that electronic equipment enters first state.
For example, when laptop starts, the bootstrap such as basic input output system (Basic of laptop Input Output System, BIOS) it can first copy in the second non-volatile memory cells 102 and run, it is then substantially defeated Enter output system guiding laptop by operating system, for example, Windows systems source program data copy to second it is non-easily It in the property lost storage unit 102 and runs, so that laptop enters first state, details are not described herein again.
Second:The source program data of the operating system stored in first non-volatile memory cells is copied into volatibility It in storage unit and runs, so that electronic equipment enters first state, this mode is opened with electronic equipment in the prior art Dynamic process is the same, and details are not described herein again.
For example, when laptop starts, the bootstrap such as basic input output system (Basic of laptop Input Output System, BIOS) it can first copy in volatile memory cell 104 and run, then basic input and output Operating system, such as the source program data of Windows systems are copied to volatile memory cell by System guides laptop It in 104 and runs, so that laptop enters first state, details are not described herein again.
The third:It is non-that the source program data of the operating system stored in first non-volatile memory cells is copied to second It in volatile memory cell and volatile memory cell and runs, so that electronic equipment enters first state, for example, can be The interior check figure of storage system operation data more part and parcel data such as operating system in second non-volatile memory cells 102 According to, and the driver of the more unessential partial data such as devices such as video card, keyboard is stored in volatile memory cell 104 Etc., so that laptop enters the first state of operation operating system.It should be noted that in system operation data More part and parcel data and more unessential partial data, can be as the technical staff belonging to this field or by user It is configured according to actual conditions, to meet the needs of actual conditions, details are not described herein again.
It can be seen that by above-mentioned part as a result of three kinds of modes for entering first state including control electronics In at least two modes technical solution so that electronic equipment at least can enter operation operating system by two ways First state starts electronic equipment for user and provides diversified selection, also, is unable to control electronics in one way in which When equipment enters the first state of operation operating system, the first party of operation operating system can be entered by another way Formula, so as to improve the reliability of electronic equipment.
Certainly, in practical applications, in addition to three kinds of modes that above-mentioned part is introduced, in order to improve electronic equipment Start speed, save the time of user, the embodiment of the present invention also provides the mode that a kind of control electronics enter first state:
First, the kernel data of operating system is stored in the second non-volatile memory cells 102 in advance, kernel is one The core of a operating system is that hardware based first layer software expands, provides the most basic function of operating system, be responsible for pipe Process, memory, device driver, file and the network system of reason system decide the performance and stability of system.
Since the data in the second non-volatile memory cells 102 remain able to preserve in power-off, so electronic equipment exists The kernel data stored in the second non-volatile memory cells 102 can be directly run during startup, hence into first state, section The sub- equipment of power saving needs first bootload program, then by bootstrap the source program data of operating system to be copied to second non- The two steps in volatile memory cell 102 or volatile memory cell 104, so as to improve electronic equipment into first The speed of state, and dynamic RAM can be with delay start, without waiting until that dynamic RAM initializes it Just bootload program afterwards, so as to quickly improve the speed that electronic equipment enters first state.
For example, by taking one is equipped with the smart mobile phone of Android system as an example, which can be used Android system The kernel data of linux system be stored in the second non-volatile memory cells 102, in this way, starting in the smart mobile phone When can directly run kernel data in the second non-volatile memory cells 102, so as to which the smart mobile phone be controlled to enter first State, it is non-without the bootstrap of smart mobile phone namely system start-up loading device (Bootloader) are copied to second It is run in volatile memory cell 102 or volatile memory cell 104, it is not required that again from the first non-volatile memory cells The source program data of the operating system is copied into the second non-volatile memory cells 102 or volatile memory cell 104 in 101 Middle operation so as to improve the speed that smart mobile phone enters first state, saves the time that smart mobile phone enters first state.
It of courses, while the quick Starting mode of electronic equipment is used, in order to ensure the reliability of electronic equipment, together When have some special function may need can to provide by the bootstrap of the electronic equipment, such as laptop First boot disk order can be adjusted in the basic input output system of laptop, for another example using the intelligence of Android system , it is necessary to using quick startup function (Fastboot) or be needed by the system start-up loading device of smart mobile phone exemplified by energy mobile phone Reforestation practices (Recovery) rather than normal mode of operation etc. are entered by system start-up loading device, so the present invention is real It applies example and the mode that a kind of control electronics enter first state is also provided:
By taking electronic equipment is specially the smart mobile phone of Android system as an example, due to the second non-volatile memory cells 102 Unit stores higher price, it is possible to volatile memory cell 104 is initialized, then by the bootstrap of the smart mobile phone, Namely system start-up loading device copies to volatile memory cell 104 and runs, if necessary by the system start-up loading device Some special functions, such as foregoing described quick startup function are enabled, then can be used at this moment, if need not, The source program data of guiding Android system is copied in the second non-volatile memory cells 102 and run, so as to guide intelligent hand Android system is loaded into non-volatile memory cells 102 by machine, and it is non-easily to avoid system start-up loading device occupancy second The problem of valuable memory space of the property lost storage unit 102.
In specific implementation process, the first non-volatile memory cells are also stored with the source program of at least one application program Data, when electronic equipment is in first state, it is non-volatile that system operation data during operating system is stored in second In storage unit, application operation data storage when any one at least one application program or multiple application programs are run In volatile memory cell.
Specifically, the first non-volatile memory cells 101 of laptop such as mechanical hard disk, solid state disk is external The source program data of at least one application program is also stored in memory, the first of operation operating system is in electronic equipment During state, system operation data during operating system is stored in the second non-volatile memory cells 102, this is at least one Application operation data when any one or multiple application programs in application program are run are stored in volatile memory cell In 104.
Certainly, in practical applications, appoint at least one application program stored in the first non-volatile memory cells 101 Application operation data when one or more application program of anticipating is run can also be stored in the second non-volatile memory cells 102 In, that is to say, that the running position of at least one application program stored in the first non-volatile memory cells 101 can be Two non-volatile memory cells 102 and/or volatile memory cell 104, that is to say, that be in operation in laptop and operate When the first state of system, which can correspond to the range of physical addresses of the first non-volatile memory cells 101 Memory space, memory space corresponding with the range of physical addresses of volatile memory cell 104 carries out as an entirety It uses, details are not described herein again.
In specific implementation process, since the unit price valency of current second non-volatile memory cells 102 is higher, also The effect of volatile memory cell 104 can not be substituted completely, memory capacity is smaller, so volatile memory cell 104 is deposited The memory capacity of the second non-volatile memory cells 102 can be more than by storing up capacity, on the other hand, from the operating system of laptop From the point of view of data during operation store this angle, the second non-volatile memory cells 102 can be used for storage program area operation When system operation data in more part and parcel system operation data and some more important application programs as kill virus The application operation data of software etc., while volatile memory cell 104 can be used for storing other common application programs Application operation data, that is to say, that when laptop is in the first state of operation operating system, second non-volatile deposits The memory capacity of storage unit 102 meets required capacity during operating system, it is, of course, also possible to suitably increase by one Required capacity when a little more important application programs are run, that is to say, that in general, operation is in laptop During the first state of operating system, when the system operation data during operating system of laptop is run with application program The sum of the data volume of application operation data be more than the memory capacity of the second non-volatile memory cells 102.
In next part, will according to when laptop is in first state, when application program is run should With operation data storage address difference, to introduce the technical solution in the embodiment of the present invention respectively.
Mode (1):System operation data when storage program area is run in second non-volatile memory cells 102, Application operation data when only storage application program is run in volatile memory cell 104.
In specific implementation process, after electronic equipment is in the first state of operation operating system, first is being obtained Before instruction or according to the system operation data stored in the second non-volatile memory cells, electronic equipment is switched to After one state, information processing method provided in an embodiment of the present invention further includes:The 3rd instruction is obtained, the first instruction, second refer to Order and the 3rd instruction are different between two;Based on the 3rd instruction, electronic equipment switches to the third state for not running operating system, In in a third condition the first non-volatile memory cells, the second non-volatile memory cells and volatile memory cell be in not State is powered, the second non-volatile memory cells are not stored before acquisition the 3rd instructs is in the second non-volatile memory cells System operation data;In a third condition, the 4th instruction is obtained, the first instruction, the second instruction, the 3rd are instructed with the 4th instruction two-by-two It differs;Based on the 4th instruction, electronic equipment switches to the 4th state of operation operating system, wherein under the 4th state, the System operation data in two non-volatile memory cells during storage program area operation, the first non-volatile memory cells and Second non-volatile memory cells are in the state that is powered, and volatile memory cell is in and is not powered state, so that electronics Any application program at least one application program can be deleted or unloaded to equipment.
Specifically, after laptop is in the first state of operation operating system, the first instruction is being obtained I.e. before standby command or laptop is according to the system operation number stored in the second non-volatile memory cells 102 According to after electronic equipment is switched to first state, information processing method provided in an embodiment of the present invention further includes:
The 3rd instruction is obtained, the first instruction, the second instruction and the 3rd instruction are different between two, and the 3rd instruction can be specifically One shutdown command;
After the 3rd instruction is obtained, laptop can be based on the 3rd instruction, switch to and do not run the of operating system The S5 states that three condition namely off-mode namely advanced configuration and power interface specification define, in a third condition, first Non-volatile memory cells 101, the second non-volatile memory cells 102 and volatile memory cell 104 are in and are not powered shape State, certainly, processing unit 103 are also at and are not powered state, meanwhile, the second non-volatile memory cells 102 do not store acquisition System operation data namely the second non-volatile memory cells 102 before 3rd instruction in the second non-volatile memory cells 102 In data be cleared in a third condition, certainly, the data in volatile memory cell 104 cannot when not being powered Continue to keep namely volatile memory cell 104 in data can equally be cleared in a third condition, details are not described herein again .
In a third condition, the 4th instruction is obtained, the first instruction, the second instruction, the 3rd are instructed with the 4th instruction two neither Identical, the 4th instruction can be specifically the instruction that laptop is controlled to enter safe mode;
After the 4th instruction is obtained, laptop can be based on the 4th instruction, switch to the of operation operating system Four states, under the 4th state, system when being run when storage program area is run in the second non-volatile memory cells 102 Data are run, without storing application operation data during application program operation, meanwhile, the first non-volatile memory cells 101 The state that is powered is in the second non-volatile memory cells 102, volatile memory cell 104 is in and is not powered state, when So, volatile memory cell 104 can also be in and not be initialised state, so as to avoid because during application program operation Application operation data are stored on volatile memory cell and can not be deleted or unload, so that laptop can Any one deleted or unloaded at least one application program of 101 memory storage of the first non-volatile memory cells applies journey Sequence improves the security of the electronic equipments such as laptop.
It can be seen that by above-mentioned part as a result of based on the 4th instruction, electronic equipment switches to operation operation system 4th state of system, wherein under the 4th state, when storage program area is run in the second non-volatile memory cells is System operation data, the first non-volatile memory cells and the second non-volatile memory cells are in and are powered state, and volatibility is deposited Storage unit is in the technical solution for not being powered state, can avoid the application operation data storage because when application program is run It can not be deleted and either be unloaded so that laptop can delete or unload first on volatile memory cell Any one application program at least one application program of non-volatile memory cells memory storage, improves electronic equipment Security.
The electronic equipments such as the control laptop except above-mentioned introduction enter safe mode and delete or unload using journey Outside sequence, application program can also can be deleted or unloaded come laptop by such a way:
After electronic equipment is in the first state of operation operating system, before the first instruction is obtained or in basis The system operation data stored in second non-volatile memory cells after electronic equipment is switched to first state, obtains the Five instruct namely when laptop is in normal operating conditions, obtain the 5th instruction, and the 5th instruction can be control The instruction that laptop stops power supply to volatile memory cell;
After the 5th instruction is obtained, laptop can be based on the 5th instruction, stop powering to volatile memory cell, Then so that the application operation data that are stored in 104 in volatile memory cell disappear namely can cancel application program operation, So that electronic equipment enters the 5th state, it is possible to enable electronic equipment delete or unload it is at least one using journey Any application program in sequence, details are not described herein again, wherein in a fifth state, the first non-volatile memory cells and Two non-volatile memory cells are in the state that is powered, and non-volatile memory cells are in and are not powered state, herein just no longer It repeats.
System operation data in (2) second non-volatile memory cells 102 of mode during storage program area operation simultaneously Application operation data when being run with application program, application fortune when 104 memory storage application program of volatile memory cell is run Row data.
In specific implementation process, after electronic equipment is in the first state of operation operating system, first is being obtained Before instruction or according to the system operation data stored in the second non-volatile memory cells, electronic equipment is switched to After one state, information processing method provided in an embodiment of the present invention further includes:Definite the first application program for needing to run, the The source program data of one application program is stored in the first non-volatile memory cells;According to the first application program, first is determined The first application operation data when application program is run are stored in the second non-volatile memory cells or volatile memory cell In.
Specifically will, after being user by the input units such as mouse, keyboard, touch screen one operating instruction of input, After either laptop needs the first application program of automatic start by time or other factors triggering, laptop It can determine to need the first application program run, in practical applications, the source program data of the first application program can deposit Storage can also be stored in other storage units being connected with laptop, example in the first non-volatile memory cells 101 In a mobile hard disk or a network server, it is not limited herein.
After determining to need the first application program run, can the first application be determined according to the first application program The first application operation data when program is run are stored in the second non-volatile memory cells 102 or volatile memory cell In 104.
In specific implementation process, according to the first application program, the first application fortune during the operation of the first application program is determined Row data are stored in the second non-volatile memory cells 102 or in volatile memory cell 104, can be included:Obtain first The corresponding first storage address label of application program;According to the storage address described in the first storage address label, first is determined Application operation data are stored in the second non-volatile memory cells 102 or are stored in volatile memory cell 104;Or it is applying In mapping table between the storage address of application operation data when program and application program are run, search first and apply journey The corresponding storage address of sequence, and according to the corresponding storage address of the first application program, determine that the first application operation data are stored in Second non-volatile memory cells 102 are stored in volatile memory cell 104.
Specifically, can describe the first application program in the corresponding first storage address label of the first application program The storage location of the first application operation data during operation, storage location can be specifically by user's manual setting or notes This computer is set automatically according to the permission or required storage size of first application program, is not limited herein; After obtaining the first storage address label, it can determine that first should according to the storage address of the first storage address label record The first application operation data when being run with program are stored in the second non-volatile memory cells 102 or are stored in volatile storage In unit 104.
It is, of course, also possible to be by the storage address of the application operation data when application program and application program are run it Between mapping table in, find the corresponding storage address of the first application program, and corresponding according to the first application program Storage address determines that the first application operation data are stored in the second non-volatile memory cells or are stored in volatile memory cell In.For example, it is desired to pair between pre-establishing the storage address of application operation data when application program and application program are run The correspondence between relation table, such as the storage address of the first application program and the first application operation data is answered to be stored in this Mapping table in practical applications, can establish the mapping table by laptop according to some default rules, Can the mapping table be established by user oneself, be not limited herein;Then, determining to need the first application program run Afterwards, the step for determining to need the first application program run detailed process has been described in detail in abovementioned steps, This is just repeated no more;Then, according to the first application program determined, this is found from mapping table first using journey The corresponding storage address of sequence;Finally, according to the corresponding storage address of the first application program found from mapping table, really The first application operation data during fixed first application program operation are stored in the second non-volatile memory cells 102 or are stored in easily In the property lost storage unit 104.
For example, in the present embodiment, it can be by the kernel data of the operating system of laptop, such as Windows systems The kernel data of system is stored in the second non-volatile memory cells 102, will be in operating system when laptop is run Core and some important application programs, such as with superuser right (ROOT) rank and system permission (System) grade Other application program, such as can be some firewall softwares, antivirus software etc., by above-mentioned storage address label or Mapping table, these storage address labels or mapping table can be stored in the second non-volatile memory cells 102 or Person is marked by other means, so as to which the operation data storage of kernel process and these important program process be arrived In second non-volatile memory cells 102, meanwhile, it is weighed by the relatively low application program of other importance, such as with ordinary user The application program of (User) rank is limited, such as can be Games Software, video software etc., passes through above-mentioned storage address label It either mapping table or is marked by other means, so as to by the relatively low program process of these importance Run data storage into volatile memory cell 104, system kernel be not applied to run in volatile memory cell 104 should With the permission of the second non-volatile memory cells of modification of program 102, that is to say, that is run in volatile memory cell 104 should The data in the second non-volatile memory cells 102 can be accessed with program, but the second non-volatile memories list cannot be changed Data in member 102, in this way, when installing new application program or new application program by automatic running, all only can It is run in volatile memory cell 104, without being run in the second non-volatile memory cells 104.
It of courses, it is similar with described in mode (1), in mode (2), it can equally be switched in laptop After 4th state, 101 store and application program operation in the first non-volatile memory cells is easily deleted or unloaded When the relatively low application program of the importance that is stored in volatile memory cell 104 of operation data, even if having newly install should Going wrong during with the problematic either new application program of program by automatic running can delete or uninstall, so as to carry The high security of electronic equipment,
Introduction through this embodiment, the technical staff belonging to this field can select other suitable according to actual conditions Mode come determine the first application program operation when the first application operation data, be stored in the second non-volatile memory cells It is also stored in volatile memory cell 104 in 102, to meet the needs of actual conditions, details are not described herein again.
In specific implementation process, the second non-volatile memory cells 102 are stored in definite first application operation data Or after being stored in volatile memory cell 104, information processing method provided in an embodiment of the present invention further includes:In operation the During one application program, the first application operation data correspondence is stored in the second non-volatile memory cells 102 or is stored in In volatile memory cell 104.For example, after determining that the first operation data are stored in the second non-volatile memory cells 102, When the first application program is run, you can the first application operation data during the first application program being run are stored in In second non-volatile memory cells 102;After determining that the first operation data are stored in volatile memory cell 104, the When one application program is run, you can the first application operation data during the first application program being run are stored in volatile In property storage unit 104.
In specific implementation process, the first application operation data are being stored in the second non-volatile memory cells or storage After in volatile memory cell, information processing method provided in an embodiment of the present invention further includes:An adjust instruction is obtained, is adjusted Whole instruction adjusts the storage address of the first application operation data for control electronics, and based on adjust instruction, adjustment first The storage address of application operation data.
Specifically, can be the operating condition of user or laptop according to the first application program, generation is used for Control electronics adjust the adjust instruction of the storage address of the first application operation data, and based on the adjust instruction, adjustment the The storage address of one application operation data.
In specific implementation process, based on the adjust instruction, the storage address of the first application operation data is adjusted, it is specific next It says, can be after the first application operation data correspondence is stored in the second non-volatile memory cells, by the first application Operation data are copied to from the second non-volatile memory cells 102 in volatile memory cell 104, and delete that be stored in second non- The first application operation data in volatile memory cell 102;Or the first application operation data correspondence is being stored in volatibility After in storage unit, the first application operation data are copied into the second non-volatile memories list from volatile memory cell 104 In member 102, and delete the first application operation data being stored in volatile memory cell 104.
In practical applications, after laptop obtains adjust instruction, can in real time perform and the adjust instruction Corresponding step, for example, after detecting that the first variation occurs for the first storage address label, laptop can be held immediately First application operation data " are copied to from the second non-volatile memory cells 102 in volatile memory cell 104, and deleted by row Except the first application operation data being stored in the second non-volatile memory cells 102 " the step for, certainly, it can incite somebody to action at this time The adjust instruction is synchronized in foregoing introduced address storage label or mapping table, first should to rerun next time With when program call or preserve the adjust instruction as a result, also will the adjust instruction be synchronized to foregoing be situated between In the address storage label or mapping table that continue, performed again " by the first application operation data in the situation for meeting certain condition It is copied to from the second non-volatile memory cells 102 in volatile memory cell 104, and deletes and be stored in second and non-volatile deposit The step for the first application operation data in storage unit 102 ", certainly, preferable scheme is first to preserve the knot of the adjust instruction Fruit, such as be saved in the first non-volatile memory cells 101, it is then performed again in the case where meeting some requirements with being somebody's turn to do Change corresponding step, for example, it may be determining that the first application operation data when the first application program is run do not become During change or when being to determine laptop switching state, then perform and " non-volatile deposit the first application operation data from second Storage unit 102 is copied in volatile memory cell 104, and deletes the be stored in the second non-volatile memory cells 102 It the step for one application operation data ", is not limited herein.
It is non-first application operation data are copied to second from volatile memory cell 104 in specific implementation process In volatile memory cell 102, and delete and be stored in after the first application operation data in volatile memory cell 104, this The information processing method that inventive embodiments provide further includes:It is needing the first application operation data convert to volatile storage list In member 104, such as that first application operation data are copied to second from volatile memory cell 104 is non-volatile for laptop It is since laptop can stop power supply to volatile memory cell 104 in the standby state, so will in storage unit 102 First application operation data are copied in the second non-volatile memory cells 102, then enter normal work shape in laptop It after state, that is, needs by the first application operation data convert into volatile memory cell 104, then second non-volatile can be deposited The first application operation data in storage unit 102 are copied in volatile memory cell 104, and delete the second non-volatile memories The first application operation data in unit 102.
It needs to illustrate again, information processing method provided in an embodiment of the present invention can not only be applied to notebook electricity On brain, it can also apply on the electronic equipments such as smart mobile phone, tablet computer, it is just no longer superfluous herein in order to illustrate the succinct of book It states.
Based on same inventive concept, the embodiment of the present invention also provides a kind of electronic equipment, please continue to refer to Fig. 1, the electronics Equipment includes:First non-volatile memory cells 101, the first non-volatile memory cells 101 can at least store electronic equipment The source program data of operating system;
First non-volatile memory cells 102 are connected with the first non-volatile memory cells 101, and first non-volatile deposits Storage unit 102 at least can in operating system storage program area run when at least part system operation data, first First read or write speed of non-volatile memory cells 101 is less than the second read or write speed of the first non-volatile memory cells 102;
Processing unit 103, respectively with 102 phase of the first non-volatile memory cells 101 and the first non-volatile memory cells When even, for being in the first state of operation operating system in electronic equipment, the first instruction is obtained, wherein, in the first state First non-volatile memory cells 101 and the first non-volatile memory cells 102, which are in, is powered state, and first is non-volatile Storage unit 101 is at least stored with the source program data of the operating system of electronic equipment, the first non-volatile memory cells 102 to At least part system operation data during few storage program area operation, and based on the first instruction, electronic equipment, which switches to, not to be transported Second state of row operating system, wherein the first non-volatile memory cells 101 and first non-volatile are deposited in the second condition Storage unit 102 is in the state that is not powered, and first is non-volatile before the first non-volatile memory cells 102 storage the first instruction of acquisition Property storage unit 102 in system operation data so that electronic equipment is in the second condition, obtain the second instruction, and foundation Second instruction, according to the system operation data stored in the first non-volatile memory cells 102, first is switched to by electronic equipment State.
In specific implementation process, processing unit 103 is additionally operable to be in the first shape of operation operating system in electronic equipment Before state, by least a portion number in the source program data of the operating system stored in the first non-volatile memory cells 101 According to copying in the first non-volatile memory cells 102 and run, and the operation data of at least a portion data are stored in In one non-volatile memory cells 102, so that electronic equipment enters first state.
In specific implementation process, electronic equipment further includes volatile memory cell 104, and volatile memory cell 104 divides It is not connected with the first non-volatile memory cells 101, the second non-volatile memory cells 102 and processing unit 103, volatibility is deposited 3rd read or write speed of storage unit 104 be higher than the first read or write speed, volatile memory cell 104 in operating system at least At least part system operation data can be stored, wherein, volatile memory cell 104 is in and is powered state in the first state, Volatile memory cell 104 is in and is not powered state in the second condition.
In specific implementation process, at least one application program is also stored in the first non-volatile memory cells 101 Source program data, when electronic equipment is in first state, it is non-that system operation data during operating system is stored in first In volatile memory cell 102, application fortune when any one at least one application program or multiple application programs are run Row data are stored in volatile memory cell 104.
In specific implementation process, processing unit 103 is additionally operable to when electronic equipment is in first state, is obtaining first Before instruction or according to the system operation data stored in the first non-volatile memory cells 102, electronic equipment is switched to After first state, the 3rd instruction is obtained;And based on the 3rd instruction, electronic equipment switches to the 3rd shape for not running operating system State, wherein the first non-volatile memory cells 101, the first non-volatile memory cells 102 and volatibility are deposited in a third condition Storage unit is in and is not powered state, and it is non-volatile that the first non-volatile memory cells 102 do not store before the 3rd instruction of acquisition first Property storage unit 102 in system operation data, and in a third condition, obtain the 4th instruction, and based on the 4th instruction, electronics Equipment switches to the 4th state of operation operating system, wherein under the 4th state, in the first non-volatile memory cells 102 only System operation data when storage program area is run, the first non-volatile memory cells 101 and the first non-volatile memories list Member 102 is in the state that is powered, and volatile memory cell 104 is in and is not powered state, so that electronic equipment can be deleted Or any application program at least one application program of unloading.
In specific implementation process, processing unit 103 is additionally operable to be in the first shape of operation operating system in electronic equipment After state, before the first instruction is obtained or according to the system operation number stored in the second non-volatile memory cells 102 According to, after electronic equipment is switched to first state, the 5th instruction is obtained, and instructed based on the 5th, stop to volatile storage Unit 104 is powered so that electronic equipment enters the 5th state, so that at least one application can be deleted or unloaded to electronic equipment Any application program in program, wherein in a fifth state, the first non-volatile memory cells 101 and second non-volatile are deposited Storage unit 102 is in the state that is powered, and volatile memory cell 104 is in and is not powered state.
In specific implementation process, processing unit 103 is additionally operable to be in the first shape of operation operating system in electronic equipment After state, before the first instruction is obtained or according to the system operation number stored in the first non-volatile memory cells 102 According to, after electronic equipment is switched to first state, definite the first application program for needing to run, the source journey of the first application program Ordinal number evidence is stored in the first non-volatile memory cells 101, and according to the first application program, determines that the first application program is run When the first application operation data be stored in the first non-volatile memory cells 102 or in volatile memory cell 104.
In specific implementation process, processing unit 103 is additionally operable to obtain corresponding first storage address of the first application program It is non-to determine that the first application operation data are stored in first for label, and the storage address according to described in the first storage address label Volatile memory cell 102 is stored in answering in volatile memory cell 104 or when application program and application program are run With in the mapping table between the storage address of operation data, searching the corresponding storage address of the first application program, and according to The corresponding storage address of first application program determines that the first application operation data are stored in the second non-volatile memory cells or deposit Storage is in volatile memory cell.
In specific implementation process, processing unit 103 is additionally operable to be stored in first in definite first application operation data non- Volatile memory cell 102 or after being stored in volatile memory cell 104, when running the first application program, by first Application operation data correspondence is stored in the second non-volatile memory cells 102 or is stored in volatile memory cell 104.
In specific implementation process, processing unit 103 be additionally operable to by the first application operation data be stored in first it is non-easily The property lost storage unit 102 or after being stored in volatile memory cell 104, obtains an adjust instruction, and adjust instruction is for controlling Electronic equipment processed adjusts the storage address of the first application operation data, and based on adjust instruction, adjusts the first application operation data Storage address.
In specific implementation process, processing unit 103 be additionally operable to by the first application operation data from volatile storage list Member 104 is copied in the first non-volatile memory cells 102, and is deleted first be stored in volatile memory cell 104 and answered After operation data, needing by the first application operation data convert into volatile memory cell 104, it is non-volatile by first Property storage unit 102 in the first application operation data copy in volatile memory cell 104, and delete first non-volatile The first application operation data in storage unit 102.
In specific implementation process, processing unit 103 is additionally operable to be in the first shape of operation operating system in electronic equipment Before state, enter first state by least two mode control electronics in following three kinds of modes:
The first:The source program data of the operating system stored in first non-volatile memory cells 101 is copied to It in two non-volatile memory cells 102 and runs, so that electronic equipment enters first state;
Second:The source program data of the operating system stored in first non-volatile memory cells 101 is copied to easily It in the property lost storage unit 104 and runs, so that electronic equipment enters first state;
The third:The source program data of the operating system stored in first non-volatile memory cells 101 is copied to It in two non-volatile memory cells 102 and volatile memory cell 104 and runs, so that electronic equipment enters first state.
Based on same inventive concept, on the other hand the embodiment of the present invention also provides a kind of electronic equipment, please refer to Fig.3, Fig. 3 It is the entity module schematic diagram of electronic equipment provided in an embodiment of the present invention, as shown in figure 3, the electronic equipment includes:Casing 301;
Circuit board 302 is arranged in casing 301;
First nonvolatile memory 303, is connected with circuit board 302, and the first non-volatile memory cells can at least store The source program data of the operating system of electronic equipment;
Second nonvolatile memory 304, is arranged on circuit board 302, is connected with the first nonvolatile memory 303, Second non-volatile memory cells at least can in operating system storage program area run when at least part system fortune Row data, the first read or write speed of the first non-volatile memory cells are fast less than the second read-write of the second non-volatile memory cells Degree;
Processor 305 is arranged on circuit board 302, non-volatile with the first nonvolatile memory 303 and second respectively Memory 304 is connected, for when electronic equipment is in the first state for running operating system, obtaining the first instruction, wherein, The first nonvolatile memory 303 and the second nonvolatile memory 304, which are in, under first state is powered state, and first is non- Volatile memory 303 is at least stored with the source program data of the operating system of electronic equipment, the second nonvolatile memory 304 At least part system operation data when at least storage program area is run, and based on the first instruction, electronic equipment switches to not The second state of operating system is run, wherein the first nonvolatile memory 303 and second non-volatile is deposited in the second condition Reservoir 304 is in and is not powered state, and the storage of the second nonvolatile memory 304 obtains before the first instruction second and non-volatile deposits System operation data in reservoir 304, and in the second condition, the second instruction is obtained, and instructed according to second, it is non-according to second Electronic equipment is switched to first state by the system operation data stored in volatile memory 304.
In specific implementation process, electronic equipment further includes volatile memory 306, volatile memory 306 respectively with First nonvolatile memory 303, the second nonvolatile memory 304 are connected with the processor 305, volatile memory 306 the 3rd read or write speed be higher than the first read or write speed, volatile memory 306 can at least be stored in operating system to Small part system operation data, wherein, volatile memory 306 is in and is powered state in the first state, in the second state Lower volatile memory 306 is in and is not powered state.
The information processing method in electronic equipment and previous embodiment in the present embodiment is based under same inventive concept Two aspect, the implementation process of method is described in detail in front, so those skilled in the art can basis Foregoing description is apparent from the structure and implementation process of the electronic equipment in the present embodiment, in order to illustrate the succinct of book, herein Just repeat no more.
Technical solution in the embodiments of the present invention, at least has the following technical effect that or advantage:
1st, as a result of based on the first instruction, electronic equipment switches to the second state for not running operating system, wherein The first non-volatile memory cells and the second non-volatile memory cells, which are in, in the second condition is not powered state, and second is non- System operation data before volatile memory cell storage the first instruction of acquisition in the second non-volatile memory cells, so that electric Sub- equipment in the second condition, obtains the second instruction, and is instructed according to second, is stored according in the second non-volatile memory cells System operation data, electronic equipment switches to the technical solution of first state, wherein first state namely electronic equipment The holding state of normal operating condition, the second state namely electronic equipment, electronic equipment are instructed based on first by first state After switching to the second state, the first non-volatile memory cells and the second non-volatile memory cells need not persistently be supplied Electricity, it becomes possible to be instructed according to second, switch to first state from the second state, that is to say, that electronic equipment is in the standby state It will not power to memory, so solving in the prior art, electronic equipment still can power to memory in holding state, to protect The operation data for depositing electronic equipment are not lost, and so as to the technical issues of electronic equipment can be caused persistently to consume electricity, realize section Save the technique effect of the energy consumption of electronic equipment.
2nd, due to will not be carried out when the electronic equipments such as laptop are standby to the second non-volatile memory cells Power supply, it becomes possible to the purpose for preserving the data in the second non-volatile memory cells is realized, it is achieved thereby that reducing notebook The technique effect of the energy consumption of the electronic equipments such as computer is set for portable electronics such as laptop, smart mobile phone, tablet computers For standby, the stand-by time of electronic equipment can be increased, user is avoided and charge regularly for portable electric appts, save The time of user, so as to improve user experience.
3rd, as a result of based on the 4th instruction, electronic equipment switches to the 4th state of operation operating system, wherein Under 4th state, system operation data when storage program area is run in the second non-volatile memory cells, first is non-easy The property lost storage unit and the second non-volatile memory cells are in the state that is powered, and volatile memory cell is in and is not powered shape The technical solution of state, can avoid because application program operation when application operation data be stored on volatile memory cell and It can not be deleted and either unload so that the first non-volatile memory cells memory can be deleted or unloaded to laptop Any one application program at least one application program of storage improves the security of electronic equipment.
4th, as a result of including controlling the electronic equipment at least two in three kinds of modes of the first state The technical solution of kind mode so that electronic equipment can at least enter the first state of operation operating system by two ways, Start electronic equipment for user and provide diversified selection, also, be unable to control electronic equipment entrance in one way in which When running the first state of operating system, the first method of operation operating system can be entered by another way, so as to carry The high reliability of electronic equipment.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program Product.Therefore, the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware can be used in the present invention Apply the form of example.Moreover, the computer for wherein including computer usable program code in one or more can be used in the present invention The computer program production that usable storage medium is implemented on (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided The processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices is generated for real The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction generation being stored in the computer-readable memory includes referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to generate computer implemented processing, so as in computer or The instruction offer performed on other programmable devices is used to implement in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to generate computer implemented processing, so as in computer or The instruction offer performed on other programmable devices is used to implement in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
Specifically, the corresponding computer program instructions of information processing method in the embodiment of the present application can be stored in On the storage mediums such as CD, hard disk, USB flash disk, when computer program instructions quilt corresponding with information processing method in storage medium One electronic equipment reads or is performed, and includes the following steps:
When the electronic equipment is in the first state of operation operating system, the first instruction is obtained, wherein, described the First non-volatile memory cells and second non-volatile memory cells, which are in, under one state is powered state, and institute The source program data that the first non-volatile memory cells are at least stored with the operating system of the electronic equipment is stated, described second is non- Volatile memory cell at least stores at least part system operation data during the operating system;
Based on the described first instruction, the electronic equipment switches to the second state for not running the operating system, wherein First non-volatile memory cells and second non-volatile memory cells, which are in, in said second condition is not supplied Electricity condition, the second non-volatile memory cells storage obtain second non-volatile memory cells before first instruction In the system operation data;
In said second condition, the second instruction is obtained;
According to the described second instruction, according to the system operation number stored in second non-volatile memory cells According to the electronic equipment is switched to the first state.
Optionally, other computer instruction is also stored in the storage medium, these computer instructions are to walk Suddenly:It is performed, includes when executed as follows before the first state for running the operating system is in the electronic equipment Step:
By at least one in the source program data of the operating system stored in first non-volatile memory cells Partial data is copied in second non-volatile memory cells and run, and by the operation number of at least a portion data According to being stored in second non-volatile memory cells, so that the electronic equipment enters the first state.
Optionally, the electronic equipment further includes volatile memory cell, the 3rd read-write of the volatile memory cell Speed is higher than first read or write speed, and the volatile memory cell can at least store described in the operating system At least part system operation data, wherein, the volatile memory cell is in and is powered state in said first condition, The volatile memory cell is in and is not powered state under second state.
Optionally, the source program number of at least one application program is also stored in first non-volatile memory cells According to when the electronic equipment is in the first state, the system operation data during operating system is stored in institute It states in the second non-volatile memory cells, when any one at least one application program or multiple application programs are run Application operation data be stored in the volatile memory cell.
Optionally, when the electronic equipment is in the first state, the system operation data is transported with the application The sum of data volume of row data is more than the memory capacity of second non-volatile memory cells.
Optionally, other computer instruction is also stored in the storage medium, these computer instructions are to walk Suddenly:The electronic equipment be in operation operating system first state after, it is described obtain it is described first instruction before or Described according to the system operation data stored in second non-volatile memory cells, the electronic equipment is switched It is performed after to the first state, includes the following steps when executed:
Obtain the 3rd instruction;
Based on the described 3rd instruction, the electronic equipment switches to the third state for not running the operating system, wherein First non-volatile memory cells, second non-volatile memory cells and the volatibility under the third state Storage unit is in the state that is not powered, and second non-volatile memory cells, which do not store, to be obtained described in before the 3rd instruction The system operation data in second non-volatile memory cells;
Under the third state, the 4th instruction is obtained;
Based on the described 4th instruction, the electronic equipment switches to the 4th state for running the operating system, wherein Under 4th state, the system fortune during operating system is only stored in second non-volatile memory cells Row data, first non-volatile memory cells and second non-volatile memory cells are in and are powered state, described Volatile memory cell be in be not powered state so that the electronic equipment can delete or unload it is described it is at least one should With any application program in program.
Optionally, other computer instruction is also stored in the storage medium, these computer instructions are to walk Suddenly:The electronic equipment be in operation operating system first state after, it is described obtain it is described first instruction before or Described according to the system operation data stored in second non-volatile memory cells, the electronic equipment is switched It is performed after to the first state, includes the following steps when executed:
Definite the first application program for needing to run;
According to first application program, the first application operation data storage during the first application program operation is determined In second non-volatile memory cells or in the volatile memory cell.
Optionally, other computer instruction is also stored in the storage medium, these computer instructions are to walk Suddenly:It is described according to first application program, determine the first application operation data storage during the first application program operation In second non-volatile memory cells or in the volatile memory cell, include the following steps when executed:
Obtain the corresponding first storage address label of first application program;
According to the storage address described in the first storage address label, the first application operation data storage is determined In second non-volatile memory cells or it is stored in the volatile memory cell.
Optionally, other computer instruction is also stored in the storage medium, these computer instructions are to walk Suddenly:Second non-volatile memory cells are stored in the definite first application operation data or are stored in described easy It is performed after in the property lost storage unit, includes the following steps when executed:When running first application program, by institute It states the first application operation data correspondence and is stored in second non-volatile memory cells or is stored in the volatile storage In unit.
Optionally, other computer instruction is also stored in the storage medium, these computer instructions are to walk Suddenly:It the first application operation data is stored in second non-volatile memory cells or is stored in described volatile described Property storage unit in after be performed, include the following steps when executed:
The first application operation data are copied into the volatile storage from second non-volatile memory cells In unit, and delete the first application operation data being stored in second non-volatile memory cells;Or
The first application operation data are copied into second non-volatile memories from the volatile memory cell In unit, and delete the first application operation data being stored in the volatile memory cell.
Optionally, other computer instruction is also stored in the storage medium, these computer instructions are to walk Suddenly:The first application operation data are copied into second non-volatile memories from the volatile memory cell described It in unit, and deletes the first application operation data being stored in the volatile memory cell and is performed afterwards, in quilt Include the following steps during execution:
It is needing by the first application operation data convert into the volatile memory cell, it is non-easy by described second The first application operation data in the property lost storage unit are copied in the volatile memory cell, and delete described second The first application operation data in non-volatile memory cells.
Optionally, other computer instruction is also stored in the storage medium, these computer instructions are to walk Suddenly:It the first application operation data is stored in second non-volatile memory cells or is stored in described volatile described After in property storage unit, the first application operation data are copied to from second non-volatile memory cells described The first application operation data are copied to from the volatile memory cell in the volatile memory cell or described It is performed before in second non-volatile memory cells, includes the following steps when executed:
Detect whether the first storage address label changes;
Wherein, when the first variation occurs for the first storage address label, first variation shows that described first deposits The storage address described in storage address tag is changed to the volatile storage by second non-volatile memory cells Unit performs step:The first application operation data are copied to from second non-volatile memory cells described volatile Property storage unit in, and delete and be stored in the first application operation data in second non-volatile memory cells;
When the second variation occurs for the first storage address label, second variation shows first storage address The storage address described in label is changed to second non-volatile memory cells by the volatile memory cell, holds Row step:The first application operation data are copied into the second non-volatile memories list from the volatile memory cell In member, and delete the first application operation data being stored in the volatile memory cell.
Optionally, other computer instruction is also stored in the storage medium, these computer instructions are to walk Suddenly:It is performed before the electronic equipment is in the first state of operation operating system, includes the following steps when executed:
The source program data of the operating system stored in first non-volatile memory cells is copied to described It in second non-volatile memory cells and/or the volatile memory cell and runs, so that the electronic equipment enters institute State first state.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art God and scope.In this way, if these modifications and changes of the present invention belongs to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising including these modification and variations.

Claims (10)

1. a kind of information processing method, applied to electronic equipment, the electronic equipment includes the second non-volatile memory cells, institute The method of stating includes:
When the electronic equipment is in first state, the first instruction is obtained, wherein, described second is non-in said first condition Volatile memory cell is in and is powered state, and second non-volatile memory cells at least store the operating system When at least part system operation data;
Based on the described first instruction, the electronic equipment switches to the second state, wherein in said second condition described second Non-volatile memory cells are in the state that is not powered, and the second non-volatile memory cells storage obtains first instruction The system operation data in preceding second non-volatile memory cells, so that the electronic equipment is in second shape Under state, it can obtain and be instructed according to second, according to the system operation number stored in second non-volatile memory cells According to the electronic equipment is switched to the first state.
2. the method as described in claim 1, which is characterized in that
The electronic equipment further includes the first non-volatile memory cells, the first read-write of first non-volatile memory cells Speed is less than the second read or write speed of second non-volatile memory cells, and first non-volatile memory cells are at least The source program data of energy storage program area;
The electronic equipment runs operating system when in first state, the electronic equipment be in the first state it Before, the method further includes:By the source program data of the operating system stored in first non-volatile memory cells In at least a portion data copy in second non-volatile memory cells and run, and by least a portion number According to operation data be stored in second non-volatile memory cells so that the electronic equipment enter first shape State.
3. method as claimed in claim 2, which is characterized in that
The electronic equipment further includes volatile memory cell, and the 3rd read or write speed of the volatile memory cell is higher than described First read or write speed, the volatile memory cell can at least store at least part system in the operating system Data are run, wherein, the volatile memory cell is in and is powered state in said first condition, in second state Under the volatile memory cell be in be not powered state.
4. method as claimed in claim 3, which is characterized in that
The source program data of at least one application program is also stored in first non-volatile memory cells, in the electronics When equipment is in the first state, it is non-volatile that the system operation data during operating system is stored in described second In storage unit, application operation data when any one at least one application program or multiple application programs are run It is stored in the volatile memory cell;
When the electronic equipment is in the first state, the system operation data and the data of the application operation data The sum of amount is more than the memory capacity of second non-volatile memory cells;And it is in operation in the electronic equipment and operates After the first state of system, it is described obtain first instruction before or non-volatile deposited according to described second described The system operation data stored in storage unit, after the electronic equipment is switched to the first state, the method It further includes:Obtain the 3rd instruction;Based on the described 3rd instruction, the electronic equipment, which switches to, does not run the of the operating system Three condition, wherein first non-volatile memory cells, second non-volatile memory cells under the third state It is in the volatile memory cell and is not powered state, second non-volatile memory cells, which do not store, obtains described the The system operation data before three instructions in second non-volatile memory cells;Under the third state, the is obtained Four instructions;Based on the described 4th instruction, the electronic equipment switches to the 4th state for running the operating system, wherein in institute It states under the 4th state, the system operation during operating system is only stored in second non-volatile memory cells Data, first non-volatile memory cells and second non-volatile memory cells are in the state that is powered, described easy The property lost storage unit, which is in, is not powered state, so that at least one application can be deleted or unloaded to the electronic equipment Any application program in program.
5. method as claimed in claim 3, which is characterized in that
The source program data of at least one application program is also stored in first non-volatile memory cells, in the electronics When equipment is in the first state, it is non-volatile that the system operation data during operating system is stored in described second In storage unit, application operation data when any one at least one application program or multiple application programs are run It is stored in the volatile memory cell;And
After the electronic equipment is in the first state of operation operating system, before the acquisition first instruction, Or the electronic equipment is cut according to the system operation data stored in second non-volatile memory cells described It shifts to after the first state, the method further includes:The 5th instruction is obtained, and based on the described 5th instruction, is stopped to institute State volatile memory cell power supply so that the electronic equipment enters the 5th state, so that the electronic equipment can be deleted Or any application program in unloading at least one application program, wherein under the 5th state, described first is non-easy The property lost storage unit and second non-volatile memory cells are in the state that is powered, and the volatile memory cell is in not It is powered state.
6. method as claimed in claim 3, which is characterized in that
After the electronic equipment is in the first state of operation operating system, before the acquisition first instruction, Or the electronic equipment is cut according to the system operation data stored in second non-volatile memory cells described It shifts to after the first state, the method further includes:Definite the first application program for needing to run;It should according to described first With program, determine that the first application operation data during the first application program operation are stored in second non-volatile memories In unit or in the volatile memory cell;
Wherein, it is described according to first application program, determine the first application operation number during the first application program operation According to being stored in second non-volatile memory cells or in the volatile memory cell, specifically include:Obtain described The corresponding first storage address label of one application program, and the storage address according to described in the first storage address label, Determine that the first application operation data are stored in second non-volatile memory cells or are stored in the volatile storage In unit;Or the mapping table between the storage address of the application operation data when application program and application program are run In, search the corresponding storage address of first application program, and according to the corresponding storage address of first application program, really The fixed first application operation data are stored in second non-volatile memory cells or are stored in the volatile storage list In member.
7. method as claimed in claim 3, which is characterized in that
After the electronic equipment is in the first state of operation operating system, before the acquisition first instruction, Or the electronic equipment is cut according to the system operation data stored in second non-volatile memory cells described It shifts to after the first state, the method further includes:Definite the first application program for needing to run;It should according to described first With program, determine that the first application operation data during the first application program operation are stored in second non-volatile memories In unit or in the volatile memory cell;
Wherein, second non-volatile memory cells are stored in the definite first application operation data or be stored in After in the volatile memory cell, the method further includes:It, should by described first when running first application program It is stored in second non-volatile memory cells or is stored in the volatile memory cell with operation data correspondence;Its In, first application operation data correspondence is stored in second non-volatile memory cells or is stored in institute described After stating in volatile memory cell, the method further includes:An adjust instruction is obtained, the adjust instruction is described for controlling Electronic equipment adjusts the storage address of the first application operation data;Based on the adjust instruction, adjustment first application Run the storage address of data;
Wherein, it is described based on the adjust instruction, the storage address of the first application operation data is adjusted, is specifically included: It is described by the first application operation data correspondence be stored in second non-volatile memory cells after, by described first Application operation data are copied to from second non-volatile memory cells in the volatile memory cell, and are deleted and be stored in The first application operation data in second non-volatile memory cells;Or described by the first application operation number After corresponding be stored in the volatile memory cell, by the first application operation data from the volatile storage list Member is copied in second non-volatile memory cells, and deletes described first be stored in the volatile memory cell Application operation data;Wherein, it is described the first application operation data are copied to from the volatile memory cell it is described In second non-volatile memory cells, and delete the first application operation data being stored in the volatile memory cell Afterwards, the method further includes:It is needing by the first application operation data convert into the volatile memory cell, it will The first application operation data in second non-volatile memory cells are copied in the volatile memory cell, and Delete the first application operation data in second non-volatile memory cells.
8. method as claimed in claim 3, which is characterized in that be in the first shape of operation operating system in the electronic equipment Before state, the method further includes the following control electronic equipment at least two in three kinds of modes of the first state Kind mode:
The first:The source program data of the operating system stored in first non-volatile memory cells is copied into institute It states in the second non-volatile memory cells and runs, so that the electronic equipment enters the first state;
Second:The source program data of the operating system stored in first non-volatile memory cells is copied into institute It states in volatile memory cell and runs, so that the electronic equipment enters the first state;
The third:The source program data of the operating system stored in first non-volatile memory cells is copied into institute It states in the second non-volatile memory cells and the volatile memory cell and runs, so that described in electronic equipment entrance First state.
9. a kind of electronic equipment, including:
Second non-volatile memory cells;
Processing unit is connected with second non-volatile memory cells, for when the electronic equipment is in first state, The first instruction is obtained, wherein, second non-volatile memory cells are in and are powered state, and institute in said first condition At least part system operation data when the second non-volatile memory cells at least store the operating system is stated, and is based on First instruction, the electronic equipment switches to the second state, wherein described second non-volatile in said second condition Storage unit is in and is not powered state, and the second non-volatile memory cells storage is obtained described the before first instruction The system operation data in two non-volatile memory cells, so that the electronic equipment is in said second condition, energy It obtains and is instructed according to second, according to the system operation data stored in second non-volatile memory cells, by institute It states electronic equipment and switches to the first state.
10. a kind of electronic equipment, including:
Casing;
Circuit board is arranged in the casing;
Second nonvolatile memory is arranged on the circuit board;
Processor is arranged on the circuit board, is connected with second nonvolatile memory, in the electronic equipment During in first state, the first instruction is obtained, wherein, second nonvolatile memory is in quilt in said first condition Power supply state, and at least part system operation when second nonvolatile memory at least stores the operating system Data, and based on the described first instruction, the electronic equipment switches to the second state, wherein in said second condition described the Two nonvolatile memories are in the state that is not powered, before the second nonvolatile memory storage obtains first instruction The system operation data in second nonvolatile memory, so that the electronic equipment is in second state Under, it can obtain and be instructed according to second, it, will according to the system operation data stored in second nonvolatile memory The electronic equipment switches to the first state.
CN201810008775.1A 2014-01-27 2014-01-27 A kind of information processing method and electronic equipment Pending CN108052197A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810008775.1A CN108052197A (en) 2014-01-27 2014-01-27 A kind of information processing method and electronic equipment

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810008775.1A CN108052197A (en) 2014-01-27 2014-01-27 A kind of information processing method and electronic equipment
CN201410040377.XA CN104808765B (en) 2014-01-27 2014-01-27 A kind of information processing method and electronic equipment

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201410040377.XA Division CN104808765B (en) 2014-01-27 2014-01-27 A kind of information processing method and electronic equipment

Publications (1)

Publication Number Publication Date
CN108052197A true CN108052197A (en) 2018-05-18

Family

ID=53693674

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201410040377.XA Active CN104808765B (en) 2014-01-27 2014-01-27 A kind of information processing method and electronic equipment
CN201810008775.1A Pending CN108052197A (en) 2014-01-27 2014-01-27 A kind of information processing method and electronic equipment

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201410040377.XA Active CN104808765B (en) 2014-01-27 2014-01-27 A kind of information processing method and electronic equipment

Country Status (1)

Country Link
CN (2) CN104808765B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114967552A (en) * 2022-05-25 2022-08-30 重庆长安汽车股份有限公司 Vehicle operation system and method for balancing power consumption and performance

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105183617B (en) * 2015-08-24 2018-09-14 北京联想核芯科技有限公司 A kind of information processing method and electronic equipment
CN108459882B (en) * 2017-02-21 2022-04-05 佳能株式会社 Electronic device and control method thereof
CN108536271B (en) * 2018-03-30 2021-07-06 海信视像科技股份有限公司 Method and device for reducing power consumption and storage medium
CN117492553A (en) * 2022-07-25 2024-02-02 哲库科技(上海)有限公司 Storage control method, device, equipment, storage medium, chip and memory

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1783025A (en) * 2004-12-03 2006-06-07 华为技术有限公司 Embedded system data back-up device and method
CN101042608A (en) * 2006-03-21 2007-09-26 鸿富锦精密工业(深圳)有限公司 Portable electronic device with save electricity function and implementing method thereof
US20090172469A1 (en) * 2007-12-27 2009-07-02 Huawei Technologies Co., Ltd. Method, apparatus, logic device and storage system for power-fail protection
CN101710253A (en) * 2009-11-25 2010-05-19 安凯(广州)微电子技术有限公司 Deep-sleep method of embedded system
CN101916201A (en) * 2010-08-06 2010-12-15 中兴通讯股份有限公司 Android-based mobile terminal cold-boot method and device
CN101923518A (en) * 2009-06-12 2010-12-22 三星电子株式会社 Memory system and related method of loading code
CN102156534A (en) * 2011-04-01 2011-08-17 奇智软件(北京)有限公司 Hardware energy-saving processing method and device
CN102360244A (en) * 2011-09-28 2012-02-22 深圳市卓怡恒通电脑科技有限公司 Standby method for lengthening standby time of computer

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100505638B1 (en) * 2002-08-28 2005-08-03 삼성전자주식회사 Apparatus and method for saving and restoring of working context
CN101937376B (en) * 2009-06-30 2016-03-30 联想(北京)有限公司 A kind of data managing method and data storage device
CN102810007B (en) * 2011-05-31 2015-11-25 联想(北京)有限公司 A kind of computer mode conversion method, device and computing machine

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1783025A (en) * 2004-12-03 2006-06-07 华为技术有限公司 Embedded system data back-up device and method
CN101042608A (en) * 2006-03-21 2007-09-26 鸿富锦精密工业(深圳)有限公司 Portable electronic device with save electricity function and implementing method thereof
US20090172469A1 (en) * 2007-12-27 2009-07-02 Huawei Technologies Co., Ltd. Method, apparatus, logic device and storage system for power-fail protection
CN101923518A (en) * 2009-06-12 2010-12-22 三星电子株式会社 Memory system and related method of loading code
CN101710253A (en) * 2009-11-25 2010-05-19 安凯(广州)微电子技术有限公司 Deep-sleep method of embedded system
CN101916201A (en) * 2010-08-06 2010-12-15 中兴通讯股份有限公司 Android-based mobile terminal cold-boot method and device
CN102156534A (en) * 2011-04-01 2011-08-17 奇智软件(北京)有限公司 Hardware energy-saving processing method and device
CN102360244A (en) * 2011-09-28 2012-02-22 深圳市卓怡恒通电脑科技有限公司 Standby method for lengthening standby time of computer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114967552A (en) * 2022-05-25 2022-08-30 重庆长安汽车股份有限公司 Vehicle operation system and method for balancing power consumption and performance

Also Published As

Publication number Publication date
CN104808765B (en) 2018-01-23
CN104808765A (en) 2015-07-29

Similar Documents

Publication Publication Date Title
US11635800B2 (en) System on chip for reducing wake-up time, method of operating same, and computer system including same
CN104808765B (en) A kind of information processing method and electronic equipment
US9128845B2 (en) Dynamically partition a volatile memory for a cache and a memory partition
US8028177B2 (en) Method for changing power states of a computer
US10365842B2 (en) System and method for reducing power consumption of memory
US20140184619A1 (en) System-on-chip performing dynamic voltage and frequency scaling
EP2771785B1 (en) Load boot data
JP6276470B2 (en) System and method for reducing standby power of volatile memory in portable computing devices
US10338659B2 (en) Power control for use of volatile memory as non-volatile memory
CN101065734A (en) Storing system information in a low-latency persistent memory device upon transition to a lower-power state
EP3142015A1 (en) Low-power memory-access method and associated apparatus
CN106775609A (en) System and method for reducing dormancy and recovery time
CN107369464A (en) Memory module and the system for including it
CN105760259A (en) Data backup method and device and electronic equipment
WO2017078681A1 (en) Operating mode memory migration
US20130332662A1 (en) Information processing apparatus and method and program
CN110727470B (en) Hybrid nonvolatile memory device
US10936045B2 (en) Update memory management information to boot an electronic device from a reduced power mode
US20140359224A1 (en) Dynamic cache allocation in a solid state drive environment
CN104850208A (en) Information processing method and electronic equipment
CN105630407A (en) Computer system, memory scheduling method of operation system and system starting method
CN107407953B (en) Method for reducing memory power consumption and computer equipment
CN103106042B (en) Data access method and electronic equipment
CN102377200A (en) Power supply control system and method of mobile electronic equipment
KR20100038564A (en) Method and system for permanent computing using non-volatile random access memory

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination