[go: up one dir, main page]

CN104967994B - By the method and apparatus of equipment access to LAN - Google Patents

By the method and apparatus of equipment access to LAN Download PDF

Info

Publication number
CN104967994B
CN104967994B CN201410606604.0A CN201410606604A CN104967994B CN 104967994 B CN104967994 B CN 104967994B CN 201410606604 A CN201410606604 A CN 201410606604A CN 104967994 B CN104967994 B CN 104967994B
Authority
CN
China
Prior art keywords
local area
user terminal
equipment
information
area network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410606604.0A
Other languages
Chinese (zh)
Other versions
CN104967994A (en
Inventor
常青
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shanghai Co Ltd
Original Assignee
Tencent Technology Shanghai Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shanghai Co Ltd filed Critical Tencent Technology Shanghai Co Ltd
Priority to CN201410606604.0A priority Critical patent/CN104967994B/en
Publication of CN104967994A publication Critical patent/CN104967994A/en
Application granted granted Critical
Publication of CN104967994B publication Critical patent/CN104967994B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/02Access restriction performed under specific conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

A method of by equipment access to LAN, comprising: user terminal receives the network insertion identification information of the local area network of input;The user terminal obtains the identification parameter of the equipment;The user terminal generates the information carrier for carrying the network insertion identification information, and the information carrier meets the identification parameter, so that the information carrier can only be identified network insertion identification information therein by the equipment;The information carrier is sent to the equipment by the user terminal, so that the equipment accesses the local area network according to the network insertion identification information that the information carrier carries.For the equipment of not input unit, the above method can also make equipment get the network insertion identification information of local area network, and according to the network insertion identification information access to LAN, basis is provided and is prepared to access internet for equipment and realize that other terminals or equipment and the equipment interact.In addition, also providing a kind of device by equipment access to LAN.

Description

By the method and apparatus of equipment access to LAN
Technical field
The present invention relates to internet of things field, more particularly to a kind of method and apparatus by equipment access to LAN.
Background technique
Internet of Things (Internet of Things) is one based on information carriers such as internet, conventional telecommunications nets, is allowed The network concept that all General Physics object implementatio8s that can be independently addressable interconnect.Theoretically, Internet of Things can will nowhere Not end-equipment and facility, pass through various wireless and/or wired long range and/or short distance communication network implementations interconnection Intercommunication.
However, general equipment, in original factory state, there is no access internets, and many equipment are not also defeated Enter device, such as key, touch screen etc., how to be one of urgent need to resolve by the equipment access internet under original factory state Problem.
Summary of the invention
Based on this, it is necessary to provide it is a kind of can be basic by equipment access to LAN to provide equipment access internet Method and apparatus.
A method of by equipment access to LAN, comprising:
User terminal receives the network insertion identification information of the local area network of input;
The user terminal obtains the identification parameter of the equipment;
The user terminal generates the information carrier for carrying the network insertion identification information, and the information carrier meets The identification parameter, so that the information carrier can only be identified network insertion identification information therein by the equipment;
The information carrier is sent to the equipment by the user terminal, so that the equipment is carried according to the information The network insertion identification information of body carrying accesses the local area network.
A method of by equipment access to LAN, comprising the following steps:
Equipment obtains the information carrier for carrying the network insertion identification information of local area network, the information carrier from user terminal Processing was carried out according to the identification parameter of the equipment, so that the information carrier can only identify network therein by the equipment Access identification information;
The equipment identifies the network insertion identification information from the information carrier;
The equipment accesses the router according to the network insertion identification information.
A kind of device by equipment access to LAN, comprising:
Access information receiving module, the network insertion identification information of local area network for receiving input;
Identification parameter obtains module, for obtaining the identification parameter of the equipment;
Information carrier generation module, for generating the information carrier for carrying the network insertion identification information, and the letter Breath carrier meets the identification parameter, so that the information carrier can only be identified that network insertion therein is known by the equipment Other information;
Information carrier sending module, for the information carrier to be sent to the equipment so that the equipment according to The network insertion identification information of the information carrier carrying accesses the local area network.
A kind of device by equipment access to LAN, comprising:
Information carrier obtains module, for obtaining the letter for carrying the network insertion identification information of local area network from user terminal Carrier is ceased, which carried out processing according to the identification parameter of the equipment, so that the information carrier can only be set by described It is standby to identify network insertion identification information therein;
Access information identification module, for identifying the network insertion identification information from the information carrier;
LAN optimization module, for the equipment to be accessed the router according to the network insertion identification information.
The above-mentioned method and apparatus by equipment access to LAN, equipment can obtain the net for carrying local area network from user terminal Network accesses the information carrier of identification information, which carried out processing according to the identification parameter of equipment, so that the information carries Body can only be identified network insertion identification information therein by equipment, and further, equipment can be identified from the information carrier Network insertion identification information;For the equipment of not input unit, the network insertion that can also get local area network is known Other information, and according to the network insertion identification information access to LAN, to access internet for equipment and realize other ends End or equipment and the equipment interact offer basis and prepare.
Detailed description of the invention
Fig. 1 is the schematic diagram of a scenario of the method for the invention by equipment access to LAN in one embodiment;
Fig. 2A is the process that the network insertion identification information of local area network is sent to equipment by user terminal in one embodiment Flow diagram;
Fig. 2 B is that equipment obtains the network insertion identification information of local area network and the process of access to LAN in one embodiment Flow diagram;
Fig. 3 is the flow diagram of the method by equipment access to LAN in one embodiment;
Fig. 4 is the flow diagram of the method by equipment access to LAN in one embodiment;
Fig. 5 is the flow diagram of the method by equipment access to LAN in one embodiment;
Fig. 6 is the flow diagram of the method by equipment access to LAN in one embodiment;
Fig. 7 A is the structural schematic diagram of the device by equipment access to LAN in one embodiment;
Fig. 7 B is the structural schematic diagram of the device by equipment access to LAN in one embodiment;
Fig. 8 A is the structural schematic diagram of the device by equipment access to LAN in one embodiment;
Fig. 8 B is the structural schematic diagram of the device by equipment access to LAN in one embodiment.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
Fig. 1 is the schematic diagram of a scenario of the method for the invention by equipment access to LAN in one embodiment.With office in Fig. 1 The network insertion identification information of domain net is to be illustrated for the username and password of router in local area network.As shown in Figure 1, with Family terminal 102 receives the username and password of router 106 in the local area network of user's input, by the user name of the router 106 Equipment 104 is sent to password, and equipment 104 is according to the username and password access to LAN 106 of the router 106, thus real Now by equipment access to LAN.Wherein, user terminal 102 can arbitrarily have defeated for mobile phone, laptop, tablet computer etc. Enter device and there is the intelligent terminal of the communication device for being communicated with equipment 104, which includes but is not limited to Key, touch screen etc.;The communication device includes but is not limited to wireless network card, sound wave sending device and NFC communication device etc..Equipment 104 can arbitrarily have the communication communicated with user terminal 102 for television set, camera, printer, lamp, beginning etc. The equipment of device;Corresponding, which includes but is not limited to wireless network card, acoustic receiver device and NFC communication device Deng.
As shown in Figure 2 A, in one embodiment, a method of by equipment access to LAN, comprising the following steps:
Step S202, user terminal receive the network insertion identification information of the local area network of input.
When the network insertion identification information of local area network is object requests access to LAN to be accessed, local area network, which needs to identify, to be tested Demonstrate,prove and decide whether to permit accordingly the information of access.For example, in local area network router username and password etc..Step S204, The identification parameter of user terminal acquisition equipment.
In one embodiment, the network for the local area network that user terminal can receive user's input by the first input unit connects Enter identification information, and obtains the identification parameter of equipment by secondary input device.In one embodiment, the first input unit and Secondary input device can be unified for identical device.
In one embodiment, the identification parameter of equipment is parsed the letter that identification wherein carries by equipment from information carrier The parameter that the process of breath is related to, for example, the password of wireless network card of equipment, the Wireless LAN hot spot of equipment user name, Corresponding NFC key of the identifiable audio range of equipment, equipment etc..
In one embodiment, the identification parameter of equipment can be printed on label appended by equipment body, and user terminal can Obtain the identification parameter on label appended by equipment body.For example, user terminal is defeated by the reception user such as key or touch screen The identification parameter of the equipment entered, or scan to obtain the identification parameter etc. of equipment by scanning means.
In one embodiment, step S204 is the following steps are included: user terminal scans to obtain the identification parameter of equipment Call number can specifically drive the scanning means built in user terminal to scan to obtain the call number of the identification parameter of equipment;User Call number is sent server by terminal;User terminal receives the identification ginseng of server return inquired according to call number Number.
In one embodiment, the call number of the identification parameter of equipment can be printed on label appended by equipment body, example Such as, call number is printed on label with form of icons such as one-dimension code or two dimensional codes.User terminal can drive built-in scanning means Scan the call number that the icons such as one-dimension code or the two dimensional code on label obtain the identification parameter of equipment.
Further, user terminal can send server for call number, and call number and identification are stored in the server The corresponding relationship of parameter.After server receives call number, the corresponding identification parameter of search index number, and identification parameter is returned To user terminal.
In the present embodiment, the call number of identification parameter is printed on label appended by equipment body, user terminal can be square Just the call number of identification parameter is quickly got, and can prevent from for identification parameter being printed directly on mark appended by equipment body It signs and identification parameter is caused to be revealed;Server is sent by call number, receives the corresponding identification of call number that server returns Parameter, it can be ensured that the identification parameter of the accurate equipment of acquisition and the information security that identification parameter can be improved.
Step S206, user terminal generate the information carrier for carrying the network insertion identification information of local area network, and the letter Breath carrier meets the identification parameter of equipment, so that the information carrier can only be identified network insertion identification therein by the equipment Information.
In one embodiment, information carrier may include that data packet, acoustic signals, radiofrequency signal etc. can arbitrarily carry letter Breath and the carrier that can therefrom parse carried information.
In one embodiment, the IP data packet of the network insertion identification information comprising local area network is produced, and according to setting The password of standby wireless network card encrypts IP data packet, so that the net in the IP data packet can only be identified by the equipment Network accesses identification information.In another embodiment, the data packet of the network insertion identification information comprising local area network is generated, and should It include the user name of Wireless LAN hot spot in data packet, to indicate that the data packet is to be sent to Wireless LAN hot spot Data packet.In another embodiment, the network insertion identification information for carrying local area network and frequency of sound wave are produced in equipment Acoustic signals in identifiable audio range, so that can only identify that the network insertion in the acoustic signals is known by the equipment Other information.In other examples, it can be carried out according to the network insertion identification information of the corresponding NFC key local area network of equipment Encryption generates the radiofrequency signal for carrying the network insertion identification information of encrypted local area network according to NFC communication agreement, so that Obtain the network insertion identification information, etc. that can only be identified by the equipment in radiofrequency signal.
Information carrier is sent to equipment by step S208, user terminal, so that the office that equipment is carried according to information carrier The network insertion identification information access to LAN of domain net.
As shown in Figure 2 B, in one embodiment, a method of by equipment access to LAN, comprising the following steps:
Step S210, equipment obtain the information carrier for carrying the network insertion identification information of local area network from user terminal, The information carrier carried out processing according to the identification parameter of equipment, so that the information carrier can only be identified net therein by equipment Network accesses identification information.
Step S212, equipment identify network insertion identification information from information carrier.
Step S214, equipment is according to network insertion identification information access to LAN.
For example, the network insertion identification information of local area network is the username and password of router in local area network, then equipment can According to the username and password couple in router of router in local area network, thus access to LAN.
In one embodiment, equipment can broadcast the data packet comprising the username and password of router in local area network, office After router receives the data packet in the net of domain, from the username and password for wherein extracting router, and to the router Username and password is verified, and sending after being verified to equipment allows that accesses to receive the response, and equipment and router are established Communication connection.
In order to make it easy to understand, following embodiment combination user terminal and equipment are above-mentioned by equipment access to LAN to illustrate Method, but the combination of user terminal and equipment on description form should not be as limitation of the present invention, below each implementation In example, step performed by user terminal can be separately formed a protection scope of the invention, likewise, step performed by equipment Suddenly a protection scope equipment of the invention can also be separately formed.In addition, the step in following each embodiment is according to a kind of reality Feasible timing carries out layout in the operation of border, and the sequence for each step that this is organized into should not as limitation of the present invention, If step included by each embodiment is combined according to other feasible timing, protection scope of the present invention is also belonged to.
As shown in figure 3, in one embodiment, a method of by equipment access to LAN, comprising the following steps:
Step S302, the listening mode of the wireless network card built in opening of device, wireless network card can be intercepted and captured in the listen mode IP data packet.
In one embodiment, wireless network card can be Wi-Fi chip, and in the listen mode, Wi-Fi chip can listen to interception All Wi-Fi signals of neighbouring environment, so as to intercept and capture the IP data packet of user terminal transmission.
Step S304, user terminal receive the network insertion identification information of the local area network of input.
Step S306, user terminal obtain the password of the wireless network card of equipment.
In one embodiment, step S306 can be obtained according to described in step S204 equipment identification parameter it is similar Method obtain equipment wireless network card password.
Step S308, user terminal generate the IP data packet of the network insertion identification information comprising local area network, and according to setting The password of standby wireless network card encrypts IP data packet.
Step S310, the IP data packet after user terminal broadcast enciphering.IP data packet can be converted into wirelessly by user terminal Electric wave signal (Wi-Fi signal), and emit the radio wave signal.
Step S312, equipment intercept and capture the network insertion comprising local area network that user terminal is sent by wireless network card and identify letter The IP data packet of breath, the IP data packet carried out encryption according to the password of the wireless network card of equipment.
Step S314, equipment is decrypted IP data packet according to the password of wireless network card, and extracts from IP data packet The network insertion identification information of local area network.
Step S316, equipment is according to network insertion identification information access to LAN.
After equipment access to LAN, it can be communicated by router with the equipment of other access to LAN or terminal.
As shown in figure 4, in one embodiment, a method of by equipment access to LAN, comprising the following steps:
Step S402, the hotspot pattern of the wireless network card built in opening of device, to establish the Wireless LAN of itself Hot spot.
Wireless LAN hot spot can be described as wireless access hot spot or Wi-Fi Hotspot again, allow others wireless network card Access oneself.Wireless network card in the present embodiment has hotspot pattern and general mode.Wireless network card can be real under hotspot pattern The function of existing Wireless LAN hot spot.And in the normal mode, wireless network card realizes the basic of the transmitting/receiving wireless signal of itself Function.
Step S404, the neighbouring Wireless LAN hot spot of user terminal search, obtains Wireless LAN hot spot nearby User name, and generate the access request of the access Wireless LAN hot spot comprising the user name, and the access request sealed Data packet is dressed up, and broadcasts the data packet.
Step S406, equipment receive the access for the access Wireless LAN hot spot that user terminal is sent by wireless network card It requests, includes the user name of Wireless LAN hot spot in access request.
User terminal is accessed Wireless LAN hot spot by step S408, equipment.
After equipment receives above-mentioned access request, user name can be therefrom extracted, and verify to the user name, verified Being sent by rear line terminal allows that accesses to receive the response, and equipment and user terminal are established and communicated to connect.
Step S410, user terminal receive the network insertion identification information of the local area network of input, generate comprising local area network The data packet of network insertion identification information, and comprising the user name of Wireless LAN hot spot in the data packet, to indicate the number It is the data packet for being sent to Wireless LAN hot spot according to packet, and broadcasts the data packet.
Step S412, equipment receive the data packet that user terminal is sent to Wireless LAN hot spot by wireless network card, It include the network insertion identification information of local area network in the data packet.
Step S414, equipment extract the network insertion identification information of local area network from data packet.
Step S416, the hotspot pattern of the wireless network card built in device revocation restore the transmitting/receiving wireless signal of wireless network card Basic function.
Since Wireless LAN hot spot cannot access other Wireless LAN hot spots or router, therefore, it is necessary to The hotspot pattern of the built-in wireless network card of pin, restores the basic function of the transmitting/receiving wireless signal of wireless network card.
Step S418, equipment is according to the network insertion identification information access to LAN of local area network.
As shown in figure 5, in one embodiment, a method of by equipment access to LAN, comprising the following steps:
Step S502, user terminal receive the network insertion identification information of the local area network of input.
Step S504, user terminal obtain the identifiable audio range of equipment.
In one embodiment, step S504 can be obtained according to described in step S204 equipment identification parameter it is similar Method obtain the identifiable audio range of equipment.
Step S506, user terminal generate the network insertion identification information for carrying local area network and frequency of sound wave in equipment Acoustic signals in identifiable audio range.User terminal can generate sound wave letter by the acoustic signals generating means built in it Number.
Step S508, user terminal broadcast acoustic signals.User terminal can pass through the acoustic signals sending device built in it To surrounding broadcast acoustic signals.
Step S510, equipment receive the audio range that the acoustic receiver device can identify by built-in acoustic receiver device Interior acoustic signals, acoustic signals carry the information of the network insertion identification information of local area network.
Acoustic signals are converted into the network insertion identification information of local area network by step S512, equipment.
Acoustic signals can be converted into local area network by sound wave conversion device built in it or analog-digital commutator by equipment Network insertion identification information.
Step S514, equipment is according to the network insertion identification information access to LAN of local area network.
As shown in fig. 6, in one embodiment, a method of by equipment access to LAN, comprising the following steps:
Step S602, user terminal receive the network insertion identification information of the local area network of input.
Step S604, user terminal obtain the corresponding NFC key of equipment.
In one embodiment, step S604 can be obtained according to described in step S204 equipment identification parameter it is similar Method obtain the corresponding NFC key of equipment.
Step S606, user terminal are carried out according to the network insertion identification information of the corresponding NFC key local area network of equipment Encryption generates the radiofrequency signal for carrying the network insertion identification information of encrypted local area network according to NFC communication agreement.
Wherein, NFC (Near Field Communication, near-field communication) is a kind of radio skill of short distance high frequency Art.User terminal can generate radiofrequency signal by the radiofrequency signal generating means built in it.
Radiofrequency signal is sent to equipment by the NFC communication device built in it by step S608, user terminal.
Step S610, equipment receive the radiofrequency signal that user terminal is sent, radio frequency letter by built-in NFC communication device Number encryption was carried out by the corresponding NFC key of equipment, and the radiofrequency signal carries the network insertion identification information of local area network Information.
Step S612, equipment is decrypted radiofrequency signal according to its corresponding encryption key, and solves from radiofrequency signal The network insertion identification information of local area network is precipitated.
Step S614, equipment is according to the network insertion identification information access to LAN of local area network.
In one embodiment, the method by equipment access to LAN in above-mentioned all embodiments can be not limited to user Step performed by terminal, step performed by equipment can be separately formed a protection scope of the invention.
The above-mentioned method by equipment access to LAN, equipment can obtain the network insertion for carrying local area network from user terminal The information carrier of identification information, which carried out processing according to the identification parameter of equipment, so that the information carrier can only Network insertion identification information therein is identified by equipment, further, equipment can identify that network connects from the information carrier Enter identification information;For the equipment of not input unit, the network insertion identification information of local area network can be also got, And according to the network insertion identification information access to LAN, to access internet for equipment and realize other terminals or equipment Offer basis is interacted with the equipment and is prepared.
After user terminal ancillary equipment access to LAN, user terminal can ancillary equipment platform of internet of things complete infuse Volume, and bound to platform of internet of things application with equipment, it is communicated with equipment via platform of internet of things with realizing.
The present invention also provides a kind of methods that the equipment by access to LAN is registered in platform of internet of things, in a reality It applies in example, method includes the following steps:
(1) user terminal sends broadcast packet in local area network, and the broadcast packet in the local area network for asking whether Equipment in the presence of rendezvous protocol is supported.Above-mentioned rendezvous protocol is the agreement of platform of internet of things agreement, supports platform of internet of things about Fixed agreement is the premise communicated with platform of internet of things.
(2) user terminal receives the facility information that the equipment that the rendezvous protocol is supported in the local area network is sent, described Facility information includes physical label code.Physical label code be can unique identification equipment sequence number, can equipment dispatch from the factory before it is true Fixed, the physical label code of any two equipment is different from.
(3) the physical label code is sent the platform of internet of things by user terminal.
(4) user terminal receive that the platform of internet of things returns according to the equipment account of physical label code registration and Corresponding device password, the equipment account and device password log in the platform of internet of things for the equipment, so that The equipment is obtained to be communicated with the platform of internet of things.
(5) the equipment account and device password are sent to corresponding equipment by user terminal.
In one embodiment, Internet of Things client is installed on user terminal described in present specification, the Internet of Things Client is the client software that can be interacted with platform of internet of things.Platform of internet of things described in present specification is one and provides object The platform of connected network communication service.The user account that user terminal can first pass through in advance Internet of Things client to register in platform of internet of things Platform of internet of things is logged in user password, and completes to infuse in platform of internet of things by the above-mentioned ancillary equipment of Internet of Things client executing Step involved in volume.In addition, step involved in above-mentioned user terminal ancillary equipment access to LAN can also pass through Internet of Things Client executing.
Correspondingly, described from equipment side, a method of the equipment of access to LAN is registered in platform of internet of things, The following steps are included:
(1) broadcast packet transmitted in equipment access to LAN, the broadcast packet in the local area network for asking whether Equipment in the presence of rendezvous protocol is supported;
(2) if the equipment supports the rendezvous protocol, the facility information of the equipment is responded to broadcast packet sender, The facility information includes the physical label code of the equipment, so that broadcast packet sender sends the physical label code to The platform of internet of things;
(3) equipment receives equipment account that the platform of internet of things is returned by broadcast packet sender and equipment is close Code, the platform of internet of things are registered to obtain the equipment account and device password, the equipment account according to the physical label code Number and device password for the equipment log in the platform of internet of things so that the equipment and the platform of internet of things carry out Communication.
The present invention also provides a kind of implementation method communicated with internet of things equipment, which refers to supporting The agreement of platform of internet of things agreement and the equipment with network access device, equipment described in present specification all support Internet of Things Net platform agreement agreement and have network access device.In one embodiment, a kind of to be communicated with internet of things equipment Implementation method, comprising the following steps:
(1) user terminal ancillary equipment access to LAN.The process may include connecing equipment in any of the above-described embodiment Enter step described in the method for local area network.
(2) equipment of user terminal auxiliary access to LAN is registered in platform of internet of things;The process may include above-mentioned Step described in the method for registering the equipment of access to LAN in platform of internet of things in any embodiment.
(3) the machine is currently logged in user account used in the platform of internet of things to platform of internet of things request by user terminal It is bound with equipment, so that logging in the user terminal of platform of internet of things and the equipment with the user account can put down via Internet of Things Platform is communicated.
Specifically, user terminal, to platform of internet of things sending device bind request, apparatus bound request includes setting for equipment Currently running Internet of Things client logs in user account used in platform of internet of things in standby account and user terminal, to request object Networked platforms bind the user account and equipment account, so that logging in object by Internet of Things client with the user account The user terminal of networked platforms can be communicated with the equipment for logging in platform of internet of things with the equipment account via platform of internet of things.
In one embodiment, the above-mentioned implementation method communicated with internet of things equipment, it is further comprising the steps of: user Terminal is communicated with the equipment that above-mentioned user account is bound via platform of internet of things.When premise, user terminal passes through Internet of Things Net client logs in platform of internet of things with user account, and equipment logs in platform of internet of things with equipment account.It is bound with user terminal Equipment refer to that currently running Internet of Things client logs in the binding of user account used in platform of internet of things on user terminal The corresponding equipment of equipment account.
The step of user terminal involved in the above-mentioned implementation method communicated with internet of things equipment, all can be by running on use The Internet of Things client of family terminal is completed.
As shown in Figure 7 A, in one embodiment, a kind of device by equipment access to LAN, including access information receive Module 702, identification parameter obtain module 704, information carrier generation module 706 and information carrier sending module 708, in a reality It applies in example, which is set to user terminal;Wherein:
Access information receiving module 702 is used to obtain the network insertion identification information of the local area network inputted to user terminal.
When the network insertion identification information of local area network is object requests access to LAN to be accessed, local area network, which needs to identify, to be tested Demonstrate,prove and decide whether to permit accordingly the information of access.For example, in local area network router username and password etc..
Identification parameter obtains the identification parameter that module 704 is used to obtain equipment.
In one embodiment, access information receiving module 702 can obtain user terminal the first input unit it is received The network insertion identification information of the local area network of user's input, identification parameter, which obtains module 704, can obtain the second defeated of user terminal Enter the identification parameter for the equipment that device obtains.In one embodiment, the first input unit and secondary input device can be unified for Identical device.
In one embodiment, the identification parameter of equipment is parsed the letter that identification wherein carries by equipment from information carrier The parameter that the process of breath is related to, for example, the password of wireless network card of equipment, the Wireless LAN hot spot of equipment user name, Corresponding NFC key of the identifiable audio range of equipment, equipment etc..
In one embodiment, the identification parameter of equipment can be printed on label appended by equipment body, for example, identification ginseng Number obtains the identification parameter that module 704 can obtain the equipment of received user's input such as key or touch screen of user terminal, or The scanning means that person can obtain user terminal scans to obtain identification parameter of equipment etc..
Identification parameter obtains module 704 and is used to scan the call number of the identification parameter for obtaining equipment, specifically can, specifically The scanning means built in user terminal can be driven to scan to obtain the call number of the identification parameter of equipment, further send call number To server, and receive the identification parameter inquired according to call number that server returns.
In one embodiment, the call number of the identification parameter of equipment can be printed on label appended by equipment body, example Such as, call number is printed on label with form of icons such as one-dimension code or two dimensional codes.Identification parameter, which obtains module 704, can drive user The icons such as one-dimension code or two dimensional code on the scanning means scanning label of terminal built-in obtain the call number of the identification parameter of equipment.
Further, identification parameter, which obtains module 704, can control the communication device of user terminal to send clothes for call number It is engaged in device, the corresponding relationship of call number and identification parameter is stored in the server.After platform of internet of things receives call number, inquiry The corresponding identification parameter of call number, and identification parameter is returned into user terminal.Further, identification parameter obtains module 704 The communication device of controllable user terminal receives the identification parameter that platform of internet of things returns
In the present embodiment, the call number of identification parameter is printed on label appended by equipment body, user terminal can be square Just the call number of identification parameter is quickly got, and can prevent from for identification parameter being printed directly on mark appended by equipment body It signs and identification parameter is caused to be revealed;Server is sent by call number, receives the corresponding identification of call number that server returns Parameter, it can be ensured that the identification parameter of the accurate equipment of acquisition and the information security that identification parameter can be improved.
Information carrier generation module 706 is used to generate the information carrier for the network insertion identification information for carrying local area network, And the information carrier meets the identification parameter of equipment, so that the information carrier can only be identified that network therein connects by the equipment Enter identification information.
In one embodiment, information carrier may include that data packet, acoustic signals, radiofrequency signal etc. can arbitrarily carry letter Breath and the carrier that can therefrom parse carried information.
In one embodiment, information carrier generation module 706 produces the network insertion identification information comprising local area network IP data packet, and IP data packet is encrypted according to the password of the wireless network card of equipment, so that can only be known by the equipment It Chu not network insertion identification information in the IP data packet.In another embodiment, information carrier generation module 706 produces The data packet of network insertion identification information comprising local area network, and include the user of Wireless LAN hot spot in the data packet Name, to indicate that the data packet is to be sent to the data packet of Wireless LAN hot spot.In another embodiment, information carrier is raw The network insertion identification information for carrying local area network and frequency of sound wave are produced in the identifiable audio model of equipment at module 706 Interior acoustic signals are enclosed, so that the network insertion identification information in the acoustic signals can only be identified by the equipment.At other Embodiment in, information carrier generation module 706 can according to the network insertion of the corresponding NFC key local area network of equipment identify believe Breath is encrypted, and is believed according to the radio frequency that NFC communication agreement generates the network insertion identification information for carrying encrypted local area network Number, so that the network insertion identification information, etc. in radiofrequency signal can only be identified by the equipment.
Information carrier sending module 708 is that information carrier is sent to equipment, so that equipment is carried according to information carrier Local area network network insertion identification information access to LAN.
As shown in Figure 7 B, in one embodiment, a kind of device by equipment access to LAN, including information carrier obtain Module 710, access information identification module 712 and local area network AM access module 714, in one embodiment, this is by equipment access office The device of domain net is set in equipment;Wherein:
Information carrier obtains module 710 and is used to obtain the network insertion identification for carrying local area network from user terminal for equipment The information carrier of information, which carried out processing according to the identification parameter of equipment, so that the information carrier can only be by setting It is standby to identify network insertion identification information therein.
Access information identification module 712 from information carrier for identifying network insertion identification information.
LAN optimization module 714 is used for equipment access to LAN according to network insertion identification information.
For example, the network insertion identification information of local area network is the username and password of router in local area network, then local area network AM access module 714 can be according to the username and password couple in router of router in local area network, thus access to LAN.
In one embodiment, LAN optimization module 714 can broadcast the user name comprising router in local area network and close The data packet of code, after router receives the data packet in local area network, from the username and password for wherein extracting router, and The username and password of the router is verified, sending after being verified to equipment allows that accesses to receive the response, and receives After receiveing the response to this, equipment and router can be established and be communicated to connect by LAN optimization module 714.
In order to make it easy to understand, following embodiment combines the device by equipment access to LAN for being set to user terminal and sets It is above-mentioned by modules in the device of equipment access to LAN to illustrate to be placed in the device by equipment access to LAN of equipment Function, but combination of the functions of modules of two for being set to user terminal and equipment kinds of devices on description form should not be done For limitation of the present invention.The module that the device for being set to user terminal in each embodiment is included below can be separately formed A protection scope of the invention, likewise, the module that the device for being set to equipment in following each embodiment is included A protection scope equipment of the invention can be separately formed.
In one embodiment, equipment is built-in with wireless network card, and the wireless network card has listening mode, and wireless network card exists IP data packet can be intercepted and captured under listening mode.
In the present embodiment, information carrier, which obtains module 710, can open the listening mode of the wireless network card built in equipment,
In one embodiment, wireless network card can be Wi-Fi chip, and in the listen mode, Wi-Fi chip can listen to interception All Wi-Fi signals of neighbouring environment, so as to intercept and capture the IP data packet of user terminal transmission.
Further, the network insertion that access information receiving module 702 can obtain the local area network inputted to user terminal is known Other information.
Further, identification parameter obtains the password that module 704 can obtain the wireless network card of equipment.
In one embodiment, identification parameter acquisition module 704 can be similar according to the identification parameter of above-mentioned acquisition equipment As process obtain equipment wireless network card password.
Further, information carrier generation module 706 produces the IP number of the network insertion identification information comprising local area network IP data packet is encrypted according to packet, and according to the password of the wireless network card of equipment.
Further, information carrier sending module 708 is the IP data packet after user terminal broadcast enciphering.Information carrier hair It send module 708 that IP data packet can be converted into radio wave signal (Wi-Fi signal), and emits the radio wave signal.
Further, information carrier obtains module 710 and obtains the user terminal transmission that the wireless network card built in equipment is intercepted and captured The network insertion identification information comprising local area network IP data packet, the IP data packet according to the password of the wireless network card of equipment into Went encryption.
Further, access information identification module 712 can be decrypted IP data packet according to the password of wireless network card, and The network insertion identification information of local area network is extracted from IP data packet.
Further, LAN optimization module 714 can be according to the network insertion identification information of local area network by equipment access office Domain net.
After equipment access to LAN, it can be led to by the equipment or user terminal of router and other access to LAN Letter.
In one embodiment, wireless network card is built-in in equipment, and the wireless network card has hotspot pattern and common mould Formula.Wireless network card can realize the function of Wireless LAN hot spot under hotspot pattern.And in the normal mode, wireless network card is real The now basic function of the transmitting/receiving wireless signal of itself.
In the present embodiment, as shown in Figure 8 A, the above-mentioned device by equipment access to LAN for being set to user terminal is also Including hot spot search module 802;As shown in Figure 8 B, the above-mentioned device by equipment access to LAN for being set to equipment further includes Wireless network card switching module 804.
In the present embodiment, information carrier, which obtains module 710, can open the hotspot pattern of the wireless network card built in equipment, thus Establish the Wireless LAN hot spot of equipment itself.
Wireless LAN hot spot can be described as wireless access hot spot or Wi-Fi Hotspot again, allow others wireless network card Access oneself.
Further, hot spot search module 802 is used to search for the Wireless LAN hot spot near user terminal, obtains attached The user name of nearly Wireless LAN hot spot, and the access for generating the access Wireless LAN hot spot comprising the user name is asked It asks, and the access request is packaged into data packet, and broadcast the data packet.
Further, information carrier, which obtains module 710, can obtain the received user terminal hair of the wireless network card built in equipment The access request of the access Wireless LAN hot spot sent includes the user name of Wireless LAN hot spot in access request.
Further, information carrier, which obtains module 710, to access Wireless LAN hot spot for user terminal.Information carrier The user name of Wireless LAN hot spot can be extracted from above-mentioned access request by obtaining module 710, and to the user name into Row verifying, being verified rear line terminal and sending allows that accesses to receive the response, so that equipment is communicated with user terminal foundation Connection.
Further, the network insertion that access information receiving module 702 can obtain the local area network inputted to user terminal is known Other information, identification parameter, which obtains module 704, can obtain the user for the Wireless LAN hot spot that hot spot search module 802 searches Name.Information carrier generation module 706 produces the data packet of the network insertion identification information comprising local area network, and in the data packet User name comprising Wireless LAN hot spot, to indicate that the data packet is to be sent to the data packet of Wireless LAN hot spot. Information carrier sending module 708 can broadcast the data packet for user terminal.
Further, information carrier, which obtains module 710, can obtain the received user terminal hair of the wireless network card built in equipment The data packet of Wireless LAN hot spot is given, includes the network insertion identification information of local area network in the data packet.
Further, access information identification module 712 can extract the network insertion identification information of local area network from data packet.
Further, wireless network card switching module 804 is used to cancel the hotspot pattern of the wireless network card built in equipment, restores The basic function of the transmitting/receiving wireless signal of wireless network card.
Since Wireless LAN hot spot cannot access other Wireless LAN hot spots or router, therefore, it is necessary to The hotspot pattern of the built-in wireless network card of pin, restores the basic function of the transmitting/receiving wireless signal of wireless network card.
Further, LAN optimization module 714 can be according to the network insertion identification information of local area network by equipment access office Domain net.
In one embodiment, acoustic receiver device is built-in in equipment.In the present embodiment:
Access information receiving module 702 can obtain the network insertion identification information of the local area network inputted to user terminal.
Further, identification parameter, which obtains module 704, can obtain the identifiable audio range of equipment.
In one embodiment, identification parameter acquisition module 704 can be similar according to the identification parameter of above-mentioned acquisition equipment As process obtain the identifiable audio range of equipment.
Further, information carrier generation module 706 produces the network insertion identification information and sound for carrying local area network Acoustic signals of the wave frequency rate in the identifiable audio range of equipment.Information carrier generation module 706 can control in user terminal The acoustic signals generating means set generate acoustic signals.
Further, information carrier sending module 708 can broadcast acoustic signals.Information carrier sending module 708 is controllable Acoustic signals sending device built in user terminal is to surrounding broadcast acoustic signals.
Information carrier, which obtains module 710, can obtain the received acoustic receiver device energy of the acoustic receiver device built in equipment Acoustic signals in the audio range of identification, acoustic signals carry the information of the network insertion identification information of local area network.
Further, acoustic signals can be converted into the network insertion identification letter of local area network by access information identification module 712 Breath.Sound wave conversion device or analog-digital commutator built in the control equipment of access information identification module 712 convert acoustic signals At the network insertion identification information of local area network.
Further, LAN optimization module 714 can be according to the network insertion identification information of local area network by equipment access office Domain net.
In one embodiment, it is built-in with NFC communication device in equipment, in the present embodiment:
Access information receiving module 702 can obtain the network insertion identification information of the local area network inputted to user terminal.
Further, identification parameter, which obtains module 704, can obtain the corresponding NFC key of equipment.
In one embodiment, identification parameter acquisition module 704 can be similar according to the identification parameter of above-mentioned acquisition equipment As process obtain the corresponding NFC key of equipment.
Further, information carrier generation module 706 can be according to the network insertion of the corresponding NFC key local area network of equipment Identification information is encrypted, and the network insertion identification information for carrying encrypted local area network is generated according to NFC communication agreement Radiofrequency signal.
Wherein, NFC (Near Field Communication, near-field communication) is a kind of radio skill of short distance high frequency Art.User terminal can generate radiofrequency signal by the radiofrequency signal generating means built in it.
Further, information carrier sending module 708 can control the NFC communication device built in user terminal by radiofrequency signal It is sent to equipment.
Further, information carrier obtains module 710 can receive user terminal hair by the NFC communication device built in equipment The radiofrequency signal sent, which carried out encryption by the corresponding NFC key of equipment, and the radiofrequency signal carries local The information of the network insertion identification information of net.
Further, access information identification module 712 can be solved according to the corresponding NFC key pair radiofrequency signal of equipment It is close, and parse from radiofrequency signal the network insertion identification information of local area network.
Further, LAN optimization module 714 can be according to the network insertion identification information of local area network by equipment access office Domain net.
The above-mentioned device by equipment access to LAN, equipment can obtain the network insertion for carrying local area network from user terminal The information carrier of identification information, which carried out processing according to the identification parameter of equipment, so that the information carrier can only Network insertion identification information therein is identified by equipment, further, equipment identifies network insertion from the information carrier Identification information;For the equipment of not input unit, the network insertion identification information of local area network can be also got, and According to the network insertion identification information access to LAN, thus access internet for equipment and realize other terminals or equipment with The equipment interacts offer basis and prepares.
The present invention also provides a kind of devices that the equipment by access to LAN is registered in platform of internet of things, in a reality It applies in example, which is set to user terminal, comprising:
Broadcast packet sending module, for sending broadcast packet in local area network, the broadcast packet is used in the local area network Ask whether there is the equipment for supporting rendezvous protocol.Above-mentioned rendezvous protocol is the agreement of platform of internet of things agreement, supports Internet of Things The agreement of net platform agreement is the premise communicated with platform of internet of things.
Facility information receiving module, the equipment sent for receiving the equipment for supporting the rendezvous protocol in the local area network Information, the facility information include physical label code.Physical label code be can unique identification equipment sequence number, can go out in equipment It is determined before factory, the physical label code of any two equipment is different from.
Physical label code sending module, for sending the platform of internet of things for the physical label code.
Internet of Things password acceptance module, for receiving registering according to the physical label code for the platform of internet of things return Equipment account and corresponding device password, the equipment account and device password log in the Internet of Things for the equipment Net platform, so that the equipment is communicated with the platform of internet of things.
Account number cipher sending module, for the equipment account and device password to be sent to corresponding equipment.
Platform of internet of things described in present specification is one and provides the platform of Internet of Things communication service.
In one embodiment, above-mentioned by equipment further includes login module in the device that platform of internet of things is registered, For the user account and user password login platform of internet of things to be registered in platform of internet of things, so that the device can be with object Networked platforms interact.
Correspondingly, described from equipment side, a kind of device that the equipment by access to LAN is registered in platform of internet of things, The device may be disposed in equipment, comprising:
Broadcast packet receiving module, for the broadcast packet of the user terminal transmission in access to LAN, the broadcast packet is used for Ask whether there is the equipment for supporting rendezvous protocol in the local area network;
Broadcast packet responding module responds institute to broadcast packet sender if supporting the rendezvous protocol for the equipment State the facility information of equipment, the facility information includes the physical label code of the equipment, so that broadcast packet sender is by institute It states physical label code and is sent to the platform of internet of things;
Account number cipher receiving module, the equipment account returned for receiving the platform of internet of things by broadcast packet sender And device password, the platform of internet of things are registered to obtain the equipment account and device password, institute according to the physical label code It states equipment account and device password and logs in the platform of internet of things for the equipment, so that the equipment is logging in the object It can be communicated with the platform of internet of things after networked platforms.
In one embodiment, the present invention also provides a kind of realization device communicated with internet of things equipment, the devices It may be disposed at user terminal, which refers to supporting the agreement of platform of internet of things agreement and have network access device Equipment, equipment described in present specification all support platform of internet of things arrange agreement and have network access device.? In one embodiment, the above-mentioned realization device communicated with internet of things equipment, comprising:
Local area network receives supplementary module, is used for ancillary equipment access to LAN.In one embodiment, local area network receives auxiliary Help module may include in any of the above-described embodiment be set to user terminal will be included by the device of equipment access to LAN Module.
Supplementary module is registered, for assisting the equipment of access to LAN to be registered in platform of internet of things.Implement at one In example, registration supplementary module may include being set to user terminal the equipment of access to LAN exists in any of the above-described embodiment Module included by the device that platform of internet of things is registered.
Bind request module, for the machine currently to be logged in user's account used in platform of internet of things to platform of internet of things request It number is bound with equipment.Specifically, bind request module can be asked to platform of internet of things sending device bind request, apparatus bound Equipment account and the machine comprising equipment for logging in platform of internet of things is asked currently to log in user's account used in platform of internet of things Number, to request platform of internet of things to bind the user account and equipment account, so that logging in Internet of Things with the user account The user terminal of platform can be communicated with the equipment for logging in platform of internet of things with the equipment account via platform of internet of things.
In one embodiment, the above-mentioned realization device communicated with internet of things equipment further include: equipment communicates mould Block, the equipment for currently logging in the binding of user account used in platform of internet of things with the machine are led to via platform of internet of things Letter.On condition that equipment has also logged in platform of internet of things with equipment account.User terminal is referred to the equipment of user terminal binding Upper currently running Internet of Things client logs in the corresponding equipment of equipment account of the binding of user account used in platform of internet of things.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously Limitations on the scope of the patent of the present invention therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention Protect range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (16)

1.一种将设备接入局域网的方法,包括:1. A method for connecting a device to a local area network, comprising: 用户终端接收输入的局域网的网络接入识别信息;The user terminal receives the input network access identification information of the local area network; 所述用户终端获取所述设备的识别参数;obtaining, by the user terminal, the identification parameter of the device; 所述用户终端生成承载了所述网络接入识别信息的信息载体,且该信息载体符合所述识别参数,以使得所述信息载体只能由所述设备识别出其中的网络接入识别信息;generating, by the user terminal, an information carrier carrying the network access identification information, and the information carrier conforms to the identification parameter, so that the information carrier can only be identified by the device with the network access identification information therein; 所述用户终端将所述信息载体发送给所述设备,以使得所述设备根据所述信息载体承载的所述网络接入识别信息接入所述局域网;The user terminal sends the information carrier to the device, so that the device accesses the local area network according to the network access identification information carried by the information carrier; 所述用户终端辅助所述设备在物联网平台进行注册,得到设备账号;The user terminal assists the device to register on the IoT platform to obtain a device account; 所述用户终端向物联网平台请求将本机当前登录所述物联网平台所用的用户账号与所述设备账号进行绑定,使得以所述用户账号登录物联网平台的用户终端与以所述设备账号登录物联网平台的所述设备经由物联网平台进行通信。The user terminal requests the Internet of Things platform to bind the user account currently used by the machine to log in to the Internet of Things platform with the device account, so that the user terminal that logs in to the Internet of Things platform with the user account is connected with the device. The devices with accounts logged into the IoT platform communicate via the IoT platform. 2.根据权利要求1所述的将设备接入局域网的方法,其特征在于,所述用户终端获取所述设备的识别参数的步骤包括:2. The method for connecting a device to a local area network according to claim 1, wherein the step of acquiring the identification parameter of the device by the user terminal comprises: 所述用户终端扫描得到所述设备的识别参数的索引号;The user terminal scans to obtain the index number of the identification parameter of the device; 所述用户终端将所述索引号发送到服务器;The user terminal sends the index number to the server; 所述用户终端接收所述服务器返回的根据所述索引号查询得到的识别参数。The user terminal receives the identification parameter returned by the server and obtained according to the index number query. 3.一种将设备接入局域网的方法,包括以下步骤:3. A method for connecting a device to a local area network, comprising the following steps: 设备从用户终端获取承载了局域网的网络接入识别信息的信息载体,该信息载体根据所述设备的识别参数进行过处理,使得该信息载体只能由所述设备识别出其中的网络接入识别信息;The device obtains the information carrier carrying the network access identification information of the local area network from the user terminal, and the information carrier is processed according to the identification parameters of the device, so that the information carrier can only be identified by the device. information; 所述设备从所述信息载体中识别出所述网络接入识别信息;The device identifies the network access identification information from the information carrier; 所述设备根据所述网络接入识别信息接入所述局域网;The device accesses the local area network according to the network access identification information; 所述设备请求所述用户终端辅助在物联网平台进行注册,以使得所述用户终端得到所述设备对应的设备账号,并请求将所述用户终端当前登录所述物联网平台所用的用户账号与所述设备账号进行绑定。The device requests the user terminal to assist in registering on the IoT platform, so that the user terminal obtains the device account corresponding to the device, and requests that the user terminal currently logs in to the IoT platform with the user account. The device account is bound. 4.根据权利要求3所述的将设备接入局域网的方法,其特征在于,所述设备从用户终端获取承载了局域网的网络接入识别信息的信息载体的步骤包括:4. The method for connecting a device to a local area network according to claim 3, wherein the step of the device acquiring an information carrier carrying the network access identification information of the local area network from the user terminal comprises: 所述设备开启内置的无线网卡的监听模式,所述无线网卡在监听模式下可截获IP数据包;所述设备通过所述无线网卡截获用户终端发送的包含所述网络接入识别信息的IP数据包,该IP数据包根据所述设备的无线网卡的密码进行过加密;The device enables the monitoring mode of the built-in wireless network card, and the wireless network card can intercept IP data packets in the monitoring mode; the device intercepts the IP data including the network access identification information sent by the user terminal through the wireless network card packet, the IP data packet has been encrypted according to the password of the wireless network card of the device; 所述设备从所述信息载体中识别出所述网络接入识别信息的步骤包括:所述设备根据所述无线网卡的密码对所述IP数据包进行解密;从所述IP数据包中提取所述网络接入识别信息。The step of the device identifying the network access identification information from the information carrier includes: the device decrypting the IP data packet according to the password of the wireless network card; extracting the IP data packet from the IP data packet; the network access identification information. 5.根据权利要求3所述的将设备接入局域网的方法,其特征在于,所述设备从用户终端获取承载了局域网的网络接入识别信息的信息载体的步骤包括:5. The method for connecting a device to a local area network according to claim 3, wherein the step of the device acquiring an information carrier carrying the network access identification information of the local area network from the user terminal comprises: 所述设备开启内置的无线网卡的热点模式,从而建立自身的无线局域网络热点;The device enables the hotspot mode of the built-in wireless network card, thereby establishing its own wireless local area network hotspot; 所述设备通过无线网卡接收所述用户终端发送的接入所述无线局域网络热点的接入请求,所述接入请求中包含所述无线局域网络热点的用户名;The device receives, through the wireless network card, an access request sent by the user terminal to access the wireless local area network hotspot, where the access request includes the user name of the wireless local area network hotspot; 所述设备将所述用户终端接入所述无线局域网络热点;The device accesses the user terminal to the wireless local area network hotspot; 所述设备通过所述无线网卡接收所述用户终端发送给所述无线局域网络热点的数据包,该数据包中包含所述网络接入识别信息;The device receives, through the wireless network card, a data packet sent by the user terminal to the wireless local area network hotspot, where the data packet includes the network access identification information; 所述设备从所述信息载体中识别出所述网络接入识别信息的步骤包括:所述设备从所述数据包中提取所述网络接入识别信息;The step of the device identifying the network access identification information from the information carrier includes: the device extracting the network access identification information from the data packet; 在所述设备根据所述网络接入识别信息接入所述局域网的步骤之前,所述方法还包括步骤:设备撤销内置的无线网卡的热点模式,恢复所述无线网卡的收发无线信号的基本功能。Before the step of the device accessing the local area network according to the network access identification information, the method further includes the step of: the device cancels the hotspot mode of the built-in wireless network card, and restores the basic function of the wireless network card for sending and receiving wireless signals . 6.根据权利要求3所述的将设备接入局域网的方法,其特征在于,所述设备从用户终端获取承载了局域网的网络接入识别信息的信息载体的步骤包括:6. The method for connecting a device to a local area network according to claim 3, wherein the step of the device acquiring an information carrier carrying the network access identification information of the local area network from the user terminal comprises: 设备通过内置的声波接收装置接收该声波接收装置能识别的音频范围内的声波信号,声波信号承载了所述网络接入识别信息的信息;The device receives the sound wave signal within the audio frequency range that the sound wave receiving device can identify through the built-in sound wave receiving device, and the sound wave signal carries the information of the network access identification information; 所述设备从所述信息载体中识别出所述网络接入识别信息的步骤包括:The step of the device identifying the network access identification information from the information carrier includes: 设备将所述声波信号转换成所述网络接入识别信息。The device converts the sound wave signal into the network access identification information. 7.根据权利要求3所述的将设备接入局域网的方法,其特征在于,所述设备从用户终端获取承载了局域网的网络接入识别信息的信息载体的步骤包括:7. The method for connecting a device to a local area network according to claim 3, wherein the step of the device acquiring an information carrier carrying the network access identification information of the local area network from the user terminal comprises: 设备通过内置的NFC通信装置接收所述用户终端发送的射频信号,该射频信号根据所述设备对应的NFC密钥进行过加密,且所述射频信号承载了所述网络接入识别信息的信息;The device receives the radio frequency signal sent by the user terminal through the built-in NFC communication device, the radio frequency signal is encrypted according to the NFC key corresponding to the device, and the radio frequency signal carries the information of the network access identification information; 所述设备从所述信息载体中识别出所述网络接入识别信息的步骤包括:The step of the device identifying the network access identification information from the information carrier includes: 所述设备根据其对应的加密密钥对所述射频信号进行解密,并从所述射频信号中解析出所述网络接入识别信息。The device decrypts the radio frequency signal according to its corresponding encryption key, and parses the network access identification information from the radio frequency signal. 8.一种与物联网设备进行通信的实现方法,包括以下步骤:8. An implementation method for communicating with an Internet of Things device, comprising the following steps: 用户终端辅助设备接入局域网;User terminal auxiliary equipment accesses the local area network; 用户终端接收所述局域网内支持物联网平台约定协议的设备发送的设备信息,将所述设备信息发送到物联网平台,辅助接入局域网的设备在物联网平台进行注册,得到设备账号;The user terminal receives the device information sent by the device in the local area network that supports the agreed protocol of the Internet of Things platform, sends the device information to the Internet of Things platform, and assists the device connected to the local area network to register on the Internet of Things platform to obtain a device account; 用户终端向物联网平台请求将本机当前登录所述物联网平台所用的用户账号与所述设备账号进行绑定,使得以该用户账号登录物联网平台的用户终端与该设备可经由物联网平台进行通信。The user terminal requests the Internet of Things platform to bind the user account currently used by the machine to log in to the Internet of Things platform with the device account, so that the user terminal logging in to the Internet of Things platform with the user account and the device can use the Internet of Things platform. to communicate. 9.一种将设备接入局域网的装置,其特征在于,包括:9. A device for connecting a device to a local area network, comprising: 接入信息接收模块,用于接收输入的局域网的网络接入识别信息;an access information receiving module for receiving the inputted network access identification information of the local area network; 识别参数获取模块,用于获取所述设备的识别参数;an identification parameter acquisition module for acquiring identification parameters of the device; 信息载体生成模块,用于生成承载了所述网络接入识别信息的信息载体,且该信息载体符合所述识别参数,以使得所述信息载体只能由所述设备识别出其中的网络接入识别信息,所述识别参数是所述设备区别于其他设备的识别参数;an information carrier generation module, configured to generate an information carrier carrying the network access identification information, and the information carrier conforms to the identification parameter, so that the information carrier can only be identified by the device for the network access in it Identification information, the identification parameter is the identification parameter that distinguishes the device from other devices; 信息载体发送模块,用于将所述信息载体发送给所述设备,以使得所述设备根据所述信息载体承载的所述网络接入识别信息接入所述局域网;an information carrier sending module, configured to send the information carrier to the device, so that the device accesses the local area network according to the network access identification information carried by the information carrier; 注册辅助模块,用于辅助所述设备在物联网平台进行注册,得到设备账号;A registration assistance module, used to assist the device to register on the IoT platform to obtain a device account; 绑定请求模块,用于向物联网平台请求将本机当前登录所述物联网平台所用的用户账号与所述设备账号进行绑定,使得以所述用户账号登录物联网平台的用户终端与以所述设备账号登录物联网平台的所述设备经由物联网平台进行通信。The binding request module is used to request the Internet of Things platform to bind the user account currently used by the machine to log in to the Internet of Things platform with the device account, so that the user terminal that logs in to the Internet of Things platform with the user account is connected to the device account. The device with the device account logged into the IoT platform communicates via the IoT platform. 10.根据权利要求9所述的将设备接入局域网的装置,其特征在于,所述识别参数获取模块用于扫描得到所述设备的识别参数的索引号,将所述索引号发送到服务器,接收所述服务器返回的根据所述索引号查询得到的识别参数。10. The device of claim 9, wherein the identification parameter acquisition module is used for scanning to obtain the index number of the identification parameter of the device, and the index number is sent to the server, The identification parameter returned by the server and obtained according to the index number query is received. 11.一种将设备接入局域网的装置,其特征在于,包括:11. A device for connecting a device to a local area network, comprising: 信息载体获取模块,用于从用户终端获取承载了局域网的网络接入识别信息的信息载体,该信息载体根据所述设备的识别参数进行过处理,使得该信息载体只能由所述设备识别出其中的网络接入识别信息,所述识别参数是所述设备区别于其他设备的识别参数;The information carrier acquisition module is used to acquire the information carrier carrying the network access identification information of the local area network from the user terminal. The information carrier is processed according to the identification parameters of the device, so that the information carrier can only be identified by the device. Wherein the network access identification information, the identification parameter is the identification parameter of the device that is different from other devices; 接入信息识别模块,用于从所述信息载体中识别出所述网络接入识别信息;an access information identification module, configured to identify the network access identification information from the information carrier; 局域网接入模块,用于根据所述网络接入识别信息将所述设备接入所述局域网;a local area network access module, configured to access the device to the local area network according to the network access identification information; 所述装置还用于请求所述用户终端辅助在物联网平台进行注册,以使得所述用户终端得到所述设备对应的设备账号,并请求将所述用户终端当前登录所述物联网平台所用的用户账号与所述设备账号进行绑定。The device is further configured to request the user terminal to assist in registering on the IoT platform, so that the user terminal obtains the device account corresponding to the device, and requests the user terminal to log in to the IoT platform currently. The user account is bound with the device account. 12.根据权利要求11所述的将设备接入局域网的装置,其特征在于,所述信息载体获取模块,用于开启所述设备内置的无线网卡的监听模式,所述无线网卡在监听模式下可截获IP数据包,获取所述无线网卡截获的所述用户终端发送的包含所述网络接入识别信息的IP数据包,该IP数据包根据所述设备的无线网卡的密码进行过加密;12. The device for connecting a device to a local area network according to claim 11, wherein the information carrier acquisition module is used to enable a monitoring mode of a built-in wireless network card of the device, and the wireless network card is in the monitoring mode The IP data packet can be intercepted, and the IP data packet containing the network access identification information and sent by the user terminal intercepted by the wireless network card is obtained, and the IP data packet is encrypted according to the password of the wireless network card of the device; 所述接入信息识别模块用于根据所述无线网卡的密码对所述IP数据包进行解密,从所述IP数据包中提取所述网络接入识别信息。The access information identification module is configured to decrypt the IP data packet according to the password of the wireless network card, and extract the network access identification information from the IP data packet. 13.根据权利要求11所述的将设备接入局域网的装置,其特征在于,所述信息载体获取模块用于开启所述设备内置的无线网卡的热点模式,从而建立所述设备自身的无线局域网络热点,获取所述无线网卡接收的所述用户终端发送的接入所述无线局域网络热点的接入请求,所述接入请求中包含所述无线局域网络热点的用户名,将所述用户终端接入所述无线局域网络热点,获取所述无线网卡接收的所述用户终端发送给所述无线局域网络热点的数据包,该数据包中包含所述网络接入识别信息;13. The device for connecting a device to a local area network according to claim 11, wherein the information carrier acquisition module is used to enable a hotspot mode of a wireless network card built in the device, thereby establishing a wireless local area network of the device itself network hotspot, obtain the access request sent by the user terminal to access the wireless local area network hotspot received by the wireless network card, the access request includes the user name of the wireless local area network hotspot, and the user The terminal accesses the wireless local area network hotspot, and obtains a data packet received by the wireless network card and sent by the user terminal to the wireless local area network hotspot, where the data packet includes the network access identification information; 所述接入信息识别模块用于从所述数据包中提取所述网络接入识别信息;The access information identification module is configured to extract the network access identification information from the data packet; 所述装置还包括:无线网卡切换模块,用于撤销所述设备内置的无线网卡的热点模式,恢复所述无线网卡的收发无线信号的基本功能。The device further includes: a wireless network card switching module, configured to cancel the hotspot mode of the built-in wireless network card of the device, and restore the basic function of the wireless network card to send and receive wireless signals. 14.根据权利要求11所述的将设备接入局域网的装置,其特征在于,所述信息载体获取模块用于获取所述设备内置的声波接收装置接收的所述用户终端发送的该声波接收装置能识别的音频范围内的声波信号,声波信号承载了所述网络接入识别信息的信息;14 . The device for connecting a device to a local area network according to claim 11 , wherein the information carrier acquisition module is configured to acquire the sound wave receiving device sent by the user terminal and received by the built-in sound wave receiving device in the device 14 . The sound wave signal in the audio frequency range that can be identified, the sound wave signal carries the information of the network access identification information; 所述接入信息识别模块用于将所述声波信号转换成所述网络接入识别信息。The access information identification module is used for converting the sound wave signal into the network access identification information. 15.根据权利要求11所述的将设备接入局域网的装置,其特征在于,所述信息载体获取模块用于通过所述设备内置的NFC通信装置接收用户终端发送的射频信号,该射频信号经过所述设备对应的NFC密钥进行过加密,且所述射频信号承载了所述网络接入识别信息的信息;15 . The device for connecting a device to a local area network according to claim 11 , wherein the information carrier acquisition module is configured to receive a radio frequency signal sent by a user terminal through an NFC communication device built in the device, and the radio frequency signal passes through 15 . The NFC key corresponding to the device is encrypted, and the radio frequency signal carries the information of the network access identification information; 所述接入信息识别模块用于根据所述设备对应的NFC密钥对所述射频信号进行解密,并从所述射频信号中解析出所述网络接入识别信息。The access information identification module is configured to decrypt the radio frequency signal according to the NFC key corresponding to the device, and parse the network access identification information from the radio frequency signal. 16.一种与物联网设备进行通信的实现装置,其特征在于,包括:16. An implementation device for communicating with an Internet of Things device, comprising: 局域网接收辅助模块,用于辅助设备接入局域网;Local area network receiving auxiliary module, used for auxiliary equipment to access the local area network; 注册辅助模块,用于接收所述局域网内支持物联网平台约定协议的设备发送的设备信息,将所述设备信息发送到物联网平台,辅助接入局域网的设备在物联网平台进行注册,得到设备账号;The registration auxiliary module is used to receive the device information sent by the device in the local area network that supports the agreement protocol of the Internet of Things platform, send the device information to the Internet of Things platform, and assist the devices connected to the local area network to register on the Internet of Things platform to obtain the device account; 绑定请求模块,用于向物联网平台请求将本机当前登录所述物联网平台所用的用户账号与所述设备账号进行绑定,使得以该用户账号登录物联网平台的用户终端与该设备可经由物联网平台进行通信。A binding request module is used to request the Internet of Things platform to bind the user account currently used by the machine to log in to the Internet of Things platform with the device account, so that the user terminal that logs in to the Internet of Things platform with the user account is connected to the device. Communication may be via an IoT platform.
CN201410606604.0A 2014-10-31 2014-10-31 By the method and apparatus of equipment access to LAN Active CN104967994B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410606604.0A CN104967994B (en) 2014-10-31 2014-10-31 By the method and apparatus of equipment access to LAN

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410606604.0A CN104967994B (en) 2014-10-31 2014-10-31 By the method and apparatus of equipment access to LAN

Publications (2)

Publication Number Publication Date
CN104967994A CN104967994A (en) 2015-10-07
CN104967994B true CN104967994B (en) 2019-04-12

Family

ID=54221914

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410606604.0A Active CN104967994B (en) 2014-10-31 2014-10-31 By the method and apparatus of equipment access to LAN

Country Status (1)

Country Link
CN (1) CN104967994B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105430641B (en) * 2015-10-30 2022-06-14 青岛海尔智能家电科技有限公司 Method, device and terminal for setting intelligent household appliance to be networked and intelligent household appliance
CN106713799B (en) * 2015-11-13 2020-10-20 深圳光峰科技股份有限公司 Projection equipment control method, projection equipment and intelligent terminal
CN105939516A (en) * 2016-01-20 2016-09-14 杭州迪普科技有限公司 User authentication method and device
CN105978873B (en) 2016-05-09 2020-08-14 腾讯科技(深圳)有限公司 Customized equipment registration method and device
DE102018110423A1 (en) * 2018-05-01 2019-11-07 Tobias Rückert Procedure for registering a target device to a network
CN108919741A (en) * 2018-08-01 2018-11-30 芜湖施乐智能科技有限公司 A kind of intelligent agricultural greenhouse control system based on fresh air system
WO2022246753A1 (en) * 2021-05-27 2022-12-01 京东方科技集团股份有限公司 Device registration method and apparatus, electronic device, and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399530A (en) * 2013-07-01 2013-11-20 惠州Tcl家电集团有限公司 Method and system for uniform control of intelligent household electrical appliances, management and control platform and control terminal
CN103607751A (en) * 2013-11-18 2014-02-26 深圳市通力科技开发有限公司 Wireless device configuration method and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9319967B2 (en) * 2006-05-15 2016-04-19 Boingo Wireless, Inc. Network access point detection and use
CN103249115B (en) * 2013-05-07 2015-12-02 中国联合网络通信集团有限公司 Tactics configuring method and device
CN103841658B (en) * 2014-02-24 2017-02-22 北京新岸线移动多媒体技术有限公司 Method and device for transmitting information

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399530A (en) * 2013-07-01 2013-11-20 惠州Tcl家电集团有限公司 Method and system for uniform control of intelligent household electrical appliances, management and control platform and control terminal
CN103607751A (en) * 2013-11-18 2014-02-26 深圳市通力科技开发有限公司 Wireless device configuration method and system

Also Published As

Publication number Publication date
CN104967994A (en) 2015-10-07

Similar Documents

Publication Publication Date Title
CN104967994B (en) By the method and apparatus of equipment access to LAN
KR101683251B1 (en) Method for setting sensor node and setting security in sensor network, and sensor network system including the same
CN104967595A (en) Method and apparatus for registering devices on Internet of things platform
US8345881B2 (en) Communication system, information processing apparatus, method and computer program
CN104378145B (en) The matching method and system of bluetooth equipment
CN109391634A (en) Establish method, terminal and the computer readable storage medium of communication
CN104967596A (en) Method and apparatus for realizing binding and communication between user terminal and Internet of things device
KR20160124648A (en) Method and apparatus for downloading and installing a profile
US20200036792A1 (en) Low energy sensor data collection
CN106921963A (en) A kind of smart machine accesses the method and device of WLAN
CN105553932A (en) Method, device and system of remote control safety binding of intelligent home appliance
CN106851632A (en) A kind of smart machine accesses the method and device of WLAN
CN105119939A (en) Access method and device, providing method, device and system of wireless network
CN113543126A (en) Key acquisition method and device
JP2016506152A (en) Device authentication by tagging
US20110055409A1 (en) Method For Network Connection
CN111770588B (en) Method and system for quickly establishing wireless connection with wireless router
CN105813070B (en) A method and device for a vehicle-mounted terminal to communicate through a mobile terminal
US10425812B2 (en) Method and apparatus for establishment of private communication between devices
CN109583154A (en) A kind of system and method based on Web middleware access intelligent code key
WO2014173086A1 (en) Information transmission and forwarding method and apparatus
CN107454591A (en) Ensure the method, apparatus and system of WIFI LAN communication safeties
CN112654013B (en) Certificate issuing method and device
CN106339623B (en) Login method and device
CN103312677A (en) Terminal, server and establishment method of communication connection

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant