CN106293524B - A kind of method of data storage - Google Patents

A kind of method of data storage Download PDF

Info

Publication number
CN106293524B
CN106293524B CN201610634991.8A CN201610634991A CN106293524B CN 106293524 B CN106293524 B CN 106293524B CN 201610634991 A CN201610634991 A CN 201610634991A CN 106293524 B CN106293524 B CN 106293524B
Authority
CN
China
Prior art keywords
data
processor
memory
write
center
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610634991.8A
Other languages
Chinese (zh)
Other versions
CN106293524A (en
Inventor
罗宇浩
周懂明
朱璇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yuneng Technology Co ltd
Original Assignee
ZHEJIANG YUNENG TECHNOLOGY Co 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 ZHEJIANG YUNENG TECHNOLOGY Co Ltd filed Critical ZHEJIANG YUNENG TECHNOLOGY Co Ltd
Priority to CN201610634991.8A priority Critical patent/CN106293524B/en
Publication of CN106293524A publication Critical patent/CN106293524A/en
Application granted granted Critical
Publication of CN106293524B publication Critical patent/CN106293524B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/062Securing storage systems
    • G06F3/0623Securing storage systems in relation to content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0629Configuration or reconfiguration of storage systems
    • G06F3/0634Configuration or reconfiguration of storage systems by changing the state or mode of one or more devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0658Controller construction arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0679Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]

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)
  • Inverter Devices (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The invention discloses a kind of methods of data storage, this method comprises: center processor releases the write-protect mode of memory after receiving data modification order;The center processor notification data processor carries out write operation;The data processor is to being written data in memory;It is written after the completion of data, the data processor notifies the center processor write operation to be completed, and the center processor opens the write-protect mode of memory.This method realizes the risk for eliminating external interference and bug patch data, guarantees the work of inverter reliably and with long-term.

Description

A kind of method of data storage
Technical field
The present invention relates to technical field of memory, more particularly to a kind of method of data storage.
Background technique
Currently, usually have data storage in photovoltaic DC-to-AC converter, and number, various parameters including inverter etc., these data It is to guarantee that inverter normal work is necessary.In the service life of product, it is also possible to change these data, such as grid-connected The parameter of protection can be configured modification according to the demand of power grid.
Fig. 1 is the simple module schematic diagram of inverter data storage in the prior art, which includes but is not limited to logical Believe circuit, data processor, memory, center processor and switch control, it is seen then that data processor is connected with telecommunication circuit, It obtains and sends data, data processor is connected with center processor, sends and receives data, memory and data processor Connection, when doing data modification, writes data into memory from data processor.Fig. 2, which is shown in the prior art, does data The simple module schematic diagram of modification, the write-protect control of data processor and memory with write data module and connect.Fig. 3 is existing Technology does the simple flow chart of data modification, and after receiving to start to modify data command, data processor signals to storage The write-protect of device controls, and releases write-protect, and then, data processor, which signals to, writes data module, and data are write in memory, After writing data completion, data processor signals to write-protect control, starts write-protect, and the process for modifying data is tied to this Beam.
So in inverter design, it will usually there are memory, such as EEPROM, Flash Memory etc., and the storage Device can connect data processor, such as single-chip microprocessor MCU to carry out the transmission and setting of data, be completed to release by data processor Data protection and data writing process due to entirely modifying data manipulation are all completed under the action of data processor, are released Data protection and data writing process are completed by data processor, then in the long-term use process of inverter, such as Fruit because extraneous surge interference and the data in memory are changed, inverter just can not work normally.
Summary of the invention
The object of the present invention is to provide a kind of method of data storage, the bug patch data with realization elimination external interference Risk, guarantee inverter work reliably and with long-term.
In order to solve the above technical problems, the present invention provides a kind of method of data storage, comprising:
After receiving data modification order, center processor releases the write-protect mode of memory;
The center processor notification data processor carries out write operation;
The data processor is to being written data in memory;
It is written after the completion of data, the data processor notifies the center processor write operation to be completed, the center The write-protect mode of processor unlatching memory.
Preferably, the photovoltaic DC-to-AC converter includes switching circuit, telecommunication circuit, the center processor, the memory With the data processor.
Preferably, the center processor is connected with the memory, and the data processor is connected with the memory; The center processor is used to open or release the write-protect mode of memory, and the data processor is used for into memory Write data.
It preferably, include write-protect control module and writing data module in the memory;Write-protect control module is used for The write-protect mode for controlling the memory writes data module for controlling the write operation to the memory.
Preferably, the center processor is connected with the write-protect control module, and the data processor is write with described Data module is connected.
Preferably, the center processor notifies the data processor to carry out write operation, comprising:
The center processor sends write operation instruction to the data processor, notifies that the data processor is write Enter the operation of data.
Preferably, the data processor is to being written data in memory, comprising:
The data processor receives the write operation instruction, to memory in the data to be stored are written.
A kind of method of data storage provided by the present invention, is applied to photovoltaic DC-to-AC converter, after receiving data modification order, The write-protect mode of center processor releasing memory;The center processor notification data processor carries out write operation;It is described Data processor is to being written data in memory;It is written after the completion of data, the data processor notifies the center processor Write operation is completed, and the center processor opens the write-protect mode of memory.As it can be seen that in photovoltaic DC-to-AC converter, by center Processor releases the write-protect mode of memory, from data processor to memory in data are written, common data of completing repair Change, data are written, connects memory with two processors in this way, and modification number could be completed using two processor cooperation controls According to eliminating the risk of external interference and bug patch data, guarantee the work of inverter reliably and with long-term, solve power equipment The data of middle storage are disturbed the problem of unexpected change occurs and leads to equipment irregular working, substantially increase these equipment Long-term reliability and service life.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is the simple module schematic diagram of inverter data storage in the prior art;
Fig. 2 is the simple module schematic diagram that data modification is done in the prior art;
Fig. 3 is the simple flow chart that the prior art does data modification;
Fig. 4 is a kind of flow chart of the method for data storage provided by the present invention;
Fig. 5 is the simple module schematic diagram of inverter data of the present invention storage;
Fig. 6 is the simple module schematic diagram that data modification is done in the present invention;
Fig. 7 is the simple flow chart that data modification is done in the present invention.
Specific embodiment
Core of the invention is to provide a kind of method of data storage, the bug patch data with realization elimination external interference Risk, guarantee inverter work reliably and with long-term.
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Referring to FIG. 4, Fig. 4 is a kind of flow chart of the method for data storage provided by the present invention, this method is applied to Photovoltaic DC-to-AC converter, this method comprises:
S11: after receiving data modification order, center processor releases the write-protect mode of memory;
S12: center processor notification data processor carries out write operation;
S13: data processor is to being written data in memory;
S14: after the completion of write-in data, data processor notice center processor write operation is completed, and center processor is opened Open the write-protect mode of memory.
As it can be seen that the write-protect mode of memory is released by center processor, by data processor in photovoltaic DC-to-AC converter Data are written in memory, complete data modification jointly, data are written, connect memory with two processors in this way, and adopt Modification data could be completed with two processor cooperation controls, the risk of external interference and bug patch data is eliminated, guarantees The work of inverter reliably and with long-term solves the data stored in power equipment and is disturbed generation unexpected change and leads to equipment not The problem of normal work, substantially increases the long-term reliability and service life of these equipment.
Based on the above method, specifically, photovoltaic DC-to-AC converter includes switching circuit, telecommunication circuit, the center processor, institute State memory and the data processor.
Wherein, center processor is connected with memory, and data processor is connected with memory.
Switching circuit is connected with center processor, and center processor is connected with data processor, data processor and storage Device is connected with telecommunication circuit.
Center processor is used to open or release the write-protect mode of memory.
Data processor is for writing data into memory.
It further, include write-protect control module and writing data module in memory.
Write-protect control module is used to control the write-protect mode of memory.
Data module is write for controlling the write operation to memory.
Further, center processor is connected with write-protect control module, and data processor is connected with data module is write.
It is detailed, the process of step S12 specifically: center processor sends write operation instruction, notice to data processor Data processor carries out the operation of write-in data.
The process of step S13 specifically: data processor receive write operation instruction, to memory in be written the number to be stored According to.Wherein, data processor is to the process of the memory write-in data to be stored: data processor writes number into memory Write operation instruction is sent according to module, the data to be stored are written using data module is write.
It is detailed, the process of step S11 specifically: after receiving data modification order, center processor is into memory Write-protect control module, which is sent, releases write-protect order;Write-protect control module connects releasing write-protect order described in receiving, and releases The write-protect mode of memory.After relieving write-protect mode, then write-in data manipulation can be carried out to memory.
In step S14, the process of write-protect mode that center processor opens memory is: center processor is to write-protect Control module, which is sent, opens write-protect instruction;Write-protect control module, which receives, opens write-protect instruction, reopens memory Write-protect mode.After opening write-protect mode, write-in data manipulation cannot be carried out to memory.
Specifically, data processor is single-chip microprocessor MCU, DSP or DSC etc..Center processor is single-chip microprocessor MCU, DSP or Person DSC etc..
Memory is connected using two processors in the present invention, and number could be modified using two processor cooperation controls According to eliminating the risk of external interference and bug patch data, guarantee the work of inverter reliably and with long-term.
Fig. 5 is the simple module schematic diagram of inverter data of the present invention storage.The inverter includes but is not limited to communicate electricity Road, data processor, memory, center processor, switch control.Memory is connected with data processor with center processor, When doing data modification, data are write into memory from data processor, and write-protect is controlled by center processor.
Fig. 6 is that the present invention makees the simple module schematic diagram of data modification, and data processor and memory write data module Connection, and center processor is connected with the write-protect control module of memory.
Fig. 7 is the simple flow chart that data modification is done in the present invention.After receiving to start to modify data command, at center Reason device signals to the write-protect control module of memory, releases write-protect.Then, center processor signals to data processing Device, log-on data processor, which signals to, writes data module, and data are write in memory.After writing data completion, data processing Device notice center processor is write data and is completed, and center processor signals to write-protect control module, starts write-protect.Modification The process of data leaves it at that.
Memory is connected with a data processor and a center processor in the present invention, is deposited with two processor connections Reservoir, and could complete to modify data using the cooperation control of two processors eliminates external interference and bug patch data Risk guarantees the work of inverter reliably and with long-term.The present invention, which solves the data stored in power equipment and is disturbed, occurs accident The problem of changing and leading to equipment irregular working substantially increases the long-term reliability and service life of these equipment.
To sum up, the method for a kind of data storage provided by the present invention, is applied to photovoltaic DC-to-AC converter, receives data modification life After order, center processor releases the write-protect mode of memory;Center processor notification data processor carries out write operation;Data Processor is to being written data in memory;It being written after the completion of data, data processor notice center processor write operation is completed, The write-protect mode of center processor unlatching memory.As it can be seen that releasing memory by center processor in photovoltaic DC-to-AC converter Write-protect mode, from data processor to memory in data are written, complete data modification jointly, data be written, in this way use Two processors connect memory, and could complete modification data using two processor cooperation controls, eliminate external interference And the risk of bug patch data, guarantee the work of inverter reliably and with long-term, solves the data stored in power equipment by dry The problem of unexpected change occurs and leads to equipment irregular working is disturbed, long-term reliability and the use of these equipment are substantially increased Service life.
A kind of method of data storage provided by the present invention is described in detail above.It is used herein specifically Principle and implementation of the present invention are described for a example, the present invention that the above embodiments are only used to help understand Method and its core concept.It should be pointed out that for those skilled in the art, not departing from original of the invention , can be with several improvements and modifications are made to the present invention under the premise of reason, these improvement and modification also fall into right of the present invention and want In the protection scope asked.

Claims (6)

1. a kind of method of data storage, which is characterized in that be applied to photovoltaic DC-to-AC converter, comprising:
After receiving data modification order, center processor releases the write-protect mode of memory;
The center processor notification data processor carries out write operation;
The data processor is to being written data in memory;
It is written after the completion of data, the data processor notifies the center processor write operation to be completed, the center processing The write-protect mode of device unlatching memory;
It wherein, include write-protect control module and writing data module in the memory;Write-protect control module is for controlling institute The write-protect mode for stating memory writes data module for controlling the write operation to the memory.
2. the method as described in claim 1, which is characterized in that the photovoltaic DC-to-AC converter includes switching circuit, telecommunication circuit, institute State center processor, the memory and the data processor.
3. the method as described in claim 1, which is characterized in that the center processor is connected with the memory, the number It is connected according to processor with the memory;The center processor is used to open or release the write-protect mode of memory, institute Data processor is stated for writing data into memory.
4. the method as described in claim 1, which is characterized in that the center processor and the write-protect control module phase Even, the data processor is connected with write data module.
5. the method as described in claim 1, which is characterized in that the center processor notifies that the data processor is write Operation, comprising:
The center processor sends write operation instruction to the data processor, and the data processor is notified to carry out write-in number According to operation.
6. method as claimed in claim 5, which is characterized in that the data processor is to being written data in memory, comprising:
The data processor receives the write operation instruction, to memory in the data to be stored are written.
CN201610634991.8A 2016-08-02 2016-08-02 A kind of method of data storage Active CN106293524B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610634991.8A CN106293524B (en) 2016-08-02 2016-08-02 A kind of method of data storage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610634991.8A CN106293524B (en) 2016-08-02 2016-08-02 A kind of method of data storage

Publications (2)

Publication Number Publication Date
CN106293524A CN106293524A (en) 2017-01-04
CN106293524B true CN106293524B (en) 2019-05-24

Family

ID=57665402

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610634991.8A Active CN106293524B (en) 2016-08-02 2016-08-02 A kind of method of data storage

Country Status (1)

Country Link
CN (1) CN106293524B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102446141A (en) * 2011-09-14 2012-05-09 杭州华三通信技术有限公司 Device and method for realizing write protection control
CN102866900A (en) * 2012-08-03 2013-01-09 浙江昱能光伏科技集成有限公司 Method and system for updating configuration data of FPGA (Field Programmable Gate Array) control unit
CN103366814A (en) * 2012-03-31 2013-10-23 京信通信系统(中国)有限公司 Flash data security protection circuit and method
CN103529294A (en) * 2013-09-26 2014-01-22 国家电网公司 HHT (Hilbert-Huang Transform)-based harmonic detection system and method for grid-connected inverter of photovoltaic system
CN104734355A (en) * 2015-03-15 2015-06-24 华南理工大学 Data collection device and method applicable to commercial photovoltaic inverter

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102446141A (en) * 2011-09-14 2012-05-09 杭州华三通信技术有限公司 Device and method for realizing write protection control
CN103366814A (en) * 2012-03-31 2013-10-23 京信通信系统(中国)有限公司 Flash data security protection circuit and method
CN102866900A (en) * 2012-08-03 2013-01-09 浙江昱能光伏科技集成有限公司 Method and system for updating configuration data of FPGA (Field Programmable Gate Array) control unit
CN103529294A (en) * 2013-09-26 2014-01-22 国家电网公司 HHT (Hilbert-Huang Transform)-based harmonic detection system and method for grid-connected inverter of photovoltaic system
CN104734355A (en) * 2015-03-15 2015-06-24 华南理工大学 Data collection device and method applicable to commercial photovoltaic inverter

Also Published As

Publication number Publication date
CN106293524A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
CN108304282A (en) A kind of control method and relevant apparatus of double BIOS
CN209046537U (en) Flexible direct current valve level controller with data chain redundancy configuration
CN106774801A (en) A kind of hard disk is avoided the peak hour activation system
CN103268243B (en) A kind of performance element on the spot remote online upgrade-system of chain type current transformer
CN107844330A (en) A kind of method and system of enhancing ARM startup of server code reliabilities
CN107040590A (en) A kind of remote upgrade method of New-type charge stake
CN102253860A (en) Asynchronous operation method and asynchronous operation management device
CN103904778A (en) Self-adaptive control method for microgrid
CN106201605B (en) FPGA start-up loading FLASH upgrade-system and method based on FPGA and PowerPC
CN106293524B (en) A kind of method of data storage
CN107645310B (en) The data transmission device and data transmission method of breaker controller
CN101860253A (en) Control system of cascaded high-voltage inverter and method thereof
CN102169442B (en) Method, equipment, device and system for performing system boot by using USB (universal serial bus) device
CN110059506A (en) A kind of solid state hard disk pinboard and corresponding control methods
CN102880479B (en) A kind of method of remotely modifying BIOS property parameters and device
CN109933377A (en) A kind of method for managing power supply and relevant apparatus of CPLD
JP2011003021A (en) Controller
CN107341024A (en) Method for upgrading system and system upgrade device
CN106483841A (en) A kind of field adjustable and the method for test circulation suppression strategy parameter
CN210895044U (en) Real-time simulation system capable of flexibly accessing MMC valve control pulse distribution screen
CN110502088A (en) A kind of battery power supply protection device and server
CN109739610A (en) Screenshotss control method, device, electronic equipment and computer readable storage medium
CN105764128B (en) The method for controlling power supply and device of mobile terminal
CN106484074B (en) Nonvolatile memory device, nonvolatile memory method, computer system, and method for implementing standby or hibernation
CN108832720B (en) Communication control system, method and device for photovoltaic station

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
CP03 Change of name, title or address

Address after: 3 / F, building 1, No. 1, Asia Pacific Road (Jiaxing Science and technology city), Nanhu District, Jiaxing City, Zhejiang Province

Patentee after: Yuneng Technology Co.,Ltd.

Address before: 314050 No. 1 Asia Pacific Road, Nanhu District, Zhejiang, Jiaxing

Patentee before: Zhejiang Yuneng Technology Co.,Ltd.

CP03 Change of name, title or address
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A method of data storage

Effective date of registration: 20211222

Granted publication date: 20190524

Pledgee: Agricultural Bank of China Limited by Share Ltd. South Lake branch

Pledgor: Yuneng Technology Co.,Ltd.

Registration number: Y2021980015981

PE01 Entry into force of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Granted publication date: 20190524

Pledgee: Agricultural Bank of China Limited by Share Ltd. South Lake branch

Pledgor: Yuneng Technology Co.,Ltd.

Registration number: Y2021980015981

PC01 Cancellation of the registration of the contract for pledge of patent right