CN105471897A - Embedded device cloud service access method and system - Google Patents
Embedded device cloud service access method and system Download PDFInfo
- Publication number
- CN105471897A CN105471897A CN201511005314.1A CN201511005314A CN105471897A CN 105471897 A CN105471897 A CN 105471897A CN 201511005314 A CN201511005314 A CN 201511005314A CN 105471897 A CN105471897 A CN 105471897A
- Authority
- CN
- China
- Prior art keywords
- equipment
- sent
- terminal
- data
- target device
- 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
- 238000000034 method Methods 0.000 title claims abstract description 39
- 230000005540 biological transmission Effects 0.000 abstract description 3
- 238000013475 authorization Methods 0.000 abstract 1
- 230000008569 process Effects 0.000 description 6
- 238000011161 development Methods 0.000 description 5
- 238000012546 transfer Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 230000003993 interaction Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000005457 optimization Methods 0.000 description 2
- 238000012356 Product development Methods 0.000 description 1
- 210000001072 colon Anatomy 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011982 device technology Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
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/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
-
- 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/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/561—Adding application-functional data or data for application control, e.g. adding metadata
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Library & Information Science (AREA)
- Information Transfer Between Computers (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses an embedded device cloud service access method and system. The method comprises the following steps: first data information is sent by a receiving terminal through the MQTT protocol, wherein the first data information comprises first to-be-sent data and a target device identifier; a device input channel corresponding to the target device identifier is determined according to the target device identifier; and the first to-be-sent data is forwarded to a target device through the MQTT protocol and the device input channel corresponding to the target device identifier. According to the method and system provided by the embodiment of the invention, identity information of a device and a terminal as well as the authorization relation between the device and the terminal are all managed by the cloud, so that not only can the device access to a cloud server quickly and conveniently, but also data transmission between the device and the terminal can be realized; and meanwhile, no user information needs to be recorded in the device, so as to reduce the resource cost of the device end and improve the safety of data transmission.
Description
Technical field
The present invention relates to embedded device technology field, more particularly, relate to a kind of embedded device cloud service cut-in method and system.
Background technology
Along with the proposition of Internet of Things, cloud service concept, the demand of equipment access the Internet increases greatly, how to allow many eurypalynous embedded devices access Internet of Things cloud service fast, easily, realize equipment networking, realize interconnection function and become a urgent problem.Tradition embedded device great majority all work alone, even not accessing Internet network.Even if there are some equipment to have the function of network insertion, but general also just in a small-sized local area network (LAN), as the equipment of the various Wi-Fi in home network or Bluetooth control, the local area network (LAN) that can only realize mobile phone and equipment in local area network (LAN) is among a small circle mutual.And along with the proposition of Internet of Things, cloud service concept, some traditional equipment vendors also attempting allowing oneself equipment access network, realize the Long-distance Control of equipment.But current most of equipment vendors are also just simple by the server of oneself equipment access to manufacturer oneself, such as adopt self-defining agreement by comparing bottom, device data is sent to vendor server by original network communication mode, so just achieve equipment vendors to control the easy access of the equipment that oneself produces, and the function that equipment control, user authority management, equipment room information interaction etc. are complicated can not be realized, also not there is versatility.Therefore the interconnection between all devices on Internet of Things truly can not be realized.
There are some large cloud service platforms also to take up Internet of Things cloud service both at home and abroad at present, various equipment access method is provided.Such as domestic Ali's thing connection platform, Jingdone district micro-, micro-letter hardware development platform, external AylaNetworks, Arrayent, Mircosoft open thing connection platform etc.But at present because the feature of these platforms self is different, the equipment access method, interface, flow process etc. that provide are different, this gives equipment vendors, equipment development person causes very large obstruction, has a strong impact on the development progress of equipment.
Therefore, how allowing embedded device fast and access Cloud Server is easily the problem needing now to solve.
Summary of the invention
The object of the present invention is to provide a kind of embedded device cloud service cut-in method and system, for realizing embedded device fast and access Cloud Server easily.
A kind of embedded device cloud service cut-in method, comprising:
The first data message that receiving terminal is sent by MQTT agreement; Wherein, described first data message comprises the first data to be sent and target device mark;
Identify according to described target device, determine to identify corresponding equipment input channel with described target device;
Corresponding equipment input channel is identified, by described first data retransmission to be sent to target device by MQTT agreement and with described target device.
Preferably, after described first data retransmission to be sent to target device, also comprise:
The second data message that receiving target equipment is sent by MQTT agreement; Wherein, described second data message comprises the second data to be sent and terminal iidentification;
According to described terminal iidentification, determine the equipment output channel corresponding with described terminal iidentification;
By MQTT agreement and described equipment output channel, by described second data retransmission to be sent to terminal.
Preferably, also comprise:
Receive the de-registration request that described equipment sends, and nullify the facility information of described embedded device according to described de-registration request.
Preferably, before the first data message that described receiving terminal is sent by MQTT agreement, comprising:
The equipment output channel that described terminal subscribes is corresponding with described terminal, described equipment subscribes to the equipment input channel corresponding with described equipment.
Preferably, before the first data message that described receiving terminal is sent by MQTT agreement, comprising:
According to the registration request that described equipment sends, register described equipment, and send logon information to described equipment, described equipment logs according to described logon information; Wherein, described registration request and described logon information are transmitted by HTTP or HTTPS agreement;
According to the bind request that described terminal is sent by described equipment, described terminal and described equipment are bound, and binding result is sent to described terminal by described equipment; Wherein, described bind request and described binding result are transmitted by HTTP or HTTPS agreement.
A kind of embedded device cloud service connecting system, comprising:
Cloud Server, terminal, target device;
Described Cloud Server comprises:
First receiver module, for receiving the first data message that described terminal is sent by MQTT agreement; Wherein, described first data message comprises the first data to be sent and target device mark;
First passage determination module, for identifying according to described target device, determines to identify corresponding equipment input channel with described target device;
First forwarding module, for identifying corresponding equipment input channel by MQTT agreement and with described target device, by described first data retransmission to be sent to target device.
Preferably, described Cloud Server also comprises:
Second receiver module, for the second data message that receiving target equipment is sent by MQTT agreement; Wherein, described second data message comprises the second data to be sent and terminal iidentification;
Second channel determination module, for according to described terminal iidentification, determines the equipment output channel corresponding with described terminal iidentification;
Second forwarding module, for by MQTT agreement and described equipment output channel, by described second data retransmission to be sent to terminal.
Preferably, described Cloud Server also comprises:
Cancellation module, for receiving the de-registration request that described equipment sends, and nullifies the facility information of described embedded device according to described de-registration request.
Preferably, described Cloud Server comprises:
First subscribing module, for responding the first subscribe request of the described terminal subscribes equipment output channel corresponding with described terminal;
Second subscribing module, subscribes to the second subscribe request of the equipment input channel corresponding with described equipment for responding described equipment.
Preferably, described Cloud Server comprises:
Registering modules, for the registration request sent according to described equipment, registers described equipment, and sends logon information to described equipment, and described equipment logs according to described logon information; Wherein, described registration request and described logon information are transmitted by HTTP or HTTPS agreement;
Binding module, for the bind request sent by described equipment according to described terminal, is bound described terminal and described equipment, and binding result is sent to described terminal by described equipment; Wherein, described bind request and described binding result are transmitted by HTTP or HTTPS agreement.
Known by above scheme, a kind of embedded device cloud service cut-in method that the embodiment of the present invention provides and system, comprising: the first data message that receiving terminal is sent by MQTT agreement; Wherein, described first data message comprises the first data to be sent and target device mark; Identify according to described target device, determine to identify corresponding equipment input channel with described target device; Corresponding equipment input channel is identified by MQTT agreement and with described target device, by described first data retransmission to be sent to target device, visible, in the present embodiment, identity information and the authority relation of equipment and terminal are all managed by high in the clouds, not only achieve equipment fast and access Cloud Server easily, the transfer of data of equipment and terminal can also be realized, and equipment is without the need to recording user information, reduce equipment end resource overhead, add the fail safe of transfer of data.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of embedded device cloud service cut-in method schematic flow sheet disclosed in the embodiment of the present invention;
Fig. 2 is embedded device registration schematic diagram disclosed in the embodiment of the present invention;
The binding schematic diagram of Fig. 3 terminal and embedded device disclosed in the embodiment of the present invention;
Fig. 4 is terminal and embedded device data communication schematic diagram disclosed in the embodiment of the present invention;
Fig. 5 is another kind of embedded device cloud service cut-in method schematic flow sheet disclosed in the embodiment of the present invention;
Fig. 6 is a kind of embedded device cloud service connecting system structural representation disclosed in the embodiment of the present invention;
Fig. 7 is another kind of embedded device cloud service connecting system structural representation disclosed in the embodiment of the present invention;
Fig. 8 is another kind of embedded device cloud service connecting system structural representation disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of embedded device cloud service cut-in method and system, for realizing embedded device fast and access Cloud Server easily.
See Fig. 1, a kind of embedded device cloud service cut-in method that the embodiment of the present invention provides, comprising:
The first data message that S101, receiving terminal are sent by MQTT agreement; Wherein, described first data message comprises the first data to be sent and target device mark;
Concrete, embedded device in the present embodiment can be transducer, controller etc.
Wherein, before the first data message that described receiving terminal is sent by MQTT agreement, comprising:
According to the registration request that described equipment sends, register described equipment, and send logon information to described equipment, described equipment logs according to described logon information; Wherein, described registration request and described logon information are transmitted by HTTP or HTTPS agreement;
According to the bind request that described terminal is sent by described equipment, described terminal and described equipment are bound, and binding result is sent to described terminal by described equipment; Wherein, described bind request and described binding result are transmitted by HTTP or HTTPS agreement.
Concrete, see Fig. 2 and Fig. 3, the embedded device cloud service cut-in method that the present embodiment provides, is realizing before equipment and terminal carry out data interaction by Cloud Server, first wanting the process of the registration of finishing equipment and the binding of equipment and terminal.Namely after embedded device interconnection network, registration request is sent to server by HTTP/HTTPS mode, registration request comprises the authentication information of this equipment, such as MAC Address, product IDs and product key information etc., and product IDs is here the type information etc. of this product.
Concrete, the registration request that equipment sends to Cloud Server can be:
//REQUEST:POST
{
" product_id ": " xxxxxxxxxx ", // product IDs
" MAC ": " c89346xxxxxx ", //MAC Address
" secret_key ": " xxxxxxxxxx ", // product key (md5 (MAC+product_secret_key))
" alias ": " ", // product another name (optional)
" encrypt_method ": " MD5 " // key encryption method (optional)
}
Server Returning equipment ID/TOKEN:
//RESPONSEE:
{
" device_id ": " xxxxxxxxxx ", // device id
" device_token ": " xxxxxxxxxx " // equipment token, operational credentials
}
When after cloud server registration request, the legitimacy of Authentication devices, and distribute to embedded device proprietary logon information, logon information at least comprises device id and equipment key, and device id and equipment key are sent to embedded device.
Concrete, embedded device logs in Cloud Server according to described logon information after receiving the logon information of Cloud Server distribution; Wherein, after embedded device logs in, just can be carried out the transmission of data by Cloud Server.And the operation of embedded device and Cloud Server centre is unified adopts the mode of HTTP/HTTPS to carry out data interaction, and protocol specification is unified, is convenient to equipment end exploitation.
See Fig. 3, when after the registration achieving equipment, if user wants to carry out transfer of data with certain embedded device, at this moment need the terminal of user and embedded device to bind.Namely when after equipment connection network, user, by the embedded device near terminal scanning, sends bind request to the equipment of specifying, and this bind request, equipment self information and binding pattern are submitted to Cloud Server and carried out binding process by equipment; Server returns binding result to equipment, and the result that server returns by end-use device returns to terminal, completes binding procedure.Wherein APP and communication between devices mode do not limit, and developer can freely define.Here binding pattern comprises the free allocation model of administrator mode, user EXEC and Cloud Server.
Concrete, embedded device sends user's bind request data to server and is:
//REQUEST:POST
{
" product_id ": " xxxxxxxxxx ", // product IDs
" user_id ": " xxxxxxxxxx ", //APP issues the user ID of equipment
" MAC ": " c89346xxxxxx ", //MAC Address
" secret_key ": " xxxxxxxx " // product key (md5 (MAC+product_secret_key))
" bind_mode ": " 3 ", // binding pattern (1:owner, 2:share, 3:auto).
" encrypt_method ": " MD5 " // key encryption method (optional)
}
Server returns binding result data:
//RESPONSEE:
{
" result ": " result "
}
Concrete, after the terminal of user and equipment are successfully bound, between user and equipment, just can realize the mutual of data by Cloud Server.And equipment and Cloud Server, between terminal and Cloud Server, adopt the communication of MQTT messaging protocol.The instant messaging agreement based on publish/subscribe message model that MQTT agreement is developed by IBM Corporation, special limited for computing capability, be operated in the equipment in low bandwidth, unreliable network and design, the application demand of very applicable embedded Internet of Things equipment.
Concrete, equipment MQTT connection server parameter:
Client-ID:[MAC] // (must fill in, and can only be 0 ~ 9a ~ zA ~ Z composition, do not allow underscore, horizontal line, other characters such as colon) can be that the MAC Address of equipment is (if mac address, must be 12/17) or self-defined (during test, use, at will writes).
Username: device id// must fill in, the device_id obtained after facility registration
Password:MD5 (product secret_key+timestamp), timestamp//must fill in, device product key add the MD5 value of the character string that timestamp forms
S102, to identify according to described target device, determine to identify corresponding equipment input channel with described target device;
Wherein, before the first data message that described receiving terminal is sent by MQTT agreement, comprising:
The equipment output channel that described terminal subscribes is corresponding with described terminal, described equipment subscribes to the equipment input channel corresponding with described equipment.
Concrete, see Fig. 4, based on the message channel model of MQTT, embedded device need subscribe to device_id/in/# passage, i.e. equipment input channel, the message that receiving terminal is sent to embedded device by this passage; Equipment gives out information device_id/out/# passage, can send message; Terminal need subscribe to device_id/out/# passage, i.e. equipment output channel, and receive the message that embedded device is sent by this passage, wherein # represents norator passage.
Concrete, in the present embodiment, do not limit the quantity with the terminal of apparatus bound, the quantity with the equipment of terminal binding is not limited yet, so when terminal is to equipment sending data, need the mark determining target device, thus make Cloud Server send data to the dedicated channel corresponding with target device accurately; In like manner, when equipment sends data to terminal, also need the mark determining terminal, thus make Cloud Server send data to terminal accurately, the flow process that concrete equipment sends data to terminal refers to next embodiment.
S103, identify corresponding equipment input channel by MQTT agreement and with described target device, by described first data retransmission to be sent to target device.
The embodiment of the invention discloses a kind of concrete embedded device cloud service cut-in method, relative to a upper embodiment, the present embodiment has done further instruction and optimization to technical scheme.Concrete:
See Fig. 5, after by described first data retransmission to be sent to target device, also comprise:
The second data message that S201, receiving target equipment are sent by MQTT agreement; Wherein, described second data message comprises the second data to be sent and terminal iidentification;
S202, according to described terminal iidentification, determine the equipment output channel corresponding with described terminal iidentification;
S203, by MQTT agreement and described equipment output channel, by described second data retransmission to be sent to terminal.
Concrete, in the present embodiment the flow process that equipment sends data to terminal is described, here equipment to terminal send data message can be in terminal after equipment sending data, the response message that equipment sends to terminal, also can be equipment take the scheduled time as interval, to the data that terminal pushes.
Based on technique scheme, this method also comprises:
Receive the de-registration request that described equipment sends, and nullify the facility information of described embedded device according to described de-registration request.
Concrete, in the present embodiment, if need to reset all information of registered equipment or complete deletion facility information, only need to send de-registration request from equipment to high in the clouds.
A kind of embedded device cloud service cut-in method that the embodiment of the present invention provides, comprising: the first data message that receiving terminal is sent by MQTT agreement; Wherein, described first data message comprises the first data to be sent and target device mark; Identify according to described target device, determine to identify corresponding equipment input channel with described target device; Corresponding equipment input channel is identified by MQTT agreement and with described target device, by described first data retransmission to be sent to target device, visible, in the present embodiment, identity information and the authority relation of equipment and terminal are all managed by high in the clouds, not only achieve equipment fast and access Cloud Server easily, the transfer of data of equipment and terminal can also be realized, and equipment is without the need to recording user information, reduce equipment end resource overhead, add the fail safe of transfer of data.Visible, in the present embodiment, by embedded device server registration beyond the clouds, achieve Cloud Server and unified management is carried out to functions such as connecting its identity information of embedded device and access rights.Significantly reduce the development of equipment end, save equipment end resource overhead.And the authority relation between terminal and equipment is all managed by high in the clouds, equipment is without the need to recording user information, reduce equipment end resource overhead, and it is safer, equipment only needs the request forward of terminal binding equipment to high in the clouds, the checking of authority, sharing out the work all is managed by high in the clouds, safe, convenient.
And the present embodiment is for the feature of Intelligent hardware product development, the mutual flow process of depth optimization equipment and high in the clouds, greatly reduce the difficulty of equipment access cloud service, decrease equipment end resource overhead, accelerate equipment development progress, really achieve embedded device and access cloud service fast, easily, thus realize the functions such as the management of equipment high in the clouds, data interaction, this programme is widely used in Internet of Things field, helps various equipment connection, uses Internet of Things cloud service.
Be introduced the embedded device cloud service connecting system that the embodiment of the present invention provides below, embedded device cloud service connecting system described below and above-described embedded device cloud service cut-in method can be cross-referenced.
See Fig. 6, a kind of embedded device cloud service connecting system that the embodiment of the present invention provides, comprising:
Cloud Server 100, terminal 200, target device 300;
Described Cloud Server 100 comprises:
First receiver module 110, for receiving the first data message that described terminal is sent by MQTT agreement; Wherein, described first data message comprises the first data to be sent and target device mark;
First passage determination module 120, for identifying according to described target device, determines to identify corresponding equipment input channel with described target device;
First forwarding module 130, for identifying corresponding equipment input channel by MQTT agreement and with described target device, by described first data retransmission to be sent to target device.
Wherein, described Cloud Server 100 comprises: the first subscribing module, for responding the first subscribe request of the described terminal subscribes equipment output channel corresponding with described terminal; Second subscribing module, subscribes to the second subscribe request of the equipment input channel corresponding with described equipment for responding described equipment.
See Fig. 7, based on technique scheme, described Cloud Server 100 also comprises:
Second receives mould 140, for the second data message that receiving target equipment is sent by MQTT agreement; Wherein, described second data message comprises the second data to be sent and terminal iidentification;
Second channel determination module 150, for according to described terminal iidentification, determines the equipment output channel corresponding with described terminal iidentification;
Second forwarding module 160, for by MQTT agreement and described equipment output channel, by described second data retransmission to be sent to terminal.
See Fig. 8, based on technique scheme, described Cloud Server 100 also comprises:
Cancellation module 170, for receiving the de-registration request that described equipment sends, and nullifies the facility information of described embedded device according to described de-registration request;
Registering modules 180, for the registration request sent according to described equipment, registers described equipment, and sends logon information to described equipment, and described equipment logs according to described logon information; Wherein, described registration request and described logon information are transmitted by HTTP or HTTPS agreement;
Binding module 190, for the bind request sent by described equipment according to described terminal, is bound described terminal and described equipment, and binding result is sent to described terminal by described equipment; Wherein, described bind request and described binding result are transmitted by HTTP or HTTPS agreement.
In this specification, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually see.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the present invention.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.
Claims (10)
1. an embedded device cloud service cut-in method, is characterized in that, comprising:
The first data message that receiving terminal is sent by MQTT agreement; Wherein, described first data message comprises the first data to be sent and target device mark;
Identify according to described target device, determine to identify corresponding equipment input channel with described target device;
Corresponding equipment input channel is identified, by described first data retransmission to be sent to target device by MQTT agreement and with described target device.
2. embedded device cloud service cut-in method according to claim 1, is characterized in that, after described first data retransmission to be sent to target device, also comprises:
The second data message that receiving target equipment is sent by MQTT agreement; Wherein, described second data message comprises the second data to be sent and terminal iidentification;
According to described terminal iidentification, determine the equipment output channel corresponding with described terminal iidentification;
By MQTT agreement and described equipment output channel, by described second data retransmission to be sent to terminal.
3. embedded device cloud service cut-in method according to claim 2, is characterized in that, also comprise:
Receive the de-registration request that described equipment sends, and nullify the facility information of described embedded device according to described de-registration request.
4. embedded device cloud service cut-in method according to claim 3, is characterized in that, before the first data message that described receiving terminal is sent by MQTT agreement, comprising:
The equipment output channel that described terminal subscribes is corresponding with described terminal, described equipment subscribes to the equipment input channel corresponding with described equipment.
5. according to the embedded device cloud service cut-in method in claim 1-4 described in any one, it is characterized in that, before the first data message that described receiving terminal is sent by MQTT agreement, comprising:
According to the registration request that described equipment sends, register described equipment, and send logon information to described equipment, described equipment logs according to described logon information; Wherein, described registration request and described logon information are transmitted by HTTP or HTTPS agreement;
According to the bind request that described terminal is sent by described equipment, described terminal and described equipment are bound, and binding result is sent to described terminal by described equipment; Wherein, described bind request and described binding result are transmitted by HTTP or HTTPS agreement.
6. an embedded device cloud service connecting system, is characterized in that, comprising:
Cloud Server, terminal, target device;
Described Cloud Server comprises:
First receiver module, for receiving the first data message that described terminal is sent by MQTT agreement; Wherein, described first data message comprises the first data to be sent and target device mark;
First passage determination module, for identifying according to described target device, determines to identify corresponding equipment input channel with described target device;
First forwarding module, for identifying corresponding equipment input channel by MQTT agreement and with described target device, by described first data retransmission to be sent to target device.
7. embedded device cloud service connecting system according to claim 6, it is characterized in that, described Cloud Server also comprises:
Second receiver module, for the second data message that receiving target equipment is sent by MQTT agreement; Wherein, described second data message comprises the second data to be sent and terminal iidentification;
Second channel determination module, for according to described terminal iidentification, determines the equipment output channel corresponding with described terminal iidentification;
Second forwarding module, for by MQTT agreement and described equipment output channel, by described second data retransmission to be sent to terminal.
8. embedded device cloud service connecting system according to claim 7, it is characterized in that, described Cloud Server also comprises:
Cancellation module, for receiving the de-registration request that described equipment sends, and nullifies the facility information of described embedded device according to described de-registration request.
9. embedded device cloud service connecting system according to claim 8, it is characterized in that, described Cloud Server comprises:
First subscribing module, for responding the first subscribe request of the described terminal subscribes equipment output channel corresponding with described terminal;
Second subscribing module, subscribes to the second subscribe request of the equipment input channel corresponding with described equipment for responding described equipment.
10., according to the embedded device cloud service connecting system in claim 6-9 described in any one, it is characterized in that, described Cloud Server comprises:
Registering modules, for the registration request sent according to described equipment, registers described equipment, and sends logon information to described equipment, and described equipment logs according to described logon information; Wherein, described registration request and described logon information are transmitted by HTTP or HTTPS agreement;
Binding module, for the bind request sent by described equipment according to described terminal, is bound described terminal and described equipment, and binding result is sent to described terminal by described equipment; Wherein, described bind request and described binding result are transmitted by HTTP or HTTPS agreement.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511005314.1A CN105471897B (en) | 2015-12-28 | 2015-12-28 | A kind of embedded device cloud service cut-in method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511005314.1A CN105471897B (en) | 2015-12-28 | 2015-12-28 | A kind of embedded device cloud service cut-in method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105471897A true CN105471897A (en) | 2016-04-06 |
CN105471897B CN105471897B (en) | 2019-03-22 |
Family
ID=55609167
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201511005314.1A Active CN105471897B (en) | 2015-12-28 | 2015-12-28 | A kind of embedded device cloud service cut-in method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105471897B (en) |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106559296A (en) * | 2016-11-28 | 2017-04-05 | 上海斐讯数据通信技术有限公司 | A kind of device end control method and system based on MQTT |
WO2018035839A1 (en) * | 2016-08-26 | 2018-03-01 | 华为技术有限公司 | Data transmission method, associated apparatus and communication system |
CN107749806A (en) * | 2017-10-31 | 2018-03-02 | 普天东方通信集团有限公司 | Equipment cut-in method, device and its cloud platform used of a kind of cloud platform |
CN107819811A (en) * | 2016-09-14 | 2018-03-20 | 阿里巴巴集团控股有限公司 | Data communications method, device and equipment |
CN108401262A (en) * | 2018-02-06 | 2018-08-14 | 武汉斗鱼网络科技有限公司 | A kind of method and device that terminal applies communication data is obtained and analyzed |
CN108810086A (en) * | 2018-04-27 | 2018-11-13 | 电子科技大学中山学院 | Intelligent equipment communication platform based on MQTT message protocol |
WO2019011339A1 (en) * | 2017-07-14 | 2019-01-17 | 华为技术有限公司 | Communication method and device |
CN109257233A (en) * | 2018-11-06 | 2019-01-22 | 上海庆科信息技术有限公司 | A kind of configuration method of node node equipment in communication system |
CN110430171A (en) * | 2019-07-17 | 2019-11-08 | 福建龙田网络科技有限公司 | A kind of safe Internet of Things communications protocol |
CN111562992A (en) * | 2020-04-14 | 2020-08-21 | 广东博智林机器人有限公司 | Message consumption method and device for client, electronic equipment and storage medium |
CN111800498A (en) * | 2020-06-30 | 2020-10-20 | 联想(北京)有限公司 | Data transmission method and device |
CN112511631A (en) * | 2020-12-01 | 2021-03-16 | 四川虹美智能科技有限公司 | Control system and method of intelligent device |
CN112671796A (en) * | 2020-12-31 | 2021-04-16 | 深圳软牛科技有限公司 | Google Driver cloud service authentication acquisition method, device, equipment and storage medium |
CN112738265A (en) * | 2020-12-31 | 2021-04-30 | 青岛海尔科技有限公司 | Equipment binding method and device, storage medium and electronic device |
WO2021092736A1 (en) * | 2019-11-11 | 2021-05-20 | 南京阿凡达机器人科技有限公司 | Data processing system and method, server and storage medium |
CN115037795A (en) * | 2022-06-16 | 2022-09-09 | 上海睿赛德电子科技有限公司 | Multi-machine communication method for embedded equipment |
CN115766118A (en) * | 2022-10-31 | 2023-03-07 | 珠海格力电器股份有限公司 | Data authentication method and device and computer equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104539712A (en) * | 2014-12-31 | 2015-04-22 | 广东德豪润达电气股份有限公司 | Intelligent household appliance data transmission method |
US20150271299A1 (en) * | 2014-03-21 | 2015-09-24 | Ptc Inc. | System and method of abstracting communication protocol using self-describing messages |
CN105099882A (en) * | 2015-07-09 | 2015-11-25 | 杭州电子科技大学 | MQTT-based cloud pushing method and system |
-
2015
- 2015-12-28 CN CN201511005314.1A patent/CN105471897B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150271299A1 (en) * | 2014-03-21 | 2015-09-24 | Ptc Inc. | System and method of abstracting communication protocol using self-describing messages |
CN104539712A (en) * | 2014-12-31 | 2015-04-22 | 广东德豪润达电气股份有限公司 | Intelligent household appliance data transmission method |
CN105099882A (en) * | 2015-07-09 | 2015-11-25 | 杭州电子科技大学 | MQTT-based cloud pushing method and system |
Cited By (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018035839A1 (en) * | 2016-08-26 | 2018-03-01 | 华为技术有限公司 | Data transmission method, associated apparatus and communication system |
CN107819811A (en) * | 2016-09-14 | 2018-03-20 | 阿里巴巴集团控股有限公司 | Data communications method, device and equipment |
CN106559296A (en) * | 2016-11-28 | 2017-04-05 | 上海斐讯数据通信技术有限公司 | A kind of device end control method and system based on MQTT |
WO2019011339A1 (en) * | 2017-07-14 | 2019-01-17 | 华为技术有限公司 | Communication method and device |
US11172449B2 (en) | 2017-07-14 | 2021-11-09 | Huawei Technologies Co., Ltd. | Communication method and device |
CN107749806A (en) * | 2017-10-31 | 2018-03-02 | 普天东方通信集团有限公司 | Equipment cut-in method, device and its cloud platform used of a kind of cloud platform |
CN108401262A (en) * | 2018-02-06 | 2018-08-14 | 武汉斗鱼网络科技有限公司 | A kind of method and device that terminal applies communication data is obtained and analyzed |
CN108810086A (en) * | 2018-04-27 | 2018-11-13 | 电子科技大学中山学院 | Intelligent equipment communication platform based on MQTT message protocol |
WO2019205907A1 (en) * | 2018-04-27 | 2019-10-31 | 电子科技大学中山学院 | Intelligent device communication platform based on mqtt message protocol |
CN109257233A (en) * | 2018-11-06 | 2019-01-22 | 上海庆科信息技术有限公司 | A kind of configuration method of node node equipment in communication system |
CN110430171A (en) * | 2019-07-17 | 2019-11-08 | 福建龙田网络科技有限公司 | A kind of safe Internet of Things communications protocol |
WO2021092736A1 (en) * | 2019-11-11 | 2021-05-20 | 南京阿凡达机器人科技有限公司 | Data processing system and method, server and storage medium |
CN111562992A (en) * | 2020-04-14 | 2020-08-21 | 广东博智林机器人有限公司 | Message consumption method and device for client, electronic equipment and storage medium |
CN111800498A (en) * | 2020-06-30 | 2020-10-20 | 联想(北京)有限公司 | Data transmission method and device |
CN112511631A (en) * | 2020-12-01 | 2021-03-16 | 四川虹美智能科技有限公司 | Control system and method of intelligent device |
CN112511631B (en) * | 2020-12-01 | 2022-06-07 | 四川虹美智能科技有限公司 | Control system and method of intelligent device |
CN112671796A (en) * | 2020-12-31 | 2021-04-16 | 深圳软牛科技有限公司 | Google Driver cloud service authentication acquisition method, device, equipment and storage medium |
CN112738265A (en) * | 2020-12-31 | 2021-04-30 | 青岛海尔科技有限公司 | Equipment binding method and device, storage medium and electronic device |
CN112671796B (en) * | 2020-12-31 | 2022-03-25 | 深圳软牛科技有限公司 | Google Driver cloud service authentication acquisition method, device, equipment and storage medium |
CN115037795A (en) * | 2022-06-16 | 2022-09-09 | 上海睿赛德电子科技有限公司 | Multi-machine communication method for embedded equipment |
CN115037795B (en) * | 2022-06-16 | 2024-02-02 | 上海睿赛德电子科技有限公司 | Multi-machine communication method for embedded equipment |
CN115766118A (en) * | 2022-10-31 | 2023-03-07 | 珠海格力电器股份有限公司 | Data authentication method and device and computer equipment |
Also Published As
Publication number | Publication date |
---|---|
CN105471897B (en) | 2019-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105471897A (en) | Embedded device cloud service access method and system | |
KR101914408B1 (en) | Internet access authentication methods and clients, and computer storage media | |
CN105072135B (en) | A kind of the authorization method for authenticating and system of cloud file-sharing | |
CN104767715B (en) | Access control method and equipment | |
EP3073699B1 (en) | System and method for controlling mutual access of smart devices | |
KR101819556B1 (en) | Apparatus and method for supporting family cloud in cloud computing system | |
CN105099985A (en) | Login method and device of multiple applications | |
CN106161385A (en) | The long-range control method of a kind of equipment and device | |
CN111262865B (en) | Method, device and system for making access control strategy | |
CN110716441B (en) | Method for controlling intelligent equipment, intelligent home system, equipment and medium | |
JP2013545412A (en) | Method and apparatus for enabling data transmission between a mobile device and a static destination address | |
CN106535089B (en) | Machine-to-machine virtual private network | |
US10708326B2 (en) | Secure media casting bypassing mobile devices | |
US9118588B2 (en) | Virtual console-port management | |
EP3491805B1 (en) | System and method for configuration of a connected device connection | |
CN104780069A (en) | SDN-oriented self-configuration method and system for communication channel between control layer and data layer | |
CN103188332B (en) | A kind of remote desktop access control management method, equipment and system | |
CN110505188A (en) | A terminal authentication method, related equipment and authentication system | |
CN102984045A (en) | Access method of Virtual Private Network and Virtual Private Network client | |
CN103812672A (en) | Method for discovering newly-added network element device, correlative device, and system | |
WO2014071841A1 (en) | Method, terminal, server, system, and device for synchronizing wireless network parameters | |
CN105357224A (en) | Intelligent household gateway register, remove method and system | |
CN104901757A (en) | Mobile terminal control method and system for IP (Internet Protocol) network broadcast | |
CN110198540B (en) | Portal authentication method and device | |
CN103906050A (en) | WPKI security monitoring and control method and system based on mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |