CN105139623B - The compressing file remote upgrade method of the multistage transmission of harvester based on bandwidth carrier - Google Patents

The compressing file remote upgrade method of the multistage transmission of harvester based on bandwidth carrier Download PDF

Info

Publication number
CN105139623B
CN105139623B CN201510632936.0A CN201510632936A CN105139623B CN 105139623 B CN105139623 B CN 105139623B CN 201510632936 A CN201510632936 A CN 201510632936A CN 105139623 B CN105139623 B CN 105139623B
Authority
CN
China
Prior art keywords
harvester
concentrator
file
bandwidth carrier
remote upgrade
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
CN201510632936.0A
Other languages
Chinese (zh)
Other versions
CN105139623A (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.)
Jiangsu Suyuan Guangyi Science & Technology Co ltd
Original Assignee
Elefirst Science & Tech 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 Elefirst Science & Tech Co Ltd filed Critical Elefirst Science & Tech Co Ltd
Priority to CN201510632936.0A priority Critical patent/CN105139623B/en
Publication of CN105139623A publication Critical patent/CN105139623A/en
Application granted granted Critical
Publication of CN105139623B publication Critical patent/CN105139623B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to the compressing file remote upgrade method of a kind of multistage transmission of harvester based on bandwidth carrier, by a concentrator, in the system that the harvester of some collection electric energy meter data builds, described harvester is communicated to connect with concentrator by bandwidth carrier local communi-cation channel, and set up the remote interaction passage between main website by the up GPRS channel of concentrator, the present invention solves conventional low power line narrow band carrier harvester cannot the problem of remote upgrade, remote upgrade hands section is provided for power information acquisition system O&M and operation expanding, the technical guarantee leading the operation expanding of improvement stage to provide necessity is entered for power information acquisition system.

Description

The compressing file remote upgrade method of the multistage transmission of harvester based on bandwidth carrier
Technical field
The present invention relates to the compressing file remote upgrade method of a kind of multistage transmission of harvester based on bandwidth carrier, a kind of solution never possesses the method for the harvester remote upgrade of telecommunication channel, belongs to power information and gathers field.
Background technology
State Grid Corporation of China's power information acquisition system is built all standing target and is the most substantially realized, the flood tide harvester contained in power information acquisition system does not possess telecommunication channel, any defect of harvester application program or what's new demand are all difficult to be solved by the remote upgrade method of telecommunication channel, but need field upgrade or the on-the-spot method changed to solve or possess that the harvester efficiency of remote upgrade function is low or whether harvester is not upgraded successfully and be managed by concentrator, any defect of collector program or what's new demand all can cause huge maintenance workload, huge manpower need to be put into, material resources and financial resources could solve.Harvester does not possess the defect of remote upgrade and often limits the extension of harvester business, is unfavorable for that power information acquisition system construction leads improvement stage evolution of objective.
According to the applicant understood, for the problem of low-voltage power carrier type harvester upgrading, current processing scheme is: upgrade harvester one by one in (1) scene;(2) the on-the-spot harvester Huo Tai district that changes one by one sets up the method for harvester under control device upgrading platform district;(3) field apparatus possesses low voltage power line carrier remote upgrade function, but updating speed is slow, efficiency is low, and harvester remote upgrade success or not is not managed by concentrator.Though such scheme can solve the problem that the upgrade problem of harvester, but there are the following problems: harvester dispersion and quantity are big, and field maintenance workload is huge, need to put into huge human and material resources and financial resources;The harvester not possessing remote upgrade is difficult to meet State Grid Corporation of China's new business demand;Possessing the harvester of remote upgrade, updating speed is slow, efficiency is low, and whether harvester is not upgraded successfully and be managed by concentrator, it is impossible to accomplish that all harvesters very upgrade successfully.
Summary of the invention
It is an object of the invention to: the problem existed for above-mentioned prior art, mode by concentrator long-range GPRS communication channel and low-voltage power bandwidth carrier communication channel speed advantage and compression upgrade file minimizing data interaction solves bandwidth carrier harvester remote upgrade and the problem rising stage efficiency, huge on-site maintenance work that harvester because of business demand increase or function imperfection cause is greatly lowered, leads the new business demand of improvement stage to solve on-the-spot O&M problem and data quality problem for State Grid Corporation of China's power information acquisition system construction.
In order to reach object above, a kind of compressing file remote upgrade method of the multistage transmission of based on bandwidth carrier harvester of the present invention, in the system built by the harvester of a concentrator, some collection electric energy meter data, described harvester is communicated to connect with concentrator by bandwidth carrier local communi-cation channel, and set up the remote interaction passage between main website by the up GPRS channel of concentrator, described remote upgrade method runs as follows:
The application file of concentrator or harvester is divided into some sections according to concentrator uplink communication greatest length, and is sent to concentrator by GPRS passage piecemeal by step one, download main website;
Whether each section of application file that the segmentation that step 2, concentrator automatic Verification receive is downloaded is downloaded successfully, such as "No", then continues to download;Such as "Yes", then carry out next step;
Step 3, concentrator judge whether application file is downloaded to be terminated, and such as "No", then continues to download;Such as "Yes", then carry out next step;
Step 4, concentrator judge to download whether the application file type terminated is concentrator application file, such as "Yes", then start the upgrading of concentrator self program, terminate this and run after completing upgrading;Such as "No", then carry out next step;
Step 5, concentrator judge to download whether the application file type terminated is harvester application file, such as "No", then terminate this and run;Such as "Yes", then compress and after the section of being divided into, use broadcast address load mode to be sequentially transmitted each harvester piecemeal by bandwidth carrier communication channel
Step 6, concentrator transmit successful application file hop count record according to harvester document query to each harvester, then judge whether harvester receives successfully;Such as "Yes", then carry out step 8, such as "No", then carry out next step;
Step 7, concentrator use single-address load mode to not receiving the breakpoint transmission of the successful harvester section of disappearance accordingly, until harvester receives successfully;
Step 8, verify each harvester and whether make its version updating by upgrading after decompressing corresponding application file, such as "Yes", then terminate this and run;Such as "No", then carry out next step;
Step 9, concentrator use single-address load mode, and the harvester not updated version by platform transmits corresponding application file, until harvester receives and upgrades successfully, terminate this and run.
The preferred version of the present invention is:
Preferably, in step 2, concentrator is according to the verification of every segment file and comes whether automatic Verification is downloaded successfully.
Preferably, after step 2 is downloaded successfully, application file is stored download extra buffer.
Preferably, in step 3, according to File header information, concentrator judges whether file download terminates.
Preferably, in step 5, zlib algorithm is used to be compressed.
Preferably, after compression, the application file of harvester is again split by concentrator again according to local communi-cation channel rule.
Preferably, concentrator splits harvester application file again according to 1376.2 rule schematas.
Preferably, described concentrator model is DJGZ23, and harvester model is DCZL14.
The operation logic of the present invention is: by concentrator, in the system that harvester and electric energy meter build, the remote interaction passage between upgrading main website set up by described harvester by means of concentrator up GPRS channel, harvester application program is downloaded in concentrator, the type of the automatic recognition application of concentrator, when application program is collector program, harvester application program is first utilized zlib to increase income compression algorithm by concentrator, file is compressed by compression ratio 50%, harvester size of application programs is greatly decreased, then, concentrator uses broadcast by the physical topology relation between concentrator harvester or point-to-point to harvester upgrading, application program self-extracting is carried out after harvester automatic Verification application program, finally, start Automatic Program to update, realize the remote upgrade of the multistage transmission of harvester.
Present invention have the beneficial effect that existing low-voltage power line narrowband carrier harvester is safeguarded owing to own channel weakness cannot be carried out remote upgrade, once collector program goes wrong or new business demand, purpose of upgrading can only be reached by the form of this locality replacing harvester, and bandwidth carrier harvester can be by the remote upgrade mode of multistage transmission, the maintenance workload of program upgrading that harvester because of a variety of causes cause is greatly reduced, a large amount of human and material resources and financial resources of saving, applicable popularization;Owing to the present invention carrying out the multistage transmission of file by concentrator GPRS telecommunication channel and bandwidth carrier local communi-cation channel, remote upgrade mode is used to substitute traditional local replacing harvester or the mode of local upgrade harvester, be conducive to the enforcement of power information acquisition system new business extension demand, entering in power information acquisition system construction leads the improvement stage to lay product technology basis, is suitable for promoting;The present invention, with low-voltage power bandwidth carrier for harvester and concentrator communication channel, possesses communication speed height, operating frequency width, has obvious advantage than traditional low-voltage power narrowband carrier, is suitable for promoting.Concentrator is by means of the physical topology relation between concentrator-harvester, harvester is carried out updating and management, can effectively record harvester whether to upgrade successfully, and the strategy that the harvester not upgraded successfully repeatedly upgraded, and the version information after being upgraded by harvester feeds back to main website, effectively improve management and the maintenance work of harvester upgrading, be suitable for promoting.The present invention uses zlib to be compressed upgrade file, compression ratio 50%, and upgrade file size is greatly reduced, and reduces upgrading interaction, adds bandwidth carrier speed advantage, effectively improve the efficiency of harvester remote upgrade.
Therefore, the compressing file remote upgrade method of the multistage transmission of harvester based on bandwidth carrier, solving conventional low power line narrow band carrier harvester cannot the problem such as remote upgrade or remote upgrade speed is slow, efficiency is low and whether harvester is not upgraded successfully by concentrator management, provide remote upgrade means for power information acquisition system O&M and operation expanding, enter the technical guarantee leading the operation expanding of improvement stage to provide necessity for power information acquisition system.
Accompanying drawing explanation
The present invention is further illustrated below in conjunction with the accompanying drawings.
Fig. 1 is the basic operation logic FB(flow block) of the present invention.
Detailed description of the invention
Embodiment one
A kind of compressing file remote upgrade method of the multistage transmission of based on bandwidth carrier harvester of the present embodiment, control flow is as shown in Figure 1: in the system built by a concentrator, Q harvester gathering electric energy meter data, harvester is communicated to connect with concentrator by bandwidth carrier local communi-cation channel, and set up the remote interaction passage between main website by the up GPRS channel of concentrator, when the application program of harvester needs upgrading, escalation process runs as follows:
The application file of concentrator or harvester i.e. less than 1024 bytes according to concentrator uplink communication greatest length, is divided into N section, and is sent to concentrator by GPRS passage piecemeal by step one, download main website
Step 2, the verification of concentrator automatic Verification the i-th segment file and, verify and download main website this segment file by rear notice and downloads successfully, and file is stored download extra buffer.File download transmission frame format defines file type, file size and file verification and etc. associated documents header, concentrator the most all terminates according to File header information automatic decision file download.
Step 3, concentrator judge whether application file is downloaded to be terminated, and such as "No", then orders i=i+1;Continue repeated downloads step;I.e. i=N at the end of file download is whole, the whole file of concentrator automatic Verification, when file verification is successfully entered next step;Such as "Yes", then carry out next step;When file verification failure, then concentrator notice downloads main website failed download, and download end.
Step 4, concentrator judge to download whether the application file type terminated is concentrator application file, and 01H represents concentrator program, such as "Yes", then start the upgrading of concentrator self program, terminate this and run after completing upgrading;Such as "No", then carry out next step;
Step 5, concentrator judge to download whether the application file type terminated is harvester application file, and 05H represents collector program;Such as "No", then terminate this and run;As " be ", harvester application program employing zlib algorithm is compressed by concentrator, and size of application programs is greatly reduced, and the most automatically splitting this collector program file further according to concentrator local communi-cation channel communication greatest length is M section.Local carrier communication channel communication message length is shorter than up GPRS communication channel, and the present invention is 512 bytes to the maximum according to communication message length;Again collector program file is split according to 1376.2 rule schematas.Compress and after the section of being divided into, use broadcast address load mode to be sequentially transmitted each harvester piecemeal by bandwidth carrier communication channel;Terminate when each file section j of collector program downloads, then order j=j+1;Continue repeated downloads step.
Step 6, concentrator from maintenance or automatically obtain the harvester archives being under the jurisdiction of under concentrator and lower the connect electric energy meter archives of harvester by timing immediately from maintenance function;Concentrator transmits successful application file hop count record according to harvester document query to each harvester, then judges that harvester the most all receives successfully;Such as "Yes", then carry out step 8, such as "No", then carry out next step;
Step 7, concentrator use single-address load mode to not receiving the breakpoint transmission of the successful harvester section of disappearance accordingly, until harvester all receives successfully;
Step 8, verify each harvester and whether make its version updating by upgrading after decompressing corresponding application file, such as "Yes", then terminate this and run;Such as "No", then carry out next step.The version information that concentrator inquires about each collector program file section automatically according to the harvester archives in concentrator is the most all upgraded;As all upgraded, then EP (end of program);
Step 9, if any the harvester version not being updated successfully, then the harvester to unsuccessful upgrading carries out single-address and re-downloads, and whether inquiry version successfully upgrades again, until all collector program are all upgraded, then downloads and all terminates.
The concentrator model of the present invention is DJGZ23, and harvester model is DCZL14.
In addition to the implementation, the present invention can also have other embodiments.The technical scheme that all employing equivalents or equivalent transformation are formed, all falls within the protection domain of application claims.

