CN107666483A - A kind of conversion equipment for the multi-protocols for supporting multiple interfaces - Google Patents

A kind of conversion equipment for the multi-protocols for supporting multiple interfaces Download PDF

Info

Publication number
CN107666483A
CN107666483A CN201710844335.5A CN201710844335A CN107666483A CN 107666483 A CN107666483 A CN 107666483A CN 201710844335 A CN201710844335 A CN 201710844335A CN 107666483 A CN107666483 A CN 107666483A
Authority
CN
China
Prior art keywords
protocol
data
protocol data
equipment
purpose equipment
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
CN201710844335.5A
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.)
Anhui Three Horse Mdt Infotech Ltd
Original Assignee
Anhui Three Horse Mdt Infotech 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 Anhui Three Horse Mdt Infotech Ltd filed Critical Anhui Three Horse Mdt Infotech Ltd
Priority to CN201710844335.5A priority Critical patent/CN107666483A/en
Publication of CN107666483A publication Critical patent/CN107666483A/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/08Protocols for interworking; Protocol conversion

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Communication Control (AREA)

Abstract

The invention discloses embodiment to disclose a kind of conversion equipment for the multi-protocols for supporting multiple interfaces, and the conversion equipment includes multiple interfaces, and for receiving and sending data, the conversion equipment also includes:Protocol identification module, for being identified by interface protocol data, and to protocol data, obtain protocol type;Sending module, in the case of in the protocol type for protocol type used in the purpose equipment of the protocol data, the protocol data is sent to the purpose equipment;Protocol analysis reconstructed module, for not being according to the rule pre-set in the protocol type in the case of protocol type used in the purpose equipment of the protocol data, the protocol data is converted into protocol data corresponding to agreement used in the purpose equipment, and the protocol data after conversion is sent to the purpose equipment by interface;Conversion equipment provided in an embodiment of the present invention, conversion cost can be reduced.

Description

A kind of conversion equipment for the multi-protocols for supporting multiple interfaces
Technical field
The present invention relates to the conversion equipment in conversion equipment field, the more particularly to multi-protocols of support multiple interfaces.
Background technology
Conversion equipment is a kind of transmission that can be used for realizing data between two kinds of equipment (such as frequency converter is with communicating main website) With the device of exchange.Currently marketed conversion equipment is typically only capable to realize a kind of conversion of agreement.
But in actual applications, the agreement and interface of equipment be all it is fixed, the equipment can only transfer data to The equipment of oneself agreement of the same race, the transmission of data can not be carried out between the equipment of the different agreements used.Accordingly, it is possible to it can produce The raw communications protocol with two kinds and the above realizes the needs of Redundant Control, or the realization pair in the case where not interrupting system control In the needs of the debugging monitoring of system;This requires to turn while conversion equipment can be realized for two kinds and above communications protocol Change, prior art then needs to increase another conversion equipment faced with this situation, so adds conversion cost.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of conversion equipment for the multi-protocols for supporting multiplex roles, to reduce conversion Cost.Technical scheme is as follows:
For above-mentioned purpose, the embodiment of the present invention provides a kind of conversion equipment for the multi-protocols for supporting multiple interfaces, described Conversion equipment includes multiple interfaces, and for receiving and sending data, the conversion equipment also includes:
Protocol identification module, for being identified by interface protocol data, and to protocol data, obtain agreement kind Class;
Sending module, for being protocol type used in the purpose equipment of the protocol data in the protocol type In the case of, the protocol data is sent to the purpose equipment;
Protocol analysis reconstructed module, for not being used in the purpose equipment of the protocol data in the protocol type According to the rule pre-set in the case of protocol type, the protocol data is converted into association used in the purpose equipment Protocol data corresponding to view, and the protocol data after conversion is sent to the purpose equipment by interface.
Optionally, the protocol analysis reconstructed module, including:
Dissection process unit, for not being agreement used in the purpose equipment of the protocol data in the protocol type In the case of species, according to the mapping relations between protocol type used in the protocol type and purpose equipment that are identified, Parse the protocol data;
Data recombination unit, obtain the purpose for the rule reconstruct of protocol type according to used in purpose equipment and set Protocol data corresponding to standby used agreement;
First transmitting element, for the protocol data after conversion to be sent into the purpose equipment by interface.
Optionally, the protocol analysis reconstructed module includes:
Agreement Interpretation unit, for not being agreement used in the purpose equipment of the protocol data in the protocol type In the case of species, obtained according to internal agreement interpretative rule corresponding to purpose equipment from the protocol data used in agreement Species corresponds to intermediate data;
Protocol generation unit, for being recombinated according to the internal agreement interpretative rule to the intermediate data, obtain The corresponding protocol data of protocol type used in the purpose equipment;
Second transmitting element, for the protocol data after conversion to be sent into the purpose equipment by interface.
Optionally, described device also includes:
Internal agreement interpretative rule generation module, for by interface to agreement interpretative rule be compiled or Identification, and it is converted into the internal agreement interpretative rule.
Optionally, described device also includes:
Alarm module, in the case of the rule that the protocol type identified is not met for detecting the protocol data, enter Row alarm.
As can be seen here, the conversion equipment of the multi-protocols for the support multiple interfaces that the application provides, the multiple interfaces of conversion equipment, For receiving and sending data, protocol identification module, for knowing by interface protocol data, and to protocol data Not, protocol type is obtained;Sending module, for being association used in the purpose equipment of the protocol data in the protocol type In the case of discussing species, the protocol data is sent to the purpose equipment;Protocol analysis reconstructed module, in the association View species be not according to the rule pre-set in the case of protocol type used in the purpose equipment of the protocol data, will The protocol data is converted to protocol data corresponding to agreement used in the purpose equipment, and by the protocol data after conversion The purpose equipment is sent to by interface.The conversion equipment of the application can support a variety of conversions for realizing various protocols;Nothing It need to be avoided in the prior art during various protocols conversion is realized in the prior art to the needs of another conversion equipment The problem of needing multiple conversion equipments, reduce conversion cost.
Certainly, any product or method for implementing the present invention must be not necessarily required to reach all the above excellent simultaneously Point.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the structural representation of the conversion equipment of the multi-protocols of support multiple interfaces provided by the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
Referring to Fig. 1, the conversion equipment includes multiple interfaces 101, protocol identification module 102, sending module 103, agreement solution Reconstructed module 104 is analysed,
Interface 101, for receiving and sending data;
Protocol identification module 102, for being identified by interface protocol data, and to protocol data, assisted Discuss species;
The sending module of sending module 103, for being used in the protocol type by the purpose equipment of the protocol data Protocol type in the case of, the protocol data is sent to the purpose equipment;
Protocol analysis reconstructed module 104, for not being that the purpose equipment of the protocol data is made in the protocol type According to the rule pre-set in the case of protocol type, the protocol data is converted into the purpose equipment and used Agreement corresponding to protocol data, and the protocol data after conversion is sent to the purpose equipment by interface.
Protocol data is sent to the conversion equipment that the application provides by the transmission source of protocol data, and conversion equipment can pass through Interface corresponding to protocol type used in transmission source, protocol data is received, and protocol data is sent to protocol identification module, The protocol class model that protocol identification module 102 can carry according to protocol data, protocol data is identified, and obtains agreement kind Class.Exemplary, TCP (Transmission Control Protocol, transmission control protocol) protocol class model 6, UDP (User Datagram Protocol, UDP) protocol class model 17, ICMP (Internet Control Message Protocol, Internet Control Message Protocol) protocol class model 1, if protocol identification mould Block 102 identifies the protocol class model 1 carried in protocol data, then identified protocol type is ICMP, that is to say, that Agreement used in transmission source is ICMP.
Sending module is in the case where the protocol type identified is protocol type used in purpose equipment, it is not necessary to enters Row protocol conversion, i.e., protocol data need not be handled, sending module corresponding to the protocol type of protocol data by connecing Mouth is sent to purpose equipment.
Protocol analysis reconstructed module 104, it is not agreement used in the purpose equipment of the protocol data in protocol type According to the rule pre-set in the case of species, protocol data is converted to corresponding to agreement used in the purpose equipment Protocol data, and the protocol data after conversion is sent to purpose equipment by interface.
The rule pre-set is protocol conversion rule, specifically can be depending on actual conditions.
In a kind of embodiment of the application, protocol analysis reconstructed module 104, it can include:
Dissection process unit, for not being agreement used in the purpose equipment of the protocol data in the protocol type In the case of species, according to the mapping relations between protocol type used in the protocol type and purpose equipment that are identified, Parse the protocol data;
Data recombination unit, obtain the purpose for the rule reconstruct of protocol type according to used in purpose equipment and set Protocol data corresponding to standby used agreement;
First transmitting element, for the protocol data after conversion to be sent into the purpose equipment by interface.
Data format used in data corresponding to different agreements and language may be different, it is necessary to standard according to agreement Rule, to protocol data carry out agreement, after parsing according to used in purpose equipment protocol type rule, reconstruct parsing after Protocol data, the protocol data after being changed.
In a kind of embodiment of the application, protocol analysis reconstructed module 104, it can include:
Agreement Interpretation unit, for not being agreement used in the purpose equipment of the protocol data in the protocol type In the case of species, obtained according to internal agreement interpretative rule corresponding to purpose equipment from the protocol data used in agreement Species corresponds to intermediate data;
Protocol generation unit, for being recombinated according to the internal agreement interpretative rule to the intermediate data, obtain The corresponding protocol data of protocol type used in the purpose equipment;
Second transmitting element, for the protocol data after conversion to be sent into the purpose equipment by interface.
Agreement Interpretation unit obtains the number of the respective field corresponding to the agreement according to agreement interpretative rule from protocol data According to content (also referred to as intermediate data), such as:Source address, destination address, length, load data etc., it is that the content of next stage is accurate Get data ready.
The centre that protocol generation unit extracts to agreement Interpretation unit is handled, and such as data are performed mathematical calculations, will Multiword segment data merges, data filtering operation etc..Such as:The data of input include a, the field such as b, c, and the content exported requires Data are:A+b-c, then such operation is carried out in the unit, generate new protocol data.Particularly, assisted by the inside Interpretative rule is discussed, explain the application communication data protocol of input, the data in the application communication data flow of input are carried out to computing, Combination, fractionation etc. are handled and generated and export the operation such as new application communication data protocol.
In a kind of embodiment of the application, device can also include:
Internal agreement interpretative rule generation module, for by interface to agreement interpretative rule be compiled or Identification, and it is converted into the internal agreement interpretative rule.
Internal agreement interpretative rule generation unit inputs the identification of application communication data protocol to protocol identification module respectively Rule, the means of interpretation of application communication data protocol is inputted to agreement Interpretation unit, protocol processes are inputted to protocol generation unit Method.
In a kind of embodiment of the application, the device can also include:
Alarm module, in the case of the rule that the protocol type identified is not met for detecting the protocol data, enter Row alarm.
If the detection protocol data received does not meet the rule of the protocol type identified, even if by agreement number According to the protocol data for being converted to protocol type corresponding to purpose equipment, purpose equipment can not be at the protocol data that receives This data are alarmed, are easy to staff to know the information of data exception in time, and can reduce tts resource by reason Waste and purpose equipment process resource waste.
In this application, conversion equipment by multiple interfaces or sends data, therefore can support multiplex roles, in addition By the way that protocol type is identified, and agreement is changed, it is possible to achieve various protocols are changed, and reduction is converted into This.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality Body or operation make a distinction with another entity or operation, and not necessarily require or imply and deposited between these entities or operation In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to Nonexcludability includes, so that process, method, article or equipment including a series of elements not only will including those Element, but also the other element including being not expressly set out, or it is this process, method, article or equipment also to include Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that Other identical element also be present in process, method, article or equipment including the key element.
Each embodiment in this specification is described by the way of related, identical similar portion between each embodiment Divide mutually referring to what each embodiment stressed is the difference with other embodiment.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent substitution and improvements made within the spirit and principles in the present invention etc., are all contained in protection scope of the present invention It is interior.

Claims (5)

  1. A kind of 1. conversion equipment for the multi-protocols for supporting multiple interfaces, it is characterised in that the conversion equipment includes multiple interfaces, For receiving and sending data, the conversion equipment also includes:
    Protocol identification module, for being identified by interface protocol data, and to protocol data, obtain protocol type;
    Sending module, for the situation in the protocol type for protocol type used in the purpose equipment of the protocol data Under, the protocol data is sent to the purpose equipment;
    Protocol analysis reconstructed module, for not being agreement used in the purpose equipment of the protocol data in the protocol type According to the rule pre-set in the case of species, the protocol data is converted into agreement pair used in the purpose equipment The protocol data answered, and the protocol data after conversion is sent to the purpose equipment by interface.
  2. A kind of 2. conversion equipment of multi-protocols for supporting multiple interfaces according to claim 1, it is characterised in that the association View parsing reconstructed module, including:
    Dissection process unit, for not being protocol type used in the purpose equipment of the protocol data in the protocol type In the case of, according to the mapping relations between protocol type used in the protocol type and purpose equipment that are identified, parsing The protocol data;
    Data recombination unit, the purpose equipment institute is obtained for the rule reconstruct of protocol type according to used in purpose equipment Protocol data corresponding to the agreement used;
    First transmitting element, for the protocol data after conversion to be sent into the purpose equipment by interface.
  3. A kind of 3. conversion equipment of multi-protocols for supporting multiple interfaces according to claim 1, it is characterised in that the association View parsing reconstructed module includes:
    Agreement Interpretation unit, for not being protocol type used in the purpose equipment of the protocol data in the protocol type In the case of, obtained according to internal agreement interpretative rule corresponding to purpose equipment from the protocol data used in protocol type Corresponding intermediate data;
    Protocol generation unit, for being recombinated according to the internal agreement interpretative rule to the intermediate data, described in acquisition The corresponding protocol data of protocol type used in purpose equipment;
    Second transmitting element, for the protocol data after conversion to be sent into the purpose equipment by interface.
  4. A kind of 4. conversion equipment of multi-protocols for supporting multiple interfaces according to claim 3, it is characterised in that the dress Putting also includes:
    Internal agreement interpretative rule generation module, for by interface to agreement interpretative rule be compiled or know Not, and it is converted into the internal agreement interpretative rule.
  5. A kind of 5. conversion equipment of multi-protocols for supporting multiple interfaces according to claim 1, it is characterised in that the dress Putting also includes:Alarm module, in the case of the rule that the protocol type identified is not met for detecting the protocol data, enter Row alarm.
CN201710844335.5A 2017-09-19 2017-09-19 A kind of conversion equipment for the multi-protocols for supporting multiple interfaces Pending CN107666483A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710844335.5A CN107666483A (en) 2017-09-19 2017-09-19 A kind of conversion equipment for the multi-protocols for supporting multiple interfaces

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710844335.5A CN107666483A (en) 2017-09-19 2017-09-19 A kind of conversion equipment for the multi-protocols for supporting multiple interfaces

Publications (1)

Publication Number Publication Date
CN107666483A true CN107666483A (en) 2018-02-06

Family

ID=61097408

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710844335.5A Pending CN107666483A (en) 2017-09-19 2017-09-19 A kind of conversion equipment for the multi-protocols for supporting multiple interfaces

Country Status (1)

Country Link
CN (1) CN107666483A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108521420A (en) * 2018-04-08 2018-09-11 天津芯海创科技有限公司 Software definition interconnecting method, device and group network system
CN108777138A (en) * 2018-06-14 2018-11-09 厦门盈趣科技股份有限公司 Audio-frequency information acquisition methods and performance device
CN109274603A (en) * 2018-08-29 2019-01-25 天津芯海创科技有限公司 Interconnecting method and device between heterogeneous protocol data based on software definition
CN109450936A (en) * 2018-12-21 2019-03-08 武汉长江通信智联技术有限公司 A kind of adaptation method and device of the hetero-com-munication agreement based on Kafka
CN109889554A (en) * 2019-04-19 2019-06-14 中国航空无线电电子研究所 A kind of multibus protocol dynamic conversion method and device
CN113014527A (en) * 2019-12-19 2021-06-22 南京品尼科自动化有限公司 Protocol conversion device on communication manager and protocol conversion method thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1567841A (en) * 2003-07-04 2005-01-19 华为技术有限公司 An equipment and method for implementing information forwarding
CN103428627A (en) * 2012-05-22 2013-12-04 中国移动通信集团江苏有限公司 Method for transferring data in internet of things, internet of things system and corresponding device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1567841A (en) * 2003-07-04 2005-01-19 华为技术有限公司 An equipment and method for implementing information forwarding
CN103428627A (en) * 2012-05-22 2013-12-04 中国移动通信集团江苏有限公司 Method for transferring data in internet of things, internet of things system and corresponding device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108521420A (en) * 2018-04-08 2018-09-11 天津芯海创科技有限公司 Software definition interconnecting method, device and group network system
CN108777138A (en) * 2018-06-14 2018-11-09 厦门盈趣科技股份有限公司 Audio-frequency information acquisition methods and performance device
CN108777138B (en) * 2018-06-14 2021-02-05 厦门盈趣科技股份有限公司 Audio information acquisition method and singing device
CN109274603A (en) * 2018-08-29 2019-01-25 天津芯海创科技有限公司 Interconnecting method and device between heterogeneous protocol data based on software definition
CN109274603B (en) * 2018-08-29 2022-05-17 天津芯海创科技有限公司 Interconnection method and device based on software definition between heterogeneous protocol data
CN109450936A (en) * 2018-12-21 2019-03-08 武汉长江通信智联技术有限公司 A kind of adaptation method and device of the hetero-com-munication agreement based on Kafka
CN109889554A (en) * 2019-04-19 2019-06-14 中国航空无线电电子研究所 A kind of multibus protocol dynamic conversion method and device
CN113014527A (en) * 2019-12-19 2021-06-22 南京品尼科自动化有限公司 Protocol conversion device on communication manager and protocol conversion method thereof

Similar Documents

Publication Publication Date Title
CN107666483A (en) A kind of conversion equipment for the multi-protocols for supporting multiple interfaces
CN104852845B (en) A kind of intelligent networking gateway
CN102377814B (en) Remote assistance service method aiming at embedded operation system
CN110347863B (en) Speaking recommendation method and device and storage medium
CN104461516B (en) A kind of data processing method and device
CN105681285B (en) A kind of isomery industry signal source information acquisition methods
CN106814975A (en) A kind of memory management method and its system for polymorphic type storage device
CN106936932A (en) A kind of method wrapped by cloud service protocol access robot software
CN106100914A (en) The method for pushing of a kind of cloud AC warning information and system
CN104184745A (en) Intelligent front-end equipment communication system
CN101667964B (en) Collocation method and device of access control list (ACL) regulations
CN110166353A (en) LoRaWan gateway system and LoRaWan gateway
CN110380969A (en) A kind of traffic scheduling method and system based on domain name
CN109981538A (en) The register method and system of subscription event, the processing method and system for subscribing to event
CN104866404B (en) A kind of general data monitoring method
CN109217986A (en) A kind of data transmission method and system based on Internet of Things
CN104601358B (en) A kind of matching process and device realized between acquisition system and analysis system
CN106302432B (en) A kind of communication device and control method based on car networking
CN107948005A (en) The update method and device of Internet of Things fidonetFido
CN107172013A (en) A kind of data transmission method and system
CN104994178B (en) A kind of method for network address translation and device
CN107193663A (en) A kind of service message processing method and device
CN106126364A (en) A kind of fault event memory collection method based on Linux system and system
CN206489424U (en) The control device and monitoring system of monitoring device in a kind of tunnel
CN207802008U (en) A kind of industrial cloud monitoring system based on Android

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180206

RJ01 Rejection of invention patent application after publication