A kind of correlating method, device, electronic equipment and the system of equipment and account
Technical field
This specification embodiment be related to field of communication technology more particularly to the correlating method of a kind of equipment and account, device,
Electronic equipment and system.
Background technology
Internet of Things is fast-developing as generation information technology, meanwhile, the internet of things equipment that Internet of Things derives
Gradually popularized in people’s lives, work.Currently, more and more internet of things equipment can pass through the account with user terminal
Association is established, to realize that the information (user's related service information or application data information) of internet of things equipment and user terminal is handed over
Mutually, it might even be possible to one or more internet of things equipment be controlled by user terminal (or application of user terminal).
The account foundation of traditional internet of things equipment and user terminal is associated with, and is by scanning means by user terminal to object
The encoding of graphs of networked devices is scanned, to get the facility information of internet of things equipment, then, user terminal by itself
Account number and the facility information that gets be uploaded to server, server establishes the pass of the account number and facility information
Connection, to realize to the account of user terminal and being associated with for equipment.
However, in above-mentioned association scheme, need to be scanned encoding of graphs by scanning means, in this way, compiling figure
The generation of code and the scanning accuracy of scanning means have certain requirement.
Invention content
This specification embodiment provides a kind of correlating method, device, electronic equipment and the system of equipment and account, to solve
The problem of certainly equipment is excessively limited to the realization for being associated with scheme of account in the prior art.
In order to solve the above-mentioned technical problem, this specification embodiment uses following technical proposals:
In a first aspect, this specification embodiment provides a kind of correlating method of equipment and account, including:
Internet of things equipment uploads the facility information for characterizing the internet of things equipment to server;
The server generates the first verification information according to the facility information received, and returns to the Internet of Things
Equipment;
The internet of things equipment sends first verification information;
After user terminal obtains the second verification information based on first verification information, by second verification information and
The account number of user terminal is uploaded to the server;
The server searches the facility information to match according to second verification information, and the equipment found is believed
Breath is associated with the account number.
Second aspect, this specification embodiment provide a kind of correlating method of equipment and account, including:
Internet of things equipment uploads the facility information for characterizing the internet of things equipment to Cloud Server;
Receive the first verification information that server is returned according to the facility information;
First verification information is sent, in order to receive the account number and base of user equipment transmission in server
After first verification information obtains the second verification information, facility information is searched according to second verification information, and will look into
The facility information found is associated with account number foundation.
The third aspect, this specification embodiment provide a kind of correlating method of equipment and account, including:
Server receives the facility information that internet of things equipment uploads, and the facility information characterizes the internet of things equipment;
The first verification information is generated according to the facility information, returns to the internet of things equipment;
Receive the account number that user terminal is sent and the second verification information obtained based on first verification information;
The facility information to match is searched according to second verification information, by the facility information and the account number
It is associated.
Fourth aspect, this specification embodiment provide a kind of correlating method of equipment and account, including:
User terminal receives the second verification information, wherein second verification information is sent based on internet of things equipment
What the first verification information obtained, first verification information is the characterization Internet of Things that server is uploaded according to internet of things equipment
What the facility information of equipment generated;
Account number and second verification information are sent to server, in order to which the server is according to described second
Verification information searches the facility information to match, and the facility information is associated with account number.
5th aspect, this specification embodiment provide a kind of interconnected system of equipment and account, including:Internet of Things is set
Standby, server and user terminal;Wherein,
The internet of things equipment uploads the facility information for characterizing the internet of things equipment to Cloud Server, receives server
According to the first verification information that the facility information returns, first verification information is sent;
The server receives the facility information that internet of things equipment uploads, and the first verification is generated according to the facility information
Information returns to the internet of things equipment, and after the internet of things equipment sends first verification information, it is whole to receive user
The account number sent and the second verification information obtained based on first verification information are held, is believed according to second verification
Breath searches the facility information to match, and the facility information and the account number are associated;
The user terminal receives the second verification information, sends account number and second verification information to service
Device.
6th aspect, this specification embodiment provide a kind of internet of things equipment, including:
Uploading module uploads the facility information for characterizing the internet of things equipment to server;
Receiving module receives the first verification information that server is returned according to the facility information;
Playing module sends first verification information, in order to receive the account of user equipment transmission in server
After identifying and obtaining the second verification information based on first verification information, equipment letter is searched according to second verification information
Breath, and the facility information found is associated with account number foundation.
7th aspect, this specification embodiment provide a kind of server, including:
Receiving module, receives the facility information that internet of things equipment uploads, and the facility information characterizes the internet of things equipment;
Sending module generates the first verification information according to the facility information, returns to the internet of things equipment;
The receiving module also receives account number and obtained based on first verification information that user terminal is sent
The second verification information;
Relating module searches the facility information to match according to second verification information, by the facility information and institute
Account number is stated to be associated.
Eighth aspect, this specification embodiment provide a kind of user terminal, including:
Receiving module receives the second verification information, wherein second verification information is sent based on internet of things equipment
What the first verification information obtained, first verification information is the characterization Internet of Things that server is uploaded according to internet of things equipment
What the facility information of equipment generated;
Sending module sends account number and second verification information to server, in order to the server root
The facility information to match is searched according to second verification information, and the facility information is associated with account number.
9th aspect, this specification embodiment provide a kind of internet of things equipment, including:Memory, processor and storage
On the memory and the computer program that can run on the processor, the computer program are held by the processor
Row:
The facility information for characterizing the internet of things equipment is uploaded to Cloud Server;
Receive the first verification information that server is returned according to the facility information;
First verification information is sent, in order to receive the account number and base of user equipment transmission in server
After first verification information obtains the second verification information, facility information is searched according to second verification information, and will look into
The facility information found is associated with account number foundation.
Tenth aspect, this specification embodiment provide a kind of server, including:Memory, processor and it is stored in institute
The computer program that can be run on memory and on the processor is stated, the computer program is executed by the processor:
The facility information that internet of things equipment uploads is received, the facility information characterizes the internet of things equipment;
The first verification information is generated according to the facility information, returns to the internet of things equipment;
Receive the account number that user terminal is sent and the second verification information obtained based on first verification information;
The facility information to match is searched according to second verification information, by the facility information and the account number
It is associated.
Tenth on the one hand, and this specification embodiment provides a kind of user terminal, including:Memory, processor and storage
On the memory and the computer program that can run on the processor, the computer program are held by the processor
Row:
Receive the second verification information, wherein second verification information is the first verification sent based on internet of things equipment
What information obtained, first verification information is setting for the characterization internet of things equipment that server is uploaded according to internet of things equipment
What standby information generated;
Account number and second verification information are sent to server, in order to which the server is according to described second
Verification information searches the facility information to match, and the facility information is associated with account number.
12nd aspect, this specification embodiment provides a kind of computer readable storage medium, described computer-readable
The one or more programs of storage medium storage, one or more of programs are when the internet of things equipment for being included multiple application programs
When execution so that the internet of things equipment executes following operation:
The facility information for characterizing the internet of things equipment is uploaded to Cloud Server;
Receive the first verification information that server is returned according to the facility information;
First verification information is sent, in order to receive the account number and base of user equipment transmission in server
After first verification information obtains the second verification information, facility information is searched according to second verification information, and will look into
The facility information found is associated with account number foundation.
13rd aspect, this specification embodiment provides a kind of computer readable storage medium, described computer-readable
The one or more programs of storage medium storage, one or more of programs are executed when by the server including multiple application programs
When so that the server executes following operation:
The facility information that internet of things equipment uploads is received, the facility information characterizes the internet of things equipment;
The first verification information is generated according to the facility information, returns to the internet of things equipment;
Receive the account number that user terminal is sent and the second verification information obtained based on first verification information;
The facility information to match is searched according to second verification information, by the facility information and the account number
It is associated.
Fourteenth aspect, this specification embodiment provides a kind of computer readable storage medium, described computer-readable
The one or more programs of storage medium storage, one or more of programs are worked as to be held by the user terminal including multiple application programs
When row so that the user terminal executes following operation:
Receive the second verification information, wherein second verification information is the first verification sent based on internet of things equipment
What information obtained, first verification information is setting for the characterization internet of things equipment that server is uploaded according to internet of things equipment
What standby information generated;
Account number and second verification information are sent to server, in order to which the server is according to described second
Verification information searches the facility information to match, and the facility information is associated with account number.
Above-mentioned at least one technical solution that this specification embodiment uses can reach following advantageous effect:
Through the above technical solutions, internet of things equipment, to server uploading device information, server is given birth to according to facility information
At the first verification information, and return to internet of things equipment;Internet of things equipment sends the first verification information, user terminal be based on this
After one verification information obtains the second verification information, the account number of the second verification information and user terminal is uploaded to service
Device, server search the facility information that matches according to the second verification information, and by the facility information found and account number
It is associated.In this association process, Quick Response Code transmission equipment information need not be used, but by the first verification information and
Second verification information avoids being associated with scheme in the prior art come the identification for realizing facility information and operation associated legal verification
Limitation, promoted association scheme flexibility, accuracy and validity.
Description of the drawings
In order to illustrate more clearly of this specification embodiment or technical solution in the prior art, below will to embodiment or
Attached drawing needed to be used in the description of the prior art is briefly described, it should be apparent that, the accompanying drawings in the following description is only
Some embodiments described in this specification embodiment are not paying creative labor for those of ordinary skill in the art
Under the premise of dynamic property, other drawings may also be obtained based on these drawings.
Fig. 1 a are one of the correlating method schematic diagram of equipment and account that this specification embodiment provides;
Fig. 1 b are the two of the correlating method schematic diagram of equipment and account that this specification embodiment provides;
Fig. 1 c are the three of the correlating method schematic diagram of equipment and account that this specification embodiment provides;
Fig. 2 is the four of the correlating method schematic diagram of equipment and account that this specification embodiment provides;
Fig. 3 is the five of the correlating method schematic diagram of equipment and account that this specification embodiment provides;
Fig. 4 is the six of the correlating method schematic diagram of equipment and account that this specification embodiment provides;
Fig. 5 is the interconnected system schematic diagram of equipment and account that this specification embodiment provides;
Fig. 6 is the hardware architecture diagram for the electronic equipment that this specification embodiment provides;
Fig. 7 is one of the associated apparatus structural schematic diagram of equipment and account that this specification embodiment provides;
Fig. 8 is the associated apparatus second structural representation of equipment and account that this specification embodiment provides;
Fig. 9 is the associated apparatus third structural representation of equipment and account that this specification embodiment provides.
Specific implementation mode
To keep the purpose, technical scheme and advantage of this specification embodiment clearer, have below in conjunction with this specification
The technical solution of this specification embodiment is clearly and completely described in body embodiment and corresponding attached drawing.Obviously, described
Embodiment be only this specification a part of the embodiment, instead of all the embodiments.The embodiment of base in this manual, this
The every other embodiment that field those of ordinary skill is obtained without making creative work, belongs to this explanation
The range of book embodiment protection.
Below in conjunction with attached drawing, the technical solution that each embodiment of this specification provides is described in detail.
Embodiment one
Referring to Fig.1 shown in a, for the correlating method schematic diagram of equipment and account that this specification embodiment provides, this method
Executive agent include:Internet of things equipment, server and user terminal;Wherein, user terminal can be specifically mobile phone, tablet
Computer, PC etc.;Internet of things equipment can be specifically voice playing device, intelligent appliance (such as smart television, intelligent sound
Case, intelligent air condition etc.), (Intelligent bracelet, smartwatch, virtual reality (Virtual Reality, VR) are set intelligent wearable device
Standby, augmented reality (Augmented Reality, AR) equipment) etc.;Server can be and multiple above-mentioned user terminals and multiple
Above-mentioned internet of things equipment is corresponding, and can provide background service for above-mentioned user terminal and above-mentioned internet of things equipment.It should
Method mainly includes the following steps that:
Step 102a:Internet of things equipment uploads the facility information for characterizing the internet of things equipment to server.
The facility information is construed as characterizing the equipment identities mark of the internet of things equipment uniqueness
Address (Identification, ID), media access control (Media Access Control, MAC) etc., concrete form can be with
It is random sequence number or random string.
It should be understood that in this specification embodiment, internet of things equipment can be above-mentioned voice playing device, intelligent appliance
Deng.The internet of things equipment can built-in or plug-in communication module, specifically can built-in wireless communication module, such as Wireless Fidelity
(WIreless-Fidelity, WIFI) chip.In this way, internet of things equipment can by radio communication module and server or
Other equipment establishes network link.
Step 104a:The server generates the first verification information according to the facility information received, and returns to
The internet of things equipment.
In this step, the facility information that server is uploaded according to internet of things equipment generates the first verification information, returns to object
Networked devices.In view of subsequent information is transmitted it is possible that intercepting or maliciously changing, which can make
Internet of things equipment is identified for the secondary marker of facility information, can also verify this operation associated whether legal.
It should be understood that in this specification embodiment, the first verification information can be accidental validation information, be given birth to according to preset rules
At random string or stochastic problem.
Step 106a:The internet of things equipment sends first verification information.
It correspondingly, can be by first verification information after the first verification information that internet of things equipment receives that server returns
It is sent to user terminal.Due to not being associated or binding between internet of things equipment and user terminal, network can not be passed through
Communication link carries out information exchange, and therefore, the first verification information of internet of things equipment transmission can be regarded as internet of things equipment and pass through sound
Wave data broadcasting plays the first verification information.Here sonic data includes the sonic data of audible wave frequency section and non-audible
The sonic data of wave frequency section.
Step 108a:After user terminal obtains the second verification information based on first verification information, described second is tested
The account number of card information and user terminal is uploaded to the server.
User terminal receives the second verification information, which is the first verification sent based on internet of things equipment
What information obtained.
The account number of user terminal can be the account number of the application of user terminal installation or the cell-phone number of user
Code.
Correspondingly, user terminal can be by apparatus for receiving audio reception internet of things equipment broadcasting with acoustic data transmissions
The first verification information, and uploaded together with the account number of user terminal using first verification information as the second verification information
To server;Alternatively, user terminal receives the second verification information for being inputted based on the first verification information of user, and this second is tested
Card information is uploaded to server together with the account number of user terminal.
It should be noted that when the second verification information is inputted by user, input at this time can be understood as passing through
Voice inputs or touch-control input.
Step 110a:The server searches the facility information to match according to second verification information, and will search
To facility information be associated with the account number.
Through the above technical solutions, first, internet of things equipment is believed to server uploading device information, server according to equipment
Breath generates the first verification information, and returns to internet of things equipment;Later, internet of things equipment sends the first verification information, and user is whole
End group, will be on the account number of the second verification information and user terminal after first verification information obtains the second verification information
Be transmitted to server, server searches the facility information to match according to the second verification information, and by the facility information found with
Account number is associated.In this association process, Quick Response Code transmission equipment information need not be used, but is tested by first
Information and the second verification information are demonstrate,proved come the identification for realizing facility information and operation associated legal verification, is avoided in the prior art
The limitation of association scheme promotes flexibility, accuracy and validity, the safety of association scheme.
It should be understood that in this specification embodiment, step 106, which can be executed specifically, is:The internet of things equipment is in audible wave
Frequency range passes through the first verification information described in speech play.
After i.e. internet of things equipment receives the first verification information that server returns, which is converted into energy
Enough voices in audible wave band transmissions play out, which is construed as broadcasting, and is reached a certain level in voice intensity
When, the equipment for having phonetic incepting function in short range can receive.To by this broadcast mode, realize
The transmission of first verification information is played, has evaded Quick Response Code mode and transmits existing limitation.
It should be understood that in this specification embodiment, step 106, which can also be executed specifically, is:The internet of things equipment is can not
Wave frequency section is listened to play first verification information by sonic data.
Internet of things equipment can also be converted to the first verification information received can be in non-audible wave band transmissions
Sonic data plays out, and broadcasting here also is understood as being the forms of broadcasting, in the sonic data of non-audible wave band transmissions
It is the acoustic signals being encoded to the first verification information in non-audible wave band transmissions.When pass through non-audible wave frequency section play sound wave
When data, sonic data can not be heard, but can be received by apparatus for receiving audio.Moreover, in actual playing process
In, in order to prompt user, the acoustic signals that audible wave frequency section may be used carry out the sonic data of these non-audible wave frequency sections
Camouflage.This specification embodiment is defined not to this.
As previously mentioned, the first verification information involved by this specification embodiment can be character string or validation problem,
The other information form with the required verification of this specification embodiment, identification function is not limited in fact yet.Below with character
String and validation problem are described respectively.
-- the first verification information is character string
When first verification information is character string, second verification information is also character string.For example, the first verification
Information is the first character string, and the second verification information is the second character string.Wherein, the first character string can be with the second character string phase
Match, for example, the second character string is the partial character in the first character string, alternatively, the second character string can be the first character string warp
The character obtained after certain conversion process is crossed, alternatively, the first character string can be identical as the second character string, etc..
Server may particularly include when executing the operation of step 104a:
The facility information is handled using the preset algorithm, generates the first character string;It establishes and stores described
The correspondence of first character string and the facility information.
Preset algorithm involved by this specification embodiment can be Hash operation or other can generate character string
Algorithm is defined not to this.The digit of first character string does not limit, and can be number, letter and spcial character
Arbitrary form combination.First character string is generated according to facility information, therefore, with facility information there are correspondence,
Server is stored the correspondence in case follow-up use.
Correspondingly,
Server may particularly include when executing step 110a:
The first character string in the server is traversed according to second character string;When in the server exist and institute
When stating the first character string that the second character string matches, facility information corresponding with first character string is searched.
Server is after receiving the second character string, first, the first character of itself storage is traversed according to the second character string
String, only when traversing the first character string to match with second character string, it may be verified that it is legal that this is operation associated.
Then, facility information corresponding with the first character string can be just further searched for, realizes the identification of facility information, i.e., by the first word
Symbol string is reduced to facility information.Not only realized as a result, to operation associated legal verification, but it is recognizable be reduced into facility information with
Realize association.
Second character string is that user terminal is obtained based on the first character string that internet of things equipment plays, specifically:
By the first character string of speech play, user terminal receives user and passes through voice input or touch-control internet of things equipment
Second character string of input, needs exist for the participation of user, voice that the first character string heard is sent out by user or
Touch-control input on touch panel, user terminal is inputed to as the second character string;Alternatively,
Internet of things equipment plays the first character by sonic data (acoustic signals for herein referring to non-audible wave band transmissions)
String, user terminal using the sonic data received as the second character string, can not need here user participation, user terminal with
Internet of things equipment carries out the transmission of acoustic signals by the audio R-T unit of itself.
-- the first verification information is validation problem
When first verification information is validation problem, second verification information is to receive for the verification
The input answer of problem.
Server may particularly include when executing the operation of step 104a:
The facility information is handled using the preset algorithm, validation problem is generated and the corresponding verification is asked
The model answer of topic;Establish and store the correspondence of model answer and the facility information.
Here preset algorithm is same as above, and can be hash algorithm or other similar can generate various types of verifications and ask
The algorithm of topic, this specification embodiment are defined not to this.
Unlike the algorithm of above-mentioned generation character string, corresponding generation model answer is also needed in this step and is therefore tested
Card problem is that pairing generates with model answer, and each validation problem is corresponding with unique model answer.But server is not
Validation problem is stored, but stores the correspondence of model answer and facility information.
Correspondingly,
Server may particularly include when executing step 110a:
The model answer in the server is traversed according to the input answer;It is answered with input when existing in the server
When the model answer that case matches, facility information corresponding with the model answer is searched from correspondence.
After server receives input answer, whether first, it is correct to verify the input answer, i.e., storage in traversal server
Model answer, the input of (answer content is identical or answer content is related) of only being matched with model answer when traversing answers
When case, it may be verified that it is legal that this is operation associated.Then, facility information corresponding with model answer can be just further searched for,
The identification for realizing facility information, i.e., be reduced to facility information by model answer.It had both realized and legal had been tested to operation associated as a result,
Card, and can recognize that and be reduced into facility information to realize association.
The input answer is that the validation problem that user terminal is played based on internet of things equipment obtains, specifically:
For internet of things equipment by speech play validation problem, it is defeated by voice input or touch-control that user terminal receives user
The input answer entered, needs exist for the participation of user, by the validation problem heard after the understanding of user (such as simple meter
Calculation or reasoning), the voice sent out by user or the touch-control input on touch panel input to use as input answer
Family terminal;Alternatively,
Internet of things equipment plays validation problem by sonic data (acoustic signals for herein referring to non-audible wave band transmissions),
User terminal has artificial intelligence function, the sonic data received can be resolved to input answer, can need not used here
Family participates in, and user terminal carries out the transmission of acoustic signals with internet of things equipment by the audio R-T unit of itself.
Referring to Fig.1 shown in b, it is contemplated that internet of things equipment needs by radio communication with server or other equipment build by module
Vertical communication link, just can be to server uploading device information, therefore, before step 102a, which further includes connection
The process of net.In view of internet of things equipment may be the easy smart machine of comparison, for example, having the socket of WIFI chips, raising
Acoustic equipment, Intelligent bracelet etc..It is possible to network in such a way that a key configures (SmartConfig).Specifically include with
Lower step:
Step 102b:Internet of things equipment receives the data packet that user terminal is sent, and target access is carried in the data packet
The access of network configures parameter.
Access configuration parameter includes at least:The network identity and network cipher of target access network.
Data packet can be understood as the user datagram that mobile device is sent with predeterminated frequency in local WIFI network
Agreement (User Datagram Protocol, UDP) sequence of data packet.
Step 104b:The internet of things equipment according to parsed from the data packet acquisition the access configure parameter into
Row networking operation.
Specifically, internet of things equipment can obtain and imply wherein by being parsed to the UPD sequence of data packet received
Access configure parameter, according to the network identity and network cipher of acquisition, selection target accesses network and carries out networking operation.
Referring to Fig.1 shown in c, in networking process, the method further includes:
Step 102c:The internet of things equipment is connect by sonic data to user terminal transmission in non-audible wave frequency section
Enter configuration progress.
After internet of things equipment parses and obtains access configuration parameter, that is, start to execute distribution processing.Due to Internet of Things at this time
Net equipment does not access network, can not carry out information exchange by network communication, also just can not be real by way of network communication
Now access the effective Feedback of configuration progress;Simultaneously, it is contemplated that the limitation of the hardware configuration of internet of things equipment may cannot achieve word
The functions such as curtain display, speech play.In order to realize access configuration progress effective Feedback, the internet of things equipment can by
What non-audible wave frequency section played carries specific information sonic data to mobile device transmission access configuration progress.
Wherein, the access configuration progress includes:Be connected to the relevant distribution progress of this process of target access network,
For example, the progress that the data packet received is parsed, as a result, the network identity and network cipher that are obtained according to parsing carry out
Progress, result of networking etc..
For the step in specific implementation, current access configuration progress is encoded to sound by internet of things equipment as specific information
Wave signal is sent to it at a distance of closer one or more user terminals (can be mobile device at this time).Optionally, Internet of Things
Equipment can be played the access transmitted in the form of sonic data by the audio playing apparatus of itself and configure progress, in order to user's end
End can receive sonic data by the audio collecting device of itself, parse the sonic data and obtain access configuration therein
Progress, and access configuration progress is shown.Specifically, user terminal can reflect access configuration by screen shows
Word, the image information of progress, alternatively, can be played by audio playing apparatus such as loud speakers can reflect access configuration progress
Voice.
It, can to mobile device feedback by sonic data during internet of things equipment distribution by the technical solution
Reflect that the access of distribution progress configures progress, in order to which mobile device effectively shows access configuration progress.To be promoted
The promptness and accuracy of distribution progress feedback avoid the distribution progress of internet of things equipment from feeding back inaccurate and non-intuitive
Problem.
It should be understood that in this specification embodiment, the first involved verification information is accidental validation information, then, when the
One verification information is the first character string, and when the second verification information is the second character string, the first character string and the second character string can be
Identical random string.When the first verification information is validation problem, the second verification information is to receive for the verification
When the input answer of problem, validation problem is stochastic problem, and input answer is the input answer for the stochastic problem.
Embodiment two
It is the correlating method schematic diagram of equipment and account that this specification embodiment provides with reference to shown in Fig. 2, this method
Executive agent is internet of things equipment, which can be regarded as module connecting internet or local by radio communication
The electronic equipment of net, this method mainly include the following steps that:
Step 202:The facility information of characterization internet of things equipment is uploaded to Cloud Server.
Internet of things equipment can select that the facility information of internet of things equipment uniqueness can be characterized according to the hardware condition of itself.
Step 204:Receive the first verification information that server is returned according to the facility information.
Step 206:Send first verification information.
Internet of things equipment receives the first verification information that server returns and first verification information is passed through sound wave later
Data play out, in order to which user terminal obtains the second verification information based on the first verification information received, and together with
The account number of family terminal is uploaded to server and carries out being associated with for facility information and account number, actually to internet of things equipment
It is associated with the account of user terminal.
Optionally, step 206, which can be executed specifically, is:The internet of things equipment passes through in audible wave frequency section described in speech play
First verification information.To by this broadcast mode, realize the broadcasting of the transmission to the first verification information, existing skill is evaded
Quick Response Code mode present in art transmits existing limitation, promotes associated flexibility, validity and safety.
Optionally, step 206, which can be executed specifically, is:The internet of things equipment is broadcast in non-audible wave frequency section by sonic data
Put first verification information.To by this broadcast mode, realize the broadcasting of the transmission to the first verification information, evade
Quick Response Code mode existing in the prior art transmits existing limitation, promotes association flexibility, validity and safety.
Optionally, before step 202, further include:
The internet of things equipment receives the data packet that user terminal is sent, and target access network is carried in the data packet
Access configuration parameter;The internet of things equipment configures parameter according to the access for parsing acquisition from the data packet and is joined
Net operation.
Optionally, in internet of things equipment networking process, the method further includes:The internet of things equipment is in non-audible wave
Frequency range sends access configuration progress by sonic data to the user terminal.
It can reflect that the access of distribution progress configures progress to mobile device feedback by sonic data, in order to which movement is set
It is standby that access configuration progress is effectively shown.To improve the promptness and accuracy of distribution progress feedback, avoid object
The distribution progress feedback inaccuracy and non-intuitive problem of networked devices.
It should be understood that in this specification embodiment, the first involved verification information is accidental validation information.
With reference to shown in Fig. 3, for the correlating method of equipment and account that this specification embodiment provides, the execution master of this method
Body is server, is mainly included the following steps that:
Step 302:Server receives the facility information that internet of things equipment uploads.
The facility information characterizes the internet of things equipment.
Step 304:The first verification information is generated according to the facility information, returns to the internet of things equipment.
Step 306:Receive the account number that user terminal is sent and obtained based on first verification information second
Verification information.
Step 308:Search the facility information that matches according to second verification information, by the facility information with it is described
Account number is associated.
Optionally, first verification information is the first character string, and second verification information is the second character string;
Step 304 specifically can perform:The facility information is handled using the preset algorithm, generates the first word
Symbol string;Establish and store the correspondence of first character string and the facility information.
Correspondingly,
Step 308 can be executed specifically:The first character string in the server is traversed according to second character string;When
When there is the first character string to match with second character string in the server, search corresponding with first character string
Facility information.
Optionally, first verification information is validation problem, and second verification information is to receive for described
The input answer of validation problem;
Step 304 specifically can perform:The facility information is handled using the preset algorithm, verification is generated and asks
The model answer of topic and the corresponding validation problem;Establish and store the correspondence of model answer and the facility information;
Correspondingly,
Step 308 can be executed specifically:The model answer in the server is traversed according to the input answer;When described
When there is the model answer to match with input answer in server, searched from correspondence corresponding with the model answer
Facility information.
Optionally, first verification information is accidental validation information.
With reference to shown in Fig. 4, for the correlating method of equipment and account that this specification embodiment provides, the execution master of this method
Body is user terminal, is mainly included the following steps that:
Step 402:User terminal receives the second verification information.
Wherein, second verification information is that the first verification information sent based on internet of things equipment is obtained, described
One verification information is that the facility information for the characterization internet of things equipment that server is uploaded according to internet of things equipment generates.
Step 404:Account number and second verification information are sent to server, in order to the server according to
Second verification information searches the facility information to match, and the facility information is associated with account number.
Optionally, first verification information is accidental validation information.
Through the above technical solutions, internet of things equipment, to server uploading device information, server is given birth to according to facility information
At the first verification information, and return to internet of things equipment;Internet of things equipment sends the first verification information, user terminal be based on this
After one verification information obtains the second verification information, the account number of the second verification information and user terminal is uploaded to service
Device, server search the facility information that matches according to the second verification information, and by the facility information found and account number
It is associated.In this association process, Quick Response Code transmission equipment information need not be used, but by the first verification information and
Second verification information avoids the limitation of association scheme come the identification for realizing facility information and operation associated legal verification,
Promote flexibility, accuracy and validity, the safety of association scheme.
Embodiment three
Referring to Figure 5, it is the interconnected system structural schematic diagram of equipment and account that this specification embodiment provides, this is
It unites and includes mainly:Internet of things equipment 502, server 504 and user terminal 506;Wherein,
The internet of things equipment 502 uploads the equipment for characterizing 502 uniqueness of internet of things equipment to Cloud Server 504
Information receives the first verification information that server 504 is returned according to the facility information, sends first verification information;
The server 504, receives the facility information that internet of things equipment 502 uploads, and the is generated according to the facility information
One verification information returns to the internet of things equipment 502, the internet of things equipment 502 send first verification information it
Afterwards, the account number that user terminal 506 is sent and the second verification information obtained based on first verification information, root are received
The facility information to match is searched according to second verification information, and the facility information and the account number are associated;
The user terminal 506 receives the second verification information, sends account number and second verification information to clothes
Business device 504.
In this specification embodiment, internet of things equipment is given birth to server uploading device information, server according to facility information
At the first verification information, and return to internet of things equipment;Internet of things equipment sends the first verification information, user terminal be based on this
After one verification information obtains the second verification information, the account number of the second verification information and user terminal is uploaded to service
Device, server search the facility information that matches according to the second verification information, and by the facility information found and account number
It is associated.In this association process, Quick Response Code transmission equipment information need not be used, but by the first verification information and
Second verification information avoids being associated with scheme in the prior art come the identification for realizing facility information and operation associated legal verification
Limitation, promoted association scheme flexibility, accuracy and validity.
The internet of things equipment, server and user terminal (its of this specification embodiment are discussed in detail referring to Fig. 6
In, internet of things equipment, server and user terminal can be collectively referred to as electronic equipment).Referring to FIG. 6, in hardware view, the electronics
Equipment includes processor, further includes optionally internal bus, network interface, memory.Wherein, memory may include memory,
Such as high-speed random access memory (Random-Access Memory, RAM), it is also possible to further include nonvolatile memory
(Non-Volatile Memory), for example, at least 1 magnetic disk storage etc..Certainly, which is also possible that other industry
It is engaged in required hardware.
Processor, network interface and memory can be connected with each other by internal bus, which can be industry
Standard architecture (Industry Standard Architecture, ISA) bus, Peripheral Component Interconnect standard
(Peripheral Component Interconnect, PCI) bus or expanding the industrial standard structure (Extended
Industry Standard Architecture, EISA) bus etc..The bus can be divided into address bus, data/address bus,
Controlling bus etc..For ease of indicating, only indicated with a four-headed arrow in Fig. 6, it is not intended that an only bus or one kind
The bus of type.
Memory, for storing program.Specifically, program may include program code, and said program code includes calculating
Machine operational order.Memory may include memory and nonvolatile memory, and provide instruction and data to processor.
Processor is from then operation in corresponding computer program to memory is read in nonvolatile memory, in logical layer
The associated apparatus of equipment and account is formed on face.Processor executes the program that memory is stored, and specifically for executing above
Performed method operation when internet of things equipment, server and the user terminal is respectively as executive agent.
Method disclosed in above-mentioned embodiment Fig. 1 a- embodiment illustrated in fig. 4 such as this specification can be applied in processor, or
Person is realized by processor.Processor may be a kind of IC chip, the processing capacity with signal.During realization,
Each step of the above method can be completed by the integrated logic circuit of the hardware in processor or the instruction of software form.On
The processor stated can be at general processor, including central processing unit (Central Processing Unit, CPU), network
Manage device (Network Processor, NP) etc.;Can also be digital signal processor (Digital Signal Processor,
DSP), application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate
Array (Field-Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or crystalline substance
Body pipe logical device, discrete hardware components.It may be implemented or execute disclosed each method, the step in this specification embodiment
And logic diagram.General processor can be microprocessor or the processor can also be any conventional processor etc..Knot
The step of closing the method disclosed in this specification embodiment can be embodied directly in hardware decoding processor and execute completion, Huo Zheyong
Hardware and software module combination in decoding processor execute completion.Software module can be located at random access memory, flash memory, read-only
The storage medium of this fields such as memory, programmable read only memory or electrically erasable programmable memory, register maturation
In.The storage medium is located at memory, and processor reads the information in memory, and the step of the above method is completed in conjunction with its hardware
Suddenly.
The method that the electronic equipment can also carry out Fig. 1 a- Fig. 4, and realize the associated apparatus of equipment and account in Fig. 1 a- Fig. 4
The function of illustrated embodiment, details are not described herein for this specification embodiment.
Certainly, other than software realization mode, other realization sides are not precluded in the electronic equipment of this specification embodiment
Formula, for example, logical device or software and hardware combining mode etc., that is to say, that the executive agent of following process flow is simultaneously unlimited
Can also be hardware or logical device due to each logic unit.
Example IV
This specification embodiment also provides a kind of computer readable storage medium, the computer-readable recording medium storage
One or more programs, one or more of programs by the internet of things equipment including multiple application programs when being executed so that
The internet of things equipment executes following operation:
The facility information for characterizing the internet of things equipment is uploaded to Cloud Server;
Receive the first verification information that server is returned according to the facility information;
First verification information is sent, in order to receive the account number and base of user equipment transmission in server
After first verification information obtains the second verification information, facility information is searched according to second verification information, and will look into
The facility information found is associated with account number foundation.
This specification embodiment also provides a kind of computer readable storage medium, the computer-readable recording medium storage
One or more programs, one or more of programs by the server including multiple application programs when being executed so that described
Server executes following operation:
The facility information that internet of things equipment uploads is received, the facility information characterizes the internet of things equipment;
The first verification information is generated according to the facility information, returns to the internet of things equipment;
Receive the account number that user terminal is sent and the second verification information obtained based on first verification information;
The facility information to match is searched according to second verification information, by the facility information and the account number
It is associated.
This specification embodiment also provides a kind of computer readable storage medium, the computer-readable recording medium storage
One or more programs, one or more of programs by the user terminal including multiple application programs when being executed so that institute
It states user terminal and executes following operation:
Receive the second verification information, wherein second verification information is the first verification sent based on internet of things equipment
What information obtained, first verification information is setting for the characterization internet of things equipment that server is uploaded according to internet of things equipment
What standby information generated;
Account number and second verification information are sent to server, in order to which the server is according to described second
Verification information searches the facility information to match, and the facility information is associated with account number.
Wherein, the computer readable storage medium, such as read-only memory (Read-Only Memory, ROM), at random
Access memory (Random Access Memory, RAM), magnetic disc or CD etc..
Embodiment five
With reference to shown in Fig. 7, for the structural schematic diagram for the internet of things equipment that this specification embodiment provides, the internet of things equipment
Include mainly:
Uploading module 702 uploads the facility information for characterizing the internet of things equipment to server;
Receiving module 704 receives the first verification information that server is returned according to the facility information;
Sending module 706 sends first verification information.
With reference to shown in Fig. 8, for the structural schematic diagram for the server that this specification embodiment provides, which mainly wraps
It includes:
Receiving module 802, receives the facility information that internet of things equipment uploads, and the facility information characterizes the Internet of Things and sets
It is standby;
Sending module 804 generates the first verification information according to the facility information, returns to the internet of things equipment;
The receiving module 802 also receives account number and be based on first verification information that user terminal is sent
The second obtained verification information;
Relating module 806 searches the facility information that matches according to second verification information, by the facility information with
The account number is associated.
With reference to shown in Fig. 9, for the structural schematic diagram for the user terminal that this specification embodiment provides, the user terminal is main
Including:
Receiving module 902 receives the second verification information, wherein second verification information is sent out based on internet of things equipment
What the first verification information sent obtained, first verification information is the characterization object that server is uploaded according to internet of things equipment
What the facility information of networked devices generated;
Sending module 904 sends account number and second verification information to server, in order to the server
The facility information to match is searched according to second verification information, and the facility information is associated with account number.
In short, the foregoing is merely the preferred embodiment of this specification embodiment, it is not intended to limit this specification
The protection domain of embodiment.It is all this specification embodiment spirit and principle within, made by any modification, equivalent replacement,
Improve etc., it should be included within the protection domain of this specification embodiment.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity,
Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used
Think personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play
It is any in device, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or these equipment
The combination of equipment.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology realizes information storage.Information can be computer-readable instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic tape cassette, tape magnetic disk storage or other magnetic storage apparatus
Or any other non-transmission medium, it can be used for storage and can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
Including so that process, method, commodity or equipment including a series of elements include not only those elements, but also wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that wanted including described
There is also other identical elements in the process of element, method, commodity or equipment.
Each embodiment in this specification embodiment is described in a progressive manner, identical phase between each embodiment
As part just to refer each other, each embodiment focuses on the differences from other embodiments.Especially for
For system embodiment, since it is substantially similar to the method embodiment, so description is fairly simple, related place is referring to method
The part of embodiment illustrates.