CN104753659B - A kind of method, apparatus and system of more network element data synchronization loads - Google Patents

A kind of method, apparatus and system of more network element data synchronization loads Download PDF

Info

Publication number
CN104753659B
CN104753659B CN201310725996.8A CN201310725996A CN104753659B CN 104753659 B CN104753659 B CN 104753659B CN 201310725996 A CN201310725996 A CN 201310725996A CN 104753659 B CN104753659 B CN 104753659B
Authority
CN
China
Prior art keywords
data
network element
target network
instruction
loaded
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310725996.8A
Other languages
Chinese (zh)
Other versions
CN104753659A (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.)
China Mobile Group Inner Mongolia Co Ltd
Original Assignee
China Mobile Group Inner Mongolia 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 China Mobile Group Inner Mongolia Co Ltd filed Critical China Mobile Group Inner Mongolia Co Ltd
Priority to CN201310725996.8A priority Critical patent/CN104753659B/en
Publication of CN104753659A publication Critical patent/CN104753659A/en
Application granted granted Critical
Publication of CN104753659B publication Critical patent/CN104753659B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of method of more network element data synchronization loads, publication network element sends data, counts the preloading result received;It determines after preloading whole load successfully, sends data provisioning instruction, and count the implementing result of the data provisioning instruction received, determine that the data provisioning instruction all runs succeeded;The present invention also discloses a kind of apparatus and systems of more network element data synchronization loads.

Description

A kind of method, apparatus and system of more network element data synchronization loads
Technical field
It is loaded the present invention relates to the data loading technique of mobile communication field more particularly to a kind of more network element data synchronizations Method, apparatus and system.
Background technique
Operation system basic demand is to need to load data into support service operation in system, and the configuration of data Work is generally from data management platform, province-level data manage platform provide in service life cycle the configuration of various data and Management function.User can manage the foreground interface that platform provides by province-level data and carry out data manipulation, or receive periphery system System (such as level one data management platform) is synchronized to data inside the province, and data file is sent to accordingly by way of FTP Operation system after each operation system receives the data that province-level data platform is sent, is voluntarily completed the load of data, and is led to Know that province's data management platform disposition needs artificial treatment if there is out of step conditions is loaded between network element, it is ensured that each network element Between data synchronization.
But with the development of communication technology, especially into Internet era, type of business and business platform are more next More, data publication is more and more frequent, since the inconsistency that data load between different target network element leads to answering for data management Polygamy;And in conventional methods where, can there are time length, effect by the inconsistency for solving the load of target network element data is positioned manually The low problem of rate, so the inconsistency that the data between target network element load is unable to get timely solution, when often result in charging words A series of problems, such as single abnormal, business handling is abnormal, service operation quality is seriously affected, the development of business is constrained.
Summary of the invention
To solve problems of the prior art, a kind of side of data synchronization load is provided in an embodiment of the present invention Method, apparatus and system, can automatic synchronization load more network element datas, solve the inconsistency that data between more network elements load in time Problem ensure that the quantity of operation of business.
The technical scheme of the present invention is realized as follows:
The present invention provides a kind of methods of more network element data synchronization loads, this method comprises:
It issues network element and sends data to be loaded, after counting the preloading received as a result, determining the whole successes of preloading, hair Data provisioning instruction is sent, and counts the implementing result of the data provisioning instruction received, determines the data provisioning instruction All run succeeded.
In above scheme, before the publication network element sends data to be loaded, this method further include:
To be processed data of the publication network element after searching parsing in data storage list, according to the number to be processed According to data traffic types and target network element send rule list, the business information of target network element is obtained, according to target network element file The business information is generated data to be loaded by format convention.
In above scheme, before data to be processed of the publication network element after searching parsing in data storage list, This method further include:
The publication network element obtains pending data from data center, parses function to the pending data according to data It is parsed, each field information parsed is verified according to each field verification rule of file, by each word after the completion of verification Segment information is inserted into data profile store list.
It is described to count the preloading result received in above scheme are as follows: the publication network element counts the target received Network element preloads successful number.
In above scheme, determining preloading all successes are as follows: when the publication network element counts the target network received When the successful number of member preloading is identical as target network element number, determines and preload all successes.
In above scheme, after the determining whole successes of preloading, this method further include: the publication network element starting synchronizes Controller is loaded, the communication with each target network element is established.
In above scheme, the implementing result for counting the data provisioning instruction received are as follows: the publication network element Count the number that the data provisioning instruction received runs succeeded.
In above scheme, the determination data provisioning instruction all runs succeeded are as follows: when the publication network element receives To the number that runs succeeded of the data provisioning instruction it is identical as the number of data provisioning instruction that the publication network element is sent When, determine that the data provisioning instruction all runs succeeded.
In above scheme, the method also includes:
When determining that the data provisioning instruction does not run succeeded all, the publication network element sends number to each target network element It is instructed according to rollback, and counts the implementing result of the data rewind instruction received, determine the data rewind instruction all It runs succeeded.
The present invention provides a kind of methods of more network element data synchronization loads, this method comprises:
Target network element receives data to be loaded, preloads to the data to be loaded, and send preloading result;It connects Data provisioning instruction is received, data loading operations are executed according to the data provisioning instruction, send holding for the data provisioning instruction Row result.
In above scheme, described to be preloaded as to the data to be loaded: the target network element is according to target network element File format rule parses the data to be loaded received, according to each field in the Data Filename and file parsed Information generates preloading data.
It is described that data loading operations are executed according to the data provisioning instruction are as follows: the target network primitive root in above scheme Field information each in preloaded value data file name and file is added to data according to the data provisioning instruction and formally stores list In, and the mode of operation of each data is recorded, each data is loaded according to the mode of operation of each data.
In above scheme, this method further include:
Target network element receives data rewind instruction, is operated according to the data rewind instruction execution data rewind, sends institute State the implementing result of data rewind instruction.
It is described to be operated according to the data rewind instruction execution data rewind are as follows: the target network element connects in above scheme After receiving data rewind instruction, traces to the source in data rewind and corresponding operation note is searched according to the work order number of preloading data in list Record, and data rewind operation is executed according to the operation note.
The present invention provides a kind of methods of more network element data synchronization loads, this method comprises:
It issues network element and sends data to be loaded to target network element;
The target network element preloads the data to be loaded received, and sends preloading result;
After the preloading that the publication network element statistics receives is as a result, determine the whole successes of preloading, Xiang Suoshu target network Member sends data provisioning instruction;
The target network element executes data loading operations according to the data provisioning instruction, sends the data provisioning instruction Implementing result;
The publication network element counts the implementing result of the data provisioning instruction, determines that the data provisioning instruction is all held It goes successfully.
The present invention also provides a kind of device of more network element data synchronizations load, which includes: the first sending module, the One statistical module, the first determining module, the second sending module, the second statistical module, the second determining module;Wherein,
First sending module, for sending data to be loaded;
First statistical module, for counting the preloading result received;
First determining module, for determining that preloading all after success, notifies the second sending module;
Second sending module, for sending data provisioning instruction;
Second statistical module, for counting the implementing result of the data provisioning instruction received;
Second determining module, for determining that the data provisioning instruction all runs succeeded.
In above scheme, first statistical module preloads successfully specifically for counting the target network element received Number.
In above scheme, first determining module is specifically used for determining that target network element preloads successful number and mesh When mark network element number is identical, determine to preload all successes.
In above scheme, second statistical module is executed specifically for counting the data provisioning instruction received Successful number.
In above scheme, second determining module, specifically for determining that the data provisioning instruction received executes When successfully number is identical as the data provisioning instruction number of transmission, determine that the data provisioning instruction all runs succeeded.
In above scheme, second statistical module is also used to count the data rewind instruction execution received successful Number.
In above scheme, second determining module is also used to determine the successful number of data rewind instruction execution When identical as the number that the data rewind of transmission instructs, determine that the data rewind instruction all runs succeeded.
The present invention provides a kind of devices of more network element data synchronization loads, which includes: the first receiving module, pre-add Carry module, third sending module, the second receiving module, data operation modules, the 4th sending module;Wherein,
First receiving module, for receiving data to be loaded;
The preloaded components, for being preloaded to the data to be loaded received;
The third sending module preloads result for sending;
Second receiving module, for receiving data provisioning instruction;
The data operation modules, for executing data loading operations according to the data provisioning instruction;
4th sending module, for sending the implementing result of the data provisioning instruction.
In above scheme, the preloaded components, specifically for according to target network element file format rule to receiving Data to be loaded are parsed, and are generated according to field information each in the Data Filename and file to be loaded parsed and are preloaded number According to.
In above scheme, the data operation modules, specifically for each word in the filename and file by preloading data Segment information is added to data and formally stores in list, and records the mode of operation of each data, according to the behaviour of each data Make mode to load each data.
In above scheme, second receiving module is also used to receive data rewind instruction.
In above scheme, the data operation modules are also used to be grasped according to the data rewind instruction execution data rewind Make;Wherein,
After the data operation modules receive data rewind instruction, trace to the source in list in data rewind according to preloading number According to work order number search corresponding operation note, and data rewind operation is executed according to the operation note.
The present invention also provides a kind of system of more network element data synchronization loads, which includes: publication network element, target network Member;Wherein,
The publication network element counts the preloading received and preloads all as a result, determining for sending data to be loaded After success, data provisioning instruction is sent, and count the implementing result of the data provisioning instruction received, determine the data Provisioning instruction all runs succeeded;
The target network element preloads the data to be loaded, and send pre-add for receiving data to be loaded Carry result;Data provisioning instruction is received, data loading operations are executed according to the data provisioning instruction, it is open-minded to send the data The implementing result of instruction.
The method, apparatus and system of a kind of more network element data synchronizations load provided in an embodiment of the present invention, publication network element to Target network element sends data to be loaded;The target network element preloads the data to be loaded received, and sends pre-add Carry result;After the preloading that the publication network element statistics receives is as a result, determine the whole successes of preloading, Xiang Suoshu target network element Send data provisioning instruction;The target network element executes data loading operations according to the data provisioning instruction, sends the number According to the implementing result of provisioning instruction;The publication network element counts the implementing result of the data provisioning instruction, determines the data Provisioning instruction all runs succeeded, and synchronous loading procedure is completed.In this way, can ensure hair when more network elements carry out data load It send to the synchronous load of each network element data, it is ensured that the consistency that business datum loads between more network elements.
Detailed description of the invention
Fig. 1 is a kind of flow diagram of the method for more network element data synchronization loads that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow diagram of the method for more network element data synchronization loads provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of flow diagram of the method for more network element data synchronization loads that the embodiment of the present invention three provides;
Fig. 4 is the structural schematic diagram of publication network element provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of target network element provided in an embodiment of the present invention;
Fig. 6 is a kind of system composed structure schematic diagram of more network element data synchronization loads provided in an embodiment of the present invention;
Fig. 7 is the system composed structure schematic diagram of the more network element data synchronization loads of another kind provided in an embodiment of the present invention;
When Fig. 8 is that a kind of system of more network element data synchronization loads provided in an embodiment of the present invention executes data loading operations Data interaction schematic diagram;
When Fig. 9 is that a kind of system of more network element data synchronization loads provided in an embodiment of the present invention executes data rewind operation Data interaction schematic diagram.
Specific embodiment
In an embodiment of the present invention, publication network element sends data to be loaded to target network element;The target network element docking The data to be loaded received are preloaded, and send preloading result;The publication network element counts the preloading knot received Fruit determines after preloading all successes that Xiang Suoshu target network element sends data provisioning instruction;The target network element is according to the number Data loading operations are executed according to provisioning instruction, send the implementing result of the data provisioning instruction;The publication network element counts institute The implementing result for stating data provisioning instruction determines that the data provisioning instruction all runs succeeded, and synchronous loading procedure is completed.
Technical solution of the present invention is described in further detail below by drawings and the specific embodiments.
Embodiment one
The embodiment of the present invention provides a kind of method of more network element data synchronization loads, as shown in Figure 1, this method mainly includes Following steps:
Step 101, publication network element sends data to be loaded;
In this step, publication network element needs to generate data to be loaded before sending data to be loaded;
Specifically, the publication network element parses function to data and data load function initializes, and establish data Profile store list;Wherein, the publication network element is initialized as data parsing function: the publication network element advises document analysis Then list is initialized;
The document analysis list of rules includes: file type, file format configuration and each field verification rule of file;
Further, the file type includes: target network element data, service provider (SP, Service Provider) the types such as data, business information data;
The file format configuration includes: plain text format configuration, extensible markup language (XML, Extensible Markup Language) format configuration;Wherein, the plain text format is configured that each interfield of file with the separator of standard It is separated;The XML format is configured that file content only supports the XML format of standard.
Each field verification rule of file includes: to support the verification of field length, support the verification of field compliance, support The verification of field value range;
The verification for supporting field length, such as: certain field maximum bit length is 18, if the field is in file 19, then document analysis reports an error automatically;
The support field compliance verification are as follows: field can only carry full word mother or digital information;
Support the verification of field value range, such as: certain field fills in range should be between 1 to 100, if in file 200 are extended this as, then document analysis reports an error automatically.
Specifically, the data file storage list includes: each field information in Data Filename and file;Wherein, institute State each field information in file are as follows: be directed to different types of data file, parse, will parse to the data in the file Each field information storage out is into the corresponding field in data file storage list;For example, general packet radio service Access point (APNNI) information of (GPRS, General Packet Radio Service) business, comprising: business serial number (ProcID), action type (OperType), the operator identifier (ApnType) of APN, Expiration Date (ExpireDate), life The fields such as date (ValidDate) and timestamp (Timestamp) are imitated, obtain above-mentioned each word after parsing to the APNNI information Section, by above-mentioned each field storage into the corresponding field in data storage list, then above-mentioned each field is each word in file Segment information.
The publication network element is initialized as data load function: the publication network element is to data traffic types, target network Member transmission rule list, list to be sent, transmission list has been initialized;
Specifically, the data traffic types include: the type of service of target network element;
It includes: target network element number, the configuration of target network element IP address, target network element hair that the target network element, which sends rule list, Send Cahn-Ingold-Prelog sequence rule, target network element file format rule;
The list to be sent includes: the main work order number of task to be sent, target network element number and data to be sent;
The transmission list includes: the main work order number of the task that sent, has sent the sub- work order number of task and implementing result.
After the completion of the publication network element parses the initialization of function and data load function to the data, from data center Pending data is obtained, function is parsed according to data and the pending data is parsed, according to each field verification rule of file Then each field information parsed is verified, each field information is inserted into data profile store list after the completion of verification;
It is described that pending data is parsed are as follows: the publication network element is according to different file formats to pending data It is parsed;For example, if it is text-only file, the publication network element then reads the information of text-only file line by line, according to point Every the field that symbol separates, by each field and field corresponding in the data center progress in text-only file information Match;If it is XML file, then XML file is parsed according to XML file resolution rules;
The XML file resolution rules include: XML tag information, each field information in XML file.
Further, pending data of the publication network element after searching parsing in data file storage list, according to The data traffic types and target network element of the pending data send rule list, obtain the target network of data center's publication The business information is generated data to be loaded, the business letter according to target network element file format rule by the business information of member Breath includes: the information such as IP address, file storage path, target network element transmission sequence;
The target network element format convention are as follows: file name formats, data storage method etc..
The publication network element sends data to be loaded, specifically, the publication network element transmits data to be loaded with file The mode of agreement (FTP, File Transfer Protocol) is sent to target network element;Wherein, the number of the target network element For N.
Step 102, publication network element counts the preloading result received;
Specifically, the target network element that the publication network element statistics receives preloads successful number.
Step 103, publication network element determines that data to be loaded all preload successfully according to the preloading result;
In this step, when the target network element that the publication network element statistics receives preloads successful number and target network element Number it is identical when, i.e., when being all N, the publication network element determines that data to be loaded are whole and preloads successfully;
When the number that the target network element that the publication network element receives preloads successful number and target network element is not identical When N (be not), the publication network element also determines that data to be loaded do not preload all successfully, then carries out manual intervention.Its In,
The manual intervention are as follows: if the publication network element judges that some target network element preloads failure, manual analysis Failure cause is preloaded, after solving the problems, such as, from manually sending data to the target network element again.
Step 104, publication network element sends data provisioning instruction;
In this step, when the publication network element determines that data to be loaded all preload successfully, the publication network element is opened Dynamic synchronous load controller, establishes the communication with each target network element, rear send data provisioning instruction simultaneously to each target network element;
Specifically, the synchronous load controller utilizes socket (Socket) communication protocol, make the publication network element and Each target network element is communicated in a manner of short connection, and the publication network element is sent out using instruction transmission timer to each target network element Data provisioning instruction is sent, to ensure the data provisioning instruction while be sent to the target network element, wherein the Socke is logical Letter agreement follows XML protocol, and the data provisioning instruction is defined as follows:
The data provisioning instruction mainly includes following field:
<ORIG>DBC</ORIG>;// publication network element
<HOME>CRM</HOME>;// target network element
<serial_no>123456</serial_no>;// work order number, correspondence have sent the sub- work order number of task
<opr_type>1</opr_type>;// action type indicates open-minded
Step 105, the implementing result for the data provisioning instruction that publication network element statistics receives;
Specifically, the number that the data provisioning instruction that the publication network element statistics receives runs succeeded.
Step 106, publication network element determines that the data provisioning instruction all runs succeeded;
In this step, the number and the hair that the data provisioning instruction that network element receives runs succeeded are issued when described When the number for the data provisioning instruction that cloth network element is sent is identical (when as N), determine the data provisioning instruction all execute at Function, synchronous loading procedure are completed.
Further, when determining that the data provisioning instruction does not run succeeded all, i.e., the described publication network element receives The number that runs succeeded of the data provisioning instruction and the number of data provisioning instruction that sends of the publication network element it is not identical When N (be not), the publication network element also sends data rewind instruction, and the data that statistics receives to target network element The implementing result of rollback instruction, when the successful number of data rewind instruction execution that receives of publication network element with it is described When the number for the data rewind instruction that publication network element is sent is identical, determines that the data rewind instruction all runs succeeded, synchronize Loading procedure is completed.
In the present embodiment, it is open-minded that the publication network element sends data to target network element by way of instructing transmission timer Instruction, it is ensured that data provisioning instruction can be sent to each target network element simultaneously, and the publication network element also passes through transmission data rewind and refers to Order ensures that each target network element synchronizes load to the data received.
Embodiment two
Corresponding to embodiment one, the present invention also provides a kind of methods of more network element data synchronization loads, as shown in Fig. 2, should Method is main including the following steps:
Step 201, target network element receives data to be loaded;
In this step, the target network element traces to the source list progress initially to data rewind before receiving data to be loaded Change;Data rewind list of tracing to the source includes: the sub- work order number of task and operation note;
The sub- work order number of task is used for the work order number of storing preloading data;The operation note is for storing target network Operation note of the member to preloading data corresponding with work order number, and using the operation note as the foundation of data rewind, from And data rewind operation is carried out according to data of the operation note to preloading.
Step 202, target network element preloads the data to be loaded;
Specifically, the target network element parses the data to be loaded according to target network element file format rule, Preloading data is generated according to field information each in the Data Filename and file parsed;And by the text of the preloading data Each field information is added in data temporary storage list in part name and file;The target network element format convention are as follows: filename Format, data storage method etc..
Step 203, target network element, which is sent, preloads result;
In this step, the target network element by Socket communication protocol and the publication network element in the way of short connection into Row communication, the target network element send to the publication network element and preload result;The preloading result is the target network element The state of preloading;The specific implementation for sending preloading result is as follows:
<ORIG>DBC</ORIG>;// publication network element
<HOME>CRM</HOME>;// target network element
<serial_no>123456</serial_no>;// work order number, correspondence have sent the sub- work order number of task
<resp>0</resp>;// operating result 0 identifies successfully, other indicate failure
Step 204, target network element receives data provisioning instruction;
In this step, when the state that all target network elements preload is all to load successfully, the target network element is received Issue the data provisioning instruction that network element is sent;Wherein, the publication network element is open-minded with the Socket communication protocol transmission data Instruction;
Step 205, target network element executes data loading operations according to the data provisioning instruction;
In this step, after each target network element receives the data provisioning instruction, according to serial ports sequence number (serial_no) Corresponding preloading data is searched in data temporary storage list, according to the data provisioning instruction by the text of preloading data Each field information is added to data and formally stores in list in part name and file, and records the mode of operation of each data, presses Each data is loaded according to the mode of operation of each data;When executing data loading operations, target network element will be grasped Storage of noting down is traced to the source in list to data rewind;
The mode of operation are as follows: insertion, update, deletion to the preloading data;
Specifically, the implementation of the insertion data is as follows:
Work order number: 123456;
Show: bdctable;
Operation data: insert;
It is inserted into field name: A, B, C, D;
It is inserted into field value: a, b, c, d;
Information above represents the operation executed are as follows:
Insert into bdctable(A,B,C,D)values(a,b,c,d);
Specifically, the execution sentence of target network element is as follows by taking the data for being inserted into gprs service APNNI information as an example:
Insert into Table A (ProcID, OperType, ApnType, ExpireDate, ValidDate, Timestamp) values(...);// insertion operation is executed to APNNI data
After being inserted into data, target network element will be for the number of the operation field information of the data and each field record Data rewind is stored into according to operation informations such as values to trace to the source in list, and executes movement insertion (insert), by values(...) In each field information be inserted correspondingly into the respective field of Table A.
The implementation of the more new data is as follows:
Work order number: 123456;
Show: bdctable;
Operation data: update;
Update condition field name: A, B, C, D;
Update condition field value: a, b, c, d;
Update field name: K;
Update field value: k;
Information above represents the operation executed are as follows:
Update bdctable set K=k where A=a and B=b and C=c and D=d;
The implementation for deleting data is as follows:
Work order number: 123456;
Show: bdctable;
Operation data: delete;
Delete condition field title: A, B, C, D;
Delete condition field value: a, b, c, d;
Information above represents the operation executed are as follows:
Delete from bdctable where A=a and B=b and C=c and D=d;
Further, when the data provisioning instruction does not run succeeded all, the target network element also receives publication net The data rewind instruction that member is sent;Wherein, the publication network element sends the data rewind instruction with Socket communication protocol;
Further, it after each target network element receives data rewind instruction, traces to the source according to serial_no in data rewind Corresponding operation note is searched according to the work order number of preloading data in list, and data rewind is executed according to the operation note Operation;
The data rewind operation are as follows: contrary operation is executed to data;
The data rewind operation includes: to carry out insertion rollback to data, update rollback, deletion rollback;
Specifically, the operating process implementation of the insertion rollback is as follows:
Work order number: 123456;
Operation data: delete;
It is inserted into field name: A, B, C, D;
It is inserted into field value: a, b, c, d;
The cancel statement being spliced into are as follows:
Delete from bdctable where A=a and B=b and C=c and D=d;
For example, when carrying out insertion rollback to data, target network element is given birth to automatically if performing insertion operation (insert) At the reverse operating (delete) of insert.
The operating process specific implementation for being updated rollback to data is as follows:
Work order number: 123456;
Show: bdctable;
Operation data: insert;
Delete condition field title: A, B, C, D;
Delete condition field value: a, b, c, d;
Information above represents the operation executed are as follows:
Insert into bdctable(A,B,C,D)values(a,b,c,d);
The operating process specific implementation for delete rollback to data is as follows:
Work order number: 123456;
Show: bdctable;
Operation data: update;
Update condition field name: A, B, C, D;
Update condition field value: a, b, c, d;
Update field name: K;
Update field name: k1;
Update field value: k2;
Information above represents the operation executed are as follows:
Update bdctable set K=k1where A=a and B=b and C=c and D=d。
Step 206, target network element sends the implementing result to the data provisioning instruction;
In this step, when the received instruction of target network element is data provisioning instruction, the target network element will be to the number The publication network element is sent to Socket communication protocol according to the implementing result of provisioning instruction;
When the received instruction of target network element is data rewind instruction, the target network element will also refer to the data rewind The implementing result of order is sent to the publication network element with Socket communication protocol.
In the present embodiment, the target network element preloads the data to be loaded received, is opened by executing data Logical instruction realizes the synchronous load between more network element datas;And it, can also be according to number when the synchronous load failure of target network element According to the contrary operation of rollback instruction execution data, the consistency of each target network element data load is ensured.
Embodiment three
Corresponding to embodiment one, two, the present invention also provides a kind of methods of more network element data synchronization loads, such as Fig. 3 institute Show, this method is main including the following steps:
Step 301, publication network element sends data to be loaded to target network element;
In this step, the publication network element generates data to be loaded before sending the data to be loaded;
Specifically, the publication network element parses function to data and data load function initializes, and establish data Profile store list;Wherein, the publication network element is initialized as data parsing function: the publication network element advises document analysis Then list is initialized;
The document analysis list of rules includes: file type, file format configuration and each field verification rule of file;Institute State the information that data file storage list includes: each field in Data Filename and file;
Further, the file type includes: the types such as target network element data, SP class data, business information data;
The file format configuration includes: plain text format configuration, XML format configuration;Wherein, the plain text format is matched Be set to: each interfield of file is separated with the separator of standard;The XML format is configured that file content only supports standard XML format.
Each field verification rule of file includes: to support the verification of field length, support the verification of field compliance, support The verification of field value range;
The verification for supporting field length, such as: certain field maximum bit length is 18, if the field is in file 19, then document analysis reports an error automatically;
The support field compliance verification are as follows: field can only carry full word mother or digital information;
Support the verification of field value range, such as: certain field fills in range should be between 1 to 100, if in file 200 are extended this as, then document analysis reports an error automatically.
Specifically, the data file storage list includes: each field information in Data Filename and file;Wherein, institute State each field information in file are as follows: be directed to different types of data file, parse, will parse to the data in the file Each field information storage to data file storage list in corresponding field in;For example, the APNNI information of gprs service, packet The fields such as ProcID, OperType, ApnType, ExpireDate, ValidDate and Timestamp are included, the APNNI is believed Above-mentioned each field is obtained after breath parsing, by the storage of above-mentioned field into the corresponding field in data storage list, then above-mentioned each Field is each field information in file.
The publication network element is initialized as data load function: the publication network element is to data traffic types, target network Member transmission rule list, list to be sent, transmission list has been initialized;Wherein,
The data traffic types include: the type of service of target network element;
It includes: target network element number, the configuration of target network element IP address, target network element hair that the target network element, which sends rule list, Send Cahn-Ingold-Prelog sequence rule, target network element file format rule;
The list to be sent includes: the main work order number of task to be sent, target network element number and data to be sent;
The transmission list includes: the main work order number of the task that sent, has sent the sub- work order number of task and implementing result.
After the completion of the publication network element parses the initialization of function and data load function to the data, the publication net Member obtains pending data from data center, parses function according to data and parses to the pending data, according to text Each field verification rule of part verifies each field information parsed, by each field information insertion data text after the completion of verification Part stores in list;
It is described that pending data is parsed are as follows: the publication network element is according to different file formats to pending data It is parsed;For example, if it is text-only file, the publication network element then reads the information of text-only file line by line, according to point Every the field that symbol separates, by each field and field corresponding in the data center progress in text-only file information Match;If it is XML file, then XML file is parsed according to XML file resolution rules;
The XML file resolution rules include: XML tag information, each field information in XML file.
The publication network element searches data to be processed from data file storage list, according to the pending data The transmission rule list of data traffic types and target network element obtains the business information of the target network element of data center's publication, The business information is generated into data to be loaded according to target network element file format rule;Wherein,
The business information includes: IP address, file storage path, target network element transmission sequence;
The target network element format convention are as follows: filename, data storage method etc..
The publication network element sends data to be loaded;Specifically, the publication network element sends out the data in a manner of FTP It send to target network element;Wherein, the number of the target network element is N.
Step 302, target network element preloads the data to be loaded received;
Specifically, the target network element receives the data to be loaded that publication network element is sent, according to target network element file format Rule parses the data to be loaded, generates pre-add according to field information each in the Data Filename and file parsed Carry data;And each field information in the preloaded value data file name and file is stored in data temporary storage list.
Step 303, target network element, which is sent, preloads result;
In this step, the target network element by Socket communication protocol and the publication network element in the way of short connection into Row communication, sends to the publication network element and preloads result;The result that preloads is the state that the target network element preloads; The specific implementation for sending preloading result is as follows:
<ORIG>DBC</ORIG>;// publication network element
<HOME>CRM</HOME>;// target network element
<serial_no>123456</serial_no>;// work order number, correspondence have sent the sub- work order number of task
<resp>0</resp>;// operating result 0 identifies successfully, other indicate failure
Step 304, publication network element counts the preloading result received;
Specifically, the target network element that the publication network element statistics receives preloads successful number.
Step 305, publication network element judges whether data to be loaded all preload successfully according to result is preloaded, if It is to then follow the steps 306;If it is not, then carrying out manual intervention;
In this step, when the target network element that the publication network element receives preloads of successful number and target network element When number is identical (when as N), the publication network element determines that data to be loaded all preload successfully, executes step 306;
When the number that the target network element that the publication network element receives preloads successful number and target network element is not identical When N (be not), the publication network element determines that data to be loaded do not preload all successfully, then carries out manual intervention.Wherein,
The manual intervention are as follows: if the publication network element judges that some target network element preloads failure, manual analysis Failure cause is preloaded, after solving the problems, such as, from manually sending data to the target network element again.
Step 306, publication network element sends data provisioning instruction to target network element;
In this step, when determining that data to be loaded are all preloaded successfully by step 305, the publication network element starting is same Step load controller, establish with the communication of each target network element, rear send data provisioning instruction simultaneously to each target network element;
Specifically, the synchronous load controller sends the data to each target network element with Socket communication protocol simultaneously Provisioning instruction.
Step 307, target network element executes data loading operations according to data provisioning instruction;
In this step, after each target network element receives the data provisioning instruction, temporarily deposited according to serial_no in data Corresponding preloading data is searched in storage list, it will be in the filename and file of preloading data according to the data provisioning instruction Each field information is added to data and formally stores in list, and records the mode of operation of each data, according to each data Mode of operation each data is loaded;When executing data loading operations, target network element arrives operation note storage Data rewind is traced to the source in list;The mode of operation are as follows: insertion, update, deletion to the preloading data;
Step 308, publication network element judges that the data provisioning instruction is according to the implementing result of the data provisioning instruction No whole runs succeeded, if it is, synchronous loading procedure is completed;If not, thening follow the steps 309;
In this step, the number and the hair that the data provisioning instruction that network element receives runs succeeded are issued when described When the number for the data provisioning instruction that cloth network element is sent is identical (when as N), the publication network element determines that the data open finger It enables all to run succeeded, synchronous loading procedure is completed;
When the number that the data provisioning instruction that the publication network element receives runs succeeded is sent out with the publication network element When the number for the data provisioning instruction sent is not identical (when not being N), the publication network element determines that the data provisioning instruction is It does not run succeeded all, executes step 309.
Step 309, publication network element sends data rewind instruction to target network element;
Specifically, by step 308 determine that the data provisioning instruction does not run succeeded all when, the publication network element with Socket communication protocol sends the data rewind instruction to each target network element.
Step 310, target network element is operated according to data rewind instruction execution data rewind;
In this step, after the target network element receives the data rewind instruction that publication network element is sent, according to serial_ No traces to the source in data rewind and searches corresponding operation note according to the work order number of preloading data in list, and to operation note Record is analyzed, and executes data rewind operation according to the operation note;Wherein,
The operation note is analyzed, executes data rewind operation are as follows: the target network element refers to according to data rewind The original work order number of the rollback mark and rollback that carry in order finds corresponding data loading operations in operation note, according to The sequence of data load executes data rewind operation;
The data rewind operation are as follows: contrary operation is executed to data;
The data rewind operation includes: to carry out insertion rollback to data, update rollback, deletion rollback;
The operating process specific implementation for carrying out insertion rollback to data is as follows:
Work order number: 123456;
Operation data: delete;
It is inserted into field name: A, B, C, D;
It is inserted into field value: a, b, c, d;
The cancel statement being spliced into is;
Delete from bdctable where A=a and B=b and C=c and D=d;
For example, when carrying out insertion rollback to data, target network element automatically generates insert's if performing insert Reverse operating (delete).
The operating process specific implementation for being updated rollback to data is as follows:
Work order number: 123456;
Show: bdctable;
Operation data: insert;
Delete condition field title: A, B, C, D;
Delete condition field value: a, b, c, d;
Information above represents the operation executed are as follows:
Insert into bdctable(A,B,C,D)values(a,b,c,d);
The operating process specific implementation for delete rollback to data is as follows:
Work order number: 123456;
Show: bdctable;
Operation data: update;
Update condition field name: A, B, C, D;
Update condition field value: a, b, c, d;
Update field name: K;
Update field name: k1;
Update field value: k2;
Information above represents the operation executed are as follows:
Update bdctable set K=k1where A=a and B=b and C=c and D=d;
After the target network element completes data rewind operation, the implementing result that the data rewind instructs is sent to publication Network element.
Step 311, publication network element judges that the data rewind instruction is according to the implementing result that the data rewind instructs No whole runs succeeded, if it is, synchronous loading procedure is completed;If it is not, then carrying out manual intervention;
In this step, the successful number of data rewind instruction execution and the hair that network element receives are issued when described When the number for the data rewind instruction that cloth network element is sent is identical (when as N), the publication network element determines that the data rewind refers to It enables all to run succeeded, synchronous loading procedure is completed;
When the successful number of data rewind instruction execution that the publication network element receives is sent out with the publication network element When the number for the data rewind instruction sent is not identical (when not being N), then manual intervention is carried out, so that each target network element is completed together Step load.
In the present embodiment, technology is opened with more network element datas by preloading technology in real time and is combined, more network elements are realized The synchronous load of data;When occurring data load difference between each target network element, pass through data rewind technology, it is ensured that more NE No.s According to the consistency of load, the quality of data publication is further improved.
Example IV
In order to realize the above method, the present invention provides a kind of devices of more network element data synchronization loads, which is characterized in that The device includes: the first sending module 41, the first statistical module 42, the first determining module 43, the second sending module 44, second system Count module 45, the second determining module 46;Wherein,
First sending module 41, in the transmitter of publication network element, for sending data to be loaded;Specifically, First sending module 41 sends the data to be loaded to target network element in a manner of FTP;
First statistical module 42, in the memory of publication network element, for counting the preloading result received; Here, the preloading result received that counts is that the target network element that statistics receives preloads successful number;
First determining module 43 determines after preloading all successes in the processor of publication network element, notifies the Two sending modules 44;
Specifically, first determining module 43 determines that target network element preloads successful number and target network element number phase Meanwhile determining to preload all successes, and notify the second sending module 44;
Second sending module 44 is opened in the synchronous load controller of the publication network element for sending data Logical instruction;
Specifically, after first determining module 43 determines the preloading all successes, second sending module 44 send data provisioning instruction to each target network element with Socket communication protocol;
Second statistical module 45 is opened in the memory of publication network element for counting the data received The logical successful number of instruction execution;
Second determining module 46, in the processor of publication network element, for determining that the data received are opened When the logical successful number of instruction execution is identical as the data provisioning instruction number of transmission, determine that the data provisioning instruction is all held It goes successfully;
Second determining module 46, be also used to determine number that the data provisioning instruction that receives runs succeeded with When the number for the data provisioning instruction that the publication network element is sent is not identical, determine that the data provisioning instruction is not executed into all Function.
When second determining module 46 determines that the data provisioning instruction does not run succeeded all, described second is sent Module 44 is also used to send data rewind instruction to each target network element;
Refer to specifically, second sending module 44 sends data rewind to each target network element with Socket communication protocol It enables;
When second sending module 44, which sends data rewind to each target network element, to be instructed, second statistical module 45 It is also used to count the successful number of data rewind instruction execution received, second determining module 46 is also used to determine When the successful number of data rewind instruction execution is identical as the number that the data rewind of transmission instructs, the number is determined It all runs succeeded according to rollback instruction.
Embodiment five
Corresponding to example IV, the present invention also provides a kind of devices of more network element data synchronization loads, as shown in figure 5, The device includes: the first receiving module 51, preloaded components 52, third sending module 53, the second receiving module 54, data manipulation Module 55, the 4th sending module 56;Wherein,
First receiving module 51, in the receiver of target network element, for receiving the to be added of publication network element transmission Carry data;
The preloaded components 52, in the processor of target network element, for being carried out to the data to be loaded received It preloads;Specifically, the preloaded components 52 include parsing module 521 and generation module 522, the parsing module 521 is used In parsing according to target network element file format rule to the data to be loaded received, the generation module 522 is used for root Preloading data is generated according to field information each in the Data Filename and file to be loaded parsed;
The third sending module 53, in the transmitter of target network element, for the pre-add to the data to be loaded It carries result and is sent to the publication network element;
Second receiving module 54, in the receiver of target network element, specifically for receiving publication network element transmission Data provisioning instruction;
The data operation modules 55, in the processor of target network element, for being opened according to the data received Logical instruction execution data loading operations;Specifically, when the data provisioning instruction all runs succeeded, the data manipulation mould The Data Filename of preloading data and the sub- work order number of task are added to data and formally stored in list by block 55, and are recorded each The operation note of data loads each data according to the mode of operation of each data;Executing data load When operation, the data operation modules 55 are also used to trace to the source operation note storage to data rewind in list;
When the data provisioning instruction does not run succeeded all, second receiving module 54 is also used to receive publication net The data rewind instruction that member is sent;
Here, the data operation modules 55 are also used to be operated according to the data rewind instruction execution data rewind;Tool Body, after the data operation modules 55 receive data rewind instruction, trace to the source in list according to serial_no in data rewind Corresponding operation note is searched according to the work order number of preloading data, and data rewind operation is executed according to the operation note;
Wherein, the data rewind operation are as follows: contrary operation is executed to data;The data rewind operation includes: logarithm According to carry out insertion rollback, update rollback, delete rollback.
4th sending module 56, in the transmitter of target network element, for sending the data provisioning instruction Implementing result;Specifically, when it is data provisioning instruction that second receiving module 54 is received, the 4th sending module 56 The implementing result of the data provisioning instruction is sent to publication network element with Socket communication protocol;
Further, when the received instruction for data rewind of second receiving module 54, the 4th sending module 56 are also used to send the implementing result of the data rewind instruction;Specifically, the 4th sending module 56 is communicated with Socket The implementing result that the data rewind instructs is sent to publication network element by agreement.
Embodiment six
Corresponding to example IV, five, the present invention provides a kind of systems of more network element data synchronization loads, as shown in fig. 6, The system includes: to send network element 61, target network element 62;Wherein,
The transmission network element 61, transmission network element described in specially Fig. 4;The publication network element includes: the first transmission mould Block 41, the first statistical module 42, the first determining module 43, the second sending module 44, the second statistical module 45, the second determining module 46;Wherein,
First sending module 41, for sending data to be loaded;
First statistical module 42, for counting the preloading result received;
First determining module 43, for determining that preloading all after success, notifies the second sending module 44;
Second sending module 44, for sending data provisioning instruction;
Second statistical module 45, for counting the implementing result of the data provisioning instruction received;
Second determining module 46, for determining that the data provisioning instruction all runs succeeded.
The target network element 62, target network element described in specially Fig. 5;The target network element includes: the first reception mould Block 51, preloaded components 52, third sending module 53, the second receiving module 54, data operation modules 55, the 4th sending module 56;Wherein,
First receiving module 51, for receiving data to be loaded;
The preloaded components 52, for being preloaded to the data to be loaded received;
The third sending module 53 preloads result for sending;
Second receiving module 54, for receiving data provisioning instruction;
The data operation modules 55, for executing data loading operations according to the data provisioning instruction;
4th sending module 56, for sending the implementing result of the data provisioning instruction.
Embodiment seven
In a kind of system for more network element data synchronization loads that the above embodiment of the present invention provides, as shown in fig. 7, described Publication network element can be provincial office data center 71, and the target network element can be provincial CRM system (Customer Relationship Management, CRM) system 72, provincial business operation support system (Business& Operation Support System, BOSS) system 73, provincial other systems 74.
Specifically, the data when system that Fig. 8 shows a kind of more network element data synchronizations load executes data loading operations Interactive process mainly includes following steps:
Step 801, provincial office data center 71 is to provincial crm system 72, provincial BOSS system 73 and provincial other systems 74 send data to be loaded;
Step 802, provincial crm system 72, provincial BOSS system 73 and provincial other systems 74 are to be loaded to what is received Data are preloaded;
Step 803, provincial crm system 72, provincial BOSS system 73 and provincial other systems 74 are to provincial office data center 71 send preloading result;
Step 804, provincial office data center 71 counts the preloading received as a result, determining data whole pre-add to be loaded After carrying successfully, data provisioning instruction is sent to provincial crm system 72, provincial BOSS system 73 and provincial other systems 74;
Step 805, provincial crm system 72, provincial BOSS system 73 and provincial other systems 74 are open-minded according to the data Instruction execution data loading operations;
Step 806, provincial crm system 72, provincial BOSS system 73 and provincial other systems 74 are to provincial office data center 71 send the implementing result of the data provisioning instruction;
Step 807, provincial office data center 71 counts the implementing result of the data provisioning instruction, determines the institute received State number that data provisioning instruction runs succeeded it is identical as the data provisioning instruction number of transmission when, determine that the data open finger It enables and all running succeeded, synchronous loading procedure is completed.
Specifically, the system that Fig. 9 shows a kind of more network element data synchronization loads executes data when data rewind operates Interactive process mainly includes following steps:
Step 901, provincial office data center 71 is to provincial crm system 72, provincial BOSS system 73 and provincial other systems 74 send data to be loaded;
Step 902, provincial crm system 72, provincial BOSS system 73 and provincial other systems 74 are to be loaded to what is received Data are preloaded;
Step 903, provincial crm system 72, provincial BOSS system 73 and provincial other systems 74 are to provincial office data center 71 send preloading result;
Step 904, provincial office data center 71 counts the preloading received as a result, determining data whole pre-add to be loaded After carrying successfully, data provisioning instruction is sent to the provincial crm system 72 of institute, provincial BOSS system 73 and provincial other systems 74;
Step 905, provincial crm system 72, provincial BOSS system 73 and provincial other systems 74 are open-minded according to the data Instruction execution data loading operations,
Step 906, provincial crm system 72, provincial BOSS system 73 and provincial other systems 74 are to provincial office data center 71 send the implementing result of the data provisioning instruction;
Step 907, provincial office data center 71 counts the implementing result of the data provisioning instruction, determines the institute received State number and transmission that data provisioning instruction runs succeeded data provisioning instruction number it is not identical when, determine that the data are open-minded Instruction does not run succeeded all, sends data rewind instruction;
Step 908, provincial crm system 72, provincial BOSS system 73 and provincial other systems 74 are according to the data rewind The operation of instruction execution data rewind;
Step 909, provincial crm system 72, provincial BOSS system 73 and provincial other systems 74 are to provincial office data center 71 send the implementing result of the data rewind instruction;
Step 910, provincial office data center 71 counts the implementing result of the data provisioning instruction, determines the institute received State the successful number of data rewind instruction execution it is identical as the data rewind number of instructions of transmission when, determine that the data rewind refers to It enables and all running succeeded, synchronous loading procedure is completed.
If in the embodiment of the present invention one, embodiment two a kind of method of any more network element data synchronizations loads with The form of software function module is realized and when sold or used as an independent product, also can store computer-readable at one It takes in storage medium.Based on this understanding, it should be understood by those skilled in the art that, embodiments herein can provide as side Method, system or computer program product.Therefore, complete hardware embodiment, complete software embodiment or knot can be used in the application The form of embodiment in terms of conjunction software and hardware.Moreover, it wherein includes computer that the application, which can be used in one or more, The form for the computer program product implemented in the computer-usable storage medium of usable program code, the storage medium include But it is not limited to USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), magnetic disk storage, CD-ROM, optics Memory etc..
The application be according to the method for the embodiment of the present application, the flow chart of equipment (system) and computer program product and/ Or block diagram describes.It should be understood that each process that can be realized by computer program instructions in flowchart and/or the block diagram and/ Or the combination of the process and/or box in box and flowchart and/or the block diagram.It can provide these computer program instructions To general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices processor to generate one A machine so that by the instruction that the processor of computer or other programmable data processing devices executes generate for realizing The device for the function of being specified in one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Correspondingly, the embodiment of the present invention also provides a kind of computer storage medium, wherein it is stored with computer program, the meter Calculation machine program is used to execute a kind of side of the synchronous load of any more network element datas of the embodiment of the present invention one, embodiment two Method.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention, it is all Made any modifications, equivalent replacements, and improvements etc. within the spirit and principles in the present invention, should be included in protection of the invention Within the scope of.

Claims (22)

1. a kind of method of more network element data synchronization loads, which is characterized in that this method comprises:
It issues network element and sends data to be loaded, after counting the preloading received as a result, determining the whole successes of preloading, the hair The synchronous load controller of cloth network element starting, establishes the communication with each target network element, sends data provisioning instruction, and count and receive The data provisioning instruction implementing result, determine that the data provisioning instruction all runs succeeded, when determining the data When provisioning instruction does not run succeeded all, the publication network element sends data rewind instruction to each target network element, and counts reception The implementing result for the data rewind instruction arrived determines that data rewind instruction all runs succeeded;
Before the publication network element sends data to be loaded, this method further include:
To be processed data of the publication network element after searching parsing in data storage list, according to the pending data Data traffic types and target network element send rule list, the business information of target network element are obtained, according to target network element file format The business information is generated data to be loaded by rule.
2. the method according to claim 1, wherein the publication network element searches parsing from data storage list Before data to be processed afterwards, this method further include:
The publication network element obtains pending data from data center, parses function according to data and carries out to the pending data Parsing verifies each field information parsed according to each field verification rule of file, believes each field after the completion of verification In breath insertion data profile store list.
3. the method according to claim 1, wherein described count the preloading result received are as follows: the hair The target network element that cloth network element statistics receives preloads successful number.
4. according to the method described in claim 3, it is characterized in that, determining preloading all successes are as follows: when the publication The target network element that receives of network element statistics preload successful number it is identical with target network element number when, determine preloading all at Function.
5. the method according to claim 1, wherein described count holding for the data provisioning instruction received Row result are as follows: the number that the data provisioning instruction that the publication network element statistics receives runs succeeded.
6. according to the method described in claim 5, it is characterized in that, the determination data provisioning instruction all runs succeeded Are as follows: when the number of number and the publication network element transmission that the data provisioning instruction that the publication network element receives runs succeeded When identical according to the number of provisioning instruction, determine that the data provisioning instruction all runs succeeded.
7. a kind of method of more network element data synchronization loads, which is characterized in that this method comprises:
Target network element receives data to be loaded, preloads to the data to be loaded, and send preloading result;It is issuing The synchronous load controller of network element starting, after establishing the communication with each target network element, receives data provisioning instruction, according to the data Provisioning instruction executes data loading operations, sends the implementing result of the data provisioning instruction;
Described to be preloaded as to the data to be loaded: the target network element is docked according to target network element file format rule The data to be loaded received are parsed, and are generated according to field information each in the Data Filename and file parsed and are preloaded number According to.
8. the method according to the description of claim 7 is characterized in that described execute data load according to the data provisioning instruction Operation are as follows: the target network element adds field information each in preloaded value data file name and file according to the data provisioning instruction It is added to data formally to store in list, and records the mode of operation of each data, according to the mode of operation pair of each data Each data is loaded.
9. according to the method described in claim 8, it is characterized in that, this method further include:
Target network element receives data rewind instruction, is operated according to the data rewind instruction execution data rewind, sends the number The implementing result instructed according to rollback.
10. according to the method described in claim 9, it is characterized in that, described return according to the data rewind instruction execution data Rolling operation are as follows: after the target network element receives data rewind instruction, trace to the source in list in data rewind according to preloading data Work order number search corresponding operation note, and data rewind operation is executed according to the operation note.
11. a kind of method of more network element data synchronization loads, which is characterized in that this method comprises:
It issues network element and sends data to be loaded to target network element;
The target network element preloads the data to be loaded received, and sends preloading result;
After the preloading that the publication network element statistics receives is as a result, determine the whole successes of preloading, starts synchronous load and control Device, establishes the communication with each target network element, and Xiang Suoshu target network element sends data provisioning instruction;
The target network element starts synchronous load controller, after establishing the communication with each target network element, root in the publication network element Data loading operations are executed according to the data provisioning instruction, send the implementing result of the data provisioning instruction;
The publication network element counts the implementing result of the data provisioning instruction, determine the data provisioning instruction all execute at Function;
Before the publication network element sends data to be loaded, this method further include:
To be processed data of the publication network element after searching parsing in data storage list, according to the pending data Data traffic types and target network element send rule list, the business information of target network element are obtained, according to target network element file format The business information is generated data to be loaded by rule;
The target network element is preloaded as the data to be loaded received: the target network element is according to target network element file Format convention parses the data to be loaded received, according to each field information in the Data Filename and file parsed Generate preloading data.
12. a kind of device of more network element data synchronization loads, which is characterized in that the device includes: the first sending module, the first system Count module, the first determining module, the second sending module, the second statistical module, the second determining module;Wherein,
First sending module, for sending data to be loaded;The data to be loaded are as follows:
Data to be processed after the parsing searched in data storage list, according to the classes of data traffic of the pending data Type and target network element send rule list, obtain the business information of target network element, will be described according to target network element file format rule The data to be loaded that business information generates;
First statistical module, for counting the preloading result received;
First determining module, after being used to determine the whole successes of preloading, starting is synchronous to load controller, foundation and each target The communication of network element notifies the second sending module;
Second sending module, for sending data provisioning instruction;
Second statistical module is also used to statistics and connects for counting the implementing result of the data provisioning instruction received The successful number of data rewind instruction execution received;
Second determining module, for determining that the data provisioning instruction all runs succeeded.
13. device according to claim 12, which is characterized in that first statistical module is specifically used for statistics and receives The target network element arrived preloads successful number.
14. device according to claim 13, which is characterized in that first determining module is specifically used for determining target When the successful number of network element preloading is identical as target network element number, determine to preload all successes.
15. device according to claim 12, which is characterized in that second statistical module is specifically used for statistics and receives To the number that runs succeeded of the data provisioning instruction.
16. device according to claim 15, which is characterized in that second determining module is specifically used for determining reception To the number that runs succeeded of the data provisioning instruction it is identical as the data provisioning instruction number of transmission when, determine the data Provisioning instruction all runs succeeded.
17. device according to claim 16, which is characterized in that second determining module is also used to determine the number When identical as the number that the data rewind of transmission instructs according to the successful number of rollback instruction execution, the data rewind is determined Instruction all runs succeeded.
18. a kind of device of more network element data synchronization loads, which is characterized in that the device includes: the first receiving module, preloads Module, third sending module, the second receiving module, data operation modules, the 4th sending module;Wherein,
First receiving module, for receiving data to be loaded;
The preloaded components, for being preloaded to the data to be loaded received;
The third sending module preloads result for sending;
Second receiving module, for establishing the communication with each target network element in the synchronous load controller of publication network element starting Data provisioning instruction is received afterwards;
The data operation modules, for executing data loading operations according to the data provisioning instruction;
4th sending module, for sending the implementing result of the data provisioning instruction
The preloaded components, specifically for being solved according to target network element file format rule to the data to be loaded received Analysis generates preloading data according to field information each in the Data Filename and file to be loaded parsed.
19. device according to claim 18, which is characterized in that the data operation modules are specifically used for preload Each field information is added to data and formally stores in list in the filename and file of data, and records the operation of each data Mode loads each data according to the mode of operation of each data.
20. device according to claim 18, which is characterized in that second receiving module is also used to receive data and returns Rolling instruction.
21. device according to claim 19, which is characterized in that the data operation modules are also used to according to the number It is operated according to rollback instruction execution data rewind;Wherein,
After the data operation modules receive data rewind instruction, trace to the source in list in data rewind according to preloading data Work order number searches corresponding operation note, and executes data rewind operation according to the operation note.
22. a kind of system of more network element data synchronization loads, which is characterized in that the system includes: publication network element, target network element; Wherein,
The publication network element counts the preloading received as a result, determining and preloads all successes for sending data to be loaded Afterwards, start and synchronize load controller, establish what the communication with each target network element, transmission data provisioning instruction, and statistics received The implementing result of the data provisioning instruction determines that the data provisioning instruction all runs succeeded;
The target network element preloads the data to be loaded for receiving data to be loaded, and sends preloading knot Fruit;Start synchronous load controller in the publication network element, after establishing the communication with each target network element, receives data and open finger It enables, data loading operations is executed according to the data provisioning instruction, send the implementing result of the data provisioning instruction;
Before the publication network element sends data to be loaded, it is also used to store from data to be processed after searching parsing in list Data send rule list according to the data traffic types of the pending data and target network element, obtain the business of target network element The business information is generated data to be loaded according to target network element file format rule by information;
The target network element is for being preloaded as the data to be loaded received: the target network element is according to target network element File format rule parses the data to be loaded received, according to each field in the Data Filename and file parsed Information generates preloading data.
CN201310725996.8A 2013-12-25 2013-12-25 A kind of method, apparatus and system of more network element data synchronization loads Active CN104753659B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310725996.8A CN104753659B (en) 2013-12-25 2013-12-25 A kind of method, apparatus and system of more network element data synchronization loads

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310725996.8A CN104753659B (en) 2013-12-25 2013-12-25 A kind of method, apparatus and system of more network element data synchronization loads

Publications (2)

Publication Number Publication Date
CN104753659A CN104753659A (en) 2015-07-01
CN104753659B true CN104753659B (en) 2019-06-07

Family

ID=53592822

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310725996.8A Active CN104753659B (en) 2013-12-25 2013-12-25 A kind of method, apparatus and system of more network element data synchronization loads

Country Status (1)

Country Link
CN (1) CN104753659B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108199918B (en) * 2017-12-28 2021-06-15 Tcl家用电器(合肥)有限公司 Method and system for testing washing machine
CN112672370B (en) * 2020-12-23 2023-03-31 中移(杭州)信息技术有限公司 Method, system, equipment and storage medium for automatically detecting network element index data
CN113973275B (en) * 2021-10-28 2023-06-27 中国联合网络通信集团有限公司 Data processing method, device and medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103167545A (en) * 2013-02-20 2013-06-19 大唐移动通信设备有限公司 Method and device for cutting-over of internet protocol (IP) relevant to base stations
CN103384208A (en) * 2013-05-23 2013-11-06 上海斐讯数据通信技术有限公司 System and method for upgrading ONU equipment in EPON system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103167545A (en) * 2013-02-20 2013-06-19 大唐移动通信设备有限公司 Method and device for cutting-over of internet protocol (IP) relevant to base stations
CN103384208A (en) * 2013-05-23 2013-11-06 上海斐讯数据通信技术有限公司 System and method for upgrading ONU equipment in EPON system

