CN104516748B - A kind of information processing method, electronic equipment and changeable memory - Google Patents
A kind of information processing method, electronic equipment and changeable memory Download PDFInfo
- Publication number
- CN104516748B CN104516748B CN201310453011.0A CN201310453011A CN104516748B CN 104516748 B CN104516748 B CN 104516748B CN 201310453011 A CN201310453011 A CN 201310453011A CN 104516748 B CN104516748 B CN 104516748B
- Authority
- CN
- China
- Prior art keywords
- memory
- electronic equipment
- capacity
- switched
- changeable
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
The present invention discloses a kind of information processing method, electronic equipment and changeable memory, described information processing method is applied to an electronic equipment, the electronic equipment includes a changeable memory, the changeable memory includes first part's memory and second part memory, first part's memory and the memory shared same group of data pin of the second part, the method includes:When the current memory of the electronic equipment is first part's memory, judge whether the electronic equipment meets the first preset condition;When the electronic equipment meets first preset condition, the first switching command is generated;First switching command is executed, the current memory is switched to the second part memory from first part's memory.
Description
Technical field
The present invention relates to electronic technology field more particularly to a kind of information processing method, electronic equipment and can be switched interior
It deposits.
Background technology
With the continuous development of science and technology, electronic technology has also obtained development at full speed, and the type 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 part 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.
As the application installed on the electronic equipments such as smart mobile phone, tablet computer or laptop is more and more, people
During using electronic equipments such as smart mobile phone, tablet computers, the requirement to the safety of data is also higher and higher, example
Such as, " phone ", " short message " or " mail " etc. security requirement is higher applies the data generated at runtime relatively to attach most importance to
It wants, it is desirable that it can not be obtained by the lower application of other security requirements or electronic equipment is when running a system,
Seeking the system, generated data cannot be by the electronic equipment while the acquisition of the another system of operation, to ensure number at runtime
According to safety.
Currently, the electronic equipments such as smart mobile phone, tablet computer or laptop are made by way of software
Memory is divided into security fields(Secure World)With general field(Normal World), for example, being transported in electronic equipment
When row phone ", " short message " or " mail " etc. security requirement higher application, the safety neck in memory is used
Domain, when electronic equipment runs other security requirements lower application, using the general field in memory, to ensure to pacify
The safety for the data that the complete more demanding application of property generates at runtime.
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:
Since memory is continuous visible, while being that memory is divided into two parts by way of software in the prior art,
Pass through the analysis to memory address under general field, it is easy to obtain the corresponding memory address in security fields, so as to
The data in security fields are obtained under general field, then cause the leaking data in security fields, therefore, lead in the prior art
Software is crossed memory to be divided into the modes of general field and security fields there are the relatively low technical problems of security performance.
Invention content
The embodiment of the present invention solves existing by a kind of information processing method of offer, electronic equipment and changeable memory
With the presence of in technology in such a way that memory is divided into general field and security fields by software the relatively low technical problem of security performance.
On the one hand the embodiment of the present invention provides a kind of information processing method, be applied to an electronic equipment, and the electronics is set
Standby includes a changeable memory, and the changeable memory includes first part's memory and second part memory, the first part
Memory and the memory shared same group of data pin of the second part, the method includes:In the current interior of the electronic equipment
When saving as first part's memory, judge whether the electronic equipment meets the first preset condition;It is full in the electronic equipment
When foot first preset condition, the first switching command is generated;First switching command is executed, by the current memory from institute
It states first part's memory and is switched to the second part memory.
Optionally, described to execute first switching command, the current memory is switched from first part's memory
For the second part memory, specifically include:First switching command is executed, first part's memory is controlled and is in non-choosing
Middle state, and control the second part memory and be in selected state so that the electronic equipment stopping passes through described same group
Data pins execute read-write operation to first part's memory, and by the same group of data pin to the second part
Memory executes read-write operation.
Optionally, described to execute first switching command, it controls first part's memory and is in non-selected state, and
It controls the second part memory and is in selected state, specifically include:First switching command is executed, the electronics is controlled and sets
Standby Memory Controller Hub exports first setting signal;Based on the first setting signal, by mode register be arranged described in can
First mode is saved as in switching;In the first mode, first part's memory is controlled by chip selection signal and is in described
Non-selected state, and the second part memory is controlled by the chip selection signal and is in the selected state.
Optionally, the maximum memory capacity of the current memory is the first preset capacity, the of first part's memory
The sum of one capacity and the second capacity of the second part memory are more than first preset capacity.
Optionally, first switching command is executed described, first part's memory is switched to described second
Divide after memory, the method further includes:Generate and execute the first self-refresh command, according to first self-refresh command pair
The first frequency answered refreshes first part's memory, to keep the data in first part's memory not lose.
On the other hand the embodiment of the present invention provides a kind of electronic equipment, including:Casing;Circuit board is set to the casing
It is interior;Changeable memory, is set on the circuit board, and the changeable memory includes in first part's memory and second part
It deposits, first part's memory and the memory shared same group of data pin of the second part;Processor is set to the circuit
On plate, it is connected with the changeable memory, for when the current memory of the electronic equipment is first part's memory, sentencing
Whether the electronic equipment that breaks meets the first preset condition, when the electronic equipment meets first preset condition, generates
First switching command executes first switching command, the current memory is switched to from first part's memory described
Second part memory.
Optionally, the processor is specifically used for executing first switching command, controls at first part's memory
It in non-selected state, and controls the second part memory and is in selected state so that the electronic equipment stops by described
Same group of data pin executes read-write operation to first part's memory, and can be by the same group of data pin to institute
It states second part memory and executes read-write operation.
Optionally, the processor is specifically used for executing first switching command, controls the memory of the electronic equipment
Controller exports first setting signal, and is based on the first setting signal, and the mode register of the changeable memory is arranged
For first mode, and in the first mode, first part's memory is controlled by chip selection signal and is in described non-selected
State, and the second part memory is controlled by the chip selection signal and is in the selected state.
Optionally, the maximum memory capacity of the current memory is the first preset capacity, the of first part's memory
The sum of one capacity and the second capacity of the second part memory are more than first preset capacity.
Optionally, the processing implement body is additionally operable to execute first switching command described, by the first part
Memory is switched to after the second part memory, generates and execute the first self-refresh command, according to first self-refresh
Corresponding first frequency is ordered to refresh first part's memory, to keep the data in first part's memory not lose.
On the other hand the embodiment of the present invention is also provided in a kind of changeable memory, including first part's memory and second part
It deposits, wherein first part's memory and the memory shared same group of data pin of the second part;In working as an electronic equipment
When saving as first part's memory in preceding, the electronic equipment can cut the current memory from first part's memory
It is changed to the second part memory.
The one or more technical solutions provided in the embodiment of the present invention, have at least the following technical effects or advantages:
1, it due to the first part's memory and the second memory shared same group of data pin of changeable memory, realizes in object
First part's memory and second part memory are isolated in reason, so switching current memory from first part's memory in electronic equipment
After second part memory, first part's memory is in hidden state, and the application run in second part memory is by that can cut
Data in second part memory can only be accessed at this time by changing one group of data pins of memory, and can not be accessed in first part's memory
Data, similarly, the application run in first part's memory passes through one group of data pins intellectual access of changeable memory
Data in first part's memory, and the data in second part memory can not be accessed, pass through in the prior art so solving
The mode that memory is divided into general field and security fields by software realizes raising number there are the relatively low technical problem of security performance
According to safety technique effect.
2, as a result of the memory shared same group of data pin of the first part's memory and second part of changeable memory
Technical solution, it is achieved that improve data pins utilization rate technique effect.
3, as a result of execute the first switching command, by first part's memory be switched to second part memory it
Afterwards, the first self-refresh command is generated and executed, is refreshed in first part according to first frequency corresponding with the first self-refresh command
The technical solution deposited, it is achieved that so that smart mobile phone energy after being switched to first part's memory again by second part memory
Enough technique effects run quick and smoothly.
Description of the drawings
Fig. 1 is the flow chart of information processing method provided in an embodiment of the present invention;
Fig. 2 is level driver schematic diagram when memory provided in an embodiment of the present invention enters MRS patterns;
Fig. 3 is the schematic diagram when running parameter provided in an embodiment of the present invention to memory grain configures;
Fig. 4 is to exist from first part's memory to be switched to second part memory in provided in an embodiment of the present invention can be switched
Sequence diagram;
Fig. 5 is the schematic diagram provided in an embodiment of the present invention when being switched to second part memory from first part's memory;
Fig. 6 is the structural schematic diagram of changeable memory provided in an embodiment of the present invention;
Fig. 7 is the functional block diagram of electronic equipment provided in an embodiment of the present invention.
Specific implementation mode
The embodiment of the present invention solves existing by a kind of information processing method of offer, electronic equipment and changeable memory
With the presence of in technology in such a way that memory is divided into general field and security fields by software the relatively low technical problem of security performance.
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, is applied to an electronic equipment, and electronic equipment can be cut including one
Memory is changed, changeable memory includes first part's memory and second part memory, and first part's memory is total with second part memory
With same group of data pin, this method includes:
First, when the current memory of electronic equipment is first part's memory, it is pre- to judge whether electronic equipment meets first
If condition;
Then, when electronic equipment meets the first preset condition, the first switching command is generated;
Finally, the first switching command is executed, current memory is switched to second part memory from first part's memory.
By above-mentioned part can be seen that due to can be switched memory first part's memory and second memory shared same group
Data pins realize and are physically segregated first part's memory and second part memory, so in electronic equipment will be current
It deposits after first part's memory is switched to second part memory, first part's memory is in hidden state, in second part memory
The application of middle operation can only access the data in second part memory at this time by the way that one group of data pins of memory can be switched, and nothing
Method accesses the data in first part's memory, and similarly, the application run in first part's memory is by can be switched memory
Data in one group of data pins intellectual access first part memory, and the data in second part memory can not be accessed, so
It is lower to solve that there are security performances in such a way that memory is divided into general field and security fields by software in the prior art
Technical problem realizes the technique effect for the safety for improving data.
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, is applied to an electronic equipment, in practical applications, the electronics
Equipment can be the electronic equipments such as smart mobile phone, tablet computer, can also be the electronic equipments such as laptop, desktop computer,
It is not limited herein.It, will be by taking the electronic equipment be a smart mobile phone as an example, to carry out detailed citing in next part
Description.
In specific implementation process, smart mobile phone includes a changeable memory, and changeable memory includes first part's memory
With second part memory, first part's memory is connected to the smart mobile phone with the memory shared same group of data pin of second part
In bus, with the security fields of memory in the prior art compared with general field respectively uses different data pins, the present invention
First part's memory of changeable memory in embodiment and the memory shared same group of data pin of second part, improve data
The utilization rate of pin.
In practical applications, in the CPU of smart mobile phone(Can also be SOC(System on Chip, systems-on-a-chip or
System on chip)Chip), after the hardware such as mainboard determine, the maximum capacity for the memory that can be used is certain, with intelligent hand
For the maximum capacity of the current memory of machine is the first preset capacity, since electronic equipment can be by current memory out of changeable
The first part's memory deposited is switched to the second memory, while first part's memory and the memory shared same group of data pipe of second part
Foot is connected in the bus of the electronic equipment, so the second capacity of the first capacity of first part's memory and second part memory
The sum of can be more than the first preset capacity.
Specifically, in the prior art, memory is divided into the skill of security fields and general field by way of software
Art scheme can cause the capacity for the current memory that the electronic equipments such as smart mobile phone use to reduce, and the capacity of security fields is plus common
The capacity in field is equal to the first preset capacity, and in technical solution provided in an embodiment of the present invention, since smart mobile phone is same
One moment was merely able to first part's memory or second part memory using changeable memory, so the first of first part's memory
Second capacity of capacity and second part memory can be 0 and the first arbitrary value between preset capacity, first part's memory
The sum of first capacity and the second capacity of second part memory can be more than the first preset capacity, to increase the electricity such as smart mobile phone
The memory size value that sub- equipment can use, it is preferred that the first capacity of first part's memory be equal to the first preset capacity, second
Second capacity of partial memory is equal to the first preset capacity, and either when, what is used works as such smart mobile phone
The capacity of preceding memory is all equal with the first preset capacity.
In the present embodiment, the first capacity of first part's memory in changeable memory is set to the first default appearance
Amount, the second capacity of second part memory are set as the first preset capacity, are realized by increasing the quantity of memory grain,
That is, the quantity of the memory grain on changeable memory in the embodiment of the present invention is twice of common memory, certainly, if
Second capacity of the first capacity for needing first part's memory and second part memory is respectively less than the first preset capacity, then correspondence subtracts
The memory grain quantity of first part's memory or second part memory in small changeable memory, details are not described herein again.
Referring to FIG. 1, Fig. 1 is the flow chart of information processing method provided in an embodiment of the present invention, as shown in Figure 1, the party
Method includes:
S1:When the current memory of electronic equipment is first part's memory, it is default to judge whether electronic equipment meets first
Condition;
S2:When electronic equipment meets the first preset condition, the first switching command is generated;
S3:The first switching command is executed, current memory is switched to second part memory from first part's memory.
In next part, will save as security fields to save as general field in first part, in second part is
Example, to introduce the technical solution in the embodiment of the present invention in detail.
In step sl, judge whether electronic equipment meets the first preset condition, can judge that electronics is set specifically
It is standby whether to need current memory being switched to security fields from general field.
For example, smart mobile phone current memory be first part's memory when namely smart mobile phone current memory
For general field, the phone if smart mobile phone brings into operation ", " short message " or " mail " etc. the higher application of security requirement
When, to ensure the higher safety for applying the data generated at runtime of this kind of security requirement, that is, needing will be intelligent
The current memory of mobile phone is switched to second part memory from first part's memory;For another example smart mobile phone has run first simultaneously
System and second system, the first system use the general field in changeable memory, second system to use changeable interior
Security fields in depositing similarly are needed at this time if smart mobile phone is switched to second system from the first system by current memory
It is switched to second part memory from first part's memory.
In practical applications, the calling for calling the higher application of security requirement can be detected with the systems stay of smart mobile phone
Signal or the switching signal of detecting and controlling system switching, if detecting the presence of the call signal or the switching signal, i.e.,
It can determine that electronic equipment meets the first preset condition.
Certainly, if saving as security fields in first part, general field is saved as in second part, then the skill belonging to this field
Art personnel can be adjusted correspondingly the first preset condition, details are not described herein again according in preceding description.
When electronic equipment meets the first preset condition, information processing method provided in an embodiment of the present invention enters step
Rapid S2, i.e.,:When electronic equipment meets the first preset condition, the first switching command is generated.
Specifically, it can be the life when electronic equipment needs current memory being switched to security fields from general field
The first switching command of second part memory is switched to by first part's memory at the changeable memory of a control.
After generating the first switching command by step S2, information processing method provided in an embodiment of the present invention enters step
S3 is:The first switching command is executed, current memory is switched to second part memory from first part's memory.
In step s3, the first switching command is executed, current memory is switched to from first part's memory in second part
It deposits, may include, execute the first switching command, control first part memory is in non-selected state, and controls in second part
It deposits and is in selected state so that electronic equipment stops executing read-write operation to first part's memory by same group of data pin,
And read-write operation is executed to second part memory by same group of data pin.
In specific implementation process, with DDR(Double Data Rate, Double Data Rate synchronous DRAM)Rule
For model, memory can pass through MRS(Mode Register Set, mode register setting)Instruction configures each of memory grain
Kind of running parameter, referring to FIG. 2, the level driver signal that Fig. 2 is memory provided in an embodiment of the present invention when entering MRS patterns
Figure, as shown in Fig. 2, driving CKE(Clock check)、CS#(Chip selection signal)、RAS#(Row address signal)、CAS#(Column address is believed
Number)It can enter MRS patterns etc. corresponding level, then configure the running parameter of memory.
With continued reference to FIG. 3, Fig. 3 is the running parameter provided in an embodiment of the present invention to memory grain when configuring
Schematic diagram, as shown in figure 3, in DDR specification, address pins A0, A1, A9, A10, there are multiple retained-modes by A11, in reality
In, the wherein any one group of design as second part memory can be set, for example, in the present embodiment, may be used
Switching command when A9, A10, A11 are 1 as second part memory.
Referring to FIG. 4, Fig. 4 is to exist from first part's memory to be switched to second in provided in an embodiment of the present invention can be switched
The sequence diagram of partial memory, after smart mobile phone executes the first switching command generated in step S2, smart mobile phone it is current be
System can control the DDR controller of smart mobile phone(Double Data Rate Controller)Export first setting signal, example
It is 1 that such as address pins A9, A10, A11 can be arranged by MRS, namely interior save as using second part memory can be switched in setting
Pattern.
Referring to FIG. 5, Fig. 5 is provided in an embodiment of the present invention when being switched to second part memory from first part's memory
Schematic diagram, as shown in figure 5, when smart mobile phone meets the first preset condition, e.g. certain security applications such as phone, short message etc.
When application operation, system when safe operation(Secure Runtime)Corresponding processor cluster is controlled by operating system nucleus
DDR controller output setting first setting signal is controlled, so that the current memory of smart mobile phone is by mapping in first part
It deposits and is changed to mapping second part memory, realize from first part and be switched to second part memory, in practical applications, processor
Cluster can be one or more processing core in a processing chip or a processing chip, naturally it is also possible to
It is multiple processing chips, is not limited herein.
Similarly, principle is identical when the current memory of smart mobile phone is switched to first part's memory by second part memory,
Details are not described herein again.
When changeable memory is switched to second part memory by first part's memory, memory can be switched and selected by piece and believe
Number control first part memory is in non-selected state namely first part's memory is in unaddressable state, smart mobile phone
System stop executing read-write operation to first part memory, and second part memory controlled by chip selection signal be in and choose
State namely second part memory are in the state that can be addressed, then second part memory will provide memory source confession at this time
The system of smart mobile phone uses, and the system of smart mobile phone executes reading by the way that the data pins of memory can be switched to second part memory
Write operation then ensures the safety of data to which the system for realizing smart mobile phone is run under security fields.
In practical applications, referring to FIG. 6, Fig. 6 is the structural schematic diagram of changeable memory provided in an embodiment of the present invention,
As shown in fig. 6, the current memory of smart mobile phone can use general field or security fields, certainly, further include a part in intelligence
The repeated space of energy mobile phone running background, changeable memory includes first part's memory and second part memory, in smart mobile phone
When using general field in memory, the corresponding physical address of virtual address 0X0000.0000-0XFFF0.0000 is first
Partial memory, at the security fields during smart mobile phone is using memory namely the current memory of smart mobile phone is by first part
It deposits after being switched to the second memory, the corresponding physical address of virtual address 0X0000.0000-0XFFF0.0000 is second part
Memory, in this way, the application operation in general field in first part's memory, can not be visited by the analysis to memory address
The data in security fields namely second part memory are asked, it is achieved that improving the technique effect of the safety of data.
It should be noted that the virtual address and object of the memory in the smart mobile phone described in the present embodiment and Fig. 6
The correspondence managed between address is a kind of example, and effect is to clearly demonstrate the technical side in the embodiment of the present invention
Case, rather than be used to limit the present invention, introduction through this embodiment, the technical staff belonging to this field can be according to practical feelings
Condition, the correspondence between the specific range and/or physical address of virtual address are adjusted, to meet the need of actual conditions
It wants, details are not described herein again.
In changeable memory after first part's memory is switched to second part memory, letter provided in an embodiment of the present invention
Ceasing processing method further includes:The first self-refresh command is generated and executes, according to first frequency corresponding with the first self-refresh command
Refresh first part's memory, to keep the data in first part's memory not lose.
Specifically, the data in first part's memory are smart mobile phone generated data when general field is run,
For ensure smart mobile phone can be quick and smooth after being switched to first part's memory again by second part memory run, so
The system of smart mobile phone generates the first self-refresh command, and the first self-refresh command is run in first part's memory, such energy
Enough the data in first part memory is kept not lose, so that smart mobile phone is being switched to the again by second part memory
It can be run quick and smoothly after a part of memory.
Based on same inventive concept, the embodiment of the present invention also provides a kind of electronic equipment, and in practical applications, which sets
Standby can be smart mobile phone, tablet computer, can also be laptop, desktop computer, be not limited herein.
Referring to FIG. 7, Fig. 7 is the functional block diagram of electronic equipment provided in an embodiment of the present invention, as shown in figure 5, the electricity
Sub- equipment includes:
Casing 701;
Circuit board 702 is set in casing 701;
Changeable memory 703, is set on circuit board 702, and it includes first part's memory and second that memory 703, which can be switched,
Divide memory, first part's memory and the memory shared same group of data pin of second part;
Processor 704 is set on circuit board 702, is connected with changeable memory 703, in the current of electronic equipment
When inside saving as first part's memory, judge whether electronic equipment meets the first preset condition, it is default to meet first in electronic equipment
When condition, the first switching command is generated, the first switching command is executed, current memory is switched to second from first part's memory
Divide memory.
In specific implementation process, processor 704 is specifically used for executing the first switching command, controls at first part's memory
It in non-selected state, and controls second part memory and is in selected state so that electronic equipment stops passing through same group of data pipe
Foot executes read-write operation to first part's memory, and can execute read-write behaviour to second part memory by same group of data pin
Make.
In specific implementation process, processor 704 is specifically used for executing the first switching command, the memory of control electronics
Controller exports first setting signal, and is based on first setting signal, is arranged and the mode register of memory can be switched as the first mould
Formula, and in the flrst mode, first part's memory is controlled by chip selection signal and is in non-selected state, and passes through chip selection signal control
Second part memory processed is in selected state.
In specific implementation process, the maximum memory capacity of current memory is the first preset capacity, first part's memory
The sum of first capacity and the second capacity of second part memory are more than the first preset capacity.
In specific implementation process, processor 704 is specifically additionally operable to executing the first switching command, by first part's memory
It is switched to after second part memory, generates and execute the first self-refresh command, according to corresponding with the first self-refresh command
One frequency refreshes first part's memory, to keep the data in first part's memory not lose.
The embodiment of the present invention also provides a kind of changeable memory, including first part's memory and second part memory, wherein
First part's memory and the memory shared same group of data pin of second part;It is first part in the current memory of an electronic equipment
When memory, current memory can be switched to second part memory by electronic equipment from first part's memory.
Electronic equipment, changeable memory in the present embodiment and the information processing method in previous embodiment are based on same
Two aspects under inventive concept, are in front described in detail the implementation process of method, so art technology
Personnel can be apparent from the structure and implementation process of electronic equipment and changeable memory in the present embodiment according to foregoing description,
In order to illustrate the succinct of book, details are not described herein again.
Technical solution in the embodiments of the present invention, at least has the following technical effect that or advantage:
1, it due to the first part's memory and the second memory shared same group of data pin of changeable memory, realizes in object
First part's memory and second part memory are isolated in reason, so switching current memory from first part's memory in electronic equipment
After second part memory, first part's memory is in hidden state, and the application run in second part memory is by that can cut
Data in second part memory can only be accessed at this time by changing one group of data pins of memory, and can not be accessed in first part's memory
Data, similarly, the application run in first part's memory passes through one group of data pins intellectual access of changeable memory
Data in first part's memory, and the data in second part memory can not be accessed, pass through in the prior art so solving
The mode that memory is divided into general field and security fields by software realizes raising number there are the relatively low technical problem of security performance
According to safety technique effect.
2, as a result of the memory shared same group of data pin of the first part's memory and second part of changeable memory
Technical solution, it is achieved that improve data pins utilization rate technique effect.
3, as a result of execute the first switching command, by first part's memory be switched to second part memory it
Afterwards, the first self-refresh command is generated and executed, is refreshed in first part according to first frequency corresponding with the first self-refresh command
The technical solution deposited, it is achieved that so that smart mobile phone energy after being switched to first part's memory again by second part memory
Enough technique effects run quick and smoothly.
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, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, the present invention can be used in one or more wherein include computer usable program code computer
Usable storage medium(Including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)The computer program of upper implementation produces
The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, equipment(System)And the flow of computer program product
Figure and/or block diagram describe.It should be understood that 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
Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine so that the instruction executed 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 instruction generation stored in the computer readable memory includes referring to
Enable 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 also can be loaded onto a computer or other programmable data processing device so that count
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or
The instruction executed on other programmable devices is provided for realizing 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.
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 range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (9)
1. a kind of information processing method is applied to an electronic equipment, the electronic equipment includes a changeable memory, described to cut
It includes first part's memory and second part memory to change memory, the method includes:
When the current memory of the electronic equipment is first part's memory, judge whether the electronic equipment meets first
Preset condition;
When the electronic equipment meets first preset condition, the first switching command is generated;
First switching command is executed, the current memory is switched to from first part's memory in the second part
It deposits;
Wherein, the maximum memory capacity of the current memory is the first preset capacity, the first capacity of first part's memory
It is more than first preset capacity with the sum of the second capacity of the second part memory.
2. the method as described in claim 1, which is characterized in that it is described to execute first switching command, it will be described current interior
It deposits from first part's memory and is switched to the second part memory, specifically include:
First switching command is executed, first part's memory is controlled and is in non-selected state, and control described second
Memory is divided to be in selected state so that the electronic equipment stops through same group of data pin to counter foil in the first part
Row read-write operation, and read-write operation is executed to the second part memory by the same group of data pin.
3. method as claimed in claim 2, which is characterized in that described to execute first switching command, control described first
Partial memory is in non-selected state, and controls the second part memory and be in selected state, specifically includes:
First switching command is executed, the Memory Controller Hub output first setting signal of the electronic equipment is controlled;
Based on the first setting signal, it is arranged in described can be switched by mode register and saves as first mode;
In the first mode, first part's memory is controlled by chip selection signal and is in the non-selected state, and led to
It crosses the chip selection signal control second part memory and is in the selected state.
4. the method as described in any claim in claim 1-3, which is characterized in that refer in the execution first switching
It enables, after first part's memory is switched to the second part memory, the method further includes:
The first self-refresh command is generated and executed, refreshes described the according to first frequency corresponding with first self-refresh command
A part of memory, to keep the data in first part's memory not lose.
5. a kind of electronic equipment, including:
Casing;
Circuit board is set in the casing;
Changeable memory, is set on the circuit board, and the changeable memory includes in first part's memory and second part
It deposits;
Processor is set on the circuit board, is connected with the changeable memory, in the current interior of the electronic equipment
When saving as first part's memory, judge whether the electronic equipment meets the first preset condition, it is full in the electronic equipment
When foot first preset condition, the first switching command is generated, executes first switching command, by the current memory from institute
It states first part's memory and is switched to the second part memory;
Wherein, the maximum memory capacity of the current memory is the first preset capacity, the first capacity of first part's memory
It is more than first preset capacity with the sum of the second capacity of the second part memory.
6. electronic equipment as claimed in claim 5, which is characterized in that the processor is specifically used for executing first switching
Instruction, controls first part's memory and is in non-selected state, and control the second part memory and be in selected state, make
It obtains the electronic equipment to stop executing read-write operation to first part's memory by same group of data pin, and can pass through
The same group of data pin executes read-write operation to the second part memory.
7. electronic equipment as claimed in claim 6, which is characterized in that the processor is specifically used for executing first switching
Instruction, controls the Memory Controller Hub output first setting signal of the electronic equipment, and is based on the first setting signal, setting
The mode register of the changeable memory is first mode, and in the first mode, controlled by chip selection signal described in
First part's memory is in the non-selected state, and controls the second part memory by the chip selection signal and be in described
Selected state.
8. the electronic equipment as described in any claim in claim 5-7, which is characterized in that the processing implement body is additionally operable to
It is described to execute first switching command, after first part's memory is switched to the second part memory, generate simultaneously
The first self-refresh command is executed, is refreshed in the first part according to first frequency corresponding with first self-refresh command
It deposits, to keep the data in first part's memory not lose.
9. a kind of changeable memory, including first part's memory and second part memory;It is in the current memory of an electronic equipment
When first part's memory, the current memory can be switched to from first part's memory described by the electronic equipment
Second part memory, wherein the maximum memory capacity of the current memory is the first preset capacity, first part's memory
The sum of first capacity and the second capacity of the second part memory are more than first preset capacity.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310453011.0A CN104516748B (en) | 2013-09-27 | 2013-09-27 | A kind of information processing method, electronic equipment and changeable memory |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310453011.0A CN104516748B (en) | 2013-09-27 | 2013-09-27 | A kind of information processing method, electronic equipment and changeable memory |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104516748A CN104516748A (en) | 2015-04-15 |
CN104516748B true CN104516748B (en) | 2018-10-12 |
Family
ID=52792113
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310453011.0A Active CN104516748B (en) | 2013-09-27 | 2013-09-27 | A kind of information processing method, electronic equipment and changeable memory |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104516748B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108228387B (en) * | 2017-12-27 | 2019-11-05 | 中兴通讯股份有限公司 | A kind of starting control method, electronic equipment and computer readable storage medium |
CN110362983B (en) * | 2019-05-31 | 2022-06-17 | 北京中电飞华通信股份有限公司 | Method and device for ensuring consistency of dual-domain system and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1667015A1 (en) * | 2003-08-06 | 2006-06-07 | Sony Corporation | Memory device, recording medium recording therein data processing program, program, data processing system, and data processing method |
CN201156799Y (en) * | 2008-01-24 | 2008-11-26 | 中国科学院光电技术研究所 | High-speed image recording apparatus based on memory array |
CN102867158A (en) * | 2011-07-07 | 2013-01-09 | 联想(北京)有限公司 | Memory switching method, memory switching device and terminal with dual systems |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102736983B (en) * | 2011-04-14 | 2016-05-25 | 上海华虹集成电路有限责任公司 | Control the method for smart card FLASH space size |
-
2013
- 2013-09-27 CN CN201310453011.0A patent/CN104516748B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1667015A1 (en) * | 2003-08-06 | 2006-06-07 | Sony Corporation | Memory device, recording medium recording therein data processing program, program, data processing system, and data processing method |
CN201156799Y (en) * | 2008-01-24 | 2008-11-26 | 中国科学院光电技术研究所 | High-speed image recording apparatus based on memory array |
CN102867158A (en) * | 2011-07-07 | 2013-01-09 | 联想(北京)有限公司 | Memory switching method, memory switching device and terminal with dual systems |
Also Published As
Publication number | Publication date |
---|---|
CN104516748A (en) | 2015-04-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10095300B2 (en) | Independent power control of processing cores | |
CN102292715B (en) | Memory device power managers and methods | |
Burau et al. | PIConGPU: a fully relativistic particle-in-cell code for a GPU cluster | |
CN101346709B (en) | Method of storage entering self-refresh, device and system | |
Abdel-Majeed et al. | Warped register file: A power efficient register file for GPGPUs | |
US8631220B2 (en) | Adjusting the timing of signals associated with a memory system | |
US20120017099A1 (en) | Method and apparatus to limit memory power | |
KR101692128B1 (en) | Reduction of power consumption in memory devices during refresh modes | |
US20080082763A1 (en) | Apparatus and method for power management of memory circuits by a system or component thereof | |
CN104520823A (en) | Methods, systems and devices for hybrid memory management | |
US20130191677A1 (en) | Regional Clock Gating and Dithering | |
CN1989478A (en) | Method and apparatus for dynamic DLL powerdown and memory self-refresh | |
TWI418987B (en) | Memory throughput increase via fine granularity of precharge management | |
CN106909183A (en) | A kind of temprature control method and mobile terminal | |
KR102450930B1 (en) | Memory devices with multiple sets of latencies and methods for operating the same | |
CN104516748B (en) | A kind of information processing method, electronic equipment and changeable memory | |
CN104615415A (en) | Information processing method and electronic equipment | |
CN105426324B (en) | The memory access control method and device of terminal device | |
CN101894584B (en) | Implementation method for timing parameters of read-write mode signals of dynamic random access memory | |
CN206021132U (en) | A kind of desk computer based on 400 processor of Shen prestige SW | |
CN103543982A (en) | Clock frequency management method and mobile device | |
CN207367196U (en) | A kind of Portable computer main board and portable computer based on Feiteng processor | |
CN101609361A (en) | The denoising device of dynamic power management processor and method | |
CN104657084B (en) | A kind of method and electronic equipment of information processing | |
KR20220134433A (en) | Ground pin for device-to-device connection |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |