CN101938361A - Storage method of data information of optical network and embedded equipment - Google Patents

Storage method of data information of optical network and embedded equipment Download PDF

Info

Publication number
CN101938361A
CN101938361A CN2010101990585A CN201010199058A CN101938361A CN 101938361 A CN101938361 A CN 101938361A CN 2010101990585 A CN2010101990585 A CN 2010101990585A CN 201010199058 A CN201010199058 A CN 201010199058A CN 101938361 A CN101938361 A CN 101938361A
Authority
CN
China
Prior art keywords
power source
external power
power supply
embedded device
described external
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.)
Pending
Application number
CN2010101990585A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2010101990585A priority Critical patent/CN101938361A/en
Publication of CN101938361A publication Critical patent/CN101938361A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a storage method of the data information of an optical network and embedded equipment. The method comprises the following steps of: jointly powering the embedded equipment of the optical network by an external power supply and a micro UPS (Uninterruptible Power Supply) system; and writing data information in a memory into an external memory by the embedded equipment which is powered by the micro UPS under the condition that the external power supply is switched off. The invention ensures the integrity of the data information and improves the stability of the system.

Description

The storage means of optical network data information and embedded device
Technical field
The present invention relates to the communications field, relate in particular to a kind of storage means and embedded device of optical network data information.
Background technology
Because the read-write number of times of the external memory storage of permanent preservation data is limited in the optical network node, in order to reduce the read-write number of times of external memory storage, and the recovery efficient of improving business in enormous quantities, in correlation technique, the configuration class data (comprising professional relevant data) that will change usually seldom are stored in the external memory storage, and the class data of frequently changing are existed in the internal memory.When optical network node resets or power down causes being stored in the data message partial loss in the internal memory or when losing fully, need system to read and load from external memory storage again once more, to ensure normal recovery professional in the network as possible.
Optical-fiber network at some in particular cases for example, when power supply instability or frequent power down, certainly will have partial data owing to fail in time to store in the external memory storage, causes the new loaded data of system unusual, even business such as can not normally recover at situation in the system.
Summary of the invention
Main purpose of the present invention is to provide a kind of storage scheme of optical network data information, to address the above problem at least.
To achieve these goals, according to an aspect of the present invention, provide a kind of storage means of optical network data information.
Storage means according to optical network data information of the present invention may further comprise the steps: the optical-fiber network embedded device is powered jointly by external power source and little uninterruptible power system UPS; Externally under the situation that power supply disconnects, the embedded device of being powered by little UPS writes external memory storage with the data message in the internal memory.
Further, externally under the situation that power supply disconnects, by the embedded device of little UPS power supply the data message in the internal memory being write external memory storage comprises: externally under the unstable or unusual situation about losing efficacy of power supply, relay circuit is closed the power supply of external power source and internal bus, is CPU, internal memory and external memory control circuit power supply by little UPS.
Further, for before the power supply of optical-fiber network embedded device, this method also comprises jointly for external power source and little UPS: be configured in the stand-by period that external power source disconnects little UPS in back and external power source switching power supply.
Further, externally under the situation that power supply disconnects, by the embedded device of little UPS power supply the data message in the internal memory is write external memory storage and comprise: start the Wait-to-Restore WTR timer that is used to indicate the stand-by period; If external power source is stable before the WTR timer expiry, then behind the WTR timer expiry, relay circuit starts the power supply of external power source and internal bus.
Further, externally under the situation that power supply disconnects, by the embedded device of little UPS power supply the data message in the internal memory being write external memory storage comprises: if external power source instability also the WTR timer expiry after then uses current cpu resource that data message is write external memory storage.
Further, externally under the situation that power supply disconnects, by the embedded device of little UPS power supply the data message in the internal memory is write after the external memory storage, this method also comprises: relay circuit is closed the power supply of little UPS, embedded device stops all operations, waits for that external power source restores electricity.
To achieve these goals, according to a further aspect in the invention, also provide a kind of embedded device that is applied to optical-fiber network.
According to the embedded device that is applied to optical-fiber network of the present invention, be coupled to external power source, this embedded device comprises: CPU, internal memory, external memory storage and little uninterruptible power system UPS, wherein, little UPS is coupled to CPU, internal memory, external memory storage; CPU is used for providing power supply that the data message in the internal memory is write external memory storage by little UPS under the situation of externally power supply disconnection.
Further, this embedded device also comprises: relay circuit, be coupled to little UPS and external power source, and be used under the unstable or unusual situation about losing efficacy of power supply externally, close the switch of external power source and internal bus, provide power supply for CPU, internal memory and external memory storage by little UPS.
Further, this embedded device also comprises: Wait-to-Restore WTR timer, be coupled to relay circuit, and be used in reference to and be shown in the stand-by period that external power source disconnects little UPS in back and external power source switching power supply; If external power source is stable before the WTR timer expiry, behind the WTR timer expiry, relay circuit starts the switch of external power source and internal bus; If external power source is also unstable after the WTR timer expiry, CPU writes external memory storage with the data message in the internal memory.
Further, this embedded device also comprises: control-signals generator, be coupled to CPU, internal memory, external memory storage, relay circuit and WTR timer, be used for externally power supply after the WTR timer expiry under the also unsettled situation, send the priority treatment signal to CPU, wherein, the priority treatment signal is used for notifying CPU that the data message of internal memory is write external memory storage.
By the present invention, adopt the 1+1 power protection, solved in the correlation technique since the optical-fiber network power supply is unstable or frequently power down cause system to reload the problem of data exception, ensured the integrality of data message, improved the stability of system.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the storage means flow chart according to the optical network data information of the embodiment of the invention;
Fig. 2 is the structured flowchart according to the embedded device of the embodiment of the invention;
Fig. 3 is the structured flowchart of embedded device according to the preferred embodiment of the invention;
Fig. 4 is the structural representation of embedded device after outage according to the embodiment of the invention.
Embodiment
Hereinafter will describe the present invention with reference to the accompanying drawings and in conjunction with the embodiments in detail.Need to prove that under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.
Fig. 1 is the storage means flow chart according to the optical network data information of the embodiment of the invention, and as shown in Figure 1, this method may further comprise the steps:
Step S102, the optical-fiber network embedded device is by external power source and the common power supply of little uninterruptible power system (Uninterruptible Power System abbreviates UPS as);
Step S104, externally under the situation that power supply disconnects, the embedded device of being powered by little UPS writes external memory storage with the data message in the internal memory.
By the embodiment of the invention, adopt the 1+1 power protection, solved in the correlation technique since the optical-fiber network power supply is unstable or frequently power down cause system to reload the problem of data exception, ensured the integrality of data message, improved the stability of system.
Preferably, before step S102, can be configured in the stand-by period that external power source disconnects little UPS in back and external power source switching power supply.This method can still be powered by external power source and little UPS jointly so that externally under the stable situation of power supply, rather than little UPS powers separately, has strengthened the disposal ability of system.
Preferably, in step S104, externally the power supply instability (for example, concussion) or under the unusual situation about losing efficacy, relay circuit is closed the power supply of external power source and internal bus, by little UPS is CPU (Central Processing Unit abbreviates CPU as), internal memory and external memory control circuit power supply.This method can avoid system owing to the unstable unusual situation of data load that causes of power supply, effectively data message is protected, and has improved the accuracy rate of system.
Preferably, in step S104, can start Wait-to-Restore (Wait-to-Restore the abbreviates WTR as) timer that is used to indicate the stand-by period; If external power source is stable before the WTR timer expiry, then behind the WTR timer expiry, relay circuit starts the power supply of external power source and internal bus.
In this preferred embodiment, adopt the WTR timer to realize that little UPS and external power source switch the stand-by period of powering, determine whether to start external power source, improved the flexibility of system according to the stable case of external power source behind the WTR timer expiry.
Preferably, in step S104,, then use current cpu resource that data message is write external memory storage if external power source is also unstable after the WTR timer expiry.Like this under the still unsettled situation of external power source behind the WTR timer expiry, the data message in the internal memory is written in the external memory storage protects, improved the stability of data message and the validity of system.
Preferably, after step S 104, relay circuit is closed the power supply of little UPS, and embedded device stops all operations, waits for that external power source restores electricity.This method has effectively utilized system resource, has saved cost.
Need to prove that embedding the ups system 208 that declines can be according to the equipment performance needs, design the power of UPS as required and the duration after externally power supply disconnects, design the handoff response time of little ups power.In addition, the UPS unit also can be designed to undersized as required.
Fig. 2 is the structured flowchart according to the embedded device of the embodiment of the invention, as shown in Figure 2, this embedded device 20 is coupled to external power source 22, comprise: CPU202, internal memory 204, external memory storage 206 and little UPS208, wherein, little UPS208 is coupled to CPU202, internal memory 204, external memory storage 206; CPU202 is used for providing power supply that the data message in the internal memory 204 is write external memory storage 206 by little UPS208 under the situation of externally power supply 22 disconnections.
By the embodiment of the invention, adopt the 1+1 power protection, solved in the correlation technique since the optical-fiber network power supply is unstable or frequently power down cause system to reload the problem of data exception, ensured the integrality of data message, improved the stability of system.
Preferably, this embedded device 20 also comprises: relay circuit 210, be coupled to little UPS208 and external power source 22, be used under the 22 unstable or unusual situations about losing efficacy of power supply externally, close the switch of external power source 22 and internal bus, provide power supply for CPU202, internal memory 204 and external memory storage 206 by little UPS208.
Preferably, this embedded device 20 also comprises: Wait-to-Restore WTR timer 2 12, be coupled to relay circuit 210, and be used in reference to and be shown in the stand-by period that external power source 22 disconnects little UPS208 in back and external power source 22 switching power supplies; If external power source 22 is stable before WTR timer 2 12 is overtime, after WTR timer 2 12 was overtime, relay circuit 210 started the switch of external power sources 22 and internal bus; If external power source 22 instability also after WTR timer 2 12 is overtime, CPU202 writes external memory storage 206 with the data message in the internal memory 204.
Preferably, this embedded device 20 also comprises: control-signals generator 214, be coupled to CPU202, internal memory 204, external memory storage 206, relay circuit 210 and WTR timer 2 12, be used for externally power supply 22 after WTR timer 2 12 is overtime under the also unsettled situation, send the priority treatment signal to CPU202, wherein, the priority treatment signal is used for notifying CPU202 that the data message of internal memory 204 is write external memory storage 206.
In specific implementation process; can adopt the mode of " 1+1 " power protection; give master control borad CPU202, internal memory 204, external memory storage 206 (promptly synchronously by external power source 22 and little ups power 208; memory device) control circuit power supply can be avoided losing efficacy or the voltage surge of critical component such as CPU202 during instability when external power source 22 is unusual like this.In addition, external power source 22 also is responsible for providing working power to all veneers of equipment.
Fig. 3 is the structured flowchart of embedded device according to the preferred embodiment of the invention, as shown in Figure 3, this equipment can comprise: relay circuit 210, WTR timer 212, control signal generation circuit 214 and little UPS208, and the storage of using this embedded device to carry out optical network data information may further comprise the steps:
Step 302, under normal circumstances, external power source 22 and little UPS208 give master control borad CPU202, internal memory 204, the power supply of external memory storage 206 control circuits synchronously, realize the 1+1 power protection of above critical component.
Step 304 externally under the power supply 22 unexpected power-down conditions, is closed the power supply of non-critical component such as internal bus by relay circuit 210, and little UPS208 continues as CPU202, internal memory 204, the power supply of external memory storage 206 control circuits.
Step 306, control-signals generator 214 is sent signal, and CPU202 responds this signal, kills non-key process by CPU202, and the CPU202 resource is discharged, and guarantees that internal memory 204 existing information write external memory storage 206.
The preferred embodiment of the present invention can solve externally under power supply 22 power supply instabilities, the frequent power-down conditions; business information can't in time store the problem in the external memory storage 206 into; make optical-fiber network externally under power supply 22 power supply instabilities or the frequent power-down conditions; important information can store in the external memory storage 206 in time, can normally recover in order to external power source 22 stable back business.
Fig. 4 is the structural representation of embedded device after outage according to the embodiment of the invention, and as shown in Figure 4, the handling process of this embedded device after outage can may further comprise the steps:
Step S402, externally power supply 22 is unusual lost efficacy or during concussion, relay circuit 210 is closed external power source 22 power supplies, relay circuit 210 is also closed the power supply of non-critical component such as internal bus, the power supply of CPU202, internal memory 204, External memory equipment 206 control circuits continues to be provided by little ups power 208, and starts WTR timer 212.
Step S402, WTR timer 212 then before, if external power source 22 is stable, then when WTR timer 212 then after, relay circuit 210 powers to this embedded device external power source 22 switch opens, CPU202 continues operate as normal.
Step S404, WTR timer 212 then after, external power source 22 is also unstable, if this moment, system did not have warehousing intact, control-signals generator 214 provides the signal that stops non-key process to CPU202 so; CPU202 kills non-key process immediately after receiving this signal, cpu resource is used for data writes external memory storage 206 operations, and all data in internal memory 204 are write record and finished, and CPU202 quits work.Relay circuit 210 is closed little ups power 208, and this embedded device stops all operations, waits for that external power source 22 restores electricity.In specific implementation process, also can adopt the mode of interruption to realize this step.
In sum; the embodiment of the invention provides warehousing and the system start-up fast data recovery method of a kind of optical-fiber network embedded system device under extreme case; make data message externally be protected under power supply concussion and the unusual situation; ensure the integrality of data message, improved the stability and the reliability of system.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the storage device and carry out by calculation element, and in some cases, can carry out step shown or that describe with the order that is different from herein, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. the storage means of an optical network data information is characterized in that, may further comprise the steps:
The optical-fiber network embedded device is powered jointly by external power source and little uninterruptible power system UPS;
Under the situation that described external power source disconnects, the described embedded device of being powered by described little UPS writes external memory storage with the data message in the internal memory.
2. method according to claim 1 is characterized in that, under the situation that described external power source disconnects, by the described embedded device of described little UPS power supply the described data message in the described internal memory is write described external memory storage and comprises:
Under the unstable or unusual situation about losing efficacy of described external power source, relay circuit is closed the power supply of described external power source and internal bus, is CPU, internal memory and external memory control circuit power supply by described little UPS.
3. method according to claim 1 is characterized in that, described external power source and described little UPS for before the power supply of optical-fiber network embedded device, also comprise jointly:
Be configured in described external power source disconnection described little UPS in back and described external power source and switch the stand-by period of powering.
4. method according to claim 1 is characterized in that, under the situation that described external power source disconnects, by the described embedded device of described little UPS power supply the described data message in the described internal memory is write described external memory storage and comprises:
Start the Wait-to-Restore WTR timer that is used to indicate the described stand-by period;
If described external power source is stable before described WTR timer expiry, then behind described WTR timer expiry, described relay circuit starts the power supply of described external power source and described internal bus.
5. method according to claim 4 is characterized in that, under the situation that described external power source disconnects, by the described embedded device of described little UPS power supply with in described
Described data message in depositing writes described external memory storage and comprises:
If described external power source is also unstable after described WTR timer expiry, then use current cpu resource that described data message is write described external memory storage.
6. method according to claim 1 is characterized in that, under the situation that described external power source disconnects, by the described embedded device of described little UPS power supply the described data message in the described internal memory is write after the described external memory storage, also comprises:
Relay circuit is closed the power supply of described little UPS, and described embedded device stops all operations, waits for that described external power source restores electricity.
7. an embedded device that is applied to optical-fiber network is coupled to external power source, it is characterized in that,
Described embedded device comprises: CPU, internal memory, external memory storage and little uninterruptible power system UPS, and wherein, described little UPS is coupled to described CPU, described internal memory, described external memory storage;
Described CPU is used for providing power supply that the data message in the described internal memory is write described external memory storage by described little UPS under the situation that described external power source disconnects.
8. embedded device according to claim 7 is characterized in that, also comprises:
Relay circuit, be coupled to described little UPS and described external power source, be used under the unstable or unusual situation about losing efficacy of described external power source, closing the switch of described external power source and internal bus, provide power supply for described CPU, described internal memory and described external memory storage by described little UPS.
9. embedded device according to claim 7 is characterized in that, also comprises:
Wait-to-Restore WTR timer is coupled to described relay circuit, is used in reference to be shown in the stand-by period that described external power source disconnects described little UPS in back and described external power source switching power supply;
If described external power source is stable before described WTR timer expiry, behind described WTR timer expiry, described relay circuit starts the switch of described external power source and described internal bus; If described external power source is also unstable after described WTR timer expiry, described CPU writes described external memory storage with the data message in the described internal memory.
10. embedded device according to claim 9 is characterized in that, also comprises:
Control-signals generator, be coupled to described CPU, described internal memory, described external memory storage, described relay circuit and described WTR timer, be used at described external power source after described WTR timer expiry under the also unsettled situation, send the priority treatment signal to described CPU, wherein, described priority treatment signal is used for notifying described CPU that the data message of described internal memory is write described external memory storage.
CN2010101990585A 2010-06-08 2010-06-08 Storage method of data information of optical network and embedded equipment Pending CN101938361A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101990585A CN101938361A (en) 2010-06-08 2010-06-08 Storage method of data information of optical network and embedded equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101990585A CN101938361A (en) 2010-06-08 2010-06-08 Storage method of data information of optical network and embedded equipment

