CN111010323A - Network distribution method and system of intelligent equipment - Google Patents

Network distribution method and system of intelligent equipment Download PDF

Info

Publication number
CN111010323A
CN111010323A CN201911350572.1A CN201911350572A CN111010323A CN 111010323 A CN111010323 A CN 111010323A CN 201911350572 A CN201911350572 A CN 201911350572A CN 111010323 A CN111010323 A CN 111010323A
Authority
CN
China
Prior art keywords
intelligent equipment
module
low energy
bluetooth low
wifi
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911350572.1A
Other languages
Chinese (zh)
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 CN201911350572.1A priority Critical patent/CN111010323A/en
Publication of CN111010323A publication Critical patent/CN111010323A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0807Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos
    • 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

Abstract

The application discloses a network distribution method of intelligent equipment, which comprises the following steps: the control end transmits the distribution network information to the intelligent equipment through a Bluetooth low energy consumption module of the intelligent equipment; and the intelligent equipment is connected with the wireless router through the wireless module of the intelligent equipment according to the distribution network information. Compared with the prior art, the method has the following beneficial effects: to the smart machine of WIFI + BLE type, can utilize BLE and APP communication, realize joining in marriage net information quick interaction. WIFI + BLE smart machine, inside BLE module has been through having established communication with the APP, and is long connection, need not all to establish again every time connecting. The method does not need a smart tconfig distribution network mode using WIFI, does not know the current working channel of the WIFI router, and needs to poll all WIFI working channels, lock the channels and the like. The method has the advantages of fast distribution, good interaction experience for users and very high distribution network success rate.

Description

