CN109089298A - Bluetooth and the bis- protocol devices method of network entry of wifi and device - Google Patents

Bluetooth and the bis- protocol devices method of network entry of wifi and device Download PDF

Info

Publication number
CN109089298A
CN109089298A CN201810733955.6A CN201810733955A CN109089298A CN 109089298 A CN109089298 A CN 109089298A CN 201810733955 A CN201810733955 A CN 201810733955A CN 109089298 A CN109089298 A CN 109089298A
Authority
CN
China
Prior art keywords
bluetooth
wifi
mesh
equipment
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810733955.6A
Other languages
Chinese (zh)
Other versions
CN109089298B (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.)
Hangzhou Tuya Information Technology Co Ltd
Original Assignee
Hangzhou Tuya Information Technology 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 Hangzhou Tuya Information Technology Co Ltd filed Critical Hangzhou Tuya Information Technology Co Ltd
Priority to CN201810733955.6A priority Critical patent/CN109089298B/en
Publication of CN109089298A publication Critical patent/CN109089298A/en
Application granted granted Critical
Publication of CN109089298B publication Critical patent/CN109089298B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Landscapes

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

Abstract

The present invention is to solve the shortcoming that equipment in the prior art enters network technology, and the legitimacy of log equipment can be ensured and ensure that the bluetooth of the uniqueness of each device node and the bis- protocol devices method of network entry of wifi and the device of realization the method in whole network by providing one kind.The method includes obtaining the identity information of equipment when client scan is to when the bluetooth equipment of distribution;It requests and the AuthKey for obtaining equipment is sent to server-side, server-side verifies AuthKey;If server-side verifies AuthKey success, equipment access bluetooth mesh network is set;Client is sent to wifi module by Bluetooth channels SSID and PASSWORD and carries out distribution.

Description

Bluetooth and the bis- protocol devices method of network entry of wifi and device
Technical field
The present invention relates to computer network communication technology field more particularly to a kind of equipment method of network entry and realize this method Device.
Background technique
The input interfaces such as on-keyboard and to have a networking of the equipment of wifi+ Bluetooth function often more troublesome, generally It is the SSID of router and password to be transmitted to by wifi communication module by broadcasting link, and bluetooth module is walked common bluetooth and matched Net mode realizes that bluetooth and wifi information are bound finally by the indirect port communications of SOC, and is packaged and is registered to server-side.This reality Not only distribution process is complicated, speed is slow for existing method, is also easy to cause the safety problems such as leakage of information.
Summary of the invention
The present invention be in order to solve the shortcoming that equipment in the prior art enters network technology, provide one kind can ensure into The legitimacy of net equipment and it ensure that the bluetooth of the uniqueness of each device node and the bis- protocol devices of wifi enter in whole network Network method and the device for realizing the method.
To achieve the above object, the invention adopts the following technical scheme:
The present invention provides a kind of bluetooth and the bis- protocol devices method of network entry of wifi, the described method comprises the following steps:
When client scan is to when the bluetooth equipment of distribution, the identity information of equipment is obtained;
It requests and the AuthKey for obtaining equipment is sent to server-side, server-side verifies AuthKey;
If server-side verifies AuthKey success, equipment access bluetooth mesh network is set;
Client is sent to wifi module by Bluetooth channels SSID and PASSWORD and carries out distribution.
Preferably, the identity information of the equipment includes device id and the address Mac.
Preferably, further include:
It is after wifi module distribution success, bluetooth mesh information (mesh name, nodeID, token) is related to wifi Information package is sent to cloud;
Cloud is confirmed and is bound to information, and client distribution success message is pushed to.
Preferably, further include:
Bluetooth mesh information includes mesh name, nodeID and token.
Preferably, setting equipment includes: the step of accessing bluetooth mesh network
If client does not access mesh, to server-side application mesh, the mesh name of server-side feedback is obtained;
If client has accessed mesh, still unappropriated nodeID in the mesh network is obtained to server-side.
The present invention provides a kind of bluetooth and the bis- protocol devices networking devices of wifi, described device include:
Module is obtained, for obtaining the identity information of equipment when client scan is to when the bluetooth equipment of distribution;
First request module, the AuthKey for requesting and obtaining equipment are sent to server-side, server-side verification AuthKey;
AM access module, if equipment access bluetooth mesh network is arranged for server-side verification AuthKey success;
Distribution module carries out distribution for being sent to wifi module by Bluetooth channels SSID and PASSWORD.
Preferably, further include:
Message module, for wifi module distribution success after, by bluetooth mesh information (mesh name, nodeID, Token it) transmits with the relevant information of wifi to cloud;Cloud is confirmed and is bound to information, is pushed to client and is matched Net success message.
Preferably, the AM access module further include:
First operating unit, to server-side application mesh, obtains server-side feedback if not accessing mesh for client Mesh name;
Second operating unit is obtained in the mesh network to server-side and is not yet distributed if having accessed mesh for client NodeID.
The present invention provides a kind of computer equipment, including memory, processor and storage on a memory and can handled The computer program run on device, which is characterized in that when the processor executes described program, realize described in any of the above embodiments Method.
The present invention provides a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the journey Method described in any of the above embodiments is realized when sequence is executed by processor.
This programme controls entire networking process by cloud, carries out distribution behaviour to equipment by cell phone client Make.Ensure the legitimacy of log equipment and ensure that the uniqueness of each device node in whole network.
Detailed description of the invention
Fig. 1 is a kind of first pass figure of bluetooth and the bis- protocol devices method of network entry of wifi provided by the invention.
Fig. 2 is the first pass figure of another bluetooth and the bis- protocol devices method of network entry of wifi provided by the invention.
Fig. 3 is the second flow chart of another bluetooth and the bis- protocol devices method of network entry of wifi provided by the invention.
Fig. 4 is a kind of structural block diagram of bluetooth and the bis- protocol devices networking devices of wifi provided by the invention.
Fig. 5 is the structural block diagram of another bluetooth and the bis- protocol devices networking devices of wifi provided by the invention.
Fig. 6 provides a kind of structural block diagram of computer equipment for the present invention.
Specific embodiment
The present invention is described further with reference to the accompanying drawings and detailed description.
As shown in Figure 1, the embodiment of the present invention provides a kind of bluetooth and the bis- protocol devices method of network entry of wifi, the method packet Include following steps:
S101 obtains the identity information of equipment when client scan is to when the bluetooth equipment of distribution.
Preferably, the identity information of the equipment includes device id and the address Mac.
S102 requests and obtains the AuthKey of equipment to be sent to server-side, and server-side verifies AuthKey.
If S103 server-side verifies AuthKey success, equipment access bluetooth mesh network is set.
S104 client is sent to wifi module by Bluetooth channels SSID and PASSWORD and carries out distribution.
As shown in Fig. 2, being the of another bluetooth provided in an embodiment of the present invention and the bis- protocol devices method of network entry of wifi One flow chart, which comprises
S201 obtains the identity information of equipment when client scan is to when the bluetooth equipment of distribution.
Preferably, the identity information of the equipment includes device id and the address Mac.
S202 requests and obtains the AuthKey of equipment to be sent to server-side, and server-side verifies AuthKey.
If S203 server-side verifies AuthKey success, equipment access bluetooth mesh network is set.
S204 client is sent to wifi module by Bluetooth channels SSID and PASSWORD and carries out distribution.
After S205wifi module distribution success, the relevant information of bluetooth mesh information and wifi is transmitted to cloud.
Preferably, the bluetooth mesh information includes mesh name, nodeID and token.
The cloud S206 is confirmed and is bound to information, and client distribution success message is pushed to.
As shown in figure 3, being the of another bluetooth provided in an embodiment of the present invention and the bis- protocol devices method of network entry of wifi The step of two flow charts, setting equipment accesses bluetooth mesh network in the method includes:
If S301 client does not access mesh, to server-side application mesh, the mesh name of server-side feedback is obtained;
If S302 client has accessed mesh, still unappropriated nodeID in the mesh network is obtained to server-side.
As shown in figure 4, the present invention provides a kind of bluetooth and the bis- protocol devices networking devices of wifi, described device include:
Module 1 is obtained, for obtaining the identity information of equipment when client scan is to when the bluetooth equipment of distribution;
First request module 2, the AuthKey for requesting and obtaining equipment are sent to server-side, server-side verification AuthKey;
AM access module 3, if equipment access bluetooth mesh network is arranged for server-side verification AuthKey success;
Distribution module 4 carries out distribution for being sent to wifi module by Bluetooth channels SSID and PASSWORD.
As shown in figure 5, another kind bluetooth provided by the invention and the bis- protocol devices networking devices of wifi, described device, also Include:
Message module 5, for wifi module distribution success after, by bluetooth mesh information (mesh name, nodeID, Token it) transmits with the relevant information of wifi to cloud;Cloud is confirmed and is bound to information, is pushed to client and is matched Net success message.
Preferably, the AM access module 3 further include:
First operating unit 301, to server-side application mesh, obtains server-side if not accessing mesh for client The mesh name of feedback.
Second operating unit 302 obtains in the mesh network to server-side and not yet divides if having accessed mesh for client The nodeID matched.
As shown in fig. 6, the present invention provides a kind of computer equipment, including memory 6, processor 7 and it is stored in memory Computer program 8 that is upper and can running on a processor, when the processor executes described program, is realized described in any of the above-described Method.
The present invention provides a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the journey Method described in any of the above embodiments is realized when sequence is executed by processor.
The preferred embodiment of the present invention has been described in detail above.It should be appreciated that the ordinary skill of this field is without wound The property made labour, which according to the present invention can conceive, makes many modifications and variations.Therefore, all technician in the art Pass through the available technology of logical analysis, reasoning, or a limited experiment on the basis of existing technology under this invention's idea Scheme, all should be within the scope of protection determined by the claims.

