CN100464520C - Method and system for realizing distributed data loading - Google Patents

Method and system for realizing distributed data loading Download PDF

Info

Publication number
CN100464520C
CN100464520C CNB2007100008130A CN200710000813A CN100464520C CN 100464520 C CN100464520 C CN 100464520C CN B2007100008130 A CNB2007100008130 A CN B2007100008130A CN 200710000813 A CN200710000813 A CN 200710000813A CN 100464520 C CN100464520 C CN 100464520C
Authority
CN
China
Prior art keywords
data
equipment
data file
sign
consistency
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
CNB2007100008130A
Other languages
Chinese (zh)
Other versions
CN101026488A (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
Original Assignee
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2007100008130A priority Critical patent/CN100464520C/en
Publication of CN101026488A publication Critical patent/CN101026488A/en
Application granted granted Critical
Publication of CN100464520C publication Critical patent/CN100464520C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The invention is in use for carrying out loading data operation from first device to second device, the method includes following steps: when carrying out procedure for updating data of first device database, first device sets up updating ID of data file as valid in order to indicate disagreement between data in first device database and data file in first device; next, if first device is requested to carrying out procedure for updating data for second device, and updating ID of data file is valid, then based on data in the first device database to update data file of first device, and updating the updating ID of data file as invalid; finally, based on updated data file to carry out procedure for updating data of second device. The invention saves system resources furthest, and guarantees reliability of whole system.

Description

A kind of distributed data realization of loading method and system
Technical field
The present invention relates to communication technical field, relate in particular to a kind of distributed data realization of loading method and system.
Background technology
At present, for realizing comparatively complicated communication equipment, it need be designed to distributed system usually.The basic framework of corresponding distributed system in this distributed system, mainly comprises a NE (network element) agency and several Business Processing frames as shown in Figure 1; Wherein, described NE agency needs the basic function of realization to comprise: the loading service function is used to the startup guiding and the configuration data of each Business Processing frame veneer that loading service is provided.Wherein, BOOTP (startup BOOT strapping Protocol) is used in the startup guide service of Business Processing frame veneer, is veneer distributing IP address, filename and the Loading Control information that needs loading by this agreement; In loading procedure, the file transfer that needs accordingly to load then uses TFPT (TFTP) FTP (file transfer protocol (FTP)) to transmit.
In distributed system shown in Figure 2, corresponding loading service process comprises:
(1) each veneer of Business Processing frame sends the BOOTP request message to the NE agency when starting guiding, to obtain IP and the working procedure that will load and the positional information and the version information at data place.
(2) NE agency's load-on module receives the BOOTP request message, this message is handled, and loopback BOOTP response message;
Concrete reception BOOTP request message and to the processing procedure of this message as shown in Figure 2 comprises:
(1) monitors the BOOTP request message;
(2) after listening to described message, then carry out the reception operation of BOOTP request message, if take defeat, then go to the abnormality processing flow of event, otherwise, continue execution in step (3).
(3) legitimacy of this request message is checked,, then gone to the abnormality processing flow of event,, then continue execution in step (4) if inspection is passed through if inspection is not passed through.
(4) Query Database, structure BOOTP response message, wherein, if the data base querying failure then goes to the abnormality processing flow of event, otherwise, execution in step (5).
(5) send the BOOTP response message to service processing mode,, then go to the abnormality processing flow of event if send failure, otherwise, execution in step (1) continued again.
By above-mentioned processing, each veneer of described Business Processing frame just can be finished the startup bootup process, and is retrieved as its IP address allocated, the required filename of startup, Loading Control information and patch information etc.At this moment, just described veneer can from NE proxy load mainframe program, DSP program, data or patch etc., send the load request message to the NE agency, with the start-up loading service process as needs according to the indication of Loading Control information.Described NE agency just enters the loading service flow process receiving the load request message, designated data files is sent to the veneer that sends load request.
Corresponding N E agency receives veneer behind load request (as the TFTP/FTP request) message of its transmission, then starts corresponding processing procedure, is example to receive the TFTP/FTP request message, and corresponding handling process comprises:
(1) monitors the TFTP/FTP request message.
(2) after listening to described message, then receive the TFTP/FTP request message, as take defeat, then go to the abnormality processing flow of event, handle to carry out anomalous event, otherwise, execution in step (3).
(3) message of receiving is carried out validity checking, do not pass through, then go to the abnormality processing flow of event as checking, otherwise, execution in step (4).
(4) carry out corresponding loading service process according to the request message of receiving and handle, and continue execution in step (1) again.
For system shown in Figure 1 is distributed system, and the prerequisite of the normal operation of assurance system is: the data file of the operation of NE agency and each Business Processing frame consistent.This just requires, and need provide effective and reliable data file loading duration NE agency.Therefore, for guaranteeing the consistency of data file, at present, industry mainly provides two kinds of alternative implementations, will describe respectively below.
First kind of implementation that can adopt at present comprises as shown in Figure 3: the NE agency guarantees all that in any moment of system's operation its local data base is consistent with the loading data file.For this reason, the concrete means that adopt are to refresh the data file that is used for loading service when modes such as user's tool using or MML (man-machine language) order are revised data in the database, to guarantee the consistency of the data file of NE in acting on behalf of.Obviously, this implementation has simple, the characteristics of adaptability and good reliability, and it can guarantee the correctness of loading data to greatest extent.
Yet this implementation also needs to carry out the processing of refresh data file because of in the configuration operation process simultaneously, thereby causes there is the lower shortcoming of allocative efficiency.Based on, big and configuration data concerns complex apparatus for amount of configuration data, this defective is particularly outstanding.
At present, the another kind of implementation that can adopt as shown in Figure 4, comprise: improve based on above-mentioned first kind of technical scheme, specifically be to increase by one to be used to identify whether refresh the switch that is used for the loaded data file, and utilize this switch control whether carrying out data file refresh operation by leading subscriber.Obviously, this implementation is greatly improved with respect to the treatment effeciency of first kind of implementation, thereby, to a certain degree overcome above-mentioned first kind of existing problem of implementation.
, in this implementation, the setting of described switch has increased the leading subscriber operation complexity undoubtedly, and then causes the serviceability of product to reduce greatly, promptly makes leading subscriber use very inconvenience of corresponding apparatus easily; And this scheme has also caused the problem that reliability reduces greatly simultaneously, for example, in system's running board resetting, then, like this, cause system to move probably with causing the appearance of the inconsistent situation of data in data file and the database owing to not upgrading in time of data file.
Therefore, industry does not also provide a kind of implementation of data consistency in the distributed system that can guarantee well can overcome the existing defective of implementation that above-mentioned each prior art provides at present.
Summary of the invention
Embodiments of the invention provide a kind of distributed data realization of loading method and system, thereby can save system resource to greatest extent under the prerequisite of the reliability that guarantees whole system.
Embodiments of the invention provide a kind of distributed data realization of loading method, comprise that first equipment carries out the load operation of data to second equipment, comprising:
In the data updating process of first equipment in carrying out first device databases, the data file that is provided with is refreshed sign be changed to effectively, inconsistent to represent data and the data file in first equipment in first device databases;
If first equipment need carry out data loading operations to second equipment, and described data file refreshes sign effectively, then according to the data file in Refresh Data first equipment in described first device databases, and upgrade this data file refresh be designated invalid;
First equipment carries out data loading operations according to the data file after refreshing to second equipment.
Embodiments of the invention provide a kind of data loading device, and this device is arranged in first equipment, and first equipment is used for carrying out to second equipment load operation of data, and this device specifically comprises:
Data updating unit is used for carrying out the renewal operation of data of the database of first equipment, and triggers and refresh the identification renewal unit finishing Data Update operation back;
Refresh the identification renewal unit, be used for the data file that is provided with being refreshed sign and be changed to effectively, represent that data and the data file in first equipment in first device databases is inconsistent according to the triggering of data updating unit; Perhaps, according to the triggering of data loading operations unit with described data file refresh sign be changed to invalid;
The data loading operations unit, be used for when needs carry out data loading operations to second equipment, inquire about described data file and refresh sign, if effectively, then according to the data file in Refresh Data first equipment in described first device databases, and, also trigger and refresh the identification renewal unit second equipment execution load operation.
Embodiments of the invention provide a kind of distributed data realization of loading system, comprise first equipment and second equipment, and first equipment is used for carrying out to second equipment load operation of data, and this system comprises:
First equipment is used in the data updating process that carries out first device databases, the data file that is provided with is refreshed sign be changed to effectively, shows that data and the data file in first equipment in first device databases is inconsistent; At needs second equipment is carried out data loading operations, and described data file refreshes sign when effective, according to the data file in Refresh Data first equipment in described first device databases, and send the data file in first equipment behind described the refreshing to second equipment, also data file is refreshed sign be changed to invalid;
Second equipment is used for carrying out data loading operations according to the data file of obtaining.
As seen from the above technical solution provided by the invention, embodiment provided by the invention can realize centralized control and processing at data file so that distributed system loading data file on-demand generates automatically; Like this, just can save system resource to greatest extent, guarantee the reliability of whole system.And embodiment provided by the invention can also make the treatment effeciency of configuration data process also can improve greatly, and can not have influence on the high reliability of system.
Description of drawings
Fig. 1 is the structural representation of distributed system in the prior art;
Fig. 2 is the process schematic diagram that the NE agent processes starts boot request in the prior art;
Fig. 3 is first kind of the prior art and loads the implementation schematic diagram;
Fig. 4 is the another kind of implementation schematic diagram that loads of the prior art;
Fig. 5 is the structural representation of the embodiment one of system of the present invention;
Fig. 6 is the structural representation of system embodiment two provided by the invention;
Fig. 7 is the processing procedure schematic diagram of method embodiment provided by the invention;
Fig. 8 is the processing procedure schematic diagram of user's control loaded data in the embodiments of the invention;
Fig. 9 is the loading data processing procedure schematic diagram after the Business Processing frame resets in the embodiments of the invention;
Figure 10 is the processing procedure schematic diagram of mandatory format data in the embodiments of the invention.
Embodiment
The present invention mainly provides the embodiment of the load operation process between first equipment and second equipment in the distributed system.In this embodiment, specifically comprise: in the data updating process of first equipment in carrying out first device databases, no longer carry out the refresh process of the data file that is used for load operation in first equipment, and only be that the data file that will be provided with refreshes sign and is changed to effectively, inconsistent to represent data and data file in the database in first equipment, to improve the treatment effeciency of configuration data process; Afterwards, when first equipment need carry out data loading operations to second equipment, check that then this data file refreshes sign, if described data file refreshes sign effectively, then refresh data file in first equipment according to the current data in the described database, otherwise, described data file is not carried out refresh operation; At last, utilize the data file in first equipment that second equipment is carried out data loading operations.Simultaneously, after refreshing described data file, upgrade described data file and refresh sign, with this data file refresh the sign be changed to invalid, to represent that the data in the database in first equipment are consistent with data file.
Among the embodiment provided by the invention, the data consistency sign can also be set in second equipment, whether the data that are used for identifying in the second equipment database are consistent with local data file of preserving, and should sign be upgraded by first Equipment Control; Like this, load operation process at second equipment comprises accordingly: when second equipment need utilize data file to load second device databases, then check the described data consistency sign of local record, if the data file of preserving in the data in definite second equipment in the database and second equipment is inconsistent, then second equipment obtains the data file of its preservation to first device request, and utilize the data file of obtaining to carry out the load operation of local data base, otherwise, directly utilize the data file of preserving in second equipment to carry out load operation and get final product, with the reliability of the data file that improves treatment effeciency and can guarantee to use.In a word, the setting of described data consistency sign both can guarantee the accuracy of the data file that second equipment adopts, and can effectively improve the efficient of the second device loads data again;
Need to prove, described data consistency sign is to be upgraded by first Equipment Control, be specifically as follows: the data of supposing first equipment, the database of second equipment, the data file of preserving among the FLASH of the data file in first equipment and second equipment all is consistent before operation, after first equipment carries out the Data Update operation, database data in first equipment and data file take place inconsistent, determine that data consistency identification record in second equipment is that the data file that (being FLASH) preserves in the data in the database and second equipment in second equipment is inconsistent, notify described second equipment, upgrade described data consistency sign (promptly having only database data and data file in first equipment to be changed to inconsistent or to be changed to consistent this sign of just notifying) from inconsistent from consistent; Perhaps, first equipment is after the second device loads data file, database data and data file in first equipment are consistent, determine that the data consistency identification record in second equipment is that the data in the database are consistent with the data file of (being FLASH) preservation in second equipment in second equipment, then notify second renewal of the equipment described data consistency sign.
In above-mentioned renewal data consistency identification procedure, specifically can in first equipment, preserve the data coherence management sign, be used for the renewal of the data consistency sign of second equipment being handled according to this sign control, corresponding renewal process specifically comprises:
(1) after first equipment is determined the renewal operation of configuration data takes place, judge that then the data whether this data coherence management sign be recorded as in the database in second equipment are consistent with the data file of local preservation, if not, then upgrade the data coherence management sign in first equipment, and notify the data consistency in second renewal of the equipment, second equipment to identify, even described data consistency sign effectively, thereby showing in the data file of preserving in second equipment and second device databases data, inconsistent (data file and the data in first device databases of promptly preserving in second equipment are inconsistent, this is because in the equipment normal work period, data in first device databases and second device databases can be consistent all the time), like this, second equipment just can not utilize the data file of preserving in second equipment to carry out load operation, otherwise, do not carry out the renewal of described data consistency sign and handle;
(2) at second equipment after the first device loads data file, it is inconsistent to judge then whether this data coherence management sign is recorded as the data file of preserving in the data in the database and second equipment in second equipment, if, then the data coherence management in first renewal of the equipment, first equipment identifies, and notify the data consistency in second renewal of the equipment, second equipment to identify, even described data consistency sign is invalid, with the data that show the data file correspondence in second equipment and the data consistent in second device databases, otherwise, do not carry out the renewal of described data consistency sign and handle.
In addition, can also be regularly between first equipment and second equipment or trigger by the transmission of message periodically or according to predetermined condition and to check the data consistency sign of preserving in data coherence management sign and second equipment in first equipment whether consistent (promptly carrying out the consistency check of data consistency sign), identify with data coherence management in first equipment and be consistent to control data consistency sign in second equipment.Wherein, data coherence management sign in first equipment can be represented with identical form with the data consistency sign in second equipment, also can represent, but implication (promptly whether the data file of preserving in the data in the database of second equipment and second equipment is consistent) needs unanimity with different forms.
The present invention also provides a kind of embodiment of system of distributed data loading, and its specific implementation structure comprises as shown in Figure 5:
First equipment comprises:
Data updating unit is used for carrying out the renewal operation of the data of first device databases, and triggers the identification renewal unit finishing Data Update operation back, and simultaneously, this unit further is used for the database of second equipment is upgraded operation;
Refresh the identification renewal unit, be used for the data file that is provided with being refreshed sign and be changed to effectively according to the triggering of data updating unit, inconsistent to represent the data file of preserving in the data in the database in first equipment and first equipment; Perhaps, can also according to the triggering of data loading operations unit with described data file refresh sign be changed to invalid;
The data loading operations unit, be used for when needs carry out data loading operations to second equipment, inquiring about described data file and refreshing sign, if effectively, then refresh the data file of preserving in first equipment, and trigger and refresh the identification renewal unit according to the current data in first device databases; Afterwards, just can utilize data file current in first equipment that second equipment is carried out load operation.
Second equipment comprises:
The local data file memory cell is used to preserve the data file of obtaining from first equipment;
The load and execution unit is used for according to the current data file of obtaining second equipment being carried out data loading operations, and wherein, the described current data file of obtaining can be the data file of preserving in second equipment, also the data file that can send for first equipment;
Alternatively, also comprise in described second equipment:
Consistency identification renewal unit is used for the described data consistency sign of the information updating sent according to first equipment, and whether this sign is used for the data file of preserving in data and second equipment in the database of second equipment that identifies consistent; And concrete update mode can comprise: first equipment is notified described second equipment after carrying out the Data Update operation, after second device learns, the first equipment generation Data Update, then upgrades the data consistency sign in second equipment; Perhaps, first equipment after second equipment receives described data file and upgrades the local data file memory cell, upgrades the data consistency sign in second equipment behind the second equipment sending data file;
The load operation processing unit, be used for when needs utilize data file to load second device databases, check the described data consistency sign that writes down in second equipment, if the data file of preserving in the data in the database of definite second equipment and second equipment is inconsistent, then obtain the data file of its preservation to first device request, after receiving the data file that first equipment returns, trigger the load and execution unit, otherwise, utilize the data file of preserving in second equipment to trigger the load and execution unit and carry out the load operation of second device databases.
Below will be with the agency of the NE in the distributed system as first equipment, the corresponding service processing block is an example as second equipment, and each concrete Application Example of the present invention is described further.
In distributed system, the service that the loading data file relates to mainly contains loading service and data configuration service.Wherein, described loading service mainly is responsible for finishing the loading of mainframe program and data, and described loading specifically is to finish by the BOOTP/FTP agreement; Described data configuration service then mainly provides the data configuration function, needs to guarantee the consistent of data in NE agency and the Business Processing frame in the data configuration process.
In distributed system, corresponding data configuration/loading scenario mainly comprises:
(1) Business Processing frame generation hand-reset at this moment, need report the BOOTP request to the NE agency, so that request NE agency reloads data to this Business Processing frame.
(2) user issues reset command by instrument or MML order, requires to restart veneer, after veneer is restarted, needs request of loading data again.
(3) user issues the data load order by instrument or MML order, and the data load that NE is acted on behalf of arrives among the FLASH (flash memory) of veneer, to upgrade the data file in the veneer.
(4) user issues data configuration change request by instrument or MML order, and NE agents modify configuration data and informing business processing block are revised related data.
(5) user issues the request that generates/refresh the loading data file by instrument or MML order, and the NE agency generates/refresh the loading data file according to the data in the database.
Based on above-mentioned each scene, among the embodiment provided by the invention, be set to unify the control data file and generate and read by NE agency's configuration service.Whether as shown in Figure 6, NE agency's configuration service can be used for the loaded data file and upgrade in carrying out the data change process, and only accordingly need the data file of refresh data file to refresh sign being provided with.Refresh sign based on this data file, the NE agency need not equal refresh data file in each data updating process, just carries out corresponding refresh operation and only be chosen in when needing to use this to be used for the loaded data file, thereby has improved the treatment effeciency of equipment.
For example, when NE agency's configuration service receives that loading service refreshes loading data file request, Reset Board or loads the configuration data order, then refresh sign and whether determine the refresh data file according to the data file of described setting, thereby guarantee to be used for the consistency of loaded data file and NE proxy database data, and then guarantee to carry out correct load operation at the Business Processing frame.
In addition, among the embodiment provided by the invention, also between NE agency's configuration service and each Business Processing frame, increase the data consistency verification mechanism, to guarantee under forward and backward inconsistent situation of data of Business Processing frame, can to obtain correct data from the NE agency; Concrete data consistency verification mechanism comprises: increase the data consistency sign in the Business Processing frame, be used for representing whether the corresponding Foreground Data of back-end data and data file in the Business Processing frame database is consistent, whether its essence is consistent with data in the database that NE acts on behalf of for the data file in the expression Business Processing frame; Based on this data consistency sign, when the Business Processing frame need utilize data file to carry out the load operation of database, then can select from this locality or the NE Agency obtains corresponding data file, to load local data base.
Utilize the foregoing description, can under the prerequisite that guarantees the distributed system reliability, effectively improve the efficient of configuration data in the distributed system, and the processing resource in can the saving system.
For ease of the understanding of the present invention, several application embodiment provided by the invention is described below in conjunction with accompanying drawing.
Application Example one:
In this embodiment one, the processing procedure of user's config update data is provided, corresponding processing procedure comprises as shown in Figure 7:
Step 71 is acted on behalf of the distribution configuration command operation as the OMC (operation maintenance center) or the operating maintenance terminal of leading subscriber to NE, can be configured the data in the database among the NE agency by this configuration order and upgrade operation;
Step 72 is after the NE agency receives described configuration order operation, if this configuration order by validity checking, then is configured renewal according to this configuration order to the data in the database;
Step 73, the NE agency sends the configuration data setup message to the Business Processing frame, specifically is the data after upgrading are sent to the Business Processing frame by message;
Step 74; The renewal that the Business Processing frame is finished the data in the local data base (being the database in the Business Processing frame) according to the message of receiving is operated, and finishes corresponding renewal back and returns configuration data setting object information to the NE agency;
Step 75, after the NE agency receives the setting result who returns, and definite Business Processing frame finished accordingly the Data Update operation at its local data base, and then the data file that is provided with of this locality refreshes sign and is set to effectively, and in real time described data file is not carried out refresh operation;
Because data file refreshes sign and is provided with, refresh sign at this, it is changed to effectively gets final product so only need to upgrade this data file;
The active data file refreshes sign and shows that current data file is inconsistent with the data in the local database, if when needing the application data file that the Business Processing frame is loaded, then needs to utilize the described data file of Refresh Data in the database;
Step 76, the NE agency then also needs to return the configuration order execution result information to OMC or operating maintenance terminal after receiving the setting result who returns and upgrade described data file and refreshing sign.
As can be seen, the processing procedure that provides by the foregoing description, the number of processes of refresh data file among the NE agency can be effectively reduced, the data file in the data load process, used and the data consistent in the database can also be guaranteed simultaneously, so that the loading data process accurately and reliably.
Application Example two:
In this Application Example, the processing procedure that provides the user to initiate load operation specifically as shown in Figure 8, may further comprise the steps:
Step 81 issues the load operation Indication message as the OMC of leading subscriber or operating maintenance terminal to the NE agency, with notice NE agency the Business Processing frame is carried out data loading operations;
Step 82 after the NE agency receives described Indication message, checks whether local data file refreshes sign effective, promptly judges whether to carry out the refresh operation of data file, if need, then execution in step 83, otherwise, execution in step 84;
Step 83, when determining to carry out the refresh operation of data file, then the NE agency utilizes the data in the local data base that the data file is carried out refresh process, and execution in step 84;
Step 84, the NE agency issues loading command to the Business Processing frame, carries out data loading operations with the informing business processing block;
Step 85 receives that the Business Processing frame of described loading command is initiated the FTP/TFTP request to the NE agency, carries out data loading operations with request;
Step 86, the NE agency determines that according to described FTP/TFTP request needs send to the data file of Business Processing frame, and send described data file to the Business Processing frame by the FTP/TFTP data transmission procedure, so that the Business Processing frame utilizes this data file to carry out load operation;
Step 87, NE acts on behalf of after the Business Processing frame sends described data file, also to leading subscriber return command executing result message, with the implementation status notice leading subscriber of load operation.
In above-mentioned processing procedure, because the data consistent in data file of using in the load operation process and NE agency's the database, therefore, can guarantee the accuracy of the data used in the loading procedure, data are consistent in NE agency and the Business Processing frame thereby can make.
Application Example three:
In this Application Example, the loading data operation process after the Business Processing frame resets is provided, as shown in Figure 9, specifically comprise:
Step 91, Business Processing frame are determined the local board resetting incident that takes place;
Step 92, the Business Processing frame judges whether that according to the data consistency sign of local maintenance needs are used for the loaded data file to the NE proxy requests;
Be specifically as follows, judge in this locality whether described data consistency sign is effective, if effectively, confirm that then the data file and the data among the NE agency of preserving among the local Flash are inconsistent, then need execution in step 93, carry out corresponding load operation, otherwise, directly utilize the data file of preserving among the local Flash to carry out load operation and get final product,, improve treatment effeciency to save the operating time;
Step 93, the Business Processing frame is ignored control word, initiates the BOOTP request to the NE agency, and the corresponding data file of acquisition request is to carry out the operations such as data load in the start-up course;
Described control word is used for the Starting mode of control system, selects to start from the FLASH of NE agency startup or Business Processing frame this locality such as controlling the Business Processing frame; Generally time of needing of the method system start-up that starts from the NE agency long, it is shorter that the method that starts from this locality then starts the time that needs; Therefore,, data file can be generated the back usually and be loaded among the FLASH of Business Processing frame, then, start from FLASH by control word control Business Processing frame, to reduce the influence of start-up course to business by the LOD order in order to save start-up time.
Step 94 after the NE agency receives described request, checks whether local data file refreshes sign effective, promptly judges whether to carry out the refresh operation of data file, if need, then execution in step 95, otherwise, execution in step 96;
Step 95 when determining to carry out the refresh operation of data file, then utilizes the data in the database that the data file is carried out refresh process, and execution in step 96;
Step 96, the NE agency sends the BOOTP response message to the Business Processing frame;
Step 97, receive described response message after, the Business Processing frame is initiated the FTP/TFTP request to NE agency, carries out data loading operations with request;
Step 98, the NE agency determines that according to described FTP/TFTP request needs send to the data file of Business Processing frame, and send described data file to the Business Processing frame by the FTP/TFTP data transmission procedure, so that the Business Processing frame utilizes this data file to carry out load operation.
Application Example four:
In this Application Example, a kind of processing procedure of formatted data file is provided, as shown in figure 10, specifically may further comprise the steps:
Step 101, leading subscriber is acted on behalf of the format manipulation that carries out data file to the command operation that the NE agency issues the formatted data file to control NE;
Step 102 after the NE agency receives described order, is carried out the operation of described formatted data file, simultaneously, also refresh described data file and updated data file and refresh sign, even this data file refresh be designated invalid, to show the data consistent in current data file and the database;
Step 103, the NE agency finishes the command execution response message to leading subscriber.
In sum, among the embodiment provided by the invention, the control and the management of concentrating have been realized in the distributed system, make that being used for the loaded data file can refresh generation as required automatically, rather than the configuration data in each database refreshes generation when upgrading in real time, therefore, embodiment provided by the invention can save the processing resource of distributed system to greatest extent, effectively improve the treatment effeciency of configuration data process, simultaneously, can also guarantee the reliability of distributed system.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (12)

1. a distributed data realization of loading method comprises that first equipment carries out the load operation of data to second equipment, it is characterized in that, comprising:
In the data updating process of first equipment in carrying out first device databases, the data file that is provided with is refreshed sign be changed to effectively, inconsistent to represent data and the data file in first equipment in first device databases;
If first equipment need carry out data loading operations to second equipment, and described data file refreshes sign effectively, then according to the data file in Refresh Data first equipment in described first device databases, and upgrade this data file refresh be designated invalid;
First equipment carries out data loading operations according to the data file after refreshing to second equipment.
2. method according to claim 1 is characterized in that, the described processing of carrying out the Data Update in first device databases specifically comprises:
After first equipment is received the configuration order of carrying out Data Update, upgrade the data in its first device databases, data file is refreshed sign be changed to effectively, and the configuration data after second equipment sends renewal, to upgrade the database in second equipment.
3. method according to claim 2, it is characterized in that, described method also comprises: the data consistency sign is set in second equipment, whether the data that are used for identifying second device databases are consistent with the data file that second equipment is preserved, if this sign effectively, then represent inconsistently, otherwise expression is consistent; And should sign upgrade by first Equipment Control; When second equipment need utilize data file to load second device databases, check described data consistency sign, if the data file that the data in definite second device databases and second equipment are preserved is inconsistent, then second equipment obtains data file in first equipment to first device request, and utilizes the data file of obtaining to carry out the load operation of second device databases.
4. method according to claim 3 is characterized in that, the renewal process of described data consistency sign comprises:
After first equipment carries out the Data Update operation, invalid if the data consistency in definite second equipment is designated, then notify described second equipment, upgrade described data consistency and be designated effectively; Perhaps, first equipment is behind the second equipment sending data file, if determine that the data consistency sign in second equipment is effective, it is invalid then to notify the described data consistency of second renewal of the equipment to be designated.
5. method according to claim 4, it is characterized in that, also be provided with the data coherence management sign corresponding with the data consistency sign in second equipment in described first equipment, first equipment judges according to this sign that is provided with whether the data consistency sign in second equipment is effective.
6. method according to claim 5 is characterized in that, described method also comprises:
Regularly or periodically or trigger the consistency check of carrying out the data consistency sign between first equipment and second equipment, and the data consistency sign of controlling in second equipment is consistent with data coherence management sign in first equipment according to predetermined condition.
7. method according to claim 1 is characterized in that, described method also comprises:
After first equipment is received the order of data file of first equipment that upgrades, then according to the data file in first equipment of the Refresh Data in first device databases, and with data file refresh sign be changed to invalid.
8. a data loading device is characterized in that, this device is arranged in first equipment, and first equipment is used for carrying out to second equipment load operation of data, and this device specifically comprises:
Data updating unit is used for carrying out the renewal operation of the data of first device databases, and triggers and refresh the identification renewal unit finishing Data Update operation back;
Refresh the identification renewal unit, be used for the data file that is provided with being refreshed sign and be changed to effectively, represent that data and the data file in first equipment in first device databases is inconsistent according to the triggering of data updating unit; Perhaps, according to the triggering of data loading operations unit with described data file refresh sign be changed to invalid;
The data loading operations unit, be used for when needs carry out data loading operations to second equipment, inquire about described data file and refresh sign, if effectively, then according to the data file in Refresh Data first equipment in described first device databases, and, also trigger and refresh the identification renewal unit second equipment execution load operation.
9. a distributed data realization of loading system comprises first equipment and second equipment, and first equipment is used for carrying out to second equipment load operation of data, it is characterized in that this system comprises:
First equipment is used in the data updating process that carries out first device databases, the data file that is provided with is refreshed sign be changed to effectively, shows that data and the data file in first equipment in first device databases is inconsistent; At needs second equipment is carried out data loading operations, and described data file refreshes sign when effective, according to the data file in Refresh Data first equipment in described first device databases, and the data file in first equipment after will refreshing sends second equipment to, also data file is refreshed sign be changed to invalid;
Second equipment is used for carrying out data loading operations according to the data file of obtaining.
10. system according to claim 9 is characterized in that, described second equipment comprises:
The data file memory cell is used to preserve the data file of obtaining from first equipment;
The load and execution unit is used for the data file that the data file of sending according to first equipment that obtains or second equipment preserves second equipment is carried out data loading operations.
11. system according to claim 10 is characterized in that, described second equipment also comprises:
Whether the data file of preserving in the data that consistency identification renewal unit, the data consistency sign that the information updating that is used for sending according to first equipment that receives is provided with, this sign are used for showing second device databases and second equipment is consistent;
The load operation processing unit, be used for when the needs load operation, check described data consistency sign, if the data file of preserving in the data in definite second device databases and second equipment is inconsistent, then obtain the data file of its preservation to first device request, after receiving the data file that first equipment returns, trigger the load and execution unit, otherwise, utilize the data file of preserving in second equipment to trigger the load and execution unit.
12. system according to claim 11, it is characterized in that, described first equipment specifically is used for after receiving the configuration order of carrying out Data Update, upgrade the data in its first device databases, data file is refreshed sign to be changed to effectively, and the configuration data after second equipment sends renewal, to upgrade the database in second equipment; The consistency identification renewal unit of described second equipment specifically comprises: first equipment that receives carries out the notice after the Data Update operation, upgrades described data consistency sign; Perhaps, after first equipment that receives sends data file and upgrades the local data file memory cell, upgrade described data consistency sign.
CNB2007100008130A 2007-01-12 2007-01-12 Method and system for realizing distributed data loading Active CN100464520C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007100008130A CN100464520C (en) 2007-01-12 2007-01-12 Method and system for realizing distributed data loading

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007100008130A CN100464520C (en) 2007-01-12 2007-01-12 Method and system for realizing distributed data loading

Publications (2)

Publication Number Publication Date
CN101026488A CN101026488A (en) 2007-08-29
CN100464520C true CN100464520C (en) 2009-02-25

Family

ID=38744429

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007100008130A Active CN100464520C (en) 2007-01-12 2007-01-12 Method and system for realizing distributed data loading

Country Status (1)

Country Link
CN (1) CN100464520C (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101699439B (en) * 2009-11-16 2011-12-28 中兴通讯股份有限公司 Database transaction submitting method and device
CN103093529B (en) * 2013-01-10 2016-01-06 高新现代智能系统股份有限公司 The method of dynamic refresh data
CN103747080B (en) * 2013-12-31 2017-06-16 广州亦云信息技术有限公司 A kind of file uploading method and system
CN106712991A (en) * 2015-11-16 2017-05-24 上海易杵行智能科技有限公司 Method and system of terminal device to automatically configure network essential data
CN115048151A (en) * 2022-06-13 2022-09-13 艺龙网信息技术(北京)有限公司 Background data configuration method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1400772A (en) * 2001-08-03 2003-03-05 华为技术有限公司 Method for making data layout in communication equipment and its system
CN1571370A (en) * 2003-07-18 2005-01-26 华为技术有限公司 A data loading method for communication equipment
CN1779638A (en) * 2004-11-22 2006-05-31 华为技术有限公司 Single-board telecommunication software loading method
CN1855841A (en) * 2005-04-27 2006-11-01 华为技术有限公司 Configuration of distributive telecommunication system
CN1866848A (en) * 2005-05-18 2006-11-22 上海华为技术有限公司 Method for realizing configuration of service frame data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1400772A (en) * 2001-08-03 2003-03-05 华为技术有限公司 Method for making data layout in communication equipment and its system
CN1571370A (en) * 2003-07-18 2005-01-26 华为技术有限公司 A data loading method for communication equipment
CN1779638A (en) * 2004-11-22 2006-05-31 华为技术有限公司 Single-board telecommunication software loading method
CN1855841A (en) * 2005-04-27 2006-11-01 华为技术有限公司 Configuration of distributive telecommunication system
CN1866848A (en) * 2005-05-18 2006-11-22 上海华为技术有限公司 Method for realizing configuration of service frame data

Also Published As

Publication number Publication date
CN101026488A (en) 2007-08-29

Similar Documents

Publication Publication Date Title
CN102609281B (en) Distributed software patch update method and system
US7007077B1 (en) Remote maintenance method of an information processing apparatus
CN112099829A (en) Vehicle upgrade control method and system, OTA background and vehicle
CN100464520C (en) Method and system for realizing distributed data loading
CN101594613A (en) The method of terminal equipment and upgrading thereof, system
CN106339273A (en) Application program restoration method, terminal and server
CN100583787C (en) Data check method, device and system
CN100505614C (en) System backup and recovery method, and backup and recovery server
CN111506331A (en) Server BMC refreshing method, system, terminal and storage medium
CN113612814A (en) Method, device, terminal and storage medium for screening session information
CN101739406A (en) Method for synchronizing file service operations on double-controller
CN103336698A (en) Wifi equipment software upgrading method, wifi equipment and system
CN112667272A (en) Ammeter upgrading method and system, intelligent ammeter and storage medium
CN112835598B (en) Automobile ECU (electronic control Unit) refreshing method and system and computer readable storage medium thereof
CN114765706A (en) Method and device for triggering vOMCI function from OLT to send OMCI message
CN101692210A (en) Single board starting monitoring system and monitoring method
CN100382506C (en) Method for verifying network-unit server in network management system
CN114006901B (en) Embedded network equipment cover-dismounting-free firmware upgrading method and system
CN112181785B (en) Method, terminal and storage medium for automatically adding monitoring equipment
US20090083747A1 (en) Method for managing application programs by utilizing redundancy and load balance
CN112203170B (en) Upgrading method, device, medium and equipment of optical network unit
CN116938779A (en) Automatic detection method, single board, electronic device and storage medium
CN112199104B (en) Software upgrading method and device, electronic equipment and storage medium
CN110266762B (en) Data uploading method, system, device and storage medium
CN113132127A (en) Network equipment management method, system and network equipment

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