CN109450903A - A kind of specification adaptation method and protocol adapter - Google Patents

A kind of specification adaptation method and protocol adapter Download PDF

Info

Publication number
CN109450903A
CN109450903A CN201811346855.4A CN201811346855A CN109450903A CN 109450903 A CN109450903 A CN 109450903A CN 201811346855 A CN201811346855 A CN 201811346855A CN 109450903 A CN109450903 A CN 109450903A
Authority
CN
China
Prior art keywords
subsystem
protocol
communication protocol
communication
publicly
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811346855.4A
Other languages
Chinese (zh)
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.)
Huicheng Era (beijing) Information Technology Co Ltd
Original Assignee
Huicheng Era (beijing) Information 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 Huicheng Era (beijing) Information Technology Co Ltd filed Critical Huicheng Era (beijing) Information Technology Co Ltd
Priority to CN201811346855.4A priority Critical patent/CN109450903A/en
Publication of CN109450903A publication Critical patent/CN109450903A/en
Pending legal-status Critical Current

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/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • 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
    • 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/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols

Abstract

The invention discloses a kind of specification adaptation method and protocol adapters, this method comprises: obtaining the communication protocol of the subsystem;It is the publicly-owned agreement in preset inside by the communication Protocol Conversion;By presetting transmission mode, the publicly-owned agreement in the inside is sent to the integrated management system, the default transmission mode includes 4G or bluetooth.Due to that can be the publicly-owned agreement in preset inside by the communication Protocol Conversion of subsystem, the technical solution of the present embodiment is able to solve the problem of being difficult to cooperative cooperating between the system caused greatly of the difference between communication protocol.

Description

A kind of specification adaptation method and protocol adapter
Technical field
The present invention relates to field of computer technology, more particularly to a kind of specification adaptation method and protocol adapter.
Background technique
The communication protocol version of each subsystem provider is more, such as: Modbus, RS-485, OPC, BACnet, Lonwork etc..Difference between each communication protocol is big, and cooperative cooperating is difficult between system, causes management system is integrated to open Degree of raising difficult questions is big, can not be suitable for all types of communication protocols.
Summary of the invention
In order to solve the above technical problems, the embodiment of the invention provides a kind of specification adaptation method and protocol adapter, skill Art scheme is as follows:
A kind of specification adaptation method, be applied to protocol adapter, the protocol adapter respectively with subsystem and integrated pipe Manage system communication;
The described method includes:
Obtain the communication protocol of the subsystem;
It is the publicly-owned agreement in preset inside by the communication Protocol Conversion;
By presetting transmission mode, the publicly-owned agreement in the inside is sent to the integrated management system, the default biography Sending mode includes 4G or bluetooth.
Preferably, the default transmission mode further include:
Network layout.
Preferably, before the communication protocol for obtaining the subsystem, further includes:
The connection with the subsystem is established by RS232 pin, 485 pins, 422 pins or the port TCP/IP.
Preferably, the communication protocol of the subsystem is obtained, comprising:
The communication protocol is collected by the communication mode of serial ports, network or SDK.
Preferably, the communication protocol includes:
OPC, BACnet, Lonwork, CAN, Modbus or DeviceNet.
A kind of protocol adapter, the protocol adapter respectively with subsystem and integrated communication;
The protocol adapter, comprising:
Data sink, protocol conversion apparatus and first network transmitting device;
The data sink, for obtaining the communication protocol of the subsystem;
The protocol conversion apparatus, for being the publicly-owned agreement in preset inside by the communication Protocol Conversion;
The first network transmitting device, for by presetting transmission mode, the publicly-owned agreement in the inside to be sent to institute Integrated management system is stated, the default transmission mode includes 4G or bluetooth.
Preferably, the default transmission mode further include:
Network layout.
Preferably, further includes:
Second network transmission device before the communication protocol for obtaining the subsystem, is drawn by RS232 pin, 485 The connection with the subsystem is established in foot, 422 pins or the port TCP/IP.
Preferably, the data sink specifically includes:
The communication protocol is collected by the communication mode of serial ports, network or SDK.
Preferably, the communication protocol includes:
OPC, BACnet, Lonwork, CAN, Modbus or DeviceNet.
Technical solution provided in an embodiment of the present invention, the communication protocol including obtaining the subsystem;By the communication protocols View is converted to the publicly-owned agreement in preset inside;By presetting transmission mode, the publicly-owned agreement in the inside is sent to described integrated Management system, the default transmission mode include 4G or bluetooth.Due to that can be preset by the communication Protocol Conversion of subsystem Internal publicly-owned agreement, therefore, system caused by the technical solution of the present embodiment is able to solve the difference between communication protocol greatly it Between the problem of being difficult to cooperative cooperating.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention without any creative labor, may be used also for those of ordinary skill in the art To obtain other drawings based on these drawings.
Fig. 1 is a kind of a kind of flow diagram of specification adaptation method provided by the embodiment of the present invention;
Fig. 2 is a kind of a kind of structural schematic diagram of protocol adapter provided by the embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that the described embodiment is only a part of the embodiment of the present invention, instead of all the embodiments.Based on this Embodiment in invention, every other reality obtained by those of ordinary skill in the art without making creative efforts Example is applied, shall fall within the protection scope of the present invention.
Referring to Fig. 1, Fig. 1 is a kind of a kind of implementation flow chart of specification adaptation method provided in an embodiment of the present invention, it should Method be applied to protocol adapter, protocol adapter respectively with subsystem and integrated communication, this method comprises:
Step S101, the communication protocol of the subsystem is obtained.
In the present embodiment, the function of specification adaptation is the communication standardization made between subsystem and integrated management system, both sides It is able to carry out reliable effective communication.
In practical application, each subsystem can be automatic building control system, fire-fighting system, security system and/or office system.
The communication protocol of subsystem may include OPC, BACnet, Lonwork, CAN, Modbus or DeviceNet.
Before the communication protocol for obtaining subsystem, the connection first established between subsystem and protocol adapter is needed, is had Body, the company of protocol adapter and subsystem can be established by RS232 pin, 485 pins, 422 pins or the port TCP/IP It connects.
After establishing the connection between subsystem and protocol adapter, acquired by the communication mode of serial ports, network or SDK Obtain the communication protocol.
Wherein, the communication mode of serial ports is corresponding with the connection type of RS232 pin, 485 pins and 422 pins, network Or the communication mode of SDK is corresponding with the connection type of the port TCP/IP.
It step S102, is the publicly-owned agreement in preset inside by the communication Protocol Conversion.
Step S103, by presetting transmission mode, the publicly-owned agreement in the inside is sent to the integrated management system, institute Stating default transmission mode includes 4G or bluetooth.
In practical application, integrated management system includes cloud and platform.
In other embodiments of the invention, default transmission mode can also include network layout.
After internal publicly-owned agreement is sent to integrated management system, integrated management system can show internal publicly-owned association View.
Technical solution provided in an embodiment of the present invention, the communication protocol including obtaining the subsystem;By the communication protocols View is converted to the publicly-owned agreement in preset inside;By presetting transmission mode, the publicly-owned agreement in the inside is sent to described integrated Management system, the default transmission mode include 4G or bluetooth.Due to that can be preset by the communication Protocol Conversion of subsystem Internal publicly-owned agreement, therefore, system caused by the technical solution of the present embodiment is able to solve the difference between communication protocol greatly it Between the problem of being difficult to cooperative cooperating.
Referring to Fig. 2, Fig. 2 is a kind of a kind of structural schematic diagram of protocol adapter provided in an embodiment of the present invention, the rule About respectively with subsystem and integrated communication, which includes: adapter
Data sink 210, protocol conversion apparatus 220 and first network transmitting device 230;
The data sink 210, for obtaining the communication protocol of the subsystem;
In practical application, each subsystem can be automatic building control system, fire-fighting system, security system and/or office system.
The communication protocol of subsystem may include OPC, BACnet, Lonwork, CAN, Modbus or DeviceNet.
Before the communication protocol for obtaining subsystem, need first to establish subsystem and specification by the second network transmission device Connection between adapter specifically can establish specification by RS232 pin, 485 pins, 422 pins or the port TCP/IP The connection of adapter and subsystem.
After establishing the connection between subsystem and protocol adapter, acquired by the communication mode of serial ports, network or SDK Obtain the communication protocol, it is preferable that data sink is specifically used for acquiring by the communication mode of serial ports, network or SDK Obtain the communication protocol.
Wherein, the communication mode of serial ports is corresponding with the connection type of RS232 pin, 485 pins and 422 pins, network Or the communication mode of SDK is corresponding with the connection type of the port TCP/IP.
The protocol conversion apparatus 220, for being the publicly-owned agreement in preset inside by the communication Protocol Conversion;
The first network transmitting device 230, for by presetting transmission mode, the publicly-owned agreement in the inside to be sent to The integrated management system, the default transmission mode include 4G or bluetooth.
In practical application, integrated management system includes cloud and platform.
In other embodiments of the invention, default transmission mode can also include network layout.
Technical solution provided in an embodiment of the present invention, the communication protocol including obtaining the subsystem;By the communication protocols View is converted to the publicly-owned agreement in preset inside;By presetting transmission mode, the publicly-owned agreement in the inside is sent to described integrated Management system, the default transmission mode include 4G or bluetooth.Due to that can be preset by the communication Protocol Conversion of subsystem Internal publicly-owned agreement, therefore, system caused by the technical solution of the present embodiment is able to solve the difference between communication protocol greatly it Between the problem of being difficult to cooperative cooperating.
Description and claims of this specification and term " first ", " second ", " third " " in above-mentioned attached drawing The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiment of the present invention described herein for example can be to remove Sequence other than those of illustrating or describe herein is implemented.In addition, term " includes " and " having " and theirs is any Deformation, it is intended that cover it is non-exclusive include, for example, containing the process, method of a series of steps or units, system, production Product or equipment those of are not necessarily limited to be clearly listed step or unit, but may include be not clearly listed or for this A little process, methods, the other step or units of product or equipment inherently.
For device or system embodiments, since it essentially corresponds to embodiment of the method, thus related place referring to The part of embodiment of the method illustrates.Device or system embodiment described above is only schematical, wherein described Unit may or may not be physically separated as illustrated by the separation member, and component shown as a unit can be with It is or may not be physical unit, it can it is in one place, or may be distributed over multiple network units.It can It is achieved the purpose of the solution of this embodiment with selecting some or all of the modules therein according to the actual needs.This field is common Technical staff can understand and implement without creative efforts.
In several embodiments provided by the present invention, it should be understood that disclosed system, device and method are not having It has more than in the spirit and scope of the present invention, can realize in other way.Current embodiment is a kind of demonstration Example, should not be taken as limiting, given particular content should in no way limit the purpose of the present invention.For example, the unit or The division of subelement, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple lists First or multiple subelements combine.In addition, multiple units can with or component may be combined or can be integrated into another and be System, or some features can be ignored or not executed.
In addition, described system, the schematic diagram of device and method and different embodiments, without departing from the scope of the present invention It is interior, it can be with other systems, module, techniques or methods combination or integrated.Another point, shown or discussed mutual coupling It closes or direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit can be with It is electrically mechanical or other forms.
The above is only a specific embodiment of the invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (10)

1. a kind of specification adaptation method, which is characterized in that be applied to protocol adapter, the protocol adapter respectively with subsystem With integrated communication;
The described method includes:
Obtain the communication protocol of the subsystem;
It is the publicly-owned agreement in preset inside by the communication Protocol Conversion;
By presetting transmission mode, the publicly-owned agreement in the inside is sent to the integrated management system, the default sender Formula includes 4G or bluetooth.
2. the method according to claim 1, wherein the default transmission mode further include:
Network layout.
3. according to the method described in claim 2, it is characterized in that, before the communication protocol for obtaining the subsystem, further includes:
The connection with the subsystem is established by RS232 pin, 485 pins, 422 pins or the port TCP/IP.
4. according to the method described in claim 3, it is characterized in that, obtaining the communication protocol of the subsystem, comprising:
The communication protocol is collected by the communication mode of serial ports, network or SDK.
5. according to the method described in claim 4, it is characterized in that, the communication protocol includes:
OPC, BACnet, Lonwork, CAN, Modbus or DeviceNet.
6. a kind of protocol adapter, which is characterized in that the protocol adapter respectively with subsystem and integrated communication;
The protocol adapter, comprising:
Data sink, protocol conversion apparatus and first network transmitting device;
The data sink, for obtaining the communication protocol of the subsystem;
The protocol conversion apparatus, for being the publicly-owned agreement in preset inside by the communication Protocol Conversion;
The first network transmitting device, for by presetting transmission mode, the publicly-owned agreement in the inside to be sent to the collection At management system, the default transmission mode includes 4G or bluetooth.
7. protocol adapter according to claim 6, which is characterized in that the default transmission mode further include:
Network layout.
8. protocol adapter according to claim 7, which is characterized in that further include:
Second network transmission device before the communication protocol for obtaining the subsystem, passes through RS232 pin, 485 pins, 422 The connection with the subsystem is established in pin or the port TCP/IP.
9. protocol adapter according to claim 8, which is characterized in that the data sink specifically includes:
The communication protocol is collected by the communication mode of serial ports, network or SDK.
10. protocol adapter according to claim 9, which is characterized in that the communication protocol includes:
OPC, BACnet, Lonwork, CAN, Modbus or DeviceNet.
CN201811346855.4A 2018-11-13 2018-11-13 A kind of specification adaptation method and protocol adapter Pending CN109450903A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811346855.4A CN109450903A (en) 2018-11-13 2018-11-13 A kind of specification adaptation method and protocol adapter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811346855.4A CN109450903A (en) 2018-11-13 2018-11-13 A kind of specification adaptation method and protocol adapter

Publications (1)

Publication Number Publication Date
CN109450903A true CN109450903A (en) 2019-03-08

Family

ID=65552862

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811346855.4A Pending CN109450903A (en) 2018-11-13 2018-11-13 A kind of specification adaptation method and protocol adapter

Country Status (1)

Country Link
CN (1) CN109450903A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102904868A (en) * 2012-06-27 2013-01-30 中兴通讯股份有限公司 Centralized rail transit alarm system and method
KR20130136620A (en) * 2012-06-05 2013-12-13 (주)코젠 Integrated monitoring and control system
CN104038414A (en) * 2013-08-21 2014-09-10 江南大学 Multiprotocol intelligent household gateway apparatus and system thereof
CN105610904A (en) * 2015-12-17 2016-05-25 四川物联亿达科技有限公司 Access service system for unified access equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130136620A (en) * 2012-06-05 2013-12-13 (주)코젠 Integrated monitoring and control system
CN102904868A (en) * 2012-06-27 2013-01-30 中兴通讯股份有限公司 Centralized rail transit alarm system and method
CN104038414A (en) * 2013-08-21 2014-09-10 江南大学 Multiprotocol intelligent household gateway apparatus and system thereof
CN105610904A (en) * 2015-12-17 2016-05-25 四川物联亿达科技有限公司 Access service system for unified access equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吴新保: "变电站一体化电源在线监控系统设计与实现" *

Similar Documents

Publication Publication Date Title
CN106982149B (en) Message mirror-image method and network flow monitoring management system based on SDN
CN102077194B (en) Network controller based pass-through communication mechanism between local host and management controller
CN102017542B (en) A method for interfacing a fibre channel network with an Ethernet based network
CN110049014A (en) A kind of OpenAPI converting system and method based on more Modbus bus protocols
US6105093A (en) Interface monitor for communicating between different communication protocols
WO2004107093A3 (en) Home network management system
EP1341344A3 (en) Image forming device management system and method
EP1322080A3 (en) System and method for mapping quality of service levels between MPLS and ATM connections in a network element
EP2045786A1 (en) Two networks for gaming machines
CN105187955B (en) Digital-to-analogue switch equipment, building conversational system and the method for realizing that simulation system is connected with digital display circuit
US11362859B2 (en) In-vehicle communication device and in-vehicle system
US7624148B2 (en) System for remote data acquisition based on e-mail message communication through public and private networks
CN104217394A (en) Image splicing processor and processing method thereof
CN110401480A (en) A kind of optical cable line walking analysis method and its device based on cloud platform
EP1239642A3 (en) System and method for enhanced HAVi based device implementation
CN108616524A (en) Data transmission method, device and data converter
US20180097699A1 (en) Device and method for automatic switching of communication protocol of network devices based on user action
CN109450903A (en) A kind of specification adaptation method and protocol adapter
CN109120063B (en) Plug-and-play sensor monitoring method, system and acquisition unit thereof
WO2005039125A1 (en) Home link setting method, home gateway device, and mobile terminal
CN104518928A (en) Method and system for transmission of remote image messages through RPR (resilient packet ring) network
KR102418159B1 (en) Gateway apparatus for heterogeneous communication protocol data communication and setting method of the same
EP1282275B1 (en) Inter-system connection adapter and terminal
DE19832398A1 (en) Connection system for building equipment installation allows a range of different signals to be transmitted using a wall mounted bus system that connects with user equipment
CN103780412B (en) Realization method and apparatus for virtual southbound interface and internet of thing management platform

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