CN108200216A - A kind of method, apparatus, storage medium and equipment for binding internet of things equipment - Google Patents
A kind of method, apparatus, storage medium and equipment for binding internet of things equipment Download PDFInfo
- Publication number
- CN108200216A CN108200216A CN201810178649.0A CN201810178649A CN108200216A CN 108200216 A CN108200216 A CN 108200216A CN 201810178649 A CN201810178649 A CN 201810178649A CN 108200216 A CN108200216 A CN 108200216A
- Authority
- CN
- China
- Prior art keywords
- internet
- things equipment
- bound
- binding
- binding information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-organising networks, e.g. ad-hoc networks or sensor networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of methods for binding internet of things equipment, device, storage medium and equipment, the binding information of internet of things equipment to be bound is obtained by having bound internet of things equipment, and the binding information is uploaded to the server with bindings, the present invention, which need not rely on the binding procedure of internet of things equipment mobile phone, can carry out bindings, the interconnection that internet of things equipment passes through equipment room, so that connection network is not necessarily limited by wifi routers, expand network connection physical distance, one internet of things equipment from network interruption open when, other impacted Internet of Things equipment can be with automatic network-building, bound device can be operated in no network.
Description
Technical field
The present invention relates to internet of things field more particularly to a kind of method, apparatus for binding internet of things equipment, storage to be situated between
Matter and equipment.
Background technology
Internet of Things technology is one of most popular technology of current generation, and mobile phone app is generally used in the binding of internet of things equipment at present
Add router carry out bound device, have it is troublesome in poeration and rely on mobile phone limitation, moreover, equipment communication interconnection using router as
Center, network structure are starriness, and range of signal relies on the coverage area of WIFI routers, bound device can only have it is network-like
It is operated under condition, is limited there are inconvenience and by WIFI route signal coverage areas.
Invention content
The present invention provides a kind of method, apparatus, storage medium and equipment for binding internet of things equipment, to solve existing skill
The binding of internet of things equipment relies on the problem of mobile phone in art.
One side according to the present invention provides a kind of method for binding internet of things equipment, including:
The binding information that internet of things equipment obtains internet of things equipment to be bound has been bound, and the binding information has been uploaded to
There is the server of bindings.
Optionally, it before the binding information bound internet of things equipment and obtained internet of things equipment to be bound, further includes:
By LAN, establish and connect with the internet of things equipment to be bound.
Optionally, the binding information bound internet of things equipment and obtained internet of things equipment to be bound, including:
The internet of things equipment of having bound initiates bind request, and wait to tie up described in reception to the internet of things equipment to be bound
The binding information that earnest networked devices are reported according to the bind request.
Optionally, it is described the binding information is uploaded to the server with bindings before, including:
The internet of things equipment of having bound determines to incite somebody to action according to the routing iinformation for being connected to the server formerly recorded
The binding information is uploaded to the data transfer path of the server.
Optionally, it before the binding information bound internet of things equipment and obtained internet of things equipment to be bound, also wraps
It includes:
It is described bound internet of things equipment by LAN and other bound internet of things equipment carry out ad hoc network, and according to
Ad hoc network situation is determined by the routing iinformation bound internet of things equipment and be connected to the server.
Optionally, the data transfer path for determining that the binding information can be uploaded to the server, including:
According to the routing iinformation, bind whether internet of things equipment may be coupled directly to the server described in judgement,
If so, internet of things equipment has been bound to the path of the server as determining data transfer path using described;Otherwise it presses
According to shortest path principle, according to routing iinformation, the data transfer path is determined.
Optionally, judge it is described bound internet of things equipment and may be coupled directly to the server when, further include:
The networking state of internet of things equipment has been bound described in detection;
When detecting failed cluster, the binding information is stored, and after networking is detected, the binding of storage is believed
Breath is sent to the server.
Optionally, it after the binding information is uploaded to the server with bindings, further includes:
When the binding response message for receiving the server and returning, the binding response message is sent to and described waits to tie up
Earnest networked devices.
The second aspect according to the present invention provides a kind of method for binding internet of things equipment, including:
The bind request of internet of things equipment initiation has been bound in internet of things equipment reception to be bound, and please according to the binding
It asks, binding information is reported to and described has bound internet of things equipment.
Optionally, it further includes:
The internet of things equipment to be bound has bound the binding response message that internet of things equipment is fed back described in receiving.
In terms of third according to the present invention, a kind of device for binding internet of things equipment is provided, including:
Data forwarding receiving module, for obtaining the binding information of internet of things equipment to be bound, and by the binding information
Being uploaded to has the function of the server of bindings.
Optionally, it further includes:
Ad hoc network module for passing through LAN, is established with the internet of things equipment to be bound and is connected.
Optionally, it further includes:
Bind request initiation module for initiating bind request to the internet of things equipment to be bound, and is treated described in reception
The binding information that binding internet of things equipment is reported according to the bind request.
Optionally, the ad hoc network module is additionally operable to, according to the routing iinformation for being connected to the server formerly recorded,
The determining data transfer path that the binding information can be uploaded to the server.
Optionally, it further includes:
Binding information memory module, for storing the binding information.
Optionally, described device includes internet of things equipment.
The 4th aspect according to the present invention, provides a kind of device for binding internet of things equipment, including:
Processing module is bound, for receiving the bind request for having bound internet of things equipment initiation, and according to the binding
Binding information is reported to and described has bound internet of things equipment by request.
Optionally, the bound processing module is additionally operable to bind the binding response of internet of things equipment feedback described in reception
Message.
The 5th aspect according to the present invention, provides a kind of computer readable storage medium, is stored on the storage medium
The step of having computer program, following method is realized when described program is executed by processor:
The binding information that internet of things equipment obtains internet of things equipment to be bound has been bound, and the binding information has been uploaded to
There is the server of bindings.
The 6th aspect according to the present invention, provides a kind of computer equipment, including memory, processor and is stored in institute
The computer program that can be run on memory and on the processor is stated, the processor is realized as follows when performing described program
The step of method:
The binding information that internet of things equipment obtains internet of things equipment to be bound has been bound, and the binding information has been uploaded to
There is the server of bindings.
The 7th aspect according to the present invention, provides a kind of computer readable storage medium, is stored on the storage medium
The step of having computer program, following method is realized when described program is executed by processor:
The bind request of internet of things equipment initiation has been bound in internet of things equipment reception to be bound, and please according to the binding
It asks, binding information is reported to and described has bound internet of things equipment.
The 8th aspect according to the present invention, provides a kind of computer equipment, which is characterized in that including memory, processing
Device and the computer program that can be run on the memory and on the processor is stored in, the processor performs the journey
The step of following method is realized during sequence:
The bind request of internet of things equipment initiation has been bound in internet of things equipment reception to be bound, and please according to the binding
It asks, binding information is reported to and described has bound internet of things equipment.
Beneficial effects of the present invention are:
The present invention, which need not rely on the binding procedure of internet of things equipment mobile phone, can carry out bindings, and internet of things equipment leads to
Cross the interconnection of equipment room so that connection network is not necessarily limited by wifi routers, expands network connection physical distance, an Internet of Things
Net equipment from network interruption open when, other impacted Internet of Things equipment can be in no network with automatic network-building, bound device
It is operated.
Above description is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, below the special specific embodiment for lifting the present invention.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this field
Technical staff will become clear.Attached drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 is the flow chart that internet of things equipment is bound in one embodiment of the invention;
Fig. 2 is the structure diagram of the device of binding internet of things equipment in third embodiment of the invention;
Fig. 3 is the structure diagram of the device of binding internet of things equipment in fourth embodiment of the invention;
Fig. 4 is the structure diagram of the device of binding internet of things equipment in fifth embodiment of the invention;
Fig. 5 is the schematic diagram of ad hoc network between internet of things equipment in one embodiment of the invention;
Fig. 6 is the flow chart that internet of things equipment is bound in another embodiment of the present invention.
In figure:1- has bound internet of things equipment, and 11- has bound internet of things equipment A, 12- and bound internet of things equipment B, 2-
Internet of things equipment to be bound, 3- bind request initiation modules, 4- binding information memory modules, 5- data forwarding receiving modules, 6-
Ad hoc network module, 7- times is bound processing module, 8- internet of things equipment.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Completely it is communicated to those skilled in the art.
Fig. 1 is referred to, in the first embodiment of the invention, provides a kind of method for binding internet of things equipment, including:
The binding information that internet of things equipment 1 obtains internet of things equipment 2 to be bound has been bound, and the binding information has been uploaded
Extremely there is the server of bindings.In following embodiment of the present invention, the preferred Cloud Server 0 of the server.
Optionally, it before the binding information bound 1 equipment of Internet of Things and obtained internet of things equipment 2 to be bound, also wraps
It includes:
By LAN, establish and connect with the internet of things equipment 2 to be bound.
Optionally, the binding information bound internet of things equipment 1 and obtained internet of things equipment 2 to be bound, including:
The internet of things equipment 1 of having bound initiates bind request, and treated described in reception to the internet of things equipment 2 to be bound
The binding information that binding internet of things equipment 2 is reported according to the bind request.
Optionally, it is described the binding information is uploaded to the Cloud Server 0 with bindings before, including:
Internet of things equipment 1 has been bound according to the routing iinformation for being connected to the Cloud Server 0 formerly recorded, has determined to incite somebody to action
The binding information is uploaded to the data transfer path of the Cloud Server 0.
Optionally, it before having bound internet of things equipment 1 and obtaining the binding information of internet of things equipment 2 to be bound, further includes:
The internet of things equipment 1 of having bound has bound internet of things equipment progress ad hoc network, and root by LAN and other
According to ad hoc network situation, determine by the routing iinformation bound internet of things equipment 1 and be connected to the Cloud Server 0.
Optionally, the data transfer path for determining that the binding information can be uploaded to the Cloud Server 0, packet
It includes:
According to the routing iinformation, bind whether internet of things equipment 1 may be coupled directly to the cloud service described in judgement
Device 0, if so, having bound internet of things equipment 1 to the path of the Cloud Server 0 as determining data transmission route using described
Diameter;Otherwise according to shortest path principle, according to routing iinformation, the data transfer path is determined.If specifically, Internet of Things are bound
Net equipment 1 is not directly connected to Cloud Server 0, according to shortest path principle, according to routing iinformation and determining data transmission
Binding information is transmitted to other and has bound internet of things equipment by path, other bound Internet of Things also follow up itself routing letter
Breath determines data transfer path, finally so that binding information is uploaded to Cloud Server 0.
Optionally, judge it is described bound internet of things equipment 1 and may be coupled directly to the Cloud Server 0 when, also wrap
It includes:
The networking state of internet of things equipment 1 has been bound described in detection;
When detecting failed cluster, the binding information is stored, and after networking is detected, the binding of storage is believed
Breath is sent to Cloud Server 0.
Networking state herein refers to being connected to the state of Cloud Server 0 by connecting external network, so not joining
During net, the interaction of binding information can also be carried out between bound device 2 by LAN and treating by having bound internet of things equipment 1, only
In failed cluster, binding information is temporarily stored, until during networking, the number determining by having bound internet of things equipment 1
Binding information is uploaded to Cloud Server 0 according to transmission path.
Optionally, it after the binding information is uploaded to the Cloud Server 0 with bindings, further includes:
When the binding response message for receiving the return of Cloud Server 0, the binding response message is sent to and described waits to tie up
Earnest networked devices 2.Internet of things equipment 2 to be bound can know binding handling result, Wang Cheng bindings in time.
Fig. 1 is referred to, in a second embodiment of the present invention, provides a kind of method for binding internet of things equipment, including:
Internet of things equipment 2 to be bound receives the bind request for having bound the initiation of internet of things equipment 1, and please according to the binding
It asks, binding information is reported to and described has bound internet of things equipment 1.
Optionally, it further includes:
The internet of things equipment to be bound 2 receives the binding response message for having bound the feedback of internet of things equipment 1.
Fig. 1-2 is referred to, in the third embodiment of the present invention, provides a kind of device for binding internet of things equipment, it is excellent
Choosing, described device is to have bound internet of things equipment 1, including:
Data forwarding receiving module 5 for obtaining the binding information of internet of things equipment 2 to be bound, and the binding is believed
Breath is uploaded to the Cloud Server 0 with bindings.
Optionally, it further includes:
Ad hoc network module 6 for passing through LAN, is established with the internet of things equipment 2 to be bound and is connected.So that not having
Under the connection status of external network, the device of the binding internet of things equipment in the embodiment of the present invention can also treat binding Internet of Things and set
Standby 2 initiate binding procedure.
Optionally, it further includes:
Bind request initiation module 3, for initiating bind request to the internet of things equipment 2 to be bound, and described in reception
The binding information that internet of things equipment 2 to be bound is reported according to the bind request.
Optionally, the ad hoc network module 6 is additionally operable to, according to the routing iinformation for being connected to Cloud Server 0 formerly recorded,
The determining data transfer path that the binding information can be uploaded to Cloud Server 0.Routing iinformation is that ad hoc network module 6 passes through office
Domain net has bound internet of things equipment with other and has carried out ad hoc network, and according to ad hoc network situation, determine to have bound Internet of Things by described
Equipment is connected to the routing iinformation of the server.
Preferably, ad hoc network module 6 is in the determining data transmission route that the binding information can be uploaded to Cloud Server 0
Diameter, ad hoc network module 6 are specifically used for:
According to the routing iinformation, judgement has bound whether internet of things equipment 1 may be coupled directly to the server, if
It is that will then bind internet of things equipment 1 to the path of Cloud Server 0 as determining data transfer path;Otherwise according to path
Most short principle according to routing iinformation, determines the data transfer path.
Optionally, it further includes:
Binding information memory module 4, for storing the binding information.Specifically, ad hoc network module 6 judge it is described
When having bound internet of things equipment and may be coupled directly to Cloud Server 0, ad hoc network module 6, which detects, described has bound internet of things equipment
Networking state;When detecting failed cluster, binding information is just stored, and examine in ad hoc network module 6 by binding information memory module 4
After measuring networking, the binding information that binding information memory module 4 stores is sent to Cloud Server 0.
Optionally, the binding information is being uploaded to the service with bindings by data forwarding receiving module 5
After device, when bind request initiation module 3 receive Cloud Server 0 return binding response message, binding response message is sent out
It is sent to the internet of things equipment 2 to be bound.
Fig. 1, Fig. 3 are referred to, in the 4th embodiment of the present invention, provides a kind of dress for binding internet of things equipment
It puts, described device is preferably internet of things equipment 2 to be bound, including:
Processing module 7 is bound, for receiving the bind request for having bound the initiation of internet of things equipment 1, and is tied up according to described
Binding information is reported to and described has bound internet of things equipment 1 by fixed request.
Optionally, the bound processing module 7 is additionally operable to bind the binding sound of the feedback of internet of things equipment 1 described in reception
Answer message.
The present embodiment internet of things equipment 2 to be bound further includes ad hoc network module, for passing through with having bound internet of things equipment 1
LAN establishes network connection, to realize the upload of binding information.
Fig. 1, Fig. 4 are referred to, in the 5th embodiment of the present invention, provides a kind of device for binding internet of things equipment,
Preferably, described device is internet of things equipment 8, and mould is initiated including data forwarding receiving module, ad hoc network module, bind request
Block, binding information memory module and bound processing module, the 8 ad hoc network module of internet of things equipment are arranged to two-way WIFI, can
With two-way communication, it can not only do network data and receive terminal but also hotspot can be done for the connection of other wireless terminals.Internet of Things
Equipment 8 is after being bound, and during the internet of things equipment 1 of binding as in binding state, internet of things equipment 8 does not have to other
When bound internet of things equipment 8 initiates bind request, data forwarding receiving module, ad hoc network module, bind request initiate mould
Block and binding information memory module are in running order, and internet of things equipment 8 is bound not yet but when needing to be bound, that is, is made
To be in when binding state when internet of things equipment 2 is bound, ad hoc network module and bound processing module will be in work shape
State.
In order to allow internet of things equipment 8 can simpler efficient carry out bindings, the preferred embodiment of the present invention passes through
A bindings is set to switch on internet of things equipment 8, for determining the working condition of internet of things equipment 8, it is preferred that long-press
Bindings switch makes internet of things equipment 8, and in binding state is treated, short-press bindings switch makes internet of things equipment 8 be in binding
State, the internet of things equipment 8 in binding state are found and are searched for by ad hoc network module 6 in the Internet of Things for treating binding state
Equipment 8 simultaneously initiates bind request process, in this way, user is without carrying out excessive complicated operation, so that it may the realization being simple and efficient
The bindings of internet of things equipment.
Specifically, when internet of things equipment 8 is in binding state, in internet of things equipment 8, the working condition of modules is such as
Under:
Data forwarding receiving module 5 obtains the binding information in the internet of things equipment 8 for treating binding state, and binding is believed
Breath is uploaded to the Cloud Server 0 with bindings.
Ad hoc network module 6 is connected by LAN with being established in the internet of things equipment 8 for treating binding state.So that not having
Have under the connection status of external network, the internet of things equipment 8 in the embodiment of the present invention can also be initiated to tie up to other internet of things equipment
Determine process.Ad hoc network module 6 carries out ad hoc network by LAN and other internet of things equipment, and according to ad hoc network situation, determines
The routing iinformation of Cloud Server 0 is connected to by the internet of things equipment 8 for being in binding state.Then according to routing iinformation, determining can
Binding information is uploaded to the data transfer path of Cloud Server 0.The embodiment of the present invention uses two-way WIFI, network-type ad hoc network
Network has expanded the physical distance connected between internet of things equipment 8, solves and connects equipment by router with two-way WIFI routers
The problem of coverage distance limits, and after some internet of things equipment 8 goes offline, it is automatic to find to connect two-way WIFI and connect,
Mutual networking between multiple internet of things equipment 8 causes binding procedure more intelligence and stablizes, and realizes the equipment being simple and efficient
Binding and the transfer and transmission (referring to Fig. 5) of ad hoc network and data.
Ad hoc network module 6 is specific when determining the binding information are uploaded to the data transfer path of Cloud Server 0
For:
According to routing iinformation, judge whether the internet of things equipment 8 in binding state may be coupled directly to Cloud Server 0,
If so, using the internet of things equipment 8 in binding state to the path of Cloud Server 0 as determining data transfer path;It is no
Then according to shortest path principle, according to routing iinformation, the data transfer path is determined.
Bind request initiation module 3 treats the internet of things equipment 8 of binding state in ad hoc network module 6 by LAN with being in
After establishing connection, bind request is initiated, and receive in the object for treating binding state in the internet of things equipment 8 for treating binding state
The binding information that networked devices 8 are reported according to bind request.
In addition, ad hoc network module 6 may be coupled directly to Cloud Server in the internet of things equipment 8 for judging to be in binding state
When 0, the networking state of internet of things equipment 8 of the detection of ad hoc network module 6 in binding state;When detecting failed cluster, just by
Binding information memory module 4 stores binding information, after ad hoc network module 6 detects networking, the Internet of Things in binding state
Equipment 8 carries out bindings automatically, and the binding information that binding information memory module 4 stores is sent to Cloud Server 0, operating body
It tests more preferable.
Referring to Fig. 5, ad hoc network module 6 finds other internet of things equipment in networking state by internet of things equipment 8, builds
Vertical network data connection, more internet of things equipment can automatic component mesh network topology;When some internet of things equipment disconnects
Afterwards, other internet of things equipment Automatic-searchings of this equipment other Internet of Things equipment network consisting data link channels are connected, it is more reliable
Stablize.
Data forwarding receiving module 5 the binding information is uploaded to there are bindings Cloud Server 0 it
Afterwards, when bind request initiation module 3 receives the binding response message of the return of Cloud Server 0, binding response message is sent to
In the internet of things equipment 8 for treating binding state.
Specifically, when internet of things equipment 8 is in when binding state, the working condition of modules in internet of things equipment 8
It is as follows:
It is bound processing module 7 and receives the bind request that the Internet of Things 8 in binding state is initiated, and please according to binding
It asks, binding information is reported to the Internet of Things 8 in binding state.
Be bound processing module 7 be additionally operable to receive it is described bound binding response message that internet of things equipment 1 feeds back and
When know binding result, complete bindings.
In addition, in the internet of things equipment 8 of binding state is treated before bind request is received, by ad hoc network module 6 with
Internet of things equipment 8 in binding state establishes network connection by LAN, to realize the upload of binding information.
It can be bound as it can be seen that the embodiment of the present invention does not need to mobile phone, binding mode passes through physical bindings Operation switch
Button simple operations can carry out, and be switched fast the working condition of internet of things equipment 8, and internet of things equipment 8 passes through the mutual of equipment room
Connection is (referring to Fig. 5) so that connection network is not necessarily limited by WIFI routers, expands network connection physical distance, an Internet of Things
Equipment 8 from network interruption open when, other impacted internet of things equipment can be with automatic network-building, and the internet of things equipment bound can be with
Bindings are carried out in the network of no external connection Cloud Server 0.
In the 6th embodiment of the present invention, a kind of computer readable storage medium is provided, on the storage medium
The step of being stored with computer program, following method realized when described program is executed by processor:
The binding information that internet of things equipment 1 obtains internet of things equipment 2 to be bound has been bound, and the binding information has been uploaded
Extremely there is the Cloud Server 0 of bindings.
Optionally, it is described before the binding information bound internet of things equipment 1 and obtained internet of things equipment 2 to be bound
The step of following method is realized when program is executed by processor:
By LAN, establish and connect with the internet of things equipment 2 to be bound.
Optionally, the binding information bound internet of things equipment 1 and obtained internet of things equipment 2 to be bound, described program
The step of following method is realized when being executed by processor:
The internet of things equipment 1 of having bound initiates bind request, and treated described in reception to the internet of things equipment 2 to be bound
The binding information that binding internet of things equipment 2 is reported according to the bind request.
Optionally, it is described the binding information is uploaded to the Cloud Server 0 with bindings before, the journey
The step of following method is realized when sequence is executed by processor:
Internet of things equipment 1 is bound according to the routing iinformation for being connected to Cloud Server 0 formerly recorded, determining can be by described in
Binding information is uploaded to the data transfer path of Cloud Server 0.
Optionally, before having bound internet of things equipment 1 and obtaining the binding information of internet of things equipment 2 to be bound, the journey
The step of following method is realized when sequence is executed by processor:
The internet of things equipment 1 of having bound has bound internet of things equipment progress ad hoc network, and root by LAN and other
According to ad hoc network situation, determine by the routing iinformation bound internet of things equipment 1 and be connected to Cloud Server 0.
Optionally, the data transfer path for determining that the binding information can be uploaded to Cloud Server 0, described program
The step of following method is realized when being executed by processor:
According to the routing iinformation, bind whether internet of things equipment 1 may be coupled directly to Cloud Server 0 described in judgement,
If so, internet of things equipment 1 has been bound to the path of Cloud Server 0 as determining data transfer path using described;Otherwise it presses
According to shortest path principle, according to routing iinformation, the data transfer path is determined.
Optionally, judge it is described bound internet of things equipment 1 and may be coupled directly to Cloud Server 0 when, described program
The step of following method is realized when being executed by processor:
The networking state of internet of things equipment 1 has been bound described in detection;
When detecting failed cluster, the binding information is stored, and after networking is detected, the binding of storage is believed
Breath is sent to Cloud Server 0.
Optionally, after the binding information is uploaded to the Cloud Server 0 with bindings, described program
The step of following method is realized when being executed by processor:
When the binding response message for receiving the return of Cloud Server 0, the binding response message is sent to and described waits to tie up
Earnest networked devices 2.
In the 7th embodiment of the present invention, a kind of computer equipment is provided, including memory, processor and is stored in
On the memory and the computer program that can run on the processor, the processor are realized such as when performing described program
The step of lower method:
The binding information that internet of things equipment 1 obtains internet of things equipment 2 to be bound has been bound, and the binding information has been uploaded
Extremely there is the Cloud Server 0 of bindings.
Optionally, it is described before the binding information bound internet of things equipment 1 and obtained internet of things equipment 2 to be bound
The step of processor realizes following method when performing described program:
By LAN, establish and connect with the internet of things equipment 2 to be bound.
Optionally, the binding information bound internet of things equipment 1 and obtained internet of things equipment 2 to be bound, the processing
The step of device realizes following method when performing described program:
The internet of things equipment 1 of having bound initiates bind request, and treated described in reception to the internet of things equipment 2 to be bound
The binding information that binding internet of things equipment 2 is reported according to the bind request.
Optionally, it is described the binding information is uploaded to the Cloud Server 0 with bindings before, the place
The step of reason device realizes following method when performing described program:
Internet of things equipment 1 is bound according to the routing iinformation for being connected to Cloud Server 0 formerly recorded, determining can be by described in
Binding information is uploaded to the data transfer path of Cloud Server 0.
Optionally, before having bound internet of things equipment 1 and obtaining the binding information of internet of things equipment 2 to be bound, the place
The step of reason device realizes following method when performing described program:
The internet of things equipment 1 of having bound has bound internet of things equipment progress ad hoc network, and root by LAN and other
According to ad hoc network situation, determine by the routing iinformation bound internet of things equipment 1 and be connected to Cloud Server 0.
Optionally, the data transfer path for determining that the binding information can be uploaded to Cloud Server 0, the processing
The step of device realizes following method when performing described program:
According to the routing iinformation, bind whether internet of things equipment 1 may be coupled directly to Cloud Server 0 described in judgement,
If so, internet of things equipment 1 has been bound to the path of Cloud Server 0 as determining data transfer path using described;Otherwise it presses
According to shortest path principle, according to routing iinformation, the data transfer path is determined.
Optionally, judge it is described bound internet of things equipment 1 and may be coupled directly to Cloud Server 0 when, the processing
The step of device realizes following method when performing described program:
The networking state of internet of things equipment 1 has been bound described in detection;
When detecting failed cluster, the binding information is stored, and after networking is detected, the binding of storage is believed
Breath is sent to Cloud Server 0.
Optionally, after the binding information is uploaded to the Cloud Server 0 with bindings, the processing
The step of device realizes following method when performing described program:
When the binding response message for receiving the return of Cloud Server 0, the binding response message is sent to and described waits to tie up
Earnest networked devices 2.
In the 8th embodiment of the present invention, a kind of computer readable storage medium is provided, on the storage medium
The step of being stored with computer program, following method realized when described program is executed by processor:
Internet of things equipment 2 to be bound receives the bind request for having bound the initiation of internet of things equipment 1, and please according to the binding
It asks, binding information is reported to and described has bound internet of things equipment 1.
Optionally, the step of following method is also realized when described program is executed by processor:
The internet of things equipment to be bound 2 receives the binding response message for having bound the feedback of internet of things equipment 1.
In the 9th embodiment of the present invention, a kind of computer equipment is provided, which is characterized in that including memory, place
It manages device and is stored in the computer program that can be run on the memory and on the processor, described in the processor execution
The step of following method is realized during program:
Internet of things equipment 2 to be bound receives the bind request for having bound the initiation of internet of things equipment 1, and please according to the binding
It asks, binding information is reported to and described has bound internet of things equipment 1.
Optionally, the step of realizing following method when the processor performs described program:
The internet of things equipment to be bound 2 receives the binding response message for having bound the feedback of internet of things equipment 1.
In the tenth embodiment of the present invention, with reference to specifically used scene, binding Internet of Things provided by the invention is set
Standby method is further elaborated.
Scene 1, refers to Fig. 1, and long-press bindings switch makes internet of things equipment 2 bind in treating binding state, short
Make to have bound internet of things equipment 1 by bindings switch and be in binding state.The ad hoc network module 6 of internet of things equipment 1 is bound
By LAN, with described after binding internet of things equipment 2 establishes connection, bind request is initiated to internet of things equipment 2 to be bound,
And receive the binding information that internet of things equipment 2 to be bound is reported according to bind request.In the state of the connection of no external network,
Internet of things equipment 1 has been bound first to store binding information, until have external network connect state, bound Internet of Things
Equipment 1 determines to be directly to Cloud Server 0, has then bound internet of things equipment 1 and passed through data forwarding according to routing iinformation
Receiving module carries out data interaction with Cloud Server 0, binding information is sent to Cloud Server 0, Cloud Server 0 completes binding
Afterwards, binding result is given to the bind request initiation module 3 for having bound internet of things equipment 1, binding by binding response message feedback
Ask initiation module 3 can be by binding response message feedback to internet of things equipment 2 to be bound.The number of internet of things equipment 1 is bound
According to forwarding receiving module 5 in addition to and other bound and the reception of binding information is carried out between internet of things equipment forwarded and then report cloud
Server 0 can also carry out the interaction of the other equipments such as device status data, control data.
Scene 2, refers to Fig. 6, bound internet of things equipment A11 get internet of things equipment 2 to be bound binding letter
After breath, the most short data transmission path that internet of things equipment A11 judges Cloud Server 0 according to the routing iinformation of itself has been bound
It is by having bound internet of things equipment B12, then has bound internet of things equipment A11 and connect binding information by the data forwarding of itself
Module 5 is received to be transmitted to and has bound internet of things equipment B12, bound internet of things equipment B12 follow up oneself routing iinformation and networking
Binding information is sent to Cloud Server 0, after Cloud Server 0 completes binding, binding result is passed through binding response message by state
The bind request initiation module 3 for having bound internet of things equipment B12 is fed back to, has bound numbers of the internet of things equipment B12 by itself
Binding response message be transmitted to bound internet of things equipment A11 according to forwarding receiving module 5, into and bound internet of things equipment
A11 gives binding response message feedback to internet of things equipment 2 to be bound.
Obviously, the present invention, which need not rely on the binding procedure of internet of things equipment mobile phone, can carry out bindings, Internet of Things
The interconnection that equipment passes through equipment room so that connection network is not necessarily limited by wifi routers, expands network connection physical distance, and one
A internet of things equipment from network interruption open when, other impacted Internet of Things equipment can be in nothing with automatic network-building, bound device
It is operated during network.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage
Medium can include:ROM, RAM, disk or CD etc..
In short, the foregoing is merely illustrative of the preferred embodiments of the present invention, it is not intended to limit the scope of the present invention.
All within the spirits and principles of the present invention, any modification, equivalent replacement, improvement and so on should be included in the present invention's
Within protection domain.
Claims (22)
- A kind of 1. method for binding internet of things equipment, which is characterized in that including:The binding information that internet of things equipment obtains internet of things equipment to be bound has been bound, and the binding information is uploaded to has had The server of bindings function.
- 2. the method for binding internet of things equipment as described in claim 1, which is characterized in that the internet of things equipment of having bound obtains Before the binding information for taking internet of things equipment to be bound, further include:By LAN, establish and connect with the internet of things equipment to be bound.
- 3. the method for binding internet of things equipment as described in claim 1, which is characterized in that the internet of things equipment of having bound obtains The binding information of internet of things equipment to be bound is taken, including:The internet of things equipment of having bound initiates bind request, and object to be bound described in reception to the internet of things equipment to be bound The binding information that networked devices are reported according to the bind request.
- 4. the method for binding internet of things equipment as described in claim 1, which is characterized in that described to upload the binding information To before there is the server of bindings, including:For the internet of things equipment of having bound according to the routing iinformation for being connected to the server formerly recorded, determining can be by described in Binding information is uploaded to the data transfer path of the server.
- 5. the method for binding internet of things equipment as claimed in claim 4, which is characterized in that bound internet of things equipment described Before the binding information for obtaining internet of things equipment to be bound, further include:It is described bound internet of things equipment by LAN and other bound internet of things equipment and carried out ad hoc network, and according to from group Net situation is determined by the routing iinformation bound internet of things equipment and be connected to the server.
- 6. the method for internet of things equipment is bound as described in claim 4 or 5, which is characterized in that described to determine to tie up described Determine the data transfer path that information is uploaded to the server, including:According to the routing iinformation, bind whether internet of things equipment may be coupled directly to the server described in judgement, if so, Then internet of things equipment has been bound to the path of the server as determining data transfer path using described;Otherwise according to path Most short principle according to routing iinformation, determines the data transfer path.
- 7. the method for binding internet of things equipment as claimed in claim 6, which is characterized in that judging described to have bound Internet of Things When net equipment may be coupled directly to the server, further include:The networking state of internet of things equipment has been bound described in detection;When detecting failed cluster, the binding information is stored, and after networking is detected, the binding information of storage is sent out It is sent to the server.
- 8. the method for binding internet of things equipment as described in claim 1, which is characterized in that be uploaded to by the binding information After there is the server of bindings, further include:When the binding response message for receiving the server return, the binding response message is sent to the object to be bound Networked devices.
- A kind of 9. method for binding internet of things equipment, which is characterized in that including:The bind request of internet of things equipment initiation has been bound in internet of things equipment reception to be bound, and according to the bind request, will Binding information has bound internet of things equipment described in reporting to.
- 10. the method for binding internet of things equipment as claimed in claim 9, which is characterized in that further include:The internet of things equipment to be bound has bound the binding response message that internet of things equipment is fed back described in receiving.
- 11. a kind of device for binding internet of things equipment, which is characterized in that including:Data forwarding receiving module for obtaining the binding information of internet of things equipment to be bound, and the binding information is uploaded Extremely there is the server of bindings.
- 12. the device of binding internet of things equipment as claimed in claim 11, which is characterized in that further include:Ad hoc network module for passing through LAN, is established with the internet of things equipment to be bound and is connected.
- 13. the device of binding internet of things equipment as claimed in claim 11, which is characterized in that further include:Bind request initiation module for initiating bind request to the internet of things equipment to be bound, and is waited to bind described in reception The binding information that internet of things equipment is reported according to the bind request.
- 14. the device of binding internet of things equipment as claimed in claim 12, which is characterized in that the ad hoc network module is also used In determining the binding information to be uploaded to the clothes according to the routing iinformation for being connected to the server formerly recorded The data transfer path of business device.
- 15. the device of binding internet of things equipment as claimed in claim 11, which is characterized in that further include:Binding information memory module, for storing the binding information.
- 16. the device of the binding internet of things equipment as described in any one in claim 11 to 15, which is characterized in that the dress It puts including internet of things equipment.
- 17. a kind of device for binding internet of things equipment, which is characterized in that including:Processing module is bound, for receiving the bind request for having bound internet of things equipment initiation, and according to the bind request, Binding information is reported to and described has bound internet of things equipment.
- 18. the device of binding internet of things equipment as claimed in claim 17, which is characterized in that the bound processing module is also For receiving the binding response message for having bound internet of things equipment feedback.
- 19. a kind of computer readable storage medium, which is characterized in that computer program is stored on the storage medium, it is described The step of any one the method in claim 1 to 8 is realized when program is executed by processor.
- 20. a kind of computer equipment, which is characterized in that including memory, processor and be stored on the memory and can be The computer program run on the processor, the processor are realized any one in claim 1 to 8 when performing described program The step of item the method.
- 21. a kind of computer readable storage medium, which is characterized in that computer program is stored on the storage medium, it is described The step of any one the method in claim 9 to 10 is realized when program is executed by processor.
- 22. a kind of computer equipment, which is characterized in that including memory, processor and be stored on the memory and can be The computer program run on the processor, the processor are realized arbitrary in claim 9 to 10 when performing described program The step of one the method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810178649.0A CN108200216A (en) | 2018-03-05 | 2018-03-05 | A kind of method, apparatus, storage medium and equipment for binding internet of things equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810178649.0A CN108200216A (en) | 2018-03-05 | 2018-03-05 | A kind of method, apparatus, storage medium and equipment for binding internet of things equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108200216A true CN108200216A (en) | 2018-06-22 |
Family
ID=62595037
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810178649.0A Pending CN108200216A (en) | 2018-03-05 | 2018-03-05 | A kind of method, apparatus, storage medium and equipment for binding internet of things equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108200216A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110677474A (en) * | 2019-09-25 | 2020-01-10 | 中土智能科技(广州)有限公司 | Equipment adding method, device, equipment and storage medium |
CN111970167A (en) * | 2020-08-04 | 2020-11-20 | 广州大学 | End-to-end cloud service delay calculation method |
WO2021077930A1 (en) * | 2019-10-22 | 2021-04-29 | 珠海格力电器股份有限公司 | Automatic networking method, apparatus, device, and readable medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102802280A (en) * | 2012-08-24 | 2012-11-28 | 江苏安文电子科技有限公司 | Wireless grid network |
CN105872888A (en) * | 2016-03-24 | 2016-08-17 | 东莞市斯惠威电子科技有限公司 | Intelligent inducing, calling and tracking sound box system based on mobile internet and internet of things |
CN106331164A (en) * | 2016-09-30 | 2017-01-11 | 广东美的制冷设备有限公司 | Method and device for fast building the Internet of Things |
CN106851608A (en) * | 2015-12-07 | 2017-06-13 | 宏碁股份有限公司 | Network setting method and system for networking device |
CN107148089A (en) * | 2017-06-30 | 2017-09-08 | 杭州师范大学钱江学院 | A kind of greenhouse corps environmental information wireless networking monitoring system of ZigBee technology |
-
2018
- 2018-03-05 CN CN201810178649.0A patent/CN108200216A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102802280A (en) * | 2012-08-24 | 2012-11-28 | 江苏安文电子科技有限公司 | Wireless grid network |
CN106851608A (en) * | 2015-12-07 | 2017-06-13 | 宏碁股份有限公司 | Network setting method and system for networking device |
CN105872888A (en) * | 2016-03-24 | 2016-08-17 | 东莞市斯惠威电子科技有限公司 | Intelligent inducing, calling and tracking sound box system based on mobile internet and internet of things |
CN106331164A (en) * | 2016-09-30 | 2017-01-11 | 广东美的制冷设备有限公司 | Method and device for fast building the Internet of Things |
CN107148089A (en) * | 2017-06-30 | 2017-09-08 | 杭州师范大学钱江学院 | A kind of greenhouse corps environmental information wireless networking monitoring system of ZigBee technology |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110677474A (en) * | 2019-09-25 | 2020-01-10 | 中土智能科技(广州)有限公司 | Equipment adding method, device, equipment and storage medium |
CN110677474B (en) * | 2019-09-25 | 2022-05-13 | 中土智能科技(广州)有限公司 | Equipment adding method, device, equipment and storage medium |
WO2021077930A1 (en) * | 2019-10-22 | 2021-04-29 | 珠海格力电器股份有限公司 | Automatic networking method, apparatus, device, and readable medium |
CN111970167A (en) * | 2020-08-04 | 2020-11-20 | 广州大学 | End-to-end cloud service delay calculation method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103905463B (en) | Connecting management and control method suitable for multi-path transmitting | |
CN104967596B (en) | User terminal and internet of things equipment binding, the implementation method to communicate and device | |
CN104980514B (en) | A kind of remote playing control method and device of wireless sound box | |
CN107360635A (en) | A kind of data transmission method, device, terminal and computer-readable recording medium | |
CN108200216A (en) | A kind of method, apparatus, storage medium and equipment for binding internet of things equipment | |
CN107454655A (en) | A kind of connection method of smart machine and system | |
CN102983942B (en) | Data transmission method and equipment | |
CN109526020A (en) | Data transmission method and Related product | |
CN104521220B (en) | Message processing method and equipment | |
CN104662995A (en) | Method, device and system for connecting to network | |
CN106464447B (en) | Error code information transmitting methods and the network equipment and communication system | |
US10149134B2 (en) | Near field discovery method, user equipment, and storage medium | |
CN111193756B (en) | VXLAN tunnel load balancing method and related equipment | |
CN104247480B (en) | Communication equipment, communication means, communication system, control device | |
CN114650569A (en) | Method and device for data distribution in self-return IAB network and network side equipment | |
CN104641679A (en) | Method, apparatus and system for wireless network distribution | |
CN107277756A (en) | A kind of data transmission method, device, terminal and computer-readable recording medium | |
CN106027599B (en) | Data transmission channel establishing method, system and server | |
US10708181B2 (en) | Establish a source routing tree for gateway node in a mesh network | |
CN105450697B (en) | A kind of more equipment are same to shield sharing method, device and server | |
WO2015070377A1 (en) | Multiparty call method and apparatus | |
CN105847275A (en) | Data transmission channel creating method, system and server | |
CN110199504A (en) | The method that the enhancing of switching fabric in the central office delivering point of broadband access network for telecommunication network uses | |
CN106534126A (en) | Data communication method and device, trunking system, and repeater | |
CN113810274A (en) | Route processing method and related equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180622 |