Summary of the invention
First purpose of the present invention is to overcome deficiency of the prior art, disclose a kind of parallel processing capability that can give full play to nonvolatile memory, realize in the data-storage system of computing machine separately taking full advantage of of performance of volatile memory and nonvolatile memory, the manufacturing cost of the data-storage system of reduction computing machine.
For realizing first goal of the invention of the present invention, the invention provides a kind of data-storage system of computing machine, comprising:
Some volatile memory, some nonvolatile memories, some multiplexers, memory controller;
The some multiplexers of described memory controller parallel join, each multiplexer connects a volatile memory, described multiplexer is selected a ground data is write volatile memory or transfer data to memory controller from volatile memory, and by memory controller data is saved to nonvolatile memory.
As a further improvement on the present invention, the power-supply controller of electric and the energy storage device that also comprise electric connection.
As a further improvement on the present invention, described power-supply controller of electric is set up between energy storage device and volatile memory and is electrically connected under the control of memory controller.
As a further improvement on the present invention, described energy storage device comprises electric capacity, battery.
As a further improvement on the present invention, described electric capacity is selected from super capacitor.
As a further improvement on the present invention, described nonvolatile memory comprises nand flash memory or phase transition storage.
As a further improvement on the present invention, described multiplexer is electrically connected memory controller, transfers passage to form some parallel data.
As a further improvement on the present invention, described memory controller is electrically connected at least one nonvolatile memory.As a further improvement on the present invention, the capacity of all nonvolatile memories is greater than or equal to the capacity of all volatile memory.
As a further improvement on the present invention, described nonvolatile memory comprises the nand flash memory that two or more capacity equate.
As a further improvement on the present invention, described nonvolatile memory and memory controller are electrically connected, and preserve passage with the parallel data that form two or more.
As a further improvement on the present invention, described volatile memory comprises at any time storer of dynamic RAM or static state.
Second purpose of the present invention is to disclose a kind of computer system, to overcome deficiency of the prior art, disclose a kind of parallel processing capability that can give full play to nonvolatile memory, realize in the computer system separately taking full advantage of of performance of volatile memory and nonvolatile memory, and reduce the manufacturing cost of this computer system.
For realizing second goal of the invention of the present invention, the present invention has disclosed a kind of computer system, comprises processor,
Also comprise data-storage system;
Described data-storage system comprises: some volatile memory, some nonvolatile memories, some multiplexers, memory controller;
The some multiplexers of described memory controller parallel join, each multiplexer connects a volatile memory, described multiplexer is selected a ground data is write volatile memory or transfer data to memory controller from volatile memory, and by memory controller data is saved to nonvolatile memory.
Compared with prior art, the invention has the beneficial effects as follows: in the present invention, the some multiplexers of memory controller parallel join, each multiplexer connects a volatile memory, described multiplexer is selected a ground data is write volatile memory or transfer data to memory controller from volatile memory, and by memory controller data is saved to nonvolatile memory.Thereby give full play to the parallel processing capability of nonvolatile memory, realized separately taking full advantage of of performance of volatile memory and nonvolatile memory, avoided using the nonvolatile memory of low capacity, thereby reduced the manufacturing cost of the data-storage system of computing machine.
Embodiment
The present invention is described in detail below in conjunction with each embodiment shown in the drawings; but should be noted that; these embodiments are not limitation of the present invention; those of ordinary skills all belong within protection scope of the present invention according to these embodiment institute work energy, method or structural equivalent transformation or alternative.
Embodiment one
Please refer to the drawing 1 is to the first embodiment of the data-storage system of a kind of computing machine of the present invention shown in Figure 4.
Join shown in Figure 1ly, in the present embodiment, a kind of data-storage system 100 of computing machine comprises:
Some volatile memory 101, to form volatile memory component 10, some nonvolatile memories 401 of parallel organization, to form non-volatile storage component 40, some multiplexers 201 of parallel organization, to form the multiplexer assembly 20 of parallel organization.Concrete, the quantity of this multiplexer 201 equates with the quantity of volatile memory 101, and a memory controller 300.This memory controller 300 is connection multiplexing device 201 and nonvolatile memory 401 respectively.
In the present embodiment, this volatile memory 101 comprises at any time storer (SRAM) of dynamic random dynamic storage (DRAM) or static state, and is preferably dynamic random dynamic storage (DRAM).Certainly, this volatile memory 101 is not limited at any time storer (SRAM) of described stochastic and dynamic storer (DRAM) or static state, also can be the temporary data memory of the other types with the rear high speed save data that powers on.
Further, this nonvolatile memory 401 comprises nand flash memory or phase transition storage, and is preferably nand flash memory.Simultaneously, this nonvolatile memory 401 also can be resistive formula storer (RRAM), magnetic spin-torque storer (ST-RAM) or reluctance type storer (M-RAM).
Concrete, host memory controller 1 is by all multiplexers 201 of system bus 5 parallel joins of computer-internal; All multiplexers 201 of memory controller 300 parallel joins; Each multiplexer 201 connects a volatile memory 101, writes passage 15 to form a plurality of parallel data.
In the present embodiment, the data-storage system 100 of this computing machine also comprises: the power-supply controller of electric 500 of electric connection and energy storage device 501.Under the control of the power management module (not shown) that this power-supply controller of electric 500 can arrange in memory controller 300, between energy storage device 501 and volatile memory 101, set up and be electrically connected.In the normal power supply situation, be in open-circuit condition between energy storage device 501 and the volatile memory 101.Host power supply 2 can charge in energy storage device 501 by power-supply controller of electric 500.
Multiplexer 201 is selected a ground and data is write volatile memory 101 from host memory controller 1 or transfer data to memory controller 300 from volatile memory 101, and by memory controller 300 data is saved to nonvolatile memory 401.
Multiplexer 201 is a kind of high speed signal switching device shifters, and there are a plurality of high speed electronic switchs that are subjected to external voltage signal control its inside, and break-make and the control signal of each high speed electronic switch are separate.Particularly, high speed electronic switch is selected from MOSFET, perhaps the semiconductor devices of other tool speed-sensitive switch performances.
Particularly, the data-storage system 100 of this computing machine exists two kinds of working conditions, i.e. normal power supply situation and power-down conditions.
Join shown in Figure 2ly, in the normal power supply situation, host power supply 2 can provide power supply to volatile memory 101 and memory controller 300 by biserial memory module 600.Data in the computing machine can be sent to all multiplexers 201 by the system bus 5 of host memory controller 1 by computer-internal, and writing volatile memory 101 by multiplexer 201, the data that write volatile memory 101 to form a plurality of data write passage 15.
By this set, given full play to the advantage of volatile memory 101 aspect hyperchannel, the processing of high-speed parallel data, the 100 pairs of data of data-storage system that improved this computing machine write the efficient of volatile memory 101 temporarily.Certainly, also can improve simultaneously computing machine to stability and the data security of the access of volatile memory 101.
Join shown in Figure 3ly, this multiplexer 201 is electrically connected memory controllers 300.After data write volatile memory 101, the data that multiplexer 201 can cut out rapidly with host memory controller 1 write passage 15, and between multiplexer 201 and memory controller 300, set up respectively parallel data and transfer passage 25, so that interim data of preserving in the volatile memory 101 are taken out, and transfer concurrently to memory controller 300, complete paired data is transferred step.
Join shown in Figure 4ly, in the present embodiment, this memory controller 300 is electrically connected a plurality of nonvolatile memories 401.Concrete, described nonvolatile memory 401 is electrically connected with memory controller 300, preserves passage 35 with the parallel data that form two or more.
This memory controller 300 is under the control of console controller 3, and the data communication device that will transferring in volatile memory 101 obtains is crossed some data and preserved passages 35 and be saved to concurrently nonvolatile memory 401, preserves and processes thereby finish data.
In conjunction with reference to Fig. 3 and shown in Figure 4, transfer to memory controller 300 and from memory controller 300 parallel being saved to the process of nonvolatile memory 401 at data parallel, host power supply 2 can provide power supply to memory controller 300 by biserial memory module 600.
In the present embodiment, data write, data are transferred, data are preserved these three steps and are parallel processing, thereby realized the coordination use of the fast multi-channel parallel data storage capacities with nonvolatile memory 401 of volatile memory 101 data processing speeds, improved processing speed and the treatment effeciency of 100 pairs of data of data-storage system of whole computing machine.
Again with reference to shown in Figure 1, after the computing machine power down, host power supply 2 can't provide power supply to volatile memory 101 and memory controller 300 by biserial memory module 600.
But when the moment of computing machine power down, voltage can not reduced to suddenly 0V from normal value, and often there be " hysteresis phenomenon " in it.At this moment, console controller 3 can detect the undesired signal of host power supply 2, and generates control signal according to the undesired signal of host power supply 2, and is sent to power-supply controller of electric 500.Thereby driving power controller 500 is set up between volatile memory 101 and energy storage device 501 and is electrically connected; Simultaneously also can provide power supply for memory controller 300 by this energy storage device 501.At this moment, this energy storage device 501 has played the effect of standby power supply.
In the present embodiment, described energy storage device 501 comprises electric capacity, battery; Preferably, this electric capacity is selected from super capacitor.
Super capacitor (Super Capacitor) has another name called electrochemical capacitor (Electro Chemical Capacitor).Super capacitor is a kind of novel energy storage device, and it is a kind of between traditional capacitance and battery, has the power supply of property.It mainly relies on electrostatic double layer and redox pseudocapacity charge storage electric energy, thereby is different from traditional electrochmical power source.The outstanding advantages of super capacitor is that power density is high, the time that discharges and recharges lacks, have extended cycle life, operating temperature range is wide.
When computing machine power down moment, the device 201 that is re-used of the system bus 5 between multiplexer 201 and the host memory controller 1 cuts out; Simultaneously, multiplexer 201 is set up data with nonvolatile memory 401 rapidly and is connected, and can from volatile memory 101, transfer data, and between multiplexer 201 and memory controller 300, set up respectively some parallel data and transfer passage 25, so that interim data of preserving in the volatile memory 101 are transferred to memory controller 300.
Then, under the control of memory controller 300, data parallel is saved in a plurality of nonvolatile memories 401.Thereby guarantee that volatile memory 101 has certain hour to finish data and is saved in the nonvolatile memory 401, plays the effect of data backup, the loss of data when preventing the computing machine power down.
Along with the development of nand flash memory manufacturing technology, the more jumbo nand flash memory trend that is inevitable, and the speed that the DRAM capacity promotes is relatively slow.In order to improve the parallel data processing ability of DRAM.In the present embodiment, the capacity of all nonvolatile memories 401 is greater than or equal to the capacity of all volatile memory 101.Preferably, the capacity of all nonvolatile memories 401 equals the capacity of all volatile memory 101.
Concrete, the capacity that this nonvolatile memory 401 is preferably two or more equates nand flash memory.Can certainly be arranged to the unequal nand flash memory of some each other capacity.
In the present embodiment, the data-storage system 100 of this computing machine can arrange four volatile memory 101 that are the 4GB capacity, for example DRAM; And the nonvolatile memory 401 of two 8GB capacity, for example nand flash memory be set.Thereby realize the optimal proportion of data-storage system 100 Performance and Cost Modelings of whole computing machine.
Embodiment two
Join the second embodiment of the data-storage system of a kind of computing machine of the present invention shown in Figure 5.
Contrast is with reference to Fig. 5 and shown in Figure 4, and the key distinction of present embodiment and embodiment one is that the data-storage system 100 of this computing machine only arranges a nonvolatile memory 402.That is, this memory controller 300 only is electrically connected a nonvolatile memory 402.Only form data between this volatile memory 402 and the memory controller 300 and preserve passage 35.
Concrete, in the present embodiment, the volatile memory 101 of four 4GB capacity can be set, for example DRAM; And coupling arranges the nonvolatile memory 402 of a 16GB capacity, for example nand flash memory.Certainly need to prove, for the data-storage system 100 that improves this computing machine in the performance aspect the data backup, also can mate a 32GB or more jumbo nonvolatile memory 402 are set.
The capacity of nand flash memory is higher, and the manufacturing cost of unit storage unit is lower, can further reduce the manufacturing cost of the data-storage system 100 of whole computing machine.
Embodiment three
Join the third embodiment of the data-storage system of a kind of computing machine of the present invention shown in Figure 6.
Cooperate with reference to shown in Figure 1, the key distinction of present embodiment and front two kinds of embodiment is that the data-storage system 100 of this computing machine does not arrange power-supply controller of electric 500 and energy storage device 501.Volatile memory 101 is directly to provide power supply by biserial memory module 600 to volatile memory 101 and memory controller 300.By this set, can further reduce the manufacturing cost of the data-storage system 100 of whole computing machine.
In the present embodiment, multiplexer 201 still can be selected a ground and data be write volatile memory 101 from host memory controller 1 or transfer data to memory controller 300 from volatile memory 101, and by memory controller 300 data is saved to nonvolatile memory 401.Thereby realize that data high-speed carries out concurrently data and writes volatile memory 101, data communication device and cross multiplexer 201 and transfer to memory controller 300 and with data and be saved in the nonvolatile memory 401.
Need to prove that the detailed process that in the present embodiment, executing data is written in parallel in this data-storage system 100, data parallel is transferred, data parallel is preserved is identical with embodiment one.
Embodiment four
Join the structural drawing of the first embodiment of computer system of the present invention shown in Figure 7.
In the present embodiment, a kind of computer system comprises processor 4, and this processor 4 links to each other by system bus 5 with host memory controller 1.High-speed cache in this host memory controller 1 addressable processor 4 the data of interim storage.
In the present embodiment, this computer system also comprises data-storage system 100.
Described data-storage system 100 comprises: some volatile memory 101, some nonvolatile memories 401, some multiplexers 201, memory controller 300.
The some multiplexers 201 of described memory controller 300 parallel joins, each multiplexer 201 connects a volatile memory 101, described multiplexer 201 is selected a ground and data is write volatile memory 101 from host memory controller 1 or transfer data to memory controller 300 from volatile memory 101, and by memory controller 300 data is saved to nonvolatile memory 401.
In the present embodiment, the detailed process that executing data is written in parallel in the data-storage system 100, data parallel is transferred, data parallel is preserved is identical with embodiment one.
Embodiment five
Join the structural drawing of the second embodiment of computer system of the present invention shown in Figure 8.
Contrast is with reference to Fig. 8 and shown in Figure 7, and the key distinction of present embodiment and embodiment four is that the data-storage system 100 of this computing machine does not arrange power-supply controller of electric 500 and energy storage device 501.Volatile memory 101 is directly to provide power supply by biserial memory module 600 to volatile memory 101 and memory controller 300.By this embodiment, can further reduce the manufacturing cost of whole computer system.
In the present embodiment, multiplexer 201 still can be selected a ground and data be write volatile memory 101 from host memory controller 1 or transfer data to memory controller 300 from volatile memory 101, and by memory controller 300 data is saved to nonvolatile memory 401.Data write volatile memory 101, data communication device is crossed multiplexer 201 parallel transferring to memory controller 300 and with data parallel and is saved in the nonvolatile memory 401 thereby the realization data high-speed carries out concurrently.
The present invention gives full play to the parallel processing capability of nonvolatile memory 101, realized separately taking full advantage of of performance of volatile memory 101 and nonvolatile memory 401, avoided using the nonvolatile memory 401 of low capacity, thereby reduced the manufacturing cost of the data-storage system of computing machine.Simultaneously data can compress in these memory controller 300 inside, encrypt, decipher, with regard to processing such as mistakes, further strengthened the security of data in the computer system.
Disclosed computer system not only comprises PC, also comprises server, cloud computing system, smart mobile phone, panel computer, router, switch etc.
Above listed a series of detailed description only is specifying for feasibility embodiment of the present invention; they are not to limit protection scope of the present invention, allly do not break away from equivalent embodiment or the change that skill spirit of the present invention does and all should be included within protection scope of the present invention.
To those skilled in the art, obviously the invention is not restricted to the details of above-mentioned example embodiment, and in the situation that does not deviate from spirit of the present invention or essential characteristic, can realize the present invention with other concrete form.Therefore, no matter from which point, all should regard embodiment as exemplary, and be nonrestrictive, scope of the present invention is limited by claims rather than above-mentioned explanation, therefore is intended to include in the present invention dropping on the implication that is equal to important document of claim and all changes in the scope.Any Reference numeral in the claim should be considered as limit related claim.
In addition, be to be understood that, although this instructions is described according to embodiment, but be not that each embodiment only comprises an independently technical scheme, this narrating mode of instructions only is for clarity sake, those skilled in the art should make instructions as a whole, and the technical scheme among each embodiment also can through appropriate combination, form other embodiments that it will be appreciated by those skilled in the art that.