CN106202461B - A kind of synchronous method and device - Google Patents

A kind of synchronous method and device Download PDF

Info

Publication number
CN106202461B
CN106202461B CN201610561662.5A CN201610561662A CN106202461B CN 106202461 B CN106202461 B CN 106202461B CN 201610561662 A CN201610561662 A CN 201610561662A CN 106202461 B CN106202461 B CN 106202461B
Authority
CN
China
Prior art keywords
archives
data packet
change
modification information
packet
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
CN201610561662.5A
Other languages
Chinese (zh)
Other versions
CN106202461A (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.)
Guangdong Power Grid Co Ltd
Original Assignee
Guangdong Power Grid 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 Guangdong Power Grid Co Ltd filed Critical Guangdong Power Grid Co Ltd
Priority to CN201610561662.5A priority Critical patent/CN106202461B/en
Publication of CN106202461A publication Critical patent/CN106202461A/en
Application granted granted Critical
Publication of CN106202461B publication Critical patent/CN106202461B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • G06F16/273Asynchronous replication or reconciliation

Abstract

The invention discloses the archives synchronous method of a kind of Power Marketing Management System and metering automation system, by the way that archives modification information caused by vocational work list is resolved into multiple independent change data packets by different type element, and generate job note batch number and archives change catalogue file.Job note batch number carries out the constraint that is mutually connected in series, only the corresponding archives modification information packet of all types of vocational work lists need to be transmitted to buffer system database by an interface logic configuration, due to individual transmission between change data packet, therefore, metering automation system is when synchronous, each change data packet is received without the interface logic sequence according to Power Marketing Management System, but data packet can be changed according to the business processing sequence selection target of itself and be downloaded.The combination that this method reduces Various types of data interface configures quantity, improves work efficiency while reducing equipment cost.In addition, invention additionally discloses a kind of device corresponding with the above method, effect is as described above.

Description

A kind of synchronous method and device
Technical field
The present invention relates to technical field of electric power, more particularly to the shelves of Power Marketing Management System and metering automation system Case synchronous method and device.
Background technique
Power Marketing Management System, abbreviation marketing system are based on modern computer and the communication technology, by power marketing work Make the integrated information system of progress electronic management.The system has customer service, sales service processing, supervision and management, determines The functions such as plan support.Metering automation system, abbreviation metering system, be it is a set of cover the various stoichiometric points of the whole network and acquisition terminal, Integrate the application platform of information collection, monitoring, analysis and management through quantification.The system of the application platform from single to complete, For function from simple to abundant, service application mainly based on automatic data logging, was extended to power utility check, management through quantification, line from originally The various aspects such as four points of statistics and analysis, demand side management, market analysis are damaged, covering plant stand, specially change, public affairs become and low-voltage customer, complete At from point to the automated information management in face.The investment application of marketing system and metering system for ordered electric, is remotely copied Table, intelligent load control system, charge calculation, market management, Controlling line loss, marketing system the business such as charge calculation provide in real time Data supporting achieves so that Electric Power Marketing Management is horizontal and level of customer service has all obtained substantive promotion for double The benefit two-win of side, substantially increases enterprise efficiency.
In order to enable the two can co-ordination, need marketing system synchronous with the holding of the archives of metering system.In archives In synchronous process, marketing system can be considered that source archives generate and the originating point of change, metering system can be considered the synchronous work of archives The target point of work.Archives synchronize refer to that the initial archives based on two systems are consistent in the case of, when the part of marketing system It is the content of change is accurate and be completely synchronized to the mistake of metering system by synchronization mechanism when the information of archives changes Journey.
However, current traditional marketing system with metering system when realizing that archives are synchronous, connect based on i.e. fixed, cured Mouth logic or archives update sequence carry out information exchange, when a method, system because the factors such as function iteration, function change change shelves Cured good when case synchronizing sequence, old interface logic is difficult to adapt to that new archives are synchronous to be required with archives update sequence.
It can be seen that how to adapt to new archives synchronisation requirement after archives update sequence changes is art technology Personnel's urgent problem to be solved.
Summary of the invention
The object of the present invention is to provide the archives synchronous method of a kind of Power Marketing Management System and metering automation system And device, for adapting to new archives synchronisation requirement after archives update sequence changes.
In order to solve the above technical problems, the present invention provides the shelves of a kind of Power Marketing Management System and metering automation system Case synchronous method, comprising:
When the Power Marketing Management System receives archives change request, according to the Type elements in vocational work list It resolves into independent change data packet and generates unique job note batch number corresponding with the vocational work list, by the change More data packet and the job note batch number form archives modification information packet, by each change in the archives modification information packet More data packet is sent to buffer system database according to corresponding interface, then generates corresponding with the archives modification information packet Archives change catalogue file is simultaneously sent to the buffer system data according to corresponding interface by archives change catalogue file Library;
The archives modification information packet received and the archives are changed catalogue file by the buffer system database It is buffered;
The metering automation system caches the archives modification information packet and described from the buffer system database Archives change catalogue file, and determine that target changes data packet according to the vocational work list, according to the job note batch number Data are changed according to each target change data packet corresponding interface downloading target in the archives modification information packet Packet.
Preferably, it is described according to the vocational work list determine target change data packet before further include:
The metering automation system changes catalogue file according to the archives and judges in the archives modification information packet Hold and whether meets needs of itself filing;
If it is not, then being to determine that target changes data according to the vocational work list in this way into abnormality processing process Packet, according to the job note batch number, according to each target change, data packet is corresponding connects in the archives modification information packet Mouth downloads the target and changes data packet.
Preferably, the archives change catalogue file includes:
The quantity of the change data packet, the type of each change data packet, the business work order type and described Job note batch number.
Preferably, the metering automation system is pressed in the archives modification information packet according to the job note batch number After downloading the target change data packet according to the corresponding interface of each target change data packet further include:
The archives modification information packet in buffer system database described in the metering automation system-kill, and locating It is recorded in reason log.
Preferably, the change data packet includes: number modification information, installation personnel information and the electricity of electric energy measuring equipment Net topology structure modification information.
A kind of archives synchronizing device of Power Marketing Management System and metering automation system, comprising:
Power Marketing Management System, for when the Power Marketing Management System receive archives change request when, according to Type elements in vocational work list resolve into independent change data packet and generate corresponding with the vocational work list unique Job note batch number, the change data packet and the job note batch number are formed into archives modification information packet, by the shelves Each change data packet in case modification information packet is sent to buffer system database according to corresponding interface, then generate with The corresponding archives change catalogue file of the archives modification information packet simultaneously connects archives change catalogue file according to corresponding Mouth is sent to the buffer system database;
Buffer system database, for the archives modification information packet received and the archives to be changed catalogue file It is buffered;
Metering automation system, for caching the archives modification information packet and described from the buffer system database Archives change catalogue file, and determine that target changes data packet according to the vocational work list, according to the job note batch number Data are changed according to each target change data packet corresponding interface downloading target in the archives modification information packet Packet.
Preferably, metering automation system, which is also used to change catalogue file according to the archives, judges that the archives change letter Whether the content of breath packet meets needs of itself filing;
If it is not, then into abnormality processing process, if so, determining that target changes data according to the vocational work list Packet, according to the job note batch number, according to each target change, data packet is corresponding connects in the archives modification information packet Mouth downloads the target and changes data packet.
Preferably, the archives change catalogue file includes: the quantity of the change data packet, each change data packet Type, the business work order type and the job note batch number.
Preferably, the metering automation system is pressed in the archives modification information packet according to the job note batch number After changing data packet according to each target change data packet corresponding interface downloading target, it is also used to delete the buffering The archives modification information packet in system database, and recorded in processing log.
Preferably, the change data packet includes: the number modification information of ammeter and the information modification information of installation personnel.
The archives synchronous method and device of Power Marketing Management System provided by the present invention and metering automation system lead to Cross archives modification information caused by the vocational work list by Power Marketing Management System by different type element resolve into it is multiple solely Vertical change data packet, and generate job note batch number and archives change catalogue file.Job note batch number is mutually connected in series The corresponding archives modification information packet of all types of vocational work lists need to be only transmitted to by constraint by an interface logic configuration Buffer system database due to individual transmission between change data packet and passes through database caches, metering automation system When synchronous, each change data packet is received without the interface logic sequence according to Power Marketing Management System, but can root Simultaneously combined application is downloaded according to the corresponding target change data packet of the business processing sequence selection of itself.In conclusion the party Method greatly reduces the combination configuration quantity of Various types of data interface, improves work efficiency, is conducive to while reducing equipment cost Promote the management benefit of enterprise.
Detailed description of the invention
In order to illustrate the embodiments of the present invention more clearly, attached drawing needed in the embodiment will be done simply below It introduces, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ordinary skill people For member, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is the archives synchronous method of a kind of Power Marketing Management System provided by the invention and metering automation system Flow chart;
Fig. 2 is the archives synchronizing device of a kind of Power Marketing Management System provided by the invention and metering automation system Structure chart.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, rather than whole embodiments.Based on this Embodiment in invention, those of ordinary skill in the art are without making creative work, obtained every other Embodiment belongs to the scope of the present invention.
Core of the invention is to provide the archives synchronous method of a kind of Power Marketing Management System and metering automation system And device.
In order to enable those skilled in the art to better understand the solution of the present invention, with reference to the accompanying drawings and detailed description The present invention is described in further detail.
Fig. 1 is the archives synchronous method of a kind of Power Marketing Management System provided by the invention and metering automation system Flow chart.As shown in Figure 1, the archives synchronous method of Power Marketing Management System and metering automation system, comprising:
S10: when Power Marketing Management System receives archives change request, according to the Type elements in vocational work list It resolves into independent change data packet and generates unique job note batch number corresponding with vocational work list, data packet will be changed Archives modification information packet is formed with job note batch number, each change data packet in archives modification information packet is connect according to corresponding Mouthful it is sent to buffer system database, then generates archives corresponding with archives modification information packet and change catalogue file and by archives It changes catalogue file and is sent to buffer system database according to corresponding interface.
In specific implementation, archives change request is the triggering based on vocational work list, that is, after having vocational work list, Archives change request can occur.Vocational work list, such as the ammeter of Zhang San family are broken, and Li Si is needed to replace, then the vocational work It just include multiple Type elements in list, such as ammeter changes, change user, installation personnel etc., in order to distinguish, different types It is required that a corresponding change data packet, so that in transmission process, using corresponding interface, therefore, which is just wrapped Multiple change data packets are included, which includes: the information change letter of the number modification information of ammeter, installation personnel Breath.
It is understood that different vocational work lists has different information, then corresponding Type elements may also phase Together, it is also possible to which different, number and the type for changing data packet are also different.Therefore, the type and number needs of data packet are changed It is decomposed according to specific vocational work list.In order to distinguish the change data packet in different vocational work lists, the present invention In be that each vocational work list assigns a job note batch number, the job note batch number be it is unique not reproducible, in other words It says, job note batch number and vocational work list correspond, and each change data packet also has corresponding vocational work list Job note batch number.For example, the change data packet in change data packet and vocational work list 2 in vocational work list 1 is logical Job note batch number is crossed to distinguish, if several change data packet job note batch numbers having the same, these changes Data packet is the same vocational work list, if several change data packets do not have identical job note batch number, these Changing data packet is not the same vocational work list.After a vocational work list is resolved into several change data packets, become More data packet can be successively transmitted in buffer system database, may be set according to actual conditions as the sequence of transmission, here It repeats no more.In order to facilitate it is subsequent judge whether transmission complete, when whole change data packets in a vocational work list After having sent, Power Marketing Management System generates corresponding with archives modification information packet archives and changes catalogue file and by shelves Case changes catalogue file and is sent to buffer system database according to corresponding interface.It includes: change number that archives, which change catalogue file, According to the quantity of packet, each type and job note batch number for changing data packet.The interface for changing data packet can be according to change number According to the Type division of packet, such as the interface of transmission electric energy meter data, corresponding interface of user etc..Changing data packet includes: electric energy Number modification information, installation personnel information and the topological structure of electric modification information of measuring equipment.It is understood that change number It needs to be determined according to vocational work list according to the type of packet, a kind of above-mentioned only specific application scenarios do not represent change data packet Only this 2 kinds.
S11: buffer system database buffers the archives modification information packet and archives that receive change catalogue file.
Buffer system database receives archives modification information packet and archives change catalogue from Power Marketing Management System File.It is understood that archives modification information packet is by multiple change data packet groups at the transmission of each change data packet is only Vertical progress, therefore, archives modification information packet is just determined when only buffer system database receives archives change catalogue file It receives, that is, completes the transmission process of a vocational work list.Buffer system database is not needed to archives modification information packet It is operated with archives change catalogue file, it is only necessary to buffer and wait the synchronous of metering automation system.
S12: metering automation system caches archives modification information packet and archives change catalogue from buffer system database File, and determine that target changes data packet according to vocational work list, it is pressed in archives modification information packet according to job note batch number Data packet is changed according to the corresponding interface downloading target of each target change data packet.
In specific implementation, metering automation system can synchronize operation according to the triggering of synchronization request.Metering is certainly Dynamicization system caches archives modification information packet and archives change catalogue file first from buffer system database.In this mistake Cheng Zhong is the equal of metering automation system there is no each change data packet of actual download, only obtains archives modification information The relevant information of packet and archives change catalogue file.Due to the business processing sequence in Power Marketing Management System and measure automatic Business processing sequence in change system is possible to different, and therefore, metering automation system is receiving caching archives modification information It after packet and archives change catalogue file, determines that target changes data packet according to vocational work list, that is, which change data packet is determined It is needed, which is unwanted, if you do not need to not needing subsequent downloading then.In this course, metering automation System is to determine which change data packet is that the same vocational work list is corresponding according to job note batch number, can be protected in this way Demonstrate,prove synchronous accuracy.After metering automation system has determined that target changes data packet, data are changed according to each target Wrap corresponding interface downloading target change data packet.During downloading, metering automation system can be according to business processing Sequence will be placed in same place director business with a batch of target change data packet and download.
The archives synchronous method of Power Marketing Management System provided in this embodiment and metering automation system, by will be electric Archives modification information caused by the vocational work list of power marketing management system resolves into multiple independent changes by different type element More data packet, and generate job note batch number and archives change catalogue file.Job note batch number carries out the constraint that is mutually connected in series, only The corresponding archives modification information packet of all types of vocational work lists need to be transmitted to buffer system by an interface logic configuration System database due to individual transmission between change data packet and passes through database caches, metering automation system is in synchronization When, each change data packet is received without the interface logic sequence according to Power Marketing Management System, but can be according to itself Business processing sequence selection corresponding target change data packet be downloaded and combined application.To sum up, this method greatly reduces The combination of Various types of data interface configures quantity, improves work efficiency while reducing equipment cost, may advantageously facilitate enterprise Management benefit.
It is preferably carried out mode as one kind, on the basis of the above embodiments, determines that target becomes according to vocational work list Before more data packet further include:
Metering automation system changes catalogue file according to archives and judges whether the content of archives modification information packet meets certainly Body is filed needs;
If it is not, then be to determine that target changes data packet according to vocational work list in this way into abnormality processing process, according to Number is changed according to the corresponding interface downloading target of each target change data packet in archives modification information packet according to job note batch number According to packet.
In specific implementation, change data packet may cause to count in transmission process there is a situation where loss or entanglement etc. The archives modification information packet for measuring automated system caching is different from the archives modification information packet that Power Marketing Management System is sent.Cause This, metering automation system from buffer system database cache archives modification information packet and archives change catalogue file after first Catalogue file is changed according to archives and judges whether archives modification information packet meets needs of itself filing, if conditions are not met, then making different Often processing, if it is satisfied, then downloading the archives modification information packet.
It is preferably carried out mode as one kind, on the basis of the above embodiments, metering automation system is according to job note Batch number in archives modification information packet according to each target change data packet corresponding interface downloading target change data packet after Further include: the archives modification information packet in metering automation system-kill buffer system database, and recorded in processing log.
When according to itself need to have downloaded target change data packet after, metering automation system is just by buffer system number It deletes according to the archives modification information packet in library, is then recorded in the processing log of itself.It is understood that the content recorded It may include the time of any one or the several steps in archives synchronizing process, content etc., the present invention is without limitation.
Fig. 2 is the archives synchronizing device of a kind of Power Marketing Management System provided by the invention and metering automation system Structure chart.A kind of archives synchronizing device of Power Marketing Management System and metering automation system, comprising:
Power Marketing Management System 10, for when Power Marketing Management System receive archives change request when, according to industry Type elements in business job note resolve into independent change data packet and generate unique work corresponding with vocational work list Change data packet and job note batch number are formed archives modification information packet by single batch number, will be each in archives modification information packet It changes data packet and is sent to buffer system database 11 according to corresponding interface, then generate corresponding with archives modification information packet Archives change catalogue file is simultaneously sent to buffer system database 11 according to corresponding interface by archives change catalogue file.
In specific implementation, archives change request is the triggering based on vocational work list, that is, after having vocational work list, Archives change request can occur.Vocational work list, such as the ammeter of Zhang San family are broken, and Li Si is needed to replace, then the vocational work It just include multiple Type elements in list, such as ammeter changes, change user, installation personnel etc., in order to distinguish, different types It is required that a corresponding change data packet, so that in transmission process, using corresponding interface, therefore, which is just wrapped Multiple change data packets are included, which includes: the information change letter of the number modification information of ammeter, installation personnel Breath.
It is understood that different vocational work lists has different information, then corresponding Type elements may also phase Together, it is also possible to which different, number and the type for changing data packet are also different.Therefore, the type and number needs of data packet are changed It is decomposed according to specific vocational work list.In order to distinguish the change data packet in different vocational work lists, the present invention In be that each vocational work list assigns a job note batch number, the job note batch number be it is unique not reproducible, in other words It says, job note batch number and vocational work list correspond, and each change data packet also has corresponding vocational work list Job note batch number.For example, the change data packet in change data packet and vocational work list 2 in vocational work list 1 is logical Job note batch number is crossed to distinguish, if several change data packet job note batch numbers having the same, these changes Data packet is the same vocational work list, if several change data packets do not have identical job note batch number, these Changing data packet is not the same vocational work list.After a vocational work list is resolved into several change data packets, become More data packet can be successively transmitted in buffer system database 11, may be set according to actual conditions as the sequence of transmission, this In repeat no more.In order to facilitate it is subsequent judge whether transmission complete, when whole change data in a vocational work list After coating has been sent, Power Marketing Management System 10 generates archives change catalogue file corresponding with archives modification information packet simultaneously Archives change catalogue file is sent to buffer system database 11 according to corresponding interface.Archives change catalogue file Change the quantity of data packet, each type and job note batch number for changing data packet.The interface for changing data packet can be according to Change the Type division of data packet, such as the interface of transmission electric energy meter data, corresponding interface of user etc..Change data packet packet It includes: the number modification information of ammeter and the information modification information of installation personnel.It is understood that the type of change data packet needs It to be determined according to vocational work list, a kind of above-mentioned only specific application scenarios do not represent change data packet and there was only this 2 kinds.
Buffer system database 11, archives modification information packet and archives change catalogue file for will receive delay Punching.
Buffer system database 11 receives archives modification information packet and the archives change from Power Marketing Management System 10 Catalogue file.It is understood that archives modification information packet is by multiple change data packet groups at the transmission of each change data packet It independently carries out, therefore, just determines archives change when only buffer system database 11 receives archives change catalogue file Packet receives, that is, completes the transmission process of a vocational work list.Buffer system database 11 does not need to become archives More packet and archives change catalogue file operated, it is only necessary to buffer with wait metering automation system 12 synchronization be It can.
Metering automation system 12, for caching archives modification information packet and archives change from buffer system database 11 Catalogue file, and determine that target changes data packet according to vocational work list, according to job note batch number in archives modification information packet According to each target change data packet corresponding interface downloading target change data packet.
In specific implementation, metering automation system 12 can synchronize operation according to the triggering of synchronization request.Metering Automated system 12 caches archives modification information packet and archives change catalogue file first from buffer system database 11.At this During one, is the equal of that there is no each change data packets of actual download for metering automation system 12, only obtains archives The relevant information of modification information packet and archives change catalogue file.Due to the business processing sequence in Power Marketing Management System 10 Be possible to different with the business processing sequence in metering automation system 12, therefore, metering automation system 12 receive it is slow It files after modification information packet and archives change catalogue file, determines that target changes data packet according to vocational work list, that is, determine Which change data packet is needed, which is unwanted, if you do not need to not needing subsequent downloading then.In this process In, metering automation system 12 is to determine which change data packet is the same vocational work single pair according to job note batch number It answers, can guarantee synchronous accuracy in this way.After metering automation system 12 has determined that target changes data packet, according to Each target changes the corresponding interface downloading target of data packet and changes data packet.During downloading, metering automation system 12 meetings will be placed in same place director business with a batch of target change data packet according to the sequence of business processing and download.
The archives synchronizing device of Power Marketing Management System provided in this embodiment and metering automation system, by will be electric Archives modification information caused by the vocational work list of power marketing management system resolves into multiple independent changes by different type element More data packet, and generate job note batch number and archives change catalogue file.Job note batch number carries out the constraint that is mutually connected in series, only The corresponding archives modification information packet of all types of vocational work lists need to be transmitted to buffer system by an interface logic configuration System database due to individual transmission between change data packet and passes through database caches, metering automation system is in synchronization When, each change data packet is received without the interface logic sequence according to Power Marketing Management System, but can be according to itself Business processing sequence selection corresponding target change data packet be downloaded and combined application.To sum up, this method greatly reduces The combination of Various types of data interface configures quantity, improves work efficiency while reducing equipment cost, may advantageously facilitate enterprise Management benefit.
It is preferably carried out mode as one kind, on the basis of the above embodiments, metering automation system 12 is also used to root Judge whether the content of archives modification information packet meets needs of itself filing according to archives change catalogue file;
If it is not, then into abnormality processing process, if so, determine that target changes data packet according to vocational work list, according to Number is changed according to the corresponding interface downloading target of each target change data packet in archives modification information packet according to job note batch number According to packet.
It is preferably carried out mode as one kind, on the basis of the above embodiments, archives change catalogue file includes: change The quantity of data packet, each type for changing data packet, business work order type and job note batch number.
It is preferably carried out mode as one kind, on the basis of the above embodiments, metering automation system 12 is according to work Make single batch number in archives modification information packet according to the corresponding interface downloading target change data packet of each target change data packet Later, it is also used to delete the archives modification information packet in buffer system database 11, and is recorded in processing log.
It is preferably carried out mode as one kind, on the basis of the above embodiments, change data packet includes: the number of ammeter The information modification information of modification information and installation personnel.
Since the embodiment of device part is corresponding with the embodiment of method part, the embodiment of device part is referred to The embodiment of method part wouldn't repeat.
Above the archives synchronous method to Power Marketing Management System provided by the present invention and metering automation system and Device is described in detail.Each embodiment is described in a progressive manner in specification, what each embodiment stressed It is the difference from other embodiments, the same or similar parts in each embodiment may refer to each other.For embodiment For disclosed device, since it is corresponded to the methods disclosed in the examples, so be described relatively simple, related place referring to Method part illustration.It should be pointed out that for those skilled in the art, not departing from the principle of the invention Under the premise of, it can be with several improvements and modifications are made to the present invention, these improvement and modification also fall into the claims in the present invention Protection scope in.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond the scope of this invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.

Claims (8)

1. the archives synchronous method of a kind of Power Marketing Management System and metering automation system characterized by comprising
When the Power Marketing Management System receives archives change request, decomposed according to the Type elements in vocational work list At independent change data packet and unique job note batch number corresponding with the vocational work list is generated, by the change number Archives modification information packet is formed according to packet and the job note batch number, by each change number in the archives modification information packet It is sent to buffer system database according to corresponding interface according to packet, then generates archives corresponding with the archives modification information packet Archives change catalogue file is simultaneously sent to the buffer system database according to corresponding interface by change catalogue file;
The buffer system database carries out the archives modification information packet received and archives change catalogue file Buffering;
The metering automation system caches the archives modification information packet and the archives from the buffer system database Catalogue file is changed, and determines that target changes data packet according to the vocational work list, according to the job note batch number in institute It states in archives modification information packet and changes data packet according to each target change data packet corresponding interface downloading target;
Wherein, archives change catalogue file includes: the quantity for changing data packet, each type for changing data packet, business work order class Type and job note batch number.
2. archives synchronous method according to claim 1, which is characterized in that described to determine mesh according to the vocational work list Before mark change data packet further include:
The metering automation system changes catalogue file according to the archives and judges that the content of the archives modification information packet is It is no to meet needs of itself filing;
If it is not, then be to determine that target changes data packet according to the vocational work list in this way into abnormality processing process, according to It is changed under the corresponding interface of data packet in the archives modification information packet according to each target according to the job note batch number Carry the target change data packet.
3. according to claim 1 to archives synchronous method described in 2 any one, which is characterized in that the metering automation system According to each target change, data packet is corresponding connects in the archives modification information packet according to the job note batch number for system Mouth is downloaded after the target change data packet further include:
The archives modification information packet in buffer system database described in the metering automation system-kill, and in processing day It is recorded in will.
4. archives synchronous method according to claim 1, which is characterized in that the change data packet includes: electrical energy measurement Number modification information, installation personnel information and the topological structure of electric modification information of equipment.
5. the archives synchronizing device of a kind of Power Marketing Management System and metering automation system characterized by comprising
Power Marketing Management System, for when the Power Marketing Management System receive archives change request when, according to business Type elements in job note resolve into independent change data packet and generate unique work corresponding with the vocational work list Make single batch number, the change data packet and the job note batch number are formed into archives modification information packet, the archives are become Each change data packet in more packet is sent to buffer system database according to corresponding interface, then generate with it is described The corresponding archives change catalogue file of archives modification information packet simultaneously sends out archives change catalogue file according to corresponding interface It send to the buffer system database;
Buffer system database, for carrying out the archives modification information packet received and archives change catalogue file Buffering;
Metering automation system, for caching the archives modification information packet and the archives from the buffer system database Catalogue file is changed, and determines that target changes data packet according to the vocational work list, according to the job note batch number in institute It states in archives modification information packet and changes data packet according to each target change data packet corresponding interface downloading target;
The archives change catalogue file includes: the quantity of the change data packet, the type of each change data packet, business Work order type and the job note batch number.
6. archives synchronizing device according to claim 5, which is characterized in that metering automation system is also used to according to Archives change catalogue file judges whether the content of the archives modification information packet meets needs of itself filing;
If it is not, then into abnormality processing process, if so, determine that target changes data packet according to the vocational work list, according to It is changed under the corresponding interface of data packet in the archives modification information packet according to each target according to the job note batch number Carry the target change data packet.
7. according to archives synchronizing device described in claim 5 to 6 any one, which is characterized in that the metering automation system System is corresponding according to each target change data packet in the archives modification information packet according to the job note batch number After interface downloads the target change data packet, it is also used to delete the archives change letter in the buffer system database Breath packet, and recorded in processing log.
8. archives synchronizing device according to claim 5, which is characterized in that the change data packet includes: the volume of ammeter The information modification information of number modification information and installation personnel.
CN201610561662.5A 2016-07-13 2016-07-13 A kind of synchronous method and device Active CN106202461B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610561662.5A CN106202461B (en) 2016-07-13 2016-07-13 A kind of synchronous method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610561662.5A CN106202461B (en) 2016-07-13 2016-07-13 A kind of synchronous method and device

Publications (2)

Publication Number Publication Date
CN106202461A CN106202461A (en) 2016-12-07
CN106202461B true CN106202461B (en) 2019-09-13

Family

ID=57475518

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610561662.5A Active CN106202461B (en) 2016-07-13 2016-07-13 A kind of synchronous method and device

Country Status (1)

Country Link
CN (1) CN106202461B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108804666A (en) * 2018-06-08 2018-11-13 广东电网有限责任公司电力科学研究院 A kind of metering-marketing system table code data interactive method and device
CN110186540A (en) * 2019-07-02 2019-08-30 重庆中法供水有限公司 Water meter fault handling method, server and terminal
CN112382076B (en) * 2020-11-12 2021-08-27 贵州电网有限责任公司 Equipment and operation method for acquiring topological information of district electric energy meter

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662901A (en) * 2012-04-11 2012-09-12 南方电网科学研究院有限责任公司 Method for implementing parameter synchronization of integrated power information buses
CN102957544A (en) * 2011-08-17 2013-03-06 中国移动通信集团上海有限公司 Method and device for transmitting service work orders and service work order processing system
CN103595707A (en) * 2013-10-17 2014-02-19 广东电网公司茂名供电局 Automatic file network synchronization method based on SVN
CN103617255A (en) * 2013-11-29 2014-03-05 国网电网公司 Service data exchange synchronizing system and method used for electric information system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102957544A (en) * 2011-08-17 2013-03-06 中国移动通信集团上海有限公司 Method and device for transmitting service work orders and service work order processing system
CN102662901A (en) * 2012-04-11 2012-09-12 南方电网科学研究院有限责任公司 Method for implementing parameter synchronization of integrated power information buses
CN103595707A (en) * 2013-10-17 2014-02-19 广东电网公司茂名供电局 Automatic file network synchronization method based on SVN
CN103617255A (en) * 2013-11-29 2014-03-05 国网电网公司 Service data exchange synchronizing system and method used for electric information system

Also Published As

Publication number Publication date
CN106202461A (en) 2016-12-07

Similar Documents

Publication Publication Date Title
CN109165229B (en) Method, device, equipment and storage medium for checking local block synchronization
CN106202461B (en) A kind of synchronous method and device
CN107302450A (en) A kind of data acquisition session variation and device
CN106295985A (en) A kind of platform district line loss management system of local electric network and management method
CN108984370A (en) A kind of method and apparatus of determining monitoring threshold value
MXPA06012390A (en) System and method for efficient configuration in a fixed network automated meter reading system.
CN110213780A (en) Management method, management and the layout entity and storage medium of network slice
CN106612308A (en) Data transmission method and device
CN109871309A (en) A kind of charge system test cases generation method and system
CN107888666A (en) A kind of cross-region data-storage system and method for data synchronization and device
CN111711192B (en) Real-time line loss analysis method and system for lean management of line loss of support station area
CN108965003A (en) A kind of dispositions method of distributed type assemblies, device, system and storage medium
CN108573029A (en) A kind of method, apparatus and storage medium obtaining network access relational data
CN106872996A (en) The optimization method of alignment system performance, device and mobile terminal
CN108632047A (en) A kind of determination method and device of tariff data
CN108093039B (en) Method for processing sleeping electric meter based on national network Q/GDW3761 protocol
CN107992326A (en) Java automation code dissemination methods based on Struts2 frames
CN113053090B (en) Distributed data set reading system and method for intelligent electric meter
CN109726083A (en) Operating status management method, system, device and the readable storage medium storing program for executing of cabinet
CN106227470B (en) A kind of storage resource management method and device
CN108111578A (en) The method of distribution terminal data acquisition platform access terminal equipment based on NIO
CN108038127A (en) A kind of method, apparatus, terminal device and the storage medium of data synchronization
CN116108740A (en) Modeling method and device for power equipment
CN109710693A (en) A kind of Recursive Implementation Method and system that LDAP numeric field data is synchronous
CN105743669A (en) Data communication method and apparatus

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