CN106533868A - Communication protocol access method - Google Patents

Communication protocol access method Download PDF

Info

Publication number
CN106533868A
CN106533868A CN201611236021.9A CN201611236021A CN106533868A CN 106533868 A CN106533868 A CN 106533868A CN 201611236021 A CN201611236021 A CN 201611236021A CN 106533868 A CN106533868 A CN 106533868A
Authority
CN
China
Prior art keywords
communication
communication protocol
plug
adapter
stipulations
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
CN201611236021.9A
Other languages
Chinese (zh)
Other versions
CN106533868B (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.)
Changyuan Contron Power Security Technology Co Ltd
Original Assignee
Changyuan Contron Power Security 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 Changyuan Contron Power Security Technology Co Ltd filed Critical Changyuan Contron Power Security Technology Co Ltd
Priority to CN201611236021.9A priority Critical patent/CN106533868B/en
Publication of CN106533868A publication Critical patent/CN106533868A/en
Application granted granted Critical
Publication of CN106533868B publication Critical patent/CN106533868B/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/08Protocols for interworking; Protocol conversion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • 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/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Abstract

The present invention relates to a communication protocol access method. The method comprises the steps of associating a communication protocol adapter with a communication manner adapter according to a communication manner; defining the communication manner adapter and the communication protocol adapter; defining loading entrances of a communication manner plugin and a communication protocol plugin; making protocol processing frameworks consistent and dynamically loading the communication manner plugin according to the communication manner, and dynamically loading, by a communication protocol user, the communication protocol plugin according to the communication protocol; making the protocol processing frameworks consistent and acquiring an object of the communication manner adapter from the loading entrance of the communication manner plugin, and acquiring, by the communication protocol user, an object of the communication protocol adapter from the loading entrance of the communication protocol plugin; and making the protocol processing frameworks and the communication manner adapters consistent and communicating among the communication protocol adapters by using standard interfaces. According to the method, different communication protocols and communication manners are encapsulated into independent communication protocol plugins and communication manner plugins, and the communication protocol plugins can be accessed to a communication program rapidly and conveniently by configuring dynamic loading and unloading of the communication protocol plugins.

Description

