CN115174340A - Communication method supporting interaction between multiple protocol types and operating system of Internet of things - Google Patents

Communication method supporting interaction between multiple protocol types and operating system of Internet of things Download PDF

Info

Publication number
CN115174340A
CN115174340A CN202210747655.XA CN202210747655A CN115174340A CN 115174340 A CN115174340 A CN 115174340A CN 202210747655 A CN202210747655 A CN 202210747655A CN 115174340 A CN115174340 A CN 115174340A
Authority
CN
China
Prior art keywords
internet
things
proxy service
service module
message
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
CN202210747655.XA
Other languages
Chinese (zh)
Other versions
CN115174340B (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.)
Hangzhou Diji Intelligent Technology Co ltd
Original Assignee
Hangzhou Diji Intelligent 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 Hangzhou Diji Intelligent Technology Co ltd filed Critical Hangzhou Diji Intelligent Technology Co ltd
Priority to CN202210747655.XA priority Critical patent/CN115174340B/en
Publication of CN115174340A publication Critical patent/CN115174340A/en
Application granted granted Critical
Publication of CN115174340B publication Critical patent/CN115174340B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0226Mapping or translating multiple network management protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

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 application relates to a communication method supporting interaction between various protocol types and an operating system of the Internet of things, wherein an iLink standard protocol format is set and established; deploying a proxy service module, and configuring the iLink standard protocol format on the proxy service module; deploying an internet of things operating system, and deploying the proxy service module on the internet of things operating system; and establishing communication connection between the Internet of things equipment and the Internet of things operating system through the proxy service module. The access function of protocols such as MQTT, TCP, HTTP and the like can be realized simultaneously through the proxy service module. The Internet of things equipment can be developed and adapted according to the iLink format, the Internet of things operating system can be directly accessed as long as the iLink format is met, the equipment does not need to be customized and developed, code software does not need to be redeployed, the efficiency is improved, and meanwhile, the research and development cost is reduced.

Description

Communication method supporting interaction between multiple protocol types and operating system of Internet of things
Technical Field
The disclosure relates to the technical field of internet of things, and in particular relates to a communication method and device supporting interaction between multiple protocol types and an operating system of the internet of things, and a communication control system of the internet of things.
Background
In the fields of smart industry, smart building, smart energy, etc., there are a variety of different device protocols, such as: MQTT, TCP, HTTP, COAP, etc. The whole thing networking presents "fragmentation" characteristic. Only a small range of devices can be associated with each other to achieve mutual recognition, interworking, and interoperation. While to a greater extent the device is still isolated.
This is because different devices use different communication methods (MQTT, TCP, HTTP, COAP, etc.), and protocols based on different communication methods are different. For example, both devices use MQTT mode for data interaction, but the message formats wrapped in MQTT messages are different. However, the existing schemes for accessing different communication protocol devices need customized development, and new devices for accessing a communication method supporting interaction between multiple protocol types and an operating system of the internet of things need to be developed again each time, so that the following technical disadvantages exist:
the equipment accessed with different communication protocols needs to be customized and developed, and the efficiency is too low;
code software needs to be redeployed when new communication protocol equipment is accessed, so that the efficiency is too low;
the above-mentioned modes can greatly raise research and development cost.
Therefore, how to make the operating system of the internet of things compatible with different communication modes and protocols so as to reduce the research and development cost becomes a technical problem which needs to be solved urgently in the current field of the internet of things.
Disclosure of Invention
In order to solve the above problems, the present application provides a communication method and apparatus supporting interaction between multiple protocol types and an operating system of an internet of things, and a communication control system of the internet of things.
On one hand, the application provides a communication method supporting interaction between multiple protocol types and an operating system of the internet of things, and the communication method comprises the following steps:
s100, setting and creating an iLink standard protocol format;
s200, deploying a proxy service module, and configuring the iLink standard protocol format on the proxy service module;
s300, deploying an Internet of things operating system, and deploying the proxy service module on the Internet of things operating system;
s400, establishing communication connection between the Internet of things equipment and the Internet of things operating system through the proxy service module.
As an optional implementation of the present application, optionally, in step S100, the setting and creating an iLink standard protocol format includes:
s101, acquiring a plurality of different communication protocols;
s102, respectively collecting protocol format characteristics of the communication protocols aiming at different communication protocols;
s103, establishing a standardized format requirement based on the protocol format characteristic, and establishing and obtaining the iLink standard protocol format according to the standardized format requirement.
As an optional embodiment of the present application, optionally, in step S200, after the proxy service module is deployed, the method further includes:
s201, establishing a communication port corresponding to the communication protocol;
s202, deploying the communication port on the proxy service module, and associating the communication port with the proxy service module;
s203, inputting the reported data of the Internet of things equipment to the proxy service module through the communication port.
As an optional implementation of the present application, optionally, in S400, establishing, by the proxy service module, a communication connection between the internet of things device and the internet of things operating system includes:
s401, the Internet of things equipment sends a message to a proxy service module through a preset communication protocol;
s402, the proxy service module receives the message, and analyzes and obtains a protocol format of the message according to the message;
s403, the proxy service module judges whether the protocol format matches the iLink standard protocol format: if so, establishing communication connection between the Internet of things equipment and the Internet of things operating system based on the preset communication protocol.
As an optional implementation of the present application, optionally, in S400, establishing, by the proxy service module, a communication connection between the internet of things device and the internet of things operating system, further includes:
s410, the Internet of things equipment sends a message to a proxy service module through a preset communication protocol;
s420, the proxy service module receives the message, and analyzes and obtains a protocol format of the message according to the message;
s430, the proxy service module judges whether the protocol format matches the iLink standard protocol format: and if not, analyzing the protocol format of the message through a preset dynamic js script, converting the protocol format of the message into a protocol format matched with the iLink standard protocol format, and establishing communication connection between the Internet of things equipment and the Internet of things operating system based on the converted protocol format.
In another aspect of the present application, an apparatus for implementing the communication method supporting multiple protocol types to interact with an operating system of an internet of things described above is provided, including:
the iLink creation module is used for setting and creating an iLink standard protocol format;
the first deployment module is used for deploying a proxy service module and configuring the iLink standard protocol format on the proxy service module;
the second deployment module is used for deploying the operating system of the Internet of things and deploying the proxy service module on the operating system of the Internet of things;
and the networking module is used for establishing communication connection between the Internet of things equipment and the Internet of things operating system through the proxy service module.
As an optional embodiment of the present application, optionally, the system further includes a port deployment module, configured to:
establishing a communication port corresponding to the communication protocol; and
deploying the communication port on the proxy service module, and associating the communication port with the proxy service module; and
and inputting the reported data of the Internet of things equipment to the proxy service module through the communication port.
As an optional embodiment of the present application, optionally, the networking module includes:
the first message module is used for sending a message to the proxy service module by the Internet of things equipment through a preset communication protocol;
the first analysis module is used for receiving the message by the proxy service module, analyzing the message according to the message and obtaining the protocol format of the message;
the first internet judgment module is configured to judge, by the proxy service module, whether the protocol format matches the iink standard protocol format: if so, establishing communication connection between the Internet of things equipment and the Internet of things operating system based on the preset communication protocol.
As an optional implementation of the present application, optionally, the networking module further includes:
the second message module is used for sending a message to the proxy service module by the Internet of things equipment through a preset communication protocol;
the second analysis module is used for receiving the message by the proxy service module, analyzing the message according to the message and obtaining the protocol format of the message;
the second internet connection judging module is used for judging whether the protocol format is matched with the iLink standard protocol format or not through the proxy service module: and if not, analyzing the protocol format of the message through a preset dynamic js script, converting the protocol format of the message into a protocol format matched with the iLink standard protocol format, and establishing communication connection between the Internet of things equipment and the Internet of things operating system based on the converted protocol format.
On the other hand, the application also provides an internet of things communication control system, which includes:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute the executable instructions to implement the communication method supporting multiple protocol types to interact with the operating system of the internet of things.
The invention has the technical effects that:
the method comprises the steps of setting and creating an iLink standard protocol format; deploying a proxy service module, and configuring the iLink standard protocol format on the proxy service module; deploying an operating system of the Internet of things, and deploying the proxy service module on the operating system of the Internet of things; and establishing communication connection between the Internet of things equipment and the Internet of things operating system through the proxy service module. The method can adapt to different communication modes, and can simultaneously realize the access functions of protocols such as MQTT, TCP, HTTP, COAP and the like through the deployed proxy service module. The Internet of things equipment can be developed and adapted according to the iLink format, the Internet of things operating system can be directly accessed as long as the iLink format is met, different communication protocol equipment does not need to be customized and developed, code software does not need to be redeployed when new communication protocol equipment is accessed, the efficiency is improved, and meanwhile, the research and development cost is reduced.
Other features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate exemplary embodiments, features, and aspects of the disclosure and, together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic flow chart illustrating an implementation of the communication method supporting multiple protocol types to interact with an operating system of the internet of things according to the present invention;
fig. 2 illustrates a communication link application system for different internet of things device message protocols according to the present invention;
FIG. 3 is a schematic diagram showing the structure of the apparatus according to embodiment 2 of the present invention.
Detailed Description
Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. In the drawings, like reference numbers can indicate functionally identical or similar elements. While the various aspects of the embodiments are presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
Furthermore, in the following detailed description, numerous specific details are set forth in order to provide a better understanding of the present disclosure. It will be understood by those skilled in the art that the present disclosure may be practiced without some of these specific details. In some instances, methods, means, elements and circuits that are well known to those skilled in the art have not been described in detail so as not to obscure the present disclosure.
To facilitate understanding of the present technology, the following explanations are first made:
(1) The operating system of the Internet of things comprises: the operating system of the internet of things is an important component of a new generation of information technology. Its English name is IOT (Internet Of Things). Therefore, as the name implies, the internet of things is the internet connected with objects.
(2) iSSysCore OS: one of the operating system software of the Internet of things.
(3) MQTT: is a message protocol based on a publish/subscribe paradigm under the ISO standard (ISO/IEC PRF 20922). It works on the TCP/IP suite and is a publish/subscribe messaging protocol designed for remote devices with poor hardware performance and in poor network conditions.
(4) TCP: is a connection-oriented, reliable, byte stream-based transport layer communication protocol, defined by RFC 793 of the IETF.
(5) HTTP: is a simple request-response protocol that typically runs on top of TCP. It specifies what messages the client might send to the server and what responses get. The headers of the request and response messages are given in ASCII form.
(6) COAP: the method is a computer protocol, is applied to the Internet of things and is based on the REST architecture.
(7) v8 engine: the interpreter is an interpreter of Javascript language, and interprets the code of Javascript into machine code supported by the system.
Example 1
In order to implement the technology, in this embodiment, it is preferable that the isycore OS is an operating system of the internet of things of this embodiment, and is configured to deploy the message format processing service module.
In order to adapt to different communication modes, a service module is separately deployed on an iSYSCore OS Internet of things operating system to solve the access problem of different communication modes, namely a proxy service module. The service simultaneously realizes the access functions of MQTT, TCP, HTTP and COAP, and different communication modes correspond to different ports.
Meanwhile, aiming at protocol formats in different communication modes, a standardized standard protocol format-iLink is specified, equipment can be developed and adapted according to the iLink standard protocol format, and the iSyCore OS can be directly accessed as long as the iLink standard protocol format is met.
In this embodiment, a unified isycore OS access mode is established for different internet of things device protocols, and a script-using mode solution is proposed for a private protocol.
As shown in fig. 1, in one aspect, the present application provides a communication method supporting multiple protocol types to interact with an operating system of an internet of things, including the following steps:
s100, setting and creating an iLink standard protocol format;
as an iLink standard protocol format capable of adapting to a plurality of types of protocol formats, a plurality of communication protocols need to be adapted, and therefore, at the beginning of design, the iLink standard protocol format needs to be designed in combination with a message communication protocol selected by a user or on the market.
The design requirement format form of the iLink standard protocol format can be matched and designed according to the customization requirement of a user, the type of a pushed product or the type of the Internet of things equipment required to be used, so that the design is flexible. For example, an iLink standard protocol format is designed according to the message format types of one or more Internet of things devices; or the design is carried out according to the message format of the iSYSCore OS Internet of things operating system, and the iLink standard protocol format can be adopted and used as long as the universal requirement can be met.
In this embodiment, as an optional implementation of the present application, optionally, in step S100, the setting and creating an iLink standard protocol format includes:
s101, acquiring a plurality of different communication protocols;
s102, respectively collecting protocol format characteristics of the communication protocols aiming at different communication protocols;
s103, establishing a standardized format requirement based on the protocol format characteristic, and establishing and obtaining the iLink standard protocol format according to the standardized format requirement.
In this embodiment, a standardized unified standard format is established for several communication protocols, such as MQTT, TCP, HTTP, and COAP, and an iLink standard protocol format is established based on format characteristics/features of the communication protocols of MQTT, TCP, HTTP, and COAP.
Firstly, communication connection modes of several communication protocols of MQTT, TCP, HTTP and COAP need to be known and known:
A. MQTT connection mode:
the topic format of the upstream, i.e. the device sending data up to the isymcore OS, is up/dev/{ pk }/{ devId };
format for down-link topic, i.e., iSSysCore OS to issue data to device
Down/dev/{ pk }/{ devId };
B. TCP connection mode
The data packet consists of 2 parts: fixed header and payload, fixed header format as in table 1 below:
Figure BDA0003717411710000081
table 1 the payload is an array of bytes in json, the payload format is as follows in table 2:
length of Description of the preferred embodiment
byte 1 Action, one byte
byte n Payload data, byte (len-1)
TABLE 2
C. An HTTP connection mode:
reporting attributes/events
The request address is as follows: { requestAddress }/up/dev
The request mode comprises the following steps: post
A request head:
Content-Type:application/json
X-Isyscore-Iot-Token:06d1e701d0fd1931743e24801a160752
a request body: iLink
The normal response procedure is as follows:
{
"code":0,
"message":"success",
"data":null
}。
D. the COAP connection mode:
reporting an address:
{address}/mqtt/up/dev/{pk}/{devId}?c={pk}@{devId}&u={pk}@{devId}&p=sha256({pk}{devId}{secret});
and (3) subscribing the address:
{address}/mqtt/down/dev/{pk}/{devId}?c={pk}@{devId}&u={pk}@{devId}&p=sha256({pk}{devId}{secret})。
after the connection mode of each communication protocol is known, the creation standard of the iLink standard protocol format can be prepared by extracting the format characteristics of each protocol.
Respectively collecting protocol format characteristics of each communication protocol by a user through a familiar or conventional characteristic extraction mode; and establishing standardized format requirements based on the format characteristics of each protocol, so that the established protocol format comprises the format characteristics and can adapt to each protocol format, and the iLink standard protocol format is established and obtained according to the standardized format requirements, namely the iLink standard protocol format can be used for identifying, judging and deploying the Internet of things protocol.
In this embodiment, an iLink standard protocol format code in the following format is provided:
Figure BDA0003717411710000101
s200, deploying a proxy service module, and configuring the iLink standard protocol format on the proxy service module;
the access problem of different communication modes is solved, in this embodiment, an access processing device is configured on an operating system of the internet of things, that is, a proxy service module is deployed, and the iink standard protocol format is configured on the proxy service module, so that the proxy service module can simultaneously realize access functions of MQTT, TCP, HTTP and COAP, match and judge protocol formats of messages of different access devices, and realize access of different communication modes.
In order to enable the proxy service module to correspond to different access ports of MQTT, TCP, HTTP, and COAP during communication, as an optional implementation of the present application, optionally, in step S200, after the proxy service module is deployed, the method further includes:
s201, establishing a communication port corresponding to the communication protocol;
s202, deploying the communication port on the proxy service module, and associating the communication port with the proxy service module;
and S203, inputting the reported data of the Internet of things equipment to the proxy service module through the communication port.
That is to say, except that the protocol format type of the internet of things device message is judged according to the iink standard protocol format configured on the proxy service module, the accessed device interface needs to be accessed in a targeted communication manner, so that communication ports corresponding to respective protocol formats need to be established on the proxy service module according to different protocol formats of MQTT, TCP, HTTP and COAP, and the communication ports are associated with the proxy service module, so that the ports can transmit message information to the proxy server for data processing. When the Internet of things equipment is accessed, the Internet of things equipment adopting different protocol formats is connected through corresponding ports on the proxy service module and communicates messages.
As shown in fig. 2, according to different devices accessing the internet of things, different message links are correspondingly established in this embodiment. Wherein:
if the internet of things equipment device adopts an MQTT or COAP protocol to carry out message, adding a message middleware emqx (namely a message server) in the internet of things system for message intermediate processing; the message middleware emqx supports low-delay message routing among massive Internet of things devices, and message information is sent to the proxy service module after being processed by the message middleware emqx;
if the internet of things equipment device adopts a TCP or HTTP protocol to carry out message, the message information is directly sent to the proxy service module.
When the message is reported to the proxy service module, the proxy service module selects a port matched with the message from the installed communication ports to receive the communication message according to the protocol format type of the message information.
S300, deploying an Internet of things operating system, and deploying the proxy service module on the Internet of things operating system;
after the iSYSCore OS Internet of things operating system is deployed in the Internet of things, a proxy service module can be deployed on the iSYSCore OS Internet of things operating system to start to carry out Internet of things message and use.
S400, establishing communication connection between the Internet of things equipment and the Internet of things operating system through the proxy service module.
And the proxy service module judges whether the sending protocol format of the message received by the port is matched with the iLink standard protocol format or not according to the configured iLink standard protocol format, and if the sending protocol format of the message is matched with the iLink standard protocol format, the proxy service module forwards the message to the iSSysCore OS Internet of things operating system.
When the proxy service module judges whether the sending protocol format of the message matches the iLink standard protocol format, the following two conditions exist:
first, the sending protocol format of the message matches the iink standard protocol format.
As an optional implementation of the present application, optionally, in S400, establishing, by the proxy service module, a communication connection between an internet of things device and the internet of things operating system includes:
s401, the Internet of things equipment sends a message to a proxy service module through a preset communication protocol;
s402, the proxy service module receives the message, and analyzes and obtains a protocol format of the message according to the message;
s403, the proxy service module judges whether the protocol format matches the iLink standard protocol format: if so, establishing communication connection between the Internet of things equipment and the Internet of things operating system based on the preset communication protocol.
When the proxy service module judges that the sending protocol format of the message received through the port is matched with the iLink standard protocol format according to the configured iLink standard protocol format, communication connection is directly established with the Internet of things operating system through the preset communication protocol selected by the Internet of things equipment, the message of the Internet of things equipment can be directly sent to the Internet of things operating system, and communication connection between the Internet of things equipment and the Internet of things operating system is achieved.
Second, the format of the sending protocol (e.g., proprietary protocol) of the message does not match the iink standard protocol format.
The method and the device support different communication modes and analyze different protocols through the dynamic script language, and when the protocol format of the equipment message is not adaptive to the iLink standard protocol format, the equipment message is matched through format conversion, so that the message is smoothly carried out.
As an optional implementation of the present application, optionally, in S400, establishing, by the proxy service module, a communication connection between the internet of things device and the internet of things operating system, further includes:
s410, the Internet of things equipment sends a message to a proxy service module through a preset communication protocol;
s420, the proxy service module receives the message, and analyzes and obtains a protocol format of the message according to the message;
s430, the proxy service module judges whether the protocol format matches the iLink standard protocol format: and if not, analyzing the protocol format of the message through a preset dynamic js script, converting the protocol format of the message into a protocol format matched with the iLink standard protocol format, and establishing communication connection between the Internet of things equipment and the Internet of things operating system based on the converted protocol format.
When the internet of things equipment carries out messages by using a private protocol, the proxy service module cannot match the protocol format of the private protocol with the iLink standard protocol format, so that the protocol format needs to be dynamically converted, and a dynamic js script can be adopted for format conversion. The dynamic js script may be code interpreted and converted using format conversion tools such as the v8 engine.
Thus, for devices that cannot adapt to the iLink format, a dynamic js script may be used to parse the proprietary protocol into the iLink format. The iSYSCore OS uses a V8 engine to analyze js scripts, supports different communication modes, analyzes different protocols through a dynamic script language, and solves the technical problem of how to uniformly use different Internet of things devices through a private protocol.
It should be noted that although the internet of things operating system and the dynamic js script are described above by taking the isycore OS internet of things operating system and the v8 engine as examples, respectively, those skilled in the art will understand that the disclosure should not be limited thereto. In fact, the user can flexibly set the operation platform and the format conversion mode of the internet of things according to the actual application scene, as long as the technical functions of the application can be realized according to the technical method.
Example 2
Based on the implementation principle of embodiment 1, in another aspect of the present application, a device for implementing the communication method supporting interaction between multiple protocol types and an operating system of an internet of things is provided, including:
the iLink creation module is used for setting and creating an iLink standard protocol format;
the first deployment module is used for deploying a proxy service module and configuring the iLink standard protocol format on the proxy service module;
the second deployment module is used for deploying the operating system of the Internet of things and deploying the proxy service module on the operating system of the Internet of things;
and the networking module is used for establishing communication connection between the Internet of things equipment and the Internet of things operating system through the proxy service module.
As an optional embodiment of the present application, optionally, the system further includes a port deployment module, configured to:
establishing a communication port corresponding to the communication protocol; and
deploying the communication port on the proxy service module, and associating the communication port with the proxy service module; and
and inputting the reported data of the Internet of things equipment to the proxy service module through the communication port.
As an optional embodiment of the present application, optionally, the networking module includes:
the first message module is used for sending a message to the proxy service module by the Internet of things equipment through a preset communication protocol;
the first analysis module is used for receiving the message by the proxy service module, analyzing the message according to the message and obtaining the protocol format of the message;
the first internet connection judging module is used for judging whether the protocol format is matched with the iLink standard protocol format or not through the proxy service module: if so, establishing communication connection between the Internet of things equipment and the Internet of things operating system based on the preset communication protocol.
As an optional embodiment of the present application, optionally, the networking module further includes:
the second message module is used for sending a message to the proxy service module through the Internet of things equipment by a preset communication protocol;
the second analysis module is used for receiving the message by the proxy service module, analyzing the message according to the message and obtaining the protocol format of the message;
the second internet judgment module is configured to judge, by the proxy service module, whether the protocol format matches the iink standard protocol format: and if not, analyzing the protocol format of the message through a preset dynamic js script, converting the protocol format of the message into a protocol format matched with the iLink standard protocol format, and establishing communication connection between the Internet of things equipment and the Internet of things operating system based on the converted protocol format.
The specific functions and application interactions of the modules are described in embodiment 1, and are not described in detail in this embodiment. Creation of the iLink creation module is described in steps S101, S103, and the like in embodiment 1.
It should be apparent to those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, and the program can be stored in a computer readable storage medium, and when executed, the program can include the processes of the embodiments of the control methods described above. The modules or steps of the present invention described above can be implemented by a general purpose computing device, they can be centralized in a single computing device or distributed over a network of multiple computing devices, and they can alternatively be implemented by program code executable by a computing device, so that they can be stored in a storage device and executed by a computing device, or they can be separately fabricated into various integrated circuit modules, or multiple modules or steps in them can be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
It will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by hardware related to instructions of a computer program, and the program may be stored in a computer readable storage medium, and when executed, may include the processes of the embodiments of the control methods as described above. The storage medium may be a magnetic disk, an optical disk, a Read-only memory (ROM), a Random Access Memory (RAM), a flash memory (FlashMemory), a hard disk (hard disk drive, abbreviated as HDD) or a Solid State Drive (SSD), etc.; the storage medium may also comprise a combination of memories of the kind described above.
Example 3
Still further, in another aspect of the present application, a communication control system of the internet of things is further provided, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute the executable instructions to implement the communication method supporting multiple protocol types to interact with the operating system of the internet of things.
The disclosed embodiment of the internet of things communication control system comprises a processor and a memory for storing executable instructions of the processor. Wherein the processor is configured to execute the executable instructions to implement any one of the above-described communication methods supporting interaction with an operating system of the internet of things in multiple protocol types.
Here, it should be noted that the number of processors may be one or more. Meanwhile, the internet of things communication control system provided by the embodiment of the disclosure can further comprise an input device and an output device. The processor, the memory, the input device, and the output device may be connected through a bus, or may be connected through another manner, which is not specifically limited herein.
The memory, which is a computer-readable storage medium, may be used to store software programs, computer-executable programs, and various modules, such as: the program or the module corresponding to the communication method for supporting interaction between multiple protocol types and the operating system of the internet of things in the embodiment of the disclosure. The processor executes various functional applications and data processing of the communication control system of the internet of things by running software programs or modules stored in the memory.
The input device may be used to receive an input number or signal. Wherein the signal may be a key signal generated in connection with user settings and function control of the device/terminal/server. The output means may comprise a display device such as a display screen.
Having described embodiments of the present disclosure, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terms used herein were chosen in order to best explain the principles of the embodiments, the practical application, or technical improvements to the techniques in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (10)

1. A communication method supporting interaction between multiple protocol types and an operating system of the Internet of things is characterized by comprising the following steps:
s100, setting and creating an iLink standard protocol format;
s200, deploying a proxy service module, and configuring the iLink standard protocol format on the proxy service module;
s300, deploying an Internet of things operating system, and deploying the proxy service module on the Internet of things operating system;
s400, establishing communication connection between the Internet of things equipment and the Internet of things operating system through the proxy service module.
2. The communication method supporting multiple protocol types to interact with the operating system of the internet of things according to claim 1, wherein in step S100, the setting and creating an iLink standard protocol format includes:
s101, acquiring a plurality of different communication protocols;
s102, respectively collecting protocol format characteristics of the communication protocols aiming at different communication protocols;
s103, establishing a standardized format requirement based on the protocol format characteristic, and establishing and obtaining the iLink standard protocol format according to the standardized format requirement.
3. The communication method supporting interaction between multiple protocol types and an operating system of the internet of things according to claim 2, wherein in step S200, after the proxy service module is deployed, the method further comprises:
s201, establishing a communication port corresponding to the communication protocol;
s202, deploying the communication port on the proxy service module, and associating the communication port with the proxy service module;
s203, inputting the reported data of the Internet of things equipment to the proxy service module through the communication port.
4. The communication method supporting interaction between multiple protocol types and an internet of things operating system according to claim 1, wherein in S400, establishing, by the proxy service module, a communication connection between an internet of things device and the internet of things operating system includes:
s401, the Internet of things equipment sends a message to a proxy service module through a preset communication protocol;
s402, the proxy service module receives the message, and analyzes and obtains a protocol format of the message according to the message;
s403, the proxy service module judges whether the protocol format matches the iLink standard protocol format: if so, establishing communication connection between the Internet of things equipment and the Internet of things operating system based on the preset communication protocol.
5. The communication method supporting interaction between multiple protocol types and an operating system of the internet of things according to claim 4, wherein in S400, a communication connection between the device of the internet of things and the operating system of the internet of things is established through the proxy service module, further comprising:
s410, the Internet of things equipment sends a message to a proxy service module through a preset communication protocol;
s420, the proxy service module receives the message, and analyzes and obtains a protocol format of the message according to the message;
s430, the proxy service module judges whether the protocol format matches the iLink standard protocol format: and if not, analyzing the protocol format of the message through a preset dynamic js script, converting the protocol format of the message into a protocol format matched with the iLink standard protocol format, and establishing communication connection between the Internet of things equipment and the Internet of things operating system based on the converted protocol format.
6. An apparatus for implementing the communication method supporting multiple protocol types to interact with an operating system of the internet of things according to any one of claims 1 to 5, the apparatus comprising:
the iLink creation module is used for setting and creating an iLink standard protocol format;
the first deployment module is used for deploying a proxy service module and configuring the iLink standard protocol format on the proxy service module;
the second deployment module is used for deploying the operating system of the Internet of things and deploying the proxy service module on the operating system of the Internet of things;
and the networking module is used for establishing communication connection between the Internet of things equipment and the Internet of things operating system through the proxy service module.
7. The apparatus of claim 6, further comprising a port deployment module to:
establishing a communication port corresponding to the communication protocol; and
deploying the communication port on the proxy service module, and associating the communication port with the proxy service module; and
and inputting the reported data of the Internet of things equipment to the proxy service module through the communication port.
8. The apparatus of claim 6, wherein the networking module comprises:
the first message module is used for sending a message to the proxy service module by the Internet of things equipment through a preset communication protocol;
the first analysis module is used for receiving the message by the proxy service module, analyzing the message according to the message and obtaining a protocol format of the message;
the first internet connection judging module is used for judging whether the protocol format is matched with the iLink standard protocol format or not through the proxy service module: if so, establishing communication connection between the Internet of things equipment and the Internet of things operating system based on the preset communication protocol.
9. The apparatus of claim 8, wherein the networking module further comprises:
the second message module is used for sending a message to the proxy service module by the Internet of things equipment through a preset communication protocol;
the second analysis module is used for receiving the message by the proxy service module, analyzing the message according to the message and obtaining the protocol format of the message;
the second internet connection judging module is used for judging whether the protocol format is matched with the iLink standard protocol format or not through the proxy service module: and if not, analyzing the protocol format of the message through a preset dynamic js script, converting the protocol format of the message into a protocol format matched with the iLink standard protocol format, and establishing communication connection between the Internet of things equipment and the Internet of things operating system based on the converted protocol format.
10. An internet of things communication control system, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute the executable instructions to implement the communication method supporting multiple protocol types to interact with the operating system of the internet of things according to any one of claims 1 to 5.
CN202210747655.XA 2022-06-28 2022-06-28 Communication method supporting interaction of multiple protocol types and Internet of things operating system Active CN115174340B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210747655.XA CN115174340B (en) 2022-06-28 2022-06-28 Communication method supporting interaction of multiple protocol types and Internet of things operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210747655.XA CN115174340B (en) 2022-06-28 2022-06-28 Communication method supporting interaction of multiple protocol types and Internet of things operating system

Publications (2)

Publication Number Publication Date
CN115174340A true CN115174340A (en) 2022-10-11
CN115174340B CN115174340B (en) 2023-08-15

Family

ID=83490085

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210747655.XA Active CN115174340B (en) 2022-06-28 2022-06-28 Communication method supporting interaction of multiple protocol types and Internet of things operating system

Country Status (1)

Country Link
CN (1) CN115174340B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7058082B1 (en) * 2000-09-06 2006-06-06 Cisco Technology, Inc. Communicating messages in a multiple communication protocol network
CN101207568A (en) * 2007-03-16 2008-06-25 中国科学技术大学 Multi protocol adapter and method for multi business to implement adapting treatment
CN102904868A (en) * 2012-06-27 2013-01-30 中兴通讯股份有限公司 Centralized rail transit alarm system and method
US10484251B1 (en) * 2015-11-24 2019-11-19 SRB Technologies, Inc. Protocol agnostic message oriented middleware for IoT, SaaS and enterprise integration
US10979539B1 (en) * 2017-07-21 2021-04-13 State Farm Mutual Automobile Insurance Company Method and system of generating generic protocol handlers
US20210241250A1 (en) * 2020-01-31 2021-08-05 Visa International Service Association Method, System, and Computer Program Product for Translating Messages
CN113783831A (en) * 2021-01-19 2021-12-10 北京沃东天骏信息技术有限公司 Internet of things information processing method, device and system
CN114006928A (en) * 2021-11-04 2022-02-01 深圳市骏嘉科技发展有限公司 Internet of things data processing method based on multi-protocol real-time communication
CN114374678A (en) * 2021-12-29 2022-04-19 天翼物联科技有限公司 Multi-protocol equipment on-line access method, system, device and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7058082B1 (en) * 2000-09-06 2006-06-06 Cisco Technology, Inc. Communicating messages in a multiple communication protocol network
CN101207568A (en) * 2007-03-16 2008-06-25 中国科学技术大学 Multi protocol adapter and method for multi business to implement adapting treatment
CN102904868A (en) * 2012-06-27 2013-01-30 中兴通讯股份有限公司 Centralized rail transit alarm system and method
US10484251B1 (en) * 2015-11-24 2019-11-19 SRB Technologies, Inc. Protocol agnostic message oriented middleware for IoT, SaaS and enterprise integration
US10979539B1 (en) * 2017-07-21 2021-04-13 State Farm Mutual Automobile Insurance Company Method and system of generating generic protocol handlers
US20210241250A1 (en) * 2020-01-31 2021-08-05 Visa International Service Association Method, System, and Computer Program Product for Translating Messages
CN113783831A (en) * 2021-01-19 2021-12-10 北京沃东天骏信息技术有限公司 Internet of things information processing method, device and system
CN114006928A (en) * 2021-11-04 2022-02-01 深圳市骏嘉科技发展有限公司 Internet of things data processing method based on multi-protocol real-time communication
CN114374678A (en) * 2021-12-29 2022-04-19 天翼物联科技有限公司 Multi-protocol equipment on-line access method, system, device and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
MAYIHUA等: ""Lightweight and instant access technologies and protocols to boost digital transfotmations"", 《IEEE》 *
佟立飞;李龙华;: ""通用网关协议数据转换软件开发"", 《自动化技术与应用》, vol. 31, no. 01 *

Also Published As

Publication number Publication date
CN115174340B (en) 2023-08-15

Similar Documents

Publication Publication Date Title
CN114124451B (en) Data processing method and system for Internet of things equipment and computer storage medium
US20040186918A1 (en) Method and apparatus for dispatching incoming data in a multi-application terminal
CN113709166A (en) Distributed service gateway implementation method, device, computer equipment and storage medium
US20180091581A1 (en) Method of switching download mode, control method thereof and control system thereof
CN108200158B (en) Request Transmission system, method, apparatus and storage medium
CN111818158B (en) Gateway control method, device, electronic equipment and storage medium
CN102904959A (en) Network accelerating method and gateway
CN112653656B (en) Data communication method and device based on application layer protocol
CN113806037A (en) Service calling method and device, storage medium and electronic equipment
CN106549989A (en) A kind of data transmission method and its system, user terminal, application server
CN112822646A (en) Message processing method and device, electronic equipment and computer readable storage medium
CN110597783B (en) Database management method, device, equipment and storage medium
US7151780B1 (en) Arrangement for automated teller machine communications based on bisync to IP conversion
CN115102857A (en) Method, device, equipment and storage medium for updating client configuration data
CN112532712A (en) Protocol transmission method and device, storage medium, and electronic device
CN110247926A (en) A kind of exchange method and system
US11425632B2 (en) Mechanism to provide updates to NB-IoT devices
CN115174340B (en) Communication method supporting interaction of multiple protocol types and Internet of things operating system
CN110213310B (en) Method, device and storage medium for acquiring path of network service
CN111092952A (en) Data interaction method and related product
CN114826979B (en) Network link quality acquisition method, device, system, equipment and storage medium
CN112202780B (en) Data transmission method, device, equipment and medium based on double sockets
CN113472850B (en) Link data acquisition method, device, system, electronic equipment and storage medium
CN115297098A (en) Edge service acquisition method and device, edge computing system, medium and equipment
US11804986B2 (en) Method for the remote management of a device connected to a residential gateway

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
GR01 Patent grant
GR01 Patent grant