Claims (10)

1. a kind of bluetooth and the bis- protocol devices method of network entry of wifi, which is characterized in that the described method comprises the following steps:
When client scan is to when the bluetooth equipment of distribution, the identity information of equipment is obtained;
It requests and the AuthKey for obtaining equipment is sent to server-side, server-side verifies AuthKey;
If server-side verifies AuthKey success, equipment access bluetooth mesh network is set;
Client is sent to wifi module by Bluetooth channels SSID and PASSWORD and carries out distribution.
2. bluetooth as described in claim 1 and the bis- protocol devices method of network entry of wifi, which is characterized in that the identity of the equipment Information includes device id and the address Mac.
3. bluetooth as described in claim 1 and the bis- protocol devices method of network entry of wifi, which is characterized in that further include:
After wifi module distribution success, the relevant information of bluetooth mesh information and wifi is transmitted to cloud;
Cloud is confirmed and is bound to information, and client distribution success message is pushed to.
4. bluetooth as described in claim 1 and the bis- protocol devices method of network entry of wifi, which is characterized in that further include:
Bluetooth mesh information includes mesh name, nodeID and token.
5. bluetooth as described in claim 1 and the bis- protocol devices method of network entry of wifi, which is characterized in that setting equipment accesses blue The step of tooth mesh network includes:
If client does not access mesh, to server-side application mesh, the meshname of server-side feedback is obtained;
If client has accessed mesh, still unappropriated nodeID in the mesh network is obtained to server-side.
6. a kind of bluetooth and the bis- protocol devices networking devices of wifi, which is characterized in that described device includes:
Module is obtained, for obtaining the identity information of equipment when client scan is to when the bluetooth equipment of distribution;
First request module, the AuthKey for requesting and obtaining equipment are sent to server-side, and server-side verifies AuthKey;
AM access module, if equipment access bluetooth mesh network is arranged for server-side verification AuthKey success;
Distribution module carries out distribution for being sent to wifi module by Bluetooth channels SSID and PASSWORD.
7. bluetooth as described in claim 1 and the bis- protocol devices networking devices of wifi, which is characterized in that further include:
Message module, after wifi module distribution success, by bluetooth mesh information (mesh name, nodeID, token) and The relevant information of wifi is transmitted to cloud;Cloud is confirmed and is bound to information, is pushed to client distribution and is successfully disappeared Breath.
8. bluetooth as described in claim 1 and the bis- protocol devices networking devices of wifi, which is characterized in that the AM access module is also Include:
First operating unit, to server-side application mesh, obtains server-side feedback if not accessing mesh for client mesh name;
Second operating unit obtains still unappropriated in the mesh network if having accessed mesh for client to server-side nodeID。
9. a kind of computer equipment including memory, processor and stores the meter that can be run on a memory and on a processor Calculation machine program, which is characterized in that when the processor executes described program, realize according to any one of claims 1 to 5 Method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor Method according to any one of claims 1 to 5 is realized when execution.
CN201810733955.6A 2018-07-06 2018-07-06 Bluetooth and wifi dual-protocol device network access method and device Active CN109089298B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810733955.6A CN109089298B (en) 2018-07-06 2018-07-06 Bluetooth and wifi dual-protocol device network access method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810733955.6A CN109089298B (en) 2018-07-06 2018-07-06 Bluetooth and wifi dual-protocol device network access method and device

Publications (2)

Publication Number Publication Date
CN109089298A true CN109089298A (en) 2018-12-25
CN109089298B CN109089298B (en) 2020-12-01

Family

ID=64837022

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810733955.6A Active CN109089298B (en) 2018-07-06 2018-07-06 Bluetooth and wifi dual-protocol device network access method and device

Country Status (1)

Country Link
CN (1) CN109089298B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111010721A (en) * 2019-11-18 2020-04-14 北京小米移动软件有限公司 Wireless network distribution method, wireless network distribution device and computer readable storage medium
CN111030897A (en) * 2019-12-10 2020-04-17 杭州涂鸦信息技术有限公司 Wired network distribution method and device, electronic equipment and storage medium
CN111405492A (en) * 2020-04-08 2020-07-10 浙江大华技术股份有限公司 Method, device, storage medium, and electronic device for connecting to target network
CN111866996A (en) * 2020-07-24 2020-10-30 深圳创维数字技术有限公司 Intelligent device network distribution method, device and storage medium
CN112383910A (en) * 2020-12-16 2021-02-19 珠海格力电器股份有限公司 Gateway and intelligent equipment network distribution method
CN112738785A (en) * 2020-12-29 2021-04-30 青岛海尔科技有限公司 Device connection method and apparatus, storage medium, and electronic apparatus
CN113347741A (en) * 2020-02-18 2021-09-03 佛山市云米电器科技有限公司 Online method and system of gateway equipment
CN113839841A (en) * 2020-06-08 2021-12-24 广东美的制冷设备有限公司 Household appliance and network distribution method thereof, control terminal and computer storage medium
CN113965916A (en) * 2021-10-14 2022-01-21 上海庆科信息技术有限公司 Equipment network distribution method, device, equipment and computer readable storage medium
WO2022016433A1 (en) * 2020-07-22 2022-01-27 Oppo广东移动通信有限公司 Ble mesh device network access configuration method and apparatus, and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100329465A1 (en) * 2009-06-29 2010-12-30 Motorola, Inc. Method of triggering a key delivery from a mesh key distributor
CN105246138A (en) * 2015-09-11 2016-01-13 小米科技有限责任公司 Control method and device of Internet-of-things device
CN105338595A (en) * 2015-10-20 2016-02-17 广东欧珀移动通信有限公司 Intelligent terminal joining method, apparatus and system based on intelligent terminal system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100329465A1 (en) * 2009-06-29 2010-12-30 Motorola, Inc. Method of triggering a key delivery from a mesh key distributor
CN105246138A (en) * 2015-09-11 2016-01-13 小米科技有限责任公司 Control method and device of Internet-of-things device
CN105338595A (en) * 2015-10-20 2016-02-17 广东欧珀移动通信有限公司 Intelligent terminal joining method, apparatus and system based on intelligent terminal system

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111010721A (en) * 2019-11-18 2020-04-14 北京小米移动软件有限公司 Wireless network distribution method, wireless network distribution device and computer readable storage medium
CN111030897A (en) * 2019-12-10 2020-04-17 杭州涂鸦信息技术有限公司 Wired network distribution method and device, electronic equipment and storage medium
CN113347741B (en) * 2020-02-18 2022-12-13 佛山市云米电器科技有限公司 Online method and system of gateway equipment
CN113347741A (en) * 2020-02-18 2021-09-03 佛山市云米电器科技有限公司 Online method and system of gateway equipment
CN111405492A (en) * 2020-04-08 2020-07-10 浙江大华技术股份有限公司 Method, device, storage medium, and electronic device for connecting to target network
CN113839841A (en) * 2020-06-08 2021-12-24 广东美的制冷设备有限公司 Household appliance and network distribution method thereof, control terminal and computer storage medium
CN113839841B (en) * 2020-06-08 2022-09-27 广东美的制冷设备有限公司 Household appliance and network distribution method thereof, control terminal and computer storage medium
WO2022016433A1 (en) * 2020-07-22 2022-01-27 Oppo广东移动通信有限公司 Ble mesh device network access configuration method and apparatus, and device
CN111866996A (en) * 2020-07-24 2020-10-30 深圳创维数字技术有限公司 Intelligent device network distribution method, device and storage medium
CN112383910B (en) * 2020-12-16 2021-10-15 珠海格力电器股份有限公司 Gateway and intelligent equipment network distribution method
CN112383910A (en) * 2020-12-16 2021-02-19 珠海格力电器股份有限公司 Gateway and intelligent equipment network distribution method
CN112738785A (en) * 2020-12-29 2021-04-30 青岛海尔科技有限公司 Device connection method and apparatus, storage medium, and electronic apparatus
CN113965916A (en) * 2021-10-14 2022-01-21 上海庆科信息技术有限公司 Equipment network distribution method, device, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN109089298B (en) 2020-12-01

Similar Documents

Publication Publication Date Title
CN109089298A (en) Bluetooth and the bis- protocol devices method of network entry of wifi and device
CN112511611B (en) Communication method, device and system of node cluster and electronic equipment
EP3846522A1 (en) Mec platform deployment method and device
EP3836577B1 (en) Session management method and device for user groups
CN105284091A (en) Certificate acquisition method and device
CN110677383B (en) Firewall wall opening method and device, storage medium and computer equipment
CN103200215A (en) Method achieving XenServer virtual machine remote control on https
CN102143177B (en) Portal authentication method, Portal authentication device,Portal authentication equipment and Portal authentication system
CN105338529B (en) Wireless network connection method and system
CN101136929B (en) Internet small computer system interface data transmission method and apparatus
CN105519028A (en) Wireless system access control method and apparatus
CN105516397B (en) Method for accessing multiple operating system terminals into network and multiple operating system terminals
US20200259783A1 (en) Method and apparatus for determining ethernet mac address
CN105049280B (en) The interface Behavior modeling test macro and method of Business Management Platform
CN105491169A (en) Data proxy method and system
WO2016150139A1 (en) Method and apparatus for establishing network service instance
CN104506368B (en) A kind of method and apparatus for being managed collectively switch device
CN109151079A (en) Trans-regional server resource method for implanting, access method and Transmission system
WO2019009263A1 (en) Apparatus and method for remotely managing devices, and program therefor
US10785147B2 (en) Device and method for controlling route of traffic flow
CN106992964A (en) A kind of micro services safety proxy system suitable for mixed cloud
CN111970253B (en) PEP configuration method and device, electronic equipment and storage medium
CN112860462A (en) Method, device and system for realizing interconnection and intercommunication of IOT platform bases
CN116032691A (en) Shooting range interconnection method, electronic equipment and readable storage medium
CN103607403A (en) Method, device and system for using safety domain in NAT network environment

Legal Events

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