A kind of communication protocol cut-in method
Technical field
The present invention relates to network communication technology field, more particularly to a kind of cut-in method of communication protocol.
Background technology
Five-preventing system at the scene using when must communicate with other systems (comprehensive from, regulation and control etc.), carry out data exchange and distant Control interaction.Need to work out communication protocol when communicating between system, for defining the form and communication process of data.At present due to not having There is the communication protocol of a unification and standard, a large amount of different communication protocols can be related to when communicating between different system, such as《CDT Interactive mode-circulating stipulations》、《IEC104 stipulations》、《The auspicious TCP stipulations (extent use) in south》、《Auspicious UDP stipulations (Beijing Tongfang string in south Mouthful)》Deng.And also need to support the communications such as TCP/UDP, serial ports when communicating between different system, it is being remotely controlled friendship When mutually, (link idle need not send remote control taboo to there is circulating remote control (link idle need to send remote control and forbid), circulating remote control Only), interactive remote control (question-response, five anti-initiations), interactive remote control (question-response, comprehensive from initiation), interactive remote control (two Ask that two answer, five anti-initiations), 6 kinds of remote control modes such as interactive remote control (two ask that two answer, comprehensive from initiate), in consideration of it, requiring five anti-systems System and other systems need to support various communication protocols and communication mode when communicating.
As different system each adopts different communication protocols and communication mode, signal procedure carrying out communication protocol The every kind of communication protocol of independent process and communication mode are needed during dissection process, the complexity of communication process, and each journey is increased Sequence all includes the similar module such as data renewal, message response, there is highly similar function and repeats.In order to overcome the above to ask Topic, the Chinese invention patent of Publication No. CN101778133A disclose a kind of integrated terminal based on communication protocol adapter Access system structure, can access all types of terminal units, support various communication channels.But the system is due to lacking process five The module such as anti-backstage and comprehensive point table conversion between backstage, five anti-unified interfaces, and without will be three between the two distant (remote measurement, remote signalling, remote control) information makees unified process, it is impossible to directly prevent and the comprehensive three distant process between backstage using five.Its Secondary, the system packs protocols component in access communications protocol adapter, when a newly-increased class communication protocol will be needed in future, it is necessary to The code of communication protocol adapter must be changed, there is a problem of that the new stipulations of extension are difficult.
The content of the invention
It is an object of the invention to provide a kind of can be with the simple and quick communication protocol cut-in method for realizing access communications stipulations.
To achieve these goals, the present invention takes following technical solution:
A kind of communication protocol cut-in method, comprises the following steps:
A, communication protocol adapter and communication mode adapter are associated according to different communication modes;
B, definition communication mode adapter, there is provided unified communication interface;
C, the loading entrance for defining communication mode plug-in unit, obtain communication mode Adapter Objects by loading entrance;
D, unified stipulations process framework according to communication mode dynamic load communication mode plug-in unit;
E, unified stipulations process framework and obtain communication mode Adapter Objects from the loading entrance of communication mode plug-in unit;
F, unified stipulations are processed framework and are communicated using standard interface with communication mode adapter, communication mode adapter Communication message is sent using communication standard interface, using framework standard interface communication message;
G, definition communication protocol adapter, there is provided unified stipulations interface;
H, the loading entrance for defining communication protocol plug-ins, obtain communication protocol adapter object by loading entrance;
I, unified stipulations process framework according to communication protocol dynamic load communication protocol plug-ins.
J, unified stipulations process framework and obtain communication protocol adapter object from communication protocol plug-ins loading entrance;
K, unified stipulations are processed framework and are communicated using standard interface with communication protocol adapter, communication protocol adapter Communication message is received using stipulations standard interface, communication message is sent using framework standard interface.
Further, communication protocol adapter and communication mode adapter are associated by following rule:
For TCP/UDP clients:Each client loads communication protocol plug-ins and a communication mode plug-in unit, will The communication protocol plug-ins and communication mode plug-in unit of same client are associated;
For TCP/UDP service ends:One service end loads multiple communication protocol plug-ins and a communication mode plug-in unit, will Multiple communication protocol plug-ins in the service end are associated with same communication mode plug-in unit;
For UDP multicasts/serial ports:One UDP multicasts/serial ports loads communication protocol plug-ins and a communication mode is inserted Part, communication protocol plug-ins are associated with a communication mode plug-in unit.
Further, a kind of communication protocol is encapsulated as communication protocol plug-ins, and each communication protocol plug-ins has system One loading entrance and communication interface corresponding with communication protocol adapter, by communication interface and communication protocol adapter phase Even, used to unified stipulations process framework by loading entrance return communication protocol adapter object.
Further, the communication protocol adapter passes through at stipulations standard interface and framework standard interface and unified stipulations Reason framework is connected, and makes each communication protocol grafting process framework for unified stipulations by unified stipulations standard interface and calls, and leads to Cross unified framework standard interface interchange and unify stipulations process framework.
Further, a kind of communication mode is encapsulated as a communication mode plug-in unit, and each communication mode plug-in unit has system One loading entrance and communication interface corresponding with communication mode adapter, by communication interface and communication mode adapter phase Even, used to unified stipulations process framework by loading entrance return communication mode Adapter Objects.
Further, the communication mode adapter passes through at communication standard interface and framework standard interface and unified stipulations Reason framework is connected, and makes each communication mode plug-in unit process framework for unified stipulations by unified communication standard interface and calls, and leads to Cross unified framework standard interface interchange and unify stipulations process framework.
Further, defining communication mode adapter makes its following communication standard interface of offer:Initialization TCP Client, Initialize UDP clients, initialization TCP service ends, initialization UDP service ends, initialization UDP multicasts, initialization serial ports, transmission Communication message, communication close connection, and internally call following framework standard interface:Link disconnect notify, receive communication message, Link connection success notification, link connection failure notification.
Further, defining communication protocol adapter makes its following stipulations standard interface of offer:Loading stipulations, unloading rule About, initiation parameter, delta data, returned data, obtain state, receive communication message, order data, and internally call with Underframe standard interface:Update the data, send communication message, communication close link, state change, command result return, acquisition Data, command request.
Further, the step of defining the loading entrance of communication mode plug-in unit is as follows:Create in communication mode plug-in unit logical Letter plug-in object, and by the inheritance with communication mode adapter, communication mode plug-in unit is changed into into general communication party Formula adapter.
Further, the step of defining the loading entrance of communication protocol plug-ins is as follows:Rule are created in communication protocol plug-ins About plug-in object, and by the inheritance with communication protocol adapter, communication protocol plug-ins are changed into into general communication rule About adapter.
From above technical scheme, every kind of communication mode and every kind of communication protocol are encapsulated as independent inserting by the present invention Part, when there is unknown communication stipulations to need to access, only need to be developed an independent dynamic base plug-in unit, be carried out simple fit Just frame communication can be processed with unified stipulations using this stipulations afterwards, be highly susceptible to new protocol extension and access, be reached simplification and open The complexity sent out and the purpose of simple and quick access communications stipulations;Communication protocol adapter is general into one kind by three distant data abstractions Interface, realize by protocol layer dynamic insertion, simplify the handling process of communication protocol plug-ins, improve communication protocol plug-ins Development efficiency, and reduce error probability, and communication protocol plug-ins can spread and access, it is many other producers are being quickly accessed During many communication protocols, program complexity will not be increased;Data exchange and life of the present invention defined in communication protocol adapter The interface of order interaction, it is abstract with order as a kind of data, remote signalling, the telemetry and telecommand of transformer station are not only adapted to, may be used also Can be accessed with the communication protocol to all similar data and command interaction, such as ground wire and KBQ etc., it is applied widely.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention, below will be to using needed for embodiment or description of the prior art Accompanying drawing do simple introduction, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for ability For the those of ordinary skill of domain, on the premise of not paying creative work, can be attached to obtain others according to these accompanying drawings Figure.
Fig. 1 is that communication protocol plug-ins and communication mode plug-in unit access the schematic diagram that unified stipulations process framework;
Flow charts of the Fig. 2 for the inventive method;
Fig. 3 is the schematic diagram for associating communication protocol adapter and communication mode adapter;
Fig. 4 is the schematic diagram for defining communication mode adapter;
Fig. 5 is the schematic diagram for defining communication protocol adapter.
The specific embodiment of the present invention is described in more detail below in conjunction with accompanying drawing.
Specific embodiment
Fig. 1 is that communication protocol plug-ins and communication mode plug-in unit access the schematic diagram that unified stipulations process framework, such as Fig. 1 institutes Show, the present invention passes through communication protocol adapter and communication mode adapter and communication protocol plug-ins and communication mode plug-in unit are accessed system One stipulations are processed in processing framework, to reach while supporting the purpose of various communication protocols and communication.Wherein, Unified stipulations process framework for suitable to communication protocol adapter and communication mode according to different communication modes and communication protocol Orchestration carries out binding association, and unified stipulations process framework and are additionally operable to abstract remote signalling period conversion, the place of 6 kinds of remote control modes simultaneously Reason and primary channel switching, so as to reduce the complexity of communication protocol plug-ins, simplify communication protocol and access, and unified stipulations are processed Framework be realize conversion between the remote signalling period and power equipment in stipulations, the conversion of remote signalling value is negated, remote control is allowed and forbidden Point is unified to be generated, exchange information, five-preventing system using unified interface with five-preventing system is patrolled with the comprehensive core exchanged from background information Collect module.
Each communication protocol individual packages is communication protocol plug-ins by the present invention, and each communication protocol plug-ins has There are unified loading entrance and communication interface corresponding with communication protocol adapter, be adapted to communication protocol by communication interface Device is connected, and is used to unified stipulations process framework by loading entrance return communication protocol adapter object.Each is communicated Mode individual packages be a communication mode plug-in unit, each communication mode plug-in unit have unified loading entrance and with communication The corresponding communication interface of mode adapter, is connected with communication mode adapter by communication interface, is led to by loading entrance and returning Letter mode Adapter Objects process framework to unified stipulations and use.
Communication protocol adapter is passed through stipulations standard interface and framework standard interface and is connected with unified stipulations process framework, is made Each communication protocol plug-ins can process framework for unified stipulations by unified stipulations standard interface and call, and by unified framework Standard interface calls unified stipulations to process framework.Communication mode adapter passes through communication standard interface and framework standard interface with system One stipulations process framework and are connected, and make each communication mode plug-in unit process framework for unified stipulations by unified communication standard interface Call, and stipulations are unified by unified framework standard interface interchange and process framework.The present invention's is encapsulated as leading to by communication protocol Believe protocol plug-in and communication mode is encapsulated as into communication mode plug-in unit those skilled in the art and can for example be adopted by programming realization With C Plus Plus programming realization encapsulation etc., the main improvement for being encapsulated as that plug-in unit is not the present invention how is programmed, is not gone to live in the household of one's in-laws on getting married herein Chat.
Unified stipulations process framework according to communication mode dynamic load communication mode plug-in unit, and use and communication mode plug-in unit Associated communication protocol plug-ins are interacted with communication mode plug-in unit.
The communication protocol cut-in method of the present invention is illustrated with reference to Fig. 2, for same communication mode or same Communication protocol, realizes accessing using the inventive method when every kind of communication protocol is accessed, and the inventive method is comprised the following steps:
A, communication protocol adapter and communication mode adapter are associated according to different communication modes;
As shown in figure 3, communication protocol adapter and communication mode adapter are associated according to different communication modes, It is specific as follows:For TCP/UDP clients:Each client loads communication protocol plug-ins and a communication mode plug-in unit, The communication protocol plug-ins of same client and communication mode plug-in unit are associated;For TCP/UDP service ends:One service end Load multiple communication protocol plug-ins and a communication mode plug-in unit, by the multiple communication protocol plug-ins in the service end with it is same Communication mode plug-in unit is associated;For UDP multicasts/serial ports:One UDP multicasts/serial ports loads communication protocol plug-ins and one Communication mode plug-in unit, communication protocol plug-ins are associated with a communication mode plug-in unit.
B, definition communication mode adapter;The communication interface that communication mode adapter is used to shield each communication mode plug-in unit is poor Different, realization externally provides unified communication interface, plays a part of compatible various plug-in units, and communication mode adapter is by communication mode The returning result or message informing of plug-in unit is converted into invocation framenort standard interface and carries out message transmission with unified stipulations process framework;
As shown in figure 4, it is exactly to define communication mode standard interface to define communication mode adapter so as to provide following communication Standard interface:It is initialization TCP Client, initialization UDP clients, initialization TCP service ends, initialization UDP service ends, initial Change UDP multicasts, initialization serial ports, send communication message, communication close connection, and internally call following framework standard interface: Link disconnects and notifies, receives communication message, link connection success notification, link connection failure notification.
C, the loading entrance for defining communication mode plug-in unit, obtain communication mode Adapter Objects, definition by loading entrance During loading entrance, communication plug-in unit object is created in communication mode plug-in unit, and by the inheritance with communication mode adapter, Communication mode plug-in unit is changed into into general communication mode adapter.
D, unified stipulations process framework according to communication mode dynamic load communication mode plug-in unit.
E, unified stipulations process framework and obtain communication mode Adapter Objects from the loading entrance of communication mode plug-in unit.
F, unified stipulations are processed framework and are communicated using standard interface with communication mode adapter, communication mode adapter Communication message is sent using communication standard interface, using framework standard interface communication message.
G, definition communication protocol adapter;The stipulations interface that communication protocol adapter is used to shield each communication protocol plug-ins is poor Different, realization externally provides unified stipulations interface, and the returning result or message of communication protocol plug-ins are led to by communication protocol adapter Know that being converted into invocation framenort standard interface carries out message transmission with unified stipulations process framework;
As shown in figure 5, it is exactly to define communication protocol standard interface to define communication protocol adapter so as to provide following stipulations Standard interface:Loading stipulations, unloading stipulations, initiation parameter, delta data, returned data, acquisition state, reception communication report Text, order data, and internally call following framework standard interface:Update the data, send communication message, communication close link, State change, command result are returned, obtain data, command request.
H, the loading entrance for defining communication protocol plug-ins, obtain communication protocol adapter object, definition by loading entrance During loading entrance, protocol plug-in object is created in communication protocol plug-ins, and by the inheritance with communication protocol adapter, Communication protocol plug-ins are changed into into general communication protocol adapter, message framing is carried out in communication protocol plug-ins and is closed frame, report Literary data parsing, notification procedure process.
I, unified stipulations process framework according to communication protocol dynamic load communication protocol plug-ins.
J, unified stipulations process framework and obtain communication protocol adapter object from communication protocol plug-ins loading entrance.
K, unified stipulations are processed framework and are communicated using standard interface with communication protocol adapter, communication protocol adapter Communication message is received using stipulations standard interface, communication message is sent using framework standard interface.
In the description of above step, after communication protocol adapter and communication mode adapter are associated, to communication party The step of formula adapter and communication protocol adapter are defined does not have the requirement of sequencing, i.e. step b and step g can be simultaneously Carry out;Associated adapter (step a), define adapter (step b, g) and define plug-in unit loading entrance (step c, h) the step of Between there is no the requirement of sequencing yet.
Different communication protocols and communication mode are packaged into the present invention independent communication protocol plug-ins and communication mode is inserted Part, by configuring dynamic load and unloading communication protocol plug-ins, makes communication protocol plug-ins be linked into communication journey with fast and easy In sequence, framework is processed by unified stipulations and different communication modes are uniformly processed, and formulate standard in communication protocol adapter Communication interface, drastically increases communication efficiency and simplifies communication process.
Above example is only to illustrate technical scheme rather than a limitation, although reference above-described embodiment pair The present invention has been described in detail, it should be understood by a person of ordinary skill in the art that still can be to the concrete of the present invention Embodiment is modified or equivalent, and any modification or equivalent without departing from spirit and scope of the invention, Which all should be covered among scope of the presently claimed invention.

Claims (10)

1. a kind of communication protocol cut-in method, it is characterised in that comprise the following steps:
A, communication protocol adapter and communication mode adapter are associated according to different communication modes;
B, definition communication mode adapter, there is provided unified communication interface;
C, the loading entrance for defining communication mode plug-in unit, obtain communication mode Adapter Objects by loading entrance;
D, unified stipulations process framework according to communication mode dynamic load communication mode plug-in unit;
E, unified stipulations process framework and obtain communication mode Adapter Objects from the loading entrance of communication mode plug-in unit;
F, unified stipulations are processed framework and are communicated using standard interface with communication mode adapter, and communication mode adapter is used Communication standard interface sends communication message, using framework standard interface communication message;
G, definition communication protocol adapter, there is provided unified stipulations interface;
H, the loading entrance for defining communication protocol plug-ins, obtain communication protocol adapter object by loading entrance;
I, unified stipulations process framework according to communication protocol dynamic load communication protocol plug-ins.
J, unified stipulations process framework and obtain communication protocol adapter object from communication protocol plug-ins loading entrance;
K, unified stipulations are processed framework and are communicated using standard interface with communication protocol adapter, and communication protocol adapter is used Stipulations standard interface receives communication message, sends communication message using framework standard interface.
2. communication protocol cut-in method according to claim 1, it is characterised in that:Communication protocol is adapted to by following rule Device and communication mode adapter are associated:
For TCP/UDP clients:Each client loads communication protocol plug-ins and a communication mode plug-in unit, will be same The communication protocol plug-ins and communication mode plug-in unit of client are associated;
For TCP/UDP service ends:One service end loads multiple communication protocol plug-ins and a communication mode plug-in unit, and this is taken Multiple communication protocol plug-ins on business end are associated with same communication mode plug-in unit;
For UDP multicasts/serial ports:One UDP multicasts/serial ports loads communication protocol plug-ins and a communication mode plug-in unit, One communication protocol plug-ins is associated with a communication mode plug-in unit.
3. communication protocol cut-in method according to claim 1, it is characterised in that:A kind of communication protocol is encapsulated as one and leads to Letter protocol plug-in, each communication protocol plug-ins have unified loading entrance and communication corresponding with communication protocol adapter Interface, is connected with communication protocol adapter by communication interface, by loading entrance return communication protocol adapter object to system One stipulations process framework and use.
4. communication protocol cut-in method according to claim 3, it is characterised in that:The communication protocol adapter is by rule About standard interface and framework standard interface process framework with unified stipulations and are connected, and make each communication protocol grafting by unified stipulations Standard interface processes framework for unified stipulations and calls, and unifies stipulations process framework by unified framework standard interface interchange.
5. communication protocol cut-in method according to claim 1, it is characterised in that:A kind of communication mode is encapsulated as one and leads to Letter mode plug-in unit, each communication mode plug-in unit have unified loading entrance and communication corresponding with communication mode adapter Interface, is connected with communication mode adapter by communication interface, by loading entrance return communication mode Adapter Objects to system One stipulations process framework and use.
6. communication protocol cut-in method according to claim 5, it is characterised in that:The communication mode adapter is by logical Letter standard interface and framework standard interface process framework with unified stipulations and are connected, and make each communication mode plug-in unit by unified communication Standard interface processes framework for unified stipulations and calls, and unifies stipulations process framework by unified framework standard interface interchange.
7. communication protocol cut-in method according to claim 1, it is characterised in that:Defining communication mode adapter carries which For following communication standard interface:Initialization TCP Client, initialization UDP clients, initialization TCP service ends, initialization UDP Service end, initialization UDP multicasts, initialization serial ports, transmission communication message, communication close connection, and internally call with lower frame Frame standard interface:Link disconnects and notifies, receives communication message, link connection success notification, link connection failure notification.
8. communication protocol cut-in method according to claim 1, it is characterised in that:Defining communication protocol adapter carries which For following stipulations standard interface:Loading stipulations, unloading stipulations, initiation parameter, delta data, returned data, acquisition state, connect Communication message, order data are received, and internally calls following framework standard interface:Update the data, send communication message, close and lead to Letter link, state change, command result are returned, obtain data, command request.
9. communication protocol cut-in method according to claim 1, it is characterised in that:Define being loaded into for communication mode plug-in unit The step of mouth, is as follows:Communication plug-in unit object is created in communication mode plug-in unit, and is closed by the succession with communication mode adapter Communication mode plug-in unit is changed into general communication mode adapter by system.
10. communication protocol cut-in method according to claim 1, it is characterised in that:Define the loading of communication protocol plug-ins The step of entrance, is as follows:Protocol plug-in object is created in communication protocol plug-ins, and by the succession with communication protocol adapter Communication protocol plug-ins are changed into general communication protocol adapter by relation.
CN201611236021.9A 2016-12-28 2016-12-28 A kind of communication protocol cut-in method Active CN106533868B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611236021.9A CN106533868B (en) 2016-12-28 2016-12-28 A kind of communication protocol cut-in method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611236021.9A CN106533868B (en) 2016-12-28 2016-12-28 A kind of communication protocol cut-in method

Publications (2)

Publication Number Publication Date
CN106533868A true CN106533868A (en) 2017-03-22
CN106533868B CN106533868B (en) 2019-09-10

Family

ID=58339103

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611236021.9A Active CN106533868B (en) 2016-12-28 2016-12-28 A kind of communication protocol cut-in method

Country Status (1)

Country Link
CN (1) CN106533868B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111800381A (en) * 2020-05-28 2020-10-20 国网江苏省电力有限公司 Public utility data integrated remote acquisition unified protocol processing system and method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101778133A (en) * 2010-01-13 2010-07-14 山东电力集团公司 Communication protocol adapter-based integrated terminal access system structure
CN102135889A (en) * 2010-12-25 2011-07-27 许继集团有限公司 Method for rapidly constructing embedded system communication way
US20110258310A1 (en) * 2000-03-02 2011-10-20 Dearborn Group, Inc. Multi-protocol adapter for in-vehicle and industrial communications networks

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110258310A1 (en) * 2000-03-02 2011-10-20 Dearborn Group, Inc. Multi-protocol adapter for in-vehicle and industrial communications networks
CN101778133A (en) * 2010-01-13 2010-07-14 山东电力集团公司 Communication protocol adapter-based integrated terminal access system structure
CN102135889A (en) * 2010-12-25 2011-07-27 许继集团有限公司 Method for rapidly constructing embedded system communication way

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
史旭东: "基于ICE分布式用电信息采集系统的规约服务", 《电子制作 2014年》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111800381A (en) * 2020-05-28 2020-10-20 国网江苏省电力有限公司 Public utility data integrated remote acquisition unified protocol processing system and method
CN111800381B (en) * 2020-05-28 2024-03-15 国网江苏省电力有限公司 Public service data integrated remote collection unified protocol processing system and method

Also Published As

Publication number Publication date
CN106533868B (en) 2019-09-10

Similar Documents

Publication Publication Date Title
CN1742473B (en) Common protocol layer architecture and methods for transmitting data between different network protocols and a common protocol packet
EP3399715B1 (en) Protocol conversion method, platform, and protocol conversion gateway
US8036235B2 (en) Home gateway device
CN106371322A (en) Intelligent home control method, device and system
CN102780613B (en) A kind of method and apparatus of distributed apparatus communication between plates
CN105245521B (en) Protocol format conversion method, device and interface platform
CN104217394B (en) Image mosaic processor and its processing method
CN112995234B (en) Media transmission link management method and device
CN104243198B (en) A kind of network management and system based on network configuration protocol
KR102094041B1 (en) System having the Semantic Engine based on RDF Graph for Autonomous Interaction between IoT Devices in Real-Time
CN104426715B (en) A kind of distributed testing tool control method
CN108989157B (en) Method and device for controlling intelligent equipment
CN106533868A (en) Communication protocol access method
CN103428057B (en) Way system in the arenas of IP based network
CN105025273A (en) Building visible intercom system connection method, password setting method and system
CN107949004A (en) Data handling system and method for manned spacecraft
CN109688124B (en) Data exchange method based on video boundary
CN101465858B (en) Method for implementing private network penetration of monitoring business, network appliance and server
CN103795729A (en) Unified device control method based on multiple protocols
CN104022935A (en) Mobile communication network isolation method based on business property
CN103475506A (en) Multi-equipment management control method and multi-equipment management control system
CN102594636A (en) System and control method of residential intelligent gateway based on multiple wireless protocols
CN104639384A (en) Method, device and system for transmitting test commands
CN205693692U (en) Share the intelligent gateway of USB
CN110784365A (en) Standby device of station control layer and entity device of transformer substation and automatic online method thereof

Legal Events

Date Code Title Description
C06 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