CN102958105A - Internet of things terminal access method and device - Google Patents
Internet of things terminal access method and device Download PDFInfo
- Publication number
- CN102958105A CN102958105A CN2012104078769A CN201210407876A CN102958105A CN 102958105 A CN102958105 A CN 102958105A CN 2012104078769 A CN2012104078769 A CN 2012104078769A CN 201210407876 A CN201210407876 A CN 201210407876A CN 102958105 A CN102958105 A CN 102958105A
- Authority
- CN
- China
- Prior art keywords
- message
- node
- protocol
- load
- resolver
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides an Internet of things terminal access method which comprises the steps of: analyzing an uplink message received from a terminal, packaging distribution control information in the uplink message; sending the uplink message to a corresponding target protocol analyzer according to the distribution control information; analyzing the uplink message by the target protocol analyzer and packaging into a first message; carrying out service processing on the first message to generate a second message by a target service processor; carrying out second packaging on the second message by the target protocol analyzer to generate a downlink message; and sending the downlink message to a terminal. Through analysis packaging on the uplink message, the format difference of different protocol messages is shielded, and effective accesses of multiple kinds of Internet of things terminals such as a WMMP (Wireless Machine Management Protocol), a UMMP(Ubiquitous Machine to Machine Protocol) and a user-defined protocol are simultaneously processed.
Description
Technical field
The present invention relates to the Internet of Things field, particularly relate to a kind of internet-of-things terminal cut-in method and device.
Background technology
In recent years, Internet of Things has become the world's information industry third wave after computer, the Internet and mobile radio communication.The Future Information development strategy of countries in the world is all from different concepts to Internet of Things evolution.In China, technology of Internet of things moves towards practical application from laboratory stage, and the Internet of Things figure has appearred in the fields such as national grid, airport security, logistics.
At present industry is to the Internet of Things monolithic concept of neither one also, but universally recognized concept is by information sensing equipment such as radio-frequency (RF) identification (RFID), infrared inductor, global positioning system (GPS), laser scanner, environmental sensor, image perceptions, agreement by agreement, any article and the Internet are coupled together, carry out information exchange and communication, to realize a kind of network of intelligent identification, location, tracking, monitoring and management.
In the current generation, not yet form unified Internet of Things consensus standard, existing protocol is of a great variety, will face in actual applications the internet-of-things terminal of various protocols, and it is also varied to originate.The difference that this just needs a kind of technology shielding internet-of-things terminal realizes the access of multi-source, heterogeneous terminals.Multi-source refers to that internet-of-things terminal can be deployed in different physical address spaces, and data communications requests can be from different sources such as Internet or Intranet; Isomery refers to the isomery of information bearing mode, the isomery of information format, the isomery of bearing mode refers to when the communication access, can pass through transmission control protocol (TransmissionControl Protocol, TCP), User Datagram Protoco (UDP) (User Datagram Protocoll, UDP), HTML (Hypertext Markup Language) (Hypertext Transport Protocol, HTTP), short-message protocol (ShortMessaging Service, SMS), access etc. different modes, the isomery of information format refers to that the protocol massages of the information content may be that China Mobile's radio equipment is to machine agreement (Wireless MachineManagement Protocol, WMMP), CHINAUNICOM's machine is to machine agreement (UbiquitousMachine to Machine Protocal, UMMP), and other self-defining message format.
Communication is the current main manifestations form of Internet of Things to machine to machine (Machine-To-Machine, M2M).At present, M2M is the integration of radio communication and information technology, and it can be used for two-way communication, and such as remote collection information, parameters and transmission instruction, so the M2M technology can have different application schemes, such as safety monitoring, automatic vending machine, cargo tracking etc.
WMMP is that China Mobile is the data communication between standard internet-of-things terminal and M2M platform, the standard that realization M2M platform is worked out the unified management of internet-of-things terminal, is application layer protocol.The bearing protocol of WMMP agreement can be SMS, TCP/IP, UDP/IP.The protocol architecture of WMMP is referring to Fig. 1-a.
UMMP is that CHINAUNICOM is the data communication between standard internet-of-things terminal and M2M platform, the standard that realization M2M platform is formulated the unified management of internet-of-things terminal, and the UMMP agreement is application layer protocol.The UMMP agreement can be based upon on the agreements such as SMS, TCP/IP, UDP/IP, and its protocol format is referring to Fig. 1-b.
The custom protocol agreement that to be the user define according to self characteristics, emphasis is to define application layer protocol, can carry specific information, its protocol format is referring to Fig. 1-c.
At present, existing M2M platform is realized the industry standard protocol that the internet-of-things terminal access way mostly adopts custom protocol or large enterprises to formulate.Wherein, custom protocol is only applicable to specific terminal, can't access the terminal of other agreements; For large enterprises' standard agreement, all terminal communication protocols all need to be transformed into industry standard protocol, and WMMP described above, UMMP need manufacturer terminal to carry out the agreement transformation.
For example, realize access for the WMMP agreement, prior art discloses patent application: the M2M platform is realized the method and system (application number: 200910203285.8) of the concurrent access of multiple bearing protocol, disclosed method comprises in this patent: after receiving the upstream message of terminal, the access module of M2M platform is judged the bearer types of described upstream message, obtain the corresponding key message of this bearer types, and the original message of key message and upstream message is packaged into the business module that inside story sends to the M2M platform; Described business module according to described inside story finishing service handling process after, message reply content and described key message are packaged into downstream message send to access module, after access module receives described downstream message, downstream message is issued to the terminal of correspondence according to described key message wherein.
Above-mentioned art methods is only supported the WMMP protocol massages, by setting up different SOCKET (socket) link, realization is to the access of SMS, TCP/IP, many kinds of bearer types of UDP/IP, and process for the terminal message None-identified that derives from different application layer protocol (such as UMMP or custom protocol), therefore can't realize the access to different agreement form terminal.In a word, need the urgent technical problem that solves of those skilled in the art to be exactly: access when how to make the M2M platform realize multiple heterogeneous protocol terminals such as WMMP, UMMP or custom protocols.
Summary of the invention
Technical problem to be solved by this invention provides a kind of internet-of-things terminal cut-in method and device, in order to realize the effective access from multiple application layer protocol terminal.
In order to address the above problem, the invention discloses a kind of internet-of-things terminal cut-in method, comprising:
The upstream message that receives self terminal is resolved encapsulation distribution control information in described upstream message;
According to described distribution control information upstream message is sent to corresponding target protocol resolver;
The first message is resolved and be packaged into to described target protocol resolver to described upstream message;
The target service processor carries out Business Processing to described the first message and generates the second message;
Described target protocol resolver carries out the second encapsulation to described the second message and generates downstream message;
Described downstream message is sent to terminal.
Wherein, described distribution control information comprises the message protocol type of upstream message, and described message protocol type comprises:
China Mobile's radio equipment to machine agreement WMMP, CHINAUNICOM's radio equipment to machine agreement UMMP, custom protocol.
Preferably, described distribution control information also comprises: protocol version, IAD ID, message direction, turn-on time.
Preferably, described protocol resolver is protocol resolver group, comprises two or more protocol resolver nodes in the described protocol resolver group;
Described foundation distribution control information is sent to corresponding target protocol resolver with upstream message, comprising:
Distribution control information according to load balance strategy and upstream message selects node as the target protocol resolver from resolver group;
Upstream message is sent to corresponding target protocol resolver.
Preferably, described operational processor is operational processor group, comprises two or more operational processor nodes in the described operational processor group;
Described method also comprises:
From operational processor group, select node as the target service processor according to load balance strategy.
Preferably, also comprise: the performance data of collecting each node in protocol resolver group and/or the operational processor group generates the node load weight table;
Described load balance strategy comprises:
Load weight table in protocol resolver group and/or the operational processor group is judged, obtained the node of load weights minimum as target protocol resolver node and/or target service processing node.
Preferably, described method also comprises:
The load pressure of each node in monitoring protocol resolver group and/or the operational processor group;
When described load pressure exceeds threshold value, then start service corresponding on new node and/or this node according to the load control law;
When described load pressure is lower than threshold value, then stop service corresponding on corresponding node and/or this node according to the load control law.
For addressing the above problem, the invention also discloses a kind of internet-of-things terminal access device, comprise IAD, distribution control encapsulation unit, distribution controller, protocol resolver and operational processor;
Described IAD comprises:
Gateway receipts/bill unit is used for the upstream message that reception comes self terminal, and sends downstream message to terminal;
The gateway resolution unit is used for upstream message is resolved, and obtains the distribution control information;
Described distribution control encapsulation unit is used in described upstream message encapsulation distribution control information;
Described distribution controller comprises:
The distribution control unit is used for selecting corresponding protocol resolver according to the distribution control information of upstream message;
Described protocol resolver comprises:
The protocol analysis unit is used for upstream message is carried out protocol analysis;
The first encapsulation unit, the upstream message after being used for resolving is packaged into the first message;
The second encapsulation unit is used for the second message is packaged into downstream message;
Described operational processor is used for that the first message is carried out Business Processing and generates the second message.
Preferably, described distribution control information comprises the message protocol type of upstream message, and described message protocol type comprises:
China Mobile's radio equipment to machine agreement WMMP, CHINAUNICOM's radio equipment to machine agreement UMMP, custom protocol.
Preferably, the distribution control information that encapsulates in the described upstream message also comprises: protocol version, IAD ID, message direction, turn-on time.
Preferably, described protocol resolver is resolver group, comprises two or more resolver nodes in the described resolver group;
Described device also comprises:
Load controller is used for group's node is carried out load balancing control;
Described load controller also comprises:
Protocol resolver node selected cell is used for selecting node as target protocol resolver node according to the distribution control information of load balancing and upstream message from protocol resolver group;
Described distribution controller also comprises:
The first distributing processing unit is used for the upstream message that receives is distributed to target protocol resolver node.
Preferably, described operational processor is operational processor group, and described operational processor group comprises two or more operational processor nodes;
Described load controller also comprises:
Operational processor node selected cell is used for selecting node as the target service processor node according to load balancing from operational processor group;
Described distribution controller also comprises:
The second distributing processing unit, the second message that is used for receiving is sent to the target service processor node.
Preferably, described load controller also comprises:
The joint behavior Collection agent is for the performance data of acquisition node;
Load monitor generates the node load weight table for the performance data of collecting each node from the joint behavior Collection agent;
Described load balance strategy comprises: the load weight table in protocol resolver group and/or the operational processor group is judged, obtained the node of load weights minimum as target protocol resolver node and/or target service processor node.
Preferably, described load controller also comprises:
Node process controller is used for judging whether group's node load pressure exceeds threshold value, if exceed, then starts service corresponding on new node and/or this node; If the load pressure of node is lower than threshold value in the group, then stop service corresponding on corresponding node and/or this node.
Compared with prior art, the present invention includes following advantage:
Existing terminal access method is only supported the WMMP protocol terminal is realized access, is accessed and can't identify the message of UMMP agreement or other custom protocol terminal simultaneously.For the problems referred to above, the present invention proposes: after the upstream message that receives self terminal, obtain the information format of this upstream message by upstream message being carried out message identification, namely judging current upstream message is WMMP, any in UMMP or the custom protocol, then according to the information format that identifies upstream message is packaged into the first message that inside can be identified, after the second message that business logic processing generates, according to the protocol format of correspondence the second message is packaged into the downstream message that terminal can identify and is issued to terminal, therefore, realized WMMP, effective access of the multiple terminal such as UMMP and custom protocol is processed.
Description of drawings
Fig. 1-a shows the structural representation of WMMP agreement;
Fig. 1-b shows the structural representation of UMMP agreement;
Fig. 1-c shows the structural representation of custom protocol;
Fig. 2 shows the schematic flow sheet of a kind of Internet of things access method embodiment one of the present invention;
Fig. 3 shows the schematic flow sheet of a kind of Internet of things access method embodiment two of the present invention;
Fig. 4 shows load balancing schematic flow sheet in the embodiment of the invention two;
Fig. 5 shows the structural representation of a kind of Internet of Things access device of the present invention embodiment one;
Fig. 6 shows the structural representation of a kind of Internet of Things access device of the present invention embodiment two;
Fig. 7 shows the structural representation of a kind of Internet of Things access device embodiment three.
Embodiment
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail.Although shown exemplary embodiment of the present disclosure in the accompanying drawing, yet should be appreciated that and to realize the disclosure and the embodiment that should do not set forth limits here with various forms.On the contrary, it is in order to understand the disclosure more thoroughly that these embodiment are provided, and can with the scope of the present disclosure complete convey to those skilled in the art.
With reference to Fig. 2, show the schematic flow sheet of a kind of internet-of-things terminal cut-in method embodiment 1 provided by the invention, the method for present embodiment may further comprise the steps:
Step 201 is resolved the upstream message that receives self terminal, encapsulation distribution control information in described upstream message.
Wherein, the message protocol type of described upstream message comprise China Mobile's radio equipment to machine agreement WMMP, CHINAUNICOM's radio equipment to machine agreement UMMP and other custom protocol.
IAD starts the upstream message that the different monitor process such as TCP, UDP, SMS is monitored internet-of-things terminal.After listening to Internet of Things perception terminal connection request, to create a SOCKET, and give new thread and terminal communicates, the upstream message of this thread receiving terminal, and message header resolved, identify this message and belong to any agreement in WMMP, UMMP or the custom protocol.
Particularly, can adopt different IADs for different access waies.Owing to will support the plurality of access modes such as TCP, UDP, SMS, these communication modes there are differences in the realization aspect, be that TCP connects the SOCKET monitoring that will set up the TCP pattern, connection will be set up UDP Mode S OKCET monitoring for UDP, therefore adopted different IADs for different connected modes, receiving TCP such as the TCP IAD connects, the UDP IAD receives UDP and connects, can set up SOCKET with Short Message Service Gateway for the access of SMS is connected, both can adopt TCP, also can adopt UDP, in actual applications, should be connected to the master with TCP.IAD adopts the multi-process pattern, after IAD listens to request, will create a new thread, upstream message is resolved and processing related service logic by this thread, and the main thread of IAD only is responsible for monitoring.So, realized concurrent access by above-mentioned multithreading.
Owing to may carry the multiple application layer protocols such as WMMP, UMMP, custom protocol on TCP, UDP, SMS, this just need to after each connection is set up, judge which kind of application layer protocol TCP, UDP, SMS specifically carry.
IAD creates the application layer protocol of new processing threads identification upstream message. because the heading of different agreement message is fixed, therefore we can identify by heading the protocol type of message, particularly: IAD is configured the heading of the different agreement that can carry in advance, then, after receiving upstream message again, identify the form of this message protocol by the heading of resolving upstream message, comprise protocol type, protocol version etc.
The below is take the form of IAD configuration WMMP heading as example:
After receiving message, message identification thread can carry out the parsing of heading to the message data that receives, if resolve correctly, so just illustrates that this message data is the type of message that IAD can be identified.After being parsed, the raw information of the information such as protocol type, protocol version as distribution control information and upstream message is encapsulated.
Step 202 is sent to corresponding target protocol resolver according to the distribution control information with upstream message.
Protocol type and protocol version according to upstream message are selected corresponding target protocol resolver.
Preferably, upstream message is packaged into the first message with consolidation form, this first message has shielded the difference between the different information formats in this message raw information for subsequent treatment.
The first message content example with internal unity form is as follows:
Message is made of message header and message body; Particularly message body is comprised of standing part and variable part, and standing part is used for storing general information, and variable part adopts label value that (Tag LengthValue, TLV) formed.
Message structure:
The message body structure:
The TLV structure:
The fixterm structure:
So whatsoever agreement can become Information encapsulation the TLV form.In use, as long as just can obtain concrete TLV value by TLVID or TLVNAME, realize to the various protocols format conversion being the internal unity form.
The second message can adopt the employed message structure body of the first message to carry, and the second message institute content mainly is service processing result information.
Which kind of protocol type is the upstream message no matter IAD receives belong to, and is the first message with unified internal form after the protocol resolver encapsulation.Operational processor can be ignored different information format between itself raw information fully when processing the first message, but processes according to unified mode, has therefore simplified business procession, has reduced logical complexity.
According to format informations such as the protocol type of message and protocol versions the second message is encapsulated as the discernible downstream message of terminal.
Step 206 sends to terminal with described downstream message.
It is the preferred method of the present invention that above-mentioned the first message that upstream message is packaged into the internal unity form is processed, based on the effective identification to the upstream message protocol format, in another preferred embodiment of the present invention, described the first message can need not to be packaged into the message with internal unity form, but the dissimilar and version according to message protocol arranges corresponding treatment mechanism in service-processing engine, has finished parsing and processing to different types of messages.
By the enforcement of above method, access when can realize simultaneously to various protocols message such as WMMP, UMMP, the application scenarios that satisfies various protocols and deposit has been eliminated the communication barrier between different agreement terminal, platform, can greatly promote the development of current Internet of Things.In addition, by implementing the present invention, can make access platform possess good extensibility, when new agreement access was arranged, the heading configuration that only needs to increase protocol analysis got final product, and need not to increase extra equipment and exploitation, greatly reduces the operation and maintenance cost.
With reference to Fig. 3, Fig. 3 shows the schematic flow sheet of a kind of internet-of-things terminal cut-in method embodiment 2 provided by the invention, protocol analysis and Business Processing are implemented by disposing protocol resolver group and operational processor group in the present embodiment, and the method for present embodiment may further comprise the steps:
The SOCKET that step 301, IAD create SMS, TCP or UDP monitors.
After step 302, IAD receive the upstream message of terminal, start new thread, by this thread the heading of upstream message is resolved.
Step 303 is attached to the distribution control information and generates new message on the raw information of message and be transmitted to the distribution controller.
Distribution control information of the present invention can comprise: message protocol type, protocol version, IAD ID, message direction, turn-on time etc.
Wherein, the value of message direction can specifically comprise: A: next step is given protocol resolver and carries out protocol analysis; B: next step is given protocol resolver and carries out protocol encapsulation; C: next step is given operational processor and carries out Business Processing; D: next step is given gateway node message is issued to terminal.
It is to be noted, more than the content of distribution control information only is the preferred content that the embodiment of the invention adopts, those skilled in the art should know, can select the content of distribution control information realize the distribution control of message according to actual needs when enforcement is of the present invention, the present invention limit message content.
Wherein, the distribution controller selects the load balancing of node institute foundation specifically to comprise from group:
The performance data of collecting each node in protocol resolver group and/or the Business Processing group generates the load weight table;
The load weight table is judged, selected the node of load weights minimum as target resolver node and/or target service processor.
Described joint behavior data comprise: the data such as cpu busy percentage, memory usage, process number, network connection number.
Step 308 after the distribution controller is received the second message, is sent to corresponding target protocol resolver with the second message.
Referring to the description of above embodiment, in another preferred embodiment of the present invention, protocol resolver group and operational processor group all can dispose two or more nodes, and select corresponding node to finish protocol analysis and Business Processing according to load balancing.Particularly, the described load balancing of present embodiment is realized by load control system, this load control system is made of three parts, and a part is load monitor, and two parts are joint behavior Collection agent and the node process controllers that need to be deployed on each node in addition.The joint behavior Collection agent is responsible for collecting the performance data of each node, and these data comprise (but being not limited to): the data such as cpu busy percentage, memory usage, process number, network connection number.Joint behavior collector agency can regularly report the joint behavior data that gather to load monitor, or reports instruction to carry out data according to the data that load monitor issues to report.Node process control module is responsible for receiving the control request of load monitor, and starts or stops service corresponding on protocol analysis node or service processing node and the described node according to request.
Referring to Fig. 4, above-mentioned message the processing specifically according to the node in load balancing selection protocol resolver group and/or the operational processor group may further comprise the steps:
Preferably, performance data can comprise: the data such as cpu busy percentage, memory usage, process number, network connection number.
Computing node load weights in this step can adopt grade division method, with highest ranking as the load weights.
Referring to table 1, each factor is arranged 5 grades, in numerous parameters, select the numerical value of highest ranking as the joint behavior weights.Such as reported data be: cpu busy percentage 50%, memory usage 75%, linking number is 50; Because rank corresponding to memory usage is 4 grades, 4 ranks rank in these these data that report is the highest, determines that therefore the load weights of this node are 4.
More than provide present embodiment and recommended the really method of fixed load weights, those skilled in the art can determine the computational methods of each performance parameter rank of node or load weights according to the actual requirements when enforcement is of the present invention, for example, within a period of time to each performance parameter weighted average value of node etc.
Described node adds message and refers to that this node can resolve or business data processing, can send to this node and resolve or the Business Processing task; Exit message is to inform that this node will no longer accept to resolve or the Business Processing task.The message core content comprises: resolve or service-processing engine IP address and port numbers.
Described dynamic setup rule is the condition by the automatic start-stop service processes of artificial setting, such as: 10:00 ~ 12:00 does not allow to withdraw the constraint rules such as affair, many 20 of service node number, service start and stop order in every day.
Enforcement by above load balancing, so that access platform has elasticity capacity, can be according to load state, dynamic start-stop node or process, can avoid because of overload cause " " phenomenon occurs in denial of service, by control node service start and stop, the reasonable distribution resource has effectively been saved system energy consumption simultaneously.
More than a kind of internet-of-things terminal cut-in method provided by the present invention is described, referring to the content of said method embodiment, a kind of internet-of-things terminal access device of the present invention is described:
With reference to Fig. 5, Fig. 5 shows the structural representation of a kind of internet-of-things terminal access device of the present invention, and described device comprises: IAD 510, distribution control encapsulation unit 520, distribution controller 530, protocol resolver 540 and operational processor 550;
Described IAD 510 comprises:
Gateway receipts/bill unit 5101 is used for the upstream message that reception comes self terminal, and sends downstream message to terminal;
Gateway resolution unit 5102 is used for upstream message is resolved, and obtains the distribution control information;
Described distribution control encapsulation unit 520 is used in described upstream message encapsulation distribution control information;
Described distribution controller comprises 530:
Distribution control unit 5301 is used for selecting corresponding protocol resolver according to the distribution control information of upstream message;
Described protocol resolver 540 comprises:
Protocol analysis unit 5401 is used for upstream message is carried out protocol analysis;
The first encapsulation unit 5402, the upstream message after being used for resolving is packaged into the first message;
The second encapsulation unit 5403 is used for the second message is packaged into downstream message;
Described operational processor 550 is used for that the first message is carried out Business Processing and generates the second message.
Wherein, described distribution control information comprises the message protocol type of upstream message, and described message protocol type comprises:
China Mobile's radio equipment to machine agreement WMMP, CHINAUNICOM's radio equipment to machine agreement UMMP, custom protocol.
Wherein, the distribution control information that encapsulates in the described upstream message also comprises: protocol version, IAD ID, message direction, turn-on time.
Preferably, described protocol resolver 540 is resolver group, comprises two or more resolver nodes in the described resolver group;
Described device also comprises:
Described load controller 560 also comprises:
Protocol resolver node selected cell 5601 is used for selecting node as target protocol resolver node according to the distribution control information of load balancing and upstream message from protocol resolver group;
Described distribution controller 530 also comprises:
The first distributing processing unit 5302 is used for the upstream message that receives is distributed to target protocol resolver node.
Preferably, described operational processor 550 is operational processor group, and described operational processor group comprises two or more operational processor nodes;
Described load controller 560 also comprises:
Operational processor node selected cell 5602 is used for selecting node as the target service processor node according to load balancing from operational processor group;
Described distribution controller 530 also comprises:
The second distributing processing unit 5303, the second message that is used for receiving is sent to the target service processor node.
Wherein, described load controller 560 also comprises:
Joint behavior Collection agent 5603 is for the performance data of acquisition node;
Load monitor 5604 generates the node load weight table for the performance data of collecting each node from the joint behavior Collection agent;
Described load balance strategy comprises: the load weight table in protocol resolver group and/or the operational processor group is judged, obtained the node of load weights minimum as target protocol resolver node and/or target service processor node.
Wherein, described load controller 560 also comprises:
Node process controller 5605 is used for judging whether group's node load pressure exceeds threshold value, if exceed, then starts service corresponding on new node and/or this node; If the load pressure of node is lower than threshold value in the group, then stop service corresponding on corresponding node and/or this node.
Referring to Fig. 6, Fig. 6 shows the structural representation of a kind of Internet of Things access device of the present invention embodiment two.In this embodiment, IAD 510, protocol resolver 540 and operational processor 550 all can be deployed as group, and gather the performance data of each node by each node deployment performance collection proxy in group 5603, after load controller 560 obtains the performance data of each node, realize the load balancing of each node according to load balancing of the present invention.
When implementing said apparatus of the present invention, joint behavior Collection agent 5603 and node process controller 5605 can be deployed on each node.The performance data that joint behavior Collection agent 5603 is responsible for collecting each node.Joint behavior collector agency 5603 can regularly report the joint behavior data that gather to load monitor 5604, or reports instruction to carry out data according to the data that load monitor 5604 issues to report.Node process controller 5605 is responsible for receiving the control request of load monitor 5604, and starts or stops service corresponding on protocol analysis node or service processing node and the described node according to request.
More than a kind of Internet of Things access device of the present invention is described, in another preferred embodiment of the present invention, the incomplete decoupling zero of IAD and protocol resolver.Referring to Fig. 7, after IAD 510 receives downstream message, directly to choose corresponding protocol analysis thread and carry out protocol analysis, the data after the parsing are transferred to distribution controller 530 and are come distribution processor.Other parts of this enforcement are referring to the description of above each embodiment.
Method and apparatus among the invention described above embodiment is applicable in diverse network or the client environment, for example can be implemented in the computer equipment such as PC device, perhaps can be implemented in other portable electric appts such as mobile phone, mobile communication equipment, personal digital assistant (PDA) or the non-portable electric appts.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and what each embodiment stressed is and the difference of other embodiment that identical similar part is mutually referring to getting final product between each embodiment.For system and/or device embodiment because itself and embodiment of the method basic simlarity, so describe fairly simple, relevant part gets final product referring to the part explanation of embodiment of the method.
At last, also need to prove, in this article, relational terms such as the first and second grades only is used for an entity or operation are made a distinction with another entity or operation, and not necessarily requires or hint and have the relation of any this reality or sequentially between these entities or the operation.
And, above " and/or " expression this paper both comprised " with " relation, also comprised the relation of "or", wherein: if option A and option b be " with " relation, then represent can to comprise simultaneously option A and option b among certain embodiment; If option A and option b are the relations of "or", then represent can comprise separately option A among certain embodiment, perhaps comprise separately option b.
More than to a kind of internet-of-things terminal cut-in method provided by the present invention and device, be described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.
Claims (14)
1. an internet-of-things terminal cut-in method is characterized in that, comprising:
The upstream message that receives self terminal is resolved encapsulation distribution control information in described upstream message;
According to described distribution control information upstream message is sent to corresponding target protocol resolver;
The first message is resolved and be packaged into to described target protocol resolver to described upstream message;
The target service processor carries out Business Processing to described the first message and generates the second message;
Described target protocol resolver carries out the second encapsulation to described the second message and generates downstream message;
Described downstream message is sent to terminal.
2. the method for claim 1 is characterized in that, described distribution control information comprises the message protocol type of upstream message, and described message protocol type comprises:
China Mobile's radio equipment to machine agreement WMMP, CHINAUNICOM's radio equipment to machine agreement UMMP, custom protocol.
3. the method for claim 1 is characterized in that, described distribution control information also comprises: protocol version, IAD ID, message direction, turn-on time.
4. method as claimed in claim 3 is characterized in that,
Described protocol resolver is protocol resolver group, comprises two or more protocol resolver nodes in the described protocol resolver group;
Described foundation distribution control information is sent to corresponding target protocol resolver with upstream message, comprising:
Distribution control information according to load balance strategy and upstream message selects node as the target protocol resolver from resolver group;
Upstream message is sent to corresponding target protocol resolver.
5. method as claimed in claim 4 is characterized in that, described operational processor is operational processor group, comprises two or more operational processor nodes in the described operational processor group;
Described method also comprises:
From operational processor group, select node as the target service processor according to load balance strategy.
6. method as claimed in claim 5 is characterized in that, also comprises:
The performance data of collecting each node in protocol resolver group and/or the operational processor group generates the node load weight table;
Described load balance strategy comprises:
Load weight table in protocol resolver group and/or the operational processor group is judged, obtained the node of load weights minimum as target protocol resolver node and/or target service processing node.
7. method as claimed in claim 6 is characterized in that, described method also comprises:
The load pressure of each node in monitoring protocol resolver group and/or the operational processor group;
When described load pressure exceeds threshold value, then start service corresponding on new node and/or this node according to the load control law;
When described load pressure is lower than threshold value, then stop service corresponding on corresponding node and/or this node according to the load control law.
8. an internet-of-things terminal access device is characterized in that, comprises IAD, distribution control encapsulation unit, distribution controller, protocol resolver and operational processor;
Described IAD comprises:
Gateway receipts/bill unit is used for the upstream message that reception comes self terminal, and sends downstream message to terminal;
The gateway resolution unit is used for upstream message is resolved, and obtains the distribution control information;
Described distribution control encapsulation unit is used in described upstream message encapsulation distribution control information;
Described distribution controller comprises:
The distribution control unit is used for selecting corresponding protocol resolver according to the distribution control information of upstream message;
Described protocol resolver comprises:
The protocol analysis unit is used for upstream message is carried out protocol analysis;
The first encapsulation unit, the upstream message after being used for resolving is packaged into the first message;
The second encapsulation unit is used for the second message is packaged into downstream message;
Described operational processor is used for that the first message is carried out Business Processing and generates the second message.
9. device as claimed in claim 8 is characterized in that, described distribution control information comprises the message protocol type of upstream message, and described message protocol type comprises:
China Mobile's radio equipment to machine agreement WMMP, CHINAUNICOM's radio equipment to machine agreement UMMP, custom protocol.
10. device as claimed in claim 8 is characterized in that, the distribution control information that encapsulates in the described upstream message also comprises: protocol version, IAD ID, message direction, turn-on time.
11. device as claimed in claim 8 is characterized in that, described protocol resolver is resolver group, comprises two or more resolver nodes in the described resolver group;
Described device also comprises:
Load controller is used for group's node is carried out load balancing control;
Described load controller also comprises:
Protocol resolver node selected cell is used for selecting node as target protocol resolver node according to the distribution control information of load balancing and upstream message from protocol resolver group;
Described distribution controller also comprises:
The first distributing processing unit is used for the upstream message that receives is distributed to target protocol resolver node.
12. device as claimed in claim 11 is characterized in that, described operational processor is operational processor group, and described operational processor group comprises two or more operational processor nodes;
Described load controller also comprises:
Operational processor node selected cell is used for selecting node as the target service processor node according to load balancing from operational processor group;
Described distribution controller also comprises:
The second distributing processing unit, the second message that is used for receiving is sent to the target service processor node.
13. device as claimed in claim 12 is characterized in that, described load controller also comprises:
The joint behavior Collection agent is for the performance data of acquisition node;
Load monitor generates the node load weight table for the performance data of collecting each node from the joint behavior Collection agent;
Described load balance strategy comprises: the load weight table in protocol resolver group and/or the operational processor group is judged, obtained the node of load weights minimum as target protocol resolver node and/or target service processor node.
14. device as claimed in claim 13 is characterized in that, described load controller also comprises:
Node process controller is used for judging whether group's node load pressure exceeds threshold value, if exceed, then starts service corresponding on new node and/or this node; If the load pressure of node is lower than threshold value in the group, then stop service corresponding on corresponding node and/or this node.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210407876.9A CN102958105B (en) | 2012-10-23 | 2012-10-23 | A kind of internet-of-things terminal cut-in method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210407876.9A CN102958105B (en) | 2012-10-23 | 2012-10-23 | A kind of internet-of-things terminal cut-in method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102958105A true CN102958105A (en) | 2013-03-06 |
CN102958105B CN102958105B (en) | 2015-09-09 |
Family
ID=47766192
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210407876.9A Active CN102958105B (en) | 2012-10-23 | 2012-10-23 | A kind of internet-of-things terminal cut-in method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102958105B (en) |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104506423A (en) * | 2014-12-30 | 2015-04-08 | 华夏银行股份有限公司 | Communication method and communication device |
CN105681459A (en) * | 2016-03-04 | 2016-06-15 | 南京群霆信息科技有限公司 | Data transmission method of unmanned remote device |
CN106230995A (en) * | 2016-09-30 | 2016-12-14 | 武汉火凤凰云计算服务股份有限公司 | A kind of M2M message communicating halfpace and communication means thereof |
CN106453342A (en) * | 2016-10-21 | 2017-02-22 | 过冬 | Terminal access method of Internet of Things |
TWI627842B (en) * | 2016-08-02 | 2018-06-21 | 全球智能股份有限公司 | A homogenization of the gateway device and a computing system of internet of things having the gateway device |
CN108667817A (en) * | 2018-04-19 | 2018-10-16 | 厦门市智联信通物联网科技有限公司 | Message converting system and message forwarding method |
CN109218261A (en) * | 2017-07-03 | 2019-01-15 | 腾讯科技(深圳)有限公司 | A kind of data processing method and data processing equipment |
CN109391661A (en) * | 2017-08-10 | 2019-02-26 | 普天信息技术有限公司 | The block chain network-building method and system of internet-of-things terminal |
CN109462622A (en) * | 2019-01-15 | 2019-03-12 | 中电工业互联网有限公司 | A kind of inter-trade protocol analysis system and method |
CN109788004A (en) * | 2017-11-10 | 2019-05-21 | 厦门雅迅网络股份有限公司 | The analytic method and system of automatic adaptation new-energy automobile national standard custom protocol |
CN109818930A (en) * | 2018-12-27 | 2019-05-28 | 南京信息职业技术学院 | Communication text data transmission method based on TCP protocol |
CN110943873A (en) * | 2018-09-21 | 2020-03-31 | 中移(杭州)信息技术有限公司 | Message flow processing method and device and readable medium |
CN110971153A (en) * | 2019-12-12 | 2020-04-07 | 深圳勇艺达机器人有限公司 | Series-parallel steering engine control equipment based on multiple protocols |
CN111163079A (en) * | 2019-12-26 | 2020-05-15 | 深圳市麦谷科技有限公司 | System, method, storage medium and device for distributing and controlling reported data of device |
CN111970526A (en) * | 2020-08-18 | 2020-11-20 | 广州华多网络科技有限公司 | Interface notification message processing method, device, equipment and storage medium |
CN112669138A (en) * | 2020-12-23 | 2021-04-16 | 平安科技(深圳)有限公司 | Data processing method and related equipment |
CN115190190A (en) * | 2022-08-03 | 2022-10-14 | 国网湖南省电力有限公司 | Pre-analysis method and pre-analysis system of power Internet of things protocol |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101984706A (en) * | 2010-11-04 | 2011-03-09 | 中国电信股份有限公司 | Gateway of Internet of things and automatic adaptation method of communication protocol |
WO2012092735A1 (en) * | 2011-01-06 | 2012-07-12 | 西安电子科技大学 | Internet of things network system and data processing method |
-
2012
- 2012-10-23 CN CN201210407876.9A patent/CN102958105B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101984706A (en) * | 2010-11-04 | 2011-03-09 | 中国电信股份有限公司 | Gateway of Internet of things and automatic adaptation method of communication protocol |
WO2012092735A1 (en) * | 2011-01-06 | 2012-07-12 | 西安电子科技大学 | Internet of things network system and data processing method |
Cited By (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104506423A (en) * | 2014-12-30 | 2015-04-08 | 华夏银行股份有限公司 | Communication method and communication device |
CN105681459A (en) * | 2016-03-04 | 2016-06-15 | 南京群霆信息科技有限公司 | Data transmission method of unmanned remote device |
TWI627842B (en) * | 2016-08-02 | 2018-06-21 | 全球智能股份有限公司 | A homogenization of the gateway device and a computing system of internet of things having the gateway device |
CN106230995A (en) * | 2016-09-30 | 2016-12-14 | 武汉火凤凰云计算服务股份有限公司 | A kind of M2M message communicating halfpace and communication means thereof |
CN106453342A (en) * | 2016-10-21 | 2017-02-22 | 过冬 | Terminal access method of Internet of Things |
CN109218261B (en) * | 2017-07-03 | 2022-06-28 | 腾讯科技(深圳)有限公司 | Data processing method and data processing device |
CN109218261A (en) * | 2017-07-03 | 2019-01-15 | 腾讯科技(深圳)有限公司 | A kind of data processing method and data processing equipment |
CN109391661B (en) * | 2017-08-10 | 2021-08-20 | 普天信息技术有限公司 | Block chain networking method and system for terminal of Internet of things |
CN109391661A (en) * | 2017-08-10 | 2019-02-26 | 普天信息技术有限公司 | The block chain network-building method and system of internet-of-things terminal |
CN109788004A (en) * | 2017-11-10 | 2019-05-21 | 厦门雅迅网络股份有限公司 | The analytic method and system of automatic adaptation new-energy automobile national standard custom protocol |
CN109788004B (en) * | 2017-11-10 | 2023-06-02 | 厦门雅迅网络股份有限公司 | Analysis method and system for automatically adapting national standard custom protocol of new energy automobile |
CN108667817A (en) * | 2018-04-19 | 2018-10-16 | 厦门市智联信通物联网科技有限公司 | Message converting system and message forwarding method |
CN110943873B (en) * | 2018-09-21 | 2021-08-17 | 中移(杭州)信息技术有限公司 | Message flow processing method and device and readable medium |
CN110943873A (en) * | 2018-09-21 | 2020-03-31 | 中移(杭州)信息技术有限公司 | Message flow processing method and device and readable medium |
CN109818930A (en) * | 2018-12-27 | 2019-05-28 | 南京信息职业技术学院 | Communication text data transmission method based on TCP protocol |
CN109462622B (en) * | 2019-01-15 | 2021-05-28 | 中电工业互联网有限公司 | Cross-industry protocol analysis system and method |
CN109462622A (en) * | 2019-01-15 | 2019-03-12 | 中电工业互联网有限公司 | A kind of inter-trade protocol analysis system and method |
CN110971153A (en) * | 2019-12-12 | 2020-04-07 | 深圳勇艺达机器人有限公司 | Series-parallel steering engine control equipment based on multiple protocols |
CN111163079A (en) * | 2019-12-26 | 2020-05-15 | 深圳市麦谷科技有限公司 | System, method, storage medium and device for distributing and controlling reported data of device |
CN111970526A (en) * | 2020-08-18 | 2020-11-20 | 广州华多网络科技有限公司 | Interface notification message processing method, device, equipment and storage medium |
CN111970526B (en) * | 2020-08-18 | 2022-04-26 | 广州华多网络科技有限公司 | Interface notification message processing method, device, equipment and storage medium |
CN112669138A (en) * | 2020-12-23 | 2021-04-16 | 平安科技(深圳)有限公司 | Data processing method and related equipment |
CN115190190A (en) * | 2022-08-03 | 2022-10-14 | 国网湖南省电力有限公司 | Pre-analysis method and pre-analysis system of power Internet of things protocol |
CN115190190B (en) * | 2022-08-03 | 2023-09-26 | 国网湖南省电力有限公司 | Pre-analysis method and pre-analysis system for electric power Internet of things protocol |
Also Published As
Publication number | Publication date |
---|---|
CN102958105B (en) | 2015-09-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102958105B (en) | A kind of internet-of-things terminal cut-in method and device | |
KR102101319B1 (en) | Network node availability prediction based on past history data | |
US10558623B2 (en) | Search engine optimization for resource directory | |
US8839022B2 (en) | Machine-to-machine platform service processing method and machine-to-machine platform | |
CN109495524B (en) | Method, equipment and system for subscribing resources of Internet of things | |
US9467499B2 (en) | Method and management apparatus for performing operation on device resource | |
US11172008B2 (en) | Data annotation as a service for IoT systems | |
FI125393B (en) | A method, apparatus and system for use in a web service | |
US11108648B2 (en) | Information processing method in M2M and apparatus | |
WO2016014642A1 (en) | Publication and discovery of m2m-iot services | |
EP3005660A1 (en) | Data aggregation | |
CN103051672B (en) | End message acquisition methods in a kind of heterogeneous terminals environment and device | |
CN102761454A (en) | Method and system for monitoring internet of things | |
CN105429858A (en) | Real-time message transmission method among multiple robots | |
EP3501188B1 (en) | Method for enabling a communication device to receive a partial modification of a resource | |
CN109067871A (en) | Electric power ubiquitous intelligent cloud architecture | |
CN102088475A (en) | System and method for executing combined service with centralized control flow and distributed data flow | |
CN1929463B (en) | Object request agent, method for processing message | |
CN105516271A (en) | Business processing system, business processing method and business processing apparatus | |
CN106685764A (en) | Communication system and communication method based on data acquisition transmission | |
Yang et al. | Design of communication interface for M2M-based positioning and monitoring system | |
CN106453342A (en) | Terminal access method of Internet of Things | |
CN101179592B (en) | Method for mobile equipment to access to network | |
Li | An integrated web service framework for mobile device hosted web service and its performance analysis | |
CN102694773A (en) | Method for IPv6 wireless sensor network to access to present network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 |