CN109636664A - A kind of distribution system, distribution main website and its point table model update method - Google Patents
A kind of distribution system, distribution main website and its point table model update method Download PDFInfo
- Publication number
- CN109636664A CN109636664A CN201811393405.0A CN201811393405A CN109636664A CN 109636664 A CN109636664 A CN 109636664A CN 201811393405 A CN201811393405 A CN 201811393405A CN 109636664 A CN109636664 A CN 109636664A
- Authority
- CN
- China
- Prior art keywords
- application program
- table model
- distribution
- model file
- home site
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
- G06Q50/06—Electricity, gas or water supply
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
Abstract
The present invention relates to a kind of distribution system, distribution main website and its point table model update methods, this method comprises: judging whether distribution terminal application program generates update, if confirming, distribution terminal application program generates update: obtain and compare the end point table model file of the home site table model file for the correspondence application program for being stored in distribution main website and the correspondence application program for being stored in distribution terminal side;Corresponding application program update packet is generated according to the difference of home site table model file and end point table model file, the home site table model file of corresponding application program is updated according to the application program update packet of generation.The present invention is when updating home site table model file, without manually modifying, and avoids and modifies omission or mistake, and modification accuracy is high, realizes terminal and configures unmanned, the light-weighted target of main website configuration.
Description
Technical field
The present invention relates to a kind of distribution system, distribution main website and its point table model update methods, and it is automatic to belong to relay protection
Change technical field.
Background technique
In the practical engineering application of electric system, with the variation of change, the user demand of design and to loophole
It repairs, the version of distribution terminal APP application program is in continuous renewal.When the version updating of terminal APP application program, need
Accordingly to remove the model file of modification distribution main website.Existing most common amending method is artificial amending method, that is, needs work
Personnel go to the place that each needs are modified and go to modify.For entire electric system, distribution terminal and distribution main website are whole
Quantity used in a electric system is very more, once some APP application program of distribution terminal needs to update, distribution terminal and
Distribution main website debugging maintenance work amoun is very big, and manual method can take a substantial amount of time at this time.Moreover, non-by artificial method
Often it is easy to appear omission or mistake.
Summary of the invention
The object of the present invention is to provide a kind of distribution system, distribution main website and its point table model update methods, for solving
The problem for going to be easy to appear omission or mistake when the model file for updating distribution main website by traditional manual method.
In order to solve the above technical problems, the present invention provides a kind of distribution home site table model update method, including it is as follows
Step:
Judge whether distribution terminal application program generates update, if confirmation distribution terminal application program generates update:
It obtains and compares the home site table model file for the correspondence application program for being stored in distribution main website and be stored in distribution
The end point table model file of the correspondence application program of terminal side;
Corresponding application program update packet is generated according to the difference of home site table model file and end point table model file,
The home site table model file of corresponding application program is updated according to the application program update packet of generation.
In order to solve the above technical problems, the present invention also provides a kind of distribution main website, including processor and memory, it is described
Processor is for executing instruction stored in memory to realize following method:
Judge whether distribution terminal application program generates update, if confirmation distribution terminal application program generates update:
It obtains and compares the home site table model file for the correspondence application program for being stored in distribution main website and be stored in distribution
The end point table model file of the correspondence application program of terminal side;
Corresponding application program update packet is generated according to the difference of home site table model file and end point table model file,
The home site table model file of corresponding application program is updated according to the application program update packet of generation.
In order to solve the above technical problems, the present invention also provides a kind of distribution system, including distribution main website and distribution terminal,
The distribution main website includes processor and memory, and the processor is for executing instruction stored in memory to realize such as
Lower method:
Judge whether distribution terminal application program generates update, if confirmation distribution terminal application program generates update:
It obtains and compares the home site table model file for the correspondence application program for being stored in distribution main website and be stored in distribution
The end point table model file of the correspondence application program of terminal side;
Corresponding application program update packet is generated according to the difference of home site table model file and end point table model file,
The home site table model file of corresponding application program is updated according to the application program update packet of generation.
The beneficial effects of the present invention are: then basis is stored in distribution main website when distribution terminal application program generates update
Home site table model file and be stored in distribution terminal side end point table model file comparing result, generation answer accordingly
It is updated and is wrapped with program, and update the home site table model file of corresponding application program, nothing according to the application program update packet of generation
It need to manually modify, and avoid modification omission or mistake, modification accuracy is high, realizes terminal and configures unmanned, main website
Configure light-weighted target.
As the further improvement of method, main website and system, in order to accurately determine whether distribution terminal application program produces
Pair that be raw to update, being come out by the software identification code and distribution terminal latest computed of the correspondence application program for storing distribution main website
The software identification code of application program is answered to be compared to judge whether distribution terminal application program generates update, if two softwares are known
Other code is inconsistent, then confirms that distribution terminal application program generates update.
As the further improvement of method and main website, in order to improve the accuracy of home site table model file modification, if main
Site table model file is newly-increased compared to end point table model file or deletes partial content, then accordingly answering according to generation
Newly-increased or delete operation accordingly is carried out to home site table model file with the update packet of program.
As the further improvement of method and main website, in order to improve the accuracy of home site table model file modification, if main
Site table model file is compared to end point table model file modification partial content, then according to the corresponding application programs of generation
It updates packet and deletes original home site table model file, then regenerate new home site table model file.
Detailed description of the invention
Fig. 1 is the flow chart of distribution home site table model update method of the present invention.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing and specific implementation
The present invention will be described in further detail for example.
The embodiment of distribution home site table model update method:
A kind of distribution home site table model update method is present embodiments provided, this method passes through home site table model is literary
Part and end point table model file are compared, according to comparison result respective handling: if home site table model file is compared to end
Endpoint table model file has increased or has deleted some contents newly, then directly in original master station point table model file basis increase or
Person deletes;If home site table model file compared to some contents of end point table model file modification, is directly deleted
Original master station point table model file regenerates new home site table model file.Efficiently solve existing electrical power distribution automatization system
The artificial participation of distribution main website side point table model file is high, update heavy workload, updates low efficiency and error-prone problem.
Wherein, the corresponding flow chart of distribution home site table model update method is as shown in Figure 1, include the following steps:
(1) judge whether distribution terminal application program generates update, if confirmation distribution terminal application program generates update,
Then: obtaining and compare the home site table model file for the correspondence application program for being stored in distribution main website and be stored in distribution terminal side
Correspondence application program end point table model file.
In order to which whether accurate judgement distribution terminal application program generates update, distribution main website obtains distribution terminal application APP
Software identification code, obtain the corresponding software identification code for applying APP of distribution main website;It periodically compares and is stored in the soft of distribution main website
Whether part identification code and the software identification code of terminal side APP are consistent, to judge whether distribution terminal application program generates update.
In order to obtain the software identification code of distribution terminal application APP, after distribution terminal powers on, according to cyclic redundancy check code
Principle, the CRC code that APP is applied in distribution terminal side is calculated, then periodically by the CRC of the APP being calculated in real time
It send on code to distribution main website, distribution main website periodically acquires the CRC code that APP is applied in distribution terminal side.In order to obtain distribution main website
Using the CRC code of APP, only detection is primary after the power-up for distribution main website, obtains and store the CRC code of distribution master station application APP.
It includes: that distribution main website is every that it is whether consistent with the CRC code of master station application APP, which periodically to compare distribution terminal, for distribution main website
A CRC code is received, can be all compared with the CRC code for powering on rear storage for the first time, check whether two CRC codes are consistent: if
It is that judgement is consistent, distribution main website is done nothing;If judgement is inconsistent, distribution main website thinks distribution terminal side APP journey
Sequence generates update, needs to carry out next step operation.
After distribution main website discovery distribution terminal side APP program has update, distribution main website starts to obtain the APP from distribution terminal
End application update after the point table model file that generates, the point table model file generated after end application is updated
Diversity ratio pair is carried out with the original file that main website is pre-stored.Wherein, allocation models specification based on table model file is put such as
Shown in table 1, it is divided into quaternary structure:
APP device numbering, for distinguishing the application of the different APP under same distribution main website;
The information vertex type of the electric main website of delivery, is divided into the different types such as remote signalling, telemetering, remote control on APP;
The total number of distribution main website is given in the various types of information point of APP;
The specifying information that distribution main website is included is given on APP different types of information point, includes internal ID number, IEC10X point
Number, Chinese and English description etc. information.
Table 1
(2) corresponding application program update is generated according to the difference of home site table model file and end point table model file
Packet updates the home site table model file of corresponding application program according to the application program update packet of generation.
The point table model file (also referred to as first version point table model file) that is generated after end application is updated and
The pre-stored original file (also referred to as second edition point table model file) of main website is compared, not according to comparison result
Together, two kinds of point table models are generated and update packet:
The first: the point table model file of two versions belong to include and by comprising relationship, only some content category
In newly-increased or deletion.It is, home site table model file is newly-increased compared to end point table model file or deletes
Content, if having increased some contents newly, end point table model file is the subset of home site table model file;If deleting
Content, then home site table model file is the subset of end point table model file.
If belong to the first comparing result, newly-increased or delete operation directly is carried out to home site table model file,
The point table model generated at this time updates packet and includes two contents: statement more newer command: Add/Delete, wherein Add is represented newly-increased,
Delete, which is represented, to be deleted;Home site table model file needs content that is newly-increased or deleting on the basis of source file.
The model file of second: two version is not present comprising with by inclusion relation, home site table model file is compared
In end point table model file modification between partial content, that is, home site table model file and end point table model file
There is no subset inclusion relation mutually.
If belong to second of comparing result, original home site table model file is deleted, new main website is regenerated
Point table model file, the point table model generated at this time update packet are as follows: complete table model file of first version indicates main website
It needs to regenerate after source file to be carried out to whole deletions.
It is, distribution main website side can select different modes to complete point table model file according to the difference of comparison result
Update, in which:
The first kind, which updates, is only updated the part having altered, and comes according to the long-range renewal model of current power distribution network mainstream
It says, can largely improve the upgrading efficiency of software, while reducing the risk of main website side upgrading, and reduced when updating
The transmission of data volume, the system resource of consumption compared to all delete regeneration to optimize it is very much.
The update of second class is that the more conservative strategy of the ratio taken when larger modification occurs for APP program, being capable of accurate nothing
Accidentally the completing home site table model Automatic Update of File of the task, is modified, again on a large scale compared on the basis of source file
It deletes to upload and can significantly more improve accuracy rate.
The CRC code of storage record is updated, then again by distribution main website after the update for completing point table model file
The software identification code for recording APP continues beginning periodic test (for example, every one second) and is stored in the APP of main website and terminal
Software identification code it is whether consistent, complete a wheel distribution main website at this time and automatically update the process of model.
In above-mentioned distribution home site table model update method, the APP of distribution main website periodic test main website and terminal
Software identification code;When software identification code is inconsistent, the difference for comparing point table model file is checked;Distribution main website is according to difference
Type selection different modes carry out APP point table model Automatic Update of File;After the completion of update, distribution main website continues the period
Property inspection.By the way that after the APP application program update of distribution terminal side, distribution main website can automatically update the point table model of the APP
File reduces the human configuration of distribution home site table model file, solves distribution main website configuration under actual condition and updates effect
The technical problem that rate is low, workload is huge, while when updating distribution home site table model file, system, distribution main website can be optimized
The utilization rate for resource of uniting.
Distribution main website embodiment:
A kind of distribution main website, including processor and memory are present embodiments provided, processor is stored in for executing
Instruction in reservoir, to realize above-mentioned distribution home site table model update method.Since the distribution home site table model updates
Method is described in detail in above-mentioned distribution home site table model update method embodiment, and details are not described herein again.
To those skilled in the art, corresponding meter can be generated according to above-mentioned distribution home site table model update method
Calculation machine instruction, to obtain distribution main website.
Distribution system embodiment:
A kind of distribution system, including distribution main website and distribution terminal are present embodiments provided, which includes processing
Device and memory, processor is for executing instruction stored in memory, to realize above-mentioned distribution home site table model more
New method.Since the distribution home site table model update method is implemented in above-mentioned distribution home site table model update method
It is described in detail in example, details are not described herein again.It to those skilled in the art, can be according to above-mentioned distribution master
Site table model update method generates corresponding computer instruction, to obtain distribution system.
Finally it should be noted that the above examples are only used to illustrate the technical scheme of the present invention rather than to its protection scope
Limitation, although the application is described in detail referring to above-described embodiment, those of ordinary skill in the art should
Understand, those skilled in the art read the specific embodiment of application can still be carried out after the application various changes, modification or
Person's equivalent replacement, but these changes, modification or equivalent replacement, within the scope of the claims of the present invention.
Claims (10)
1. a kind of distribution home site table model update method, which comprises the steps of:
Judge whether distribution terminal application program generates update, if confirmation distribution terminal application program generates update:
It obtains and compares the home site table model file for the correspondence application program for being stored in distribution main website and be stored in distribution terminal
The end point table model file of the correspondence application program of side;
Corresponding application program update packet is generated according to the difference of home site table model file and end point table model file, according to
The application program update packet of generation updates the home site table model file of corresponding application program.
2. distribution home site table model update method according to claim 1, which is characterized in that by depositing distribution main website
The software identification code for the correspondence application program that the software identification code and distribution terminal latest computed of the correspondence application program of storage come out
It is compared to judge whether distribution terminal application program generates update, if two software identification codes are inconsistent, confirms distribution
End application generates update.
3. distribution home site table model update method according to claim 1 or 2, which is characterized in that if home site table mould
Type file is newly-increased compared to end point table model file or deletes partial content, then according to the corresponding application programs of generation
It updates packet and newly-increased or delete operation accordingly is carried out to home site table model file.
4. distribution home site table model update method according to claim 1 or 2, which is characterized in that if home site table mould
Type file is then deleted according to the update packet of the corresponding application programs of generation compared to end point table model file modification partial content
Except original home site table model file, then regenerate new home site table model file.
5. a kind of distribution main website, which is characterized in that including processor and memory, the processor is stored in storage for executing
Instruction in device is to realize following method:
Judge whether distribution terminal application program generates update, if confirmation distribution terminal application program generates update:
It obtains and compares the home site table model file for the correspondence application program for being stored in distribution main website and be stored in distribution terminal
The end point table model file of the correspondence application program of side;
Corresponding application program update packet is generated according to the difference of home site table model file and end point table model file, according to
The application program update packet of generation updates the home site table model file of corresponding application program.
6. distribution main website according to claim 5, which is characterized in that pass through the correspondence application program for storing distribution main website
Software identification code and distribution terminal latest computed come out correspondence application program software identification code be compared to judgement match
Whether electric terminals application program generates update, if two software identification codes are inconsistent, confirms that distribution terminal application program generates
It updates.
7. distribution main website according to claim 5 or 6, which is characterized in that if home site table model file is compared to terminal
Point table model file is newly-increased or deletes partial content, then according to the update packet of the corresponding application programs of generation to home site table
Model file carries out newly-increased or delete operation accordingly.
8. distribution main website according to claim 5 or 6, which is characterized in that if home site table model file is compared to terminal
Table model file modification partial content is put, then original home site table is deleted according to the update packet of the corresponding application programs of generation
Model file, then regenerate new home site table model file.
9. a kind of distribution system, including distribution main website and distribution terminal, which is characterized in that the distribution main website include processor and
Memory, the processor is for executing instruction stored in memory to realize following method:
Judge whether distribution terminal application program generates update, if confirmation distribution terminal application program generates update:
It obtains and compares the home site table model file for the correspondence application program for being stored in distribution main website and be stored in distribution terminal
The end point table model file of the correspondence application program of side;
Corresponding application program update packet is generated according to the difference of home site table model file and end point table model file, according to
The application program update packet of generation updates the home site table model file of corresponding application program.
10. distribution system according to claim 9, which is characterized in that pass through the correspondence application journey for storing distribution main website
The software identification code for the correspondence application program that the software identification code and distribution terminal latest computed of sequence come out is compared to judge
Whether distribution terminal application program generates update, if two software identification codes are inconsistent, confirms that distribution terminal application program produces
It is raw to update.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811393405.0A CN109636664A (en) | 2018-11-21 | 2018-11-21 | A kind of distribution system, distribution main website and its point table model update method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811393405.0A CN109636664A (en) | 2018-11-21 | 2018-11-21 | A kind of distribution system, distribution main website and its point table model update method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109636664A true CN109636664A (en) | 2019-04-16 |
Family
ID=66068731
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811393405.0A Pending CN109636664A (en) | 2018-11-21 | 2018-11-21 | A kind of distribution system, distribution main website and its point table model update method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109636664A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113094381A (en) * | 2021-04-02 | 2021-07-09 | 珠海万力达电气自动化有限公司 | Method and system for completing distribution network operation by matching distribution network automation master station with access point |
CN114531352A (en) * | 2021-12-29 | 2022-05-24 | 上海宏力达信息技术股份有限公司 | Method for upgrading configuration file of power communication module |
CN115967626A (en) * | 2022-12-28 | 2023-04-14 | 上海集度汽车有限公司 | Switch configuration device, vehicle controller, vehicle, and switch configuration method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104269924A (en) * | 2014-09-17 | 2015-01-07 | 国家电网公司 | Power distribution terminal system based on IEC 61850 and realizing plug and play mechanism |
CN104993589A (en) * | 2015-06-30 | 2015-10-21 | 国网上海市电力公司 | Model sharing method between power distribution main station and terminal |
CN107069950A (en) * | 2016-12-30 | 2017-08-18 | 国网天津市电力公司 | Automatic identifying method and system of a kind of distribution main website to terminal device |
CN107291457A (en) * | 2017-06-08 | 2017-10-24 | 重庆长安汽车股份有限公司 | The long-range renewal computing system and method for entire car controller software |
CN108649691A (en) * | 2018-05-18 | 2018-10-12 | 国电南瑞科技股份有限公司 | A kind of distribution terminal plug and play method suitable for APP dynamic loads |
-
2018
- 2018-11-21 CN CN201811393405.0A patent/CN109636664A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104269924A (en) * | 2014-09-17 | 2015-01-07 | 国家电网公司 | Power distribution terminal system based on IEC 61850 and realizing plug and play mechanism |
CN104993589A (en) * | 2015-06-30 | 2015-10-21 | 国网上海市电力公司 | Model sharing method between power distribution main station and terminal |
CN107069950A (en) * | 2016-12-30 | 2017-08-18 | 国网天津市电力公司 | Automatic identifying method and system of a kind of distribution main website to terminal device |
CN107291457A (en) * | 2017-06-08 | 2017-10-24 | 重庆长安汽车股份有限公司 | The long-range renewal computing system and method for entire car controller software |
CN108649691A (en) * | 2018-05-18 | 2018-10-12 | 国电南瑞科技股份有限公司 | A kind of distribution terminal plug and play method suitable for APP dynamic loads |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113094381A (en) * | 2021-04-02 | 2021-07-09 | 珠海万力达电气自动化有限公司 | Method and system for completing distribution network operation by matching distribution network automation master station with access point |
CN114531352A (en) * | 2021-12-29 | 2022-05-24 | 上海宏力达信息技术股份有限公司 | Method for upgrading configuration file of power communication module |
CN115967626A (en) * | 2022-12-28 | 2023-04-14 | 上海集度汽车有限公司 | Switch configuration device, vehicle controller, vehicle, and switch configuration method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106707848B (en) | A kind of the control program construction and method for down loading of control system | |
CN109636664A (en) | A kind of distribution system, distribution main website and its point table model update method | |
CN106951694B (en) | Adaptive modeling method for online monitoring system of secondary equipment of power system | |
CN108182075A (en) | A kind of program by the automatic escalation target software of socket communication modes | |
CN107783857A (en) | A kind of abnormal restorative procedure and device, computer installation, readable storage medium storing program for executing | |
CN105577475A (en) | Automatic performance test system and method | |
CN107870774A (en) | A kind of system for AOI system software version management | |
CA2887086A1 (en) | System and method for automated substation design and configuration | |
CN109634634A (en) | A kind of BMC firmware upgrade method, device and terminal | |
CN104102514A (en) | Firmware upgrading method and firmware upgrading device | |
CN107666179B (en) | Method and system for updating information of power distribution automation graph-model interaction point table | |
CN110867956A (en) | Topology automatic identification system and method based on intelligent platform area | |
CN104993589A (en) | Model sharing method between power distribution main station and terminal | |
CN109358865A (en) | A kind of industrial vehicle car networking instrument and upgrade method with remote upgrade function | |
CN109683923B (en) | Method and system for checking configuration file version of power distribution automation system | |
CN104731636A (en) | Dispatcher Training Simulating Device And Operation Method Thereof | |
CN107807956A (en) | Electronic installation, data processing method and computer-readable recording medium | |
CN104536398A (en) | Frequency converter monitoring method and system | |
CN105117329A (en) | Application automatic online system and method | |
CN110502257B (en) | Transformer substation monitoring information management, control and checking method | |
CN106909615B (en) | Method and device for verifying data information consistency between master station and substation | |
CN107146165B (en) | Distribution network planning data management method and system | |
CN103457996B (en) | A kind of Protocol Conformance Test System internal data store method and system | |
CN104506942A (en) | Set-top box and upgrading method of cable modem system of set-top box | |
CN110007946B (en) | Method, device, equipment and medium for updating algorithm model |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190416 |