CN110636483A - Network distribution method and system - Google Patents

Network distribution method and system Download PDF

Info

Publication number
CN110636483A
CN110636483A CN201910870411.9A CN201910870411A CN110636483A CN 110636483 A CN110636483 A CN 110636483A CN 201910870411 A CN201910870411 A CN 201910870411A CN 110636483 A CN110636483 A CN 110636483A
Authority
CN
China
Prior art keywords
router
intelligent
identifier
bluetooth
communication connection
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
CN201910870411.9A
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.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun 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 Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201910870411.9A priority Critical patent/CN110636483A/en
Publication of CN110636483A publication Critical patent/CN110636483A/en
Pending legal-status Critical Current

Links

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
    • 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/2816Controlling appliance services of a home automation network by calling their functionalities
    • H04L12/282Controlling appliance services of a home automation network by calling their functionalities based on user interaction within the home
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • 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
    • 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
    • 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
    • H04L2012/284Home automation networks characterised by the type of medium used
    • H04L2012/2841Wireless

Abstract

The invention provides a network distribution method and a network distribution system, which are used for solving the problem of low network distribution speed in the prior art. The method is applied to the terminal equipment and comprises the following steps: the method comprises the steps that terminal equipment obtains a first identifier of a router and a pass password for connecting the router; the terminal device sends first information to the first intelligent device through the Bluetooth, wherein the first information comprises a first identifier and a pass password of the router, so that the first intelligent device establishes communication connection with the router corresponding to the first identifier through the pass password.

Description

Network distribution method and system
Technical Field
The invention relates to the technical field of Internet of things, in particular to a network distribution method and system.
Background
With the rapid development of the internet of things, the mode for controlling the household equipment is more and more intelligent, for example, in the case of a current popular remote control mode, a user can control the household equipment by remotely connecting with a network under the condition of configuring the network for the household equipment.
At present, a wireless network is generally configured for a home device based on a terminal device such as a mobile phone, and first, a WIFI module in the home device needs to be set to an Access Point (AP) mode, so that the terminal device sends a WIFI name and a password of a router to the home device by connecting with a hotspot of the home device; then, the WIFI module in the home equipment needs to be switched from an AP mode to a Station (STA) mode, and is connected with the router to complete network configuration. The process of the mode is complicated, the time is long, and the distribution network speed is low.
Disclosure of Invention
The invention provides a network distribution method and a network distribution device, which are used for solving the problem of low network distribution speed in the prior art.
In a first aspect, an embodiment of the present invention provides a network distribution method, which is applied to a terminal device, where the terminal device establishes a communication connection with a router, and the terminal device establishes a bluetooth connection with a first intelligent device, and the method includes:
the terminal equipment acquires a first identifier of the router and acquires a pass password for connecting the router;
the terminal device sends first information to the first intelligent device through the Bluetooth, wherein the first information comprises a first identifier of the router and the pass password, so that the first intelligent device establishes communication connection with the router corresponding to the first identifier by adopting the pass password.
In an optional implementation manner, the terminal device is deployed with a client, and the method further includes:
and the terminal equipment sends a second identifier of the server associated with the client to the first intelligent equipment through the Bluetooth, so that the first intelligent equipment establishes communication connection with the server corresponding to the second identifier after establishing communication connection with the router.
In an optional implementation manner, the method further includes:
the terminal equipment receives a control instruction for controlling the first intelligent equipment to execute a first operation through the client;
and the terminal equipment responds to the control instruction, and sends the control instruction to the first intelligent equipment through the server associated with the client so that the first intelligent equipment can execute the first operation according to the control instruction.
In a second aspect, an embodiment of the present invention provides a network distribution method, which is applied to a first intelligent device, where the first intelligent device establishes a bluetooth connection with a terminal device, and the method includes:
the first intelligent device receives first information sent by the terminal device through the Bluetooth, wherein the first information comprises a first identifier of a router currently connected with the terminal device and a password used for connecting the router;
and the first intelligent equipment establishes communication connection with the router corresponding to the first identifier by adopting the pass password.
In an optional implementation manner, the terminal device is deployed with a client, and the method further includes:
the first intelligent device receives a second identifier of the server associated with the client, which is sent by the terminal device, through the Bluetooth;
and after establishing communication connection with the router, the first intelligent device establishes communication connection with the server corresponding to the second identifier.
In an optional implementation, the first smart device is located in a preconfigured bluetooth local area network system, the bluetooth local area network system further includes a second smart device, and the first smart device is communicatively connected to the second smart device, and the method further includes:
and the first intelligent equipment sends the received first information and the second identifier to the second intelligent equipment, so that the second intelligent equipment establishes communication connection with the router and the server corresponding to the second identifier in sequence.
In a third aspect, an embodiment of the present invention provides a terminal device, where the terminal device establishes a communication connection with a router, and the terminal device establishes a bluetooth connection with a first intelligent device, and the terminal device includes:
the acquisition module is used for acquiring a first identifier of the router and acquiring a pass password for connecting the router;
the first Bluetooth module is used for sending first information to the first intelligent device, wherein the first information comprises a first identifier of the router and the pass password, so that the first intelligent device establishes communication connection with the router corresponding to the first identifier by using the pass password.
In an alternative implementation manner, the terminal device is provided with a client,
the first bluetooth module is further configured to send a second identifier of the server associated with the client to the first intelligent device, so that after the first intelligent device establishes a communication connection with the router, the first intelligent device establishes a communication connection with the server corresponding to the second identifier.
In an alternative implementation form of the present invention,
the client is used for receiving a control instruction for controlling the first intelligent equipment to execute a first operation;
the client is further configured to send, in response to the control instruction, the control instruction to the first intelligent device through a server associated with the client, so that the first intelligent device executes the first operation according to the control instruction.
In a fourth aspect, an embodiment of the present invention provides a first intelligent device, where the first intelligent device establishes a bluetooth connection with a terminal device, and the first intelligent device includes:
the second Bluetooth module is used for receiving first information sent by the terminal equipment, wherein the first information comprises a first identifier of a router currently connected with the terminal equipment and a password used for connecting the router;
and the communication module is used for establishing communication connection with the router corresponding to the first identifier by adopting the pass password.
In an alternative implementation manner, the terminal device is provided with a client,
the second bluetooth module is further configured to receive a second identifier of the server associated with the client, which is sent by the terminal device;
and the communication module is further used for establishing communication connection with the server corresponding to the second identifier after establishing communication connection with the router.
In an optional implementation manner, the first intelligent device is located in a preconfigured bluetooth local area network system, and a second intelligent device is further included in the bluetooth local area network system, and the first intelligent device is in communication connection with the second intelligent device;
the second bluetooth module is further configured to send the received first information and the second identifier to the second intelligent device, so that the second intelligent device establishes communication connection with the router and the server corresponding to the second identifier in sequence.
In a fifth aspect, an embodiment of the present invention provides a distribution network system, including: the terminal device establishes Bluetooth connection with the first intelligent device, and the terminal device establishes communication connection with the router;
the terminal device is used for sending first information to the first intelligent device through the Bluetooth, wherein the first information comprises a first identifier of the router and a password for connecting the router;
the first intelligent device is used for establishing communication connection with the router corresponding to the first identifier by adopting the pass password;
the first intelligent device is further used for sending the first information to a second intelligent device in a pre-configured Bluetooth local area network system, so that the second intelligent device adopts the pass password to establish communication connection with the router corresponding to the first identifier;
the Bluetooth local area network system comprises the first intelligent device and the second intelligent device, and the first intelligent device and the second intelligent device are in communication connection.
In the embodiment of the invention, the terminal equipment sends first information, namely a first identifier of the router and a pass password for connecting the router, to the first intelligent equipment which is in Bluetooth connection with the terminal equipment through Bluetooth. The first intelligent device receives the first information through Bluetooth and establishes communication connection with the router corresponding to the first identifier by adopting the pass password. Based on Bluetooth transmission, the terminal equipment does not need to be connected with a hotspot of the first intelligent equipment, the switching process of the first intelligent equipment between the AP mode and the STA mode is reduced, and information is not required to be transmitted through a router to avoid the influence of a network environment, so that the intelligent equipment is rapidly and accurately distributed.
Drawings
Fig. 1 is a schematic structural diagram of a distribution network system according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a network distribution method according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of another network distribution method according to an embodiment of the present invention;
fig. 4 is a block diagram of a terminal device according to an embodiment of the present invention;
fig. 5 is a block diagram of a first smart device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the 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 invention.
The plurality of the present invention means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. In addition, it should be understood that although the terms first, second, etc. may be used to describe various data in embodiments of the present invention, these data should not be limited by these terms. These terms are only used to distinguish the data from each other.
With the rapid development of the internet of things, the mode for controlling the household equipment is more and more intelligent, for example, in the case of a current popular remote control mode, a user can control the household equipment by remotely connecting with a network under the condition of configuring the network for the household equipment.
At present, a wireless network is generally configured for a home device based on a terminal device such as a mobile phone, and specifically includes the following two ways:
the first method comprises the following steps: the method includes the steps that firstly, a WIFI module in home equipment is Set to be in an AP mode, so that terminal equipment sends a WIFI name (Service Set Identifier, SSID) and a password (password) of a router to the home equipment through a hotspot connected with the home equipment, then the WIFI module in the home equipment is switched to be in an STA mode from the AP mode, and the router is connected through the password to complete network configuration of the home equipment. The process of the mode is complicated, the time is long, and the distribution network speed is low.
And the second method comprises the following steps: the method comprises the steps of firstly starting a hybrid mode of a WIFI module in the household equipment, connecting the terminal equipment with a router, sending a User Datagram Protocol (UDP) multicast carrying a WIFI name and a password of the router through the router, enabling the WIFI module in the household equipment to detect the UDP multicast, switching the hybrid mode to an STA mode after analyzing and obtaining the WIFI name and the password of the router, and further connecting the router by using the password. Compared with the traditional mode, the terminal equipment does not need to disconnect WIFI of the router to connect with the hot spot of the household equipment, and the process is simple; however, the terminal device sends UDP multicast based on the router, which is easily affected by the network environment, and abnormal situations such as no WIFI name or password of the router may occur, and the accuracy of the distribution network cannot be guaranteed.
Therefore, the two distribution network modes can not ensure that the network configuration of the household equipment can be completed quickly and accurately.
Based on this, the embodiment of the invention provides a network distribution method and system, which are used for solving the problem of low network distribution rate in the prior art and can quickly and accurately distribute networks to intelligent devices such as the household devices and the like which support WIFI and Bluetooth communication. The method and the system are based on the same inventive concept, and because the principles of solving the problems of the method and the system are similar, the implementation of the method and the system can be mutually referred, and repeated parts are not repeated.
In order to facilitate understanding of the embodiment, a distribution network system disclosed in the embodiment of the present invention is first described in detail.
Referring to fig. 1, a distribution network system 100 is shown, comprising: the system comprises terminal equipment 101, a router 102 and first intelligent equipment 103, wherein the terminal equipment 101 is in Bluetooth connection with the first intelligent equipment 102, and the terminal equipment 101 is in communication connection with the router 102;
the terminal device 101 is used for sending first information to the first intelligent device 103 through Bluetooth, wherein the first information comprises a first identifier of a router and a pass password for connecting the router; the first identifier may be information capable of representing the router, such as a name of the router WIFI.
And the first intelligent device 103 is used for establishing communication connection with the router 102 corresponding to the first identifier by adopting the password.
In the embodiment of the invention, the terminal device transmits the first identifier of the router and the corresponding password to the first intelligent device based on Bluetooth without connecting a hot spot of the first intelligent device, so that the switching process of the first intelligent device between the AP mode and the STA mode is reduced, and the router is not required to transmit information to avoid the influence of a network environment, thereby realizing rapid and accurate distribution of the intelligent device.
In an optional implementation manner, the first smart device is located in a preconfigured Bluetooth local area network system, which may be a network topology of Bluetooth Low Energy (Bluetooth LE) based on many-to-many device communication established by Bluetooth mesh network technology, where the Bluetooth local area network system includes a plurality of smart devices including the first smart device, each smart device may establish communication connection with other smart devices based on a Bluetooth module deployed by itself, and the plurality of smart devices may send and receive broadcast messages and transmit data to and from each other. In specific implementation, a unified communication protocol may be configured in advance in bluetooth modules of a plurality of intelligent devices including the first intelligent device, so that the intelligent devices establish communication connection with each other based on the unified communication protocol, thereby constructing the bluetooth lan system.
Based on this, as shown in fig. 1, taking the bluetooth local area network system as an example that the first intelligent device 103 and the second intelligent device 104 are included, the first intelligent device 103 is further configured to send the received first information to the second intelligent device 104 in the bluetooth local area network system, so that the second intelligent device 104 establishes a communication connection with the router 102 corresponding to the first identifier by using the pass password.
In the embodiment of the invention, based on the pre-configured Bluetooth local area network system, the terminal equipment only needs to send the first information to the first intelligent equipment, the first intelligent equipment transmits the first information to other intelligent equipment in the Bluetooth local area network system, and a plurality of intelligent equipment in the Bluetooth local area network system can acquire the pass password corresponding to the router so as to be connected with the router. Therefore, the network distribution in batches is realized, namely, the network configuration of the intelligent devices is completed at one time, and the network distribution speed is increased.
The distribution network system can be particularly applied to a scene of configuring a network for household equipment, and the terminal equipment can be equipment such as a mobile phone, a tablet computer and the like which support Bluetooth and WIFI communication; the intelligent equipment can be household equipment such as an air conditioner, a television, an air purifier and the like, which is provided with a Bluetooth module and a WIFI module.
Further, for convenience of implementation, an embodiment of the present invention further provides a network distribution method, which is shown in a schematic flow diagram of the network distribution method shown in fig. 2. The method is applied to the terminal equipment, the terminal equipment establishes communication connection with a router, the terminal equipment establishes Bluetooth connection with first intelligent equipment, and the method comprises the following steps:
step S201, the terminal equipment acquires a first identifier of the router and acquires a pass password for connecting the router;
step S202, the terminal device sends first information to the first intelligent device through Bluetooth, wherein the first information comprises a first identifier and a pass password of the router, so that the first intelligent device adopts the pass password to establish communication connection with the router corresponding to the first identifier.
In the embodiment of the invention, the terminal equipment sends the first identifier of the router and the pass password for connecting the router to the first intelligent equipment which is in Bluetooth connection with the terminal equipment through Bluetooth, so that the first intelligent equipment adopts the pass password to establish communication connection with the router corresponding to the first identifier. Based on Bluetooth transmission, the terminal equipment does not need to be connected with a hotspot of the first intelligent equipment, the switching process of the first intelligent equipment between the AP mode and the STA mode is reduced, and information is not required to be transmitted through a router to avoid the influence of a network environment, so that the intelligent equipment is rapidly and accurately distributed.
In an optional implementation manner, the terminal device is deployed with a client, which may be APP software for receiving a user-triggered relevant control instruction for the smart device. The method further comprises the following steps:
and the terminal equipment sends the second identifier of the server associated with the client to the first intelligent equipment through Bluetooth so that the first intelligent equipment establishes communication connection with the server corresponding to the second identifier after establishing communication connection with the router.
The second identifier may be a port and an access address of a server associated with the client, so that after the first smart device is connected to the WIFI network of the router, the first smart device may request the corresponding server to establish a communication connection according to the received port and the access address, and specifically may establish a socket long connection. Therefore, the first intelligent device is in the WIFI network environment of the router, data sent by the server can be received, and a subsequent user can conveniently perform remote control on the first intelligent device through the server associated with the client.
Specifically, the first smart device is remotely controlled by the server associated with the client, which may be implemented by referring to the following manner:
the method comprises the steps that terminal equipment receives a control instruction for controlling first intelligent equipment to execute first operation through a client; the terminal equipment responds to the control instruction, and sends the control instruction to the first intelligent equipment through a server associated with the client so that the first intelligent equipment can execute a first operation according to the control instruction; wherein, the aforementioned control command may be triggered by a user.
In an optional implementation manner, the client may further be configured to start bluetooth of the terminal device where the client is located and obtain the first identifier of the router to which the terminal device is currently connected. Based on the method, the terminal equipment responds to a Bluetooth starting instruction triggered by a user through the client to start Bluetooth, displays the searched connectable intelligent equipment to the user on a client interface, and determines one intelligent equipment selected by the user as first intelligent equipment so as to enable the terminal equipment to be in Bluetooth connection with the first intelligent equipment; then the passing password of the router connected with the terminal currently input by the user is received through the client, and the first identifier and the passing password of the router are sent to the first intelligent device through the Bluetooth, so that the first intelligent device adopts the passing password to correspond to the first identifier, namely the router connected with the terminal currently establishes communication connection.
The terminal equipment can also remind the user to input the correct password again through the client and resend the password to the first intelligent equipment when receiving feedback information which is sent by the first intelligent equipment and used for indicating that the password is wrong.
Further, referring to fig. 3, an embodiment of the present invention further provides another network distribution method, where the method is applied to the foregoing first intelligent device, and the method includes:
step S301, a first intelligent device receives first information sent by a terminal device through Bluetooth, wherein the first information comprises a first identifier of a router currently connected with the terminal device and a password for connecting the router;
step S302, the first intelligent device adopts the pass password to establish communication connection with the router corresponding to the first identifier.
In the embodiment of the invention, the first intelligent device receives the first information through the Bluetooth and establishes communication connection with the router corresponding to the first identifier by adopting the pass password. Based on Bluetooth transmission, the first intelligent device does not need to switch between an AP mode and an STA mode, meanwhile, the first information which cannot be received due to the influence of a network environment is avoided, the router can be connected quickly and accurately, and network configuration is completed.
In an optional implementation manner, the terminal device is deployed with a client, and based on this, the method further includes: the first intelligent device receives a second identifier of the server associated with the client, which is sent by the terminal device through Bluetooth; and after the first intelligent equipment establishes communication connection with the router, establishing communication connection with the server corresponding to the second identifier.
In an optional implementation manner, the first smart device is located in the bluetooth local area network system, and here, taking an example that the bluetooth local area network system includes the first smart device and the second smart device as an example, the method further includes:
and the first intelligent equipment sends the received first information and the second identification to the second intelligent equipment so that the second intelligent equipment establishes communication connection with the router and the server corresponding to the second identification in sequence.
In the embodiment of the invention, based on the pre-configured Bluetooth local area network system, after receiving the first information and the second identifier sent by the terminal equipment, the first intelligent equipment sends the first information and the second identifier to other intelligent equipment in the Bluetooth local area network system, so that a plurality of intelligent equipment in the Bluetooth local area network system can be connected to a router corresponding to the first identifier by adopting a pass password and establish communication connection with a server corresponding to the second identifier. Therefore, the effect of distributing the network in batches and binding the server to the intelligent devices at one time is achieved.
Based on the same inventive concept as the distribution network method embodiment, referring to fig. 4, an embodiment of the present invention provides a terminal device 400, where the terminal device 400 establishes a communication connection with a router, and establishes a bluetooth connection with a first intelligent device, and the terminal device 400 includes:
an obtaining module 401, configured to obtain a first identifier of a router, and obtain a password for connecting to the router;
the first bluetooth module 402 is configured to send first information to the first intelligent device, where the first information includes a first identifier of the router and a pass password, so that the first intelligent device establishes communication connection with the router corresponding to the first identifier by using the pass password.
In this embodiment of the present invention, the terminal device 400 sends, through bluetooth, the first identifier of the router and the pass password used for connecting the router to the first intelligent device with which bluetooth connection is established, so that the first intelligent device establishes communication connection with the router corresponding to the first identifier by using the pass password. Based on Bluetooth transmission, the terminal equipment does not need to be connected with a hotspot of the first intelligent equipment, the switching process of the first intelligent equipment between the AP mode and the STA mode is reduced, and information is not required to be transmitted through a router to avoid the influence of a network environment, so that the intelligent equipment is rapidly and accurately distributed.
In an optional implementation manner, the terminal device is deployed with a client, and the first bluetooth module 402 is further configured to send a second identifier of a server associated with the client to the first intelligent device, so that after the first intelligent device establishes a communication connection with the router, the first intelligent device establishes a communication connection with the server corresponding to the second identifier.
In an optional embodiment, the client is configured to receive a control instruction for controlling the first smart device to perform the first operation; and the client is also used for responding to the control instruction, and sending the control instruction to the first intelligent equipment through the server associated with the client so that the first intelligent equipment can execute the first operation according to the control instruction.
Based on the same inventive concept as the another network distribution method embodiment, referring to fig. 5, an embodiment of the present invention further provides a first intelligent device 500, where the first intelligent device 500 establishes a bluetooth connection with a terminal device, and the first intelligent device 500 includes:
the second bluetooth module 501 is configured to receive first information sent by a terminal device, where the first information includes a first identifier of a router currently connected to the terminal device and a password used for connecting the router;
and a communication module 502, configured to establish a communication connection with a router corresponding to the first identifier by using the pass password.
In specific implementation, the communication module 502 may be a WIFI module set in the first smart device.
In this embodiment of the present invention, the first smart device 500 receives the first information through bluetooth, and establishes a communication connection with a router corresponding to the first identifier by using the password. Based on Bluetooth transmission, the first intelligent device does not need to switch between an AP mode and an STA mode, meanwhile, the first information which cannot be received due to the influence of a network environment is avoided, the router can be connected quickly and accurately, and network configuration is completed.
In an optional implementation manner, the terminal device is deployed with a client, and the second bluetooth module 501 is further configured to receive a second identifier of a server associated with the client, which is sent by the terminal device; and the communication module is also used for establishing communication connection with the server corresponding to the second identifier after establishing communication connection with the router.
In an optional embodiment, the first intelligent device is located in a preconfigured bluetooth local area network system, the bluetooth local area network system further comprises a second intelligent device, and the first intelligent device is in communication connection with the second intelligent device;
the second bluetooth module 501 is further configured to send the received first information and the second identifier to the second intelligent device, so that the second intelligent device establishes communication connection with the router and the server corresponding to the second identifier in sequence.
Further, an embodiment of the present invention further provides an apparatus, as shown in fig. 6, where the apparatus may be applied to a terminal device or a first intelligent device, and the apparatus includes:
a communication interface 601, a memory 602, and a processor 603;
the processor 603 communicates with other devices through the communication interface 601. A memory 602 for storing program instructions.
In the embodiment of the present application, the specific connection medium among the communication interface 601, the memory 602, and the processor 603 is not limited, for example, a bus may be divided into an address bus, a data bus, a control bus, and the like.
In the embodiments of the present application, the processor may be a general-purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logic blocks disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in a processor.
In the embodiment of the present application, the memory may be a non-volatile memory, such as a Hard Disk Drive (HDD) or a solid-state drive (SSD), and may also be a volatile memory (e.g., a random-access memory (RAM)). The memory can also be, but is not limited to, any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory in the embodiments of the present application may also be circuitry or any other device capable of performing a storage function for storing program instructions and/or data.
When the method is applied to a terminal device, the processor 603 may communicate with another device through the communication interface 601, where the other device may be a first smart device, and the communication interface 601 may be a bluetooth module or a WIFI module in the terminal device. For example, the processor 803 may send the first identifier of the router and the password for connecting to the router to the first smart device through a bluetooth module in the terminal device, and the processor 803 is configured to call the program instructions stored in the memory 802, and execute the method executed by the terminal device in any of the embodiments according to the obtained program.
When applied to a first smart device, the processor 603 may communicate with other devices through the communication interface 601, where the other devices may be terminal devices or other smart devices in a bluetooth local area network system, and the communication interface 601 may be a bluetooth module or a WIFI module in the first smart device. For example, the processor 803 may receive, through a bluetooth module in the first smart device, the first identifier of the router and the password for connecting to the router, where the first identifier is sent by the terminal device, and the processor 803 is configured to call the program instruction stored in the memory 802, and execute the method executed by the first smart device in any of the embodiments according to the obtained program.
Further, an embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores computer instructions, and when the computer instructions are executed on a computer, the computer is enabled to execute the distribution network method.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (13)

1. A network distribution method is applied to a terminal device, the terminal device is in communication connection with a router, the terminal device is in Bluetooth connection with a first intelligent device, and the method comprises the following steps:
the terminal equipment acquires a first identifier of the router and acquires a pass password for connecting the router;
the terminal device sends first information to the first intelligent device through the Bluetooth, wherein the first information comprises a first identifier of the router and the pass password, so that the first intelligent device establishes communication connection with the router corresponding to the first identifier by adopting the pass password.
2. The method of claim 1, wherein the terminal device is deployed with a client, the method further comprising:
and the terminal equipment sends a second identifier of the server associated with the client to the first intelligent equipment through the Bluetooth, so that the first intelligent equipment establishes communication connection with the server corresponding to the second identifier after establishing communication connection with the router.
3. The method of claim 2, further comprising:
the terminal equipment receives a control instruction for controlling the first intelligent equipment to execute a first operation through the client;
and the terminal equipment responds to the control instruction, and sends the control instruction to the first intelligent equipment through the server associated with the client so that the first intelligent equipment can execute the first operation according to the control instruction.
4. A network distribution method is applied to a first intelligent device, the first intelligent device and a terminal device establish Bluetooth connection, and the method comprises the following steps:
the first intelligent device receives first information sent by the terminal device through the Bluetooth, wherein the first information comprises a first identifier of a router currently connected with the terminal device and a password used for connecting the router;
and the first intelligent equipment establishes communication connection with the router corresponding to the first identifier by adopting the pass password.
5. The method of claim 4, wherein the terminal device is deployed with a client, the method further comprising:
the first intelligent device receives a second identifier of the server associated with the client, which is sent by the terminal device, through the Bluetooth;
and after establishing communication connection with the router, the first intelligent device establishes communication connection with the server corresponding to the second identifier.
6. The method of claim 5, wherein the first smart device is located in a preconfigured Bluetooth local area network system, the Bluetooth local area network system further comprising a second smart device, the first smart device communicatively connected to the second smart device, the method further comprising:
and the first intelligent equipment sends the received first information and the second identifier to the second intelligent equipment, so that the second intelligent equipment establishes communication connection with the router and the server corresponding to the second identifier in sequence.
7. A terminal device is characterized in that the terminal device establishes communication connection with a router, the terminal device establishes Bluetooth connection with a first intelligent device, and the terminal device comprises:
the acquisition module is used for acquiring a first identifier of the router and acquiring a pass password for connecting the router;
the first Bluetooth module is used for sending first information to the first intelligent device, wherein the first information comprises a first identifier of the router and the pass password, so that the first intelligent device establishes communication connection with the router corresponding to the first identifier by using the pass password.
8. The terminal device of claim 7, wherein the terminal device is deployed with a client,
the first bluetooth module is further configured to send a second identifier of the server associated with the client to the first intelligent device, so that after the first intelligent device establishes a communication connection with the router, the first intelligent device establishes a communication connection with the server corresponding to the second identifier.
9. The terminal device of claim 8,
the client is used for receiving a control instruction for controlling the first intelligent equipment to execute a first operation;
the client is further configured to send, in response to the control instruction, the control instruction to the first intelligent device through a server associated with the client, so that the first intelligent device executes the first operation according to the control instruction.
10. A first intelligent device, wherein the first intelligent device establishes a Bluetooth connection with a terminal device, the first intelligent device comprising:
the second Bluetooth module is used for receiving first information sent by the terminal equipment, wherein the first information comprises a first identifier of a router currently connected with the terminal equipment and a password used for connecting the router;
and the communication module is used for establishing communication connection with the router corresponding to the first identifier by adopting the pass password.
11. The first smart device of claim 10, wherein the end device is deployed with a client,
the second bluetooth module is further configured to receive a second identifier of the server associated with the client, which is sent by the terminal device;
and the communication module is further used for establishing communication connection with the server corresponding to the second identifier after establishing communication connection with the router.
12. The first smart device of claim 11, wherein the first smart device is located in a preconfigured bluetooth local area network system, further comprising a second smart device, the first smart device communicatively coupled with the second smart device;
the second bluetooth module is further configured to send the received first information and the second identifier to the second intelligent device, so that the second intelligent device establishes communication connection with the router and the server corresponding to the second identifier in sequence.
13. A distribution network system, comprising: the terminal device establishes Bluetooth connection with the first intelligent device, and the terminal device establishes communication connection with the router;
the terminal device is used for sending first information to the first intelligent device through the Bluetooth, wherein the first information comprises a first identifier of the router and a password for connecting the router;
the first intelligent device is used for establishing communication connection with the router corresponding to the first identifier by adopting the pass password;
the first intelligent device is further used for sending the first information to a second intelligent device in a pre-configured Bluetooth local area network system, so that the second intelligent device adopts the pass password to establish communication connection with the router corresponding to the first identifier;
the Bluetooth local area network system comprises the first intelligent device and the second intelligent device, and the first intelligent device and the second intelligent device are in communication connection.
CN201910870411.9A 2019-09-16 2019-09-16 Network distribution method and system Pending CN110636483A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910870411.9A CN110636483A (en) 2019-09-16 2019-09-16 Network distribution method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910870411.9A CN110636483A (en) 2019-09-16 2019-09-16 Network distribution method and system

Publications (1)

Publication Number Publication Date
CN110636483A true CN110636483A (en) 2019-12-31

Family

ID=68972536

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910870411.9A Pending CN110636483A (en) 2019-09-16 2019-09-16 Network distribution method and system

Country Status (1)

Country Link
CN (1) CN110636483A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111356090A (en) * 2020-03-12 2020-06-30 深圳市信锐网科技术有限公司 Networking method of network, device thereof, terminal and computer readable storage medium
CN111867001A (en) * 2020-07-24 2020-10-30 深圳创维数字技术有限公司 Intelligent equipment batch network distribution method, system and storage medium
CN112130461A (en) * 2020-09-24 2020-12-25 珠海格力电器股份有限公司 Smart home control method and device, storage medium and electronic device
CN112165417A (en) * 2020-09-07 2021-01-01 珠海格力电器股份有限公司 Networking method of household appliance, electronic device and storage medium
CN112601202A (en) * 2020-11-30 2021-04-02 星络智能科技有限公司 Method for automatically distributing network, electronic device and computer readable storage medium
CN112601201A (en) * 2020-11-30 2021-04-02 星络智能科技有限公司 Method for automatically distributing network, routing equipment and computer readable storage medium
CN112653627A (en) * 2020-12-02 2021-04-13 深圳依时货拉拉科技有限公司 Data transmission method, device and system, computer equipment and computer readable storage medium
CN112770308A (en) * 2021-01-04 2021-05-07 珠海格力电器股份有限公司 Network distribution method and device of intelligent device, electronic device and computer readable medium
CN113395345A (en) * 2021-05-31 2021-09-14 深圳Tcl新技术有限公司 Network distribution method and device of Internet of things equipment and storage medium
CN113965916A (en) * 2021-10-14 2022-01-21 上海庆科信息技术有限公司 Equipment network distribution method, device, equipment and computer readable storage medium
CN114125843A (en) * 2021-12-03 2022-03-01 北京自如信息科技有限公司 Intelligent device network distribution method, device and equipment
CN114531344A (en) * 2020-11-06 2022-05-24 深圳Tcl新技术有限公司 Network distribution method, device, terminal and computer storage medium
CN115333935A (en) * 2022-08-29 2022-11-11 青岛海信智慧生活科技股份有限公司 Network distribution method of multiple Internet of things devices, internet of things devices and terminal device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070156659A1 (en) * 2005-12-29 2007-07-05 Blue Jungle Techniques and System to Deploy Policies Intelligently
CN103281752A (en) * 2013-05-28 2013-09-04 北京推博信息技术有限公司 WIFI (wireless fidelity) network access method and device, electronic equipment and communication system
CN103297506A (en) * 2013-05-10 2013-09-11 西安祥泰软件设备系统有限责任公司 Method and system for controlling household equipment
CN104660714A (en) * 2015-03-13 2015-05-27 张泽 Remote control method, remote control device and remote control system of terminal equipment
CN104735814A (en) * 2015-04-10 2015-06-24 三星电子(中国)研发中心 Access method, system and related device for automatically getting access to WiFi network
CN105636237A (en) * 2015-12-24 2016-06-01 广东欧珀移动通信有限公司 Network connection method, wireless device and system
CN105915942A (en) * 2016-07-07 2016-08-31 深圳创维数字技术有限公司 Method and apparatus for controlling set top box
CN107040438A (en) * 2017-05-12 2017-08-11 上海斐讯数据通信技术有限公司 A kind of intelligent home control system and method based on router

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070156659A1 (en) * 2005-12-29 2007-07-05 Blue Jungle Techniques and System to Deploy Policies Intelligently
CN103297506A (en) * 2013-05-10 2013-09-11 西安祥泰软件设备系统有限责任公司 Method and system for controlling household equipment
CN103281752A (en) * 2013-05-28 2013-09-04 北京推博信息技术有限公司 WIFI (wireless fidelity) network access method and device, electronic equipment and communication system
CN104660714A (en) * 2015-03-13 2015-05-27 张泽 Remote control method, remote control device and remote control system of terminal equipment
CN104735814A (en) * 2015-04-10 2015-06-24 三星电子(中国)研发中心 Access method, system and related device for automatically getting access to WiFi network
CN105636237A (en) * 2015-12-24 2016-06-01 广东欧珀移动通信有限公司 Network connection method, wireless device and system
CN105915942A (en) * 2016-07-07 2016-08-31 深圳创维数字技术有限公司 Method and apparatus for controlling set top box
CN107040438A (en) * 2017-05-12 2017-08-11 上海斐讯数据通信技术有限公司 A kind of intelligent home control system and method based on router

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111356090A (en) * 2020-03-12 2020-06-30 深圳市信锐网科技术有限公司 Networking method of network, device thereof, terminal and computer readable storage medium
CN111356090B (en) * 2020-03-12 2021-11-19 深圳市信锐网科技术有限公司 Networking method of network, device thereof, terminal and computer readable storage medium
CN111867001A (en) * 2020-07-24 2020-10-30 深圳创维数字技术有限公司 Intelligent equipment batch network distribution method, system and storage medium
CN111867001B (en) * 2020-07-24 2022-02-15 深圳创维数字技术有限公司 Intelligent equipment batch network distribution method, system and storage medium
CN112165417A (en) * 2020-09-07 2021-01-01 珠海格力电器股份有限公司 Networking method of household appliance, electronic device and storage medium
CN112130461A (en) * 2020-09-24 2020-12-25 珠海格力电器股份有限公司 Smart home control method and device, storage medium and electronic device
CN114531344A (en) * 2020-11-06 2022-05-24 深圳Tcl新技术有限公司 Network distribution method, device, terminal and computer storage medium
CN114531344B (en) * 2020-11-06 2023-08-01 深圳Tcl新技术有限公司 Distribution network method, device, terminal and computer storage medium
CN112601202A (en) * 2020-11-30 2021-04-02 星络智能科技有限公司 Method for automatically distributing network, electronic device and computer readable storage medium
CN112601201A (en) * 2020-11-30 2021-04-02 星络智能科技有限公司 Method for automatically distributing network, routing equipment and computer readable storage medium
CN112653627A (en) * 2020-12-02 2021-04-13 深圳依时货拉拉科技有限公司 Data transmission method, device and system, computer equipment and computer readable storage medium
CN112770308A (en) * 2021-01-04 2021-05-07 珠海格力电器股份有限公司 Network distribution method and device of intelligent device, electronic device and computer readable medium
CN113395345A (en) * 2021-05-31 2021-09-14 深圳Tcl新技术有限公司 Network distribution method and device of Internet of things equipment and storage medium
CN113965916A (en) * 2021-10-14 2022-01-21 上海庆科信息技术有限公司 Equipment network distribution method, device, equipment and computer readable storage medium
CN114125843A (en) * 2021-12-03 2022-03-01 北京自如信息科技有限公司 Intelligent device network distribution method, device and equipment
CN114125843B (en) * 2021-12-03 2023-09-29 北京自如信息科技有限公司 Intelligent equipment network distribution method, device and equipment
CN115333935A (en) * 2022-08-29 2022-11-11 青岛海信智慧生活科技股份有限公司 Network distribution method of multiple Internet of things devices, internet of things devices and terminal device

Similar Documents

Publication Publication Date Title
CN110636483A (en) Network distribution method and system
CN111867001B (en) Intelligent equipment batch network distribution method, system and storage medium
US11109185B2 (en) Mesh network and mesh device and network distribution method thereof
TWI759555B (en) Method, device and system for accessing network hotspot device by network device to be distributed
CN108419294B (en) Resource pool determination method and related equipment
EP3185619B1 (en) Method and device for connecting to network
CN110740460A (en) device network access method, device, network device and storage medium
CN111490916B (en) Method, system, device and medium for binding ZigBee sub-devices of ZigBee
US10298446B2 (en) Methods, apparatuses, and system for device management
CN103974376A (en) Network connection assisting system and method
EP2687000A1 (en) Hybrid networking simple-connect setup via proxy device
CN110602682A (en) Network management system and method based on Bluetooth BLE and mesh mixing
CN103634657A (en) Television and mobile terminal synchronous WIFI connection setup method and device
CN112566113B (en) Key generation and terminal network distribution method, device and equipment
CN110635957B (en) Method and device for network distribution of Internet of things equipment and mobile terminal
CN104539324A (en) Bluetooth low-power-consumption networking interconnecting method and system
CN105933469B (en) Network access method and device for intelligent equipment and intelligent equipment
WO2023005410A1 (en) Information synchronization method and system, storage medium, and electronic device
CN113794996B (en) Device communication, device control method, device, electronic device, and storage medium
CN105812185A (en) Communication connection method for playing device
CN105915416B (en) Information processing method and terminal equipment
CN108650310B (en) Service discovery method
WO2018196463A1 (en) Method and apparatus for network access, storage medium, and processor
EP3398297B1 (en) Establishment of a connection between two local devices connected to different networks
US20150257176A1 (en) Group Provisioning of Wireless Stations of a Wireless Local Area Network (WLAN)

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: 20191231

RJ01 Rejection of invention patent application after publication