Network distribution method and system of intelligent equipment
Technical Field
The application relates to the field of smart homes, in particular to a network distribution method and system of smart devices.
Background
The existing WIFI (wireless) + BLE (Bluetooth low energy consumption) intelligent equipment realizes that the intelligent equipment acquires the ssid and the password of the wireless route in a smartconfig/AP mode.
For WIFI + BLE intelligent equipment, a smart device is used for distributing a network in a smartconfig mode, the intelligent equipment is required to poll a WIFI channel, lock the channel and send distribution network information for multiple times to improve the hit rate. The mode is low in distribution network speed, and the distribution network needs to be distributed for many times when the distribution network is unsuccessful. If the AP mode is adopted, most WIFI modules do not support the working mode, so that the AP distribution network does not have universality.
The smart config of WIFI transmits the distribution network information in a multicast/broadcast mode. Some router manufacturers avoid the influence of excessive multicast/broadcast on the WIFI performance, and discard and filter the multicast/broadcast data packets sent by the WIFI equipment in a large amount, so that the success rate of the smartconfig distribution mode is greatly reduced, and the distribution may be unsuccessful all the time.
Disclosure of Invention
The main object of the present application is to provide a network distribution method for an intelligent device, including:
the control end transmits the distribution network information to the intelligent equipment through a Bluetooth low energy consumption module of the intelligent equipment;
and the intelligent equipment is connected with a wireless router through a wireless module of the intelligent equipment according to the distribution network information.
Optionally, the bluetooth low energy consumption module is in a master working state, and sets the name of the smart device.
Optionally, the bluetooth low energy module and the wireless module perform bidirectional communication through interprocess communication or a serial port.
Optionally, the control end sends the service set identifier and the password of the wireless router and the token accessed to the cloud platform to the bluetooth low energy consumption module through a customized communication protocol.
Optionally, the bluetooth low energy module sends the service set identifier, the password and the token to the wireless module; the wireless module is connected with the wireless router through the service set identifier and the password and is connected with the cloud platform through the token.
Optionally, the wireless module sends networking information to the bluetooth low energy consumption module through the interprocess communication or the serial port, and the bluetooth low energy consumption module transmits the networking information to the control end.
According to another aspect of the present application, a network distribution system of a smart device is provided, including:
the Bluetooth low energy consumption module is used for receiving the distribution network information sent by the control terminal by the intelligent equipment;
and the wireless module is used for connecting the intelligent equipment with the wireless router according to the distribution network information.
The application also discloses a computer device, which comprises a memory, a processor and a computer program stored in the memory and capable of being executed by the processor, wherein the processor realizes the method of any one of the above items when executing the computer program.
The application also discloses a computer-readable storage medium, a non-volatile readable storage medium, having stored therein a computer program which, when executed by a processor, implements the method of any of the above.
The present application also discloses a computer program product comprising computer readable code which, when executed by a computer device, causes the computer device to perform the method of any of the above.
Compared with the prior art, the method has the following beneficial effects:
to the smart machine of WIFI + BLE type, can utilize BLE and APP communication, realize joining in marriage net information quick interaction.
WIFI + BLE smart machine, inside BLE module has been through having established communication with the APP, and is long connection, need not all to establish again every time connecting. The method does not need a smart tconfig distribution network mode using WIFI, does not know the current working channel of the WIFI router, and needs to poll all WIFI working channels, lock the channels and the like. The method has the advantages of fast distribution, good interaction experience for users and very high distribution network success rate.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, serve to provide a further understanding of the application and to enable other features, objects, and advantages of the application to be more apparent. The drawings and their description illustrate the embodiments of the invention and do not limit it. In the drawings:
fig. 1 is a schematic flow chart of a network distribution method of an intelligent device according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a computer device according to one embodiment of the present application; and
FIG. 3 is a schematic diagram of a computer-readable storage medium according to one embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Referring to fig. 1, an embodiment of the present application provides a network distribution method for an intelligent device, including:
s4: the control end transmits the distribution network information to the intelligent equipment through a Bluetooth low energy consumption module of the intelligent equipment;
s6: and the intelligent equipment is connected with a wireless router through a wireless module of the intelligent equipment according to the distribution network information.
In an embodiment of the present application, the network distribution method for the intelligent device further includes:
s2: the Bluetooth low energy consumption module is in a master working state and is provided with the name of the intelligent device.
In an embodiment of the present application, the bluetooth low energy module and the wireless module perform two-way communication through interprocess communication or a serial port.
In an embodiment of the present application, the control end sends the service set identifier and the password of the wireless router and the token accessed to the cloud platform to the bluetooth low energy consumption module through a customized communication protocol.
In an embodiment of the present application, the bluetooth low energy module sends the service set identifier, the password, and the token to the wireless module; the wireless module is connected with the wireless router through the service set identifier and the password and is connected with the cloud platform through the token.
In an embodiment of the application, the wireless module sends networking information to the bluetooth low energy consumption module through the interprocess communication or the serial port, and the bluetooth low energy consumption module transmits the networking information to the control end.
WIFI + BLE smart machine through button or other modes for equipment is in and joins in marriage the net state, and here join in marriage net and refer to let the inside BLE module of smart machine be in master operating condition, need set up BLE equipment name simultaneously, makes things convenient for APP to search and connect.
Inside WIFI + BLE smart machine, carry out two-way communication through communication methods such as interprocess communication mode or uart.
The mobile phone APP is connected to the intelligent device through the Bluetooth device name.
Ssid(s) of WIFI routers formatted via custom communication protocols such as TLVService set identification) The password and token (token) for accessing the cloud platform are sent to a BLE module inside the device.
After the intelligent device receives the distribution network information, the intelligent device interacts the information with the internal WIFI module, the WIFI module uses the ssid and the password of the WIFI router in the information to connect to the WIFI router, and the token and the cloud platform are used for realizing connection verification.
The WIFI module needs to communicate networking information to the BLE module through communication modes such as interprocess communication or uart, the BLE module communicates the information to the APP, and the user can know the current networking state in real time.
According to the BLE characteristic of the WIFI + BLE intelligent equipment, a traditional WIFIsmartconfig/AP mode is converted into a mode of utilizing BLE and APP to interact with distribution network information.
Through the distribution network mode, the WIFI + BLE intelligent equipment avoids the characteristic of slow distribution network mode of the traditional WIFI and the compatibility problem of the WIFI module and the router.
APP and BLE module to and BLE module and WIFI module, the interactive mode is nimble, can freely customize data format, and the encryption mode of data.
The application also provides a distribution network system of the intelligent device, which comprises:
the Bluetooth low energy consumption module is used for receiving the distribution network information sent by the control terminal by the intelligent equipment;
and the wireless module is used for connecting the intelligent equipment with the wireless router according to the distribution network information.
Compared with the prior art, the method has the following beneficial effects:
to the smart machine of WIFI + BLE type, can utilize the direct APP communication with the control end of BLE module of smart machine, and receive the distribution network information that APP sent, realize the quick interaction of distribution network information.
WIFI + BLE smart machine, inside BLE module has been through having established communication with the APP, and is long connection, need not all to establish again every time connecting. The method does not need a smart tconfig distribution network mode using WIFI, does not know the current working channel of the WIFI router, and needs to poll all WIFI working channels, lock the channels and the like. The method has the advantages of fast distribution, good interaction experience for users and very high distribution network success rate.
Referring to fig. 2, the present application further provides a computer device including a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor implements the method of any one of the above methods when executing the computer program.
Referring to fig. 3, a computer-readable storage medium, a non-volatile readable storage medium, having stored therein a computer program which, when executed by a processor, implements any of the methods described above.
A computer program product comprising computer readable code which, when executed by a computer device, causes the computer device to perform the method of any of the above.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and they may alternatively be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, or fabricated separately as individual integrated circuit modules, or fabricated as a single integrated circuit module from multiple modules or steps. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A network distribution method of intelligent equipment is characterized by comprising the following steps:
the control end transmits the distribution network information to the intelligent equipment through a Bluetooth low energy consumption module of the intelligent equipment;
and the intelligent equipment is connected with a wireless router through a wireless module of the intelligent equipment according to the distribution network information.
2. The network distribution method of the intelligent device according to claim 1, wherein the Bluetooth low energy consumption module is in a master working state, and a name of the intelligent device is set.
3. The network distribution method of the intelligent device according to claim 2, wherein the Bluetooth low energy module and the wireless module perform bidirectional communication through interprocess communication or serial port.
4. The network distribution method of the intelligent device according to claim 3, wherein the control terminal sends the service set identifier and the password of the wireless router and the token for accessing the cloud platform to the Bluetooth low energy consumption module through a customized communication protocol.
5. The network distribution method of the intelligent device according to claim 4, wherein the Bluetooth low energy module sends the service set identifier, the password and the token to the wireless module; the wireless module is connected with the wireless router through the service set identifier and the password and is connected with the cloud platform through the token.
6. The network distribution method of the intelligent device according to claim 5, wherein the wireless module sends networking information to the Bluetooth low energy consumption module through the interprocess communication or the serial port, and the Bluetooth low energy consumption module transmits the networking information to the control end.
7. A network distribution system of intelligent equipment is characterized by comprising:
the Bluetooth low energy consumption module is used for receiving the distribution network information sent by the control terminal by the intelligent equipment;
and the wireless module is used for connecting the intelligent equipment with the wireless router according to the distribution network information.
8. A computer device comprising a memory, a processor and a computer program stored in the memory and executable by the processor, wherein the processor implements the method of any one of claims 1-6 when executing the computer program.
9. A computer-readable storage medium, a non-transitory readable storage medium, having stored therein a computer program, characterized in that the computer program, when executed by a processor, implements the method according to any one of claims 1-6.
10. A computer program product comprising computer readable code that, when executed by a computer device, causes the computer device to perform the method of any of claims 1-6.
CN201911350572.1A 2019-12-24 2019-12-24 Network distribution method and system of intelligent equipment Pending CN111010323A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911350572.1A CN111010323A (en) 2019-12-24 2019-12-24 Network distribution method and system of intelligent equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911350572.1A CN111010323A (en) 2019-12-24 2019-12-24 Network distribution method and system of intelligent equipment

Publications (1)

Publication Number Publication Date
CN111010323A true CN111010323A (en) 2020-04-14

Family

ID=70116258

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911350572.1A Pending CN111010323A (en) 2019-12-24 2019-12-24 Network distribution method and system of intelligent equipment

Country Status (1)

Country Link
CN (1) CN111010323A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112165726A (en) * 2020-09-08 2021-01-01 杭州涂鸦信息技术有限公司 Method and system for distributing network to intelligent equipment by WeChat small program
CN113037717A (en) * 2021-02-07 2021-06-25 深圳创维-Rgb电子有限公司 Network access method of intelligent device, terminal and readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104994595A (en) * 2015-05-29 2015-10-21 北京奇虎科技有限公司 Cell phone terminal and intelligent hardware networking control method thereof
CN106161154A (en) * 2016-06-30 2016-11-23 无锡小天鹅股份有限公司 The distribution method of household electrical appliance, system and distribution module
CN106792472A (en) * 2016-12-30 2017-05-31 杭州士兰微电子股份有限公司 The Wi Fi of intelligent hardware devices match somebody with somebody network method
CN106961665A (en) * 2017-05-19 2017-07-18 深圳市芯中芯科技有限公司 A kind of Intelligent hardware based on Bluetooth communication matches somebody with somebody network method
CN107276866A (en) * 2017-07-28 2017-10-20 美的智慧家居科技有限公司 Home appliance match somebody with somebody network method, device and home appliance
CN108513283A (en) * 2018-03-13 2018-09-07 青岛海尔科技有限公司 One kind matching network method, equipment, terminal, medium and computer equipment
CN109819426A (en) * 2019-01-31 2019-05-28 广东美的制冷设备有限公司 Household appliance matches network method, household appliance, mobile terminal and storage medium
CN110300396A (en) * 2019-05-27 2019-10-01 苏宁智能终端有限公司 The WIFI distribution method, apparatus and terminal of smart machine

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104994595A (en) * 2015-05-29 2015-10-21 北京奇虎科技有限公司 Cell phone terminal and intelligent hardware networking control method thereof
CN106161154A (en) * 2016-06-30 2016-11-23 无锡小天鹅股份有限公司 The distribution method of household electrical appliance, system and distribution module
CN106792472A (en) * 2016-12-30 2017-05-31 杭州士兰微电子股份有限公司 The Wi Fi of intelligent hardware devices match somebody with somebody network method
CN106961665A (en) * 2017-05-19 2017-07-18 深圳市芯中芯科技有限公司 A kind of Intelligent hardware based on Bluetooth communication matches somebody with somebody network method
CN107276866A (en) * 2017-07-28 2017-10-20 美的智慧家居科技有限公司 Home appliance match somebody with somebody network method, device and home appliance
CN108513283A (en) * 2018-03-13 2018-09-07 青岛海尔科技有限公司 One kind matching network method, equipment, terminal, medium and computer equipment
CN109819426A (en) * 2019-01-31 2019-05-28 广东美的制冷设备有限公司 Household appliance matches network method, household appliance, mobile terminal and storage medium
CN110300396A (en) * 2019-05-27 2019-10-01 苏宁智能终端有限公司 The WIFI distribution method, apparatus and terminal of smart machine

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
HEART18335101121: "智能家居之手机蓝牙APP:实现与CC2530的数据互传", 《HTTPS://BLOG.CSDN.NET/HEART18335101121/ARTICLE/DETAILS/51325608/》 *
卢军: "面向智能家居的Wi-Fi模块技术实现与应用", 《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》 *
韩丹: "BLE技术在智能家居中的应用", 《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112165726A (en) * 2020-09-08 2021-01-01 杭州涂鸦信息技术有限公司 Method and system for distributing network to intelligent equipment by WeChat small program
CN113037717A (en) * 2021-02-07 2021-06-25 深圳创维-Rgb电子有限公司 Network access method of intelligent device, terminal and readable storage medium

Similar Documents

Publication Publication Date Title
CN103747441B (en) Wireless network access method and access device
CN110636483A (en) Network distribution method and system
CN103369510B (en) The collocation method of APN information and device
US10887745B2 (en) Method and device for sharing file between different terminals
CN107592367A (en) Resource share method, device and the computer-readable recording medium of home appliance
CN110830925A (en) Session management method and device for user group
CN104780405B (en) A kind of method and combination tv of configuration sharing parameter
CN103533669A (en) Mobile terminal multi-APN (access point name) network concurrent system and networking method of mobile terminal multi-APN network concurrent system
CN104410982B (en) Terminal polymerization and reconstructing method in a kind of Wireless Heterogeneous Networks
CN106030560A (en) Automatic internet sharing
WO2016000398A1 (en) Communication method and device, mobile terminal and cloud server
CN103781158A (en) Wireless network access method and access apparatus
CN104184663A (en) Communication method and device based on software-defined network and integrated identification network
CN111010323A (en) Network distribution method and system of intelligent equipment
CN102843434B (en) A kind of equipment room shares method, the Apparatus and system of content
CN104640122A (en) Wireless networking method of router and trunk equipment
CN103533668B (en) The method of the concurrent networked data transmission passage of orderly management multi-channel A PN
CN104426626A (en) Terminal device and management frame sending method and receiving method
CN106161500A (en) The communication module of a kind of remote wireless control electric equipment and control method
CN103491105A (en) Multi-APN channel management method for multi-APN network concurrent networking
CN103428697B (en) Method for network access based on CAPWAP agreement, device and system
CN104333842B (en) A kind of smart machine program resource sharing method and its system based on WIFI
CN105407544A (en) Rapid networking method based on WiFi module
CN105246129B (en) The network-building method and device of a kind of intelligent terminal
CN106416146A (en) Communication apparatus, communication method, and communication system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200414

RJ01 Rejection of invention patent application after publication