CN109413182A - A kind of platform of internet of things terminal affair exchange method - Google Patents
A kind of platform of internet of things terminal affair exchange method Download PDFInfo
- Publication number
- CN109413182A CN109413182A CN201811267546.8A CN201811267546A CN109413182A CN 109413182 A CN109413182 A CN 109413182A CN 201811267546 A CN201811267546 A CN 201811267546A CN 109413182 A CN109413182 A CN 109413182A
- Authority
- CN
- China
- Prior art keywords
- event
- internet
- things
- terminal
- platform
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/26—Special purpose or proprietary protocols or architectures
Abstract
The present invention provides a kind of platform of internet of things terminal affair exchange method, belongs to internet of things field, and terminal is persistently connect using proprietary protocol with platform of internet of things foundation, realizes that event is carried out between the terminal of access platform of internet of things to be sent and monitor.Event model, event and event train are defined on platform of internet of things, and there is the control of owner's permission.The event train being defined is encapsulated in SDK, can greatly simplify application function development amount, by platform of internet of things scheduling message, can realize Internet of Things real-time control and terminal session real-time, interactive scene with the message between real-time delivery terminal and terminal.
Description
Technical field
The present invention relates to technology of Internet of things more particularly to a kind of platform of internet of things terminal affair exchange methods.
Background technique
Various terminals are accessed sensing network by platform of internet of things, it is responsible for data acquisition, preliminary treatment, encryption, transmission
Etc. multiple functions.In Internet of Things service solution, intelligent terminal is linked into Internet of Things control platform, intelligent terminal and object
Need to realize two-way communication between networked platforms, one side terminal acquisition information is simultaneously reported to platform of internet of things, another aspect object
Networked platforms can send event command to terminal.In actual scene, it is often necessary to be carried out to specific or whole terminals real-time
Control, the control instruction issued also have it is multiple, in addition, control instruction can derive from platform of internet of things other terminals, i.e., eventually
It is also required for talking in real time between end and terminal.
Summary of the invention
In order to solve the above technical problems, being realized the invention proposes a kind of platform of internet of things terminal affair exchange method
Event is carried out between the terminal of access platform of internet of things to send and monitor.
The technical scheme is that
A kind of platform of internet of things terminal affair exchange method, terminal are persistently connect using proprietary protocol with platform of internet of things foundation,
Event is carried out between the terminal of access platform of internet of things to send and monitor;Event model, event are defined on platform of internet of things
And event train, and there is the control of owner's permission;The event train being defined is encapsulated in SDK, passes through platform of internet of things
Scheduling message, the message between real-time delivery terminal and terminal.
Further,
The terminal affair refers to the real-time message that terminal sends or receives, and can be the control instruction to terminal, can also be with
It is the conversation message sent to terminal.
The terminal affair is based on platform of internet of things and establishes event model, and platform of internet of things support is established multiple using journey
Sequence can have independent event model between each application program, can also there is shared event model.
Persistence connection is established based on TCP proprietary protocol between terminal and the platform of internet of things.
Further,
The invention mainly includes steps:
(1) create Internet of Things application: Internet of Things development of user logs in platform of internet of things, creates Internet of Things application;
(2) event model is created;
(3) event is created;
(4) event train is created;
(5) event train flow direction is defined;
(6) Terminal owner is defined;
(7) for actual scene exploitation event transmission and monitor method;
Wherein,
(1) create Internet of Things application: Internet of Things development of user logs in platform of internet of things, creates Internet of Things application;
(2) it creates event model: creating event model, title and model attributes including model, model category in platform of internet of things
Property define the parameters title and Parameter Value Type of model structure body, include shaping, floating type, Boolean, array, word
Symbol goes here and there, gathers, enumerating, the types such as reference parameter;
(3) create event: the event model in platform of internet of things reference step 2 creates event, specifies the title of event;
(4) create event train: event train includes one or more events, specifies the title of event train, repeatedly addition step
The rapid event 3) created.It when event is sent, is sent according to event train, the whole events batch for including by event train
It is sent to specified terminal, terminal can listen to all events in event train;
(5) it defines event train flow direction: for the event interaction between Internet of Things application, defining the flow direction of event transmitting, i.e. thing
The sender and recipients of part.
In one application, it is possible to specify some event train is the sender of this application, then the terminal under this is applied can
To send but the event can not be received;It can specify the recipient that some event train is this application, the then terminal under this is applied
It can receive but the event can not be sent;It can specify some event train while being sender and recipients, then under this application
Terminal can send and receive the event.
(6) define Terminal owner: belonging between the terminal under the same owner can be with alternative events.It defines in the application
Owner's verification method, terminal dynamically bind to the owner after starting operation.
(7) for actual scene exploitation event transmission and monitor method: platform of internet of things encapsulates the event train of definition
In SDK and downloading is provided, after developer needs the event content sent and listen to event arrival according to practical application, exploitation
The movement of execution.Platform of internet of things support sends an event to specified terminal or all terminals, and terminal can listen in real time
Event content and Event origin.
The beneficial effects of the invention are as follows
The present invention provides a kind of platform of internet of things terminal affair exchange method, and the terminal uses proprietary protocol and platform of internet of things
Persistently connection is established, realizes that carrying out event between the terminal of access platform of internet of things sends and monitor.On platform of internet of things
Event model, event and event train are defined, and there is the control of owner's permission.
The event train being defined is encapsulated in SDK, can greatly simplify application function development amount, pass through Internet of Things
Platform scheduling message, can be real-time in Internet of Things real-time control and terminal session with the message between real-time delivery terminal and terminal
Interaction scenarios have promotional value.
Detailed description of the invention
Fig. 1 is terminal affair exchange method schematic diagram of the present invention.
Specific embodiment
Below in conjunction with drawings and examples, the present invention will be described in detail.It should be noted that described herein
Specific examples are only used to explain the present invention, is not intended to limit the present invention.
The platform of internet of things terminal affair exchange method is based on platform of internet of things proprietary protocol, by establishing model, thing
Part, event train define the parameter of event, can send and monitor in real time between the terminals event.
As shown in Figure 1, carrying out real-time control to the terminal for having accessed platform of internet of things in batches by platform of internet of things.Packet
Include following steps:
S1, Internet of Things application A1 and Internet of Things application A2 are established in platform of internet of things, wherein being control application using A1, using A2
It is to be controlled terminal applies;
S2, shared events model M 1 is created in platform of internet of things, model M 1 includes terminal signal light control parameter, such as color (character
String), brightness (shaping);Create shared events model M 2, model M 2 include SOT state of termination control parameter, as revolving speed (floating type),
Temperature (floating type);
S3, event E11 and event E12 is created in Internet of Things application A1, quotes above-mentioned event model M1 and model M 2 respectively, specifies
The title of event;
S4, event train F11 is created in Internet of Things application A1, adds above-mentioned event E11 and event E12, specifies event train name
Claim, specifying event train F11 is sender;
S5, event E21 and event E22 is created in Internet of Things application A2, quotes shared events model M 1 and model M 2 respectively;It is specified
The title of event;
S6, event train F21 is created in Internet of Things application A2, adds above-mentioned event E21 and event E22, specifies event train name
Claim, specifying event train F21 is recipient;
The SDK2 of S7, the SDK1 of product working application A1 and Internet of Things application A2, exploitation realize that event train F11 message is sent
Logic realizes the snoop logic of each event in event train F21 event train;
S8, the terminal for integrating SDK1 may operate in the platforms such as mobile phone, PC as control terminal, integrate the terminal of SDK2 as quilt
Control terminal is specific equipment.After control terminal operation, the owner is dynamically bound to, event E11 and event E12 control is set and patrols
Volume, such as color #00ff00, brightness 70 in model M 1, revolving speed 1000, temperature 27 in model M 2, and may specify that the target of transmission is whole
End.After controlled terminal operation, the owner is dynamically bound to, is in event monitoring state.Equipment listens to event train parameter value
And source, including event E21 and event E22, the occurrence of event model is read, to change controlled device state.
By platform of internet of things, Internet of Things application is established, is sent mutually between the terminal under same application and monitors thing
Part, comprising the text message sent in event, interaction forms session between terminal.Internet of Things application is established in platform of internet of things,
Event model is created, model parameter is " conversation message ".Creation event and event train quote event model.Generate Internet of Things
Net application SDK, this all terminal under applying are connected to platform of internet of things using SDK, assign the same owner's permission of terminal, then
Real-time tranception event can be oriented between all terminals, parsed " conversation message ", reached dialogue effect.
Claims (10)
1. a kind of platform of internet of things terminal affair exchange method, which is characterized in that
Terminal is persistently connect using proprietary protocol with platform of internet of things foundation, carries out thing between the terminal of access platform of internet of things
Part sends and monitors;Event model, event and event train are defined on platform of internet of things, and there is the control of owner's permission
System;The event train being defined is encapsulated in SDK, by platform of internet of things scheduling message, between real-time delivery terminal and terminal
Message.
2. the method according to claim 1, wherein
Further comprise:
The terminal affair refers to the real-time message that terminal sends or receives, and is sent to the control instruction of terminal or to terminal
Conversation message;
The terminal affair is based on platform of internet of things and establishes event model, and platform of internet of things support is established more than one using journey
Sequence has independent event model between each application program, also there is shared event model.
Persistence connection is established based on TCP proprietary protocol between terminal and the platform of internet of things.
3. according to the method described in claim 2, it is characterized in that,
Further comprise: mainly comprising the steps that
1) create Internet of Things application: Internet of Things development of user logs in platform of internet of things, creates Internet of Things application;
2) event model is created;
3) event is created;
4) event train is created;
5) event train flow direction is defined;
6) Terminal owner is defined;
7) for actual scene exploitation event transmission and monitor method.
4. according to the method described in claim 3, it is characterized in that,
Further comprise: in the step 2, creating event model, title and model category including model in platform of internet of things
Property, model attributes define the parameters title and Parameter Value Type of model structure body, include shaping, floating type, boolean
Value, character string, is gathered, enumerates, reference parameter array.
5. according to the method described in claim 3, it is characterized in that,
Further comprise: in the step 3), the event model in platform of internet of things reference step 2 creates event, specifies thing
The title of part.
6. according to the method described in claim 3, it is characterized in that,
Further comprise: in the step 4), event train includes more than one event, specifies the title of event train, once
The event that the above addition step 3) has created;Event send when, sent according to event train, by event train include it is complete
For portion's event Batch sending to specified terminal, terminal can listen to all events in event train.
7. according to the method described in claim 3, it is characterized in that,
Further comprise: in the step 5), for the event interaction between Internet of Things application, defining the flow direction of event transmitting,
That is the sender and recipients of event.
8. the method according to the description of claim 7 is characterized in that
Further comprise: in one application, specifying some event train is the sender of this application, or specifies some event system
Column are the recipients of this application, or a specified event train is simultaneously sender and recipients.
9. according to the method described in claim 3, it is characterized in that,
Further comprise: in the step 6), belonging between the terminal under the same owner can be fixed in the application with alternative events
Adopted owner's verification method, terminal dynamically bind to the owner after starting operation.
10. according to the method described in claim 3, it is characterized in that,
Further comprise: in the step 7), the event train of definition is encapsulated in SDK and provides downloading by platform of internet of things, is opened
According to practical application, exploitation needs the event content sent and listens to the movement executed after event reaches originator;Internet of Things
Platform support sends an event to specified terminal or all terminals, and terminal can listen to event content in real time and event is come
Source.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811267546.8A CN109413182A (en) | 2018-10-29 | 2018-10-29 | A kind of platform of internet of things terminal affair exchange method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811267546.8A CN109413182A (en) | 2018-10-29 | 2018-10-29 | A kind of platform of internet of things terminal affair exchange method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109413182A true CN109413182A (en) | 2019-03-01 |
Family
ID=65469572
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811267546.8A Pending CN109413182A (en) | 2018-10-29 | 2018-10-29 | A kind of platform of internet of things terminal affair exchange method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109413182A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160065653A1 (en) * | 2014-08-26 | 2016-03-03 | Fujitsu Limited | Internet of things (iot) device configuration construction |
CN105681436A (en) * | 2016-01-27 | 2016-06-15 | 四川长虹电器股份有限公司 | Communication method between control end and Internet of Things devices based on alljoyn protocol |
CN106027609A (en) * | 2016-05-05 | 2016-10-12 | 深圳前海大数点科技有限公司 | Service system for Internet of Things |
CN106131110A (en) * | 2015-06-20 | 2016-11-16 | 浙江网新合同能源管理有限公司 | A kind of interlock method based on Internet of Things |
US20180191813A1 (en) * | 2017-01-02 | 2018-07-05 | International Business Machines Corporation | MQTT cluster shared subscription hub for fat-pipe cloud applications |
CN108512940A (en) * | 2018-04-20 | 2018-09-07 | 济南浪潮高新科技投资发展有限公司 | A kind of Internet of Things cloud platform terminal notification method for pushing |
-
2018
- 2018-10-29 CN CN201811267546.8A patent/CN109413182A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160065653A1 (en) * | 2014-08-26 | 2016-03-03 | Fujitsu Limited | Internet of things (iot) device configuration construction |
CN106131110A (en) * | 2015-06-20 | 2016-11-16 | 浙江网新合同能源管理有限公司 | A kind of interlock method based on Internet of Things |
CN105681436A (en) * | 2016-01-27 | 2016-06-15 | 四川长虹电器股份有限公司 | Communication method between control end and Internet of Things devices based on alljoyn protocol |
CN106027609A (en) * | 2016-05-05 | 2016-10-12 | 深圳前海大数点科技有限公司 | Service system for Internet of Things |
US20180191813A1 (en) * | 2017-01-02 | 2018-07-05 | International Business Machines Corporation | MQTT cluster shared subscription hub for fat-pipe cloud applications |
CN108512940A (en) * | 2018-04-20 | 2018-09-07 | 济南浪潮高新科技投资发展有限公司 | A kind of Internet of Things cloud platform terminal notification method for pushing |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104601665B (en) | A kind of system and method that high in the clouds real-time simulation is carried out to Internet of Things awareness apparatus | |
CN102638460B (en) | Home gateway, Cloud Server and the method communicated between the two | |
CN104093077B (en) | Method, Apparatus and system that multiple terminals is interconnected | |
CN107800621A (en) | A kind of novel intelligent home gateway for supporting a variety of access protocols | |
CN101854371A (en) | Method and device for calling and processing JavaScript object | |
CN105842715A (en) | Beidou positioning and communication integrated universal system and configuration method thereof | |
CN107644644A (en) | The method that Voice command smart home is realized based on wearable device | |
CN105429958A (en) | Enterprise application platform system based on Android development | |
CN112783064A (en) | Building intelligent control three-dimensional model display method and related equipment | |
CN112039983B (en) | Method and system for realizing connection middleware of Internet of things equipment | |
CN108769017A (en) | A kind of data communications method and device | |
CN106653020A (en) | Multi-business control method and system for smart sound and video equipment based on deep learning | |
CN106982158A (en) | The sharing method and device of movement locus | |
CN105871968A (en) | Device search method, device and system | |
CN107018405A (en) | LED three dimensional displays and its control method based on cloud platform | |
CN106713411A (en) | Communication apparatus and method based on Ethernet virtual serial port technology and LTE wireless network | |
CN101341767A (en) | Mobile animation message service method and system and terminal | |
CN109413182A (en) | A kind of platform of internet of things terminal affair exchange method | |
US20120296691A1 (en) | System and Method for Designing and Executing Subject-State Engine Workflows | |
CN108512940A (en) | A kind of Internet of Things cloud platform terminal notification method for pushing | |
CN105978932A (en) | Information interaction method, information push terminal and information interaction system based on education system | |
Wang et al. | An Edge Computing Based Gateway for WIA-PA Networks | |
KR20020085985A (en) | A translation system of rich media on real time | |
CN103188315B (en) | Message system, vehicle-mounted end and its message treatment method based on vehicle-mounted client information | |
CN107360071A (en) | Method for sending information, mobile client and the intelligent home gateway of intelligent home network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190301 |