Also Published As

Publication number Publication date
CN104753659A (en) 2015-07-01

Similar Documents

Publication Publication Date Title
CN110147411B (en) Data synchronization method, device, computer equipment and storage medium
US20190026193A1 (en) Method and apparatus for executing data recovery operation
CN104978258B (en) Automatic software test method and system
CN107193917B (en) IID-based total station system configuration file lossless data updating method
CN109857803B (en) Data synchronization method, device, equipment, system and computer readable storage medium
CN106528871A (en) Method for updating information of engineering data points in industrial control system on line
CN107463692B (en) Super large text data is synchronized to the method and system of search engine
CN109145060B (en) Data processing method and device
WO2014049804A1 (en) System operation trace method in distributed system
CN111008521B (en) Method, device and computer storage medium for generating wide table
US11265182B2 (en) Messaging to enforce operation serialization for consistency of a distributed data structure
CN113420026B (en) Database table structure changing method, device, equipment and storage medium
CN104753659B (en) A kind of method, apparatus and system of more network element data synchronization loads
CN110347407A (en) A kind of method, apparatus, computer equipment and medium obtaining EMS memory occupation amount
CN109873857A (en) Mobile terminal method of data synchronization and device under a kind of no network state
CN107577780A (en) A kind of data center&#39;s cloud resource synchronous method and device
WO2020226913A1 (en) Merge trees for collaboration
CN112612850A (en) Data synchronization method and device
CN106802928B (en) Power grid historical data management method and system
CN104008116B (en) A kind of file synchronisation method and electronic equipment
CN108173948B (en) Distributed test data real-time exchange method
CN112416557B (en) Method and device for determining call relation, storage medium and electronic device
CN112416944A (en) Method and equipment for synchronizing service data
CN106557530B (en) Operation system, data recovery method and device
CN107590256A (en) Heterogeneous database synchronization method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant