CN109597585A - Date storage method and system - Google Patents
Date storage method and system Download PDFInfo
- Publication number
- CN109597585A CN109597585A CN201811497653.XA CN201811497653A CN109597585A CN 109597585 A CN109597585 A CN 109597585A CN 201811497653 A CN201811497653 A CN 201811497653A CN 109597585 A CN109597585 A CN 109597585A
- Authority
- CN
- China
- Prior art keywords
- memory module
- data
- memory
- storage
- storage method
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0604—Improving or facilitating administration, e.g. storage management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0625—Power saving in storage systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0629—Configuration or reconfiguration of storage systems
- G06F3/0631—Configuration or reconfiguration of storage systems by allocating resources to storage systems
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Memory System (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of date storage method and systems, wherein date storage method, comprising steps of the current preference memory module in multiple memory modules starts storing data when there are data to need to store, carry out that it is notified to be in storage state with other memory modules;Judge whether data store to finish, if so, terminating process, if it is not, then continuing next step;Judge whether the capacity of the current preference memory module is used up, if it is not, then continuing to store, if so, continuing next step;Notify other memory modules, next preferential memory module in other memory modules starts storing data as current preference memory module.The present invention can make multiple memory module automatic wire chargings and carry out Coutinuous store.
Description
Technical field
The present invention relates to date storage methods, using the date storage method come the data-storage system of storing data.
Background technique
With the development of industrial automation, the demand of industrial field data storage is gradually increased, and for memory capacity
Demand also increasingly increase, if using the memory module of large capacity, although can solve the demand of memory capacity, cost
It is sufficiently expensive, if substituting using multiple relatively small capacity memory modules, although cost reduces, work as multiple storages
When module exists simultaneously, still only one module of practical synchronization actual use, other modules are in etc. to be used
State, bus either control centre need to pay close attention to the service condition of current each data memory module when reading and writing data, lead
Cause the bandwidth or resource of bus or control centre occupied.
Summary of the invention
In order to solve single high-capacity storage module higher cost in the prior art, the management of multiple low capacity memory modules
The technical issues of expending public resource, the invention proposes a kind of date storage methods, comprising steps of
When there is data to need to store, the current preference memory module in multiple memory modules starts storing data, with other
Memory module carries out that it is notified to be in storage state;
Judge whether data store to finish, if so, terminating process, if it is not, then continuing next step;
Judge whether the capacity of the current preference memory module is used up, if it is not, then continuing to store, if so, continuing in next step
Suddenly;
Notify other memory modules, next preferential memory module in other memory modules is opened as current preference memory module
Beginning storing data.
Preferably, other memory modules are after receiving the notice of storage state of the current preference memory module, into
Enter dormant state, only retains communication function.
Preferably, before judging whether the capacity is used up, judge the capability value of the current preferential memory module
Whether it is less than or equal to preset dangerous values, if so, the current preferential memory module notifies other memory modules, makes it
Next preferential memory module in his memory module exits dormant state, into ready state, the current preference is waited to deposit
Storage module notifies its capacity to use up.
In a specific embodiment, the dangerous values are real-time according to the residual capacity before current storage speed and storage
It is calculated or the dangerous values is a fixed value.It is connected between the memory module by bus.The memory module
Between can be communicated by bus.The current preference memory module is that capacity is unexhausted and the smallest storage mould of address value
Block.The address value of the memory module can obtain in the address table that initial phase creates according to each memory module.
The present invention, which also protects, uses the data-storage system that above-mentioned date storage method carries out data storage.
In one embodiment, the memory module include storage unit for storing data, for described in other
MMU memory management unit and root of communication unit, calculating and the management that memory module is communicated to the capacity of the memory module
The power management list that the memory module enters standby mode or dormant state is controlled according to the communication unit received data
Member.
The present invention is in communication with each other by each memory module, so that other memory modules know mutual move each other in bus
State, can according to service condition automatic wire charging use and Coutinuous store same bus on all data, each memory module it
Between mechanics of communication include but is not limited to CAN, RS485, wireless etc., the state of other memory modules is obtained in this way, thus simple
Change storage management, reduces equipment energy consumption.
Detailed description of the invention
Below with reference to embodiment and attached drawing, the present invention is described in detail, in which:
Fig. 1 is the system connection schematic diagram of one embodiment of the invention.
Fig. 2 is the structural block diagram of the memory module of one embodiment of the invention.
Fig. 3 is the method flow diagram of one embodiment of the invention.
Specific embodiment
The principle and embodiment that the invention will now be described in detail with reference to the accompanying drawings.
What Fig. 1 was provided is a structural schematic diagram of data-storage system, and multiple storage module by bus connections are shown
It is intended to, on needing the communication bus using data memory module, the memory module of multiple suitable capacities is selected to be connected to bus
On, it can use bus between these memory modules mutually to communicate, also can use the communication modes other than bus and come mutually
Communication, such as mutually communicated using wireless technology.Other modules for generating data are also connected in bus simultaneously.
As shown in Figure 2 and Figure 3, whether each memory module is monitored in bus has data to need to store, if it is not, then continuing to supervise
It listens, if other modules generate data and need to store, then current preference data memory module stores data into the storage list of itself
Member, while data frame is sent by communication unit and informs that other memory modules itself are in storage state, other memory modules
When receiving this data frame, the Power Management Unit adjustment oneself state of other memory modules is dormant state, only retains communication
Function, to greatest extent on reduce itself energy consumption.
Current preference memory module continues storing data at this time, judges whether data store in storing process and finishes, if
It is then to terminate process, it is external by communication unit if it is not, when itself capability value of current preference memory module reaches dangerous values
Send data frame, notify other memory modules its own be filled with fastly, received in other memory modules of this data frame at this time,
Next preferential memory module exits dormant state, into ready state, waits current preference memory module that its capacity is notified to use
To the greatest extent, preparation starts to store.In the present embodiment, residual capacity of the dangerous values by storage speed and when starting storage calculates in real time
It obtains, is also possible to a fixed value, such as 20%.And preferential memory module can be be not filled with also and address value it is the smallest
Memory module can create an address table in initial phase when can communicate between memory module, according in address table
The smallest memory module of address value carrys out storing data at first, then successively down.
When the capacity of above-mentioned current preference storage module is used up, data frame is sent again by communication unit, informs it
He has used up memory module itself capacity, and the next preferential memory module for having dropped out dormant state at this time responds rapidly to, setting
Itself start to store work, follow-up data storage is arrived itself.In this way and so on, until data storage finishes.
The present invention may be implemented multiple memory modules and be used cooperatively, and automatic wire charging work by the above method and system
Work energy.Final optimization pass data storage management saves equipment energy consumption.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.
Claims (11)
1. a kind of date storage method, which is characterized in that comprising steps of
When there is data to need to store, the current preference memory module in multiple memory modules starts storing data, with other
Memory module carries out that it is notified to be in storage state;
Judge whether data store to finish, if so, terminating process, if it is not, then continuing next step;
Judge whether the capacity of the current preference memory module is used up, if it is not, then continuing to store, if so, continuing in next step
Suddenly;
Notify other memory modules, next preferential memory module in other memory modules is opened as current preference memory module
Beginning storing data.
2. date storage method as described in claim 1, which is characterized in that other memory modules are receiving the current preference
After the notice of the storage state of memory module, into dormant state, only retain communication function.
3. date storage method as claimed in claim 2, which is characterized in that before judging whether the capacity is used up, sentence
Whether the capability value for the current preferential memory module of breaking is less than or equal to preset dangerous values, if so, current is described
Preferential memory module notifies other memory modules, and next preferential memory module in other memory modules is made to exit suspend mode shape
State waits the current preference memory module that its capacity is notified to use up into ready state.
4. date storage method as claimed in claim 3, which is characterized in that the dangerous values according to current storage speed with
Residual capacity before storage is calculated in real time or the dangerous values are a fixed value.
5. date storage method as described in claim 1, which is characterized in that connected between the memory module by bus.
6. date storage method as claimed in claim 5, which is characterized in that led between the memory module by bus
News, or communicated by wireless technology.
7. date storage method as described in claim 1, which is characterized in that the current preference memory module is that capacity is unused
The most and the smallest memory module of address value.
8. date storage method as claimed in claim 7, which is characterized in that the address value of the memory module is according to each storage
Module obtains in the address table that initial phase creates.
9. carrying out the data-storage system of data storage using the date storage method as described in claim 1 to 8 any one.
10. data-storage system as claimed in claim 9, which is characterized in that the memory module includes: for storing data
Storage unit, the communication unit for being communicated with memory module described in other, calculating and management to the memory module
Capacity MMU memory management unit.
11. data-storage system as claimed in claim 10, which is characterized in that further include being received according to the communication unit
Data control the Power Management Unit that the memory module enters standby mode or dormant state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811497653.XA CN109597585B (en) | 2018-12-07 | 2018-12-07 | Data storage method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811497653.XA CN109597585B (en) | 2018-12-07 | 2018-12-07 | Data storage method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109597585A true CN109597585A (en) | 2019-04-09 |
CN109597585B CN109597585B (en) | 2020-06-30 |
Family
ID=65961555
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811497653.XA Active CN109597585B (en) | 2018-12-07 | 2018-12-07 | Data storage method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109597585B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101656098A (en) * | 2008-08-20 | 2010-02-24 | 联想(北京)有限公司 | Solid state hard disc, power supply management method thereof and terminal |
CN103984509A (en) * | 2014-06-11 | 2014-08-13 | 上海新储集成电路有限公司 | Heterogeneous NAND type solid state disk and method for improving performance of heterogeneous NAND type solid state disk |
CN105228197A (en) * | 2015-09-29 | 2016-01-06 | 青岛海尔智能家电科技有限公司 | The system of selection of buffer memory business device, equipment and system |
CN105550122A (en) * | 2015-12-07 | 2016-05-04 | 联想(北京)有限公司 | Data processing method, storage device and electronic device |
CN106453511A (en) * | 2016-09-14 | 2017-02-22 | 广东欧珀移动通信有限公司 | Data backup method and data backup device |
CN106663029A (en) * | 2014-08-05 | 2017-05-10 | 高通股份有限公司 | Directed event signaling for multiprocessor systems |
-
2018
- 2018-12-07 CN CN201811497653.XA patent/CN109597585B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101656098A (en) * | 2008-08-20 | 2010-02-24 | 联想(北京)有限公司 | Solid state hard disc, power supply management method thereof and terminal |
CN103984509A (en) * | 2014-06-11 | 2014-08-13 | 上海新储集成电路有限公司 | Heterogeneous NAND type solid state disk and method for improving performance of heterogeneous NAND type solid state disk |
CN106663029A (en) * | 2014-08-05 | 2017-05-10 | 高通股份有限公司 | Directed event signaling for multiprocessor systems |
CN105228197A (en) * | 2015-09-29 | 2016-01-06 | 青岛海尔智能家电科技有限公司 | The system of selection of buffer memory business device, equipment and system |
CN105550122A (en) * | 2015-12-07 | 2016-05-04 | 联想(北京)有限公司 | Data processing method, storage device and electronic device |
CN106453511A (en) * | 2016-09-14 | 2017-02-22 | 广东欧珀移动通信有限公司 | Data backup method and data backup device |
Also Published As
Publication number | Publication date |
---|---|
CN109597585B (en) | 2020-06-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106685034B (en) | The power distribution method and system of electric automobile charging pile | |
CN105313718B (en) | Vehicular accumulator cell charging equipment, system and method | |
JP6178386B2 (en) | Energy storage system and method for synchronizing energy storage system | |
CN109326837B (en) | Method and system for monitoring thermal management and fire early warning of lithium battery energy storage system | |
CN103354969B (en) | The method of quick charging system, control device, control charge capacity and program | |
CN109378849A (en) | A kind of low-voltage power distribution station area energy storage device and control method | |
CN101742541B (en) | Early warning method and system of base station service quit | |
CN108701877A (en) | Battery core partial volume method and apparatus | |
CN109861316B (en) | Charging method, charging module and charging device | |
CN106257361B (en) | Programmable logic controller system | |
CN109597585A (en) | Date storage method and system | |
CN111239621A (en) | Storage battery remote boosting and capacity checking method, device, equipment and storage medium | |
CN109347406A (en) | A kind of servo-driver overload magnification method of adjustment and system | |
CN103731324A (en) | Multichannel real-time concurrent charging data simulation generation method and device | |
CN110365114A (en) | The energy-accumulating power station total management system and information interacting method integrated based on multimode | |
CN104850020A (en) | Data acquisition method and apparatus of converter | |
CN107993034A (en) | A kind of lithium battery intelligent management system | |
CN107733033B (en) | PD protocol-based PPS mobile power supply system and control method | |
CN204694770U (en) | A kind of open-ended modularity intelligent electric meter | |
CN109038778A (en) | The control system and its method of DC power supplier timing overload | |
JP2018528747A (en) | Control loads and energy sources based on future energy level decisions | |
CN108695938A (en) | A kind of electrical source of power device for electrical equipment | |
CN113381434B (en) | Method and device for optimizing operation mode of flexible direct-current power grid | |
CN115295927A (en) | Temperature control method, device, equipment and storage medium of energy storage system | |
CN210640693U (en) | Digital controller device for micro-grid |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |