CN108141464A - A kind of communication protocol parsing code automatic generation method and system - Google Patents

A kind of communication protocol parsing code automatic generation method and system Download PDF

Info

Publication number
CN108141464A
CN108141464A CN201780002446.XA CN201780002446A CN108141464A CN 108141464 A CN108141464 A CN 108141464A CN 201780002446 A CN201780002446 A CN 201780002446A CN 108141464 A CN108141464 A CN 108141464A
Authority
CN
China
Prior art keywords
communication protocol
code
information
protocol
control instruction
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.)
Granted
Application number
CN201780002446.XA
Other languages
Chinese (zh)
Other versions
CN108141464B (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.)
Shenzhen ZTE Netview Technology Co Ltd
Shenzhen ZNV Technology Co Ltd
Original Assignee
Shenzhen ZTE Netview 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 Shenzhen ZTE Netview Technology Co Ltd filed Critical Shenzhen ZTE Netview Technology Co Ltd
Publication of CN108141464A publication Critical patent/CN108141464A/en
Application granted granted Critical
Publication of CN108141464B publication Critical patent/CN108141464B/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
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/03Protocol definition or specification 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/06Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]

Abstract

The invention discloses a kind of communication protocol parsing code automatic generation method and systems, and the method comprising the steps of:According to equipment communication protocol, the corresponding protocol profile of the communication protocol is generated;It reads and analyzes protocol profile, get data query configuration information, control instruction configuration information and monitoring variable the parsing information of equipment communication protocol;Generate data query instruction code, control instruction code and monitoring variable parsing code;Data query instruction code, control instruction code and monitoring variable are parsed into code, combination forms equipment communication protocol parsing code.Communication protocol parsing code automatic generation method disclosed by the invention and system, realize communication protocol parsing Code automatic build, the unified communication protocol parsing code of style, dissection process can be quickly generated, it can also ensure that the accuracy of communication protocol parsing, while improve the maintainability of protocol code.

Description