Publications (1)

Publication Number Publication Date
CN101938361A true CN101938361A (en) 2011-01-05

Family

ID=43391510

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101990585A Pending CN101938361A (en) 2010-06-08 2010-06-08 Storage method of data information of optical network and embedded equipment

Country Status (1)

Country Link
CN (1) CN101938361A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102915282A (en) * 2012-09-28 2013-02-06 浪潮(北京)电子信息产业有限公司 Block device data cache management method and system for memory system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2560039Y (en) * 2002-07-05 2003-07-09 尹启凤 Data-processing equipment without missing data after power-off
CN101183801A (en) * 2007-12-07 2008-05-21 杭州华三通信技术有限公司 Power-off protection method, system and device
CN101609435A (en) * 2009-03-24 2009-12-23 成都市华为赛门铁克科技有限公司 A kind of method of power failure of equipment, electronic equipment and network system
US20100005252A1 (en) * 2008-07-03 2010-01-07 Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd. Storage control system
CN101707390A (en) * 2009-11-24 2010-05-12 成都市华为赛门铁克科技有限公司 Power redundancy backup method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2560039Y (en) * 2002-07-05 2003-07-09 尹启凤 Data-processing equipment without missing data after power-off
CN101183801A (en) * 2007-12-07 2008-05-21 杭州华三通信技术有限公司 Power-off protection method, system and device
US20100005252A1 (en) * 2008-07-03 2010-01-07 Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd. Storage control system
CN101609435A (en) * 2009-03-24 2009-12-23 成都市华为赛门铁克科技有限公司 A kind of method of power failure of equipment, electronic equipment and network system
CN101707390A (en) * 2009-11-24 2010-05-12 成都市华为赛门铁克科技有限公司 Power redundancy backup method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102915282A (en) * 2012-09-28 2013-02-06 浪潮(北京)电子信息产业有限公司 Block device data cache management method and system for memory system

