CN112118076B - Method for online extension of 645 protocol collector function by using transparent transmission mode - Google Patents

Method for online extension of 645 protocol collector function by using transparent transmission mode Download PDF

Info

Publication number
CN112118076B
CN112118076B CN202010977141.4A CN202010977141A CN112118076B CN 112118076 B CN112118076 B CN 112118076B CN 202010977141 A CN202010977141 A CN 202010977141A CN 112118076 B CN112118076 B CN 112118076B
Authority
CN
China
Prior art keywords
protocol
check
transparent transmission
collector
checking
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
CN202010977141.4A
Other languages
Chinese (zh)
Other versions
CN112118076A (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.)
Shanghai High Flying Electronics Technology Co ltd
Original Assignee
Shanghai High Flying Electronics Technology 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 Shanghai High Flying Electronics Technology Co ltd filed Critical Shanghai High Flying Electronics Technology Co ltd
Priority to CN202010977141.4A priority Critical patent/CN112118076B/en
Publication of CN112118076A publication Critical patent/CN112118076A/en
Application granted granted Critical
Publication of CN112118076B publication Critical patent/CN112118076B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0061Error detection codes

Abstract

The invention relates to the technical field of distribution automation, in particular to a method for expanding 645 protocol collector functions on line by using a transparent transmission mode. The method comprises the following steps: s1, checking the normal communication consistency of a 645 protocol collector by using a verification sequence, and storing a check result to form a consistency check test result sequence; s2, carrying out abnormal verification on the abnormity detected by the normal communication consistency, storing a verification result and forming an abnormal verification test result sequence; s3, checking the abnormal checking test result sequence to check and verify whether the processing when the normal state of different nodes is converted into the abnormal state is correct or not; the invention expands the function of the 645 protocol collector in an online mode of transparent transmission, can ensure that the length and the content of data of a sender and a receiver are completely consistent without any processing on the data, and ensures the stability and the accuracy of the function expansion process.

Description

Method for online extension of 645 protocol collector function by using transparent transmission mode
Technical Field
The invention relates to the technical field of distribution automation, in particular to a method for expanding 645 protocol collector functions on line by using a transparent transmission mode.
Background
In order to adapt to the development of market demands, the national electrical instruments and meters standard committee establishes an automatic meter reading system national standard drafting work group in 10 months in 2000, and starts drafting an automatic meter reading system national standard. The IEC62056 standard of the international electrotechnical commission is preliminarily determined to be adopted as the standard of the communication protocol of the carrier meter reading system in China. Along with the continuous development of the intelligent electric meter, the functions of the protocol collector are also continuously expanded, but the expansion of the functions is generally realized by program function expansion in a data line mode, so that the efficiency is low, and the online expansion cannot be realized.
Disclosure of Invention
The invention aims to provide a method for expanding 645 protocol collector functions on line by using a transparent transmission mode so as to solve the problems in the background technology.
In order to solve the above technical problems, an object of the present invention is to provide a method for online expanding 645 protocol collector functions in a transparent transmission manner, wherein the method includes the following steps:
s1, checking the normal communication consistency of a 645 protocol collector by using a verification sequence, and storing a check result to form a consistency check test result sequence;
s2, carrying out abnormal verification on the abnormity detected by the normal communication consistency, storing a verification result and forming an abnormal verification test result sequence;
s3, checking the abnormal checking test result sequence to check and verify whether the processing when the normal state of different nodes is converted into the abnormal state is correct or not;
s4, after the processing of checking that the normal states of different nodes are converted into the abnormal states is correct, obtaining a service instance provided by a 645 protocol collector by using a plug-in;
s5, sending the main classes of the self function description and the realization function to a 645 protocol collector in a transparent transmission mode, and storing the main classes in a mapping table;
s6: and describing the detailed parameters of the main class, and generating a functional program in a 645 protocol collector after debugging.
As a preferred technical scheme of the invention: in the S1, the normal communication consistency is checked: the method comprises the following steps: the protocol start check, the protocol stop check, the message type check, the transmission process check, the message extension check and the event processing message check.
As a preferred technical scheme of the invention: in S3, the verifying whether the processing performed when the normal state of the different node is converted into the abnormal state is correct specifically includes: and checking whether the combination of one or more items of protocol exception starting, protocol exception interruption, error message processing, communication exception influence and illegal message control of the distribution automation standardized extension communication protocol is correct one by one.
As a preferred technical scheme of the invention: the obtaining of the service instance provided by the 645 protocol collector by using the plug-in S4 specifically includes:
s4.1: selecting a component instance node by using a selector, and returning a matched first component instance object;
s4.2: and selecting the component instance node by using the selector, and returning the array consisting of all the matched component instance objects.
As a preferred technical scheme of the invention: the transparent transmission mode in the step S5 specifically includes:
s5.1: the client requests the IP;
s5.2: the server responds;
s5.3: the client selects the IP;
s5.4: the server determines the lease.
As a preferred technical scheme of the invention: the 645 protocol collector at least comprises: the system comprises a wireless communication module, a singlechip and an SIM card seat;
the wireless communication module comprises a data acquisition submodule and a data sending submodule, the data acquisition submodule is used for acquiring electric energy data according to a standard power protocol, and the data sending submodule is used for sending the acquired electric energy data to a master station corresponding to the electric energy information acquisition terminal;
the SIM card seat is electrically connected with the data sending submodule and is used for installing a 2G or 3G SIM card;
the single chip microcomputer is electrically connected with the wireless communication module and used for controlling the wireless communication module to acquire and send electric energy data.
Compared with the prior art, the invention has the following beneficial effects:
the invention expands the function of the 645 protocol collector in an online mode of transparent transmission, can ensure that the data length and content of a sender and a receiver are completely consistent without any processing on the data, can obtain the service instance provided by the 645 protocol collector in advance, and ensures the stability and accuracy of the function expansion process.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention provides a method for expanding 645 protocol collector functions on line by using a transparent transmission mode, which comprises the following steps:
s1, checking the normal communication consistency of a 645 protocol collector by using a verification sequence, and storing a check result to form a consistency check test result sequence;
s2, carrying out exception checking on the exception detected by the normal communication consistency, and storing a checking result to form an exception checking test result sequence;
s3, checking the abnormal checking test result sequence to check and verify whether the processing is correct when the normal state of different nodes is converted into the abnormal state;
s4, after the processing of the verification that the normal state of different nodes is converted into the abnormal state is correct, obtaining a service instance provided by a 645 protocol collector by using a plug-in;
s5, sending the main classes of the self function description and the realization function to a 645 protocol collector in a transparent transmission mode, and storing the main classes in a mapping table;
s6: and describing the detailed parameters of the main class, and generating a functional program in a 645 protocol collector after debugging.
In this embodiment: in the S1, the normal communication consistency is checked: the method comprises the following steps: a combination of one or more of protocol start check, protocol stop check, message type check, transmission process check, message extension check, and event handling message check.
In this embodiment: in S3, the verifying whether the processing performed when the normal state of the different nodes is converted into the abnormal state is correct specifically includes: and checking whether the combination of one or more items of protocol exception starting, protocol exception interruption, error message processing, communication exception influence and illegal message control of the distribution automation standardized extension communication protocol is correct one by one.
In this embodiment: the service instance provided by the collector for obtaining 645 conventions by using plug-ins in S4 specifically includes:
s4.1: selecting a component instance node by using a selector, and returning a matched first component instance object;
s4.2: and selecting the component instance node by using the selector, and returning the array consisting of all the matched component instance objects.
The specific algorithm is as follows:
Figure BDA0002686155620000041
Figure BDA0002686155620000051
Figure BDA0002686155620000061
Figure BDA0002686155620000071
in this embodiment: the transparent transmission mode in S5 specifically includes:
s5.1: the client requests the IP;
s5.2: the server responds;
s5.3: the client selects the IP;
s5.4: the server determines the lease.
In this embodiment, the transparent transmission mode is exemplified by an ethernet serial port, and the ARP packet includes an ethernet destination address + an ethernet source address + a frame type + an option + a sender MAC + a sender IP + a destination MAC + a destination IP.
In this embodiment: the 645 protocol collector at least includes: the system comprises a wireless communication module, a singlechip and an SIM card seat;
the wireless communication module comprises a data acquisition submodule and a data sending submodule, the data acquisition submodule is used for acquiring electric energy data according to a standard power protocol, and the data sending submodule is used for sending the acquired electric energy data to a master station corresponding to the electric energy information acquisition terminal;
the SIM card seat is electrically connected with the data sending submodule and is used for installing a 2G or 3G SIM card;
the single chip microcomputer is electrically connected with the wireless communication module and used for controlling the wireless communication module to acquire and transmit electric energy data.
It will be understood by those skilled in the art that all or part of the steps of implementing the above embodiments may be implemented by hardware, or may be implemented by hardware related to instructions of a program, and the program may be stored in a computer readable storage medium, where the above mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The foregoing shows and describes the general principles, principal features, and advantages of the invention. It will be understood by those skilled in the art that the present invention is not limited to the embodiments described above, and the preferred embodiments of the present invention are described in the above embodiments and the description, and are not intended to limit the present invention. The scope of the invention is defined by the appended claims and equivalents thereof.

Claims (5)

1. A method for on-line expanding 645 protocol collector function by using transparent transmission mode is characterized in that: the method comprises the following steps:
s1, checking the normal communication consistency of a 645 protocol collector by using a verification sequence, and storing a check result to form a consistency check test result sequence;
s2, carrying out abnormal verification on the abnormity detected by the normal communication consistency, storing a verification result and forming an abnormal verification test result sequence;
s3, checking the abnormal checking test result sequence to check and verify whether the processing of the normal state of the different nodes converted into the abnormal state is correct, wherein the checking and verifying whether the processing of the normal state of the different nodes converted into the abnormal state is correct specifically comprises the following steps: checking one by one whether the processing of one or more combinations in protocol exception starting, protocol exception interruption, error message processing, communication exception influence and illegal message control of the distribution automation standardized extension communication protocol is correct or not;
s4, after the processing of the verification that the normal state of different nodes is converted into the abnormal state is correct, obtaining a service instance provided by a 645 protocol collector by using a plug-in;
s5, sending the main classes of the self function description and the realization function to a 645 protocol collector in a transparent transmission mode, and storing the main classes in a mapping table;
s6: and describing the detailed parameters of the main class, and generating a functional program in a 645 protocol collector after debugging.
2. The method for online extension of 645 protocol collector functions by using the transparent transmission manner according to claim 1, characterized in that: in S1, the checking for normal communication consistency includes: a combination of one or more of protocol start check, protocol stop check, message type check, transmission process check, message extension check, and event handling message check.
3. The method for online extension of a 645 protocol collector function by using a transparent transmission manner according to claim 1, wherein: the obtaining of the service instance provided by the 645 protocol collector by using the plug-in S4 specifically includes:
s4.1: selecting a component instance node by using a selector, and returning a matched first component instance object;
s4.2: and selecting the component instance node by using the selector, and returning the array consisting of all the matched component instance objects.
4. The method for online extension of 645 protocol collector functions by using the transparent transmission manner according to claim 3, wherein: the transparent transmission mode in S5 specifically includes:
s5.1: the client requests IP;
s5.2: the server responds;
s5.3: the client selects the IP;
s5.4: the server determines the lease.
5. The method for online extension of 645 protocol collector functions by means of transparent transmission according to claim 4, wherein: the 645 protocol collector at least comprises: the system comprises a wireless communication module, a singlechip and an SIM card seat;
the wireless communication module comprises a data acquisition submodule and a data sending submodule, the data acquisition submodule is used for acquiring electric energy data according to a standard power protocol, and the data sending submodule is used for sending the acquired electric energy data to a master station corresponding to the electric energy information acquisition terminal;
the SIM card seat is electrically connected with the data sending submodule and is used for installing a 2G or 3G SIM card;
the single chip microcomputer is electrically connected with the wireless communication module and used for controlling the wireless communication module to acquire and send electric energy data.
CN202010977141.4A 2020-09-17 2020-09-17 Method for online extension of 645 protocol collector function by using transparent transmission mode Active CN112118076B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010977141.4A CN112118076B (en) 2020-09-17 2020-09-17 Method for online extension of 645 protocol collector function by using transparent transmission mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010977141.4A CN112118076B (en) 2020-09-17 2020-09-17 Method for online extension of 645 protocol collector function by using transparent transmission mode

Publications (2)

Publication Number Publication Date
CN112118076A CN112118076A (en) 2020-12-22
CN112118076B true CN112118076B (en) 2022-11-29

Family

ID=73803626

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010977141.4A Active CN112118076B (en) 2020-09-17 2020-09-17 Method for online extension of 645 protocol collector function by using transparent transmission mode

Country Status (1)

Country Link
CN (1) CN112118076B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104951341A (en) * 2015-06-18 2015-09-30 烟台东方威思顿电气股份有限公司 Method for remotely upgrading collector
CN107967801A (en) * 2017-12-25 2018-04-27 东华理工大学 A kind of energy measurement data online acquisition and monitoring method and system
CN109039778A (en) * 2018-09-13 2018-12-18 卡斯柯信号有限公司 A kind of ac and dc current intelligent comprehensive collector
CN109167701A (en) * 2018-08-22 2019-01-08 国电南瑞科技股份有限公司 A kind of power distribution automation standardized extensions communication protocol consistency desired result method, apparatus and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1973213B1 (en) * 2007-03-22 2017-12-06 Abb Research Ltd. Validating a standardized configuration description

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104951341A (en) * 2015-06-18 2015-09-30 烟台东方威思顿电气股份有限公司 Method for remotely upgrading collector
CN107967801A (en) * 2017-12-25 2018-04-27 东华理工大学 A kind of energy measurement data online acquisition and monitoring method and system
CN109167701A (en) * 2018-08-22 2019-01-08 国电南瑞科技股份有限公司 A kind of power distribution automation standardized extensions communication protocol consistency desired result method, apparatus and system
CN109039778A (en) * 2018-09-13 2018-12-18 卡斯柯信号有限公司 A kind of ac and dc current intelligent comprehensive collector

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
电子式电能表通信规约自动检验系统的研制及应用;李刚等;《广西电力》;20090630(第03期);全文 *

Also Published As

Publication number Publication date
CN112118076A (en) 2020-12-22

Similar Documents

Publication Publication Date Title
CN108965374A (en) Integrated monitoring apparatus, comprehensive monitoring and controlling method and storage medium
CN113066276A (en) Communication fault monitoring method and device for electricity consumption information acquisition system and storage medium
CN111768608B (en) Data transmission method and device based on double-core intelligent electric meter and computer equipment
CN110677211B (en) Time synchronization method and device and power acquisition terminal
CN112034410A (en) Detection tool module of multi-core modular electric energy meter
CN112436601B (en) Information flow processing method of intelligent substation, computer equipment and storage medium
CN106844432A (en) Data processing method and device
CN111597083B (en) Testing system of intelligent terminal
CN101452631A (en) Test method and system for management terminal of power use
CN112118076B (en) Method for online extension of 645 protocol collector function by using transparent transmission mode
CN110868458A (en) Communication method and device for stable control system
CN113722340A (en) Processing method and system for remote automatic point table updating based on power distribution device
CN106878404B (en) Centralized meter reading method based on feature codes
CN112614331A (en) Method for reading electric energy meter event and electric energy meter event reading system
CN115378841B (en) Method and device for detecting state of equipment accessing cloud platform, storage medium and terminal
CN111751614A (en) Non-invasive electricity consumption data testing system and method based on ModBus
CN106855850A (en) Based on portable equipment intelligent substation secondary void terminal figure reality symbol detection method
CN112581307B (en) Interactive method and system for realizing plug and play of intelligent sensor
CN103731330A (en) Calibration data communication device and communication method
CN114039629A (en) Metering equipment carrier communication module test method, system and storage medium
CN116094546A (en) HPLC module fault identification method and device
CN116505558B (en) Control method and device for intelligent household electricity, computer equipment and storage medium
US11754419B2 (en) Auto-detection of communication module protocol in utility metering systems
CN212623047U (en) Detection tool module of multi-core modular electric energy meter
CN113595808B (en) Work order quality inspection method, system and server

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
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder

Address after: Building 17, No. 1500, Zuchongzhi Road, Pudong New Area Pilot Free Trade Zone, Shanghai, 201210

Patentee after: SHANGHAI HIGH-FLYING ELECTRONICS TECHNOLOGY Co.,Ltd.

Address before: Room 1002, building a, building 1, No. 3000, Longdong Avenue, Pudong New Area, Shanghai, 200135

Patentee before: SHANGHAI HIGH-FLYING ELECTRONICS TECHNOLOGY Co.,Ltd.

CP02 Change in the address of a patent holder