CN113783831A - Internet of things information processing method, device and system - Google Patents

Internet of things information processing method, device and system Download PDF

Info

Publication number
CN113783831A
CN113783831A CN202110068658.6A CN202110068658A CN113783831A CN 113783831 A CN113783831 A CN 113783831A CN 202110068658 A CN202110068658 A CN 202110068658A CN 113783831 A CN113783831 A CN 113783831A
Authority
CN
China
Prior art keywords
internet
things
protocol
information
mapping
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
CN202110068658.6A
Other languages
Chinese (zh)
Other versions
CN113783831B (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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Wodong Tianjun Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN202110068658.6A priority Critical patent/CN113783831B/en
Publication of CN113783831A publication Critical patent/CN113783831A/en
Application granted granted Critical
Publication of CN113783831B publication Critical patent/CN113783831B/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
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols

Landscapes

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

Abstract

The invention discloses an information processing method, device and system of the Internet of things, and relates to the technical field of the Internet of things. One embodiment of the method comprises: when registration requests of various Internet of things communication protocols are received, the various Internet of things communication protocols are mapped into a unified standard protocol, and mapping relations between the various Internet of things communication protocols and the standard protocol are stored; and when the Internet of things information sent by the first Internet of things equipment is received, processing the Internet of things information based on the mapping relation, and providing a processing result for the second Internet of things equipment. The implementation method can automatically adapt to the equipment type and the protocol type, avoids the complexity of manual adaptation, and effectively reduces the construction cost of the platform of the Internet of things.

Description

Internet of things information processing method, device and system
Technical Field
The invention relates to the technical field of Internet of things, in particular to an Internet of things information processing method, device and system.
Background
In the application of the logistics network technology, in order to better realize the intercommunication and data transmission between intelligent devices, communication protocols aiming at different application scenes of the internet of things are promoted, such as a CoAP protocol, an MQTT protocol, a DDS protocol, an AMQP protocol, an XMPP protocol and the like. Communication between intelligent devices with different communication protocols is often required to overcome barriers to communication between different protocols. Especially for the currently developed large-scale internet of things platform, the problem of mutual communication of cross-platform and multi-protocol devices needs to be overcome inevitably due to the complex application scene, the diversity of device manufacturers, the diversity of device types and the like.
At present, in an internet of things platform, the mode of intercommunication among multi-protocol devices is mainly to adapt the device types and protocol types in the platform one by one according to the requirements of service scenes, so as to achieve the purpose of intercommunication.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art:
the existing mode of adapting the device types and the protocol types in the platform one by one has huge workload, and the platform construction cost can be increased.
Disclosure of Invention
In view of this, embodiments of the present invention provide an information processing method, apparatus, and system for the internet of things, which can automatically adapt to a device type and a protocol type, and avoid tedious manual adaptation, thereby effectively reducing the construction cost of an internet of things platform.
In order to achieve the above object, according to an aspect of the embodiments of the present invention, there is provided an information processing method for an internet of things, including:
when registration requests of various Internet of things communication protocols are received, the various Internet of things communication protocols are mapped into a unified standard protocol, and mapping relations between the various Internet of things communication protocols and the standard protocol are stored;
and when receiving the Internet of things information sent by the first Internet of things equipment, processing the Internet of things information based on the mapping relation, and providing a processing result for the second Internet of things equipment.
Preferably, the mapping of the plurality of internet of things communication protocols into a unified standard protocol includes:
mapping a plurality of protocol bodies included in each of the plurality of internet of things communication protocols into corresponding key-value pairs, wherein the mapping relationship between the plurality of internet of things communication protocols and the standard protocol comprises: a first mapping relationship between a plurality of the protocol bodies and the key-value pairs.
Preferably, mapping a plurality of protocol bodies included in each of the internet of things communication protocols into corresponding key-value pairs includes:
and mapping protocol bodies representing the same function in various communication protocols of the Internet of things into the same key value pair.
Preferably, the mapping the plurality of internet of things communication protocols into a unified standard protocol further includes:
the same information in different formats transmitted by multiple internet of things communication protocols is mapped into corresponding information in a unified format, wherein the mapping relationship between the at least one internet of things communication protocol and the standard protocol further comprises: and a second mapping relationship between the same information in different formats and the corresponding information in the unified format.
Preferably, processing the internet of things information based on the mapping relationship includes:
aiming at the reported data of the first internet of things equipment, the internet of things information is reported,
and converting the format of the reported data according to the second mapping relation, and storing the reported data after the format conversion.
Preferably, the processing the internet of things information further includes:
receiving an information acquisition request sent by a second networking device, wherein the information acquisition request comprises: the second networking equipment currently runs a protocol and a protocol version;
searching target data for the information acquisition request from the stored reported data after format conversion;
and mapping the target data into protocol data matched with the current operating protocol and the protocol version of the second networking equipment according to the second mapping relation.
Preferably, processing the internet of things information based on the mapping relationship includes:
aiming at the command that the Internet of things information is issued to at least one second Internet of things device by the first Internet of things device,
mapping the command into a corresponding key value pair according to the first mapping relation;
according to the first mapping relation, further mapping the key value pair mapped by the command to re-map a corresponding protocol body for each second networking device;
and for each second networking device, executing to encapsulate the remapped protocol entity corresponding to the second networking device into the current operating protocol of the second networking device.
In a second aspect, an embodiment of the present invention provides an information processing apparatus for an internet of things, including: a protocol mapping interface, an information transfer interface, and a protocol addressing module, wherein,
the protocol mapping interface is used for mapping at least one internet of things communication protocol into a unified standard protocol when a registration request of the at least one internet of things communication protocol is received, and storing a mapping relation between the at least one internet of things communication protocol and the standard protocol;
the information transmission interface is used for receiving the Internet of things information sent by the first Internet of things equipment;
and the protocol addressing module is used for processing the information of the internet of things received by the information transmission interface based on the mapping relation and providing a processing result to the second networking equipment.
In a third aspect, an embodiment of the present invention provides an information processing system of an internet of things, including: the internet of things information processing apparatus of claim 8,
the protocols operated by the various Internet of things devices are the same or different;
the first Internet of things equipment in the plurality of Internet of things equipment is used for sending Internet of things information to the Internet of things information processing device;
and the second networking equipment in the multiple kinds of Internet of things equipment is used for receiving the result of the Internet of things information processing device for processing the Internet of things information.
One embodiment of the above invention has the following advantages or benefits: various communication protocols of the internet of things can be mapped into a unified standard protocol, and the mapping relation between the various communication protocols of the internet of things and the standard protocol is stored; based on the mapping relation, the Internet of things communication protocol can be mapped to another Internet of things communication protocol by means of a unified standard protocol, communication barriers among different Internet of things protocols are broken, namely when the Internet of things information sent by the first Internet of things equipment is received, the Internet of things information is processed based on the mapping relation, and a processing result is provided for the second Internet of things equipment.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
fig. 1 is a schematic diagram of a main flow of an information processing method of the internet of things according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an information processing structure of the internet of things according to an embodiment of the invention;
fig. 3 is a schematic diagram of a process of reporting data by the internet of things according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a process for processing Internet of things information according to one embodiment of the invention;
fig. 5 is a schematic diagram of a process for processing internet of things information according to another embodiment of the invention;
fig. 6 is a schematic diagram of main blocks of an internet-of-things information processing apparatus according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of an Internet of things information processing system according to one embodiment of the invention;
FIG. 8 is a schematic diagram of an information handling system of the Internet of things according to another embodiment of the invention;
FIG. 9 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
fig. 10 is a schematic block diagram of a computer system suitable for use in implementing a terminal device or server according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
The internet of things refers to the extension of the concept of the internet into the connection between physical devices and everyday objects. These devices embed electronics, network connections, and other forms of hardware (e.g., sensors), can communicate and interact with others over a network, and can be monitored remotely. For example, a smart home, which is one of the internet of things, covers one or more devices and appliances such as lighting fixtures, thermostats, home security systems, cameras, and other household appliances, and can control the devices and appliances in the smart home through the devices related to the smart home, such as a smart phone, a smart watch, a smart speaker, and the like. For another example, the internet of things can also be applied to the fields of agriculture, environmental monitoring and the like, for example, data about temperature, rainfall, humidity, wind speed, insect damage and soil content are collected through internet of things equipment.
For example, when a smart phone controls one or more electrical appliances, the devices in the internet of things generally need to have the same communication protocol or the communication protocols between the devices can be adapted. Because there are many manufacturers of devices in the internet of things, the manufacturers of devices in the internet of things can select different communication protocols such as CoAP protocol, MQTT protocol, DDS protocol, AMQP protocol, XMPP protocol, and the like. Under the limitation of a communication protocol operated by the equipment of the internet of things, the types of equipment which can be selected in the construction process of the internet of things are limited, which is not in line with the development trend of the internet of things.
In addition, due to the development of large-scale internet of things management platforms in various industries at present, service scenes are more and more complex; the variety of intelligent equipment is increasing; equipment manufacturers and service providers participating in a physical network management platform are more and more, and the situation of cross-platform and multi-protocol equipment cooperation is more and more common. In response to the heterogeneous internet of things protocol, the current general method is to adapt the device types and the protocol types in the platform one by one according to the requirements of service scenes, so as to achieve the purpose of mutual communication. The existing construction mode of the Internet of things and the information processing mode of the Internet of things can cause huge workload of adaptation protocols and increase construction cost and risk of the Internet of things, and if a novel protocol is accessed to a platform, reconstruction of the Internet of things system is certainly caused, meanwhile, various service logics and protocol adaptation logics in the platform are mutually interwoven, and great trouble is brought to system maintenance.
The main reasons for the high cost, poor expandability and poor maintainability of the internet of things are that there is a barrier to the information intercommunication among various internet of things communication protocols, for example, the internet of things communication protocol only can be executed by the internet of things equipment, and then the communication among the internet of things equipment with different internet of things communication protocols needs to be adapted manually. In order to implement information intercommunication between various communication protocols of the internet of things, fig. 1 is a method for processing information of the internet of things according to an embodiment of the present invention, and as shown in fig. 1, the method for processing information of the internet of things may include the following steps:
step S101: when registration requests of various Internet of things communication protocols are received, the various Internet of things communication protocols are mapped into a unified standard protocol, and mapping relations between the various Internet of things communication protocols and the standard protocol are stored;
in this step, the unified standard protocol refers to a predefined protocol format, for example, an expression manner of a protocol body included in the protocol, a format/expression manner of transmission information included in the protocol, and the like. The protocol body refers to instruction information included in the protocol, such as reporting data, turning on/off the device, and heating/cooling the device.
Specifically, the registration request is sent by each manufacturer or provider of the internet-of-things device, such as manufacturer 1, manufacturer 2, …, manufacturer n, etc. shown in fig. 2 through the registration protocol interface. Through the steps, various internet of things communication protocols such as an MQTT protocol, a CoAP protocol, a DDS protocol and the like shown in fig. 2 can be mapped into a unified standard protocol, and the mapping relation between the various internet of things communication protocols and the standard protocol can be stored in a database or directly cached.
The storage mode of the mapping relation may be: the mapping method includes mapping multiple internet of things communication protocols into a unified standard protocol, specifically mapping protocol bodies or transmission information or key information included in the multiple internet of things communication protocols into a unified expression format. For example, the protocol body indicating the on/off of the device in the communication protocol 1 of the internet of things is as follows: p0 denotes a closing device, P1 denotes an opening device; the protocol body for indicating the on/off of the equipment in the communication protocol 2 of the internet of things is as follows: power0 denotes a closing device, Power1 denotes an opening device; protocol body for indicating on/off of equipment in communication protocol 3 of internet of things: power0 denotes a closing device, power1 denotes an opening device; protocol body representing device on/off in standard protocol: power0 indicates turning off the device, and power1 indicates turning on the device; then P0 in the communication protocol 1 of the internet of things, Power0 in the communication protocol 2 of the internet of things, and Power0 in the communication protocol 3 of the internet of things can be mapped to Power of 0; and mapping P1 in the communication protocol 1 of the Internet of things, Power1 in the communication protocol 2 of the Internet of things and Power1 in the communication protocol 3 of the Internet of things to Power 1.
Step S102: and when the Internet of things information sent by the first Internet of things equipment is received, processing the Internet of things information based on the mapping relation, and providing a processing result for the second Internet of things equipment.
The information of the internet of things can be reported data or issued commands. The first internet of things device and the second internet of things device can be any one device in the internet of things, such as a lighting lamp, a thermostat, a home security system, a camera, a smart phone, a smart watch, a smart speaker and other devices, and are not particularly limited to a certain device in the internet of things.
Based on the mapping relation, the processing of the information of the internet of things can be realized as follows: the Internet of things information sent by the first Internet of things equipment is mapped into a format which can be read or identified by the second Internet of things equipment, and communication adaptation is not needed between the first Internet of things equipment and the second Internet of things equipment, so that communication between the Internet of things equipment with different Internet of things communication protocols is realized.
In the embodiment shown in fig. 1, since multiple communication protocols of the internet of things can be mapped into a unified standard protocol, and the mapping relationship between the multiple communication protocols of the internet of things and the standard protocol is stored; based on the mapping relation, the Internet of things communication protocol can be mapped to another Internet of things communication protocol by means of a unified standard protocol, communication barriers among different Internet of things protocols are broken, namely when the Internet of things information sent by the first Internet of things equipment is received, the Internet of things information is processed based on the mapping relation, and a processing result is provided for the second Internet of things equipment.
In addition, due to the mapping relation between various internet of things communication protocols and standard protocols, when new internet of things communication protocols are increased, the protocol or the internet of things equipment can be expanded only by constructing the mapping relation between the new internet of things communication protocols and the standard protocols, and the internet of things has expandability.
In addition, due to the mapping relation between various internet of things communication protocols and standard protocols, bridges among the internet of things devices are constructed, and the mutual interweaving of various business logics and protocol adaptation logics is avoided.
In this embodiment of the present invention, the mapping the plurality of internet of things communication protocols into the unified standard protocol in step S101 may include: mapping a plurality of protocol bodies included by each Internet of things communication protocol into corresponding key value pairs, wherein the mapping relation between the plurality of Internet of things communication protocols and the standard protocol comprises the following steps: a first mapping relationship between the plurality of protocol bodies and the key-value pairs.
Specifically, the specific implementation of mapping a plurality of protocol bodies included in each communication protocol of the internet of things to corresponding key value pairs may include: and mapping protocol bodies expressing the same function in various communication protocols of the Internet of things into the same key value pair.
An internet of things communication protocol may include a plurality of protocol bodies, such as a protocol body for reporting data, a protocol body for turning on/off a device, a protocol body for adjusting temperature, a protocol body for adjusting humidity, and the like.
The key-value pair is a ke10-value key-value pair, wherein ke10 represents the body or instruction of the protocol body; value characterizes the attribute value of the body or instruction of the protocol body. For example, the aforementioned power is 0 and power is 1, where power is an instruction to turn on/off the device, and 0 and 1 are attribute values of the instruction to turn on/off the device, where power is 0 to characterize to turn off the internet of things device; and (5) starting the Internet of things equipment by representing power as 1. The first mapping relationship between the plurality of protocol bodies and the key-value pairs may specifically be: protocol body 1 → key value pair 1 and protocol body 2 → key value pair 2, … in an internet of things communication protocol, such as P0 → Power0 (key value pair) in internet of things communication protocol 1, Power0 → Power0 (key value pair) in internet of things communication protocol 2, and Power0 → Power0 (key value pair) in internet of things communication protocol 3; p1 → Power ═ 1 (key-value pair) in the communication protocol 1 of the internet of things, Power1 → Power ═ 1 (key-value pair) in the communication protocol 2 of the internet of things, and Power1 → Power ═ 1 (key-value pair) in the communication protocol 3 of the internet of things.
In this embodiment of the present invention, the mapping the plurality of internet of things communication protocols into the unified standard protocol in step S101 may further include: the method includes the steps of mapping the same information in different formats transmitted by multiple internet of things communication protocols into corresponding information in a unified format, wherein the mapping relationship between at least one internet of things communication protocol and a standard protocol may further include: and a second mapping relationship between the same information in different formats and the corresponding information in the unified format. As shown in fig. 3, the internet of things device 1, the internet of things device 2, …, and the internet of things device n that transmit the reported data through different protocols, such as MQTT protocol, CoAP protocol, DDS protocol, etc., report the data through the device gateway and the data reporting interface, and according to the scheme provided by the embodiment of the present invention, the data reported by the different protocols, such as the data reported by MQTT protocol, the data reported by CoAP protocol, and the data reported by DDS protocol, can be mapped into the reported data of the standard protocol.
The information transmitted by the communication protocol of the internet of things or the reported data generally refers to data reported by the communication protocol of the internet of things, such as ambient humidity, ambient temperature, and the like. For example, the format of the environment temperature in the internet-of-things communication protocol 1 is T-25 ℃ (celsius), the format of the environment temperature in the internet-of-things communication protocol 2 is T-77 ° F (fahrenheit), and the unified format corresponding to the environment temperature is celsius, by using the solution provided by the embodiment of the present invention, the environment temperature T-25 ℃ (celsius) in the internet-of-things communication protocol 1 may be mapped to T-25 ℃ (celsius), and the environment temperature T-77 ° F (fahrenheit) in the internet-of-things communication protocol 2 may also be mapped to T-25 ℃ (celsius). Through the second mapping relation, the information transmitted by one Internet of things communication protocol can be mapped into the information with the uniform format, then the information with the uniform format can be re-mapped into the format in the Internet of things communication protocol subsequently, and the conversion of the information formats in different Internet of things communication protocols is realized, so that the communication among the Internet of things devices with different Internet of things communication protocols can be realized.
In an embodiment of the present invention, based on the mapping relationship in step S102, a specific implementation manner of processing the information of the internet of things may include: and converting the format of the reported data according to the second mapping relation aiming at the reported data of the first internet of things equipment with the internet of things information, and storing the reported data after the format conversion. For example, if the internet-of-things information is the ambient temperature T of the internet-of-things device 1 reported is 77 ° F (fahrenheit), according to the second mapping relationship, the ambient temperature T of the internet-of-things device 1 reported is converted into T of 25 ℃ (celsius) (fahrenheit), and the converted reported data is stored, so as to be provided to another internet-of-things device, that is, the second internet-of-things device in the following.
In the embodiment of the present invention, in order to enable internet of things devices with different internet of things communication protocols to successfully read data reported by any internet of things device, as shown in fig. 4, the processing of the internet of things information may further include the following steps:
step S401: receiving an information acquisition request sent by second networking equipment, wherein the information acquisition request comprises: the current operating protocol and protocol version of the second networking equipment;
wherein, the information acquisition request may further include: the characteristics of the information such as the source of the information, the time of reporting the information, etc. For example, the current operating protocol of the internet of things device 1 is MQTT protocol and the protocol version is 1.0. The information acquisition request sent by the internet of things device 1 is to acquire the ambient temperature detected and reported by the internet of things device n at the time point a.
Step S402: searching target data for the information acquisition request from the stored reported data after format conversion;
the searching process may perform searching based on the characteristics of the reported data, for example, a source of the environment temperature and the detection time of the environment temperature are located in the corresponding village in the stored environment temperature, so as to search for the environment temperature, and target data corresponding to the information acquisition request may be searched from the stored reported data after format conversion through the source of the environment temperature and the detection time of the environment temperature. For example, the information acquisition request sent by the internet of things device 1 is to acquire the ambient temperature detected and reported by the internet of things device n at the time point a, and the target data corresponding to the information acquisition request sent by the internet of things device 1 is found from the stored reported data after format conversion to be T-25 ℃ (temperature in celsius).
Step S403: and mapping the target data into protocol data matched with the current operating protocol and protocol version of the second networking equipment according to the second mapping relation.
For example, if the format of the environmental temperature in the current operating protocol of the internet of things device 1 is fahrenheit, the T-25 ℃ (celsius) found in step S403 may be mapped to a temperature T-77 ° F (fahrenheit) so that the internet of things device 1 can identify the acquired data. And communication among different communication protocols of the Internet of things is realized.
In this embodiment of the present invention, as shown in fig. 5, for a command issued by a first internet of things device to at least one second internet of things device for internet of things information, the processing of the internet of things information based on the mapping relationship may include the following steps:
step S501: mapping the command into a corresponding key value pair according to the first mapping relation;
for example, the internet of things device 3 sends a command P1 to the internet of things devices 4, 5, and 6, and the P1 may be mapped to a key value pair power of 1 through the first mapping relationship.
Step S502: according to the first mapping relation, further mapping the mapped key value pairs to a corresponding protocol object for each second networking device again;
for example, in this step, the key value pair Power is again mapped to 1 for the internet of things device 4 as the corresponding protocol body P1, mapped to the internet of things device 5 as the corresponding protocol body Power1, and mapped to the internet of things device 6 as the corresponding protocol body Power 1.
Step S503: and for each second networking device, performing encapsulation of the remapped protocol entity corresponding to the second networking device into the current operating protocol of the second networking device.
For example, the protocol body P1 is encapsulated in the current operating protocol of the internet of things device 4; packaging a protocol body Power1 into a current operating protocol of the Internet of things equipment 5; and encapsulating the protocol body power1 into the current operating protocol of the internet of things device 6.
The communication between different communication protocols of the internet of things is further realized through the process.
As shown in fig. 6, an embodiment of the present invention provides an internet of things information processing apparatus 600, where the internet of things information processing apparatus 600 may include: a protocol mapping interface 601, an information transfer interface 602, and a protocol addressing module 603, wherein,
the protocol mapping interface 601 is configured to map at least one internet of things communication protocol into a unified standard protocol when a registration request of the at least one internet of things communication protocol is received, and store a mapping relationship between the at least one internet of things communication protocol and the standard protocol;
an information transmission interface 602, configured to receive internet of things information sent by a first internet of things device;
and the protocol addressing module 603 is configured to process the internet of things information received by the information transmission interface 602 based on the mapping relationship, and provide a processing result to the second networked device.
In this embodiment of the present invention, the protocol mapping interface 601 is configured to map a plurality of protocol bodies included in each kind of internet of things communication protocol into corresponding key value pairs, where a mapping relationship between a plurality of kinds of internet of things communication protocols and a standard protocol includes: a first mapping relationship between the plurality of protocol bodies and the key-value pairs.
In this embodiment of the present invention, the protocol mapping interface 601 is configured to map, in multiple communication protocols of the internet of things, protocol bodies representing the same function into the same key value pair.
In this embodiment of the present invention, the protocol mapping interface 601 is further configured to map the same information in different formats transmitted by multiple internet of things communication protocols into corresponding information in a unified format, where a mapping relationship between at least one internet of things communication protocol and a standard protocol further includes: and a second mapping relationship between the same information in different formats and the corresponding information in the unified format.
In this embodiment of the present invention, the protocol addressing module 603 is configured to, for the reported data of the first internet of things device based on the internet of things information, convert the format of the reported data according to the second mapping relationship, and store the format-converted reported data.
In this embodiment of the present invention, the protocol addressing module 603 is further configured to receive an information obtaining request sent by the second networking device, where the information obtaining request includes: the current operating protocol and protocol version of the second networking equipment; searching target data for the information acquisition request from the stored reported data after format conversion; and mapping the target data into protocol data matched with the current operating protocol and protocol version of the second networking equipment according to the second mapping relation.
In this embodiment of the present invention, the protocol addressing module 603 is further configured to map, for a command issued by the first internet of things device to the at least one second internet of things device for the internet of things information, the command into a corresponding key value pair according to the first mapping relationship; according to the first mapping relation, further mapping the mapped key value pairs to a corresponding protocol object for each second networking device again; and for each second networking device, performing encapsulation of the remapped protocol entity corresponding to the second networking device into the current operating protocol of the second networking device.
As shown in fig. 7, an embodiment of the present invention provides an information processing system 700 of the internet of things, where the information processing system 700 of the internet of things may include: various internet of things devices 701 and the internet of things information processing apparatus 600 according to any of the above embodiments, wherein,
the protocols run by the multiple internet of things devices 701 are the same or different;
a first internet of things device of the multiple types of internet of things devices 701, configured to send internet of things information to the internet of things information processing apparatus 600;
the second internet-of-things device of the multiple internet-of-things devices 701 is configured to receive a result of the internet-of-things information processing apparatus 600 processing the internet-of-things information.
Specifically, the method for processing information of the internet of things is implemented based on the information processing system of the internet of things shown in fig. 8. Each vendor (vendor 1, vendor 2, …, vendor N shown in fig. 8) registers a plurality of protocols such as MQTT protocol, CoAP protocol, DDS protocol, etc. in the information processing apparatus of the internet of things through a protocol registration interface in the information processing apparatus of the internet of things, maps these different protocols into a unified standard protocol through a protocol mapping interface, and stores the mapping relationship between the different protocols and the standard protocol in a protocol mapping library. The method comprises the steps that reported data or commands sent by any Internet of things equipment are received by an Internet of things information processing device through an equipment gateway, the Internet of things information processing device converts the reported data or commands into a standard protocol or standard format through a protocol addressing module, and according to the communication protocols of other Internet of things equipment to which the reported data or commands are directed, the reported data or commands in the standard protocol or standard format are mapped into formats or forms which can be identified by the currently running communication protocols of the other Internet of things equipment and are issued to the other Internet of things equipment.
Fig. 9 shows an exemplary system architecture 900 of an information processing method or an information processing apparatus of the internet of things to which an embodiment of the present invention can be applied.
As shown in fig. 9, the system architecture 900 may include internet of things devices 901, 902, 903, a network 904, and server 905, a device gateway 906, and end devices 907, 908, 909. The device gateway 906 is used between the internet of things devices 901, 902, 903 and the network 904 to enable communication between the internet of things devices 901, 902, 903 and the network and server 905 based on the device gateway 906 and the network. Network 904 further serves to provide a medium for communication links between terminal devices 907, 908, 909 and server 905. Network 904 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
Users can use the terminal devices 907, 908 and 909 to interact with the internet of things devices 901, 902 and 903 through the network 904, the server 905 and the device gateway 906 to receive or send messages to the internet of things devices and the like, and further, the internet of things devices 901, 902 and 903 can communicate with each other through the network 904, the server 905 and the device gateway 906. Various communication client applications, such as an application of an internet of things device, an application of a voice-controlled internet of things device, and the like, may be installed on the terminal devices 907, 908, and 909.
The internet of things devices 901, 902, 903 may be devices that communicate via any internet of things communication protocol, for example, a temperature control system in an intelligent home, a security system, an intelligent refrigerator, an intelligent curtain, a humidity detection device in an intelligent agriculture, an ambient temperature detection device, and the like. The terminal devices 907, 908, 909 may be various electronic devices having display screens and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 905 may be a server providing various services, for example, a command sent to the terminal devices 907, 908, 909 is mapped to a standard protocol or a standard command, and the standard protocol or the standard command is remapped to a current operating protocol corresponding to the internet of things devices 901, 902, 903.
It should be noted that the method for processing information of the internet of things provided by the embodiment of the present invention is generally executed by the server 905, and accordingly, the information processing apparatus of the internet of things is generally disposed in the server 905.
It should be understood that the number of internet of things devices, device gateways, terminal devices, networks, and servers in fig. 9 are merely illustrative. Any number of internet of things devices, device gateways, terminal devices, networks, and servers may be present, as desired for implementation.
Referring now to FIG. 10, a block diagram of a computer system 1000 suitable for use with a terminal device implementing an embodiment of the invention is shown. The terminal device or the server shown in fig. 10 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 10, the computer system 1000 includes a Central Processing Unit (CPU)1001 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)1002 or a program loaded from a storage section 1008 into a Random Access Memory (RAM) 1003. In the RAM 1003, various programs and data necessary for the operation of the system 1000 are also stored. The CPU 1001, ROM 1002, and RAM 1003 are connected to each other via a bus 1004. An input/output (I/O) interface 1005 is also connected to bus 1004.
The following components are connected to the I/O interface 1005: an input section 1006 including a keyboard, a mouse, and the like; an output section 1007 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 1008 including a hard disk and the like; and a communication section 1009 including a network interface card such as a LAN card, a modem, or the like. The communication section 1009 performs communication processing via a network such as the internet. The driver 1010 is also connected to the I/O interface 1005 as necessary. A removable medium 1011 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 1010 as necessary, so that a computer program read out therefrom is mounted into the storage section 1008 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication part 1009 and/or installed from the removable medium 1011. The computer program executes the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 1001.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The interfaces or modules described in the embodiments of the present invention may be implemented by software or hardware. The described interfaces or modules may also be provided in a processor, and may be described as: a processor includes a protocol mapping interface, an information transfer interface, and a protocol addressing module. The names of these modules or interfaces do not in some cases form a limitation on the unit itself, for example, the protocol addressing module may also be described as a "module for processing information of the internet of things".
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise: when registration requests of various Internet of things communication protocols are received, the various Internet of things communication protocols are mapped into a unified standard protocol, and mapping relations between the various Internet of things communication protocols and the standard protocol are stored; and when the Internet of things information sent by the first Internet of things equipment is received, processing the Internet of things information based on the mapping relation, and providing a processing result for the second Internet of things equipment.
According to the technical scheme of the embodiment of the invention, various communication protocols of the internet of things can be mapped into a unified standard protocol, and the mapping relation between the various communication protocols of the internet of things and the standard protocol is stored; based on the mapping relation, the Internet of things communication protocol can be mapped to another Internet of things communication protocol by means of a unified standard protocol, communication barriers among different Internet of things protocols are broken, namely when the Internet of things information sent by the first Internet of things equipment is received, the Internet of things information is processed based on the mapping relation, and a processing result is provided for the second Internet of things equipment.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (11)

1. An information processing method of the Internet of things is characterized by comprising the following steps:
when registration requests of various Internet of things communication protocols are received, the various Internet of things communication protocols are mapped into a unified standard protocol, and mapping relations between the various Internet of things communication protocols and the standard protocol are stored;
and when receiving the Internet of things information sent by the first Internet of things equipment, processing the Internet of things information based on the mapping relation, and providing a processing result for the second Internet of things equipment.
2. The method for processing the information of the internet of things according to claim 1, wherein mapping the plurality of internet of things communication protocols into a unified standard protocol comprises:
mapping a plurality of protocol bodies included in each of the plurality of internet of things communication protocols into corresponding key-value pairs, wherein the mapping relationship between the plurality of internet of things communication protocols and the standard protocol comprises: a first mapping relationship between a plurality of the protocol bodies and the key-value pairs.
3. The method for processing the information of the internet of things as claimed in claim 2, wherein mapping a plurality of protocol bodies included in each communication protocol of the internet of things into corresponding key-value pairs comprises:
and mapping protocol bodies representing the same function in various communication protocols of the Internet of things into the same key value pair.
4. The method for processing the information of the internet of things according to claim 1, wherein the mapping of the plurality of internet of things communication protocols into a unified standard protocol further comprises:
the same information in different formats transmitted by multiple internet of things communication protocols is mapped into corresponding information in a unified format, wherein the mapping relationship between the at least one internet of things communication protocol and the standard protocol further comprises: and a second mapping relationship between the same information in different formats and the corresponding information in the unified format.
5. The method for processing the information of the internet of things according to claim 4, wherein processing the information of the internet of things based on the mapping relationship comprises:
aiming at the reported data of the first internet of things equipment, the internet of things information is reported,
and converting the format of the reported data according to the second mapping relation, and storing the reported data after the format conversion.
6. The method for processing the information of the internet of things as claimed in claim 5, wherein processing the information of the internet of things further comprises:
receiving an information acquisition request sent by a second networking device, wherein the information acquisition request comprises: the second networking equipment currently runs a protocol and a protocol version;
searching target data for the information acquisition request from the stored reported data after format conversion;
and mapping the target data into protocol data matched with the current operating protocol and the protocol version of the second networking equipment according to the second mapping relation.
7. The method for processing the information of the internet of things as claimed in claim 2 or 3, wherein processing the information of the internet of things based on the mapping relationship comprises:
aiming at the command that the Internet of things information is issued to at least one second Internet of things device by the first Internet of things device,
mapping the command into a corresponding key value pair according to the first mapping relation;
according to the first mapping relation, mapping the mapped key value pairs to a corresponding protocol object for each second networking device again;
and for each second networking device, executing to encapsulate the remapped protocol entity corresponding to the second networking device into the current operating protocol of the second networking device.
8. An information processing device of the internet of things is characterized by comprising: a protocol mapping interface, an information transfer interface, and a protocol addressing module, wherein,
the protocol mapping interface is used for mapping at least one internet of things communication protocol into a unified standard protocol when a registration request of the at least one internet of things communication protocol is received, and storing a mapping relation between the at least one internet of things communication protocol and the standard protocol;
the information transmission interface is used for receiving the Internet of things information sent by the first Internet of things equipment;
and the protocol addressing module is used for processing the information of the internet of things received by the information transmission interface based on the mapping relation and providing a processing result to the second networking equipment.
9. An information processing system of the internet of things, comprising: the internet of things information processing apparatus of claim 8,
the protocols operated by the various Internet of things devices are the same or different;
the first Internet of things equipment in the plurality of Internet of things equipment is used for sending Internet of things information to the Internet of things information processing device;
and the second networking equipment in the multiple kinds of Internet of things equipment is used for receiving the result of the Internet of things information processing device for processing the Internet of things information.
10. An information processing electronic device of the internet of things, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-7.
11. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-7.
CN202110068658.6A 2021-01-19 2021-01-19 Internet of things information processing method, device and system Active CN113783831B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110068658.6A CN113783831B (en) 2021-01-19 2021-01-19 Internet of things information processing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110068658.6A CN113783831B (en) 2021-01-19 2021-01-19 Internet of things information processing method, device and system

Publications (2)

Publication Number Publication Date
CN113783831A true CN113783831A (en) 2021-12-10
CN113783831B CN113783831B (en) 2024-01-16

Family

ID=78835511

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110068658.6A Active CN113783831B (en) 2021-01-19 2021-01-19 Internet of things information processing method, device and system

Country Status (1)

Country Link
CN (1) CN113783831B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500598A (en) * 2022-01-25 2022-05-13 京东方科技集团股份有限公司 Equipment access method, system and proxy service equipment
CN114513561A (en) * 2022-02-16 2022-05-17 拉扎斯网络科技(上海)有限公司 Information processing method, information processing device, electronic equipment and computer readable storage medium
CN114554618A (en) * 2022-02-24 2022-05-27 成都西加云杉科技有限公司 Wireless access point device, equipment access method, equipment and storage medium
CN114595845A (en) * 2022-03-10 2022-06-07 北京百度网讯科技有限公司 Device information management method, device, electronic device and storage medium
CN115174340A (en) * 2022-06-28 2022-10-11 杭州指令集智能科技有限公司 Communication method supporting interaction between multiple protocol types and operating system of Internet of things
CN115277421A (en) * 2022-07-21 2022-11-01 南京数睿数据科技有限公司 Configuration information pushing method and device, electronic equipment and computer readable medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104038414A (en) * 2013-08-21 2014-09-10 江南大学 Multiprotocol intelligent household gateway apparatus and system thereof
US20170279874A1 (en) * 2016-03-23 2017-09-28 Sap Se Translation of messages using sensor-specific and unified protocols
CN109474633A (en) * 2018-12-28 2019-03-15 深圳和而泰数据资源与云技术有限公司 Method for converting protocol, calculates equipment and computer storage medium at device
CN111131231A (en) * 2019-12-23 2020-05-08 北京蜂云科创信息技术有限公司 Method and equipment for accessing data of vehicle-mounted terminal into Internet of vehicles monitoring platform
CN111343159A (en) * 2020-02-12 2020-06-26 杭州涂鸦信息技术有限公司 Protocol adaptation method and system, storage medium and computer equipment
CN111756688A (en) * 2020-05-18 2020-10-09 南京认知物联网研究院有限公司 Method and system for realizing meter protocol and application decoupling

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104038414A (en) * 2013-08-21 2014-09-10 江南大学 Multiprotocol intelligent household gateway apparatus and system thereof
US20170279874A1 (en) * 2016-03-23 2017-09-28 Sap Se Translation of messages using sensor-specific and unified protocols
CN109474633A (en) * 2018-12-28 2019-03-15 深圳和而泰数据资源与云技术有限公司 Method for converting protocol, calculates equipment and computer storage medium at device
CN111131231A (en) * 2019-12-23 2020-05-08 北京蜂云科创信息技术有限公司 Method and equipment for accessing data of vehicle-mounted terminal into Internet of vehicles monitoring platform
CN111343159A (en) * 2020-02-12 2020-06-26 杭州涂鸦信息技术有限公司 Protocol adaptation method and system, storage medium and computer equipment
CN111756688A (en) * 2020-05-18 2020-10-09 南京认知物联网研究院有限公司 Method and system for realizing meter protocol and application decoupling

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500598A (en) * 2022-01-25 2022-05-13 京东方科技集团股份有限公司 Equipment access method, system and proxy service equipment
CN114513561A (en) * 2022-02-16 2022-05-17 拉扎斯网络科技(上海)有限公司 Information processing method, information processing device, electronic equipment and computer readable storage medium
CN114554618A (en) * 2022-02-24 2022-05-27 成都西加云杉科技有限公司 Wireless access point device, equipment access method, equipment and storage medium
CN114595845A (en) * 2022-03-10 2022-06-07 北京百度网讯科技有限公司 Device information management method, device, electronic device and storage medium
CN115174340A (en) * 2022-06-28 2022-10-11 杭州指令集智能科技有限公司 Communication method supporting interaction between multiple protocol types and operating system of Internet of things
CN115174340B (en) * 2022-06-28 2023-08-15 杭州指令集智能科技有限公司 Communication method supporting interaction of multiple protocol types and Internet of things operating system
CN115277421A (en) * 2022-07-21 2022-11-01 南京数睿数据科技有限公司 Configuration information pushing method and device, electronic equipment and computer readable medium
CN115277421B (en) * 2022-07-21 2023-11-24 南京数睿数据科技有限公司 Configuration information pushing method, device, electronic equipment and computer readable medium

Also Published As

Publication number Publication date
CN113783831B (en) 2024-01-16

Similar Documents

Publication Publication Date Title
CN113783831B (en) Internet of things information processing method, device and system
US11323519B2 (en) Internet of things pub-sub data publisher
US11184227B2 (en) Method and apparatus for updating configuration object
CN111343020A (en) Unified management method and device for multi-protocol Internet of things equipment
KR20120072022A (en) Virtual smarthome system, server, home gateway based on clouding computing and method thereof
CN112087454A (en) Communication method, device, equipment and storage medium of Internet of things gateway equipment
CN109815107B (en) Method and device for automatic testing
US11153376B2 (en) Systems and methods for an internet of things computing shell
CN109413140B (en) Remote automatic upgrading method for PACS server
CN113810492B (en) Data point table generation method and device based on intelligent gateway and computer equipment
CN115309562A (en) Operator calling system, operator generating method and electronic equipment
EP4005155B1 (en) Predictive ai automated cloud service turn-up
CN112051816A (en) Data acquisition system and method
CN110677443A (en) Data transmitting and receiving method, transmitting end, receiving end, system and storage medium
CN112463251A (en) Method and device for configuring hot publishing by uliweb framework
CN111212097A (en) Method, device and storage medium for robot to access server
CN116389492A (en) Video analysis system, method, apparatus, and computer-readable storage medium
CN116437377A (en) Communication method, system, electronic device and medium for device control communication protocol
KR101235199B1 (en) An interface construction system and method to control low­erformance equipment using web technology
KR20160144794A (en) A remote management system for apparatus having mqtt and dds client module
CN112162868B (en) Data communication method, device and storage medium applied to cluster processing
CN112311833B (en) Data updating method and device
CN113542412B (en) Data transmission method, device, electronic equipment and storage medium
CN113741937B (en) Application updating method and device for cloud terminal and computer program product
CN115396523A (en) Internet of things data processing method, device, equipment, medium and internet of things soft 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