CN104967595B - The method and apparatus that equipment is registered in platform of internet of things - Google Patents
The method and apparatus that equipment is registered in platform of internet of things Download PDFInfo
- Publication number
- CN104967595B CN104967595B CN201410606891.5A CN201410606891A CN104967595B CN 104967595 B CN104967595 B CN 104967595B CN 201410606891 A CN201410606891 A CN 201410606891A CN 104967595 B CN104967595 B CN 104967595B
- Authority
- CN
- China
- Prior art keywords
- equipment
- internet
- things
- platform
- password
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Telephonic Communication Services (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
A method of equipment is registered in platform of internet of things, comprising the following steps: user terminal sends broadcast packet in local area network, to obtain the equipment for supporting rendezvous protocol in the local area network;The user terminal receives the facility information that the equipment that the rendezvous protocol is supported in the local area network is sent, and the facility information includes physical label code;The physical label code is sent the platform of internet of things by the user terminal;The user terminal receives the equipment account generated according to the physical label code and corresponding device password that the platform of internet of things returns, the equipment account and device password are for the equipment login platform of internet of things, so that the equipment is communicated with the platform of internet of things;The equipment account and device password are sent to corresponding equipment by the user terminal.The above method can communicate provide the foundation for realization user terminal with equipment.In addition, also providing a kind of device for registering equipment in platform of internet of things.
Description
Technical field
The present invention relates to internet of things field, more particularly to it is a kind of by equipment in the side that platform of internet of things is registered
Method and device, and it is related to a kind of implementation method communicated with internet of things equipment and device.
Background technique
Internet of Things (Internet of Things) is one based on information carriers such as internet, conventional telecommunications nets, is allowed
The network concept that all General Physics object implementatio8s that can be independently addressable interconnect.Theoretically, Internet of Things can will nowhere
Not end-equipment and facility, pass through various wireless and/or wired long range and/or short distance communication network implementations interconnection
Intercommunication.
However, on the basis of existing technology, there are no mature, the realizations of Internet of Things communication mechanism for Internet of Things net system
Details is not also implemented.Internet based on user terminal is extended into nearly all equipment, to realize to the control of equipment and
Reach the interaction between user and equipment, presently or an insoluble problem.
Summary of the invention
Based on this, it is necessary to provide it is a kind of can for realize carry out communicating between user terminal and equipment provide it is basic by equipment
In the method and apparatus that platform of internet of things is registered.
A method of equipment is registered in platform of internet of things, comprising the following steps:
User terminal sends broadcast packet in local area network, to obtain the equipment for supporting rendezvous protocol in the local area network;
The user terminal receives the facility information that the equipment that the rendezvous protocol is supported in the local area network is sent, described
Facility information includes physical label code;
The physical label code is sent the platform of internet of things by the user terminal;
The user terminal receives the equipment account generated according to the physical label code that the platform of internet of things returns
With corresponding device password, the equipment account and device password are used for the equipment and log in the platform of internet of things, with
So that the equipment is communicated with the platform of internet of things;
The equipment account and device password are sent to corresponding equipment by the user terminal.
A method of equipment is registered in platform of internet of things, comprising the following steps:
Equipment receives the broadcast packet of the user terminal transmission in local area network, and the broadcast packet in the local area network for asking
Ask the equipment with the presence or absence of rendezvous protocol is supported;
If the equipment supports the rendezvous protocol, the facility information of the equipment, institute are responded to the user terminal
The physical label code that facility information includes the equipment is stated, so that the physical label code is sent institute by the user terminal
State platform of internet of things;
The equipment receives the equipment account and device password that the platform of internet of things is returned by the user terminal, institute
It states platform of internet of things and registers to obtain the equipment account and device password according to the physical label code, the equipment account and set
Standby password logs in the platform of internet of things for the equipment, so that the equipment is communicated with the platform of internet of things.
A kind of device for registering equipment in platform of internet of things, comprising:
Broadcast packet sending module is supported about for sending broadcast packet in the local area network with obtaining in the local area network
Determine the equipment of agreement;
Facility information receiving module, the equipment sent for receiving the equipment for supporting the rendezvous protocol in the local area network
Information, the facility information include physical label code;
Physical label code sending module, for sending the platform of internet of things for the physical label code;
Account number cipher receiving module, for being generated according to the physical label code of receiving that the platform of internet of things returns
Equipment account and corresponding device password, the equipment account and device password log in the Internet of Things for the equipment
Platform, so that the equipment is communicated with the platform of internet of things;
Account number cipher sending module, for the equipment account and device password to be sent to corresponding equipment.
A kind of device for registering equipment in platform of internet of things, comprising:
Broadcast packet receiving module, for receiving the broadcast packet of the transmission of the user terminal in the local area network, the broadcast packet
For asking whether there is the equipment for supporting rendezvous protocol in the local area network;
Broadcast packet responding module responds institute to the user terminal if supporting the rendezvous protocol for the equipment
State the facility information of equipment, the facility information includes the physical label code of the equipment, so that the user terminal is by institute
It states physical label code and is sent to the platform of internet of things;
Account number cipher receiving module, the equipment account returned for receiving the platform of internet of things by the user terminal
And device password, the platform of internet of things are registered to obtain the equipment account and device password, institute according to the physical label code
It states equipment account and device password and logs in the platform of internet of things for the equipment, so that the equipment and the Internet of Things
Platform is communicated.
The above-mentioned method and apparatus for registering equipment in platform of internet of things can get and support agreement association in local area network
The physical label code of the equipment of view, and platform of internet of things is sent by physical label code, so that Physical Network platform is according to the object
Reason identification code registers to obtain the equipment account of equipment and device password, equipment can the equipment account and device password log on to object
Networked platforms, to be communicated with platform of internet of things;It is after equipment is communicated with platform of internet of things, then logical with platform of internet of things
The user terminal of letter can be communicated via between platform of internet of things and equipment, so that above-mentioned infuse equipment in platform of internet of things
The method and apparatus of volume, to realize that user terminal communicate providing the foundation with equipment.
Detailed description of the invention
Figure 1A is the running environment of the method for the invention for registering equipment in platform of internet of things in one embodiment
Schematic diagram;
Figure 1B is the schematic diagram of internal structure of user terminal 102 in one embodiment;
Fig. 1 C is the schematic diagram of internal structure of equipment 104 in one embodiment;
Fig. 2 is the flow diagram for the method for registering equipment in platform of internet of things in one embodiment;
Fig. 3 is the flow diagram for the method for registering equipment in platform of internet of things in one embodiment;
Fig. 4 is the application scenarios schematic diagram for the method for registering equipment in platform of internet of things in one embodiment;
Fig. 5 is the structural schematic diagram for the device for registering equipment in platform of internet of things in one embodiment;
Fig. 6 is the structural schematic diagram for the device for registering equipment in platform of internet of things in one embodiment;
Fig. 7 is the structural schematic diagram for the device for registering equipment in platform of internet of things in one embodiment.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
Figure 1A is the running environment of the method for the invention for registering equipment in platform of internet of things in one embodiment
Schematic diagram.As shown in Figure 1A, user terminal 102 and equipment 104 are located at the same local area network, and user terminal 102 is in local area network
Broadcast packet is sent to ask whether to have the equipment for supporting rendezvous protocol, if equipment 104 supports the agreement of the agreement, to user
Terminal 102 responds physical label code, and physical label code is sent platform of internet of things 106, platform of internet of things by user terminal 102
106 register to obtain equipment account and device password according to physical label code, return to equipment 104, equipment by user terminal 102
104 log in platform of internet of things 106 according to equipment account and device password, so that equipment 104 can be led to platform of internet of things 106
Letter, and communicated with the other equipment or user terminal for being connected to platform of internet of things 106.
Platform of internet of things 108 in Figure 1A is for providing the support to Internet of Things service, for example, being infused according to physical label code
Volume is for logging in the equipment account and device password of platform of internet of things 108, and the equipment in each login platform of internet of things 108
Or message forwarding, etc. is carried out between user terminal.
User terminal 102 in Figure 1A can arbitrarily interact for mobile phone, laptop, tablet computer etc. with user
And it can access the intelligent subscriber terminal of network.In one embodiment, the internal structure of user terminal 102 is as shown in Figure 1B, should
User terminal 102 includes the processor connected by system bus, storage medium, memory, network interface, display screen and input
Mechanism.User terminal 102 can be interacted with user, and the input mechanism of user terminal 102 triggers correlation according to user's operation and refers to
It enables, relevant information is then showed user by the display screen of user terminal 102.It is stored in the storage medium of user terminal 102
For realizing the software instruction of the method for the invention for registering equipment in platform of internet of things, the processing of user terminal 102
Device executes these instructions to realize the method for the invention for registering equipment in platform of internet of things.
Equipment 104 in Figure 1A can be the arbitrarily accessible office such as television set, camera, printer, intelligent lamp, intelligence beginning
The equipment of domain net.In one embodiment, the internal structure of equipment 104 is as shown in Figure 1 C, the equipment 104 include control chip,
Work functions mechanism, network access device and storage medium.Wherein, chip coordinated control work functions mechanism is controlled, network connects
Enter the work of device and storage medium, basic function of the work functions mechanism for realizing equipment 104, such as the work of camera
Functional entity at least has the function of capturing image etc.;Network access device has network connecting function;It is stored in storage medium
For realizing the software instruction of the method for the invention for registering equipment in platform of internet of things, control chip executes these and refers to
It enables to realize the method for the invention for registering equipment in platform of internet of things.
The present invention provides a kind of method for registering equipment in platform of internet of things, hereafter executing subject in this way
To illustrate step included by this method for user terminal, but user terminal this executing subject should not be as to of the invention
The limitation for the method that equipment is registered in platform of internet of things, the method for only changing executing subject also belong to what the present invention protected
Range.
As shown in Fig. 2, in one embodiment, a method of equipment is registered in platform of internet of things, including with
Lower step:
Step S202, user terminal send broadcast packet in local area network, and setting for rendezvous protocol is supported in local area network to obtain
It is standby.
Broadcast packet can be described as broadcast data packet again, and above-mentioned local area network supports broadcast capability.The broadcast that user terminal is sent
It wraps for asking whether there is the equipment for supporting rendezvous protocol in local area network.Ask whether exist comprising indicating in the broadcast packet
The information of the equipment of rendezvous protocol, the information is supported to be packaged in broadcast packet according to preset format.
Above-mentioned rendezvous protocol is the agreement of platform of internet of things agreement, and the agreement of platform of internet of things agreement is supported to be and Internet of Things
The premise that net platform is communicated.
After equipment in local area network receives broadcast packet, broadcast packet is parsed, if equipment supports rendezvous protocol, to the use
The facility information of family terminal response equipment.
Step S204, user terminal receive the facility information that the equipment that rendezvous protocol is supported in local area network is sent, the equipment
Information includes physical label code.
Physical label code be can unique identification equipment sequence number, can equipment factory before be determined, any two equipment
Physical label code be different from.
Physical label code is sent platform of internet of things by step S206, user terminal.
User terminal logged on platform of internet of things in advance, so as to be communicated with platform of internet of things.Implement at one
In example, Internet of Things client is installed on user terminal described in present specification, which is can be with Internet of Things
The client software of platform interaction.In the present embodiment, user terminal can first pass through Internet of Things client in advance and infuse in platform of internet of things
The user account and user password of volume, and Internet of Things is logged in the user account and user password by Internet of Things client and is put down
Platform.Moreover, the step of user terminal executes in the method that platform of internet of things is registered by equipment in present specification all may be used
It is completed by the Internet of Things client.
In one embodiment, above-mentioned Internet of Things client is instant communication client, and platform of internet of things includes being used for
The instant communication server of instant messaging service is provided.In the present embodiment, user terminal is by instant communication client in sight
When the communication server registration instant messaging account and instant messaging password login instant communication server, due to Instant Messenger convince
Business device is the component part of platform of internet of things, to also just log on to platform of internet of things.
Step S208, user terminal receive platform of internet of things return according to physical label code generate equipment account and with
Corresponding device password, the equipment account and device password log in platform of internet of things for equipment, so that equipment and Internet of Things
Net platform is communicated.
Equipment account and device password are sent to corresponding equipment by step S210, user terminal.
After equipment receives equipment account and device password, equipment account and device password can be stored to local, and root
Platform of internet of things is logged on to according to the equipment account and device password.
In one embodiment, the physical label code that user terminal receives is added according to the private key of sending device
It is close.The physical label code of equipment stores in a device after can first passing through encryption in advance, can also be carried out by equipment to physical label code
Encryption.
In the present embodiment, equipment account and device password are registered to obtain according to the physical label code after decryption, and physics mark
Know code to be decrypted according to the corresponding public key of private key of sending device.
Physical label code, which is decrypted, to be carried out by user terminal or platform of internet of things.
The equipment of same device manufacturer can hold identical private key and public key.The present embodiment is according to asymmetric key pair equipment
Physical label code encrypted and decoded, the certification to equipment identities can be accurately realized.
In one embodiment, equipment account and device password are according to the physical label not yet registered in platform of internet of things
Code registration obtains.This feature can be achieved in three embodiments below.
In the first embodiment, the received facility information of user terminal is that rendezvous protocol is supported in local area network in step S204
And the facility information not yet sent in the equipment of platform of internet of things registration.That is, after the equipment in local area network receives broadcast packet, solution
Broadcast packet is analysed, if equipment supports rendezvous protocol and it is not yet registered in platform of internet of things, responds equipment to the user terminal
Facility information, if platform of internet of things register, not to the user terminal respond equipment facility information.
In a second embodiment, whether the facility information that user terminal receives in step S204 includes equipment in Internet of Things
The information of net platform registration;After equipment i.e. in local area network receives broadcast packet, broadcast packet is parsed, if equipment supports agreement association
View is then responded to the user terminal comprising equipment mark code and the equipment for indicating whether the information registered in platform of internet of things
Information.
In step S206, user terminal judges whether equipment has been registered in platform of internet of things according to facility information, and will still
Platform of internet of things is not sent in the physical label code of the equipment of platform of internet of things registration.
In the third embodiment, after platform of internet of things receives physical label code, whether the physical label code is checked
It registered, and if it is not, then generating the corresponding equipment account of physics identification code and device password, stored physical label code, equipment account
Corresponding relationship between device password, and the equipment account and device password are sent to user terminal, if so, to user
Terminal issues the physical label code chartered message.
In one embodiment, before step S202, the above-mentioned method for registering equipment in platform of internet of things is also
The following steps are included: user terminal ancillary equipment access to LAN.In one embodiment, the step the following steps are included:
(1) user terminal receives the username and password of router in the local area network of input.
In present specification, with according to the username and password couple in router of the router in local area network to access office
Illustrate the process of access to LAN for the net of domain, but the process of access to LAN should not be so limited to the router according to local area network
Username and password couple in router, can be according to other network insertion identification informations of local area network come access to LAN.Local
When the network insertion identification information of net is object requests access to LAN to be accessed, local area network needs to identify verifying and determines accordingly
Whether allowance access information.For example, Wi-Fi Hotspot in the username and password or local area network of router in local area network
Username and password etc..
(2) user terminal obtains the identification parameter of equipment.In one embodiment, the identification parameter of equipment is equipment from letter
The parameter that the process of information that parsing identification is wherein carried in breath carrier is related to, for example, equipment wireless network card password,
Corresponding NFC key of the identifiable audio range of user name, equipment, equipment of the Wireless LAN hot spot of equipment etc..
(3) user terminal generates the information carrier for carrying the username and password of router, and the information carrier meets
The identification parameter of equipment, so that the information carrier can only be identified username and password therein by the equipment.
In one embodiment, information carrier may include that data packet, acoustic signals, radiofrequency signal etc. can arbitrarily carry letter
Breath and the carrier that can therefrom parse carried information.Specifically, in one embodiment, producing the use comprising router
The IP data packet of name in an account book and password, and IP data packet is encrypted according to the password of the wireless network card of equipment, so that can only
Username and password in the IP data packet is identified by the equipment.In another embodiment, the road comprising local area network is generated
By the data packet of the username and password of device, and comprising the user name of Wireless LAN hot spot in the data packet, to indicate this
Data packet is to be sent to the data packet of Wireless LAN hot spot.In another embodiment, it produces and carries router
The acoustic signals of username and password and frequency of sound wave in the identifiable audio range of equipment, so that can only be by the equipment
Identify the username and password in the acoustic signals.In other examples, it can be satisfied the need according to the corresponding NFC key of equipment
Encrypted by the username and password of device, according to NFC communication agreement generate carry encrypted router user name and
The radiofrequency signal of password, so that the username and password, etc. in radiofrequency signal can only be identified by the equipment.
(4) information carrier is sent to equipment by user terminal, so that in the local area network that equipment is carried according to information carrier
The username and password access to LAN of router.
In above-described embodiment, even for the equipment of not input unit, also it can be made to get router in local area network
Username and password and be further linked into local area network, for equipment access platform of internet of things basis is provided.
The present invention also provides a kind of implementation method communicated with internet of things equipment, which refers to supporting
The agreement of platform of internet of things agreement and the equipment with network access device, equipment described in present specification all support Internet of Things
Net platform agreement agreement and have network access device.In one embodiment, a kind of to be communicated with internet of things equipment
Implementation method, comprising the following steps:
(1) user terminal ancillary equipment is registered in platform of internet of things;The process may include in any of the above-described embodiment
Step described in the method that equipment is registered in platform of internet of things.
(2) user terminal to platform of internet of things requests that the machine is currently logged in user account used in platform of internet of things and set
It is standby to be bound so that with the user account log in platform of internet of things user terminal and the equipment can via platform of internet of things into
Row communication.
Before step (2), user terminal logs on to platform of internet of things with user account and user password.Specifically, with
Family terminal logs on to platform of internet of things by Internet of Things client with user account and user password.
Specifically, user terminal can include equipment to platform of internet of things sending device bind request, apparatus bound request
Currently running Internet of Things client logs in user account used in platform of internet of things in equipment account and user terminal, with request
Platform of internet of things binds the user account and equipment account, so that by Internet of Things client with user account login
The user terminal of platform of internet of things can be led to the equipment for logging in platform of internet of things with the equipment account via platform of internet of things
Letter.
In one embodiment, the above-mentioned implementation method communicated with internet of things equipment, it is further comprising the steps of: user
Terminal is communicated with the equipment that above-mentioned user account is bound via platform of internet of things.On condition that user terminal passes through Internet of Things
Net client logs in platform of internet of things with user account, and equipment logs in platform of internet of things with equipment account.It is bound with user terminal
Equipment refer to that currently running Internet of Things client logs in the binding of user account used in platform of internet of things on user terminal
The corresponding equipment of equipment account.
The step of user terminal involved in the above-mentioned implementation method communicated with internet of things equipment, all can be by running on use
The Internet of Things client of family terminal is completed.
The above-mentioned communication that can be used for realizing with the implementation method that internet of things equipment is communicated between user terminal and equipment.
Although the implementation method communicated with internet of things equipment described above is by taking executing subject is user terminal as an example
It is illustrated, but user terminal this executing subject should not be as to the realization side of the invention communicated with internet of things equipment
The limitation of method, the method for only changing executing subject also belong to the scope of protection of the invention.
A kind of method for registering equipment in platform of internet of things described from equipment side is provided further below, although hereafter
Illustrate step included by this method so that executing subject is equipment as an example, but equipment this executing subject should not be as to this method
Limitation, only change executing subject method also belong to the scope of protection of the invention.
As shown in figure 3, in one embodiment, a method of equipment is registered in platform of internet of things, including with
Lower step:
Step S302, equipment receive the broadcast packet of the user terminal transmission in local area network, which is used in local area network
Inside ask whether there is the equipment for supporting rendezvous protocol.
Broadcast packet can be described as broadcast data packet again, and above-mentioned local area network supports broadcast capability.It is ask in broadcast packet comprising indicating
Ask that the information with the presence or absence of the equipment for supporting rendezvous protocol, the information are packaged in broadcast packet according to preset format.
Above-mentioned rendezvous protocol is the agreement of platform of internet of things agreement, and the agreement of platform of internet of things agreement is supported to be and Internet of Things
The premise that net platform is communicated.
After equipment in local area network receives broadcast packet, broadcast packet is parsed,
Step S304 responds the facility information of equipment, the equipment to the user terminal if equipment supports rendezvous protocol
Information includes the physical label code of equipment, so that physical label code is sent platform of internet of things by the user terminal.
Physical label code be can unique identification equipment sequence number, can equipment factory before be determined, any two equipment
Physical label code be different from.
After platform of internet of things receives physical label code, registered to obtain equipment account and password according to physical label code, and
The equipment account and password are returned into the user terminal, the user terminal then returns to the equipment account and device password
To equipment.
Step S306, equipment receive the equipment account and device password that platform of internet of things is returned by the user terminal,
Platform of internet of things is registered to obtain the equipment account and device password, equipment account and device password according to the physical label code
Platform of internet of things is logged in for equipment, so that equipment is communicated with platform of internet of things.
In one embodiment, above-mentioned that equipment is further comprised the steps of: into equipment in the method that platform of internet of things is registered
Store received equipment account and device password.Equipment account and device password are stored, for being used when equipment login.
In one embodiment, above-mentioned that equipment is further comprised the steps of: into equipment in the method that platform of internet of things is registered
Platform of internet of things is logged in its equipment account and device password.Equipment logs on to platform of internet of things, to can realize and Internet of Things
Platform is communicated.
In one embodiment, above-mentioned further comprise the steps of: equipment in the method that platform of internet of things is registered is being stepped on
After recording platform of internet of things, equipment sends the heartbeat packet for indicating equipment running status to platform of internet of things.
In one embodiment, the physical label code that equipment is responded to the user terminal is carried out according to the private key of equipment
Encryption.The physical label code of equipment can first pass through in advance encryption after store in a device, can also by equipment to physical label code into
Row encryption, equipment can encrypt physical label code before the physical label code for responding equipment to the user terminal.
In the present embodiment, equipment account and device password are registered to obtain according to the physical label code after decryption, the physics mark
Know code to be decrypted according to the corresponding public key of the private key.
Physical label code, which is decrypted, to be carried out by the user terminal or platform of internet of things.
The equipment of same device manufacturer can hold identical private key and public key.The present embodiment is according to asymmetric key pair equipment
Physical label code encrypted and decoded, the certification to equipment identities can be accurately realized.
In one embodiment, equipment account and device password are according to the physical label not yet registered in platform of internet of things
Code registration obtains.This feature can be achieved in three embodiments below, but can realize that the embodiment of this feature is not limited to following three
A embodiment.
In the first embodiment, after equipment receives broadcast packet, parse broadcast packet, if equipment support rendezvous protocol and its still
It is not registered in platform of internet of things, then responds the facility information of equipment to the user terminal, if being registered in platform of internet of things,
The facility information of equipment is not responded to the user terminal.
In a second embodiment, after equipment receives broadcast packet, broadcast packet is parsed, if equipment supports rendezvous protocol, to
The user terminal is responded comprising equipment mark code and is indicated whether in the facility information of the information of platform of internet of things registration.Institute
It states user terminal and judges whether equipment has been registered in platform of internet of things according to facility information, and will not yet be registered in platform of internet of things
The physical label code of equipment be sent to platform of internet of things, the physical label of the equipment registered in platform of internet of things then not to
Platform of internet of things is sent.
In the third embodiment, after platform of internet of things receives physical label code, whether the physical label code is checked
It registered, and if it is not, then generating the corresponding equipment account of physics identification code and device password, stored physical label code, equipment account
Corresponding relationship between device password, and the equipment account and device password are sent to the user terminal, if so, to
The user terminal issues the physical label code chartered message.
In one embodiment, before step S302, the above-mentioned method for registering equipment in platform of internet of things
It is further comprising the steps of: equipment access to LAN.In one embodiment, the step the following steps are included: (1) equipment from user
Terminal obtains the information carrier for carrying the username and password of LAN router, which joins according to the identification of equipment
Number carried out processing, so that the information carrier can only be identified username and password therein by equipment.(2) equipment is carried from information
The username and password of router is identified in body.(3) equipment is according to username and password couple in router.
In a specific embodiment, the step of equipment access to LAN is the following steps are included: in (1.1) opening of device
The listening mode for the wireless network card set, wireless network card can intercept and capture IP data packet in the listen mode.(1.2) equipment passes through wireless network
Card intercepts and captures the IP data packet for the username and password comprising router that user terminal is sent, and the IP data packet is according to the nothing of equipment
The password of gauze card carried out encryption.(1.3) equipment is decrypted IP data packet according to the password of wireless network card, and from IP number
According to the username and password for extracting router in packet.(1.4) equipment is according to username and password couple in router.
In a specific embodiment, the step of equipment access to LAN is the following steps are included: in (2.1) opening of device
The hotspot pattern for the wireless network card set, to establish the Wireless LAN hot spot of itself.(2.2) equipment is clamped by wireless network
The access request for the access Wireless LAN hot spot that user terminal is sent is received, includes Wireless LAN hot spot in access request
User name.(2.3) user terminal is accessed Wireless LAN hot spot by equipment.(2.4) equipment is received by wireless network card and is used
Family terminal is sent to the data packet of Wireless LAN hot spot, includes the username and password of router in the data packet.(2.5)
Equipment extracts the username and password of router from data packet.(2.6) hotspot pattern of the wireless network card built in device revocation,
Restore the basic function of the transmitting/receiving wireless signal of wireless network card.(2.7) equipment accesses road according to the username and password of router
By device.
In a specific embodiment, the step of equipment access to LAN the following steps are included: (3.1) equipment pass through it is interior
The acoustic receiver device set receives the acoustic signals in the audio range that the acoustic receiver device that user terminal is sent can identify,
Acoustic signals carry the information of the username and password of router.(3.2) acoustic signals are converted into the use of router by equipment
Name in an account book and password.(3.3) equipment is according to the username and password couple in router of router.
In a specific embodiment, the step of equipment access to LAN the following steps are included: (4.1) equipment pass through it is interior
The NFC communication device set receives the radiofrequency signal that user terminal is sent, which carries out by the corresponding NFC key of equipment
Encryption is crossed, and the radiofrequency signal carries the information of the username and password of LAN router.(4.2) equipment is according to its correspondence
Encryption key radiofrequency signal is decrypted, and the username and password of LAN router is parsed from radiofrequency signal.
(4.3) equipment is according to the username and password couple in router of router.
In above-described embodiment, even for the equipment of not input unit, also it can be made to get router in local area network
Username and password and be further linked into local area network, for equipment access platform of internet of things basis is provided.
Illustrate the above-mentioned method for registering equipment in platform of internet of things below with specific application scenarios.
As shown in figure 4, in the application scenarios, platform of internet of things 400 includes device management server 408, message center 410, immediately
The communication server 404 and facility registration server 407.Wherein, device management server 408 at least has and carries out with equipment 406
The function of the correlated condition of communication and storage and management equipment;Message center 410 at least has in device management server 408
The function of message is forwarded between instant communication server 404;Instant communication server 404, which then at least has, provides instant messaging
Service and the function of being communicated with user terminal 402;Facility registration server 407 then at least has according to physical label code
Registration obtains the function of equipment account and device password.It is as shown in Figure 4:
0. user terminal 402 is with instant messaging account and instant messaging password login instant communication server 404.
1. user terminal 402 triggers the search in local area network by the user's operation on interface and supports setting for rendezvous protocol
Standby, user terminal 402 sends broadcast packet in local area network to ask whether the there is equipment for supporting rendezvous protocol in local area network.
2. supporting physical label code of the equipment 406 of rendezvous protocol to 402 sending device 406 of user terminal.
3. the physical label code is sent facility registration server 407 by user terminal 404.
4. facility registration server 407 is registered to obtain equipment account and device password according to the physical label code, and should
Equipment account and device password return to user terminal 404.
5. the equipment account and device password are sent to equipment 402 by user terminal 404.
6. equipment 40 logs on to device management server 408 with the equipment account and device password.
7. equipment 406 sends the heartbeat packet for indicating 406 operating status of equipment to device management server 408.
8. the message for being sent to equipment 406 is sent instant communication server 404 by user terminal 402, Instant Messenger is convinced
Business device 404 forwards messages to message center 410, and message center 410 forwards messages to device management server 408, equipment
Management server forwards messages to equipment 406 for 408.Equipment 406 can transmit the message to user's end according to opposite path
End 402.To realize the communication between user terminal 402 and equipment 406.
As shown in figure 5, a kind of device for registering equipment in platform of internet of things, the device may be disposed at and the equipment
In different user terminals, including broadcast packet sending module 502, facility information receiving module 504, physical label code sending module
506, account number cipher receiving module 508 and account number cipher sending module 510, in which:
Broadcast packet sending module 502 supports rendezvous protocol for sending broadcast packet in local area network to obtain in local area network
Equipment.
Broadcast packet can be described as broadcast data packet again, and above-mentioned local area network supports broadcast capability.Broadcast packet sending module 502 is sent out
The broadcast packet sent is used to ask whether there is the equipment for supporting rendezvous protocol in local area network.Comprising indicating inquiry in the broadcast packet
With the presence or absence of the information for the equipment for supporting rendezvous protocol, which is packaged in broadcast packet according to preset format.
Above-mentioned rendezvous protocol is the agreement of platform of internet of things agreement, and the agreement of platform of internet of things agreement is supported to be and Internet of Things
The premise that net platform is communicated.
After equipment in local area network receives broadcast packet, broadcast packet is parsed, if equipment supports rendezvous protocol, to the use
The facility information of family terminal response equipment.
Facility information receiving module 504 is used to receive the facility information that the equipment that rendezvous protocol is supported in local area network is sent,
The facility information includes physical label code.
Physical label code be can unique identification equipment sequence number, can equipment factory before be determined, any two equipment
Physical label code be different from.
Physical label code sending module 506 is used to send platform of internet of things for physical label code.
In one embodiment, it is above-mentioned by equipment the device that platform of internet of things is registered further include user terminal log in
Module (not shown), for logging on to platform of internet of things with user account and user password, so that user terminal can
It is communicated with platform of internet of things.
In one embodiment, login module can be stepped in the user account and user password of platform of internet of things registration in advance
Record platform of internet of things.
In one embodiment, platform of internet of things includes for providing the instant communication server of instant messaging service.This
In embodiment, login module is with the instant messaging account and instant messaging password login registered in advance in instant communication server
When the communication server, since instant communication server is the component part of platform of internet of things, so that it is flat also just to log on to Internet of Things
Platform.
Account number cipher receiving module 508 is used to receive the equipment account of platform of internet of things return generated according to physical label code
Number and corresponding device password, the equipment account and device password log in platform of internet of things for equipment, so that equipment
It is communicated with platform of internet of things.
Account number cipher sending module 510 is used to equipment account and device password being sent to corresponding equipment.
After equipment receives equipment account and device password, equipment account and device password can be stored to local, and root
Platform of internet of things is logged on to according to the equipment account and device password.
In one embodiment, the physical label code that facility information receiving module 504 receives is according to the private of sending device
Key is encrypted.The physical label code of equipment stores in a device after can first passing through encryption in advance, can also be by equipment to physics
Identification code is encrypted.
In the present embodiment, equipment account and device password are registered to obtain according to the physical label code after decryption, and physics mark
Know code to be decrypted according to the corresponding public key of private key of sending device.
In one embodiment, it is above-mentioned by equipment the device that platform of internet of things is registered further include deciphering module (figure
In be not shown), for being carried out according to the corresponding public key of private key of the corresponding sending device of physical label code to the physical label code
Decryption.In another embodiment, physical label code being decrypted can be carried out by platform of internet of things.
The equipment of same device manufacturer can hold identical private key and public key.The present embodiment is according to asymmetric key pair equipment
Physical label code encrypted and decoded, the certification to equipment identities can be accurately realized.
In one embodiment, equipment account and device password are according to the physical label not yet registered in platform of internet of things
Code registration obtains.This feature can be achieved in three embodiments below.
In the first embodiment, the received facility information of facility information receiving module 504 is that agreement association is supported in local area network
View and the facility information not yet sent in the equipment of platform of internet of things registration.That is, after the equipment in local area network receives broadcast packet,
Broadcast packet is parsed, if equipment supports rendezvous protocol and it is not yet registered in platform of internet of things, is set to user terminal response
Standby facility information does not respond the facility information of equipment if registering in platform of internet of things to the user terminal.
In a second embodiment, whether the facility information that facility information receiving module 504 receives includes equipment in object
The information of networked platforms registration;After equipment i.e. in local area network receives broadcast packet, broadcast packet is parsed, if equipment supports agreement association
View is then responded to the user terminal comprising equipment mark code and the equipment for indicating whether the information registered in platform of internet of things
Information.
In the present embodiment, physical label code sending module 506 judges whether equipment is flat in Internet of Things according to facility information
Platform registration, and will platform of internet of things not yet be sent in the physical label code of the equipment of platform of internet of things registration.
In the third embodiment, after platform of internet of things receives physical label code, whether the physical label code is checked
It registered, and if it is not, then generating the corresponding equipment account of physics identification code and device password, stored physical label code, equipment account
Corresponding relationship between device password, and by the equipment account and device password be sent to it is above-mentioned by equipment in platform of internet of things
User terminal where the device registered, if so, issuing the physical label code chartered message to the user terminal.
In one embodiment, above-mentioned by equipment further includes that LAN optimization is auxiliary in the device that platform of internet of things is registered
Module is helped, ancillary equipment access to LAN is used for.In one embodiment, LAN optimization supplementary module includes user name password
Receiving module, identification parameter obtain module, information carrier generation module and information carrier sending module, in which:
User name password acceptance module, the username and password of router in local area network for receiving input.
Identification parameter obtains module, for obtaining the identification parameter of equipment.In one embodiment, the identification parameter of equipment
The parameter that the process for the information that identification wherein carries is related to, such as the wireless network of equipment are parsed from information carrier by equipment
Password, the identifiable audio range of user name, equipment of the Wireless LAN hot spot of equipment, the corresponding NFC of equipment of card are close
Key etc..
Information carrier generation module, for generating the information carrier for carrying the username and password of router, and the letter
Breath carrier meets the identification parameter of equipment, so that the information carrier can only be identified user name therein and close by the equipment
Code.
In one embodiment, information carrier may include that data packet, acoustic signals, radiofrequency signal etc. can arbitrarily carry letter
Breath and the carrier that can therefrom parse carried information.Specifically, in one embodiment, information carrier generation module can give birth to
IP data packet is carried out at the IP data packet of the username and password comprising router, and according to the password of the wireless network card of equipment
Encryption, so that the username and password in the IP data packet can only be identified by the equipment.In another embodiment, information
Carrier generation module produces the data packet of the username and password of the router comprising local area network, and includes nothing in the data packet
The user name of line local area network hot spot, to indicate that the data packet is to be sent to the data packet of Wireless LAN hot spot.Another
In a embodiment, information carrier generation module produces the username and password for carrying router and frequency of sound wave in equipment
Acoustic signals in identifiable audio range, so that user name in the acoustic signals and close can only be identified by the equipment
Code.In other examples, information carrier generation module can according to the user name of the corresponding NFC key pair router of equipment and
Password is encrypted, and the radiofrequency signal for carrying the username and password of encrypted router is generated according to NFC communication agreement,
So that the username and password, etc. in radiofrequency signal can only be identified by the equipment.
Information carrier sending module, for information carrier to be sent to equipment, so that equipment is carried according to information carrier
Local area network in router username and password access to LAN.
In above-described embodiment, even for the equipment of not input unit, also it can be made to get router in local area network
Username and password and be further linked into local area network, for equipment access platform of internet of things basis is provided.
The present invention also provides a kind of realization device communicated with internet of things equipment, which may be disposed at user's end
End, the internet of things equipment refer to the agreement for supporting platform of internet of things agreement and the equipment with network access device, the application
Equipment described in file all supports the agreement of platform of internet of things agreement and has network access device.In one embodiment,
The realization device communicated with internet of things equipment, comprising:
Facility registration device is registered for ancillary equipment in platform of internet of things;On the facility registration device may include
State module included by the device for registering equipment in platform of internet of things in any embodiment.
Bind request module, for the machine currently to be logged in user's account used in platform of internet of things to platform of internet of things request
It number is bound with equipment, so that logging in the user terminal of platform of internet of things with the user account and the equipment can be via Internet of Things
Platform is communicated.
Above-mentioned the machine is the user terminal where the realization device communicated with internet of things equipment.
In one embodiment, it is above-mentioned by equipment the device that platform of internet of things is registered further include user terminal log in
Module (not shown), for logging on to platform of internet of things with user account and user password.The machine currently logs in Internet of Things
User account used in platform namely user terminal login module log on to user account used in platform of internet of things.
Specifically, bind request module can be to platform of internet of things sending device bind request, apparatus bound request is comprising setting
Standby equipment account and the machine for logging in platform of internet of things currently logs in user account used in platform of internet of things, with request
Platform of internet of things binds the user account and equipment account, so that passing to the use that the user account logs in platform of internet of things
Family terminal can be communicated with the equipment for logging in platform of internet of things with the equipment account via platform of internet of things.
In one embodiment, the above-mentioned realization device communicated with internet of things equipment further includes device communication module,
Equipment for currently logging in the binding of user account used in platform of internet of things with the machine is communicated via platform of internet of things.Before
Mentioning is, equipment also logs in platform of internet of things with equipment account.It is referred to the equipment of user terminal binding current on user terminal
The Internet of Things client of operation logs in the corresponding equipment of equipment account of the binding of user account used in platform of internet of things.
The above-mentioned communication that can be used for realizing with the realization device that internet of things equipment is communicated between user terminal and equipment.
As shown in fig. 6, a kind of device for registering equipment in platform of internet of things, the device are set in the equipment,
Including broadcast packet receiving module 602, broadcast packet responding module 604 and account number cipher receiving module 606, in which:
Broadcast packet receiving module 602 is used to receive the broadcast packet of the user terminal transmission in local area network, which is used for
Ask whether there is the equipment for supporting rendezvous protocol in local area network.
Broadcast packet can be described as broadcast data packet again, and above-mentioned local area network supports broadcast capability.It is ask in broadcast packet comprising indicating
Ask that the information with the presence or absence of the equipment for supporting rendezvous protocol, the information are packaged in broadcast packet according to preset format.
Above-mentioned rendezvous protocol is the agreement of platform of internet of things agreement, and the agreement of platform of internet of things agreement is supported to be and Internet of Things
The premise that net platform is communicated.
In one embodiment, above-mentioned by equipment further includes parsing module in the device that platform of internet of things is registered
(not shown), for parsing broadcast packet after receiving broadcast packet.
If broadcast packet responding module 604 supports rendezvous protocol for equipment, setting for equipment is responded to the user terminal
Standby information, which includes the physical label code of equipment, so that physical label code is sent object by the user terminal
Networked platforms.
Physical label code be can unique identification equipment sequence number, can equipment factory before be determined, any two equipment
Physical label code be different from.
After platform of internet of things receives physical label code, it can be registered to obtain equipment account and password according to physical label code,
And the equipment account and password are returned into the user terminal, the user terminal then returns the equipment account and device password
Back to equipment.
Account number cipher receiving module 606 be used to receive equipment account that platform of internet of things is returned by the user terminal with
Device password, platform of internet of things are registered to obtain the equipment account and device password, equipment account according to the physical label code of equipment
Platform of internet of things is logged in for equipment with device password, so that equipment is communicated with platform of internet of things.
As shown in fig. 7, in one embodiment, it is above-mentioned to further include in the device that platform of internet of things is registered by equipment
Account number cipher memory module 608, equipment login module 610 and heartbeat packet sending module 612, in which:
Account number cipher memory module 608 be used for store the received equipment of account number cipher receiving module 606 equipment account and
Device password.By equipment account and password storage to equipment the machine, use when logging on to platform of internet of things for equipment.
Equipment login module 610 is used to log in platform of internet of things with the equipment account and device password of equipment.Equipment logs in
It can be communicated with platform of internet of things after to platform of internet of things.
Heartbeat packet sending module 612 is used for after equipment logs on to platform of internet of things, and sending to platform of internet of things indicates to set
The heartbeat packet of standby operating status.
In one embodiment, any one module list in account number cipher memory module 608 and equipment login module 610
The device solely constituted with broadcast packet receiving module 602, broadcast packet responding module 604 and account number cipher receiving module 606 also belongs to
The scope of protection of the invention.In addition, equipment login module 610 and heartbeat packet sending module 612 and broadcast packet receiving module 602,
The device that broadcast packet responding module 604 and account number cipher receiving module 606 are constituted also belongs to the scope of protection of the invention.
In one embodiment, the physical label code that broadcast packet responding module 604 is responded to the user terminal is according to setting
Standby private key is encrypted.In one embodiment, the physical label code of equipment is stored in equipment after can first passing through encryption in advance
In.In another embodiment, above-mentioned by equipment further includes encrypting module (in figure in the device that platform of internet of things is registered
Be not shown), for the user terminal respond equipment physical label code before, according to the private key of equipment to the object of equipment
Reason identification code is encrypted.
In the present embodiment, equipment account and device password are registered to obtain according to the physical label code after decryption, the physics mark
Know code to be decrypted according to the corresponding public key of the private key.Physical label code is decrypted can be by the user terminal or Internet of Things
Net platform carries out.
The equipment of same device manufacturer can hold identical private key and public key.The present embodiment is according to asymmetric key pair equipment
Physical label code encrypted and decoded, the certification to equipment identities can be accurately realized.
In one embodiment, equipment account and device password are according to the physical label not yet registered in platform of internet of things
Code registration obtains.This feature can be achieved in three embodiments below, but can realize that the embodiment of this feature is not limited to following three
A embodiment.
In the first embodiment, broadcast packet responding module 604 is after equipment receives broadcast packet, if equipment supports agreement association
It discusses and it is not yet registered in platform of internet of things, then respond the facility information of equipment to the user terminal, if flat in Internet of Things
Platform registration, then do not respond the facility information of equipment to the user terminal.
In a second embodiment, broadcast packet responding module 604 is after equipment receives broadcast packet, if equipment supports agreement association
View is then responded to the user terminal comprising equipment mark code and the equipment for indicating whether the information registered in platform of internet of things
Information.The user terminal judges whether equipment has been registered in platform of internet of things according to facility information, and will be not yet in Internet of Things
The physical label code of the equipment of platform registration is sent to platform of internet of things, the physics mark of the equipment registered in platform of internet of things
Know and is not sent to platform of internet of things then.
In the third embodiment, after platform of internet of things receives physical label code, whether the physical label code is checked
It registered, and if it is not, then generating the corresponding equipment account of physics identification code and device password, stored physical label code, equipment account
Corresponding relationship between device password, and the equipment account and device password are sent to the user terminal, if so, to
The user terminal issues the physical label code chartered message.
In one embodiment, the above-mentioned device for registering equipment in platform of internet of things further include: local area network connects
Enter module, is used for equipment access to LAN.In one embodiment, LAN optimization module includes: that (1) information carrier obtains
Module, for obtaining the information carrier for carrying the username and password of LAN router, the information carrier from user terminal
Processing was carried out according to the identification parameter of equipment, so that the information carrier can only be identified user name therein and close by equipment
Code.User name password identification module, for identifying the username and password of router from information carrier.(3) router connects
Enter module, for according to username and password by equipment couple in router.
In a specific embodiment, information carrier obtains the monitoring that module is used to open the wireless network card built in equipment
Mode, wireless network card can intercept and capture IP data packet in the listen mode;Obtain the user terminal transmission that the wireless network card of equipment is intercepted and captured
The username and password comprising router IP data packet, which carried out according to the password of the wireless network card of equipment
Encryption;User name password identification module is for being decrypted IP data packet according to the password of wireless network card, and from IP data packet
The middle username and password for extracting router.
In a specific embodiment, information carrier obtains the hot spot that module is used to open the wireless network card built in equipment
Mode, to establish the Wireless LAN hot spot of itself;Obtain connecing for the received user terminal transmission of wireless network card of equipment
Enter the access request of Wireless LAN hot spot, includes the user name of Wireless LAN hot spot in access request;By user's end
It terminates into Wireless LAN hot spot;The received user terminal of wireless network card for obtaining equipment is sent to Wireless LAN hot spot
Data packet, include the username and password of router in the data packet.User name password identification module is used for from data packet
Extract the username and password of router.In the present embodiment, the device by equipment access to LAN further includes wireless network card switching
Module restores the basic training of the transmitting/receiving wireless signal of wireless network card for cancelling the hotspot pattern of the wireless network card built in equipment
Energy.
In a specific embodiment, the acoustic receiver device that information carrier obtains that module is used to obtain built in equipment connects
The acoustic signals in the audio range that the acoustic receiver device that user terminal is sent can identify are received, acoustic signals carry routing
The information of the username and password of device.User name password identification module be used for by acoustic signals be converted into router user name and
Password.
In a specific embodiment, information carrier obtains module and receives use by the NFC communication device built in equipment
The radiofrequency signal that family terminal is sent, which carried out encryption by the corresponding NFC key of equipment, and the radiofrequency signal is held
The information of the username and password of LAN router is carried.User name password identification module is used for according to the corresponding encryption of equipment
Key pair radiofrequency signal is decrypted, and the username and password of LAN router is parsed from radiofrequency signal.
In above-described embodiment, even for the equipment of not input unit, also it can be made to get router in local area network
Username and password and be further linked into local area network, for equipment access platform of internet of things basis is provided.
The above-mentioned method and apparatus for registering equipment in platform of internet of things can get and support agreement association in local area network
The physical label code of the equipment of view, and platform of internet of things is sent by physical label code, so that Physical Network platform is according to the object
Reason identification code registers to obtain the equipment account of equipment and device password, equipment can the equipment account and device password log on to object
Networked platforms, to be communicated with platform of internet of things;It is after equipment is communicated with platform of internet of things, then logical with platform of internet of things
The user terminal of letter can be communicated via between platform of internet of things and equipment, so that above-mentioned infuse equipment in platform of internet of things
The method and apparatus of volume, to realize that user terminal communicate providing the foundation with equipment.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously
Limitations on the scope of the patent of the present invention therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art
For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention
Protect range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.
Claims (18)
1. a kind of method for registering equipment in platform of internet of things, comprising the following steps:
User terminal, which generates, carries the username and password of router in local area network and the information of the identification parameter that meets equipment
Carrier, and it is sent to the equipment, so that the equipment accesses institute according to the username and password that the information carrier carries
State local area network;The identification parameter is that the equipment identifies related when the username and password that the information carrier is carried
Parameter;
User terminal sends broadcast packet in local area network, with obtain in the local area network support rendezvous protocol equipment, it is described about
Determine the agreement that agreement is platform of internet of things agreement;
The user terminal receives the facility information that the equipment that the rendezvous protocol is supported in the local area network is sent, the equipment
Information includes physical label code;
The user terminal sends the physical label code to the instant communication client by running on the user terminal
The platform of internet of things logged in;
The user terminal receive the equipment account generated according to the physical label code that the platform of internet of things returns and with
Corresponding device password, the equipment account and device password log in the platform of internet of things for the equipment so that
The equipment is communicated with the platform of internet of things;
The equipment account and device password are sent to corresponding equipment by the user terminal.
2. the method according to claim 1 for registering equipment in platform of internet of things, which is characterized in that in the use
Family terminal generates the information carrier for carrying the username and password of the router in local area network and meeting the identification parameter of equipment
Before, the method also includes steps:
The user terminal receives the username and password of router in the local area network of input;
The user terminal obtains the identification parameter of equipment.
3. the method according to claim 1 for registering equipment in platform of internet of things, which is characterized in that the user
The physical label code that terminal receives is encrypted according to the private key of sending device;
The equipment account and the device password are registered to obtain according to the physical label code after decryption, the physical label code root
It is decrypted according to the corresponding public key of the private key.
4. the method according to claim 1 for registering equipment in platform of internet of things, which is characterized in that the equipment
Account and device password in the physical label code that the platform of internet of things registered according to not yet registering to obtain.
5. a kind of implementation method communicated with internet of things equipment, comprising the following steps:
User terminal ancillary equipment is registered in platform of internet of things, which, which will include that Claims 1-4 is any described, to set
The standby method registered in platform of internet of things;
The machine is currently logged in user account used in platform of internet of things and equipment to platform of internet of things request by the user terminal
It is bound, so that can be carried out via platform of internet of things with the user terminal that the user account logs in platform of internet of things with the equipment
Communication.
6. a kind of method for registering equipment in platform of internet of things, comprising the following steps:
Equipment receives the identification for carrying the username and password of router in local area network and meeting equipment that user terminal is sent
The information carrier of parameter, and the local area network is accessed according to the username and password that the information carrier is carried;
Equipment receives the broadcast packet of the user terminal transmission in local area network, and the broadcast packet, which is used for the inquiry in the local area network, is
No to there is the equipment for supporting rendezvous protocol, the rendezvous protocol is the agreement of platform of internet of things agreement;
If the equipment supports the rendezvous protocol, the facility information of the equipment is responded to the user terminal, it is described to set
Standby information includes the physical label code of the equipment, so that the user terminal, which sends the physical label code to, passes through institute
State the platform of internet of things that the instant communication client run on user terminal is logged in;
The equipment receives the equipment account and device password that the platform of internet of things is returned by the user terminal, the object
Networked platforms are registered to obtain the equipment account and device password according to the physical label code, and the equipment account and equipment are close
Code logs in the platform of internet of things for the equipment, so that the equipment is communicated with the platform of internet of things.
7. the method according to claim 6 for registering equipment in platform of internet of things, which is characterized in that the basis
The username and password that the information carrier is carried accesses the local area network, comprising:
The equipment is from the username and password for identifying router in the local area network in the information carrier;
The equipment accesses the local area network according to the user name and the password.
8. the method according to claim 6 for registering equipment in platform of internet of things, which is characterized in that the equipment
The physical label code responded to the user terminal is encrypted according to the private key of the equipment;
The equipment account and the device password are registered to obtain according to the physical label code after decryption, the physical label code root
It is decrypted according to the corresponding public key of the private key.
9. the method according to claim 6 for registering equipment in platform of internet of things, which is characterized in that the equipment
Account and device password in the physical label code that the platform of internet of things registered according to not yet registering to obtain.
10. a kind of device for registering equipment in platform of internet of things characterized by comprising
LAN optimization supplementary module carries the username and password of router in local area network and meets equipment for generating
Identification parameter information carrier, and the equipment is sent to, so that the use that the equipment is carried according to the information carrier
Name in an account book and password access the local area network;The identification parameter is the user name that the equipment identifies that the information carrier is carried
Related parameter when with password;
Broadcast packet sending module supports agreement association for sending broadcast packet in the local area network to obtain in the local area network
The equipment of view, the rendezvous protocol are the agreement of platform of internet of things agreement;
Facility information receiving module, the equipment letter sent for receiving the equipment for supporting the rendezvous protocol in the local area network
Breath, the facility information includes physical label code;
Physical label code sending module, it is instant by what is run on the user terminal for sending the physical label code to
The platform of internet of things that communication customer end is logged in;
Account number cipher receiving module, the equipment generated according to the physical label code returned for receiving the platform of internet of things
Account and corresponding device password, the equipment account and device password log in the Internet of Things for the equipment and put down
Platform, so that the equipment is communicated with the platform of internet of things;
Account number cipher sending module, for the equipment account and device password to be sent to corresponding equipment.
11. the device according to claim 10 for registering equipment in platform of internet of things, which is characterized in that the office
Domain net access supplementary module, is also used to receive the username and password of router in the local area network of input;
The LAN optimization supplementary module, is also used to obtain the identification parameter of equipment.
12. the device according to claim 10 for registering equipment in platform of internet of things, which is characterized in that described to set
The physical label code that standby information receiving module receives is encrypted according to the private key of sending device;
The equipment account and the device password are registered to obtain according to the physical label code after decryption, the physical label code root
It is decrypted according to the corresponding public key of the private key.
13. the device according to claim 10 for registering equipment in platform of internet of things, which is characterized in that described to set
Standby account and device password in the registered physical label code of the platform of internet of things according to not yet registering to obtain.
14. a kind of realization device communicated with internet of things equipment characterized by comprising
Facility registration device is registered for ancillary equipment in platform of internet of things, which includes claim 10 to 13 times
Module included by the device for registering equipment in platform of internet of things described in one;
Bind request module, for platform of internet of things request currently to log in the machine user account used in platform of internet of things with
Equipment is bound, so that the user terminal and the equipment with user account login platform of internet of things can be via platform of internet of things
It is communicated.
15. a kind of device for registering equipment in platform of internet of things characterized by comprising
LAN optimization module, for receive user terminal transmission carry the username and password of router in local area network,
And meet the information carrier of the identification parameter of equipment, and according to the username and password access that the information carrier is carried
Local area network;
Broadcast packet receiving module, for receiving the broadcast packet of the transmission of the user terminal in the local area network, the broadcast packet is used for
Ask whether there is the equipment for supporting rendezvous protocol in the local area network, the rendezvous protocol is the association of platform of internet of things agreement
View;
Broadcast packet responding module is set if supporting the rendezvous protocol for the equipment to described in user terminal response
Standby facility information, the facility information includes the physical label code of the equipment, so that the user terminal is by the object
Reason identification code is sent to the platform of internet of things logged in by the instant communication client run on the user terminal;
Account number cipher receiving module, for receiving the equipment account and set that the platform of internet of things is returned by the user terminal
Standby password, the platform of internet of things is registered to obtain the equipment account and device password according to the physical label code, described to set
Standby account and device password are for the equipment login platform of internet of things, so that the equipment and the platform of internet of things
It is communicated.
16. the device according to claim 15 for registering equipment in platform of internet of things, which is characterized in that the office
Domain net AM access module is also used to from the username and password for identifying router in the local area network in the information carrier;
The LAN optimization module is also used to access the local area network according to the user name and the password.
17. the device according to claim 15 for registering equipment in platform of internet of things, which is characterized in that described wide
The physical label code for broadcasting the equipment that packet responding module is responded to the user terminal is carried out according to the private key of the equipment
Encryption;
The equipment account and the device password are registered to obtain according to the physical label code after decryption, the physical label code root
It is decrypted according to the corresponding public key of the private key.
18. the device according to claim 15 for registering equipment in platform of internet of things, which is characterized in that described to set
Standby account and device password in the registered physical label code of the platform of internet of things according to not yet registering to obtain.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410606891.5A CN104967595B (en) | 2014-10-31 | 2014-10-31 | The method and apparatus that equipment is registered in platform of internet of things |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410606891.5A CN104967595B (en) | 2014-10-31 | 2014-10-31 | The method and apparatus that equipment is registered in platform of internet of things |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104967595A CN104967595A (en) | 2015-10-07 |
CN104967595B true CN104967595B (en) | 2019-03-01 |
Family
ID=54221541
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410606891.5A Active CN104967595B (en) | 2014-10-31 | 2014-10-31 | The method and apparatus that equipment is registered in platform of internet of things |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104967595B (en) |
Families Citing this family (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106713230A (en) * | 2015-11-13 | 2017-05-24 | 深圳市光峰光电技术有限公司 | Method of projection equipment for registering internet of things and projection equipment and user terminal |
CN106713386A (en) * | 2015-11-13 | 2017-05-24 | 深圳市光峰光电技术有限公司 | Projection equipment binding communication method, projection equipment and intelligent terminal |
CN105357224B (en) * | 2015-12-08 | 2019-08-02 | 深圳众乐智府科技有限公司 | A kind of registration of intelligent domestic gateway, removing method and system |
CN105978873B (en) * | 2016-05-09 | 2020-08-14 | 腾讯科技(深圳)有限公司 | Customized equipment registration method and device |
WO2018096566A1 (en) * | 2016-11-23 | 2018-05-31 | Cisa S.P.A. | Method of control and management for devices on the internet of things, in particular for home automation, robotic, biomedical, monitoring, telemetry applications and the like |
CN106790569B (en) * | 2016-12-27 | 2019-12-13 | 安徽微慧公用通卡运营管理有限公司 | method for realizing plug and play of terminal equipment based on Internet of things platform |
CN108512870B (en) * | 2017-02-27 | 2020-10-23 | 华为技术有限公司 | Method for accessing Internet of things platform, Internet of things platform and Internet of things equipment |
CN106899688A (en) * | 2017-03-15 | 2017-06-27 | 中国联合网络通信集团有限公司 | A kind of Internet of Things data exchange method, internet of things equipment and platform of internet of things |
CN108667778A (en) * | 2017-03-31 | 2018-10-16 | 中移物联网有限公司 | A kind of internet of things equipment binding method, terminal and internet of things equipment |
CN109150807B (en) * | 2017-06-19 | 2022-06-17 | 中兴通讯股份有限公司 | Voucher distribution method, user terminal, user contract signing authentication management unit and medium |
CN109429181B (en) * | 2017-07-14 | 2021-06-01 | 华为技术有限公司 | Communication method and device |
CN112217831B (en) * | 2017-09-18 | 2023-04-25 | 创新先进技术有限公司 | Information interaction method, device and equipment for Internet of things equipment |
CN108092998A (en) * | 2018-02-05 | 2018-05-29 | 广东司法警官职业学院 | A kind of family WIFI cipher safe protecting methods and system |
CN108566391B (en) * | 2018-03-30 | 2020-05-12 | 阿里巴巴集团控股有限公司 | Login method and device for Internet of things equipment |
CN108768635B (en) * | 2018-06-01 | 2020-10-30 | 武汉珈港科技有限公司 | Password identification management method suitable for Internet of things system |
CN110839053B (en) * | 2018-08-16 | 2022-05-27 | 阿里巴巴集团控股有限公司 | Device communication method, device and storage medium |
CN111294375B (en) * | 2018-12-07 | 2022-11-25 | 浙江宇视科技有限公司 | Monitoring equipment connection method and device |
CN109962978A (en) * | 2019-02-28 | 2019-07-02 | 深圳市盛弘电气股份有限公司 | Charging pile log deriving method, charging pile and control equipment |
CN111163052B (en) * | 2019-11-29 | 2022-09-02 | 泰康保险集团股份有限公司 | Method, device, medium and electronic equipment for connecting Internet of things platform |
EP4087206A4 (en) * | 2020-02-05 | 2023-01-18 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Internet-of-things device registration method and apparatus, device and storage medium |
CN111404913B (en) * | 2020-03-11 | 2022-08-09 | 成都千立网络科技有限公司 | Internet of things communication protocol and interaction method thereof |
CN112039604A (en) * | 2020-09-07 | 2020-12-04 | 北京小米移动软件有限公司 | Equipment rapid networking technology based on intelligent home scene |
CN113014592B (en) * | 2021-03-11 | 2023-11-21 | 中国建设银行股份有限公司 | Automatic registration system and method for Internet of things equipment |
CN115002148A (en) * | 2022-04-21 | 2022-09-02 | 浪潮云信息技术股份公司 | Internet of things cloud side communication method and system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103384367A (en) * | 2012-05-03 | 2013-11-06 | 海尔集团公司 | Device searching method |
CN103763392A (en) * | 2014-01-29 | 2014-04-30 | 百度在线网络技术(北京)有限公司 | Control method, device and system for equipment |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101702690A (en) * | 2009-10-30 | 2010-05-05 | 倪树芳 | Method for carrying out human-computer interaction by embedded equipment through internet instant messaging system |
US9916573B2 (en) * | 2010-11-24 | 2018-03-13 | International Business Machines Corporation | Wireless establishment of identity via bi-directional RFID |
-
2014
- 2014-10-31 CN CN201410606891.5A patent/CN104967595B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103384367A (en) * | 2012-05-03 | 2013-11-06 | 海尔集团公司 | Device searching method |
CN103763392A (en) * | 2014-01-29 | 2014-04-30 | 百度在线网络技术(北京)有限公司 | Control method, device and system for equipment |
Also Published As
Publication number | Publication date |
---|---|
CN104967595A (en) | 2015-10-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104967595B (en) | The method and apparatus that equipment is registered in platform of internet of things | |
CN104967596B (en) | User terminal and internet of things equipment binding, the implementation method to communicate and device | |
US11811873B2 (en) | Distribution hub for internet-of-things data | |
CN110312160A (en) | It is wireless to throw screen method, apparatus, Intelligent flat, terminal and system | |
US20170357528A1 (en) | Customer premises equipment (cpe) with device slicing | |
WO2023165150A1 (en) | Communication method and apparatus, and satellite convergence gateway and readable storage medium | |
US11989543B2 (en) | Method for interoperating between bundle download process and eSIM profile download process by SSP terminal | |
US11641376B2 (en) | Protection of traffic between network functions | |
US11496440B2 (en) | Systems, methods, and media for intelligent split-tunneling | |
CN112492580A (en) | Information processing method and device, communication equipment and storage medium | |
KR20040065466A (en) | Security communication system and method for mobile communication terminal equipment having local communication module | |
US10425812B2 (en) | Method and apparatus for establishment of private communication between devices | |
CN108667601A (en) | A kind of method, apparatus and equipment of transmission data | |
WO2018233726A1 (en) | Network slice authentication method, corresponding apparatus and system, and medium | |
CN102143487A (en) | Negotiation method and negotiation system for end-to-end session key | |
CN102271133A (en) | Authentication method, device and system | |
CN111447133A (en) | Message transmission method and device, storage medium and electronic device | |
US20230156468A1 (en) | Secure Communication Method, Related Apparatus, and System | |
CN107294968A (en) | The monitoring method and system of a kind of audio, video data | |
CN107454591A (en) | Ensure the method, apparatus and system of WIFI LAN communication safeties | |
WO2014161300A1 (en) | Method and system for establishing key for transmitting machine type communication small data | |
CN106537962B (en) | Wireless network configuration, access and access method, device and equipment | |
CN114301967B (en) | Control method, device and equipment for narrowband Internet of things | |
WO2017157255A1 (en) | Local breakout-based data interception method and device | |
CN115190168B (en) | Edge server management system and server cluster |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210917 Address after: 518057 Tencent Building, No. 1 High-tech Zone, Nanshan District, Shenzhen City, Guangdong Province, 35 floors Patentee after: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd. Patentee after: TENCENT CLOUD COMPUTING (BEIJING) Co.,Ltd. Address before: 2, 518000, East 403 room, SEG science and Technology Park, Zhenxing Road, Shenzhen, Guangdong, Futian District Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd. |
|
TR01 | Transfer of patent right |