A kind of communication protocol parsing code automatic generation method and system
Technical field
The present invention relates to dynamic environment monitoring technical field more particularly to a kind of communication protocol parsing Code automatic build sides Method and system.
Background technology
Modbus communication protocols are a kind of all-purpose languages being applied on electronic controller (smart machine), have become one Kind current industry standard.By this agreement, controller is mutual, controller is via network (such as Ethernet) and miscellaneous equipment Between can communicate.
In order to realize access to the power-equipment for providing Modbus agreements, power & environment supervision industry (i.e. supervise by dynamic environment at present Control industry) common practice be first realize for Modbus agreements frame, in this frame foundation, into line command recycle send out It send and data parsing, every class Modbus equipment is both needed to carry out protocol analysis exploitation according to Modbus agreements stipulations.
There are the following problems for the exploitation of Modbus communication protocols parsing at present:
1) heavy workload:Each new equipment is both needed to be developed into line command transmission, parsing code by developer.
2) it is error-prone:Code by manually being write, often replicate, paste code, relevant variable do not modify and Cause to parse abnormal problem.
3) code maintenance is complicated:If equipment communication protocol is upgraded or device talk goes wrong when being safeguarded, Equipment Modbus communication protocols need to be read again, be understood, and modified or debug again with reference to source code.
4) code specification difficulty is unified:The code retraction of different agreement developer, call method etc. are difficult to accomplish unification, are carried High later maintenance cost.
Invention content
It is a primary object of the present invention to propose a kind of communication protocol parsing code automatic generation method and system, it is intended to solve Problem certainly of the existing technology.
To achieve the above object, first aspect of the embodiment of the present invention provides a kind of communication protocol parsing Code automatic build side Method, the method includes the steps:
According to equipment communication protocol, the corresponding protocol profile of the communication protocol is generated;
Read and analyze the protocol profile, get the equipment communication protocol data query configuration information, Control instruction configuration information and monitoring variable parsing information;
According to data query configuration information, control instruction configuration information and the prison of the equipment communication protocol of acquisition Measure parsing information, generation data query instruction code, control instruction code and monitoring variable parsing code;
The data query instruction code, control instruction code and monitoring variable are parsed into code, set described in combination formation Standby communication protocol parses code.
Further, the step generates the corresponding protocol profile of the communication protocol according to the communication protocol of equipment Including:
Input data inquiry instruction information, control instruction information and monitoring variable command information;
According to the communication protocol of equipment, data query command information, control instruction information and the monitoring variable instruction of input Information generates the corresponding protocol profile of the communication protocol.
Further, the step input data inquiry instruction information, control instruction information and monitoring variable command information It further includes later:
It checks and judges whether data query command information, control instruction information and the monitoring variable command information of input have It is abnormal;
The data query command information inputted extremely, control instruction information and monitoring variable instruction letter are changed if having exception Breath.
Further, the method further includes step:
Splitting equipment communication protocol skeleton code source file;
The equipment communication protocol parsing code formed, the equipment communication protocol skeleton code source document after write-in segmentation will be combined Part.
Further, the communication protocol is set form communication protocol.
In addition, to achieve the above object, it is automatic that second aspect of the embodiment of the present invention provides a kind of communication protocol parsing code Generation system, the system comprises:Protocol profile generation module, data query processing module, control command processing module, Data dissection process module and protocol code generation module;
The protocol profile generation module, for according to equipment communication protocol, generating the corresponding association of the communication protocol Discuss configuration file;
The data query processing module for reading and analyzing the protocol profile, gets the equipment and leads to The data query configuration information of agreement is believed, according to the data query configuration information of the equipment communication protocol of acquisition, generation Data query instruction code;
The control command processing module for reading and analyzing the protocol profile, gets the equipment and leads to The control instruction configuration information of agreement is believed, according to the control instruction configuration information of the equipment communication protocol of acquisition, generation Control instruction code;
The data dissection process module for reading and analyzing the protocol profile, gets the equipment and leads to Believe the monitoring variable parsing information of agreement, information, generation monitoring are parsed according to the monitoring variable of the equipment communication protocol of acquisition Amount parsing code;
The protocol code generation module, for by the data query instruction code, control instruction code and monitoring Amount parsing code, combination form the equipment communication protocol parsing code.
Further, the protocol profile generation module includes input unit and generation unit;
The input unit, for input data inquiry instruction information, control instruction information and monitoring variable command information;
The generation unit, for the communication protocol according to equipment, the data query command information of input unit input, control Command information and monitoring variable command information processed generates the corresponding protocol profile of the communication protocol.
Further, the protocol profile generation module further includes judging unit and modification unit;
The judging unit, for checking and judging data query command information, control instruction information and the prison of input Whether measurement instruction information has exception;
The modification unit if the judging result for the judging unit is abnormal, changes the data inputted extremely Inquiry instruction information, control instruction information and monitoring variable command information.
Further, the system also includes segmentation modules;
The segmentation module, for splitting equipment communication protocol skeleton code source file;
The protocol code generation module is additionally operable to that the equipment communication protocol parsing code formed, write-in segmentation will be combined Equipment communication protocol skeleton code source file afterwards.
Further, the communication protocol is set form communication protocol.
A kind of communication protocol parsing code automatic generation method provided in an embodiment of the present invention and system, realize communication protocols View parsing Code automatic build can quickly generate the unified communication protocol parsing code of style, dissection process, additionally it is possible to ensure The accuracy of communication protocol parsing, while improve the maintainability of protocol code.
Description of the drawings
Fig. 1 parses code automatic generation method flow diagram for communication protocol provided in an embodiment of the present invention;
Fig. 2 is parsed for communication protocol provided in an embodiment of the present invention and is inputted flow signal in code automatic generation method extremely Figure;
Fig. 3 parses another flow diagram of code automatic generation method for communication protocol provided in an embodiment of the present invention;
Fig. 4 parses Code automatic build system structure diagram for communication protocol provided in an embodiment of the present invention;
Fig. 5 parses protocol profile in Code automatic build system for communication protocol provided in an embodiment of the present invention and generates Modular structure schematic diagram;
Fig. 6 parses another structure diagram of Code automatic build system for communication protocol provided in an embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The each embodiment of the present invention is realized in description with reference to the drawings.In subsequent description, using for representing The suffix of such as " module ", " component " or " unit " of element is only for being conducive to the explanation of the present invention, and there is no special for itself Fixed meaning.
It will be further appreciated that the term "and/or" used in description of the invention and the appended claims is Refer to any combinations and all possible combinations of one or more of the associated item listed, and including these combinations.
Be related in the present invention " first ", " second " etc. description be only used for description purpose, and it is not intended that instruction or Imply its relative importance or the implicit quantity for indicating indicated technical characteristic." first ", " second " are defined as a result, At least one this feature can be expressed or be implicitly included to feature.In addition, the technical solution between each embodiment can phase It mutually combines, but must can be implemented as basis with those of ordinary skill in the art, when the combination of technical solution occurs mutually Contradiction or can not realize when, will be understood that the combination of this technical solution is not present, also not the present invention claims protection domain it It is interior.
As shown in Figure 1, a kind of communication protocol parsing code automatic generation method that first embodiment of the invention provides, the party Method includes step:
10th, according to equipment communication protocol, the corresponding protocol profile of the communication protocol is generated.
In the present embodiment, communication protocol is set form communication protocol, such as:The total communication of Modbus communication protocols, electricity Agreement.
Refering to what is shown in Fig. 2, in the present embodiment, which may include:
101st, input data inquiry instruction information, control instruction information and monitoring variable command information.
As illustratively, the data query command information of input can be as follows shown in table:
Command sequence number Function code Initial address Register number Order annotation
1 3 0x00 11 Ammeter parameter PT/CT
2 3 0x16e 44 Ammeter exchange of information
3 3 0x0100 50 Ammeter energy information 1
As illustratively, the control instruction information of input can be as follows shown in table:
As illustratively, the monitoring variable command information of input can be as follows shown in table:
102nd, check and judge input data query command information, control instruction information and monitoring variable command information be It is no to have exception.
103rd, the data query command information inputted extremely, control instruction information and monitoring variable is changed if having exception to refer to Enable information.
104th, according to the communication protocol of equipment, data query command information, control instruction information and the monitoring variable of input Command information generates the corresponding protocol profile of the communication protocol.
11st, it reads and analyzes protocol profile, get the data query configuration information of equipment communication protocol, control refers to Configuration information and monitoring variable is enabled to parse information.
12nd, according to the data query configuration information, control instruction configuration information and prison of the equipment communication protocol of acquisition Measure parsing information, generation data query instruction code, control instruction code and monitoring variable parsing code.
In the present embodiment, control instruction code includes remote regulating command code and/or remote control command code.
13rd, data query instruction code, control instruction code and monitoring variable are parsed into code, combination forms the equipment Communication protocol parses code.
Shown in please referring to Fig.3, further, this method further includes step:
14th, splitting equipment communication protocol skeleton code source file;The equipment communication protocol parsing code formed will be combined, write Enter the equipment communication protocol skeleton code source file after segmentation.
In the present embodiment, splitting equipment communication protocol skeleton code source file may be partitioned into multiple and different parts, mainly It may include that data query instruction sending part point, control instruction send (remote regulating order transmission, remote control command are sent) part, monitoring variable Data analysis portion point, it is therefore an objective to facilitate the protocol code be inserted into and generated.
A kind of communication protocol parsing code automatic generation method provided in this embodiment, realizes communication protocol parsing code It automatically generates, the unified communication protocol parsing code of style, dissection process can be quickly generated, additionally it is possible to ensure that communication protocol The accuracy of parsing, while improve the maintainability of protocol code.
The present invention further provides a kind of systems.
With reference to Fig. 4, Fig. 4 is that a kind of communication protocol that second embodiment of the invention provides parses Code automatic build system, The system includes:Protocol profile generation module 20, data query processing module 21, control command processing module 22, data Dissection process module 23 and protocol code generation module 24;
Protocol profile generation module 20, for according to equipment communication protocol, generating the corresponding agreement of the communication protocol Configuration file.
In the present embodiment, communication protocol is set form communication protocol, such as:The total communication of Modbus communication protocols, electricity Agreement.
Refering to what is shown in Fig. 5, in the present embodiment, protocol profile generation module 20 may include input unit 201 and life Into unit 202;
Input unit 201, for input data inquiry instruction information, control instruction information and monitoring variable command information;
As illustratively, the data query command information of input can be as follows shown in table:
Command sequence number Function code Initial address Register number Order annotation
1 3 0x00 11 Ammeter parameter PT/CT
2 3 0x16e 44 Ammeter exchange of information
3 3 0x0100 50 Ammeter energy information 1
As illustratively, the control instruction information of input can be as follows shown in table:
As illustratively, the monitoring variable command information of input can be as follows shown in table:
Generation unit 202, for the communication protocol according to equipment, data query command information that input unit 201 inputs, Control instruction information and monitoring variable command information generate the corresponding protocol profile of the communication protocol.
Refering to what is shown in Fig. 5, in the present embodiment, protocol profile generation module 20 may also include 203 He of judging unit Change unit 204;
Judging unit 203, for checking and judging data query command information, control instruction information and the monitoring of input Whether amount command information has exception;
Unit 204 is changed, if the judging result for judging unit 203 is abnormal, the data inputted extremely is changed and looks into Ask command information, control instruction information and monitoring variable command information.
Data query processing module 21 for reading and analyzing protocol profile, gets the number of equipment communication protocol It is investigated that configuration information is ask, according to the data query configuration information of the equipment communication protocol of acquisition, generation data query instruction generation Code.
Control command processing module 22 for reading and analyzing protocol profile, gets the control of equipment communication protocol System instruction configuration information, according to the control instruction configuration information of the equipment communication protocol of acquisition, generates control instruction code.
In the present embodiment, control instruction code includes remote regulating command code and/or remote control command code.
Data dissection process module 23 for reading and analyzing protocol profile, gets the prison of equipment communication protocol Parsing information is measured, information, generation monitoring variable parsing code are parsed according to the monitoring variable of the equipment communication protocol of acquisition.
Protocol code generation module 24, for data query instruction code, control instruction code and monitoring variable to be parsed Code, combination form equipment communication protocol parsing code.
It please refers to shown in Fig. 6, further, system may also include segmentation module 25;
Divide module 25, for splitting equipment communication protocol skeleton code source file;
In the present embodiment, splitting equipment communication protocol skeleton code source file may be partitioned into multiple and different parts, mainly It may include that data query instruction sending part point, control instruction send (remote regulating order transmission, remote control command are sent) part, monitoring variable Data analysis portion point, it is therefore an objective to conveniently be inserted correspondingly into the protocol code of protocol code generation module generation.
Protocol code generation module 24 is additionally operable to that the equipment communication protocol parsing code formed will be combined, after write-in segmentation Equipment communication protocol skeleton code source file.
A kind of communication protocol parsing Code automatic build system provided in this embodiment, realizes communication protocol parsing code It automatically generates, the unified communication protocol parsing code of style, dissection process can be quickly generated, additionally it is possible to ensure that communication protocol The accuracy of parsing, while improve the maintainability of protocol code.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those elements, and And it further includes other elements that are not explicitly listed or further includes intrinsic for this process, method, article or device institute Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this Also there are other identical elements in the process of element, method, article or device.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair The equivalent structure or equivalent flow shift that bright specification and accompanying drawing content are made directly or indirectly is used in other relevant skills Art field, is included within the scope of the present invention.
Industrial applicibility:
A kind of communication protocol parsing code automatic generation method provided in an embodiment of the present invention and system, realize communication protocols View parsing Code automatic build can quickly generate the unified communication protocol parsing code of style, dissection process, additionally it is possible to ensure The accuracy of communication protocol parsing, while improve the maintainability of protocol code.