Similar Documents

Publication Publication Date Title
CN101286086B (en) Hard disk power down protection method, device and hard disk, and hard disk power down protection system
JP6458279B2 (en) Power supply control method and wireless terminal
JP2007115050A (en) Storage system
CN102945192A (en) Data backup and recovery method and intelligent mobile terminal
JPH10161778A (en) Uninterrupted power supply
EP2093673A1 (en) A system and method with multi-level buffer
CN104133730A (en) Method and device for repairing system abnormality and mobile terminal
CN110781029A (en) Power-off protection method and system
JP2006135848A (en) Mobile terminal, and controlling method therefor
CN111712776A (en) Power management for computing and communication systems during power surges and sudden power failure events
CN105159846A (en) Method for supporting dual-control switching of virtualized disk and storage system
CN102572110A (en) Smart phone power-down protection system and method
KR101596175B1 (en) System and method for powering redundant components
CN101938361A (en) Storage method of data information of optical network and embedded equipment
CN103297620A (en) Power-down protection system and method for smart phone
CN103108070B (en) Telephone book backup system and method thereof
CN102402447A (en) Equipment booting method and equipment
CN101894032A (en) Method for starting software system of base station, base station and master single board in base station
CN112165389B (en) Server data protection system and method based on power over Ethernet
CN112506707B (en) Disaster recovery returning method, system, equipment and computer readable storage medium
CN105573459B (en) Electronic device and signal processing method
JP2015153128A (en) Call processing control device and software update method of the same, call processing system, and computer program
CN109582375A (en) A kind of storage system BIOS restoration methods and storage system
JP6808951B2 (en) Memory system, memory control method, and program
CN114137942B (en) Control method and device for distributed controller cluster

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110105