CN103686848B - 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
CN103686848B
CN103686848B CN201210348182.2A CN201210348182A CN103686848B CN 103686848 B CN103686848 B CN 103686848B CN 201210348182 A CN201210348182 A CN 201210348182A CN 103686848 B CN103686848 B CN 103686848B
Authority
CN
China
Prior art keywords
things
family
internet
sensor
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.)
Active
Application number
CN201210348182.2A
Other languages
Chinese (zh)
Other versions
CN103686848A (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

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

A kind of family Internet of Things message processing method, gateway, platform and system
Technical field
The present invention relates to mobile communication technology field, a kind of more particularly, to family Internet of Things message processing method, gateway, flat Platform and system.
Background technology
In existing family Internet of things system, the message of sensor transmission can be divided into uplink message and downlink message, Separately below the handling process of uplink message and downlink message is illustrated.
, implement flow process as follows: family's gateway of internet of things is receiving all kinds of of sensor forwarding taking uplink message as a example It is necessary first to make a distinction to the message receiving during uplink message, differentiation is up management message or uplink service message, Distinguish and in addition it is also necessary to continue to parse the related administrative information in this management message, then given birth to for during up management message The new management message becoming family's platform of internet of things can identify, is transmitted to family's platform of internet of things and carries out subsequent job;In area When separating as uplink service message, need the type information according to sensor in uplink service message, protocol adaptation carried out to it, Then after being converted into unified application call interface protocol, it is transmitted to family's platform of internet of things, family's platform of internet of things leads to Cross unified application call interface to family's internet of things application layer output uplink service message.
, implement flow process as follows: family's platform of internet of things receives family's Internet of Things application mould taking downlink message as a example During the downlink message that block forwards, the message receiving is made a distinction, differentiation is down management message or downlink business message, Distinguish and in addition it is also necessary to continue to parse the related administrative information in this management message, then given birth to for during down management message The new management message becoming sensor can identify, is transmitted to corresponding sensor and carries out subsequent operation.
When the handling process of existing family Internet of Things network packet can be seen that the process to various uplink messages, it is all Family's gateway of internet of things is carried out, especially for for service message in addition it is also necessary to family's gateway of internet of things is according to uplink service report Sensor type information in literary composition completes the adaptation of multiple sensing agreements.Although aforementioned both flow processs can complete to family's thing The process work of connection message, but can there are following Railway Project:
1st, because family's gateway of internet of things is embedded device, and the adaptation of these sensing agreements is to family's gateway of internet of things storage Higher with disposal ability requirement, this allows for the relatively costly of family's gateway of internet of things and bearing load is larger.
2nd, now with the variation of sensing protocol type, family's gateway of internet of things is accomplished by constantly upgrading to support new biography Sense agreement, but for the storage components and parts of family's gateway of internet of things, its read-write number of times is limited, so may result in house The service life of equipment of front yard gateway of internet of things is short.
3rd, family's gateway of internet of things is a kind of access device, if always adaptation processing is carried out to multiple sensing agreements by it, The less stable of family's Internet of things system overall operation can be made.
Content of the invention
Embodiments provide a kind of family Internet of Things message processing method, gateway, platform and system, in order to solve Existing equipment cost service message being processed and being led to by family's gateway of internet of things is high, service life of equipment is short and system The problem of stability difference.
Based on the problems referred to above, a kind of family provided in an embodiment of the present invention Internet of Things message handling system, comprising: family's thing Networking is closed, and the uplink service message of each sensor for forwarding to transceiver is transmitted to family after being packaged with consolidation form Platform of internet of things;And by described after decapsulating to the downlink business message of each sensor that family Internet of Things platform forwards Transceiver is transmitted to corresponding sensor;Family's platform of internet of things, for unsealing to each uplink service message after encapsulation Dress, parses each sensor type information carrying in described each uplink service message, and is assisted according to described type information View adaptation, and each uplink service message after adaptation is transmitted to family's Internet of Things application module;And according to family's Internet of Things Each sensor type information that each downlink business message that application module forwards carries carries out protocol adaptation, and will be each after adaptation Downlink business message is transmitted to family's gateway of internet of things with described consolidation form after being packaged.
A kind of family provided in an embodiment of the present invention Internet of Things message processing method, comprising: family's gateway of internet of things is to transmitting-receiving The uplink service message of each sensor that device forwards is transmitted to family's platform of internet of things after being packaged with consolidation form;Family's thing Networked platforms decapsulate to each uplink service message after encapsulation, parse carry in described each uplink service message each Sensor type information, and protocol adaptation is carried out according to described type information, and each uplink service message after adaptation is forwarded To family's Internet of Things application module;Or, each lower industry that family's platform of internet of things forwards according to family's Internet of Things application module Each sensor type information that business message carries carries out protocol adaptation, and by each downlink business message after adaptation with described unification Form is transmitted to family's gateway of internet of things after being packaged;Family's gateway of internet of things decapsulates to the downlink business message after encapsulation Afterwards corresponding sensor is transmitted to by described transceiver.
A kind of family provided in an embodiment of the present invention gateway of internet of things, comprising: encapsulation decapsulation module, for turning to transceiver The uplink service message of each sensor sent out is packaged with consolidation form, and each sensor that family's Internet of Things platform is forwarded Downlink business message decapsulated;Forwarding module, for each uplink service message after encapsulating encapsulation decapsulation module It is transmitted to family's platform of internet of things, each downlink business message after encapsulation decapsulation module decapsulation is turned by described transceiver Issue corresponding sensor.
A kind of family provided in an embodiment of the present invention platform of internet of things, comprising: encapsulation decapsulation module, after to encapsulation Each uplink service message decapsulated;Protocol adaptation module, each after encapsulation decapsulation module decapsulation for parsing The each sensor type information carrying in uplink service message, and protocol adaptation is carried out according to described type information, and according to Each sensor type information that each downlink business message that family's Internet of Things application module forwards carries carries out protocol adaptation;Forward Module, is transmitted to family's Internet of Things application module for each uplink service message after being adapted to protocol adaptation module, and will Each downlink business message after adaptation is transmitted to family's gateway of internet of things after being packaged with described consolidation form.
The beneficial effect of the embodiment of the present invention includes:
Family provided in an embodiment of the present invention Internet of Things message processing method, gateway, platform and system, family's gateway of internet of things When receiving the uplink service message of each sensor of transceiver forwarding, uplink service message is packaged with consolidation form After be transmitted to family's platform of internet of things, be transmitted to family's thing after carrying out protocol adaptation after being decapsulated by family's platform of internet of things Working application module;When receiving the downlink business message of each sensor that family's platform of internet of things forwards, these are descending Service message is transmitted to corresponding sensor by transceiver.Family's gateway of internet of things industry on receiving in the embodiment of the present invention During business message, itself need not carry out protocol adaptation to uplink service message, but carries out protocol adaptation by family's platform of internet of things, This reduces the hardware requirement to family's gateway of internet of things, that is, reduce the cost of family's gateway of internet of things;In addition, family's Internet of Things When pass receives uplink service message, only packaged in a unified format be transmitted to family's platform of internet of things, no complicated process is patrolled Collect so that the stability of the overall operation of family's Internet of things system is preferable;Furthermore, for newly-increased sensing agreement, family's Internet of Things Gateway need not be upgraded and flash memory, and this just extends the service life of family's gateway of internet of things.
Brief description
Fig. 1 is one of flow chart of uplink service Message processing to each sensor provided in an embodiment of the present invention;
Fig. 2 is the two of the flow chart of the uplink service Message processing to each sensor provided in an embodiment of the present invention;
Fig. 3 is the flow chart to upstream sensor registration request Message processing provided in an embodiment of the present invention;
Fig. 4 is the flow chart that upstream sensor state message is processed provided in an embodiment of the present invention;
Fig. 5 is one of flow chart of downlink business Message processing to each sensor provided in an embodiment of the present invention;
Fig. 6 is the two of the flow chart of the downlink business Message processing to each sensor provided in an embodiment of the present invention;
Fig. 7 is the structural representation of family provided in an embodiment of the present invention gateway of internet of things;
Fig. 8 is the structural representation of family provided in an embodiment of the present invention platform of internet of things;
Fig. 9 is the structural representation of family provided in an embodiment of the present invention Internet of Things message handling system.
Specific embodiment
With reference to Figure of description, to a kind of family provided in an embodiment of the present invention Internet of Things message processing method, net The specific embodiment of pass, platform and system illustrates.
A kind of family provided in an embodiment of the present invention Internet of Things message processing method, for the uplink service report of each sensor The handling process of literary composition, as shown in figure 1, specifically including following steps:
The uplink service message of each sensor that s101: family's gateway of internet of things forwards to transceiver is sealed with consolidation form It is transmitted to family's platform of internet of things after dress;
S102: family's platform of internet of things decapsulates to each uplink service message after encapsulation, parses each upper industry The each sensor type information carrying in business message, and protocol adaptation is carried out according to type information, and will be each up after adaptation Service message is transmitted to family's Internet of Things application module.
It is preferred that in step s101, family's gateway of internet of things needs to receive the up of each sensor that transceiver forwards first Service message, is then packaged in a unified format to the uplink service message of each sensor receiving, for example unified Form can be ip transformat or extended formatting, and here is not specifically limited to unified form.
In step s101, the uplink service message of above-mentioned each sensor is respective to the transmission of each sensor by transceiver Message obtains after making a distinction, and this transceiver can be arranged at the inside of family's gateway of internet of things it is also possible to be arranged on family's thing The outside that networking is closed, with family's gateway of internet of things interactive communication.
The message of transceiver issued by sensor it may be possible to management message is also possible to be service message, transceiver can be according to Following manner class identifies that the message of reception is management message or service message:
Transceiver, after receiving message, can be identified to the type of this message, identifies that this message is ascending tube Reason message or uplink service message, if identifying when being up management message, continues the correlation in parsing up management message Information, for example up management message is sensor registration request message, and transceiver can parse the sensor carrying in this message Relevant information, such as sensor identification information, sensor type information, sensor company-information, sensor model number information, sensing Sensing protocol information of device sequence number information or sensor etc., transceiver can add after parsing in this message accordingly Management message identification, afterwards by this message and the sensor relevant information that carries is transmitted to family's gateway of internet of things;If identifying it is Uplink service message, then be transmitted to family's Internet of Things after directly adding corresponding uplink service message identification in this message Close.
It is preferred that in step s102, family's platform of internet of things is to each sensor type letter in uplink service message When breath carries out protocol adaptation, corresponding sensing agreement in family's platform of internet of things can be selected to fit according to each sensor type information Join module and carry out protocol adaptation, and each uplink service message after adaptation is transmitted to family by unified application call interface Internet of Things application module.
Below, above-mentioned process flow is illustrated taking uplink service message as a example, as shown in Fig. 2 idiographic flow As follows:
S201: sensor transmits uplink service message to transceiver;
S202: transceiver receives this uplink service message, is defined as uplink service message through distinguishing, then in this uplink service It is transmitted to family's gateway of internet of things after adding corresponding service identification in message;
S203: family's gateway of internet of things carries out unifying the encapsulation of ip form after receiving this uplink service message, and is transmitted to house Front yard Internet of Things platform;
S204: after family's Internet of Things platform decapsulates to the uplink service message after the encapsulation receiving, according to this message The type information of middle sensor, selects corresponding protocol adaptation module in platform, and sends protocol adaptation to protocol adaptation module Request;
S205: corresponding protocol adaptation module becomes unified application call interface protocol by sensing protocol conversion, and returns Adaptation result;
S206: family's platform of internet of things is by unified application call interface to family associated there Internet of Things application Module sends this uplink service message;
S207: after family's Internet of Things application module receives this uplink service message, return to family's platform of internet of things and connect Receive response message;
S208: family's platform of internet of things returns to family's gateway of internet of things and receives response message;
S209: family's gateway of internet of things returns to transceiver and receives response message;
S210: transceiver returns to sensor and receives response message.
In the processing method of above-mentioned family Internet of Things network packet, family's gateway of internet of things is except receiving transceiver forwarding The uplink service message of each sensor, can also receive the up management message of each sensor, the registration of such as upstream sensor State message of request message or upstream sensor etc..
Below the handling process of the registration request message of upstream sensor is illustrated, idiographic flow is as follows:
When family's gateway of internet of things receives each upstream sensor registration request message of transceiver forwarding, family's Internet of Things The sensor relevant information closed according to upstream sensor registration request message and carry, generates the new sensor correlation that carries and believes The upstream sensor registration request message of breath, and initiate sensor registration request to family's platform of internet of things;
Family's platform of internet of things is mated to the sensor relevant information in the sensor registration request receiving and is remembered Record, and return registration response message to family's gateway of internet of things after reordering.
Next, being described in detail to above-mentioned whole handling process with reference to Fig. 3, idiographic flow is as follows:
S301: sensor transmits upstream sensor registration request message to transceiver;
After s302: transceiver receives this message, distinguishing is up management message, and is upstream sensor registration request report Literary composition, and parse the sensor relevant information that upstream sensor registration request message carries;
S303: transceiver add to this message corresponding manage message identification after, by this sensor registration request message And the sensor relevant information carrying passes to family's gateway of internet of things;
S304: family's gateway of internet of things according to the sensor registration request message receiving and the sensor relevant information carrying, Generate the new upstream sensor registration request message carrying sensor relevant information, be transmitted to family's platform of internet of things;
S305: family's platform of internet of things is mated and is recorded to the sensor relevant information in the registration request receiving, Return registration response message after reordering and to family's gateway of internet of things;
S306: the response message that family's gateway of internet of things record succeeds in registration, and return registration response message to transceiver;
S307: transceiver returns registration response message to sensor.
Below the handling process of upstream sensor state message is illustrated, idiographic flow is as follows:
When family's gateway of internet of things receives the upstream sensor state message of transceiver forwarding, according to upstream sensor shape State message and the sensor states change information carrying, generate the new upstream sensor carrying sensor states change information State message, and it is transmitted to family's platform of internet of things;
Family's platform of internet of things is updated to the state of sensor according to receiving sensor states change information, and Update backward family gateway of internet of things and return response message.
Next, being described in detail to above-mentioned whole handling process with reference to Fig. 4, idiographic flow is as follows:
S401: sensor transmits upstream sensor state message to transceiver;
After s402: transceiver receives this message, if identifying is up management message, and it is upstream sensor state report Literary composition, and parse the sensor status information that upstream sensor state message carries;
S403: transceiver add to this message corresponding manage after message represents, by this sensor states message and take The sensor status information of band passes to family's gateway of internet of things, and sensor status information can be reached the standard grade information or sensor for sensor Offline information etc.;
S404: family's gateway of internet of things, according to the sensor states message receiving and the sensor status information carrying, generates The new sensor states message carrying sensor status information, is transmitted to family's platform of internet of things;
The sensor status information more new biography that s405: family's platform of internet of things carries according to the sensor states message receiving The presence of sensor, and return state renewal response message to family's gateway of internet of things;
S406: family's gateway of internet of things returns state to transceiver and updates response message;
S407: transceiver returns state to sensor and updates response message.
A kind of family provided in an embodiment of the present invention Internet of Things message processing method, for the downlink business report of each sensor The handling process of literary composition, as shown in figure 5, specifically including following steps:
S501: family's platform of internet of things according to each downlink business message that family Internet of Things application module forwards carry each Sensor type information carries out protocol adaptation, and forwards after each downlink business message after adaptation is packaged with consolidation form To family's gateway of internet of things;
It is right that s502: family's gateway of internet of things is transmitted to by transceiver after the downlink business message after encapsulation is decapsulated The sensor answered.
Below the handling process of downstream sensor parameter setting/read requests message is illustrated, as shown in fig. 6, tool Body flow process is as follows:
S601: family's Internet of Things application module sends downstream sensor parameter setting/reading to family's platform of internet of things please Seek message;
The sensor class that s602: family's platform of internet of things carries according to downstream sensor parameter setting/read requests message Type information, selects corresponding protocol adaptation module in platform, and sends protocol adaptation request to protocol adaptation module;
S603: it is corresponding that unified application call interface protocol is adapted for sensor by corresponding sensing protocol adaptation module Sensing agreement, and return adaptation result;
S604: family's platform of internet of things is by the downstream sensor parameter setting/read requests message after being adapted to unification Ip form is transmitted to family's gateway of internet of things after being packaged;
After s605: family's gateway of internet of things decapsulates to the downstream sensor parameter setting/read requests message receiving It is transmitted to transceiver;
Downstream sensor parameter setting/read requests message is transmitted to specific sensor by s606: transceiver;
The parameter setting that s607: sensor carries according to this message/reading information, after execution corresponding operating, to transceiver Return operation response message;
S608: transceiver returns operation response message to family's gateway of internet of things;
S609: family's gateway of internet of things returns operation response message to family's platform of internet of things;
S610: family's platform of internet of things returns operation response message to family's Internet of Things application module.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of family gateway of internet of things, family's platform of internet of things And system, because these devices are similar to foregoing home Internet of Things message processing method with the principle of system institute solve problem, because The enforcement of this these device and system may refer to the enforcement of preceding method, repeats no more in place of repetition.
A kind of family provided in an embodiment of the present invention gateway of internet of things, as shown in fig. 7, specifically including:
Encapsulation decapsulation module 701, for the uplink service message of each sensor that transceiver is forwarded with consolidation form It is packaged, and the downlink business message of each sensor that family's Internet of Things platform forwards is decapsulated;
Forwarding module 702, is transmitted to family's thing for each uplink service message after encapsulating encapsulation decapsulation module 701 Networked platforms, each downlink business message after encapsulation decapsulation module decapsulation is transmitted to corresponding sensing by transceiver Device.
Further, this family's gateway of internet of things can also include:
First generation module 703, for when receive transceiver forwarding upstream sensor registration request message when, according to Upstream sensor registration request message and the sensor relevant information carrying, what generation was new carries the upper of sensor relevant information Line sensor registration request message;
Forwarding module 702, is additionally operable to the new sensor registration request message generating according to the first generation module 703, turns Issue family's platform of internet of things.
Further, this family's gateway of internet of things can also include:
Second generation module 704, for when receiving the upstream sensor state message of transceiver forwarding, according to up Sensor states message and the sensor states change information carrying, what generation was new carries the upper of sensor states change information Line sensor state message;
Forwarding module 702, the upstream sensor state message being additionally operable to generate the second generation module 704 is transmitted to family Platform of internet of things.
A kind of family provided in an embodiment of the present invention platform of internet of things, as shown in figure 8, specifically including:
Encapsulation decapsulation module 801, for decapsulating to each uplink service message after encapsulation;
Protocol adaptation module 802, for parsing in each uplink service message after encapsulation decapsulation module 801 decapsulation The each sensor type information carrying, and protocol adaptation is carried out according to type information, and according to family's Internet of Things application module Each sensor type information that each downlink business message forwarding carries carries out protocol adaptation;
Forwarding module 803, is transmitted to family's Internet of Things for each uplink service message after being adapted to protocol adaptation module 802 Net application module, and by adaptation after each downlink business message be packaged with consolidation form after be transmitted to family's Internet of Things Close.
Specifically, forwarding module 803, lead to specifically for each uplink service message after being adapted to protocol adaptation module 802 Cross unified application call interface and be transmitted to family's Internet of Things application module.
Further, this family's platform of internet of things can also include:
Coupling logging modle 804, in the sensor registration request message to the family's gateway of internet of things initiation receiving Sensor relevant information mated and recorded;
First return module 805, records backward family gateway of internet of things return registration response letter for mating logging modle 804 Breath.
Further, this family's platform of internet of things can also include:
Update module 806, receives the sensor states change information of family's gateway of internet of things forwarding to sensing for basis The state of device is updated;
Second return module 807, updates backward family gateway of internet of things for update module 806 and returns response message.
A kind of family provided in an embodiment of the present invention Internet of Things message handling system, as shown in figure 9, specifically including:
Family's gateway of internet of things 901, for the uplink service message of each sensor that transceiver 902 forwards with consolidation form It is transmitted to family's platform of internet of things 903 after being packaged;And the lower industry to each sensor that family's Internet of Things platform 903 forwards Business message is transmitted to corresponding sensor 904 by transceiver 902 after being decapsulated;
Family's platform of internet of things 903, for decapsulating to each uplink service message after encapsulation, parses each up The each sensor type information carrying in service message, and protocol adaptation is carried out according to type information, and will be on each after adaptation Row service message is transmitted to family's Internet of Things application module 905;And according to family's Internet of Things application module 905 forward each under Each sensor type information that row service message carries carries out protocol adaptation, and by each downlink business message after adaptation with unification Form is transmitted to family's gateway of internet of things 901 after being packaged.
It is preferred that family's platform of internet of things 903, specifically for selecting family's Internet of Things to put down according to each sensor type information In platform 903, corresponding sensing protocol adaptation module carries out protocol adaptation, and each uplink service message after adaptation is passed through unification Application call interface be transmitted to family's Internet of Things application module 905.
It is preferred that family's gateway of internet of things 901, the upstream sensor registration being additionally operable to when receiving transceiver 902 forwarding please When seeking message, according to upstream sensor registration request message and the sensor relevant information that carries, generate and new carries sensing The upstream sensor registration request message of device relevant information, and it is transmitted to family's platform of internet of things 903;
It is preferred that family's platform of internet of things 903, also with letter related to the sensor in the sensor registration request receiving Breath is mated and is recorded, and returns registration response message to family's gateway of internet of things 901 after reordering.
It is preferred that family's gateway of internet of things 901, it is additionally operable to when the upstream sensor state report receiving transceiver 904 forwarding Wen Shi, according to upstream sensor state message and the sensor states change information that carries, generates and new carries sensor shape The upstream sensor state message of state change information, and it is transmitted to family's platform of internet of things 903;
Family's platform of internet of things 903, is specifically additionally operable to basis and receives the shape to sensor for the sensor states change information State is updated, and returns response message to family's gateway of internet of things 901 in the updated.
Family provided in an embodiment of the present invention Internet of Things message processing method, gateway, platform and system, family's gateway of internet of things When receiving the uplink service message of each sensor of transceiver forwarding, uplink service message is packaged with consolidation form After be transmitted to family's platform of internet of things, be transmitted to family's thing after carrying out protocol adaptation after being decapsulated by family's platform of internet of things Working application module;When receiving the downlink business message of each sensor that family's platform of internet of things forwards, these are descending Service message is transmitted to corresponding sensor by transceiver.Can from the aforementioned handling process to family's Internet of Things network packet Go out, when receiving uplink service message, itself need not carry out protocol adaptation to uplink service message to family's gateway of internet of things, but Protocol adaptation is carried out by family's platform of internet of things, this reduces the hardware requirement to family's gateway of internet of things, that is, reduce family The cost of gateway of internet of things;In addition, when family's gateway of internet of things receives uplink service message, only packaged in a unified format it is transmitted to Family's platform of internet of things, no complicated process logic is so that the stability of the overall operation of family's Internet of things system is preferable;Again Person, for newly-increased sensing agreement, family's gateway of internet of things need not be upgraded and flash memory, and this just extends family's Internet of Things The service life of gateway.
Obviously, those skilled in the art can carry out the various changes and modification essence without deviating from the present invention to the present invention God and scope.So, if these modifications of the present invention and modification belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprise these changes and modification.

Claims (15)

1. a kind of family Internet of Things message handling system is it is characterised in that include:
Family's gateway of internet of things, after the uplink service message of each sensor for forwarding to transceiver is packaged with consolidation form It is transmitted to family's platform of internet of things;And the downlink business message of each sensor that family's platform of internet of things forwards is unsealed After dress, corresponding sensor is transmitted to by described transceiver;
Family's platform of internet of things, for decapsulating to each uplink service message after encapsulation, parses described each upper industry The each sensor type information carrying in business message, and protocol adaptation is carried out according to described type information, and will be each after adaptation Uplink service message is transmitted to family's Internet of Things application module;And each lower industry according to family's Internet of Things application module forwarding Each sensor type information that business message carries carries out protocol adaptation, and by each downlink business message after adaptation with described unification Form is transmitted to family's gateway of internet of things after being packaged.
2. the system as claimed in claim 1 is it is characterised in that described family platform of internet of things, specifically for according to each sensing Device type information selects corresponding sensing protocol adaptation module in family's platform of internet of things to carry out protocol adaptation, and by after adaptation Each uplink service message is transmitted to family's Internet of Things application module by unified application call interface.
3. system as claimed in claim 1 or 2, it is characterised in that described family gateway of internet of things, is additionally operable to receive transmitting-receiving During the upstream sensor registration request message that device forwards, according to described upstream sensor registration request message and the sensor that carries Relevant information, generates the new upstream sensor registration request message carrying sensor relevant information, and is transmitted to family's thing Networked platforms;
Described family platform of internet of things, is additionally operable to the sensor relevant information in the sensor registration request message receiving is entered Row coupling and record, and return registration response message to family's gateway of internet of things after reordering.
4. system as claimed in claim 1 or 2, it is characterised in that described family gateway of internet of things, is additionally operable to receive transmitting-receiving Device forward upstream sensor state message when, according to described upstream sensor state message and carry sensor states change Information, generates the new upstream sensor state message carrying sensor states change information, and is transmitted to family's Internet of Things Platform;
Described family platform of internet of things, is specifically additionally operable to the state of sensor be entered according to receiving sensor states change information Row updates, and returns response message to family's gateway of internet of things in the updated.
5. a kind of family Internet of Things message processing method is it is characterised in that include:
The uplink service message of each sensor that family's gateway of internet of things forwards to transceiver is forwarded after being packaged with consolidation form To family's platform of internet of things;
Family's platform of internet of things decapsulates to each uplink service message after encapsulation, parses described each uplink service message In each sensor type information of carrying, and protocol adaptation is carried out according to described type information, and by each upper industry after adaptation Business message is transmitted to family's Internet of Things application module;Or,
Each sensor class that family's platform of internet of things carries according to each downlink business message that family's Internet of Things application module forwards Type information carries out protocol adaptation, and is transmitted to house after each downlink business message after adaptation is packaged with described consolidation form Front yard gateway of internet of things;
Family's gateway of internet of things is transmitted to corresponding by described transceiver after the downlink business message after encapsulation is decapsulated Sensor.
6. method as claimed in claim 5 is it is characterised in that family's platform of internet of things carries out agreement according to described type information Adaptation, and each uplink service message after adaptation is transmitted to family's Internet of Things application module, comprising:
Family's platform of internet of things selects corresponding sensing protocol adaptation in family's platform of internet of things according to each sensor type information Module carries out protocol adaptation, and each uplink service message after adaptation is transmitted to family's thing by unified application call interface Working application module.
7. the method as described in claim 5 or 6 is it is characterised in that also include:
When family's gateway of internet of things receives each upstream sensor registration request message of transceiver forwarding, family's gateway of internet of things root According to described upstream sensor registration request message and the sensor relevant information that carries, generate and new carries the related letter of sensor The upstream sensor registration request message of breath, and it is transmitted to family's platform of internet of things, described sensor relevant information is sensor Identification information, sensor type information, sensor company-information, sensor model number information, sensor sequence information or sensing The sensing protocol information of device;
Family's platform of internet of things is mated to the sensor relevant information in the sensor registration request receiving and is recorded, and Return registration response message to family's gateway of internet of things after reordering.
8. the method as described in claim 5 or 6 is it is characterised in that also include:
When family's gateway of internet of things receives the upstream sensor state message of transceiver forwarding, according to described upstream sensor shape State message and the sensor states change information carrying, generate the new upstream sensor carrying sensor states change information State message, and it is transmitted to family's platform of internet of things;
Family's platform of internet of things is updated to the state of sensor according to receiving sensor states change information, and is updating Backward family gateway of internet of things returns response message.
9. a kind of family gateway of internet of things is it is characterised in that include:
Encapsulation decapsulation module, the uplink service message of each sensor for forwarding to transceiver is sealed with consolidation form Dress, and the downlink business message of each sensor that family's platform of internet of things forwards is decapsulated;
Forwarding module, for each uplink service message after encapsulation decapsulation module encapsulation is transmitted to family's platform of internet of things, Each downlink business message after encapsulation decapsulation module decapsulation is transmitted to corresponding sensor by described transceiver.
10. family as claimed in claim 9 gateway of internet of things is it is characterised in that also include:
First generation module, for when receiving the upstream sensor registration request message of transceiver forwarding, on described Line sensor registration request message and the sensor relevant information carrying, what generation was new carries the up of sensor relevant information Sensor registration request message;
Described forwarding module, for the new sensor registration request message generating according to the first generation module, is transmitted to family Platform of internet of things.
11. family as claimed in claim 9 gateway of internet of things are it is characterised in that also include:
Second generation module, for when receiving the upstream sensor state message of transceiver forwarding, according to described up biography Sensor state message and the sensor states change information carrying, what generation was new carries the up of sensor states change information Sensor states message;
Described forwarding module, the upstream sensor state message being additionally operable to generate the second generation module is transmitted to family's Internet of Things Platform.
A kind of 12. family platform of internet of things are it is characterised in that include:
Encapsulation decapsulation module, for decapsulating to each uplink service message after encapsulation;
Protocol adaptation module, for parsing each biography carrying in each uplink service message after encapsulation decapsulation module decapsulation Sensor type information, and protocol adaptation is carried out according to described type information, and according to family's Internet of Things application module forwarding Each sensor type information that each downlink business message carries carries out protocol adaptation;
Forwarding module, is transmitted to family's Internet of Things application mould for each uplink service message after being adapted to protocol adaptation module Block, and by adaptation after each downlink business message be packaged with consolidation form after be transmitted to family's gateway of internet of things.
13. family as claimed in claim 12 platform of internet of things it is characterised in that described forwarding module, specifically for assisting Each uplink service message after view adaptation module adaptation is transmitted to family's Internet of Things application mould by unified application call interface Block.
14. family as claimed in claim 12 platform of internet of things are it is characterised in that also include:
Coupling logging modle, for the sensor in the sensor registration request message to the family's gateway of internet of things initiation receiving Relevant information is mated and is recorded;
First return module, returns registration response message for mating logging modle record backward family gateway of internet of things.
15. family as claimed in claim 12 platform of internet of things are it is characterised in that also include:
Update module, for according to receiving the state to sensor for the sensor states change information that family gateway of internet of things forwards It is updated;
Second return module, updates backward family gateway of internet of things for update module and returns response message.
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 CN103686848A (en) 2014-03-26
CN103686848B true 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)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN107197030B (en) * 2017-06-19 2020-10-20 深圳市盛路物联通讯技术有限公司 Method and system for controlling working state of terminal equipment of Internet of things
CN107809487B (en) * 2017-11-07 2021-10-01 普天东方通信集团有限公司 Sensor data transmission method, system and medium
CN108848025B (en) * 2018-06-26 2021-04-13 中国联合网络通信集团有限公司 Data processing method, intelligent gateway and Internet of things system
CN110738786B (en) * 2018-07-18 2022-06-07 珠海汇金科技股份有限公司 Money box management method, money box management device, storage medium, computer program product and network point library
CN109194617B (en) * 2018-08-01 2021-06-15 杭州电子科技大学 Automatic parsing and packaging method and device for XML (extensive markup language) message
CN113194057B (en) * 2020-01-14 2023-06-27 北京京东振世信息技术有限公司 AS 2-based data receiving, transmitting and interacting method and client
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
CN114244648B (en) * 2022-02-21 2022-06-28 浪潮通用软件有限公司 Method, device, equipment and medium for equipment to actively register Internet of things platform

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

Also Published As

Publication number Publication date
CN103686848A (en) 2014-03-26

Similar Documents

Publication Publication Date Title
CN103686848B (en) Method, gateway, platform and system for processing messages of family Internet of Things
CN105763426B (en) A kind of internet of things service processing system based on multi-protocol instant messaging system
CN103190089B (en) Permanent logic data tunnel
CN103081560B (en) For the method and system of Reseal wireless data
EP3208974A1 (en) Power line carrier communication terminal control device, system and method
CN106488508B (en) A kind of data transmission method, apparatus and system
CN103428627A (en) Method for transferring data in internet of things, internet of things system and corresponding device
CN110495149B (en) Data transmission method and device
CN107113566A (en) Support the method for crossing the positioning and urgent call of pushing up ISP
CN107005802A (en) For cross push up urgent call by reference to positioning
CN101262478A (en) Method and device for penetrating NAT
EP1049291A3 (en) Remote monitoring and control
EP1749385A2 (en) Method and arrangement device relating to communication network
CN103747004A (en) Realizing method of internet of things communication protocol
CN101151848A (en) Relay device
EP3096563A1 (en) Method, system and terminal for realizing network access via wifi
CN105323229A (en) CPE-based data transmission method, network element, platform and system
RU2015102933A (en) DATA TRANSMISSION METHOD, NETWORK DEVICE AND COMMUNICATION SYSTEM
CN111052677A (en) Method for charging data of applications routed on a slice of a communication network
CN110213756A (en) A kind of data transmission method, device and its relevant device
CN104348728B (en) Generate the method and apparatus of forwarding information
CN105281941B (en) A kind of data transmission method, the first CSE, centre CSE and the 2nd CSE
CN106559348A (en) A kind of intelligent 6LoWPAN border routings implementation method and border router
KR20170124055A (en) APPARATUS FOR COMPATIBILITY BETWEEN ZIGBEE AND CoAP
US9325814B2 (en) Wireless SNMP agent gateway

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