Claims (10)

1. a kind of communication protocol parses code automatic generation method, which is characterized in that the method includes the steps:
According to equipment communication protocol, the corresponding protocol profile of the communication protocol is generated;
It reads and analyzes the protocol profile, get data query configuration information, the control of the equipment communication protocol Instruct configuration information and monitoring variable parsing information;
According to data query configuration information, control instruction configuration information and the monitoring variable of the equipment communication protocol of acquisition Parse information, generation data query instruction code, control instruction code and monitoring variable parsing code;
The data query instruction code, control instruction code and monitoring variable are parsed into code, combination forms the equipment and leads to Believe protocol analysis code.
A kind of 2. communication protocol parsing code automatic generation method according to claim 1, which is characterized in that the step According to the communication protocol of equipment, generate the corresponding protocol profile of the communication protocol and include:
Input data inquiry instruction information, control instruction information and monitoring variable command information;
According to the communication protocol of equipment, data query command information, control instruction information and the monitoring variable command information of input, Generate the corresponding protocol profile of the communication protocol.
A kind of 3. communication protocol parsing code automatic generation method according to claim 2, which is characterized in that the step It is further included after input data inquiry instruction information, control instruction information and monitoring variable command information:
It is different whether data query command information, control instruction information and the monitoring variable command information for checking and judging to input have Often;
The data query command information inputted extremely, control instruction information and monitoring variable command information are changed if having exception.
A kind of 4. communication protocol parsing code automatic generation method according to claim 1, which is characterized in that the method Further include step:
Splitting equipment communication protocol skeleton code source file;
The equipment communication protocol parsing code formed, the equipment communication protocol skeleton code source file after write-in segmentation will be combined.
A kind of 5. communication protocol parsing code automatic generation method according to claim 1, which is characterized in that the communication Agreement is set form communication protocol.
6. a kind of communication protocol parses Code automatic build system, which is characterized in that the system comprises:Protocol profile is given birth to Into module, data query processing module, control command processing module, data dissection process module and protocol code generation module;
The protocol profile generation module, for according to equipment communication protocol, generating the corresponding agreement of the communication protocol and matching Put file;
The data query processing module for reading and analyzing the protocol profile, gets the equipment communication protocols The data query configuration information of view according to the data query configuration information of the equipment communication protocol of acquisition, generates data Inquiry instruction code;
The control command processing module for reading and analyzing the protocol profile, gets the equipment communication protocols The control instruction configuration information of view, according to the control instruction configuration information of the equipment communication protocol of acquisition, generation control Instruction code;
The data dissection process module for reading and analyzing the protocol profile, gets the equipment communication protocols The monitoring variable parsing information of view, parses information according to the monitoring variable of the equipment communication protocol of acquisition, generates monitoring variable solution Analyse code;
The protocol code generation module, for by the data query instruction code, control instruction code and monitoring variable solution Code is analysed, combination forms the equipment communication protocol parsing code.
A kind of 7. communication protocol parsing Code automatic build system according to claim 6, which is characterized in that the agreement Configuration file generation module includes input unit and generation unit;
The input unit, for input data inquiry instruction information, control instruction information and monitoring variable command information;
The generation unit, for the communication protocol according to equipment, the data query command information of input unit input, control refer to Information and monitoring variable command information are enabled, generates the corresponding protocol profile of the communication protocol.
A kind of 8. communication protocol parsing Code automatic build system according to claim 7, which is characterized in that the agreement Configuration file generation module further includes judging unit and modification unit;
The judging unit, for checking and judging data query command information, control instruction information and the monitoring variable of input Whether command information has exception;
The modification unit if the judging result for the judging unit is abnormal, changes the data query inputted extremely Command information, control instruction information and monitoring variable command information.
A kind of 9. communication protocol parsing Code automatic build system according to claim 6, which is characterized in that the system Further include segmentation module;
The segmentation module, for splitting equipment communication protocol skeleton code source file;
The protocol code generation module is additionally operable to that the equipment communication protocol parsing code formed will be combined, after write-in segmentation Equipment communication protocol skeleton code source file.
10. a kind of communication protocol parsing Code automatic build system according to claim 6, which is characterized in that described logical Letter agreement is set form communication protocol.
CN201780002446.XA 2017-03-15 2017-03-15 A kind of communication protocol parsing code automatic generation method and system Active CN108141464B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/076762 WO2018165902A1 (en) 2017-03-15 2017-03-15 Method and system for automatically generating communication protocol parsing code

Publications (2)

Publication Number Publication Date
CN108141464A true CN108141464A (en) 2018-06-08
CN108141464B CN108141464B (en) 2019-04-05

Family

ID=62400278

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201780002446.XA Active CN108141464B (en) 2017-03-15 2017-03-15 A kind of communication protocol parsing code automatic generation method and system

Country Status (2)

Country Link
CN (1) CN108141464B (en)
WO (1) WO2018165902A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110557377A (en) * 2019-08-01 2019-12-10 福建星云电子股份有限公司 method and system for power battery pairing repair equipment to be compatible with multiple communication protocols
CN111083168A (en) * 2019-12-31 2020-04-28 广东嘉泰智能技术有限公司 Configurable data transmission method and device of Internet of things platform gateway and gateway
CN111221532A (en) * 2019-12-23 2020-06-02 北京轩宇信息技术有限公司 Method and device for generating dynamic link library
CN112714044A (en) * 2020-12-28 2021-04-27 北京恒光信息技术股份有限公司 Network data analysis method and device based on formal language protocol
CN113377363A (en) * 2021-07-14 2021-09-10 深圳市集贤科技有限公司 Cloud implementation method for automatically generating source codes for various electric control end private protocols
CN114115833A (en) * 2022-01-25 2022-03-01 北京安帝科技有限公司 Automatic generation method and device of protocol audit code
CN114449061A (en) * 2021-12-23 2022-05-06 深圳市长龙铁路电子工程有限公司 Configurable protocol analysis method, device, equipment and storage medium
CN114500350A (en) * 2021-12-27 2022-05-13 中国航天空气动力技术研究院 Ground station instruction verification system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2003200935A1 (en) * 2002-03-14 2003-10-02 E State Automation Pty Ltd An interface between the modbus protocol and SMS text messaging protocol
CN102055770A (en) * 2011-01-17 2011-05-11 西安电子科技大学 Automatic secure protocol code implementation system based on extensive markup language (XML) description
CN103139025A (en) * 2011-12-05 2013-06-05 艾默生网络能源系统北美公司 Access method and access system of Modbus equipment
CN106339249A (en) * 2016-08-23 2017-01-18 上海创景计算机系统有限公司 Dynamical allocation and programming method
CN106412086A (en) * 2016-10-31 2017-02-15 武汉斗鱼网络科技有限公司 Method and system for automatically generating communication codes by employing protocol description file

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7447762B2 (en) * 2001-04-02 2008-11-04 Curray Timothy G Ethernet communications for power monitoring system
CN105812368A (en) * 2016-03-15 2016-07-27 山东超越数控电子有限公司 Universal programming method for multiple communication protocols

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2003200935A1 (en) * 2002-03-14 2003-10-02 E State Automation Pty Ltd An interface between the modbus protocol and SMS text messaging protocol
CN102055770A (en) * 2011-01-17 2011-05-11 西安电子科技大学 Automatic secure protocol code implementation system based on extensive markup language (XML) description
CN103139025A (en) * 2011-12-05 2013-06-05 艾默生网络能源系统北美公司 Access method and access system of Modbus equipment
CN106339249A (en) * 2016-08-23 2017-01-18 上海创景计算机系统有限公司 Dynamical allocation and programming method
CN106412086A (en) * 2016-10-31 2017-02-15 武汉斗鱼网络科技有限公司 Method and system for automatically generating communication codes by employing protocol description file

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
邓伟,石炜: ""基于编译技术的协议自动化解析程序的设计"", 《电子设计工程》 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110557377A (en) * 2019-08-01 2019-12-10 福建星云电子股份有限公司 method and system for power battery pairing repair equipment to be compatible with multiple communication protocols
CN110557377B (en) * 2019-08-01 2021-08-27 福建星云电子股份有限公司 Method and system for power battery pairing repair equipment to be compatible with multiple communication protocols
CN111221532A (en) * 2019-12-23 2020-06-02 北京轩宇信息技术有限公司 Method and device for generating dynamic link library
CN111083168A (en) * 2019-12-31 2020-04-28 广东嘉泰智能技术有限公司 Configurable data transmission method and device of Internet of things platform gateway and gateway
CN112714044A (en) * 2020-12-28 2021-04-27 北京恒光信息技术股份有限公司 Network data analysis method and device based on formal language protocol
CN112714044B (en) * 2020-12-28 2022-06-07 北京恒光信息技术股份有限公司 Network data analysis method, device and storage medium based on formal language protocol
CN113377363A (en) * 2021-07-14 2021-09-10 深圳市集贤科技有限公司 Cloud implementation method for automatically generating source codes for various electric control end private protocols
CN114449061A (en) * 2021-12-23 2022-05-06 深圳市长龙铁路电子工程有限公司 Configurable protocol analysis method, device, equipment and storage medium
CN114500350A (en) * 2021-12-27 2022-05-13 中国航天空气动力技术研究院 Ground station instruction verification system
CN114500350B (en) * 2021-12-27 2024-02-06 中国航天空气动力技术研究院 Ground station instruction verification system
CN114115833A (en) * 2022-01-25 2022-03-01 北京安帝科技有限公司 Automatic generation method and device of protocol audit code

Also Published As

Publication number Publication date
WO2018165902A1 (en) 2018-09-20
CN108141464B (en) 2019-04-05

Similar Documents

Publication Publication Date Title
CN108141464B (en) A kind of communication protocol parsing code automatic generation method and system
CN105491038B (en) A kind of intelligent equipment protocol analytic method
CN103873324A (en) Universal bus testing system
CN108710566B (en) Power distribution dispatching master station integration test system and method
CN104267953A (en) Control and method for importing Word test questions based on browser
CN103760511A (en) Full-automatic test system for multiple voltage monitors
CN103530209B (en) A kind of code keypad automated testing method
CN109597475A (en) A kind of server power supply information processing method, apparatus and system
CN107992306A (en) A kind of avionics software interface realizes uniformity automatic check method
CN106844432A (en) Data processing method and device
CN111245633B (en) Configuration file of micro-grid main equipment and operation method thereof
CN106599058A (en) RCD file model checking method and checking device
CN109471878A (en) A kind of substation's telecontrol device automatic comparison system
CN106789290B (en) Data access method and system based on Modbus RTU protocol
CN106911499A (en) The method and device that a kind of rapid configuration BMC systems are set
US9274910B2 (en) Automatic test map generation for system verification test
CN110853327B (en) Ship cabin equipment data field debugging and collecting method and device based on single chip microcomputer
CN208156650U (en) A kind of general multiplex roles protocol test equipment
WO2008121598A1 (en) System and method for providing a replica of a graphic presentation by translating into a neutral format
KR20140123126A (en) System and method for generating database based on SCL
CN112415306A (en) Intelligent detection device for distribution automation equipment module
RU107872U1 (en) COMMUNICATION SYSTEM SIMULATOR SIMULATOR DEVICE USING COMMUNICATION SYSTEM MODELING SOFTWARE
Hong et al. Translating proprietary protection setting data into standardised IEC 61850 format for protection setting validation
CN109918353A (en) The method and terminal device of automated information processing
Huang et al. Static and dynamic CIM-XML documents for proprietary EMS

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 518000 the six level of energy storage building 3099, Keyuan South Road, Nanshan District, Shenzhen, Guangdong.

Applicant after: Shenzhen Liwei Zhilian Technology Co., Ltd.

Address before: 518000 the six level of energy storage building 3099, Keyuan South Road, Nanshan District, Shenzhen, Guangdong.

Applicant before: Shenzhen ZTE NetView Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant