CN104516748A - Information processing method, electronic device and switchable memory - Google Patents

Information processing method, electronic device and switchable memory Download PDF

Info

Publication number
CN104516748A
CN104516748A CN201310453011.0A CN201310453011A CN104516748A CN 104516748 A CN104516748 A CN 104516748A CN 201310453011 A CN201310453011 A CN 201310453011A CN 104516748 A CN104516748 A CN 104516748A
Authority
CN
China
Prior art keywords
internal memory
memory
electronic equipment
described part
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.)
Granted
Application number
CN201310453011.0A
Other languages
Chinese (zh)
Other versions
CN104516748B (en
Inventor
章丹峰
靳玉茹
李俊
马克·C·戴维斯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201310453011.0A priority Critical patent/CN104516748B/en
Publication of CN104516748A publication Critical patent/CN104516748A/en
Application granted granted Critical
Publication of CN104516748B publication Critical patent/CN104516748B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The invention discloses an information processing method, an electronic device and a switchable memory. The information processing method is applied to the electronic device. The electronic device comprises the switchable memory; the switchable memory comprises a first portion memory and a second portion memory; the first portion memory and the second portion memory share the same group of data base pins. The information processing method comprises determining whether the electronic device meets a first preset condition or not when the current memory of the electronic device is the first portion memory; generating a first switching instruction when the electronic device meets the first preset condition; executing the first switching instruction and switching the current memory into the second portion memory from the first portion memory.

Description

A kind of information processing method, electronic equipment and changeable internal memory
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of information processing method, electronic equipment and changeable internal memory.
Background technology
Along with the development of science and technology, electronic technology have also been obtained development at full speed, and the kind of electronic product also gets more and more, and people have also enjoyed the various facilities that development in science and technology brings.Present people can pass through various types of electronic equipment, enjoy the comfortable life along with development in science and technology brings.Such as, the electronic equipments such as smart mobile phone, panel computer and notebook computer have become an important ingredient in people's life, user can use the electronic equipments such as smart mobile phone, panel computer and notebook computer to listen to the music, play games etc., to live the pressure brought to alleviate modern fast pace.
Along with smart mobile phone, the application that the electronic equipment such as panel computer or notebook computer is installed gets more and more, people are at use smart mobile phone, in the process of the electronic equipments such as panel computer, also more and more higher to the requirement of the security of data, such as, " phone ", the data outbalance that the higher application of " short message " or " mail " etc. security requirement operationally produces, require that it can not be obtained by the application that other security requirements are lower, or electronic equipment is when an operation system, require that operationally the produced data of this system can not be obtained by another system that this electronic equipment runs simultaneously, thus ensure the security of data.
At present, smart mobile phone, the electronic equipment such as panel computer or notebook computer is all that the internal memory used by the mode of software is divided into security fields (Secure World) and general field (Normal World), such as, phone is run " at electronic equipment, when the higher application of " short message " or " mail " etc. security requirement, use the security fields in internal memory, when electronic equipment runs the lower application of other security requirements, use the general field in internal memory, to ensure the security of the data that the higher application of security requirement operationally produces.
But the present inventor is in the process realizing the technical scheme in the embodiment of the present invention, find that above-mentioned technology at least exists following technical matters:
Because internal memory is continuously visible,, by the mode of software, internal memory is divided into two parts in prior art simultaneously, by the analysis to memory address under general field, be easy to obtain memory address corresponding to security fields, thus the data that can obtain under general field in security fields, then cause the leaking data in security fields, therefore, in prior art, be divided into the mode of general field and security fields to there is security performance lower technical matters internal memory by software.
Summary of the invention
The embodiment of the present invention, by providing a kind of information processing method, electronic equipment and changeable internal memory, solves in prior art and is divided into the mode of general field and security fields to there is security performance lower technical matters internal memory by software.
The embodiment of the present invention provides a kind of information processing method on the one hand, be applied to an electronic equipment, described electronic equipment comprises a changeable internal memory, described changeable internal memory comprises Part I internal memory and Part II internal memory, described Part I internal memory and the memory shared same group of data pin of described Part II, described method comprises: when the current memory of described electronic equipment is described Part I internal memory, judges that whether described electronic equipment meets first pre-conditioned; Described electronic equipment meet described first pre-conditioned time, generate the first switching command; Perform described first switching command, described current memory is switched to described Part II internal memory from described Part I internal memory.
Alternatively, described first switching command of described execution, described current memory is switched to described Part II internal memory from described Part I internal memory, specifically comprise: perform described first switching command, control described Part I internal memory and be in non-selected state, and control described Part II internal memory and be in selected state, make described electronic equipment stop performing read-write operation by described same group of data pin to described Part I internal memory, and by described same group of data pin, read-write operation is performed to described Part II internal memory.
Alternatively, described first switching command of described execution, controls described Part I internal memory and is in non-selected state, and controls described Part II internal memory and be in selected state, specifically comprise: perform described first switching command, the Memory Controller Hub controlling described electronic equipment exports the first signalization; Based on described first signalization, by mode register arrange described changeable in save as first mode; In the first mode, control described Part I internal memory by chip selection signal and be in described non-selected state, and control described Part II internal memory by described chip selection signal and be in described selected state.
Alternatively, the maximum memory capacity of described current memory is the first preset capacity, and the first capacity of described Part I internal memory and the second capacity sum of described Part II internal memory are greater than described first preset capacity.
Alternatively, at described first switching command of described execution, after described Part I internal memory is switched to described Part II internal memory, described method also comprises: generate and perform the first self-refresh command, refresh described Part I internal memory according to the first frequency corresponding with described first self-refresh command, do not lose to keep the data in described Part I internal memory.
The embodiment of the present invention provides a kind of electronic equipment on the other hand, comprising: casing; Circuit board, is arranged in described casing; Changeable internal memory, is arranged on described circuit board, and described changeable internal memory comprises Part I internal memory and Part II internal memory, described Part I internal memory and the memory shared same group of data pin of described Part II; Processor, be arranged on described circuit board, be connected with described changeable internal memory, for when the current memory of described electronic equipment is described Part I internal memory, judge that whether described electronic equipment meets first pre-conditioned, described electronic equipment meet described first pre-conditioned time, generate the first switching command, perform described first switching command, described current memory is switched to described Part II internal memory from described Part I internal memory.
Alternatively, described processor is specifically for performing described first switching command, control described Part I internal memory and be in non-selected state, and control described Part II internal memory and be in selected state, make described electronic equipment stop performing read-write operation by described same group of data pin to described Part I internal memory, and read-write operation can be performed by described same group of data pin to described Part II internal memory.
Alternatively, described processor is specifically for performing described first switching command, the Memory Controller Hub controlling described electronic equipment exports the first signalization, and based on described first signalization, the mode register arranging described changeable internal memory is first mode, and in the first mode, control described Part I internal memory by chip selection signal and be in described non-selected state, and control described Part II internal memory by described chip selection signal and be in described selected state.
Alternatively, the maximum memory capacity of described current memory is the first preset capacity, and the first capacity of described Part I internal memory and the second capacity sum of described Part II internal memory are greater than described first preset capacity.
Alternatively, described processor is concrete also at described first switching command of described execution, after described Part I internal memory is switched to described Part II internal memory, generate and perform the first self-refresh command, refresh described Part I internal memory according to the first frequency corresponding with described first self-refresh command, do not lose to keep the data in described Part I internal memory.
The embodiment of the present invention also provides a kind of changeable internal memory on the other hand, comprises Part I internal memory and Part II internal memory, wherein, and described Part I internal memory and the memory shared same group of data pin of described Part II; When the current memory of an electronic equipment is described Part I internal memory, described current memory can be switched to described Part II internal memory from described Part I internal memory by described electronic equipment.
The one or more technical schemes provided in the embodiment of the present invention, at least have following technique effect or advantage:
1, due to Part I internal memory and the second memory shared same group of data pin of changeable internal memory, achieve and isolate Part I internal memory and Part II internal memory physically, so after current memory is switched to Part II internal memory from Part I internal memory by electronic equipment, Part I internal memory is in hidden state, the application run in Part II internal memory now can only access the data in Part II internal memory by one group of data pins of changeable internal memory, and the data cannot accessed in Part I internal memory, similarly, the application run in Part I internal memory is by the data in one group of data pins intellectual access Part I internal memory of changeable internal memory, and the data cannot accessed in Part II internal memory, the mode of general field and security fields is divided into there is security performance lower technical matters internal memory so solve in prior art by software, achieve the technique effect of the security improving data.
2, due to the technical scheme of the memory shared same group of data pin of Part I internal memory and Part II that have employed changeable internal memory, so achieve the technique effect of the utilization factor improving data pins.
3, owing to have employed at execution first switching command, after Part I internal memory is switched to Part II internal memory, generate and perform the first self-refresh command, refresh the technical scheme of Part I internal memory according to the first frequency corresponding with the first self-refresh command, thus achieve make smart mobile phone can be quick and smooth after again switching to Part I internal memory by Part II internal memory the technique effect that runs.
Accompanying drawing explanation
The process flow diagram of the information processing method that Fig. 1 provides for the embodiment of the present invention;
Fig. 2 drives schematic diagram for level when internal memory that the embodiment of the present invention provides enters MRS pattern;
Fig. 3 for the embodiment of the present invention provide the running parameter of memory grain is configured time schematic diagram;
The changeable interior existence that Fig. 4 provides for the embodiment of the present invention switches to the sequential chart of Part II internal memory from Part I internal memory;
Fig. 5 for the embodiment of the present invention provide switch to Part II internal memory from Part I internal memory time schematic diagram;
The structural representation of the changeable internal memory that Fig. 6 provides for the embodiment of the present invention;
The functional block diagram of the electronic equipment that Fig. 7 provides for the embodiment of the present invention.
Embodiment
The embodiment of the present invention, by providing a kind of information processing method, electronic equipment and changeable internal memory, solves in prior art and is divided into the mode of general field and security fields to there is security performance lower technical matters internal memory by software.
Technical scheme in the embodiment of the present invention is for solving the problems of the technologies described above, and general thought is as follows:
The embodiment of the present invention provides a kind of information processing method, be applied to an electronic equipment, electronic equipment comprises a changeable internal memory, and changeable internal memory comprises Part I internal memory and Part II internal memory, Part I internal memory and the memory shared same group of data pin of Part II, the method comprises:
First, when the current memory of electronic equipment is Part I internal memory, judge that whether electronic equipment meets first pre-conditioned;
Then, electronic equipment meet first pre-conditioned time, generate the first switching command;
Finally, perform the first switching command, current memory is switched to Part II internal memory from Part I internal memory.
Can be found out by above-mentioned part, due to Part I internal memory and the second memory shared same group of data pin of changeable internal memory, achieve and isolate Part I internal memory and Part II internal memory physically, so after current memory is switched to Part II internal memory from Part I internal memory by electronic equipment, Part I internal memory is in hidden state, the application run in Part II internal memory now can only access the data in Part II internal memory by one group of data pins of changeable internal memory, and the data cannot accessed in Part I internal memory, similarly, the application run in Part I internal memory is by the data in one group of data pins intellectual access Part I internal memory of changeable internal memory, and the data cannot accessed in Part II internal memory, the mode of general field and security fields is divided into there is security performance lower technical matters internal memory so solve in prior art by software, achieve the technique effect of the security improving data.
In order to better understand technique scheme, below in conjunction with Figure of description and concrete embodiment, technique scheme is described in detail.
The embodiment of the present invention provides a kind of information processing method, be applied to an electronic equipment, in actual applications, this electronic equipment can be the electronic equipment such as smart mobile phone, panel computer, also can be the electronic equipment such as notebook computer, desktop computer, not limit at this.In ensuing part, will be a smart mobile phone for this electronic equipment, and carry out detailed citing and describe.
In specific implementation process, smart mobile phone comprises a changeable internal memory, changeable internal memory comprises Part I internal memory and Part II internal memory, Part I internal memory and the memory shared same group of data pin of Part II are connected in the bus of this smart mobile phone, compared with the security fields of internal memory in prior art use different data pins separately with general field, the Part I internal memory of the changeable internal memory in the embodiment of the present invention and the memory shared same group of data pin of Part II, improve the utilization factor of data pins.
In actual applications, also can be SOC(System on Chip at the CPU(of smart mobile phone, systems-on-a-chip or SOC (system on a chip)) chip), after the hardware such as mainboard are determined, the max cap. of its internal memory that can use is certain, be the first preset capacity for the max cap. of the current memory of smart mobile phone, because current memory can be switched to the second internal memory from the Part I internal memory of changeable internal memory by electronic equipment, Part I internal memory and the memory shared same group of data pin of Part II are connected in the bus of this electronic equipment simultaneously, so the second capacity sum of the first capacity of Part I internal memory and Part II internal memory can be greater than the first preset capacity.
Specifically, in the prior art, the capacity of the current memory being divided into the technical scheme of security fields and general field that the electronic equipments such as smart mobile phone can be caused to use internal memory by the mode of software reduces, the capacity of security fields adds that the capacity of general field equals the first preset capacity, and in the technical scheme provided in the embodiment of the present invention, because smart mobile phone is merely able at synchronization the Part I internal memory or the Part II internal memory that use changeable internal memory, so the first capacity of Part I internal memory and the second capacity of Part II internal memory can be 0 and first arbitrary values between preset capacity, first capacity of Part I internal memory and the second capacity sum of Part II internal memory can be greater than the first preset capacity, thus the memory size value that the electronic equipments such as increase smart mobile phone can use, preferably, first capacity of Part I internal memory equals the first preset capacity, second capacity of Part II internal memory equals the first preset capacity, when no matter such smart mobile phone be, the capacity of its current memory used is all equal with the first preset capacity.
In the present embodiment, be the first preset capacity by the first capacity setting of the Part I internal memory in changeable internal memory, second capacity setting of Part II internal memory is the first preset capacity, realized by the quantity of increase memory grain, that is, the quantity of the memory grain on the changeable internal memory in the embodiment of the present invention is the twice of common memory, certainly, if desired the first capacity of Part I internal memory and the second capacity of Part II internal memory are all less than the first preset capacity, the then corresponding memory grain quantity reducing Part I internal memory or Part II internal memory in changeable internal memory, just repeat no more at this.
Please refer to Fig. 1, Fig. 1 is the process flow diagram of the information processing method that the embodiment of the present invention provides, and as shown in Figure 1, the method comprises:
S1: when the current memory of electronic equipment is Part I internal memory, judges that whether electronic equipment meets first pre-conditioned;
S2: electronic equipment meet first pre-conditioned time, generate the first switching command;
S3: perform the first switching command, switches to Part II internal memory by current memory from Part I internal memory.
In ensuing part, will to save as general field in Part I, saving as security fields in Part II is example, introduces the technical scheme in the embodiment of the present invention in detail.
In step sl, judging that whether electronic equipment meets first pre-conditioned, specifically, can be judge that electronic equipment switches to security fields the need of by current memory from general field.
Such as, when the current memory of smart mobile phone is Part I internal memory, also namely the current memory of smart mobile phone is general field, the phone if smart mobile phone brings into operation ", " short message " or " mail " etc. security requirement higher application time; for ensureing the security of the data that the higher application of this kind of security requirement operationally produces, namely need the current memory of smart mobile phone to switch to Part II internal memory from Part I internal memory; Again such as, smart mobile phone has run the first system and second system simultaneously, the first system uses the general field in changeable internal memory, security fields in the changeable internal memory that second system uses, if smart mobile phone is switched to second system from the first system, then now need current memory to switch to Part II internal memory from Part I internal memory too.
In actual applications, the systems stay of smart mobile phone can detect and call the call signal of the higher application of security requirement, or the switching signal that detecting and controlling system switches, there is this call signal or this switching signal if detect, namely can determine that electronic equipment meets first pre-conditioned.
Certainly, if save as security fields in Part I, save as general field in Part II, then the technician belonging to this area according in front description, can adjust the first pre-conditioned meeting, has just repeated no more at this accordingly.
Electronic equipment meet first pre-conditioned in, the information processing method that the embodiment of the present invention provides enters step S2, that is: electronic equipment meet first pre-conditioned time, generate the first switching command.
Specifically, can be when electronic equipment needs current memory to switch to security fields from general field, generate one and control changeable internal memory is switched to Part II internal memory the first switching command by Part I internal memory.
After generating the first switching command by step S2, namely the information processing method that the embodiment of the present invention provides enters step S3: perform the first switching command, and current memory is switched to Part II internal memory from Part I internal memory.
In step s3, perform the first switching command, current memory is switched to Part II internal memory from Part I internal memory, can comprise, perform the first switching command, control Part I internal memory and be in non-selected state, and control Part II internal memory and be in selected state, make electronic equipment stop performing read-write operation by same group of data pin to Part I internal memory, and by same group of data pin, read-write operation is performed to Part II internal memory.
In specific implementation process, with DDR(Double Data Rate, Double Data Rate synchronous DRAM) specification is example, internal memory can pass through MRS(Mode Register Set, mode register is arranged) the various running parameters of instruction allocate memory particle, please refer to Fig. 2, Fig. 2 is that internal memory that the embodiment of the present invention provides level when entering MRS pattern drives schematic diagram, as shown in Figure 2, drive CKE(clock check), CS#(chip selection signal), RAS#(row address signal), CAS#(column address signal) etc. corresponding level namely can enter MRS pattern, then the running parameter of allocate memory.
Please continue to refer to Fig. 3, Fig. 3 be the embodiment of the present invention provide the running parameter of memory grain is configured time schematic diagram, as shown in Figure 3, in DDR specification, address pins A0, A1, A9, there is multiple retained-mode in A10, A11, in actual applications, wherein any one group of design as Part II internal memory can be set, such as, in the present embodiment, A9 can be adopted, as the switching command of Part II internal memory when A10, A11 are 1.
Please refer to Fig. 4, Fig. 4 is changeable interior existence that the embodiment of the present invention provides switches to Part II internal memory sequential chart from Part I internal memory, after performing at smart mobile phone the first switching command generated in step S2, the DDR controller (Double Data RateController) that namely the current system of smart mobile phone can control smart mobile phone exports the first signalization, such as address pins A9 can be set by MRS, A10, A11 is 1, also namely arrange changeable in save as the pattern using Part II internal memory.
Please refer to Fig. 5, Fig. 5 be the embodiment of the present invention provide switch to Part II internal memory from Part I internal memory time schematic diagram, as shown in Figure 5, smart mobile phone meet first pre-conditioned time, such as that some safety applications is as phone, when the application such as note runs, during safe operation, system (Secure Runtime) controls corresponding processor clustered control DDR controller output by operating system nucleus and arranges the first signalization, thus make the current memory of smart mobile phone change to mapping Part II internal memory by mapping Part I internal memory, realize switching to Part II internal memory from Part I, in actual applications, processor cluster can be a process chip, or one or more process core in a process chip, it can certainly be multiple process chip, do not limit at this.
Similarly, when the current memory of smart mobile phone switches to Part I internal memory by Part II internal memory, principle is identical, has just repeated no more at this.
When changeable internal memory is switched to Part II internal memory by Part I internal memory, namely changeable internal memory controls Part I internal memory by chip selection signal and is in non-selected state, also namely Part I internal memory is in unaddressable state, the system of smart mobile phone stops performing read-write operation to Part I internal memory, and control Part II internal memory by chip selection signal and be in selected state, also namely Part II internal memory is in state that can be addressed, the then now Part II internal memory system that will memory source be provided for smart mobile phone, the system of smart mobile phone performs read-write operation by the data pins of changeable internal memory to Part II internal memory, thus the system realizing smart mobile phone is run under security fields, then the security of data is ensured.
In actual applications, please refer to Fig. 6, Fig. 6 is the structural representation of the changeable internal memory that the embodiment of the present invention provides, as shown in Figure 6, the current memory of smart mobile phone can use general field or security fields, certainly, also comprise the repeated space of a part at smart mobile phone running background, changeable internal memory comprises Part I internal memory and Part II internal memory, when smart mobile phone uses the general field in internal memory, the physical address that its virtual address 0X0000.0000-0XFFF0.0000 is corresponding is Part I internal memory, when smart mobile phone uses the security fields in internal memory, also after namely the current memory of smart mobile phone switches to the second internal memory by Part I internal memory, the physical address that its virtual address 0X0000.0000-0XFFF0.0000 is corresponding is Part II internal memory, like this, application in general field operates in Part I internal memory, it cannot by the analysis to memory address, have access to security fields, also be the data in Part II internal memory, so achieve the technique effect of the security improving data.
It should be noted that, corresponding relation between the virtual address of the internal memory in the smart mobile phone introduced in the present embodiment and Fig. 6 and physical address is a kind of example, its effect is the technical scheme in order to clearly illustrate in the embodiment of the present invention, instead of for limiting the present invention, by the introduction of the present embodiment, technician belonging to this area can according to actual conditions, corresponding relation between the concrete scope of virtual address and/or physical address is adjusted, to meet the needs of actual conditions, just repeat no more at this.
At changeable internal memory from after Part I internal memory switches to Part II internal memory, the information processing method that the embodiment of the present invention provides also comprises: generate and perform the first self-refresh command, refresh Part I internal memory according to the first frequency corresponding with the first self-refresh command, do not lose to keep the data in Part I internal memory.
Specifically, the data that data in Part I internal memory produce when general field is run for smart mobile phone, for ensure smart mobile phone can be quick and smooth after again switching to Part I internal memory by Part II internal memory run, so the system of smart mobile phone generates the first self-refresh command, and the first self-refresh command is run in Part I internal memory, the data in Part I internal memory can be kept like this not lose, thus make smart mobile phone can be quick and smooth after again switching to Part I internal memory by Part II internal memory run.
Based on same inventive concept, the embodiment of the present invention also provides a kind of electronic equipment, and in actual applications, this electronic equipment can be smart mobile phone, panel computer, can be also notebook computer, desktop computer, not limit at this.
Please refer to Fig. 7, Fig. 7 is the functional block diagram of the electronic equipment that the embodiment of the present invention provides, and as shown in Figure 5, this electronic equipment comprises:
Casing 701;
Circuit board 702, is arranged in casing 701;
Changeable internal memory 703, is arranged on circuit board 702, and changeable internal memory 703 comprises Part I internal memory and Part II internal memory, Part I internal memory and the memory shared same group of data pin of Part II;
Processor 704, be arranged on circuit board 702, be connected with changeable internal memory 703, for when the current memory of electronic equipment is Part I internal memory, judge that whether electronic equipment meets first pre-conditioned, electronic equipment meet first pre-conditioned time, generate the first switching command, perform the first switching command, current memory is switched to Part II internal memory from Part I internal memory.
In specific implementation process, processor 704 is specifically for performing the first switching command, control Part I internal memory and be in non-selected state, and control Part II internal memory and be in selected state, make electronic equipment stop performing read-write operation by same group of data pin to Part I internal memory, and read-write operation can be performed by same group of data pin to Part II internal memory.
In specific implementation process, processor 704 is specifically for performing the first switching command, the Memory Controller Hub controlling electronic equipment exports the first signalization, and based on the first signalization, the mode register arranging changeable internal memory is first mode, and in the flrst mode, control Part I internal memory by chip selection signal and be in non-selected state, and be in selected state by chip selection signal control Part II internal memory.
In specific implementation process, the maximum memory capacity of current memory is the first preset capacity, and the first capacity of Part I internal memory and the second capacity sum of Part II internal memory are greater than the first preset capacity.
In specific implementation process, processor 704 is concrete also at execution first switching command, after Part I internal memory is switched to Part II internal memory, generate and perform the first self-refresh command, refresh Part I internal memory according to the first frequency corresponding with the first self-refresh command, do not lose to keep the data in Part I internal memory.
The embodiment of the present invention also provides a kind of changeable internal memory, comprises Part I internal memory and Part II internal memory, wherein, and Part I internal memory and the memory shared same group of data pin of Part II; When the current memory of an electronic equipment is Part I internal memory, current memory can be switched to Part II internal memory from Part I internal memory by electronic equipment.
Information processing method in electronic equipment in the present embodiment, changeable internal memory and previous embodiment is based on the aspect of two under same inventive concept, detailed description is done to the implementation process of method above, so those skilled in the art can according to the structure of the electronic equipment in aforementioned understanding the present embodiment be described clearly and changeable internal memory and implementation process, succinct in order to instructions, has just repeated no more at this.
Technical scheme in the invention described above embodiment, at least has following technique effect or advantage:
1, due to Part I internal memory and the second memory shared same group of data pin of changeable internal memory, achieve and isolate Part I internal memory and Part II internal memory physically, so after current memory is switched to Part II internal memory from Part I internal memory by electronic equipment, Part I internal memory is in hidden state, the application run in Part II internal memory now can only access the data in Part II internal memory by one group of data pins of changeable internal memory, and the data cannot accessed in Part I internal memory, similarly, the application run in Part I internal memory is by the data in one group of data pins intellectual access Part I internal memory of changeable internal memory, and the data cannot accessed in Part II internal memory, the mode of general field and security fields is divided into there is security performance lower technical matters internal memory so solve in prior art by software, achieve the technique effect of the security improving data.
2, due to the technical scheme of the memory shared same group of data pin of Part I internal memory and Part II that have employed changeable internal memory, so achieve the technique effect of the utilization factor improving data pins.
3, owing to have employed at execution first switching command, after Part I internal memory is switched to Part II internal memory, generate and perform the first self-refresh command, refresh the technical scheme of Part I internal memory according to the first frequency corresponding with the first self-refresh command, thus achieve make smart mobile phone can be quick and smooth after again switching to Part I internal memory by Part II internal memory the technique effect that runs.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, equipment (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing device produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (11)

1. an information processing method, be applied to an electronic equipment, described electronic equipment comprises a changeable internal memory, and described changeable internal memory comprises Part I internal memory and Part II internal memory, described Part I internal memory and the memory shared same group of data pin of described Part II, described method comprises:
When the current memory of described electronic equipment is described Part I internal memory, judge that whether described electronic equipment meets first pre-conditioned;
Described electronic equipment meet described first pre-conditioned time, generate the first switching command;
Perform described first switching command, described current memory is switched to described Part II internal memory from described Part I internal memory.
2. the method for claim 1, is characterized in that, described first switching command of described execution, switches to described Part II internal memory by described current memory from described Part I internal memory, specifically comprise:
Perform described first switching command, control described Part I internal memory and be in non-selected state, and control described Part II internal memory and be in selected state, make described electronic equipment stop performing read-write operation by described same group of data pin to described Part I internal memory, and by described same group of data pin, read-write operation is performed to described Part II internal memory.
3. method as claimed in claim 2, is characterized in that described first switching command of described execution controls described Part I internal memory and is in non-selected state, and controls described Part II internal memory and be in selected state, specifically comprises:
Perform described first switching command, the Memory Controller Hub controlling described electronic equipment exports the first signalization;
Based on described first signalization, by mode register arrange described changeable in save as first mode;
In the first mode, control described Part I internal memory by chip selection signal and be in described non-selected state, and control described Part II internal memory by described chip selection signal and be in described selected state.
4. the method for claim 1, is characterized in that, the maximum memory capacity of described current memory is the first preset capacity, and the first capacity of described Part I internal memory and the second capacity sum of described Part II internal memory are greater than described first preset capacity.
5. the method as described in claim arbitrary in claim 1-4, is characterized in that, at described first switching command of described execution, after described Part I internal memory is switched to described Part II internal memory, described method also comprises:
Generate and perform the first self-refresh command, refreshing described Part I internal memory according to the first frequency corresponding with described first self-refresh command, not losing to keep the data in described Part I internal memory.
6. an electronic equipment, comprising:
Casing;
Circuit board, is arranged in described casing;
Changeable internal memory, is arranged on described circuit board, and described changeable internal memory comprises Part I internal memory and Part II internal memory, described Part I internal memory and the memory shared same group of data pin of described Part II;
Processor, be arranged on described circuit board, be connected with described changeable internal memory, for when the current memory of described electronic equipment is described Part I internal memory, judge that whether described electronic equipment meets first pre-conditioned, described electronic equipment meet described first pre-conditioned time, generate the first switching command, perform described first switching command, described current memory is switched to described Part II internal memory from described Part I internal memory.
7. electronic equipment as claimed in claim 6, it is characterized in that, described processor is specifically for performing described first switching command, control described Part I internal memory and be in non-selected state, and control described Part II internal memory and be in selected state, make described electronic equipment stop performing read-write operation by described same group of data pin to described Part I internal memory, and read-write operation can be performed by described same group of data pin to described Part II internal memory.
8. electronic equipment as claimed in claim 7, it is characterized in that, described processor is specifically for performing described first switching command, the Memory Controller Hub controlling described electronic equipment exports the first signalization, and based on described first signalization, the mode register arranging described changeable internal memory is first mode, and in the first mode, control described Part I internal memory by chip selection signal and be in described non-selected state, and control described Part II internal memory by described chip selection signal and be in described selected state.
9. electronic equipment as claimed in claim 6, it is characterized in that, the maximum memory capacity of described current memory is the first preset capacity, and the first capacity of described Part I internal memory and the second capacity sum of described Part II internal memory are greater than described first preset capacity.
10. the electronic equipment as described in claim arbitrary in claim 6-9, it is characterized in that, described processor is concrete also at described first switching command of described execution, after described Part I internal memory is switched to described Part II internal memory, generate and perform the first self-refresh command, refresh described Part I internal memory according to the first frequency corresponding with described first self-refresh command, do not lose to keep the data in described Part I internal memory.
11. 1 kinds of changeable internal memories, comprise Part I internal memory and Part II internal memory, wherein, and described Part I internal memory and the memory shared same group of data pin of described Part II; When the current memory of an electronic equipment is described Part I internal memory, described current memory can be switched to described Part II internal memory from described Part I internal memory by described electronic equipment.
CN201310453011.0A 2013-09-27 2013-09-27 A kind of information processing method, electronic equipment and changeable memory Active CN104516748B (en)

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 true CN104516748A (en) 2015-04-15
CN104516748B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108228387A (en) * 2017-12-27 2018-06-29 中兴通讯股份有限公司 A kind of startup control method, electronic equipment and computer readable storage medium
CN110362983A (en) * 2019-05-31 2019-10-22 北京中电飞华通信股份有限公司 A kind of method, apparatus and electronic equipment guaranteeing dual domain system conformance

Citations (4)

* Cited by examiner, † Cited by third party
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 device based on memory bank array
CN102736983A (en) * 2011-04-14 2012-10-17 上海华虹集成电路有限责任公司 Method for controlling space size of smart card FLASH
CN102867158A (en) * 2011-07-07 2013-01-09 联想(北京)有限公司 Memory switching method, memory switching device and terminal with dual systems

Patent Citations (4)

* Cited by examiner, † Cited by third party
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 device based on memory bank array
CN102736983A (en) * 2011-04-14 2012-10-17 上海华虹集成电路有限责任公司 Method for controlling space size of smart card FLASH
CN102867158A (en) * 2011-07-07 2013-01-09 联想(北京)有限公司 Memory switching method, memory switching device and terminal with dual systems

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
易建勋 等: "《计算机硬件技术:结构与性能》", 31 January 2011, 清华大学出版社 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108228387A (en) * 2017-12-27 2018-06-29 中兴通讯股份有限公司 A kind of startup control method, electronic equipment and computer readable storage medium
CN110362983A (en) * 2019-05-31 2019-10-22 北京中电飞华通信股份有限公司 A kind of method, apparatus and electronic equipment guaranteeing dual domain system conformance
CN110362983B (en) * 2019-05-31 2022-06-17 北京中电飞华通信股份有限公司 Method and device for ensuring consistency of dual-domain system and electronic equipment

Also Published As

Publication number Publication date
CN104516748B (en) 2018-10-12

Similar Documents

Publication Publication Date Title
US8392650B2 (en) Fast exit from self-refresh state of a memory device
JP5916970B2 (en) System and method for allocating memory to different memory devices using quality of service
US8769332B2 (en) Regional clock gating and dithering
KR101692128B1 (en) Reduction of power consumption in memory devices during refresh modes
EP2649618A2 (en) Memory device refresh commands on the fly
JP2015537317A (en) System and method for dynamically allocating memory in a memory subsystem having an asymmetric memory component
CN104303167A (en) Computer system and method of memory management
KR102450930B1 (en) Memory devices with multiple sets of latencies and methods for operating the same
CN102867158B (en) A kind of switch internal memory method, device and there is the terminal of dual system
EP3757998A1 (en) Static random access memory (sram) global bitline circuits for reducing power glitches during memory read accesses, and related methods and systems
US10296074B2 (en) Fine-grained power optimization for heterogeneous parallel constructs
CN104516748A (en) Information processing method, electronic device and switchable memory
US20090153575A1 (en) Method for sharing graphics card among multiple operation systems and computer system
KR20130040701A (en) Global clock handler object for hdl environment
CN103543982A (en) Clock frequency management method and mobile device
JPH08272733A (en) Dma controller
US9087559B2 (en) Memory sense amplifier voltage modulation
US7580273B2 (en) Digital memory with controllable input/output terminals
CN104657084B (en) A kind of method and electronic equipment of information processing
US20190034179A1 (en) Techniques to remove idle cycles for clock-sensitive threads in hardware simulators
US20240211160A1 (en) System Memory Training with Chipset Attached Memory
US20230350591A1 (en) Real Time Profile Switching for Memory Overclocking
US11586563B2 (en) Distribution of data and memory timing parameters across memory modules based on memory access patterns
US20080239861A1 (en) Memory and operation method thereof
JP2005267369A (en) Memory control device and method

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