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

Method and system for active/standby backup Download PDF

Info

Publication number
CN100442708C
CN100442708C CNB2005100776066A CN200510077606A CN100442708C CN 100442708 C CN100442708 C CN 100442708C CN B2005100776066 A CNB2005100776066 A CN B2005100776066A CN 200510077606 A CN200510077606 A CN 200510077606A CN 100442708 C CN100442708 C CN 100442708C
Authority
CN
China
Prior art keywords
data
module
compression
backed
network layer
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.)
Expired - Fee Related
Application number
CNB2005100776066A
Other languages
Chinese (zh)
Other versions
CN1881894A (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

Images

Abstract

The present invention relates to a method for master to standby backup, which comprises the steps that data which needs to be compressed is selected in data which needs to be in backup for a master system; the data which needs to be compressed is compressed so that compressed data is obtained, and the data which needs to be in backup and comprises the compressed data is sent to a standby system; the standby system receives the data from the master system and decompresses the compressed data so as to obtain decompressed data, and thus, the data which needs to be in backup and contains the decompressed data is saved. The present invention also discloses a system for the master to standby backup. Therefore, the invention can greatly reduce the flux of the backup data and further reduce the system resource occupation of the data backup.

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. according to data type, need to select the backed up data data of employing with system according to the network layer data structure of standard interface formulation from main;
B. the data of the network layer data structure that described employing is formulated according to standard interface are compressed the data after obtaining compressing, and the backed up data that needs that will comprise the data after the described 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 adopt the network layer data structure of formulating according to standard interface described in the steps A are the part or all of of described needs backed up data.
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.
Carry out encoding compression by abstract syntax rule one ASN.1 among the described step B;
Among the described 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 employing according to the network layer data structure of standard interface formulation with the system backup module, the data of the network layer data structure that described employing is formulated according to standard interface are compressed the data after obtaining compressing, and will comprise that the backed up data that needs of data after the described 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, when the data that are used for the network layer data structure formulated according to standard interface when described employing are the part of needs backed up data, from need backed up data, select the data of described employing according to the network layer data structure of standard interface formulation, 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 the data that perhaps are used for the network layer data structure formulated according to standard interface when described employing are needs backed up data whole, from need backed up data, select the data of described employing, and send to compression module according to the network layer data structure of standard interface formulation;
Described compression module, the data after the data that are used to compress the network layer data structure that described employing formulates according to standard interface 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, when the data that are used for the network layer data structure formulated according to standard interface when described employing are the part of needs 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; When perhaps the data of the network layer data structure of formulating according to standard interface when described employing are needs backed up data whole, receive main data of sending by back-up system bottom coffret after, discern the data after the described compression and send to described decompression module with system;
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. according to data type, need to select the backed up data data of employing with system according to the network layer data structure of standard interface formulation from main;
B. the data of the network layer data structure that described employing is formulated according to standard interface are compressed the data after obtaining compressing, and the backed up data that needs that will comprise the data after the described 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 adopt the network layer data structure of formulating according to standard interface described in the steps A are the part or all of of described needs backed up data.
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, carries out encoding compression by abstract syntax rule one ASN.1 among the described step B;
Among the described 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 employing according to the network layer data structure of standard interface formulation with the system backup module, the data of the network layer data structure that described employing is formulated according to standard interface are compressed the data after obtaining compressing, and will comprise that the backed up data that needs of data after the described 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, when the data that are used for the network layer data structure formulated according to standard interface when described employing are the part of needs backed up data, from need backed up data, select the data of described employing according to the network layer data structure of standard interface formulation, 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 the data that perhaps are used for the network layer data structure formulated according to standard interface when described employing are needs backed up data whole, from need backed up data, select the data of described employing, and send to compression module according to the network layer data structure of standard interface formulation;
Described compression module, the data after the data that are used to compress the network layer data structure that described employing formulates according to standard interface 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, when the data that are used for the network layer data structure formulated according to standard interface when described employing are the part of needs 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; When perhaps the data of the network layer data structure of formulating according to standard interface when described employing are needs backed up data whole, receive main data of sending by back-up system bottom coffret after, discern the data after the described compression and send to described decompression module with system;
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 7 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 7 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 CN1881894A (en) 2006-12-20
CN100442708C true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150372B (en) * 2007-10-15 2011-12-28 中兴通讯股份有限公司 Online reduction method without service interruption for optical transmission multiplexing protection loop network
JP5316205B2 (en) * 2009-04-27 2013-10-16 ソニー株式会社 Electronic device, content reproduction method and program

Citations (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
WO2003013103A2 (en) * 2001-07-26 2003-02-13 Kyocera Wireless Corporation System and method for bi-directional communication and execution of dynamic instruction sets
CN1462116A (en) * 2002-05-28 2003-12-17 深圳市中兴通讯股份有限公司 Method of data synchronization in main stock redundance system
CN1609814A (en) * 2004-09-14 2005-04-27 中国人民解放军上海警备区司令部指挥自动化工作站 Monitoring operation system for data catastrophic failure-tolerant backup control system

Patent Citations (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
WO2003013103A2 (en) * 2001-07-26 2003-02-13 Kyocera Wireless Corporation System and method for bi-directional communication and execution of dynamic instruction sets
CN1462116A (en) * 2002-05-28 2003-12-17 深圳市中兴通讯股份有限公司 Method of data synchronization in main stock redundance system
CN1609814A (en) * 2004-09-14 2005-04-27 中国人民解放军上海警备区司令部指挥自动化工作站 Monitoring operation system for data catastrophic failure-tolerant backup control system

Also Published As

Publication number Publication date
CN1881894A (en) 2006-12-20

Similar Documents

Publication Publication Date Title
US6745012B1 (en) Adaptive data compression in a wireless telecommunications system
JP3902235B2 (en) Data compression in data connection
CN106233813B (en) Method, equipment and communication system for carrying out data communication by using unlicensed spectrum
US8462708B2 (en) Base station, wireless control apparatus, and wireless apparatus
CN101039212B (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
CN108494788A (en) Transmission method, data transmission device and the computer readable storage medium of data
JP2016026462A (en) Communication terminal, communication system, and communication method
CN100442708C (en) Method and system for active/standby backup
CN100366110C (en) Method for distributing baseband channel processing resource in mobile communication system base station
CN107615810B (en) Packet header compression system and method for online network code
JP4118986B2 (en) Dynamic allocation of voice and image compression
CN106033377B (en) Data disaster tolerance method and Disaster Recovery Service
CN108242931B (en) Data compression providing method
CN102004665A (en) Task concurrent processing method in workflow system
CN106714294B (en) Multi-channel TCP/IP header compression synchronization method applied to smart power grid
KR100914654B1 (en) Selective Compression Transmission System of data file
CN101621847B (en) Method and terminal for acquiring 3G radio resource management information
CN111355801A (en) Remote artificial intelligence communication service handling system and control method thereof
CN1625170B (en) Method for realizing large number of user on-line simultaneously of universal group radio operation
KR20020036356A (en) Short message service method using control channel in mobile communication system
WO2023105647A1 (en) Flow information collecting system, flow information collecting method, and flow information collecting program
KR102035561B1 (en) Video conference system based on delay time reduction, and method for operating thereof
KR100297556B1 (en) Resource division method of between the base station in the mobile communication system using breating function

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