CN1881894A - Method and system for active/standby backup - Google Patents

Method and system for active/standby backup Download PDF

Info

Publication number
CN1881894A
CN1881894A CN 200510077606 CN200510077606A CN1881894A CN 1881894 A CN1881894 A CN 1881894A CN 200510077606 CN200510077606 CN 200510077606 CN 200510077606 A CN200510077606 A CN 200510077606A CN 1881894 A CN1881894 A CN 1881894A
Authority
CN
China
Prior art keywords
data
compression
module
backed
needs
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 200510077606
Other languages
Chinese (zh)
Other versions
CN100442708C (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.)
Huawei Technologies Co Ltd
Shanghai Huawei Technologies Co Ltd
Original Assignee
Shanghai Huawei Technologies 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 Shanghai Huawei Technologies Co Ltd filed Critical Shanghai Huawei Technologies Co Ltd
Priority to CNB2005100776066A priority Critical patent/CN100442708C/en
Publication of CN1881894A publication Critical patent/CN1881894A/en
Application granted granted Critical
Publication of CN100442708C publication Critical patent/CN100442708C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

The invention relates to a method for master spare back-up, which comprises: A, selecting the compressed data from the back-up data of master system; B, compressing said data to obtain the compressed data, and sending the back-up data with compressed data to the back-up system; C, the back-up system receives the data sent from master system, decompresses the compressed data to obtain the decompressed data, and stores the back-up data with decompressed data. The invention also discloses a master spare back-up system. The invention can reduce the flux of back-up data, to reduce the occupancy of data back-up in the system resource.

Description

A kind of method and system of active/standby backup
Technical field
The present invention relates to the method and system in active/standby backup the switching technique field, particularly a kind of active/standby backup of network element in the communication system.
Background technology
In communication system, professional when setting up, keeping and discharging, all can produce the googol certificate in respective network elements.Generally, network element has main with system and back-up system, has only the main system's foreign work of using in normal course of operation, relevant business datum can be backuped to back-up system simultaneously, guarantees back-up system and main with the data sync between the system with this.When the needs masterslave switchover, for example the master breaks down with system or artificially sets when switching, and business can be switched on the back-up system and move, and does not influence current business.
At present, the redundancy technique of network element has all adopted the mode of direct backup usually in the communication system, and promptly the master does not do any change with system to the needs backed up data, directly it is backuped to back-up system by the bottom coffret.
Because single service needed backed up data is just bigger, when having a plurality of business in the system, all professional total backed up data that need will be very big.Huge data like this are directly backuped to back-up system, will produce very large data traffic, transmission and the so big data traffic of processing all can take the ample resources of system, can handle the regular traffic of system and cause certain influence.And when data traffic greatly to surpassing or with the bandwidth of bottom coffret when suitable, may cause congested, when congested will obliterated data when exceeding buffer limit, incomplete problem is backed up in initiation.
Summary of the invention
In view of this, the objective of the invention is to propose a kind of method and system that reduce the active/standby backup of Backup Data flow between the main preparation system.
According to above-mentioned purpose, the present invention proposes a kind of method of active/standby backup, this method may further comprise the steps:
A. from the main data that need to select the backed up data needs compression with system;
B. the described data that need compression are compressed data after obtaining compressing, the backed up data that needs that will comprise the data after the compression sends to back-up system;
C. back-up system receive main send data with system after, the data after the described compression are decompressed obtains data behind the decompress(ion), and preserves the backed up data that needs of the data that comprise after the decompression.
In technique scheme, the data that need described in the steps A to compress are described the part or all of of backed up data that need.
Compress by the main compression method that has with system itself among the step B; And/or the decompression method that has by back-up system itself among the step C decompresses.
Described master is leading with system, back-up system on the Wideband Code Division Multiple Access (WCDMA) WCDMA radio network controller (RNC) with system, back-up system.
The described data of compression that need are for adopting the data of the network layer data structure of formulating according to standard interface; Carry out encoding compression by abstract syntax rule one ASN.1 among the step B; Among the step C by the ASN.1 decompression of decoding.
The invention allows for a kind of active/standby backup system, this system comprises main with system, back-up system, and described master comprises main with system backup module and the main system bottom coffret of using with system; Described master is used for from needing backed up data to select the data of needs compression with the system backup module, the described data that need compression are compressed data after obtaining compressing, and will comprise that the backed up data that needs of data after the compression mainly sends to back-up system with the system bottom coffret by described; Described back-up system comprises back-up system backup module and back-up system bottom coffret; Described back-up system backup module is used for after receiving main data of sending with system by back-up system bottom coffret, data after the identification and the described compression that decompresses obtain the data behind the decompress(ion), and preserve the backed up data that needs of the data that comprise after the decompression.
Described master comprises first data identification module and compression module with the system backup module; Described back-up system backup module comprises second data identification module and decompression module; Wherein, described first data identification module, the data that are used for when described needs compression are when needing the part of backed up data, from need backed up data, select the data of needs compression, and send to compression module, and will need not have in the backed up data compressed data to send to back-up system with the system bottom coffret by described master; When perhaps being used for data when the compression of described needs and being needing backed up data whole, the data of from need backed up data, selecting needs to compress, and send to compression module; Described compression module, the data after the data that are used to compress described needs compression obtain compressing, and the data after the described compression are mainly sent to back-up system with the system bottom coffret by described; Described second data identification module, the data that are used for when described needs compression are when needing the part of backed up data, after receiving main data of sending with system by back-up system bottom coffret, discern the data after the described compression and send to described decompression module, and preserve the described data that do not have compression; Perhaps when the described data that need compression be when needing backed up data whole, after receiving main data of sending, discern the data after the described compression and send to described decompression module with system by back-up system bottom coffret; Described decompression module is used for the data after the described compression are decompressed, and preserves the data after decompressing.
Described compression module is the main compression function module that has with system itself; And/or described decompression module is the decompressing function module that back-up system itself has.
Described master is leading with system, back-up system on the WCDMA RNC with system, back-up system.
Described compression module is an ASN.1 codec functions module; And/or described decompression module is an ASN.1 codec functions module.
From such scheme as can be seen, because the present invention is from leading the data of selecting the needs compression that need back up with system, with sending to the back-up system backup after its compression, reduced the flow of Backup Data to a great extent, and reduced data backup taking system resource.And in a preferred embodiment of the invention, adopt the main codec functions module that has with system and back-up system itself to carry out compression and decompression, farthest reduced transformation, had and realize convenient and simple characteristics, promoted the use of in helping on a large scale existing system.
Description of drawings
Fig. 1 is the system configuration schematic diagram of the present invention in WCDMA RNC;
Fig. 2 is the schematic flow sheet of the inventive method.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in more detail by the following examples.
Unlike the prior art, the present invention compresses data earlier, and the transfer of data after will compressing is then preserved after the data after back-up system will be compressed decompress to back-up system.Since with all need backed up data all compression can take a large amount of system resource, the present invention needs also further to have proposed to select wherein to compress the scheme that the high data of Energy Efficiency Ratio are compressed the scheme that backed up data compresses except selecting all.
The present invention is applicable to that all adopt the network element of masterslave switchover mode in the communication system, for convenience, is the example explanation with radio network controller (RNC) network element in Wideband Code Division Multiple Access (WCDMA) (WCDMA) system below.
Shown in Figure 1 is the system configuration schematic diagram of present embodiment.This system comprises main system, the back-up system used, and the master comprises that with system the master uses system bottom coffret, back-up system to comprise back-up system backup module and back-up system bottom coffret with system backup module and master.Described master is used for from needing backed up data to select the data of needs compression with the system backup module, the described data that need compression are compressed data after obtaining compressing, and the backed up data that needs that will comprise data after the compression mainly sends to back-up system with the system bottom coffret by described, leads to comprise first data identification module and compression module with the system backup module.Wherein first data identification module is used for from needing backed up data to select the data of needs compression, the data that will need then to compress send to the compression module processing, Ya Suo data are when needing backed up data a part of if desired, and the data that first data identification module also will not need to compress send to back-up system by main with the system bottom coffret; The data that compression module will need to compress are compressed, and the data after will compressing then send to back-up system by main with the system bottom coffret; Described back-up system backup module is used for after receiving main data of sending with system by back-up system bottom coffret, data after the identification and the described compression that decompresses obtain the data behind the decompress(ion), and preserve the backed up data that needs of the data comprise after the decompression, the back-up system spare module comprises second data identification module and decompression module.Wherein second data identification module receives the main data that send over system from back-up system bottom coffret, data after the compression are given to decompression module handle, when the data of needs compression are that the data that also will wherein not have to compress when needing backed up data a part of directly are kept in the memory of back-up system; Decompression module decompresses to the data of compression, and the data after will decompressing then are saved in the memory of back-up system; The master is used for transmitting data between the master is with system and back-up system with system bottom coffret and back-up system bottom coffret.
For compression module and decompression, can be the module that increases newly in the system, this module is used for the data that needs compress are compressed, but increases the load that a module can increase system newly, and changes bigger to system.Because network element generally itself can have the codec functions module, the present invention proposes and utilize codec functions module that system itself carries as compression module, to avoid increase to system loading.Utilize codec functions module that system itself carries as compression module, can farthest reduce transformation, make implementation procedure of the present invention also very easy system.
Fig. 2 is the schematic flow sheet of present embodiment.
Investigate on the RNC and need backed up data, wherein major part belongs to the data of network layer, the self-defining data structure of having had only seldom a part of The data in the data of these network layers, what most of data directly adopted is to formulate the network layer data structure according to each standard interface in the WCDMA RNC system.For convenience of description, the relevant backed up data that needs of call business data that will not belong to below on the network layer is called data A, to belong to network layer and use the relevant Backup Data of call business of self-defining data structure to be called data B simultaneously, will belong to network layer and use the relevant Backup Data of call business of the network layer data structure of formulating according to each standard interface to be called data C simultaneously.Identification above-mentioned data A, data B and data C can distinguish according to the data type of data in system self in network element RNC, the data type of described data is meaningful, it has pointed out that data specifically are data A, data B, data C or other data, also point out the length of these data simultaneously.If need backed up data all to carry out encoding compression all, need take a large amount of system resource, consider the Energy Efficiency Ratio of compression simultaneously, wherein the compression effectiveness of some data and not obvious.Therefore, present embodiment selects data C wherein to compress, and (Abstract SyntaxNotation Number One, ASN.1) the codec functions module is carried out encoding compression to data C to utilize the abstract syntax rule one that carries among the WCDMA RNC.The ASN.1 codec functions module of using among the WCDMA RNC provides a kind of compression and decompression algorithm at the network layer data structure of formulating according to standard interface, and compression efficiency is than higher.Present embodiment compresses above-mentioned data C by the ASN.1 codec functions module on the RNC.
With reference to figure 2, the flow process of present embodiment may further comprise the steps:
Step 201 is to step 202, the first data identification module recognition data A, data B, data C, select data C wherein to send to compression module, data A, the data B that does not need to compress sent to back-up system by main with the system bottom coffret as the data that needs compress.Compression module compresses data C, and the data C after will compressing then sends to back-up system by the bottom coffret.
Step 203 is to step 204, after second data identification module of back-up system receives Backup Data from back-up system bottom coffret, distinguishes data A, data B according to the data type of data earlier and through the data C after the ASN.1 encoding compression.Directly be saved in the memory of back-up system for wherein data A and data B; Send to decompression module for the data C after the ASN.1 encoding compression, decompression module decompresses and obtains it being saved in the memory behind the original data C again.Use system similarity with main, the decompression module of back-up system is the ASN.1 codec functions module that system carries here.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1, a kind of method of active/standby backup is characterized in that, this method may further comprise the steps:
A. from the main data that need to select the backed up data needs compression with system;
B. the described data that need compression are compressed data after obtaining compressing, the backed up data that needs that will comprise the data after the compression sends to back-up system;
C. back-up system receive main send data with system after, the data after the described compression are decompressed obtains data behind the decompress(ion), and preserves the backed up data that needs of the data that comprise after the decompression.
2, method according to claim 1 is characterized in that, the data that need described in the steps A to compress are described the part or all of of backed up data that need.
3, method according to claim 1 is characterized in that, compresses by the main compression method that has with system itself among the step B; And/or
The decompression method that has by back-up system itself among the step C decompresses.
4, method according to claim 1 is characterized in that, described master is leading with system, back-up system on the Wideband Code Division Multiple Access (WCDMA) WCDMA radio network controller (RNC) with system, back-up system.
5, method according to claim 4 is characterized in that, the described data of compression that need are for adopting the data of the network layer data structure of formulating according to standard interface;
Carry out encoding compression by abstract syntax rule one ASN.1 among the step B;
Among the step C by the ASN.1 decompression of decoding.
6, a kind of active/standby backup system, this system comprise and mainly it is characterized in that with system, back-up system,
Described master comprises main with system backup module and the main system bottom coffret of using with system; Described master is used for from needing backed up data to select the data of needs compression with the system backup module, the described data that need compression are compressed data after obtaining compressing, and will comprise that the backed up data that needs of data after the compression mainly sends to back-up system with the system bottom coffret by described;
Described back-up system comprises back-up system backup module and back-up system bottom coffret; Described back-up system backup module is used for after receiving main data of sending with system by back-up system bottom coffret, data after the identification and the described compression that decompresses obtain the data behind the decompress(ion), and preserve the backed up data that needs of the data that comprise after the decompression.
7, system according to claim 6 is characterized in that, described master comprises first data identification module and compression module with the system backup module; Described back-up system backup module comprises second data identification module and decompression module;
Wherein, described first data identification module, the data that are used for when described needs compression are when needing the part of backed up data, from need backed up data, select the data of needs compression, and send to compression module, and will need not have in the backed up data compressed data to send to back-up system with the system bottom coffret by described master; When perhaps being used for data when the compression of described needs and being needing backed up data whole, the data of from need backed up data, selecting needs to compress, and send to compression module;
Described compression module, the data after the data that are used to compress described needs compression obtain compressing, and the data after the described compression are mainly sent to back-up system with the system bottom coffret by described;
Described second data identification module, the data that are used for when described needs compression are when needing the part of backed up data, after receiving main data of sending with system by back-up system bottom coffret, discern the data after the described compression and send to described decompression module, and preserve the described data that do not have compression; Perhaps when the described data that need compression be when needing backed up data whole, after receiving main data of sending, discern the data after the described compression and send to described decompression module with system by back-up system bottom coffret;
Described decompression module is used for the data after the described compression are decompressed, and preserves the data after decompressing.
8, system according to claim 6 is characterized in that,
Described compression module is the main compression function module that has with system itself; And/or
Described decompression module is the decompressing function module that back-up system itself has.
9, system according to claim 6 is characterized in that, described master is leading with system, back-up system on the WCDMA RNC with system, back-up system.
10, system according to claim 9 is characterized in that,
Described compression module is an ASN.1 codec functions module; And/or
Described decompression module is an ASN.1 codec functions module.
CNB2005100776066A 2005-06-17 2005-06-17 Method and system for active/standby backup Expired - Fee Related CN100442708C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100776066A CN100442708C (en) 2005-06-17 2005-06-17 Method and system for active/standby backup

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100776066A CN100442708C (en) 2005-06-17 2005-06-17 Method and system for active/standby backup

Publications (2)

Publication Number Publication Date
CN1881894A true CN1881894A (en) 2006-12-20
CN100442708C CN100442708C (en) 2008-12-10

Family

ID=37519883

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100776066A Expired - Fee Related CN100442708C (en) 2005-06-17 2005-06-17 Method and system for active/standby backup

Country Status (1)

Country Link
CN (1) CN100442708C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009049458A1 (en) * 2007-10-15 2009-04-23 Zte Corporation An online capacity-reduction method for non-stopped service of a protection ring network of an optical transmision multiple segment
CN101872634A (en) * 2009-04-27 2010-10-27 索尼公司 Electron device, content reproducing method and program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6058462A (en) * 1998-01-23 2000-05-02 International Business Machines Corporation Method and apparatus for enabling transfer of compressed data record tracks with CRC checking
JP2005505813A (en) * 2001-07-26 2005-02-24 キョウセラ ワイヤレス コーポレイション System and method for managing wireless communication device system software downloads in the field
CN100512037C (en) * 2002-05-28 2009-07-08 中兴通讯股份有限公司 Method of data synchronization in main stock redundance system
CN1299204C (en) * 2004-09-14 2007-02-07 中国人民解放军上海警备区司令部指挥自动化工作站 Monitoring operation system for data catastrophic failure-tolerant backup control system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009049458A1 (en) * 2007-10-15 2009-04-23 Zte Corporation An online capacity-reduction method for non-stopped service of a protection ring network of an optical transmision multiple segment
CN101872634A (en) * 2009-04-27 2010-10-27 索尼公司 Electron device, content reproducing method and program
CN101872634B (en) * 2009-04-27 2013-01-02 索尼公司 Electronic device and content reproducing method and program

Also Published As

Publication number Publication date
CN100442708C (en) 2008-12-10

Similar Documents

Publication Publication Date Title
CN101835043B (en) Adaptive bandwidth desktop sharing method based on block encoding
CN105991625B (en) Method and equipment for data transmission
CN102724500B (en) A kind of compressing/decompressing method of video data and system
US8959155B1 (en) Data compression through redundancy removal in an application acceleration environment
CN101039212A (en) Fast data storage method
CN1142657C (en) Frame control method and apparatus
CN101197773B (en) Packet compressed transmitting and received de-compression method and system based on multilink
US20110055441A1 (en) Data compression and decompression apparatus and data compression and decompression method
EP1627345A2 (en) Fast loss less image compression system based on neighborhood comparisons
CN114594911A (en) Block chain data storage system and method based on under-chain erasure code distributed storage
CN106850770B (en) Efficient transmission method based on cloud computing service
CN1584875B (en) Ergodic compressing and decompressing method for batched computer document
CN1881894A (en) Method and system for active/standby backup
US20100027617A1 (en) Method and apparatus for compressing a reference frame in encoding/decoding moving images
CN1946164A (en) System and method for meeting information backup in multipoint meeting
CN105323593A (en) Multimedia transcoding scheduling method and multimedia transcoding scheduling device
CN101919248A (en) Byte representation for enhanced image compression
US9571698B1 (en) Method and system for dynamic compression module selection
CN106899308A (en) A kind of real-time gzip uncompressing datas of the self adaptation of software and hardware combining and system
CN103503381A (en) Method, device and system for device redirection data transmission
US9843702B1 (en) Method and system for dynamic compression module selection
CN1474289A (en) Method for displaying synchronously content of host on client machine
CN115643310A (en) Method, device and system for compressing data
CN114896222A (en) Log data processing method and device, computer equipment and system
CN1874231A (en) Method for transmitting files

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20081210

Termination date: 20180617