CN103312753A - Communication method and device of Internet of things - Google Patents

Communication method and device of Internet of things Download PDF

Info

Publication number
CN103312753A
CN103312753A CN2012100663180A CN201210066318A CN103312753A CN 103312753 A CN103312753 A CN 103312753A CN 2012100663180 A CN2012100663180 A CN 2012100663180A CN 201210066318 A CN201210066318 A CN 201210066318A CN 103312753 A CN103312753 A CN 103312753A
Authority
CN
China
Prior art keywords
internet
message
things
management server
mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2012100663180A
Other languages
Chinese (zh)
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 CN2012100663180A priority Critical patent/CN103312753A/en
Publication of CN103312753A publication Critical patent/CN103312753A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a communication method and a communication device of the Internet of things. The method comprises the steps of determining the type of a destination port of a message after a management server of the Internet of things receives the message sent by a terminal of the Internet of things; selecting a message processing way through the management server of the Internet of things according to the type of the destination port of the message, wherein the message processing way comprises either a synchronous interaction way or an asynchronous interaction way; processing the message through the management server of the Internet of things according to the selected message processing way. By adopting the communication method of the Internet of things and the communication device of the Internet of things, the processing complexity of the equipment can be reduced when the waste of resources of a communication system of the Internet of things is less.

Description

A kind of Internet of Things communication means and device
Technical field
The present invention relates to networking technology area, particularly relate to a kind of Internet of Things communication means and device.
Background technology
The Internet of Things communication system is comprised of three parts: internet-of-things terminal, Internet of Things management server and internet of things service server.Communication system network structural model between the three as shown in Figure 1.Wherein, internet-of-things terminal refers to be connected with various sensing equipments and (comprises transducer, camera, RFID (Radio Frequency Identification, radio-frequency (RF) identification) card reader, bar code card reader, GPS (Global Positioning System, global positioning system) etc.) and possess the terminal of information processing and communication capacity.Operation has the internet of things service system on the internet of things service server, is used for carrying out various internet of things services.The Internet of Things management server has been realized the management of internet-of-things terminal, the communication authentication, and the functions such as routing forwarding are the bridges of internet-of-things terminal and internet of things service server communication.
In the prior art, the communication mode of internet-of-things terminal, Internet of Things management server and internet of things service server comprises synchronous interaction mode and asynchronous interactive mode.
Wherein the process of synchronous interaction is: after transmit leg (request message source) is initiated certain request to recipient's (request message destination), by the time after the recipient returns and replys, can finish interaction flow one time, then transmit leg begins another flow process again.The advantage of synchronous interaction is that the flow processing complexity is lower, is applicable between transmit leg and the recipient signal intelligence better, postpones less application scenarios.
Yet, if signal intelligence is not good between transmit leg and the recipient (delay is large or postpone unstable), just might reply overtime erroneous judgement so that transmit leg produces, and, in the transmit leg waiting process, also can cause the waste of resource.Adopt the asynchronous interactive mode to address this problem preferably, the process of asynchronous interactive is: after the sending direction recipient initiates certain request, need not to wait for that the recipient returns request results, the recipient replys the confirmation of receipt message to transmit leg after receiving request message, transmit leg is waited in the process of request results after receiving the confirmation of receipt message, can be initiated other interaction flows.The asynchronous interactive mode goes for the larger or unsettled application scenarios of communication delay between transmit leg and the recipient, both can reduce the possibility that transmit leg produces overtime erroneous judgement, also can take full advantage of the stand-by period, improves resource utilization.
In realizing process of the present invention, the inventor finds prior art, and there are the following problems at least:
Existing Internet of Things communication system generally sets in advance and uses the synchronous interaction mode to communicate, and perhaps sets in advance and uses the asynchronous interactive mode to communicate.And internet of things service server user's platform of having by oneself normally, its processing speed is generally unpredictable, the Internet of Things management server is built usually in the mobile Intranet of carrier side, the internet of things service server self-built with the user passes through internet communication, may produce the transmission delay that can't estimate.So, the Internet of Things communication system that adopts the synchronous interaction mode to communicate, serious waste of resources.And the Internet of Things communication system that adopts the asynchronous interactive mode to communicate, the processing complexity of equipment is too high.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of Internet of Things communication means and device, so that the Internet of Things communication system reduces the processing complexity of equipment when the wasting of resources is less, for this reason, the embodiment of the invention adopts following technical scheme:
A kind of Internet of Things communication means is characterized in that, comprising:
The Internet of Things management server is determined the destination type of described message behind the message that receives the internet-of-things terminal transmission;
Described Internet of Things management server is selected the message processing mode according to the destination type of described message, and described message processing mode comprises synchronous interaction mode or asynchronous interactive mode;
Described Internet of Things management server is processed described message according to the message processing mode of selecting.
A kind of Internet of Things communication means is characterized in that, comprising:
The message that internet-of-things terminal receiver network management server sends;
Described internet-of-things terminal is determined the source type of described message;
Described internet-of-things terminal is selected the message processing mode according to the source type of described message, and described message processing mode comprises synchronous interaction mode or asynchronous interactive mode;
Described internet-of-things terminal is processed described message according to the message processing mode of selecting.
A kind of Internet of Things management server is characterized in that, comprising:
Determining unit is used for determining the destination type of described message behind the message that receives the internet-of-things terminal transmission;
Selected cell is used for the destination type according to described message, selects the message processing mode, and described message processing mode comprises synchronous interaction mode or asynchronous interactive mode;
Processing unit is used for according to the message processing mode of selecting described message being processed.
A kind of internet-of-things terminal is characterized in that, comprising:
Receiving element is used for the message that receiver network management server sends;
Determining unit is for the source type of determining described message;
Selected cell is used for the source type according to described message, selects the message processing mode, and described message processing mode comprises synchronous interaction mode or asynchronous interactive mode;
Processing unit is used for according to the message processing mode of selecting described message being processed.
The above embodiment of the present invention, the Internet of Things management server is behind the message that receives the internet-of-things terminal transmission, determine the destination type of message, destination type according to message, select the message processing mode, this message processing mode comprises synchronous interaction mode or asynchronous interactive mode, and then the Internet of Things management server is processed message according to the message processing mode of selecting, thereby makes the Internet of Things communication system reduce the processing complexity of equipment when the wasting of resources is less.
Description of drawings
Fig. 1 is Internet of Things communication system network structural representation in the prior art;
One of handling process schematic diagram of the Internet of Things communication means that Fig. 2 provides for the embodiment of the invention;
Accidental unusual schematic diagram in the Internet of Things communication means that Fig. 3 provides for the embodiment of the invention;
The unusual schematic diagram of retransmitting in the Internet of Things communication means that Fig. 4 provides for the embodiment of the invention;
Two of the handling process schematic diagram of the Internet of Things communication means that Fig. 5 provides for the embodiment of the invention;
Three of the handling process schematic diagram of the Internet of Things communication means that Fig. 6 provides for the embodiment of the invention;
Four of the handling process schematic diagram of the Internet of Things communication means that Fig. 7 provides for the embodiment of the invention;
Five of the handling process schematic diagram of the Internet of Things communication means that Fig. 8 provides for the embodiment of the invention;
Six of the handling process schematic diagram of the Internet of Things communication means that Fig. 9 provides for the embodiment of the invention;
The structural representation of the Internet of Things management server that Figure 10 provides for the embodiment of the invention;
The structural representation of the internet-of-things terminal that Figure 11 provides for the embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing among the present invention, the technical scheme among the present invention is carried out clear, complete description, obviously, described embodiment is a part of embodiment of the present invention, rather than whole embodiment.Based on the embodiment among the present invention, the every other embodiment that those of ordinary skills obtain under the prerequisite of not making creative work belongs to the scope of protection of the invention.
Embodiment one
As shown in Figure 2, the Internet of Things management server receives the handling process of the message that internet-of-things terminal sends in the Internet of Things communication means that provides for the embodiment of the invention, specifically may further comprise the steps:
Step 201, the Internet of Things management server receives the message that internet-of-things terminal sends.
This message can be the message (being that the Internet of Things management server is the destination of message) that internet-of-things terminal sends to the Internet of Things management server, also can be that internet-of-things terminal passes through the message (being that the internet of things service server is the destination of message) that the Internet of Things management server sends to certain internet of things service server.
Step 202, Internet of Things management server are determined the destination type of described message.The network architecture based on Internet of Things communication system shown in Figure 1, the type of each end that communicates can be internet-of-things terminal, Internet of Things management server and internet of things service server, therefore, the destination type of this message can be Internet of Things management server or internet of things service server.
Concrete, the Internet of Things management server can according to the type information of message or the identification information of described message destination, be determined the destination type of message.
Preferably, the Internet of Things management server can first according to the type information of message, be determined the destination type of message.For most of messages, can judge the destination type of message according to its type information.For example, endpoint registration message (REGISTER), terminal login message (LOGIN) all are the type of messages that internet-of-things terminal sends to the Internet of Things management server, and the destination of its message is the Internet of Things management server.
When the type information of message can't be determined the destination type of message, internet-of-things terminal can according to the identification information of message destination, be determined the destination type of message.For example, reporting information by terminal message (CONFIG_TRAP), terminal request parameter message (CONFIG_REQ) both may be the messages that internet-of-things terminal sends to the internet of things service server, also may be the message that internet-of-things terminal sends to the Internet of Things management server, the type of the destination of the message of these types may be that the Internet of Things management server also may be the internet of things service server.At this moment can determine that the message destination is Internet of Things management server or internet of things service server according to the identification information of message destination, for example, if carry application identities (APP ID) in the message, the destination type that then can determine this message is the internet of things service server, if do not carry application identities in the message, the destination type that then can determine this message is the Internet of Things management server.
Step 203, Internet of Things management server are selected the message processing mode according to the destination type of message, and this message processing mode comprises synchronous interaction mode or asynchronous interactive mode.
Step 204, the Internet of Things management server is processed message according to the message processing mode of selecting.
When the destination type of message was the Internet of Things management server, the message processing mode that the Internet of Things management server is selected was the synchronous interaction mode.The Internet of Things management server is built usually in the mobile Intranet of carrier side, the Internet of Things management server is connected by the mobile network usually with internet-of-things terminal, communication delay between them can be estimated, so, for communicating by letter of Internet of Things management server and internet-of-things terminal, can preferably adopt the mode of synchronous interaction.
Concrete, after the Internet of Things management server determines to adopt the synchronous interaction mode that message is processed, the message of certain request that if the message that receives is internet-of-things terminal initiates, the Internet of Things management server is processed request message and is obtained corresponding response message, and response message is sent to internet-of-things terminal; Receive the response message that returns behind certain request message of Internet of Things management server if the message that receives is internet-of-things terminal, the Internet of Things management server can record this communication process according to test serial number to be finished, and starts next communication process.
When the destination type of message was the internet of things service server, the message processing mode that the Internet of Things management server is selected was the asynchronous interactive mode.The internet of things service server is user's platform of having by oneself normally, its processing speed is generally unpredictable, the Internet of Things management server is built usually in the mobile Intranet of carrier side, the internet of things service server self-built with the user passes through internet communication, may produce the transmission delay that can't estimate.So, for communicating by letter of internet of things service server and internet-of-things terminal, can preferably adopt the mode of asynchronous interactive.
Concrete, after the Internet of Things management server determines to adopt the asynchronous interactive mode that message is transmitted, reply the confirmation of receipt message to internet-of-things terminal, show that this message is received and begin to process, then this message is carried out the operation such as protocol conversion and be transmitted to the internet of things service server afterwards.
Owing to relating to the matching problem of the response message that request message that internet-of-things terminal sends to the internet of things service server and internet of things service server reply to internet-of-things terminal, i.e. the response message transmitted and which request message coupling of internet-of-things terminal are before prepared in identification.The Internet of Things management server receives and after the request message of internet-of-things terminal the test serial number that carries in this message extracted, and carries this test serial number when the internet of things service server is processed this request message is transmitted to.
After the above-mentioned flow process of the embodiment of the invention has provided the message of Internet of Things management server reception internet-of-things terminal transmission, the process that How to choose synchronous interaction mode or asynchronous interactive mode are processed message.
In addition, the Internet of Things management server adopts the asynchronous interactive mode that message is processed behind the message that receives the transmission of internet of things service server.Concrete, the Internet of Things management server is replied the confirmation of receipt message to the internet of things service server, shows that this message is received and begin to process, and then this message is carried out the operation such as protocol conversion and forwards the packet to internet-of-things terminal afterwards.
In addition, no matter be synchronous interaction mode or asynchronous interactive mode, the process that the Internet of Things management server sends message can not process and directly message be sent message, so, when Internet of Things management server active initiating communication, when sending message, can judge and adopt the synchronous interaction mode or the asynchronous interactive mode sends.After the Internet of Things management server sends message, if receive the confirmation of receipt message (wherein carrying the test serial number identical with request message) that message sink returns, then carrying out asynchronous interactive processes, record the state of communication process corresponding to this test serial number, concurrent next communication process; If receive response message (wherein carrying the test serial number identical with request message), illustrate that this communication process adopts the synchronous interaction mode, can record this communication process according to test serial number and finish, and start next communication process.
If do not receive confirmation of receipt message (corresponding asynchronous interactive mode) or response message (corresponding synchronous interaction mode) in the time out period that the transmit leg of message is preset after sending message, then judge communication abnormality occurs, enter the abnormality processing flow process.At first according to the communication failure condition (such as packet loss) of systemic presupposition, judge that this communication abnormality belongs to communication failure or accidental unusual.
For communication failure, message transmitting party sends LOGOUT (cancellation) message to known peer IP address, and the report communication failure.After the LOGOUT message was sent by message transmitting party, after message transmitting party was received LOGOUT_ACK (replying) or receive time-out, release was connected with the opposite end.If LOGOUT message or LOGOUT_ACK message are lost in the process that transmits, message transmitting party is after judging that reception LOGOUT_ACK is overtime, and release is connected with the opposite end.And the recipient also can be invalid above detecting this connection after the predetermined period without data packet transmission, and release is connected with the opposite end.After disconnecting, whether again internet-of-things terminal can determine that again initiating communication connects according to self needs.After disconnecting owing to communication failure, its session connection also finishes thereupon, and new session connection can be initiated to rebulid behind the new LOGIN message at internet-of-things terminal.
For accidental unusual, as shown in Figure 3, packet drop roughly has following two kinds:
The message that message transmitting party sends does not arrive the recipient and just loses in communication process, this moment, transmit leg determined whether to retransmit (being determined by the parameter that sets in advance) after reaching default time out period;
After the message that message transmitting party sends arrived the recipient, the response message that the recipient sends did not arrive transmit leg and namely loses in transport process, and then transmit leg determines whether to retransmit (being determined by the parameter that sets in advance) after reaching default time out period.
When message transmitting party was retransmitted message, as shown in Figure 4, the test serial number of message transmitting party repeating transmission message should be identical with former message test serial number, test serial number identical showing has identical message content, simultaneously, according to sending times, upgrade the sending times that records in the message.The recipient is when the message of receiving from the identical test serial number of identical message transmitting party, the message of these identical test serial numbers is processed as identical message, test serial number keeps identical when replying, and the sending times that records in the sending times that records in the response message and the message of processing is identical.
In the embodiment of the invention, the Internet of Things management server is behind the message that receives the internet-of-things terminal transmission, determine the destination type of message, destination type according to message, select the message processing mode, this message processing mode comprises synchronous interaction mode or asynchronous interactive mode, and then the Internet of Things management server is processed message according to the message processing mode of selecting, thereby makes the Internet of Things communication system reduce the processing complexity of equipment when the wasting of resources is less.
Embodiment two
As shown in Figure 5, internet-of-things terminal receives the handling process of message in the Internet of Things communication means that provides for the embodiment of the invention, specifically may further comprise the steps:
Step 501, the message that internet-of-things terminal receiver network management server sends.
This message can be the message (being that the Internet of Things management server is the source of message) that the Internet of Things management server sends to internet-of-things terminal, also can be the Internet of Things management server transmit send to the message (being that the internet of things service server is the source of message) of internet-of-things terminal by certain internet of things service server.
Step 502, internet-of-things terminal are determined the source type of message.The network architecture based on Internet of Things communication system shown in Figure 1, the type of each end that communicates can be internet-of-things terminal, Internet of Things management server and internet of things service server, therefore, the source type of this message can be Internet of Things management server or internet of things service server.
Concrete, internet-of-things terminal can according to the type information of message or the identification information of described message destination, be determined the source type of message.
Preferably, the Internet of Things management server can first according to the type information of message, be determined the source type of message.For most of messages, can judge the source type of message according to its type information.For example, platform inquiry terminal infomational message (CONFIG_GET), platform arrange terminal parameter message (CONFIG_SET), Long-distance Control message (REMOTE_CTRL) all is the type of message that the Internet of Things management server sends to internet-of-things terminal, and the source of its message is the Internet of Things management server.
When the type information of message can't be determined the source type of message, internet-of-things terminal can according to the identification information of message source, be determined the source type of message.For example, reporting information by terminal response message (CONFIG_TRAP_ACK), terminal request parameter response message (CONFIG_REQ_ACK) both may be the messages that the internet of things service server sends to internet-of-things terminal, also may be the message that the Internet of Things management server sends to internet-of-things terminal, the type of the source of the message of these types may be that the Internet of Things management server also may be the internet of things service server.At this moment can determine that the message source is Internet of Things management server or internet of things service server according to the identification information of message source, for example, if carry application identities (APP ID) in the message, the source type that then can determine this message is the internet of things service server, if do not carry application identities in the message, the source type that then can determine this message is the Internet of Things management server.
Step 503, internet-of-things terminal are selected the message processing mode according to the source type of message, and this message processing mode comprises synchronous interaction mode or asynchronous interactive mode.
Step 504, internet-of-things terminal is processed message according to the message processing mode of selecting.
When the source type of message was the Internet of Things management server, the message processing mode that internet-of-things terminal is selected was the synchronous interaction mode.The Internet of Things management server is built usually in the mobile Intranet of carrier side, the Internet of Things management server is connected by the mobile network usually with internet-of-things terminal, communication delay between them can be estimated, so, for communicating by letter of Internet of Things management server and internet-of-things terminal, can preferably adopt the mode of synchronous interaction.
Concrete, after internet-of-things terminal determines to adopt the synchronous interaction mode that message is processed, the message of certain request that if the message that receives is the Internet of Things management server initiates, internet-of-things terminal is processed request message and is obtained corresponding response message, and response message is sent to the Internet of Things management server; Receive the response message that returns behind certain request message of internet-of-things terminal if the message that receives is the Internet of Things management server, internet-of-things terminal can record this communication process according to test serial number to be finished, and starts next communication process.
When the source type of message was the internet of things service server, the message processing mode that internet-of-things terminal is selected was the asynchronous interactive mode.The internet of things service server is user's platform of having by oneself normally, its processing speed is generally unpredictable, the Internet of Things management server is built usually in the mobile Intranet of carrier side, the internet of things service server self-built with the user passes through internet communication, may produce the transmission delay that can't estimate.So, for communicating by letter of internet of things service server and internet-of-things terminal, can preferably adopt the mode of asynchronous interactive.
Concrete, internet-of-things terminal is replied the confirmation of receipt message to the Internet of Things management server after determining to adopt the asynchronous interactive mode that message is processed, and shows that this message is received and begin to process.The message of certain request that if the message that internet-of-things terminal receives is the internet of things service server initiates, internet-of-things terminal is processed request message and is obtained corresponding response message, and the originating end of response message to request message sent; Receive the response message that returns behind certain request message of internet-of-things terminal if the message that internet-of-things terminal receives is the internet of things service server, internet-of-things terminal can record this communication process according to test serial number to be finished, and starts next communication process.
After the above-mentioned flow process of the embodiment of the invention has provided internet-of-things terminal reception message, the process that How to choose synchronous interaction mode or asynchronous interactive mode are processed message.
In addition, no matter be synchronous interaction mode or asynchronous interactive mode, the process that internet-of-things terminal sends message can not process and directly message be sent message, so, when internet-of-things terminal active initiating communication, when sending message, can judge and adopt the synchronous interaction mode or the asynchronous interactive mode sends.After internet-of-things terminal sends message, if receive the confirmation of receipt message (wherein carrying the test serial number identical with request message) that the Internet of Things management server returns, then carrying out asynchronous interactive processes, record the state of communication process corresponding to this test serial number, concurrent next communication process; If receive response message (wherein carrying the test serial number identical with request message), illustrate that this communication process adopts the synchronous interaction mode, can record this communication process according to test serial number and finish, and start next communication process.
If do not receive confirmation of receipt message (corresponding asynchronous interactive mode) or response message (corresponding synchronous interaction mode) in the time that the transmit leg of message is preset after sending message, then judge communication abnormality occurs, enter the abnormality processing flow process.Concrete processing procedure sees also embodiment one.
In the embodiment of the invention, the message that internet-of-things terminal receiver network management server sends, determine the source type of described message, and according to the source type of described message, select the message processing mode, the message processing mode comprises synchronous interaction mode or asynchronous interactive mode, then, internet-of-things terminal is processed described message according to the message processing mode of selecting, thereby makes the Internet of Things communication system reduce the processing complexity of equipment when the wasting of resources is less.
Embodiment three
When the internet of things service server received the message that the Internet of Things management server sends, no matter the source of message is internet-of-things terminal or Internet of Things management server, and was preferred, can adopt the asynchronous interactive mode that message is processed.The internet of things service server is user's platform of having by oneself normally, its processing speed is generally unpredictable, and the Internet of Things management server is built usually in the mobile Intranet of carrier side, the internet of things service server self-built with the user passes through internet communication, may produce the transmission delay that can't estimate.So, for the processing procedure of internet of things service server reception message, can preferably adopt the mode of asynchronous interactive.
Concrete, the internet of things service server is replied the confirmation of receipt message to the Internet of Things management server, shows that this message is received and begin to process.The message of certain request that if the message that the Internet of Things management server receives is internet-of-things terminal initiates, the internet of things service server is processed request message and is obtained corresponding response message, and the originating end of response message to request message sent; If being internet-of-things terminal, the message that the internet of things service server receives receives the response message that returns behind certain request message of internet of things service server, the internet of things service server can record this communication process according to test serial number to be finished, and starts next communication process.
No matter be synchronous interaction mode or asynchronous interactive mode, the process that the internet of things service server sends message can not process and directly message be sent message, so, when internet-of-things terminal active initiating communication, when sending message, can judge and adopt the synchronous interaction mode or the asynchronous interactive mode sends.After the internet of things service server sends message, if receive the confirmation of receipt message (wherein carrying the test serial number identical with request message) that the Internet of Things management server returns, then carrying out asynchronous interactive processes, record the state of communication process corresponding to this test serial number, concurrent next communication process; If receive response message (wherein carrying the test serial number identical with request message), illustrate that this communication process adopts the synchronous interaction mode, can record this communication process according to test serial number and finish, and start next communication process.By embodiment one as can be known, the Internet of Things management server can preferably adopt the asynchronous interactive mode to process when receiving the message of internet of things service server transmission.
Abnormality processing flow process in the present embodiment is similar to embodiment one, and respective process sees also embodiment one, is not repeated at this.
The embodiment of the invention, in the Internet of Things communication process, source type or destination type selecting message processing mode according to message, the message processing mode comprises synchronous interaction mode or asynchronous interactive mode, and according to the message processing mode of selecting message is processed, thereby make the Internet of Things communication system when the wasting of resources is less, reduce the processing complexity of equipment.
Below in conjunction with concrete Internet of Things communication process the Internet of Things communication means that the embodiment of the invention provides is described in detail.
Embodiment four
As shown in Figure 6, in the Internet of Things communication means that provides for the embodiment of the invention, internet-of-things terminal sends the flow process that request message and internet of things service server are replied by the Internet of Things management server to the internet of things service server, specifically may further comprise the steps:
Step 601, internet-of-things terminal sends request message to the Internet of Things management server.
Step 602, the Internet of Things management server carries out authentication to request message.Authentication is by the following step of rear execution.
Step 603, Internet of Things management server select to adopt the asynchronous interactive mode that message is transmitted according to the destination type of request message.In the present embodiment, this request message is to mail to certain internet of things service server, so the destination type of this request message is the internet of things service server, the Internet of Things management server selects to adopt the asynchronous interactive mode that message is transmitted.Concrete selection course can reference example one.
Step 604, the Internet of Things management server sends and receives confirmation message to internet-of-things terminal.Carry the test serial number identical with request message in the confirmation of receipt message.
Step 605, the Internet of Things management server is to internet of things service server Forward-reques message.
Step 606, internet-of-things terminal record asynchronous interactive status of processes corresponding to this test serial number after receiving the confirmation of receipt message.Then internet-of-things terminal can and the Internet of Things management server between carry out other reciprocal processes.
Step 607, the internet of things service server sends and receives confirmation message to the Internet of Things management server.The internet of things service server preferably all adopts the asynchronous interactive mode to process to the message that receives.
The precedence relationship that above-mentioned steps 606 and step 607 there is no need in sequential.
Step 608, the internet of things service server is processed request message, obtains result.
Step 609, the internet of things service server sends response message to the Internet of Things management server.Carry the test serial number identical with request message in the response message.
Step 610, Internet of Things management server determine to adopt the asynchronous interactive mode that response message is processed, and send and receive confirmation message to the internet of things service server.The Internet of Things management server preferably all adopts the asynchronous interactive mode to process to the message that the internet of things service server sends.
Step 611, the Internet of Things management server is transmitted response message to internet-of-things terminal.
Step 612, internet-of-things terminal select to adopt the asynchronous interactive mode that message is processed according to the source type (internet of things service server) of response message.
Step 613, internet-of-things terminal sends and receives confirmation message to the Internet of Things management server.
Step 614, internet-of-things terminal can record according to the test serial number of response message this sign off, and response message is carried out subsequent treatment.
The embodiment of the invention, in the Internet of Things communication process, source type or destination type selecting message processing mode according to message, the message processing mode comprises synchronous interaction mode or asynchronous interactive mode, and according to the message processing mode of selecting message is processed, thereby make the Internet of Things communication system when the wasting of resources is less, reduce the processing complexity of equipment.
Embodiment five
As shown in Figure 7, in the Internet of Things communication means that provides for the embodiment of the invention, internet-of-things terminal sends the flow process that request message and Internet of Things management server are replied to the Internet of Things management server, specifically may further comprise the steps:
Step 701, internet-of-things terminal sends request message to the Internet of Things management server.
Step 702, the Internet of Things management server carries out authentication to request message.Authentication is by the following step of rear execution.
Step 703, Internet of Things management server select to adopt the synchronous interaction mode that message is processed according to the destination type of request message.In the present embodiment, the destination type of this request message is the Internet of Things management server, and the Internet of Things management server selects to adopt the synchronous interaction mode that message is processed.Concrete selection course can reference example one.
Step 704, the Internet of Things management server sends response message according to result to internet-of-things terminal.
Step 705, internet-of-things terminal can record according to the test serial number of response message this communication process and finish, and response message is carried out subsequent treatment.
The embodiment of the invention, in the Internet of Things communication process, source type or destination type selecting message processing mode according to message, the message processing mode comprises synchronous interaction mode or asynchronous interactive mode, and according to the message processing mode of selecting message is processed, thereby make the Internet of Things communication system when the wasting of resources is less, reduce the processing complexity of equipment.
Step 6
As shown in Figure 8, in the Internet of Things communication means that provides for the embodiment of the invention, the internet of things service server sends the flow process that request message and internet-of-things terminal are replied by the Internet of Things management server to internet-of-things terminal, specifically may further comprise the steps:
Step 801, the internet of things service server sends request message to the Internet of Things management server.
Step 802, the Internet of Things management server carries out authentication to request message.Authentication is by the following step of rear execution.
Step 803, Internet of Things management server determine to adopt the asynchronous interactive mode that request message is processed, and send and receive confirmation message to the internet of things service server.The message that the Internet of Things management server can preferably send the internet of things service server adopts the asynchronous interactive mode to process.Carry the test serial number identical with request message in the confirmation of receipt message.
Step 804, the Internet of Things management server is to internet-of-things terminal Forward-reques message.
Step 805, internet-of-things terminal select to adopt the asynchronous interactive mode that message is processed according to the source type of request message.In the present embodiment, this request message mails to internet-of-things terminal by certain internet of things service server, so the source type of this request message is the internet of things service server, internet-of-things terminal selects to adopt the asynchronous interactive mode that message is processed.Concrete selection course can reference example two.
Step 806, internet-of-things terminal sends and receives confirmation message to the Internet of Things management server.Carry the test serial number identical with request message in the confirmation of receipt message.
Step 807, Internet of Things management server record asynchronous interactive status of processes corresponding to this test serial number after receiving the confirmation of receipt message.
Step 808, internet-of-things terminal is processed request message, obtains result.
The precedence relationship that above-mentioned steps 807 and step 808 there is no need in sequential.
Step 809, internet-of-things terminal sends response message to the Internet of Things management server.Carry the test serial number identical with request message in the response message.
Step 810, Internet of Things management server select to adopt the asynchronous interactive mode that message is processed according to the source type of request message.In the present embodiment, this response message mails to certain internet of things service server by certain Internet of Things terminal, so the destination type of this response message is the internet of things service server, the Internet of Things management server selects to adopt the asynchronous interactive mode that message is processed.Concrete selection course can reference example one.
Step 811, the Internet of Things management server sends and receives confirmation message to internet-of-things terminal.Carry the test serial number identical with request message in the confirmation of receipt message.
Step 812, the Internet of Things management server is transmitted response message to the internet of things service server.
Step 813, internet of things service server determine to adopt the asynchronous interactive mode that response message is processed, and send and receive confirmation message to the Internet of Things management server.The internet of things service server preferably all adopts the asynchronous interactive mode to process to the message that receives.
Step 814, the internet of things service server records this sign off according to the test serial number of response message, and response message is carried out subsequent treatment.
The embodiment of the invention, in the Internet of Things communication process, source type or destination type selecting message processing mode according to message, the message processing mode comprises synchronous interaction mode or asynchronous interactive mode, and according to the message processing mode of selecting message is processed, thereby make the Internet of Things communication system when the wasting of resources is less, reduce the processing complexity of equipment.
Embodiment seven
As shown in Figure 9, in the Internet of Things communication means that provides for the embodiment of the invention, the Internet of Things management server sends the flow process that request message and internet-of-things terminal are replied to internet-of-things terminal, and internet-of-things terminal has signed in to the Internet of Things management server before this, specifically may further comprise the steps:
Step 901, the Internet of Things management server sends request message to internet-of-things terminal.
Step 902, internet-of-things terminal select to adopt the synchronous interaction mode that message is processed according to the source type of request message.In the present embodiment, the source type of this request message is the Internet of Things management server, and internet-of-things terminal selects to adopt the synchronous interaction mode that request message is processed.Concrete selection course can reference example two.
Step 903, internet-of-things terminal sends response message according to result to the Internet of Things management server.Response message carries the test serial number identical with request message.
Step 904, the Internet of Things management server can record according to the test serial number of response message this sign off, and response message is carried out subsequent treatment.
The embodiment of the invention, in the Internet of Things communication process, source type or destination type selecting message processing mode according to message, the message processing mode comprises synchronous interaction mode or asynchronous interactive mode, and according to the message processing mode of selecting message is processed, thereby make the Internet of Things communication system when the wasting of resources is less, reduce the processing complexity of equipment.
Embodiment eight
Based on identical technical conceive, the embodiment of the invention also provides a kind of Internet of Things management server, as shown in figure 10, comprising:
Determining unit 1010 is used for determining the destination type of described message behind the message that receives the internet-of-things terminal transmission;
Selected cell 1020 is used for the destination type according to described message, selects the message processing mode, and described message processing mode comprises synchronous interaction mode or asynchronous interactive mode;
Processing unit 1030 is used for according to the message processing mode of selecting described message being processed.
Preferably, described determining unit 1010 specifically is used for:
According to the type information of described message or the identification information of described message destination, determine the destination type of described message.
Preferably, described selected cell 1020 specifically is used for:
When the destination type of described message was the Internet of Things management server, the message processing mode of selection was the synchronous interaction mode;
When the destination type of described message was the internet of things service server, the message processing mode of selection was the asynchronous interactive mode.
Preferably, described processing unit 1030 also is used for: behind the message that receives the transmission of internet of things service server, adopt the asynchronous interactive mode that described message is processed.
In the embodiment of the invention, the Internet of Things management server is behind the message that receives the internet-of-things terminal transmission, determine the destination type of message, destination type according to message, select the message processing mode, this message processing mode comprises synchronous interaction mode or asynchronous interactive mode, and then the Internet of Things management server is processed message according to the message processing mode of selecting, thereby makes the Internet of Things communication system reduce the processing complexity of equipment when the wasting of resources is less.
Embodiment nine
Based on identical technical conceive, the embodiment of the invention also provides a kind of internet-of-things terminal, as shown in figure 11, comprising:
Receiving element 1110 is used for the message that receiver network management server sends;
Determining unit 1120 is for the source type of determining described message;
Selected cell 1130 is used for the source type according to described message, selects the message processing mode, and described message processing mode comprises synchronous interaction mode or asynchronous interactive mode;
Processing unit 1140 is used for according to the message processing mode of selecting described message being processed.
Preferably, described determining unit 1120 specifically is used for:
According to the type information of described message or the identification information of described message source, determine the source type of described message.
Preferably, described selected cell 1130 specifically is used for:
When the source type of described message was the Internet of Things management server, the message processing mode of selection was the synchronous interaction mode;
When the source type of described message was the internet of things service server, the message processing mode of selection was the asynchronous interactive mode.
In the embodiment of the invention, the message that internet-of-things terminal receiver network management server sends, determine the source type of described message, and according to the source type of described message, select the message processing mode, the message processing mode comprises synchronous interaction mode or asynchronous interactive mode, then, internet-of-things terminal is processed described message according to the message processing mode of selecting, thereby makes the Internet of Things communication system reduce the processing complexity of equipment when the wasting of resources is less.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from the present embodiment.The module of above-described embodiment can be merged into a module, also can further split into a plurality of submodules.
The invention described above embodiment sequence number does not represent the quality of embodiment just to description.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode in a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a station terminal equipment (can be mobile phone, personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above only is preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be looked protection scope of the present invention.

Claims (14)

1. an Internet of Things communication means is characterized in that, comprising:
The Internet of Things management server is determined the destination type of described message behind the message that receives the internet-of-things terminal transmission;
Described Internet of Things management server is selected the message processing mode according to the destination type of described message, and described message processing mode comprises synchronous interaction mode or asynchronous interactive mode;
Described Internet of Things management server is processed described message according to the message processing mode of selecting.
2. method as claimed in claim 1 is characterized in that, described Internet of Things management server is determined the destination type of described message, is specially:
Described internet-of-things terminal is determined the destination type of described message according to the type information of described message or the identification information of described message destination.
3. method as claimed in claim 1 is characterized in that, described Internet of Things management server is selected the message processing mode according to the destination type of described message, is specially:
When the destination type of described message was the Internet of Things management server, the message processing mode that described Internet of Things management server is selected was the synchronous interaction mode;
When the destination type of described message was the internet of things service server, the message processing mode that described Internet of Things management server is selected was the asynchronous interactive mode.
4. method as claimed in claim 1 is characterized in that, also comprises: described Internet of Things management server adopts the asynchronous interactive mode that described message is processed after receiving the message that the internet of things service server sends.
5. an Internet of Things communication means is characterized in that, comprising:
The message that internet-of-things terminal receiver network management server sends;
Described internet-of-things terminal is determined the source type of described message;
Described internet-of-things terminal is selected the message processing mode according to the source type of described message, and described message processing mode comprises synchronous interaction mode or asynchronous interactive mode;
Described internet-of-things terminal is processed described message according to the message processing mode of selecting.
6. method as claimed in claim 5 is characterized in that, described internet-of-things terminal is determined the source type of described message, is specially:
Described internet-of-things terminal is determined the source type of described message according to the type information of described message or the identification information of described message source.
7. method as claimed in claim 5 is characterized in that, described internet-of-things terminal is selected the message processing mode according to the source type of described message, is specially:
When the source type of described message was the Internet of Things management server, the message processing mode that described internet-of-things terminal is selected was the synchronous interaction mode;
When the source type of described message was the internet of things service server, the message processing mode that described internet-of-things terminal is selected was the asynchronous interactive mode.
8. an Internet of Things management server is characterized in that, comprising:
Determining unit is used for determining the destination type of described message behind the message that receives the internet-of-things terminal transmission;
Selected cell is used for the destination type according to described message, selects the message processing mode, and described message processing mode comprises synchronous interaction mode or asynchronous interactive mode;
Processing unit is used for according to the message processing mode of selecting described message being processed.
9. Internet of Things management server as claimed in claim 8 is characterized in that, described determining unit specifically is used for:
According to the type information of described message or the identification information of described message destination, determine the destination type of described message.
10. Internet of Things management server as claimed in claim 8 is characterized in that, described selected cell specifically is used for:
When the destination type of described message was the Internet of Things management server, the message processing mode of selection was the synchronous interaction mode;
When the destination type of described message was the internet of things service server, the message processing mode of selection was the asynchronous interactive mode.
11. the Internet of Things management server is characterized in that as claimed in claim 8, described processing unit also is used for: behind the message that receives the transmission of internet of things service server, adopt the asynchronous interactive mode that described message is processed.
12. an internet-of-things terminal is characterized in that, comprising:
Receiving element is used for the message that receiver network management server sends;
Determining unit is for the source type of determining described message;
Selected cell is used for the source type according to described message, selects the message processing mode, and described message processing mode comprises synchronous interaction mode or asynchronous interactive mode;
Processing unit is used for according to the message processing mode of selecting described message being processed.
13. internet-of-things terminal is characterized in that as claimed in claim 12, described determining unit specifically is used for:
According to the type information of described message or the identification information of described message source, determine the source type of described message.
14. internet-of-things terminal is characterized in that as claimed in claim 12, described selected cell specifically is used for:
When the source type of described message was the Internet of Things management server, the message processing mode of selection was the synchronous interaction mode;
When the source type of described message was the internet of things service server, the message processing mode of selection was the asynchronous interactive mode.
CN2012100663180A 2012-03-14 2012-03-14 Communication method and device of Internet of things Pending CN103312753A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012100663180A CN103312753A (en) 2012-03-14 2012-03-14 Communication method and device of Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012100663180A CN103312753A (en) 2012-03-14 2012-03-14 Communication method and device of Internet of things

Publications (1)

Publication Number Publication Date
CN103312753A true CN103312753A (en) 2013-09-18

Family

ID=49137536

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012100663180A Pending CN103312753A (en) 2012-03-14 2012-03-14 Communication method and device of Internet of things

Country Status (1)

Country Link
CN (1) CN103312753A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107404434A (en) * 2017-06-23 2017-11-28 深圳市盛路物联通讯技术有限公司 A kind of method and system of data transfer path between determination internet of things equipment
WO2018107606A1 (en) * 2016-12-13 2018-06-21 深圳市智物联网络有限公司 Method and device for delivering messages in internet of things
CN109068353A (en) * 2018-07-13 2018-12-21 中国移动通信集团江苏有限公司 Dispatching method, device, equipment and the medium of terminal
WO2020191669A1 (en) * 2019-03-27 2020-10-01 京东方科技集团股份有限公司 System of internet of things, central control device, application device, and communication method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009662A (en) * 2007-01-31 2007-08-01 杭州华为三康技术有限公司 Message processing method, system and device based on the load balance technology
CN101540772A (en) * 2009-04-15 2009-09-23 成都市华为赛门铁克科技有限公司 DPI (deep packet inspection) equipment and communication method thereof
CN101656624A (en) * 2008-08-18 2010-02-24 中兴通讯股份有限公司 Multi-node application-level disaster recovery system and multi-node application-level disaster recovery method
CN101848107A (en) * 2010-05-14 2010-09-29 中兴通讯股份有限公司 SNMP (Simple Network Management Protocol) network element and communication method of SNMP network element and proprietary protocol network element
US20110142159A1 (en) * 2009-12-15 2011-06-16 Electronics And Telecommunications Research Institute Method and apparatus for hybrid virtual mimo transmission in wireless ad-hoc network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009662A (en) * 2007-01-31 2007-08-01 杭州华为三康技术有限公司 Message processing method, system and device based on the load balance technology
CN101656624A (en) * 2008-08-18 2010-02-24 中兴通讯股份有限公司 Multi-node application-level disaster recovery system and multi-node application-level disaster recovery method
CN101540772A (en) * 2009-04-15 2009-09-23 成都市华为赛门铁克科技有限公司 DPI (deep packet inspection) equipment and communication method thereof
US20110142159A1 (en) * 2009-12-15 2011-06-16 Electronics And Telecommunications Research Institute Method and apparatus for hybrid virtual mimo transmission in wireless ad-hoc network
CN101848107A (en) * 2010-05-14 2010-09-29 中兴通讯股份有限公司 SNMP (Simple Network Management Protocol) network element and communication method of SNMP network element and proprietary protocol network element

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018107606A1 (en) * 2016-12-13 2018-06-21 深圳市智物联网络有限公司 Method and device for delivering messages in internet of things
CN107404434A (en) * 2017-06-23 2017-11-28 深圳市盛路物联通讯技术有限公司 A kind of method and system of data transfer path between determination internet of things equipment
WO2018232910A1 (en) * 2017-06-23 2018-12-27 深圳市盛路物联通讯技术有限公司 Method and system for determining data transmission routes between internet of things devices
CN109068353A (en) * 2018-07-13 2018-12-21 中国移动通信集团江苏有限公司 Dispatching method, device, equipment and the medium of terminal
WO2020191669A1 (en) * 2019-03-27 2020-10-01 京东方科技集团股份有限公司 System of internet of things, central control device, application device, and communication method
US11622005B2 (en) 2019-03-27 2023-04-04 Boe Technology Group Co., Ltd. Internet of Things system, central control device, application device and communication methods

Similar Documents

Publication Publication Date Title
CN100571275C (en) Sip server, terminal installation, subscriber information management device, communication control method
CN110808948B (en) Remote procedure calling method, device and system
CN101848107B (en) SNMP (Simple Network Management Protocol) network element and communication method of SNMP network element and proprietary protocol network element
CN111224999A (en) Transmission protocol switching method, device, equipment and storage medium
WO2010139151A1 (en) Method and system for realizing concurrent access of multi-kinds of bearer protocols on machine-to-machine (m2m) platform
CN101136943A (en) System and method for implementing extended Diameter protocol application
CN103516673A (en) Network data communication method, network data communication system, network data communication client and network data communication server
CN103703453A (en) System for supplying push service for message load balancing and method thereof
CN107872396A (en) Communication means, processing equipment, terminal device and server with overtime control
CN101631127A (en) File transfer method and clients
CN103973555A (en) GRE protocol tunnel building method, communication device and communication system
CN103312753A (en) Communication method and device of Internet of things
CN102111728B (en) Network connection management module and method of mobile terminal
CN106027599B (en) Data transmission channel establishing method, system and server
CN101547214A (en) Method and network side equipment for pushing inside data of enterprise
CN110809263A (en) Internet of things communication method, Internet of things communication system and Internet of things equipment
CN112702403B (en) Intelligent service connection method based on re-networking and communication module
CN104580346A (en) Data transmission method and device
CN102857574B (en) Information processing method and apparatus for Internet of Things
CN102984814A (en) Large-scale GPRS (general packet radio service) terminal device networking method
CN107454659A (en) A kind of terminal identification method, system, terminal device and base station
EP2408157A1 (en) Method and system for transmitting large message mode converged ip messages
CN102281580B (en) M2M system and service processing method thereof
US20140177575A1 (en) Method for establishing an application session, device and corresponding notification
CN101729436B (en) Method for acquiring messages and convergence message service system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130918