CN108040051A - A kind of configurable things-internet gateway method for converting protocol - Google Patents
A kind of configurable things-internet gateway method for converting protocol Download PDFInfo
- Publication number
- CN108040051A CN108040051A CN201711319202.2A CN201711319202A CN108040051A CN 108040051 A CN108040051 A CN 108040051A CN 201711319202 A CN201711319202 A CN 201711319202A CN 108040051 A CN108040051 A CN 108040051A
- Authority
- CN
- China
- Prior art keywords
- underlying device
- protocol
- internet gateway
- unique mark
- server
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/08—Protocols for interworking; Protocol conversion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/66—Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Computer And Data Communications (AREA)
- Communication Control (AREA)
Abstract
The present invention relates to a kind of configurable things-internet gateway method for converting protocol, including:Communication of the communication of layer equipment on earth and the underlying device reported data of sending instructions under server to server.Beneficial effects of the present invention:The difficulty for realizing protocol conversion can be reduced, and is improved using the compatibility that the things-internet gateway of method is accessed with equipment in the present invention.
Description
Technical field
The present invention relates to Internet of Things field, it particularly relates to a kind of configurable things-internet gateway method for converting protocol.
Background technology
Recently as the fast development of Internet of Things, technology of Internet of things is applied to every field, each all types of intelligence of manufacturer
Energy hardware device comes into being, and can all there be the gateway product of oneself in substantially every family, these gateways are mostly directed to the intelligence with oneself
Can equipment interaction, the openlife gateways of Huawei are to realize to interact with smart machine by way of write device plug-in unit, these
Gateway does not possess compatibility mostly, or realizes that the difficulty of equipment access is larger.
The problem of in correlation technique, not yet propose effective solution at present.
The content of the invention
For the above-mentioned technical problem in correlation technique, the present invention proposes a kind of configurable things-internet gateway protocol conversion
Method, can solve problems of the prior art.
To realize above-mentioned technical purpose, the technical proposal of the invention is realized in this way:
A kind of configurable things-internet gateway method for converting protocol, including:
The communication for the layer equipment on earth of sending instructions under S1 servers, further comprises the steps:
S101 receives server message, and message is parsed, and obtains unique mark peID and load of the underlying device in server
Hold in lotus body;
S102 confirms the template and unique mark of underlying device according to peID, and underlying device is determined according to underlying device template
Protocol type;With
S103 navigates to peID in the data file of respective protocol conversion, is converted into according to holding in load body to underlying device
Relevant control instruction, plus the unique mark for the underlying device having determined, be sent to underlying device;With
S2 underlying devices reported data further comprises the steps to the communication of server:
S201 receives the unique mark for reporting instruction, parsing reported data and underlying device of underlying device;
S202 determines the protocol type of underlying device template, the unique mark of server-side devices and underlying device;With
S203 navigates to reported data in the data file of respective protocol conversion, according to the conversion of respective protocol device type
Rule is packaged into message and is sent to server.
Further, in step s 103, relevant control instruction and the bottom having determined are sent by hardware interface module
The unique mark of layer equipment, in step s 201, instruction is reported by what hardware interface module received underlying device.
Further, in step s 102, peID by levels protocol conversion module determine the template of underlying device with
And the unique mark of underlying device.
Further, in step s 103, peID passes through hardware interface corresponding with underlying device in hardware interface module
Navigate in the data file of respective protocol conversion.
Further, peID confirms corresponding with underlying device in hardware interface module according to levels protocol conversion module
Hardware interface.
Further, in step S202, determined according to the unique mark of underlying device by levels protocol conversion module
The unique mark of underlying device template and server.
Further, in step S202, bottom is determined according to underlying device hardware interface corresponding with hardware interface module
The protocol type of equipment.
Further, in step S101, Ti is passed through3The realization of-Link Protocol protocol modules parses message,
Equipment is obtained in the unique mark peID and load body of server to hold.
The invention also provides a kind of things-internet gateway that protocol conversion is carried out according to the above method.
Beneficial effects of the present invention:The difficulty for realizing protocol conversion can be reduced, and is improved using method in the present invention
The access of things-internet gateway and equipment compatibility.
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 institute in embodiment
Attached drawing to be used is needed to be briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention
Example, for those of ordinary skill in the art, without creative efforts, can also obtain according to these attached drawings
Obtain other attached drawings.
Fig. 1 is the flow chart of the communication of layer equipment on earth of sending instructions under server;
Fig. 2 is flow chart of the underlying device reported data to the communication of server;
Fig. 3 is an implementation of the things-internet gateway that protocol conversion is carried out according to configurable things-internet gateway method for converting protocol
Example structure diagram.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution 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, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art's all other embodiments obtained, belong to what the present invention protected
Scope.
As illustrated in fig. 1 and 2, a kind of configurable things-internet gateway protocol conversion side according to embodiments of the present invention
Method, including:
The communication for the layer equipment on earth of sending instructions under S1 servers, further comprises the steps:
S101 receives server message, and message is parsed, and obtains unique mark peID and load of the underlying device in server
Hold in lotus body;
S102 confirms the template and unique mark of underlying device according to peID, and underlying device is determined according to underlying device template
Protocol type;With
S103 navigates to peID in the data file of respective protocol conversion, is converted into according to holding in load body to underlying device
Relevant control instruction, plus the unique mark for the underlying device having determined, be sent to underlying device;With
S2 underlying devices reported data further comprises the steps to the communication of server:
S201 receives the unique mark for reporting instruction, parsing reported data and underlying device of underlying device;
S202 determines the protocol type of underlying device template, the unique mark of server-side devices and underlying device;With
S203 navigates to reported data in the data file of respective protocol conversion, according to the conversion of respective protocol device type
Rule is packaged into message and is sent to server.
In one particular embodiment of the present invention, in step s 103, relevant control is sent by hardware interface module
The unique mark for the underlying device for instructing and having determined, in step s 201, underlying device is received by hardware interface module
Report instruction.
In one particular embodiment of the present invention, in step s 102, peID is true by levels protocol conversion module
Determine the template of underlying device and the unique mark of underlying device.
In one particular embodiment of the present invention, in step s 103, peID by hardware interface module with bottom
The corresponding hardware interface of equipment is navigated in the data file of respective protocol conversion.
In one particular embodiment of the present invention, peID confirms hardware interface module according to levels protocol conversion module
In hardware interface corresponding with underlying device.
In one particular embodiment of the present invention, in step S202, passed through according to the unique mark of underlying device upper and lower
Layer protocol modular converter determines underlying device template and the unique mark of server.
In one particular embodiment of the present invention, it is corresponding with hardware interface module according to underlying device in step S202
Hardware interface determine the protocol type of underlying device.
In one particular embodiment of the present invention, in step S101, Ti is passed through3- Link Protocol protocol modules are real
Now message is parsed, equipment is obtained and holds in the unique mark peID and load body of server.
The invention also provides a kind of things-internet gateway that protocol conversion is carried out according to the above method as shown in Figure 3.
In order to facilitate understand the present invention above-mentioned technical proposal, below by way of in specifically used mode to the present invention it is above-mentioned
Technical solution is described in detail.
As shown in figure 3, to carry out protocol conversion according to the things-internet gateway method for converting protocol that can configure in the present invention
One embodiment structure diagram of things-internet gateway, wherein things-internet gateway include Ti3- Link Protocol protocol modules,
Ti3- Link Protocol protocol modules communicate to connect levels protocol conversion module, levels protocol conversion module communication link
Connect hardware interface module;Ti3- Link Protocol protocol modules are connected with server communication, and hardware interface module is set with bottom
Standby communication connection.
As shown in Figure 1, in the communication of layer equipment on earth that sends instructions under server:Gateway receives the message of server, leads to
Cross Ti3- Link Protocol protocol modules realize packet parsing, and obtain unique mark peID of the underlying device in server
Hold with load body, peID can determine the template of underlying device and corresponding hardware interface by levels protocol conversion module
The unique mark of mould hardware interface in the block and underlying device, respective protocol conversion is navigated to according to corresponding hardware interface
In data file, it is converted into instructing the relevant control of underlying device according in load body holding, is set plus the bottom having determined
Standby unique mark, by hardware interface module corresponding hardware interface transmission go down, realize and send instructions on earth under server
The communication of layer equipment;
As shown in Fig. 2, in the communication of underlying device reported data to server:Gateway hardware interface corresponding with underlying device
The unique mark for reporting instruction, reported data and underlying device being parsed of underlying device is received, according to underlying device
Unique mark determines underlying device template and the unique mark of server end by levels protocol conversion module, according to corresponding
Hardware interface can determine that the protocol type of equipment, navigate in the data file of respective protocol conversion, according to respective protocol equipment
The transformation rule of type is packaged into Ti3- Link Protocol messages are sent to server, complete underlying device reported data and arrive
The communication of server.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
With within principle, any modification, equivalent replacement, improvement and so on, should all be included in the protection scope of the present invention god.
Claims (9)
- A kind of 1. configurable things-internet gateway method for converting protocol, it is characterised in that including:The communication for the layer equipment on earth of sending instructions under S1 servers, further comprises the steps:S101 receives server message, and message is parsed, and obtains unique mark peID and load of the underlying device in server Hold in lotus body;S102 confirms the template and unique mark of underlying device according to peID, and underlying device is determined according to underlying device template Protocol type;WithS103 navigates to peID in the data file of respective protocol conversion, is converted into according to holding in load body to underlying device Relevant control instruction, plus the unique mark for the underlying device having determined, be sent to underlying device;WithS2 underlying devices reported data further comprises the steps to the communication of server:S201 receives the unique mark for reporting instruction, parsing reported data and underlying device of underlying device;S202 determines the protocol type of underlying device template, the unique mark of server-side devices and underlying device;WithS203 navigates to reported data in the data file of respective protocol conversion, according to the conversion of respective protocol device type Rule is packaged into message and is sent to server.
- 2. a kind of configurable things-internet gateway method for converting protocol according to claim 1, it is characterised in that in step In S103, the unique mark of relevant control instruction and the underlying device having determined is sent by hardware interface module, in step In S201, instruction is reported by what hardware interface module received underlying device.
- 3. a kind of configurable things-internet gateway method for converting protocol according to claim 2, it is characterised in that in step In S102, peID determines the template of underlying device and the unique mark of underlying device by levels protocol conversion module.
- 4. a kind of configurable things-internet gateway method for converting protocol according to claim 3, it is characterised in that in step In S103, peID navigates to the data of respective protocol conversion by hardware interface corresponding with underlying device in hardware interface module In file.
- A kind of 5. configurable things-internet gateway method for converting protocol according to claim 4, it is characterised in that peID roots Confirm hardware interface corresponding with underlying device in hardware interface module according to levels protocol conversion module.
- A kind of 6. configurable things-internet gateway method for converting protocol according to claim 2, it is characterised in that step In S202, underlying device template and server are determined by levels protocol conversion module according to the unique mark of underlying device Unique mark.
- A kind of 7. configurable things-internet gateway method for converting protocol according to claim 6, it is characterised in that step In S202, the protocol type of underlying device is determined according to underlying device hardware interface corresponding with hardware interface module.
- A kind of 8. configurable things-internet gateway method for converting protocol according to claim 1, it is characterised in that step In S101, pass through Ti3- Link Protocol protocol modules are realized and message are parsed, and obtain equipment in the unique of server Identify in peID and load body and hold.
- 9. a kind of method using any one in claim 1,5,7 and 8 carries out the things-internet gateway of protocol conversion.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711319202.2A CN108040051A (en) | 2017-12-12 | 2017-12-12 | A kind of configurable things-internet gateway method for converting protocol |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711319202.2A CN108040051A (en) | 2017-12-12 | 2017-12-12 | A kind of configurable things-internet gateway method for converting protocol |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108040051A true CN108040051A (en) | 2018-05-15 |
Family
ID=62102525
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711319202.2A Pending CN108040051A (en) | 2017-12-12 | 2017-12-12 | A kind of configurable things-internet gateway method for converting protocol |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108040051A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108769017A (en) * | 2018-05-29 | 2018-11-06 | 杭州字符串科技有限公司 | A kind of data communications method and device |
CN109981617A (en) * | 2019-03-12 | 2019-07-05 | 深圳市智物联网络有限公司 | A kind of internet of things equipment monitoring method, system and electronic equipment and storage medium |
CN110290127A (en) * | 2019-06-20 | 2019-09-27 | 云南电网有限责任公司电力科学研究院 | A kind of message forwarding method and message converting system |
CN110569250A (en) * | 2019-08-12 | 2019-12-13 | 青岛聚好联科技有限公司 | Management method and device for analysis library of Internet of things network element |
CN110912813A (en) * | 2019-12-26 | 2020-03-24 | 杭州行至云起科技有限公司 | Gateway supporting multiple protocols, control method and event reporting method |
CN111294320A (en) * | 2018-12-07 | 2020-06-16 | 杭州海康威视系统技术有限公司 | Data conversion method and device |
CN113596017A (en) * | 2021-07-27 | 2021-11-02 | 上海上实龙创智能科技股份有限公司 | Protocol analysis method, device, soft gateway and storage medium |
CN116156012A (en) * | 2023-04-21 | 2023-05-23 | 中国电子科技集团公司第二十八研究所 | Universal heterogeneous Internet of things equipment standardized access and data analysis system and method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104660498A (en) * | 2015-03-17 | 2015-05-27 | 联想(北京)有限公司 | Gateway equipment and information processing method |
CN106534357A (en) * | 2016-12-12 | 2017-03-22 | 成都秦川科技发展有限公司 | Gateway of intelligent gas Internet of Things |
US20170279894A1 (en) * | 2016-03-22 | 2017-09-28 | Esmart Tech, Inc. | Universal internet of things (iot) smart translator |
-
2017
- 2017-12-12 CN CN201711319202.2A patent/CN108040051A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104660498A (en) * | 2015-03-17 | 2015-05-27 | 联想(北京)有限公司 | Gateway equipment and information processing method |
US20170279894A1 (en) * | 2016-03-22 | 2017-09-28 | Esmart Tech, Inc. | Universal internet of things (iot) smart translator |
CN106534357A (en) * | 2016-12-12 | 2017-03-22 | 成都秦川科技发展有限公司 | Gateway of intelligent gas Internet of Things |
Non-Patent Citations (1)
Title |
---|
新华网 HTTP:WWW.XINHUANET.COMINFO2017-0626C_136396025.HTM: "物联网开放体系架构", 《新华网》 * |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108769017A (en) * | 2018-05-29 | 2018-11-06 | 杭州字符串科技有限公司 | A kind of data communications method and device |
CN111294320A (en) * | 2018-12-07 | 2020-06-16 | 杭州海康威视系统技术有限公司 | Data conversion method and device |
CN109981617A (en) * | 2019-03-12 | 2019-07-05 | 深圳市智物联网络有限公司 | A kind of internet of things equipment monitoring method, system and electronic equipment and storage medium |
CN110290127A (en) * | 2019-06-20 | 2019-09-27 | 云南电网有限责任公司电力科学研究院 | A kind of message forwarding method and message converting system |
CN110569250A (en) * | 2019-08-12 | 2019-12-13 | 青岛聚好联科技有限公司 | Management method and device for analysis library of Internet of things network element |
CN110912813A (en) * | 2019-12-26 | 2020-03-24 | 杭州行至云起科技有限公司 | Gateway supporting multiple protocols, control method and event reporting method |
CN110912813B (en) * | 2019-12-26 | 2022-03-11 | 杭州行至云起科技有限公司 | Gateway supporting multiple protocols, control method and event reporting method |
CN113596017A (en) * | 2021-07-27 | 2021-11-02 | 上海上实龙创智能科技股份有限公司 | Protocol analysis method, device, soft gateway and storage medium |
CN113596017B (en) * | 2021-07-27 | 2023-09-12 | 上海上实龙创智能科技股份有限公司 | Protocol analysis method and device, soft gateway and storage medium |
CN116156012A (en) * | 2023-04-21 | 2023-05-23 | 中国电子科技集团公司第二十八研究所 | Universal heterogeneous Internet of things equipment standardized access and data analysis system and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108040051A (en) | A kind of configurable things-internet gateway method for converting protocol | |
CN105450745B (en) | Internet of Things web information system | |
CN103686848B (en) | Method, gateway, platform and system for processing messages of family Internet of Things | |
CN103312532B (en) | The automatic method for removing of fault for things-internet gateway and system | |
CN109687995A (en) | A kind of OPC UA message transmitting method based on CoAP suitable for resource-constrained type industrial field device | |
CN104363285B (en) | A kind of network communication program generation method and device | |
CN101789938B (en) | Agent-based component generation method in reconfigurable software | |
CN101521615B (en) | Communication method for different networks and internetwork for smart machine | |
CN101567861B (en) | Data synchronization method and application system between heterogeneous application systems | |
CN110290127A (en) | A kind of message forwarding method and message converting system | |
CN108769017A (en) | A kind of data communications method and device | |
CN108234149A (en) | Network request management method and device | |
CN104202313A (en) | Data forwarding method and gateway | |
CN103647782A (en) | Method for conversion between elevator communication protocol and elevator internet-of-things collection and communication protocol | |
CN103997436A (en) | Link maintaining method and gateway in internet of things of elevator | |
CN104580346B (en) | Data transmission method and device | |
CN109104744A (en) | Utilize data transmission, reception and the communication means of WIFI management frame | |
CN101610215B (en) | Route forwarding method and gateway equipment | |
CN104639557B (en) | A kind of method, system and equipment for establishing PCEP sessions | |
CN101296232A (en) | Adapting device and method with multi-network management and multi-north interface | |
CN102970701B (en) | Base station, base control and method | |
CN106817234A (en) | Device management method and device, cloud WLAN for cloud WLAN | |
CN103368908A (en) | Gateway protocol, gateway equipment and electrical equipment control system | |
CN108173751A (en) | A kind of intelligent networking gateway based on national standard | |
CN103997497A (en) | Communication method and protocol converter for internet of things of elevator |
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: 20180515 |
|
RJ01 | Rejection of invention patent application after publication |