Claims (8)

1. the compressing file remote upgrade of the multistage transmission of harvester based on bandwidth carrier Method, built by the harvester of a concentrator, some collection electric energy meter data be In system, described harvester is communicated to connect with concentrator by bandwidth carrier local communi-cation channel, And the remote interaction between download main website is set up by the up GPRS channel of concentrator Passage, runs after described concentrator is online as follows:
Step one, download main website according to concentrator uplink communication greatest length by concentrator or The application file of harvester is divided into some sections, and is sent by GPRS passage piecemeal To concentrator;
The each section of application program that the segmentation that step 2, concentrator automatic Verification receive is downloaded Whether file is downloaded successfully, such as "No", then continues to download;Such as "Yes", then under carrying out One step;
Step 3, concentrator judge whether application file is downloaded to be terminated, such as "No", Then continue to download;Such as "Yes", then carry out next step;
Step 4, concentrator judge to download whether the application file type terminated is collection Middle device application file, such as "Yes", then starts the upgrading of concentrator self program, completes Terminate this after upgrading to run;Such as "No", then carry out next step;
Step 5, concentrator judge whether to download the application file type terminated for adopting Storage application file, such as "No", then terminates this and runs;Such as "Yes", then press After the section of being divided into that contracts, use broadcast address load mode by bandwidth carrier communication channel It is sequentially transmitted each harvester piecemeal;
Step 6, concentrator transmit successfully to each harvester according to harvester document query Application file hop count record, then judge whether harvester receives successfully;Such as "Yes", Then carry out step 8, such as "No", then carry out next step;
Step 7, concentrator use single-address load mode to not receiving successful harvester The breakpoint transmission of the section of disappearance accordingly, until harvester receives successfully;
Step 8, verify each harvester whether by decompressing corresponding application file after Upgrade and make its version updating, such as "Yes", then terminate this and run;Such as "No", then Carry out next step;
Step 9, concentrator use single-address load mode, do not update to version by platform Harvester transmits corresponding application file, until harvester receives and upgrades successfully, Terminate this to run.
The file of the multistage transmission of harvester based on bandwidth carrier the most according to claim 1 Compression remote upgrade method, it is characterised in that: in step 2, concentrator is according to every segment file Verification and come whether automatic Verification is downloaded successfully.
The literary composition of the multistage transmission of harvester based on bandwidth carrier the most according to claim 2 Part compression remote upgrade method, it is characterised in that: after step 2 is downloaded successfully, journey will be applied Preface part stores download extra buffer.
The literary composition of the multistage transmission of harvester based on bandwidth carrier the most according to claim 1 Part compression remote upgrade method, it is characterised in that: in step 3, concentrator is according to file Header judges whether file download terminates.
The literary composition of the multistage transmission of harvester based on bandwidth carrier the most according to claim 1 Part compression remote upgrade method, it is characterised in that: in step 5, concentrator uses zl ib The application file of harvester is compressed by algorithm.
The literary composition of the multistage transmission of harvester based on bandwidth carrier the most according to claim 5 Part compression remote upgrade method, it is characterised in that: after compression, concentrator answering harvester again Again split according to local communi-cation channel rule with program file.
The literary composition of the multistage transmission of harvester based on bandwidth carrier the most according to claim 6 Part compression remote upgrade method, it is characterised in that: concentrator is according to 1376.2 rule schemata weights New segmentation harvester application file.
8. multistage according to the harvester based on bandwidth carrier described in any one of claim 1-7 The compressing file remote upgrade method of transmission, it is characterised in that: described concentrator model is DJGZ23, harvester model is DCZL14.
CN201510632936.0A 2015-09-29 2015-09-29 The compressing file remote upgrade method of the multistage transmission of harvester based on bandwidth carrier Active CN105139623B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510632936.0A CN105139623B (en) 2015-09-29 2015-09-29 The compressing file remote upgrade method of the multistage transmission of harvester based on bandwidth carrier

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510632936.0A CN105139623B (en) 2015-09-29 2015-09-29 The compressing file remote upgrade method of the multistage transmission of harvester based on bandwidth carrier

Publications (2)

Publication Number Publication Date
CN105139623A CN105139623A (en) 2015-12-09
CN105139623B true CN105139623B (en) 2016-10-05

Family

ID=54724950

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510632936.0A Active CN105139623B (en) 2015-09-29 2015-09-29 The compressing file remote upgrade method of the multistage transmission of harvester based on bandwidth carrier

Country Status (1)

Country Link
CN (1) CN105139623B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105573804A (en) * 2015-12-25 2016-05-11 无锡市百川科技股份有限公司 Method for updating multilevel system program in lead-acid storage battery inner formation busbar type charge/discharge motor unit network
CN106933616A (en) * 2017-01-17 2017-07-07 成都华立达电力信息系统有限公司 Remote upgrade method based on bandwidth carrier
CN107453925A (en) * 2017-09-21 2017-12-08 山东康威通信技术股份有限公司 Remote firmware updating method and cloud platform based on multistage communication platform
CN110474937A (en) * 2018-05-09 2019-11-19 深圳企业云科技股份有限公司 Super large file fragmentation continuous transmission method and its system
CN110764801B (en) * 2019-09-29 2024-02-27 国网湖南省电力有限公司 Remote upgrading method and device for high-speed power line carrier
CN110708379A (en) * 2019-10-09 2020-01-17 国网宁夏电力有限公司电力科学研究院 Data acquisition method, concentrator, data acquisition system and readable storage medium
CN111817873A (en) * 2020-05-20 2020-10-23 中国电力科学研究院有限公司 Energy router remote upgrading method and system based on HPLC communication
CN117060575B (en) * 2023-07-06 2024-03-29 珠海市深瑞智联科技有限公司 Remote-upgrading power transmission line dynamic capacity-increasing on-line monitoring system and upgrading method thereof

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8898748B2 (en) * 2009-05-21 2014-11-25 Mobile Iron, Inc. Remote verification for configuration updates
CN102376153B (en) * 2011-11-15 2017-05-31 深圳市科陆电子科技股份有限公司 The method of collector and carrier wave meter remote upgrade in automatic meter reading system
CN202818374U (en) * 2012-05-15 2013-03-20 珠海辉煌电力科技有限公司 Remote batch collector terminal upgrading system
CN203433667U (en) * 2013-09-18 2014-02-12 国家电网公司 Broadband carrier meter-reading module based on power line carrier communication
CN203689676U (en) * 2014-01-23 2014-07-02 国家电网公司 Collector with remote power line carrier upgrading function

Also Published As

Publication number Publication date
CN105139623A (en) 2015-12-09

Similar Documents

Publication Publication Date Title
CN105139623B (en) The compressing file remote upgrade method of the multistage transmission of harvester based on bandwidth carrier
CN102098590B (en) Automatic upgrading method and system of firmware version of optical network unit
CN106781414A (en) A kind of platform area network topology dynamic self-adapting method based on bandwidth carrier
CN102073527B (en) Method and device for updating input method word stock
CN103379136A (en) Compression method and decompression method of log acquisition data, compression apparatus and decompression apparatus of log acquisition data
CN101197773B (en) Packet compressed transmitting and received de-compression method and system based on multilink
CN105183496A (en) Method for automatically upgrading and pushing software based on domestic CPU and operating system
CN106933616A (en) Remote upgrade method based on bandwidth carrier
CN102176726A (en) Address self-adaption method in electric energy meter information acquisition system
CN109088851A (en) The data compression method of power information acquisition
CN107659629B (en) Efficient electric power archive synchronization method suitable for electricity consumption information acquisition system
CN102857380A (en) Remote upgrading method for power line carrier communication routing
CN110751382A (en) Operating system of high-efficiency energy Internet
CN104701982B (en) A kind of method for carrying out automatic upgrading to distribution line monitoring terminal
CN103532595B (en) Based on the power equipment software upgrade method of power carrier
CN102118709B (en) Method and system for increasing format conversion efficiency in group multimedia message sending service
CN101902613A (en) Information synchronization method and system, set top box and server in IPTV (Internet Protocol Television) system
CN116155720A (en) CAN data acquisition remote configuration method in T-BOX
CN102075584A (en) Distributed file system and access method thereof
CN204791487U (en) Long -range collection system of electric energy meter data based on satellite communication
CN107707411A (en) The upgrade method and system of a kind of EPON
CN107817997A (en) Solves the method for upgrading software for causing upgrading to fail for Insufficient disk space
CN102325189A (en) Embedded system data remote upgrading method
CN105553625A (en) Remote channel message compression method and system for electricity consumption collection system
CN101540613B (en) Data compression method and device thereof

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
TR01 Transfer of patent right

Effective date of registration: 20240117

Address after: No. 128, Jiangjun Avenue, Jiangning District, Nanjing, Jiangsu 210000

Patentee after: JIANGSU SUYUAN GUANGYI SCIENCE & TECHNOLOGY Co.,Ltd.

Address before: No.86 runqi Road, Dongshan street, Jiangning District, Nanjing City, Jiangsu Province 211103

Patentee before: ELEFIRST SCIENCE & TECH Co.,Ltd.

TR01 Transfer of patent right