CN103686848A - Method, gateway, platform and system for processing messages of family Internet of Things - Google Patents

Method, gateway, platform and system for processing messages of family Internet of Things Download PDF

Info

Publication number
CN103686848A
CN103686848A CN201210348182.2A CN201210348182A CN103686848A CN 103686848 A CN103686848 A CN 103686848A CN 201210348182 A CN201210348182 A CN 201210348182A CN 103686848 A CN103686848 A CN 103686848A
Authority
CN
China
Prior art keywords
sensor
things
home internet
uplink
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
CN201210348182.2A
Other languages
Chinese (zh)
Other versions
CN103686848B (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.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group 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 China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201210348182.2A priority Critical patent/CN103686848B/en
Publication of CN103686848A publication Critical patent/CN103686848A/en
Application granted granted Critical
Publication of CN103686848B publication Critical patent/CN103686848B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a method, gateway, platform and system for processing messages of family Internet of Things. The method comprises the following steps: transmitting received uplink business messages of sensors after the uplink business messages of the sensors are packaged in a unified manner to a family Internet of Things platform by a family Internet of Things; carrying out decapsulation on the messages after being packaged by the family Internet of Things to analyze type information of the sensors carried in the messages, carrying out protocol adaptation according to the information, and sending the messages after being adapted to a family Internet of Things application module; or, carrying out protocol adaptation according to the received type information of the sensors carried by the downlink business messages by the family Internet of Things platform, and transmitting the messages after being adapted to a family Internet of Things gateway in a unified manner; transmitting the messages after being packaged to the corresponding sensors through transceivers after decapsulation by the family Internet of Things gateway. According to the gateway provided by the embodiment of the invention, the protocol adaptation is not needed for the business messages, thus the equipment cost is reduced, the service life is prolonged, and the system stability is improved.

Description

Household Internet of things message processing method, gateway, platform and system
Technical Field
The invention relates to the technical field of mobile communication, in particular to a message processing method, a gateway, a platform and a system for a home Internet of things.
Background
In the existing home internet of things system, messages transmitted by a sensor can be divided into uplink messages and downlink messages, and the processing flows of the uplink messages and the downlink messages are described below.
Taking the uplink message as an example, the specific implementation process is as follows: when the home internet of things gateway receives various uplink messages forwarded by the sensor, the home internet of things gateway firstly needs to distinguish the received messages to distinguish whether the messages are uplink management messages or uplink service messages, when the messages are distinguished to be the uplink management messages, the home internet of things gateway also needs to continuously analyze relevant management information in the management messages, then generates a new management message which can be identified by the home internet of things platform, and forwards the new management message to the home internet of things platform for subsequent operation; when the uplink service message is distinguished, protocol adaptation needs to be performed on the uplink service message according to the type information of the sensor in the uplink service message, the uplink service message is converted into a uniform application calling interface protocol and then is forwarded to the home Internet of things platform, and the home Internet of things platform outputs the uplink service message to the home Internet of things application layer through the uniform application calling interface.
Taking the downlink message as an example, the specific implementation process is as follows: when the home internet of things platform receives a downlink message forwarded by the home internet of things application module, the home internet of things platform distinguishes the received message to distinguish whether the message is a downlink management message or a downlink service message, when the message is distinguished to be the downlink management message, the related management information in the management message needs to be continuously analyzed, then the new management message which can be identified by the sensor is generated by the management message, and the new management message is forwarded to the corresponding sensor for subsequent operation.
It can be seen from the existing processing flow of the home internet of things message that when various uplink messages are processed, the processing is performed at the home internet of things gateway, and particularly for the service messages, the home internet of things gateway is required to complete adaptation of various sensing protocols according to the sensor type information in the uplink service messages. Although the foregoing two procedures can complete the processing of the home internet of things message, there are several problems as follows:
1. because the home internet of things gateway is an embedded device, and the adaptation of the sensing protocols has higher requirements on the storage and processing capacity of the home internet of things gateway, the cost of the home internet of things gateway is higher and the bearing load is larger.
2. At present, with the diversification of the types of sensing protocols, the home internet of things gateway needs to be continuously upgraded to support a new sensing protocol, but for a storage component of the home internet of things gateway, the read-write times are limited, so that the service life of equipment of the home internet of things gateway is short.
3. The home internet of things gateway is an access device, and if various sensing protocols are adapted by the home internet of things gateway all the time, the stability of the overall operation of the home internet of things system is poor.
Disclosure of Invention
The embodiment of the invention provides a method, a gateway, a platform and a system for processing a message of a home Internet of things, which are used for solving the problems of high equipment cost, short service life of equipment and poor system stability caused by the fact that the existing home Internet of things gateway processes a service message.
Based on the above problem, an embodiment of the present invention provides a message processing system for a home internet of things, including: the home Internet of things gateway is used for packaging the uplink service messages of the sensors forwarded by the transceiver in a uniform format and forwarding the uplink service messages to the home Internet of things platform; the downlink service messages of the sensors forwarded by the home Internet of things platform are unpacked and then forwarded to the corresponding sensors through the transceiver; the household Internet of things platform is used for de-encapsulating each uplink service message after being encapsulated, analyzing the type information of each sensor carried in each uplink service message, carrying out protocol adaptation according to the type information, and forwarding each uplink service message after being adapted to the household Internet of things application module; and carrying out protocol adaptation according to the type information of each sensor carried by each downlink service message forwarded by the home Internet of things application module, and forwarding each downlink service message after adaptation to the home Internet of things gateway after packaging each downlink service message in the unified format.
The message processing method for the family Internet of things provided by the embodiment of the invention comprises the following steps: the home Internet of things gateway packages the uplink service messages of the sensors forwarded by the transceiver in a uniform format and forwards the uplink service messages to the home Internet of things platform; the home Internet of things platform de-encapsulates each encapsulated uplink service message, analyzes the type information of each sensor carried in each uplink service message, performs protocol adaptation according to the type information, and forwards each uplink service message after adaptation to a home Internet of things application module; or, the home internet of things platform performs protocol adaptation according to the sensor type information carried by each downlink service message forwarded by the home internet of things application module, and forwards each downlink service message after adaptation to the home internet of things gateway after encapsulating each downlink service message in the uniform format; and the home Internet of things gateway decapsulates the encapsulated downlink service message and forwards the downlink service message to the corresponding sensor through the transceiver.
The embodiment of the invention provides a home internet of things gateway, which comprises: the encapsulation and decapsulation module is used for encapsulating the uplink service messages of the sensors forwarded by the transceiver in a uniform format and decapsulating the downlink service messages of the sensors forwarded by the home Internet of things platform; and the forwarding module is used for forwarding each uplink service message encapsulated by the encapsulation and decapsulation module to the home Internet of things platform, and forwarding each downlink service message decapsulated by the encapsulation and decapsulation module to the corresponding sensor through the transceiver.
The embodiment of the invention provides a household Internet of things platform, which comprises: the encapsulation and decapsulation module is used for decapsulating each uplink service message after encapsulation; the protocol adaptation module is used for analyzing the type information of each sensor carried in each uplink service message after the encapsulation and decapsulation module decapsulates, performing protocol adaptation according to the type information, and performing protocol adaptation according to the type information of each sensor carried in each downlink service message forwarded by the home Internet of things application module; and the forwarding module is used for forwarding each uplink service message adapted by the protocol adaptation module to the home Internet of things application module, and forwarding each downlink service message after adaptation to the home Internet of things gateway after being packaged in the uniform format.
The embodiment of the invention has the beneficial effects that:
according to the method, the gateway, the platform and the system for processing the messages of the family Internet of things, provided by the embodiment of the invention, when the family Internet of things gateway receives the uplink service messages of each sensor forwarded by the transceiver, the uplink service messages are packaged in a uniform format and then forwarded to the family Internet of things platform, and the protocol adaptation is performed on the decapsulated uplink service messages by the family Internet of things platform and then forwarded to the family Internet of things application module; and when receiving downlink service messages of each sensor forwarded by the home Internet of things platform, forwarding the downlink service messages to the corresponding sensors through the transceiver. In the embodiment of the invention, when the home internet of things gateway receives the uplink service message, the home internet of things platform performs protocol adaptation instead of performing protocol adaptation on the uplink service message, so that the hardware requirement on the home internet of things gateway is reduced, namely the cost of the home internet of things gateway is reduced; in addition, when the home Internet of things gateway receives the uplink service message, the uplink service message is only packaged in a uniform format and is transmitted to the home Internet of things platform, and no complex processing logic exists, so that the overall operation stability of the home Internet of things system is good; moreover, for the newly added sensing protocol, the home internet of things gateway does not need to be upgraded and the memory is not erased, so that the service life of the home internet of things gateway is prolonged.
Drawings
Fig. 1 is one of flowcharts of processing an uplink service packet of each sensor according to an embodiment of the present invention;
fig. 2 is a second flowchart of processing an uplink service packet for each sensor according to the embodiment of the present invention;
fig. 3 is a flowchart of processing an uplink sensor registration request message according to an embodiment of the present invention;
fig. 4 is a flowchart of processing an uplink sensor status message according to an embodiment of the present invention;
fig. 5 is one of flowcharts of processing a downlink service packet of each sensor according to the embodiment of the present invention;
fig. 6 is a second flowchart of processing a downlink service packet for each sensor according to the embodiment of the present invention;
fig. 7 is a schematic structural diagram of a home internet of things gateway according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a home internet of things platform according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a message processing system of a home internet of things according to an embodiment of the present invention.
Detailed Description
Specific implementation modes of the method, the gateway, the platform and the system for processing the message of the home internet of things provided by the embodiment of the invention are described below with reference to the attached drawings of the specification.
The method for processing the messages of the internet of things in the family, provided by the embodiment of the invention, aims at the processing flow of the uplink service messages of each sensor, and specifically comprises the following steps as shown in fig. 1:
s101: the home Internet of things gateway packages the uplink service messages of the sensors forwarded by the transceiver in a uniform format and forwards the uplink service messages to the home Internet of things platform;
s102: and the household Internet of things platform de-encapsulates each encapsulated uplink service message, analyzes the type information of each sensor carried in each uplink service message, performs protocol adaptation according to the type information, and forwards each uplink service message after adaptation to the household Internet of things application module.
Preferably, in step S101, the home internet of things gateway first needs to receive the uplink service packet of each sensor forwarded by the transceiver, and then encapsulates the received uplink service packet of each sensor in a unified format, for example, the unified format may be an IP transmission format, or may be other formats, where the unified format is not specifically limited.
In step S101, the uplink service messages of the sensors are obtained by differentiating the messages transmitted by the sensors by the transceiver, and the transceiver may be disposed inside the home internet of things gateway or disposed outside the home internet of things gateway to communicate with the home internet of things gateway.
The message sent by the sensor to the transceiver may be a management message or a service message, and the transceiver may identify whether the received message is a management message or a service message according to the following manner:
after receiving the message, the transceiver identifies the type of the message, identifies whether the message is an uplink management message or an uplink service message, if the message is identified to be the uplink management message, the transceiver continues to analyze relevant information in the uplink management message, for example, the uplink management message is a sensor registration request message, the transceiver analyzes relevant sensor information carried in the message, for example, sensor identification information, sensor type information, sensor manufacturer information, sensor model information, sensor serial number information or sensing protocol information of a sensor, and the like, after the transceiver analyzes the message, the transceiver adds a corresponding management message identifier in the message, and then forwards the message and the carried relevant sensor information to a home internet of things gateway; if the message is identified to be the uplink service message, the corresponding uplink service message identification is directly added in the message and then the message is forwarded to the home Internet of things gateway.
Preferably, in step S102, when the home internet of things platform performs protocol adaptation on each sensor type information in the uplink service message, the home internet of things platform may select a corresponding sensing protocol adaptation module in the home internet of things platform according to each sensor type information to perform protocol adaptation, and forward each adapted uplink service message to the home internet of things application module through the uniform application call interface.
The following describes the above processing method flow by taking an uplink service packet as an example, as shown in fig. 2, the specific flow is as follows:
s201: the sensor transmits an uplink service message to the transceiver;
s202: the transceiver receives the uplink service message, determines the uplink service message through differentiation, adds a corresponding service identifier in the uplink service message and forwards the uplink service message to the home internet of things gateway;
s203: after receiving the uplink service message, the home Internet of things gateway encapsulates the uplink service message in a unified IP format and forwards the uplink service message to a home Internet of things platform;
s204: after de-encapsulating the received encapsulated uplink service message, the home Internet of things platform selects a corresponding protocol adaptation module in the platform according to the type information of the sensor in the message, and sends a protocol adaptation request to the protocol adaptation module;
s205: the corresponding protocol adaptation module converts the sensing protocol into a uniform application call interface protocol and returns an adaptation result;
s206: the home Internet of things platform sends the uplink service message to a home Internet of things application module associated with the home Internet of things platform through a uniform application calling interface;
s207: after receiving the uplink service message, the home Internet of things application module returns a receiving response message to the home Internet of things platform;
s208: the home Internet of things platform returns the received response information to the home Internet of things gateway;
s209: the home Internet of things gateway returns receiving response information to the transceiver;
s210: the transceiver returns a reception response message to the sensor.
In the method for processing the messages of the home internet of things, the home internet of things gateway can receive uplink service messages of each sensor forwarded by the transceiver, and also can receive uplink management messages of each sensor, such as registration request messages of the uplink sensor or status messages of the uplink sensor.
The following describes a processing flow of a registration request message of an uplink sensor, and the specific flow is as follows:
when the home Internet of things gateway receives each uplink sensor registration request message forwarded by the transceiver, the home Internet of things gateway generates a new uplink sensor registration request message carrying sensor-related information according to the uplink sensor registration request message and the carried sensor-related information, and initiates a sensor registration request to the home Internet of things platform;
and the home Internet of things platform matches and records the sensor related information in the received sensor registration request, and returns registration response information to the home Internet of things gateway after recording.
Next, the whole process flow described above will be described in detail with reference to fig. 3, and the specific flow is as follows:
s301: the sensor transmits an uplink sensor registration request message to the transceiver;
s302: after receiving the message, the transceiver distinguishes that the message is an uplink management message and is an uplink sensor registration request message, and analyzes the sensor related information carried by the uplink sensor registration request message;
s303: after adding corresponding management message identification to the message, the transceiver transmits the sensor registration request message and the carried sensor related information to the home internet of things gateway;
s304: the home Internet of things gateway generates a new uplink sensor registration request message carrying the sensor related information according to the received sensor registration request message and the carried sensor related information, and forwards the new uplink sensor registration request message to the home Internet of things platform;
s305: the home Internet of things platform matches and records the sensor related information in the received registration request, and returns registration response information to the home Internet of things gateway after recording;
s306: the home Internet of things gateway records response information of successful registration and returns registration response information to the transceiver;
s307: the transceiver returns registration response information to the sensor.
The following describes a processing flow of the uplink sensor status message, and the specific flow is as follows:
when the home Internet of things gateway receives the uplink sensor state message forwarded by the transceiver, generating a new uplink sensor state message carrying the sensor state change information according to the uplink sensor state message and the carried sensor state change information, and forwarding the new uplink sensor state message to the home Internet of things platform;
and the home Internet of things platform updates the state of the sensor according to the received state change information of the sensor and returns response information to the home Internet of things gateway after updating.
Next, the whole process flow described above will be described in detail with reference to fig. 4, and the specific flow is as follows:
s401: the sensor transmits an uplink sensor state message to the transceiver;
s402: after receiving the message, the transceiver identifies that the message is an uplink management message and is an uplink sensor state message, and analyzes the sensor state information carried by the uplink sensor state message;
s403: after adding corresponding management message representation to the message, the transceiver transmits the sensor state message and the carried sensor state information to the home internet of things gateway, wherein the sensor state information can be sensor on-line information or sensor off-line information and the like;
s404: the home Internet of things gateway generates a new sensor state message carrying the sensor state information according to the received sensor state message and the carried sensor state information, and forwards the new sensor state message to the home Internet of things platform;
s405: the home Internet of things platform updates the online state of the sensor according to the sensor state information carried in the received sensor state message, and returns state updating response information to the home Internet of things gateway;
s406: the home Internet of things gateway returns state updating response information to the transceiver;
s407: the transceiver returns status update response information to the sensor.
The method for processing the message of the internet of things in the family, provided by the embodiment of the invention, aims at the processing flow of the downlink service message of each sensor, and specifically comprises the following steps as shown in fig. 5:
s501: the home Internet of things platform performs protocol adaptation according to the sensor type information carried by each downlink service message forwarded by the home Internet of things application module, packages each downlink service message after adaptation in a uniform format and forwards the downlink service message to the home Internet of things gateway;
s502: and the home Internet of things gateway decapsulates the encapsulated downlink service message and forwards the decapsulated downlink service message to the corresponding sensor through the transceiver.
The following describes a processing flow of the downlink sensor parameter setting/reading request packet, as shown in fig. 6, the specific flow is as follows:
s601: the household Internet of things application module sends a downlink sensor parameter setting/reading request message to a household Internet of things platform;
s602: the home Internet of things platform sets/reads sensor type information carried by the request message according to the downlink sensor parameters, selects a corresponding protocol adaptation module in the platform, and sends a protocol adaptation request to the protocol adaptation module;
s603: the corresponding sensing protocol adaptation module adapts the uniform application calling interface protocol to the sensing protocol corresponding to the sensor and returns an adaptation result;
s604: the home Internet of things platform encapsulates the adapted downlink sensor parameter setting/reading request message in a uniform IP format and forwards the encapsulated downlink sensor parameter setting/reading request message to the home Internet of things gateway;
s605: the home Internet of things gateway decapsulates the received downlink sensor parameter setting/reading request message and forwards the decapsulated message to the transceiver;
s606: the transceiver forwards the downlink sensor parameter setting/reading request message to a specific sensor;
s607: the sensor sets/reads information according to the parameters carried by the message, and returns operation response information to the transceiver after executing corresponding operation;
s608: the transceiver returns operation response information to the home Internet of things gateway;
s609: the home Internet of things gateway returns operation response information to the home Internet of things platform;
s610: and the home Internet of things platform returns operation response information to the home Internet of things application module.
Based on the same inventive concept, embodiments of the present invention further provide a home internet of things gateway, a home internet of things platform, and a system, and because the principles of the problems solved by these devices and systems are similar to the foregoing method for processing messages of a home internet of things, the implementation of these devices and systems can refer to the implementation of the foregoing method, and repeated details are omitted.
As shown in fig. 7, the home internet of things gateway provided by the embodiment of the present invention specifically includes:
the encapsulation and decapsulation module 701 is configured to encapsulate, in a uniform format, the uplink service packets of the sensors forwarded by the transceiver, and decapsulate, in a home internet of things platform, the downlink service packets of the sensors forwarded by the home internet of things platform;
and the forwarding module 702 is configured to forward each uplink service packet encapsulated by the encapsulation and decapsulation module 701 to the home internet of things platform, and forward each downlink service packet decapsulated by the encapsulation and decapsulation module to a corresponding sensor through the transceiver.
Further, the home internet of things gateway may further include:
a first generating module 703, configured to generate a new uplink sensor registration request message carrying sensor-related information according to the uplink sensor registration request message and the carried sensor-related information when receiving the uplink sensor registration request message forwarded by the transceiver;
the forwarding module 702 is further configured to forward the new sensor registration request message generated by the first generating module 703 to the home internet of things platform.
Further, the home internet of things gateway may further include:
a second generating module 704, configured to generate a new uplink sensor state message carrying sensor state change information according to the uplink sensor state message and the carried sensor state change information when receiving the uplink sensor state message forwarded by the transceiver;
the forwarding module 702 is further configured to forward the uplink sensor status message generated by the second generating module 704 to the home internet of things platform.
As shown in fig. 8, the platform for the internet of things for the family provided by the embodiment of the invention specifically includes:
an encapsulation and decapsulation module 801, configured to decapsulate each uplink service packet after encapsulation;
the protocol adaptation module 802 is configured to analyze the type information of each sensor carried in each uplink service message decapsulated by the encapsulation decapsulation module 801, perform protocol adaptation according to the type information, and perform protocol adaptation according to the type information of each sensor carried in each downlink service message forwarded by the home internet of things application module;
a forwarding module 803, configured to forward each uplink service packet adapted by the protocol adaptation module 802 to the home internet of things application module, and forward each downlink service packet adapted to the home internet of things gateway after being encapsulated in a uniform format.
Specifically, the forwarding module 803 is specifically configured to forward each uplink service packet adapted by the protocol adaptation module 802 to the home internet of things application module through a uniform application call interface.
Further, the home internet of things platform can further include:
a matching recording module 804, configured to match and record sensor-related information in a sensor registration request message initiated by a home internet of things gateway;
and a first returning module 805, configured to return the registration response information to the home internet of things gateway after the matching record module 804 records the registration.
Further, the home internet of things platform can further include:
an updating module 806, configured to update a state of the sensor according to the received sensor state change information forwarded by the home internet of things gateway;
and a second returning module 807, configured to return response information to the home internet of things gateway after the updating module 806 updates the response information.
As shown in fig. 9, the message processing system for the internet of things in the family provided by the embodiment of the present invention specifically includes:
the home internet of things gateway 901 is used for packaging the uplink service messages of the sensors forwarded by the transceiver 902 in a uniform format and forwarding the uplink service messages to the home internet of things platform 903; decapsulate the downlink service messages of the sensors forwarded by the home internet of things platform 903, and forward the decapsulated downlink service messages to the corresponding sensors 904 through the transceiver 902;
the home internet of things platform 903 is used for decapsulating each encapsulated uplink service message, analyzing the type information of each sensor carried in each uplink service message, performing protocol adaptation according to the type information, and forwarding each uplink service message after adaptation to the home internet of things application module 905; and performing protocol adaptation according to the sensor type information carried by each downlink service message forwarded by the home internet of things application module 905, and forwarding each downlink service message after adaptation to the home internet of things gateway 901 after encapsulating each downlink service message in a uniform format.
Preferably, the home internet of things platform 903 is specifically configured to select a corresponding sensing protocol adaptation module in the home internet of things platform 903 for protocol adaptation according to the type information of each sensor, and forward each adapted uplink service packet to the home internet of things application module 905 through a uniform application call interface.
Preferably, the home internet of things gateway 901 is further configured to generate a new uplink sensor registration request message carrying sensor-related information according to the uplink sensor registration request message and the carried sensor-related information when receiving the uplink sensor registration request message forwarded by the transceiver 902, and forward the new uplink sensor registration request message to the home internet of things platform 903;
preferably, the home internet of things platform 903 is further configured to match and record sensor-related information in the received sensor registration request, and return registration response information to the home internet of things gateway 901 after recording.
Preferably, the home internet of things gateway 901 is further configured to generate a new uplink sensor state message carrying sensor state change information according to the uplink sensor state message and the carried sensor state change information when receiving the uplink sensor state message forwarded by the transceiver 904, and forward the new uplink sensor state message to the home internet of things platform 903;
the home internet of things platform 903 is further specifically configured to update the state of the sensor according to the received sensor state change information, and return response information to the home internet of things gateway 901 after the update.
According to the method, the gateway, the platform and the system for processing the messages of the family Internet of things, provided by the embodiment of the invention, when the family Internet of things gateway receives the uplink service messages of each sensor forwarded by the transceiver, the uplink service messages are packaged in a uniform format and then forwarded to the family Internet of things platform, and the protocol adaptation is performed on the decapsulated uplink service messages by the family Internet of things platform and then forwarded to the family Internet of things application module; and when receiving downlink service messages of each sensor forwarded by the home Internet of things platform, forwarding the downlink service messages to the corresponding sensors through the transceiver. As can be seen from the foregoing processing flow of the home internet of things message, when the home internet of things gateway receives the uplink service message, the home internet of things gateway does not need to perform protocol adaptation on the uplink service message, but performs protocol adaptation on the home internet of things platform, which reduces the hardware requirement on the home internet of things gateway, i.e., reduces the cost of the home internet of things gateway; in addition, when the home Internet of things gateway receives the uplink service message, the uplink service message is only packaged in a uniform format and is transmitted to the home Internet of things platform, and no complex processing logic exists, so that the overall operation stability of the home Internet of things system is good; moreover, for the newly added sensing protocol, the home internet of things gateway does not need to be upgraded and the memory is not erased, so that the service life of the home internet of things gateway is prolonged.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (15)

1. A message processing system of a family Internet of things is characterized by comprising:
the home Internet of things gateway is used for packaging the uplink service messages of the sensors forwarded by the transceiver in a uniform format and forwarding the uplink service messages to the home Internet of things platform; the downlink service messages of the sensors forwarded by the home Internet of things platform are unpacked and then forwarded to the corresponding sensors through the transceiver;
the household Internet of things platform is used for de-encapsulating each uplink service message after being encapsulated, analyzing the type information of each sensor carried in each uplink service message, carrying out protocol adaptation according to the type information, and forwarding each uplink service message after being adapted to the household Internet of things application module; and carrying out protocol adaptation according to the type information of each sensor carried by each downlink service message forwarded by the home Internet of things application module, and forwarding each downlink service message after adaptation to the home Internet of things gateway after packaging each downlink service message in the unified format.
2. The system according to claim 1, wherein the home internet of things platform is specifically configured to select a corresponding sensing protocol adaptation module in the home internet of things platform according to the type information of each sensor to perform protocol adaptation, and forward each uplink service packet after adaptation to the home internet of things application module through a uniform application call interface.
3. The system according to claim 1 or 2, wherein the home internet of things gateway is further configured to generate a new uplink sensor registration request message carrying sensor-related information according to the uplink sensor registration request message and the carried sensor-related information when receiving the uplink sensor registration request message forwarded by the transceiver, and forward the new uplink sensor registration request message to the home internet of things platform;
the home Internet of things platform is also used for matching and recording the relevant information of the sensor in the received sensor registration request message, and returning registration response information to the home Internet of things gateway after recording.
4. The system according to claim 1 or 2, wherein the home internet of things gateway is further configured to generate a new uplink sensor state message carrying sensor state change information according to the uplink sensor state message and the carried sensor state change information when receiving the uplink sensor state message forwarded by the transceiver, and forward the new uplink sensor state message to the home internet of things platform;
the home Internet of things platform is specifically used for updating the state of the sensor according to the received state change information of the sensor and returning response information to the home Internet of things gateway after the state change information of the sensor is updated.
5. A message processing method for a family Internet of things is characterized by comprising the following steps:
the home Internet of things gateway packages the uplink service messages of the sensors forwarded by the transceiver in a uniform format and forwards the uplink service messages to the home Internet of things platform;
the home Internet of things platform de-encapsulates each encapsulated uplink service message, analyzes the type information of each sensor carried in each uplink service message, performs protocol adaptation according to the type information, and forwards each uplink service message after adaptation to a home Internet of things application module; or,
the home Internet of things platform performs protocol adaptation according to the sensor type information carried by each downlink service message forwarded by the home Internet of things application module, packages each downlink service message after adaptation in the unified format and forwards the downlink service message to the home Internet of things gateway;
and the home Internet of things gateway decapsulates the encapsulated downlink service message and forwards the downlink service message to the corresponding sensor through the transceiver.
6. The method of claim 5, wherein the home internet of things platform performs protocol adaptation according to the type information, and forwards each uplink service packet after adaptation to the home internet of things application module, and the method comprises the following steps:
the home Internet of things platform selects a corresponding sensing protocol adaptation module in the home Internet of things platform according to the type information of each sensor to carry out protocol adaptation, and forwards each uplink service message after adaptation to a home Internet of things application module through a uniform application calling interface.
7. The method of claim 5 or 6, further comprising:
when the home Internet of things gateway receives each uplink sensor registration request message forwarded by the transceiver, the home Internet of things gateway generates a new uplink sensor registration request message carrying sensor related information according to the uplink sensor registration request message and the carried sensor related information, and forwards the new uplink sensor registration request message to the home Internet of things platform, wherein the sensor related information is sensor identification information, sensor type information, sensor manufacturer information, sensor model information, sensor serial number information or sensor sensing protocol information;
and the home Internet of things platform matches and records the sensor related information in the received sensor registration request, and returns registration response information to the home Internet of things gateway after recording.
8. The method of claim 5 or 6, further comprising:
when the home Internet of things gateway receives an uplink sensor state message forwarded by a transceiver, generating a new uplink sensor state message carrying sensor state change information according to the uplink sensor state message and the carried sensor state change information, and forwarding the new uplink sensor state message to the home Internet of things platform;
and the home Internet of things platform updates the state of the sensor according to the received state change information of the sensor and returns response information to the home Internet of things gateway after updating.
9. A home internet of things gateway, comprising:
the encapsulation and decapsulation module is used for encapsulating the uplink service messages of the sensors forwarded by the transceiver in a uniform format and decapsulating the downlink service messages of the sensors forwarded by the home Internet of things platform;
and the forwarding module is used for forwarding each uplink service message encapsulated by the encapsulation and decapsulation module to the home Internet of things platform, and forwarding each downlink service message decapsulated by the encapsulation and decapsulation module to the corresponding sensor through the transceiver.
10. The home internet of things gateway of claim 9, further comprising:
the device comprises a first generation module, a second generation module and a sending module, wherein the first generation module is used for generating a new uplink sensor registration request message carrying sensor related information according to the uplink sensor registration request message and the carried sensor related information when receiving the uplink sensor registration request message forwarded by the transceiver;
and the forwarding module is used for forwarding the new sensor registration request message generated by the first generation module to the family Internet of things platform.
11. The home internet of things gateway of claim 9, further comprising:
the second generation module is used for generating a new uplink sensor state message carrying the sensor state change information according to the uplink sensor state message and the carried sensor state change information when receiving the uplink sensor state message forwarded by the transceiver;
the forwarding module is further configured to forward the uplink sensor state message generated by the second generation module to the home internet of things platform.
12. A family Internet of things platform, comprising:
the encapsulation and decapsulation module is used for decapsulating each uplink service message after encapsulation;
the protocol adaptation module is used for analyzing the type information of each sensor carried in each uplink service message after the encapsulation and decapsulation module decapsulates, performing protocol adaptation according to the type information, and performing protocol adaptation according to the type information of each sensor carried in each downlink service message forwarded by the home Internet of things application module;
and the forwarding module is used for forwarding each uplink service message adapted by the protocol adaptation module to the home Internet of things application module, and forwarding each downlink service message after adaptation to the home Internet of things gateway after being packaged in the uniform format.
13. The home internet of things platform of claim 12, wherein the forwarding module is specifically configured to forward each uplink service packet adapted by the protocol adaptation module to the home internet of things application module through a uniform application call interface.
14. The home internet of things platform of claim 12, further comprising:
the matching recording module is used for matching and recording the sensor related information in the sensor registration request message initiated by the home Internet of things gateway;
and the first returning module is used for returning registration response information to the home Internet of things gateway after the records of the matching recording module are recorded.
15. The home internet of things platform of claim 12, further comprising:
the updating module is used for updating the state of the sensor according to the received sensor state change information forwarded by the home Internet of things gateway;
and the second returning module is used for returning response information to the home Internet of things gateway after the updating module updates.
CN201210348182.2A 2012-09-18 2012-09-18 Method, gateway, platform and system for processing messages of family Internet of Things Active CN103686848B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210348182.2A CN103686848B (en) 2012-09-18 2012-09-18 Method, gateway, platform and system for processing messages of family Internet of Things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210348182.2A CN103686848B (en) 2012-09-18 2012-09-18 Method, gateway, platform and system for processing messages of family Internet of Things

Publications (2)

Publication Number Publication Date
CN103686848A true CN103686848A (en) 2014-03-26
CN103686848B CN103686848B (en) 2017-01-25

Family

ID=50322829

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210348182.2A Active CN103686848B (en) 2012-09-18 2012-09-18 Method, gateway, platform and system for processing messages of family Internet of Things

Country Status (1)

Country Link
CN (1) CN103686848B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106209812A (en) * 2016-07-04 2016-12-07 深圳市得润车联科技有限公司 A kind of method of internet-of-things terminal platform data encapsulation
CN107197030A (en) * 2017-06-19 2017-09-22 深圳市盛路物联通讯技术有限公司 A kind of control method and system of internet-of-things terminal equipment working state
CN107347025A (en) * 2017-06-14 2017-11-14 云丁网络技术(北京)有限公司 Data processing method, device, server and system
CN107809487A (en) * 2017-11-07 2018-03-16 普天东方通信集团有限公司 A kind of sensor data transmission method, system and medium
CN108848025A (en) * 2018-06-26 2018-11-20 中国联合网络通信集团有限公司 Gateway, internet of things equipment and system, register method and information processing method
CN109194617A (en) * 2018-08-01 2019-01-11 杭州电子科技大学 The automatically parsing of XML message, packaging method and device
US10230681B2 (en) 2015-12-14 2019-03-12 International Business Machines Corporation Method and apparatus for unified message adaptation
CN110738786A (en) * 2018-07-18 2020-01-31 珠海汇金科技股份有限公司 Money box management method, money box management device, storage medium, computer program product and network point library
CN112351080A (en) * 2020-10-23 2021-02-09 许继集团有限公司 Power distribution system internet of things terminal and method for communicating with external device
CN113194057A (en) * 2020-01-14 2021-07-30 北京京东振世信息技术有限公司 Data receiving, sending and interacting method and client based on AS2
CN114244648A (en) * 2022-02-21 2022-03-25 浪潮通用软件有限公司 Method, device, equipment and medium for actively registering Internet of things platform by equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102307223A (en) * 2011-05-12 2012-01-04 南京中兴新软件有限责任公司 Method and system for realizing adaptation of application platforms
CN102567611A (en) * 2010-12-23 2012-07-11 中国移动通信集团江苏有限公司 Telemedicine system and telemedicine equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567611A (en) * 2010-12-23 2012-07-11 中国移动通信集团江苏有限公司 Telemedicine system and telemedicine equipment
CN102307223A (en) * 2011-05-12 2012-01-04 南京中兴新软件有限责任公司 Method and system for realizing adaptation of application platforms

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10680996B2 (en) 2015-12-14 2020-06-09 International Business Machines Corporation Method and apparatus for unified message adaptation
US11290415B2 (en) 2015-12-14 2022-03-29 International Business Machines Corporation Method and apparatus for unified message adaptation
US10230681B2 (en) 2015-12-14 2019-03-12 International Business Machines Corporation Method and apparatus for unified message adaptation
CN106209812A (en) * 2016-07-04 2016-12-07 深圳市得润车联科技有限公司 A kind of method of internet-of-things terminal platform data encapsulation
CN107347025A (en) * 2017-06-14 2017-11-14 云丁网络技术(北京)有限公司 Data processing method, device, server and system
CN107197030A (en) * 2017-06-19 2017-09-22 深圳市盛路物联通讯技术有限公司 A kind of control method and system of internet-of-things terminal equipment working state
CN107197030B (en) * 2017-06-19 2020-10-20 深圳市盛路物联通讯技术有限公司 Method and system for controlling working state of terminal equipment of Internet of things
CN107809487A (en) * 2017-11-07 2018-03-16 普天东方通信集团有限公司 A kind of sensor data transmission method, system and medium
CN108848025A (en) * 2018-06-26 2018-11-20 中国联合网络通信集团有限公司 Gateway, internet of things equipment and system, register method and information processing method
CN108848025B (en) * 2018-06-26 2021-04-13 中国联合网络通信集团有限公司 Data processing method, intelligent gateway and Internet of things system
CN110738786A (en) * 2018-07-18 2020-01-31 珠海汇金科技股份有限公司 Money box management method, money box management device, storage medium, computer program product and network point library
CN109194617A (en) * 2018-08-01 2019-01-11 杭州电子科技大学 The automatically parsing of XML message, packaging method and device
CN113194057A (en) * 2020-01-14 2021-07-30 北京京东振世信息技术有限公司 Data receiving, sending and interacting method and client based on AS2
CN113194057B (en) * 2020-01-14 2023-06-27 北京京东振世信息技术有限公司 AS 2-based data receiving, transmitting and interacting method and client
CN112351080A (en) * 2020-10-23 2021-02-09 许继集团有限公司 Power distribution system internet of things terminal and method for communicating with external device
CN112351080B (en) * 2020-10-23 2023-05-02 许继集团有限公司 Internet of things terminal of power distribution system and communication method of Internet of things terminal and external device
CN114244648A (en) * 2022-02-21 2022-03-25 浪潮通用软件有限公司 Method, device, equipment and medium for actively registering Internet of things platform by equipment
CN114244648B (en) * 2022-02-21 2022-06-28 浪潮通用软件有限公司 Method, device, equipment and medium for equipment to actively register Internet of things platform

Also Published As

Publication number Publication date
CN103686848B (en) 2017-01-25

Similar Documents

Publication Publication Date Title
CN103686848B (en) Method, gateway, platform and system for processing messages of family Internet of Things
US20170244792A1 (en) Power-Line Carrier Terminal Control Apparatus, System, and Method
CN102790776B (en) Heartbeat connection normalizing processing method, terminal, server and communication system
EP3096563B1 (en) Method and system for realizing network access via wifi
CN105684520B (en) Method for establishing wireless local area network communication connection and electronic equipment thereof
EP2573970B1 (en) Near field communication reader device, near field communication tag device, near field communication system and near field communication method
CN104335675B (en) Data transmission method, apparatus and system
CN104412566A (en) Methodes and nodes for handling an address of a resource
CN104993979A (en) Network connection monitoring method, terminal equipment and communication system
CN111052677A (en) Method for charging data of applications routed on a slice of a communication network
KR20170124055A (en) APPARATUS FOR COMPATIBILITY BETWEEN ZIGBEE AND CoAP
CN102355660B (en) Uplink wireless access method and wireless access network bridge device
CN104348728B (en) Generate the method and apparatus of forwarding information
KR101657532B1 (en) Method for extending bridge domain of overlay sdn
KR20190062402A (en) Substitute cellularless roaming
CN101465858B (en) Method for implementing private network penetration of monitoring business, network appliance and server
CN106597873A (en) Method, device and system for carrying out remote maintenance of automation equipment
EP3195690B1 (en) Zigbee system management employing a tr-069 enabled cpe proxy
CN108259350B (en) Message transmission method and device and machine-readable storage medium
EP3657732B1 (en) Electronic device control system for controlling electronic device, and method for controlling electronic device
CN114039946A (en) Message transmission method and device, electronic device and storage medium
CN114221898B (en) Message processing method and network system
CN105812498A (en) Hot spot data transmission method and hot spot data transmission device
CN104811363A (en) Internet of things microblog platform and pushing method
CN102932376B (en) File transfer system and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant