CN112104532A - Network connection method, network distribution device, electronic equipment and storage medium - Google Patents

Network connection method, network distribution device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112104532A
CN112104532A CN202010948545.0A CN202010948545A CN112104532A CN 112104532 A CN112104532 A CN 112104532A CN 202010948545 A CN202010948545 A CN 202010948545A CN 112104532 A CN112104532 A CN 112104532A
Authority
CN
China
Prior art keywords
connection
channel
router
information
service set
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010948545.0A
Other languages
Chinese (zh)
Other versions
CN112104532B (en
Inventor
潘潇
李峰
施超
孙阳
贾景润
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Hangzhou 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 China Mobile Communications Group Co Ltd, China Mobile Hangzhou Information Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202010948545.0A priority Critical patent/CN112104532B/en
Publication of CN112104532A publication Critical patent/CN112104532A/en
Application granted granted Critical
Publication of CN112104532B publication Critical patent/CN112104532B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y10/00Economic sectors
    • G16Y10/80Homes; Buildings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computing Systems (AREA)
  • Automation & Control Theory (AREA)
  • Computer Security & Cryptography (AREA)
  • Business, Economics & Management (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Accounting & Taxation (AREA)
  • Structural Engineering (AREA)
  • Civil Engineering (AREA)
  • Architecture (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention relates to the technical field of communication, and discloses a network connection method, which comprises the following steps: the method comprises the steps of connecting a fast connection channel of a target router, acquiring connection information of the target router on the fast connection channel, and connecting the target router on a basic channel of the target router according to the connection information; and if the connection of the quick connection channel fails, connecting a guide channel of the target router, and acquiring connection information on the guide channel so as to connect the target router on the basic channel according to the connection information. The embodiment of the invention also discloses a network distribution method, a network distribution device, electronic equipment and a storage medium. The network connection method, the network distribution method and device, the electronic equipment and the storage medium provided by the embodiment of the invention can improve the success rate of network distribution.

Description

Network connection method, network distribution device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a network connection method, a network distribution method, an apparatus, an electronic device, and a storage medium.
Background
Along with the development of the internet of things and the smart home industry, more and more smart home devices enter the lives of people, and when general smart home devices are used for the first time, the general smart home devices are required to be connected to a WIFI network (namely, a distribution network), so that the functions of the smart home devices can be effectively exerted.
At present, on a distribution network for realizing the intelligent home devices, a mobile terminal connected with the intelligent home devices (connected in an AP mode or a Bluetooth mode) is mainly used for transmitting a Service Set Identifier (SSID) and a password of a router to the intelligent home devices, and the intelligent home devices are distributed with the router according to the obtained SSID and password.
However, the inventors found that the related art has at least the following problems: the intelligent household equipment can only be used for a distribution network in a distribution network mode, and the success rate of the distribution network is low.
Disclosure of Invention
The embodiment of the invention aims to provide a network connection method, a network distribution device, electronic equipment and a storage medium, so that the success rate of network distribution is improved.
In order to solve the above technical problem, an embodiment of the present invention provides a network connection method, including: the method comprises the steps of connecting a fast connection channel of a target router, obtaining connection information of the target router on the fast connection channel, and connecting the target router on a basic channel of the target router according to the connection information, wherein the connection information comprises a first service set identifier and a password of the target router, the basic channel corresponds to the first service set identifier, and the fast connection channel corresponds to a second service set identifier of the target router; and if the connection of the quick connection channel fails, connecting a guide channel of the target router, acquiring connection information on the guide channel, connecting the target router on the basic channel according to the connection information, wherein the guide channel corresponds to the third service set identifier of the target router.
An embodiment of the present invention further provides a network connection device, including: the first connection module is used for connecting a fast connection channel of a target router, acquiring connection information of the target router on the fast connection channel, and connecting the target router on a basic channel of the target router according to the connection information, wherein the connection information comprises a first service set identifier and a password of the target router, the basic channel corresponds to the first service set identifier, and the fast connection channel corresponds to a second service set identifier of the target router; and the second connection module is used for connecting a guide channel of the target router when the connection of the quick connection channel fails, acquiring connection information on the guide channel so as to connect the target router on the basic channel according to the connection information, wherein the guide channel corresponds to the third service set identifier of the target router.
The embodiment of the invention also provides a network distribution method, which comprises the following steps: if a first connection request sent by the household appliance on a fast connection channel of the router is received, sending distribution network information of the router on the fast connection channel according to the first connection request so that the household appliance can connect the router on a basic channel according to the distribution network information, wherein the distribution network information comprises a first service set identifier and a password of the router, the basic channel corresponds to the first service set identifier, and the fast connection channel corresponds to a second service set identifier of the router; and if a second connection request sent by the household appliance equipment on the guide channel of the router is received, sending distribution network information on the guide channel according to the second connection request so that the household appliance equipment can be connected with the router on the basic channel according to the distribution network information, wherein the guide channel corresponds to a third service set identifier of the router.
An embodiment of the present invention further provides a network distribution device, including: the first distribution network module is used for sending distribution network information of the router on a fast connection channel according to the first connection request when receiving a first connection request sent by household appliances on the fast connection channel of the router, so that the household appliances are connected to the router on a basic channel according to the distribution network information, wherein the distribution network information comprises a first service set identifier and a password of the router, the basic channel corresponds to the first service set identifier, and the fast connection channel corresponds to a second service set identifier of the router; and the second distribution network module is used for sending distribution network information on the guide channel according to the second connection request when receiving a second connection request sent by the household appliance equipment on the guide channel of the router, so that the household appliance equipment is connected to the router on the basic channel according to the distribution network information, and the guide channel corresponds to the third service set identifier of the router.
An embodiment of the present invention also provides an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the network connection method or the network distribution method.
The embodiment of the invention also provides a computer-readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the network connection method or the network distribution method.
Compared with the related art, the method and the device have the advantages that the connection information of the target router is obtained from the fast connection channel or the guide channel through the fast connection channel or the guide channel connected with the target router, and then the connection with the target router is completed on the basis of the basic channel; when the connection of the quick connection channel fails, the connection information of the target router can still be acquired through the guide channel, so that the possibility that terminal (household electrical appliance) equipment acquires the connection information of the target router can be increased, and the success rate of the terminal equipment connected to the target router is improved; meanwhile, the connection information of the target router can be directly obtained from the fast connection channel or the guide channel, and a mobile terminal is not needed, so that the operation of a distribution network can be simplified, the time of the distribution network is further shortened, and the efficiency of the distribution network is improved.
In addition, after connecting the pilot channel of the target router, the network connection method further includes: if the connection of the guide channel fails, connecting the mobile terminal; receiving input connection information sent by a mobile terminal, wherein the input connection information comprises a first service set identifier and a password input in the mobile terminal; the target router is connected on the basic channel according to the input connection information. The connection information of the target router is acquired by the mobile terminal when the connection of the guide channel fails, so that the connection with the target router is completed, the mode of acquiring the connection information of the target router can be enriched, and the success rate of the distribution network is further improved.
In addition, the network distribution method further comprises the following steps: if a third connection request sent by the household appliance equipment is received on the basic channel, whether the third connection request comprises distribution network information is judged; and if the third connection request comprises distribution network information, carrying out distribution network on the household appliance equipment according to the distribution network information.
In addition, after receiving a second connection request sent by the home device on the bootstrap channel of the router, the network distribution method further includes: judging whether a trigger operation instruction is received or not; and if a trigger operation instruction is received, starting a fast connection channel. When the household appliances are connected to the guide channel, the quick connection channel is opened according to the trigger operation instruction, so that the convenience of accessing the plurality of household appliances to the router can be improved.
In addition, the method for starting the fast connection channel specifically comprises the following steps: and opening the fast connection channel within a preset time period.
Drawings
One or more embodiments are illustrated by the corresponding figures in the drawings, which are not meant to be limiting.
Fig. 1 is a schematic flow chart of a network connection method according to a first embodiment of the present invention;
fig. 2 is a flowchart illustrating a network connection method according to a second embodiment of the present invention;
fig. 3 is a schematic block diagram of a network connection device according to a third embodiment of the present invention;
fig. 4 is a schematic flow chart of a network distribution method according to a fourth embodiment of the present invention;
fig. 5 is a schematic flow chart of a network distribution method according to a fifth embodiment of the present invention;
fig. 6 is a diagram of a network distribution method according to a sixth embodiment of the present invention;
fig. 7 is a schematic block diagram of a distribution network device according to a seventh embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device according to an eighth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments.
A first embodiment of the present invention relates to a network connection method, in which connection information of a target router is acquired on a fast connection channel through the fast connection channel to which the target router is connected, so as to connect the target router on a basic channel of the target router according to the connection information; and if the connection of the quick connection channel fails, connecting a guide channel of the target router, and acquiring connection information on the guide channel so as to connect the target router on the basic channel according to the connection information. The connection information of the target router is obtained through the quick connection channel or the guide channel of the target router, and then the connection with the target router is completed on the basis channel.
It should be noted that the execution subject of the network connection method provided by the embodiment of the present invention may be a terminal device, for example, a home appliance of a smart home, and the following description will take the home appliance as an example.
A specific flow of the network connection method provided by the embodiment of the present invention is shown in fig. 1, and includes the following steps:
s101: and connecting a fast connection channel of the target router, acquiring connection information of the target router on the fast connection channel, and connecting the target router on a basic channel of the target router according to the connection information, wherein the connection information comprises a first service set identifier and a password of the target router, the basic channel corresponds to the first service set identifier, and the fast connection channel corresponds to a second service set identifier of the target router.
In order to implement the network connection method provided in the embodiment of the present invention, optionally, the target router should have 3 service set identifiers, which correspond to three channels respectively. The basic channel corresponds to a first service set identifier of the target router, the fast connection channel corresponds to a second service set identifier of the target router, and the guide channel corresponds to a third service set identifier of the target router.
Optionally, the basic channel is in a default on state and encrypted, and is used for the daily connection and use of the WiFi equipment of the user, and the user can set and modify the basic channel by himself; the guiding channel is also opened by default and encrypted to serve as a hidden guiding WiFi channel of WiFi intelligent hardware equipment, the guiding channel is not opened to mobile terminal equipment (such as a mobile phone), the SSID1 cannot be detected by the mobile terminal equipment, and a user cannot set and modify the SSID 1; the fast connection channel is in a default closed state and can be triggered to be opened through a key to serve as a fast distribution network channel of the intelligent hardware equipment, and a user cannot set and modify the channel.
Optionally, when the home appliance is connected to the quick connection channel or the guidance channel, the home appliance sends the device information to the target router through the connected channel, and the target router sends the connection information to the home appliance through the connected channel; and after the household electrical equipment acquires the connection information, disconnecting the quick connection channel or the guide channel, and connecting the target router from the basic channel. Optionally, the home device verifies the connection information by transmitting the connection information (the first service set identifier and the password) to the target router over the basic channel, and if the verification is passed, the home device connects to the target router.
It should be noted that the target router may further include other channels, and the number of channels specifically included in the target router is not specifically limited in the embodiments of the present invention.
S102: and if the connection of the quick connection channel fails, connecting a guide channel of the target router, acquiring connection information on the guide channel, connecting the target router on the basic channel according to the connection information, wherein the guide channel corresponds to the third service set identifier of the target router.
Optionally, in order for the home device to connect to the fast-connect channel, the bootstrap channel, or the basic channel of the target router, the home device should operate in an STA mode in which the home device can connect to a wireless Access Point (AP).
In the related art, when the home appliance device is to be connected to the router, the home appliance device needs to first obtain a service set identifier (a first service set identifier) and a password of the router by using a mobile terminal (e.g., a mobile phone), and then connect the router according to the obtained service set identifier and password of the router. The network connection method provided by the embodiment of the invention directly obtains the service set identifier and the password of the router through the fast connection channel or the guide channel of the router without a mobile terminal, thereby simplifying the operation of the distribution network, further shortening the time of the distribution network, and improving the efficiency of the distribution network while improving the success rate.
Compared with the prior art, the network connection method provided by the embodiment of the invention obtains the connection information of the target router from the quick connection channel or the guide channel through the quick connection channel or the guide channel connected with the target router, and then completes the connection with the target router on the basic channel; when the connection of the quick connection channel fails, the connection information of the target router can still be acquired through the guide channel, so that the possibility that terminal (household electrical appliance) equipment acquires the connection information of the target router can be increased, and the success rate of the terminal equipment connected to the target router is improved; meanwhile, the connection information of the target router can be directly obtained from the fast connection channel or the guide channel, and a mobile terminal is not needed, so that the operation of a distribution network can be simplified, the time of the distribution network is further shortened, and the efficiency of the distribution network is improved.
A second embodiment of the present invention relates to a network connection method. The second embodiment is substantially the same as the first embodiment, and mainly differs therefrom in that: and when the connection guide channel fails, acquiring the connection information of the target router through the mobile terminal.
A specific flow of the network connection method provided by the embodiment of the present invention is shown in fig. 2, and specifically includes the following steps:
s201: and connecting a fast connection channel of the target router, acquiring connection information of the target router on the fast connection channel, and connecting the target router on a basic channel of the target router according to the connection information, wherein the connection information comprises a first service set identifier and a password of the target router, the basic channel corresponds to the first service set identifier, and the fast connection channel corresponds to a second service set identifier of the target router.
S202: and if the connection of the quick connection channel fails, connecting a guide channel of the target router, acquiring connection information on the guide channel, connecting the target router on the basic channel according to the connection information, wherein the guide channel corresponds to the third service set identifier of the target router.
S203: if the connection of the guide channel fails, the mobile terminal is connected.
S204: and receiving input connection information sent by the mobile terminal, wherein the input connection information comprises a first service set identifier and a password input in the mobile terminal.
S205: the target router is connected on the basic channel according to the input connection information.
S201 to S202 are the same as S101 to S102 in the first embodiment, and reference may be specifically made to the description in the first embodiment, which is not described herein again.
For S203-S205, the following is specified:
when the household appliance is connected with the guide channel, if the guide channel is not connected, the AP can be started
The mode is that the mobile terminal is accessed to the AP of the household appliance equipment, so that the connection with the mobile terminal is completed, wherein the mobile terminal can be a mobile phone or a tablet personal computer and the like; after the mobile terminal is connected, the user can input the connection information (the first service set identifier and the password) of the target router at the mobile terminal, and then the household appliance receives the input connection information sent by the mobile terminal; after receiving the input connection information, the household appliance disconnects the connection with the mobile terminal, and connects the target router on the basic channel according to the input connection information.
Optionally, when the home appliance device is connected to the mobile terminal, the mobile terminal may be connected in a bluetooth manner, or in other manners that can implement connection, except for the above-mentioned AP mode, and the specific connection manner between the home appliance device and the mobile terminal is not particularly limited in the embodiments of the present invention.
In practical application, after the connection of the home appliance to the guiding channel fails, the home appliance may send a prompt of the connection failure, for example, a prompt tone, and then the user operates the mobile terminal to compile the connection information of the target router into sound waves and transmit the sound waves to the home appliance, and after receiving the connection information, the home appliance decodes the compiled connection information and connects the target router according to the decoded connection information; or the mobile terminal compiles the connection information of the target router into a data packet to be transmitted through the router, the household appliance starts the data packet of the hybrid mode monitoring router so as to obtain the connection information, and then the household appliance is connected with the target router according to the connection information.
Compared with the prior art, the network connection method provided by the embodiment of the invention has the advantages that the connection with the target router is completed by acquiring the connection information of the target router by using the mobile terminal when the connection of the guide channel fails, so that the modes of acquiring the connection information of the target router can be enriched, and the success rate of the distribution network is further improved.
The steps of the above methods are divided for clarity, and the implementation may be combined into one step or split some steps, and the steps are divided into multiple steps, so long as the steps contain the same logical relationship, which is within the protection scope of the present patent; it is within the scope of the patent to add insignificant modifications to the algorithms or processes or to introduce insignificant design changes to the core design without changing the algorithms or processes.
A third embodiment of the present invention relates to a network connection device 300, as shown in fig. 3, including a first connection module 301 and a second connection module 302. The functions of the modules are explained in detail as follows:
a first connection module 301, configured to connect to a fast connection channel of a target router, obtain connection information of the target router on the fast connection channel, and connect the target router on a basic channel of the target router according to the connection information, where the connection information includes a first service set identifier and a password of the target router, the basic channel corresponds to the first service set identifier, and the fast connection channel corresponds to a second service set identifier of the target router;
the second connection module 302 is configured to, when connection to the fast connection channel fails, connect to a bootstrap channel of the target router, and obtain connection information on the bootstrap channel, so as to connect to the target router on the basic channel according to the connection information, where the bootstrap channel corresponds to the third service set identifier of the target router.
Further, the network connection apparatus 300 according to the embodiment of the present invention further includes a third connection module, where the third connection module is configured to:
when the connection of the guide channel fails, connecting the mobile terminal;
receiving input connection information sent by a mobile terminal, wherein the input connection information comprises a first service set identifier and a password input in the mobile terminal;
the target router is connected on the basic channel according to the input connection information.
It should be understood that this embodiment is an example of the apparatus corresponding to the first and second embodiments, and may be implemented in cooperation with the first and second embodiments. The related technical details mentioned in the first and second embodiments are still valid in this embodiment, and are not described herein again to reduce repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied to the first and second embodiments.
It should be noted that each module referred to in this embodiment is a logical module, and in practical applications, one logical unit may be one physical unit, may be a part of one physical unit, and may be implemented by a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, elements that are not so closely related to solving the technical problems proposed by the present invention are not introduced in the present embodiment, but this does not indicate that other elements are not present in the present embodiment.
The fourth embodiment of the invention relates to a network distribution method, if a first connection request sent by household appliances on a fast connection channel of a router is received, network distribution information of the router is sent on the fast connection channel according to the first connection request, so that the household appliances are connected with the router on a basic channel according to the network distribution information; and if a second connection request sent by the household appliance equipment on the guide channel of the router is received, sending distribution network information on the guide channel according to the second connection request so that the household appliance equipment can be connected with the router on the basic channel according to the distribution network information.
It should be noted that an execution main body of the network distribution method provided by the embodiment of the present invention may be a router, and may also be other devices or apparatuses connected to the router, and the router is taken as an example for description below.
The specific flow of the network distribution method provided by the embodiment of the invention is shown in fig. 4, and specifically comprises the following steps:
s401: if a first connection request sent by the household appliance on a fast connection channel of the router is received, the distribution network information of the router is sent on the fast connection channel according to the first connection request so that the household appliance can be connected with the router on a basic channel according to the distribution network information, wherein the distribution network information comprises a first service set identifier and a password of the router, the basic channel corresponds to the first service set identifier, and the fast connection channel corresponds to a second service set identifier of the router.
S402: and if a second connection request sent by the household appliance equipment on the guide channel of the router is received, sending distribution network information on the guide channel according to the second connection request so that the household appliance equipment can be connected with the router on the basic channel according to the distribution network information, wherein the guide channel corresponds to a third service set identifier of the router.
Optionally, the router should have 3 service set identifiers, which respectively correspond to three channels, where the basic channel corresponds to a first service set identifier of the router, the fast connection channel corresponds to a second service set identifier of the router, and the guidance channel corresponds to a third service set identifier of the router.
Optionally, when the router receives a connection request (a first connection request or a second connection request) sent by the household appliance device on the fast connection channel or the guidance channel, the router acquires device information of the household appliance device through the fast connection channel or the guidance channel, and sends the distribution network information of the router to the household appliance device, so that the household appliance device performs distribution according to the distribution network information; when the router receives the distribution network information sent by the household electrical appliance equipment on the basic channel, the distribution network information is verified, and if the verification is passed, the household electrical appliance equipment is distributed with a network.
It should be noted that the router may further include other channels, and the number of channels specifically included in the router is not specifically limited in the embodiments of the present invention.
In a specific example, the network distribution method provided in the embodiment of the present invention may further include: and if the third connection request sent by the household appliance equipment is received on the basic channel, judging whether the third connection request comprises distribution network information, and if the third connection request comprises the distribution network information, distributing the network to the household appliance equipment according to the distribution network information.
It can be understood that the home appliance sends the third connection request on the basic channel, where the third connection request may be after the distribution network information is acquired through the first connection request or the second connection request, or the third connection request may be after the home appliance acquires the distribution network information through another method, where the another method is, for example, the distribution network information acquired by using the mobile terminal.
Compared with the prior art, the network distribution method provided by the embodiment of the invention receives the connection request of the household appliance through the fast connection channel or the guide channel, and sends the network distribution information of the router to the household appliance according to the connection request, so that the household appliance can complete network distribution on the basic channel according to the network distribution information; the distribution network information of the router is sent in two modes, when the connection request of the household appliance equipment is not received by the fast connection channel, the connection request of the household appliance equipment can still be received by the guide channel, and the mode of transmitting the distribution network information to the household appliance equipment can be increased, so that the success rate of distribution network of the household appliance equipment is improved; meanwhile, the distribution network information of the router can be directly transmitted on the fast connection channel or the guide channel, and a mobile terminal is not needed, so that the operation of a distribution network can be simplified, the time of the distribution network is further shortened, and the efficiency of the distribution network is improved.
The fifth embodiment of the invention relates to a network distribution method. The fifth embodiment is substantially the same as the fourth embodiment, and mainly differs therefrom in that: and after receiving a second connection request sent by the household appliance equipment on a guide channel of the router, starting a fast connection channel according to the received trigger operation instruction.
The specific flow of the network distribution method provided by the embodiment of the invention is shown in fig. 5, and specifically comprises the following steps:
s501: if a first connection request sent by the household appliance on a fast connection channel of the router is received, the distribution network information of the router is sent on the fast connection channel according to the first connection request so that the household appliance can be connected to the router on a basic channel according to the distribution network information, wherein the distribution network information comprises a first service set identifier and a password of the router, the basic channel corresponds to the first service set identifier, and the fast connection channel corresponds to a second service set identifier of the router.
S502: and if a second connection request sent by the household appliance equipment on a guide channel of the router is received, sending distribution network information on the guide channel according to the second connection request so that the household appliance equipment is connected to the router on a basic channel according to the distribution network information, wherein the guide channel corresponds to a third service set identifier of the router.
S503: and judging whether a trigger operation instruction is received.
S504: and if a trigger operation instruction is received, starting a fast connection channel.
S501 to S502 are the same as S401 to S402 in the fourth embodiment, and reference may be specifically made to the description in the fourth embodiment, which is not described herein again.
For S503-S504, the following is specified:
the trigger operation instruction may be triggered by a certain trigger condition, for example, by pressing a button on the router, and the specific trigger condition may be set according to actual needs, which is not specifically limited in the embodiment of the present invention.
In practical application, after the home appliance is connected to the guiding channel, the home appliance sends the appliance information to the router through the guiding channel, the router receives the appliance information and then prompts the appliance to be accessed to the network through sound and light or prompts the appliance to be accessed to the network at the interactive entrance, the router is triggered by a user, and when the router receives a triggering operation instruction, the router opens the quick connection channel.
It can be understood that, by opening the fast connection channel, other home appliances to be networked of the user can be connected to the network through the fast connection channel, and convenience of networking of a plurality of devices is improved.
In a specific example, the fast connection channel is opened, specifically: and opening the fast connection channel within a preset time period.
The preset time period may be set according to actual needs, for example, 10 minutes, 20 minutes, or 30 minutes, and is not limited herein.
The household appliance equipment can directly acquire the distribution network information of the router through the quick connection channel, so that the quick connection channel is started in a preset time period, the safety of the router can be ensured, and the possibility of mistaken access of other equipment is reduced.
Alternatively, in order to reduce the access of other devices to the router, when the home device is connected to the router through the bootstrap channel, an operation requiring confirmation by the user on the router may be set.
Please refer to fig. 6, which is a diagram illustrating a specific flowchart of a network distribution method according to an embodiment of the present invention. The specific process is as follows: powering on the router and the household appliance, normally opening an SSID0 (basic channel) and an SSID1 (guide channel) by the router, and starting an STA module by the household appliance; the home device attempts to connect to the router's SSID2 (fast connect channel); if the network equipment is connected to the SSID2, bidirectional transmission of the equipment information and the distribution network information is completed through the SSID2, and the household appliance completes distribution network in the SSID0 according to the distribution network information; if not connected to SSID2, attempt to connect to SSID 1; if the network is connected to the SSID1, the transmission of the distribution network information is completed in the SSID1, and the household appliances complete the distribution network according to the distribution network information; if the distribution network is not connected to the SSID1, the household appliance device is connected to the mobile terminal in an account opening AP mode, the user inputs the distribution network information into the mobile terminal, the household appliance device receives the input distribution network information sent by the mobile terminal, and the distribution network is completed according to the input distribution network information.
Compared with the prior art, the network distribution method provided by the embodiment of the invention can improve the convenience of accessing a plurality of household appliances to the router by opening the quick connection channel according to the trigger operation instruction when the household appliances are connected to the guide channel.
The steps of the above methods are divided for clarity, and the implementation may be combined into one step or split some steps, and the steps are divided into multiple steps, so long as the steps contain the same logical relationship, which is within the protection scope of the present patent; it is within the scope of the patent to add insignificant modifications to the algorithms or processes or to introduce insignificant design changes to the core design without changing the algorithms or processes.
A sixth embodiment of the present invention relates to a distribution network apparatus 600, as shown in fig. 7, including a first distribution network module 601 and a second distribution network module 602. The functions of the modules are explained in detail as follows:
the first network distribution module 601 is configured to, when receiving a first connection request sent by a home appliance device on a fast connection channel of a router, send network distribution information of the router on the fast connection channel according to the first connection request, so that the home appliance device is connected to the router on a basic channel according to the network distribution information, where the network distribution information includes a first service set identifier and a password of the router, the basic channel corresponds to the first service set identifier, and the fast connection channel corresponds to a second service set identifier of the router;
the second distribution network module 602 is configured to, when receiving a second connection request sent by the home appliance device on a pilot channel of the router, send distribution network information on the pilot channel according to the second connection request, so that the home appliance device is connected to the router on a basic channel according to the distribution network information, where the pilot channel corresponds to a third service set identifier of the router.
Further, the distribution network device 600 provided in the embodiment of the present invention further includes a third distribution network module, where the third distribution network module is configured to:
if a third connection request sent by the household appliance equipment is received on the basic channel, whether the third connection request comprises distribution network information is judged;
and if the third connection request comprises distribution network information, carrying out distribution network on the household appliance equipment according to the distribution network information.
Further, the distribution network device 600 provided in the embodiment of the present invention further includes a channel opening module, where the channel opening module is configured to:
judging whether a trigger operation instruction is received or not;
and if a trigger operation instruction is received, starting a fast connection channel.
Further, the channel account opening module is configured to: and opening the fast connection channel within a preset time period.
It should be understood that this embodiment is an example of the apparatus corresponding to the fourth and fifth embodiments, and that this embodiment can be implemented in cooperation with the fourth and fifth embodiments. The related technical details mentioned in the fourth and fifth embodiments are still valid in this embodiment, and are not described herein again to reduce repetition. Accordingly, the details of the related art mentioned in the present embodiment can be applied to the fourth and fifth embodiments.
It should be noted that each module referred to in this embodiment is a logical module, and in practical applications, one logical unit may be one physical unit, may be a part of one physical unit, and may be implemented by a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, elements that are not so closely related to solving the technical problems proposed by the present invention are not introduced in the present embodiment, but this does not indicate that other elements are not present in the present embodiment.
The seventh embodiment of the present invention relates to an electronic device, as shown in fig. 8, including at least one processor 701; and, a memory 702 communicatively coupled to the at least one processor 701; the memory 702 stores instructions executable by the at least one processor 701, and the instructions are executed by the at least one processor 701 to enable the at least one processor 701 to execute the network connection method or the network distribution method.
The memory 702 and the processor 701 are coupled by a bus, which may comprise any number of interconnecting buses and bridges that couple one or more of the various circuits of the processor 701 and the memory 702. The bus may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor 701 is transmitted over a wireless medium through an antenna, which receives the data and transmits the data to the processor 701.
The processor 701 is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And the memory 702 may be used for storing data used by the processor 701 in performing operations.
An eighth embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program realizes the above-described method embodiments when executed by a processor.
That is, those skilled in the art can understand that all or part of the steps in the method of the foregoing embodiments may be implemented by a program to instruct related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, etc.) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.

Claims (10)

1. A network connection method, comprising:
the method comprises the steps of connecting a fast connection channel of a target router, obtaining connection information of the target router on the fast connection channel, and connecting the target router on a basic channel of the target router according to the connection information, wherein the connection information comprises a first service set identifier and a password of the target router, the basic channel corresponds to the first service set identifier, and the fast connection channel corresponds to a second service set identifier of the target router;
and if the connection of the quick connection channel fails, connecting a guide channel of the target router, acquiring the connection information on the guide channel, and connecting the target router on the basic channel according to the connection information, wherein the guide channel corresponds to a third service set identifier of the target router.
2. The network connection method according to claim 1, further comprising, after the connecting the pilot channel of the target router:
if the connection of the guide channel fails, connecting the mobile terminal;
receiving input connection information sent by the mobile terminal, wherein the input connection information comprises the first service set identifier and the password input in the mobile terminal;
and connecting the target router on the basic channel according to the input connection information.
3. A network connection device, comprising:
a first connection module, configured to connect a fast connection channel of a target router, obtain connection information of the target router on the fast connection channel, and connect the target router on a basic channel of the target router according to the connection information, where the connection information includes a first service set identifier and a password of the target router, the basic channel corresponds to the first service set identifier, and the fast connection channel corresponds to a second service set identifier of the target router;
and the second connection module is used for connecting a pilot channel of the target router when the connection of the quick connection channel fails, acquiring the connection information on the pilot channel so as to connect the target router on the basic channel according to the connection information, wherein the pilot channel corresponds to a third service set identifier of the target router.
4. A method for network distribution, comprising:
if a first connection request sent by a household appliance device on a fast connection channel of a router is received, sending distribution network information of the router on the fast connection channel according to the first connection request so that the household appliance device can be connected with the router on a basic channel according to the distribution network information, wherein the distribution network information comprises a first service set identifier and a password of the router, the basic channel corresponds to the first service set identifier, and the fast connection channel corresponds to a second service set identifier of the router;
and if a second connection request sent by the household appliance equipment on a guide channel of the router is received, sending the distribution network information on the guide channel according to the second connection request so that the household appliance equipment can be connected with the router on the basic channel according to the distribution network information, wherein the guide channel corresponds to a third service set identifier of the router.
5. The network distribution method of claim 4, further comprising:
if a third connection request sent by the household appliance equipment is received on the basic channel, whether the third connection request comprises the distribution network information is judged;
and if the third connection request comprises the distribution network information, carrying out distribution network on the household electrical appliance equipment according to the distribution network information.
6. The network distribution method of claim 4, wherein after receiving the second connection request sent by the home device on the bootstrap channel of the router, the method further comprises:
judging whether a trigger operation instruction is received or not;
and if the trigger operation instruction is received, starting the fast connection channel.
7. The network distribution method according to claim 6, wherein the opening of the fast connection channel specifically comprises: and starting the fast connection channel within a preset time period.
8. A network-distribution apparatus, comprising:
the first distribution network module is used for sending distribution network information of a router on a fast connection channel according to a first connection request when receiving the first connection request sent by household appliances on the fast connection channel of the router, so that the household appliances are connected to the router on a basic channel according to the distribution network information, wherein the distribution network information comprises a first service set identifier and a password of the router, the basic channel corresponds to the first service set identifier, and the fast connection channel corresponds to a second service set identifier of the router;
and the second distribution network module is used for sending the distribution network information on the guide channel according to the second connection request when receiving a second connection request sent by the household appliance equipment on the guide channel of the router, so that the household appliance equipment is connected to the router on the basic channel according to the distribution network information, and the guide channel corresponds to a third service set identifier of the router.
9. An electronic device, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the network connection method of any of claims 1-2 or the network distribution method of any of claims 4-7.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the network connection method according to any one of claims 1-2 or the network distribution method according to any one of claims 4-7.
CN202010948545.0A 2020-09-10 2020-09-10 Network connection method, network distribution device, electronic equipment and storage medium Active CN112104532B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010948545.0A CN112104532B (en) 2020-09-10 2020-09-10 Network connection method, network distribution device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010948545.0A CN112104532B (en) 2020-09-10 2020-09-10 Network connection method, network distribution device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112104532A true CN112104532A (en) 2020-12-18
CN112104532B CN112104532B (en) 2022-01-25

Family

ID=73750763

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010948545.0A Active CN112104532B (en) 2020-09-10 2020-09-10 Network connection method, network distribution device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112104532B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112866065A (en) * 2021-01-07 2021-05-28 珠海格力电器股份有限公司 Equipment network distribution method and device, electronic equipment and computer readable medium
CN114245405A (en) * 2021-12-16 2022-03-25 珠海格力电器股份有限公司 Equipment network distribution method, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104737465A (en) * 2012-09-28 2015-06-24 交互数字专利控股公司 Method for wifi beamforming, feedback, and sounding (WIBEAM)
CN105187433A (en) * 2015-09-22 2015-12-23 小米科技有限责任公司 Equipment access method and device
CN105228147A (en) * 2015-09-17 2016-01-06 小米科技有限责任公司 Method for connecting network, Apparatus and system
CN106332224A (en) * 2016-09-18 2017-01-11 美的智慧家居科技有限公司 Equipment networking method, equipment networking device and equipment networking system
CN106658659A (en) * 2016-11-15 2017-05-10 贝斯拓欧洲控股有限公司 Method and device for intelligent terminal equipment to access Internet
US20170366983A1 (en) * 2016-06-15 2017-12-21 Time Warner Cable Enterprises Llc Apparatus and methods for monitoring and diagnosing a wireless network
CN109218108A (en) * 2018-10-15 2019-01-15 四川长虹电器股份有限公司 A kind of equipment distribution network systems and method based on picture recognition
CN109451502A (en) * 2018-12-27 2019-03-08 广东美的厨房电器制造有限公司 Household appliance matches network method, network distribution device and computer readable storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104737465A (en) * 2012-09-28 2015-06-24 交互数字专利控股公司 Method for wifi beamforming, feedback, and sounding (WIBEAM)
CN105228147A (en) * 2015-09-17 2016-01-06 小米科技有限责任公司 Method for connecting network, Apparatus and system
CN105187433A (en) * 2015-09-22 2015-12-23 小米科技有限责任公司 Equipment access method and device
US20170366983A1 (en) * 2016-06-15 2017-12-21 Time Warner Cable Enterprises Llc Apparatus and methods for monitoring and diagnosing a wireless network
CN106332224A (en) * 2016-09-18 2017-01-11 美的智慧家居科技有限公司 Equipment networking method, equipment networking device and equipment networking system
CN106658659A (en) * 2016-11-15 2017-05-10 贝斯拓欧洲控股有限公司 Method and device for intelligent terminal equipment to access Internet
CN109218108A (en) * 2018-10-15 2019-01-15 四川长虹电器股份有限公司 A kind of equipment distribution network systems and method based on picture recognition
CN109451502A (en) * 2018-12-27 2019-03-08 广东美的厨房电器制造有限公司 Household appliance matches network method, network distribution device and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王帅: "《基于嵌入式系统的免密码认证的WiFi路由器研制》", 《电子世界》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112866065A (en) * 2021-01-07 2021-05-28 珠海格力电器股份有限公司 Equipment network distribution method and device, electronic equipment and computer readable medium
CN112866065B (en) * 2021-01-07 2021-12-24 珠海格力电器股份有限公司 Equipment network distribution method and device, electronic equipment and computer readable medium
CN114245405A (en) * 2021-12-16 2022-03-25 珠海格力电器股份有限公司 Equipment network distribution method, electronic equipment and storage medium
CN114245405B (en) * 2021-12-16 2023-09-08 珠海格力电器股份有限公司 Equipment network distribution method, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN112104532B (en) 2022-01-25

Similar Documents

Publication Publication Date Title
CN113490218B (en) Pairing method, pairing device, bluetooth remote controller, intelligent device and storage medium
US20100211685A1 (en) Pairing exchange
CN112104532B (en) Network connection method, network distribution device, electronic equipment and storage medium
CN108040355B (en) Network access method and system
US20160132029A1 (en) Method for configuring and controlling smart home products
CN108390873B (en) Authentication binding method, device and system for intelligent equipment
US9288613B2 (en) Method and device for selecting a channel according to a device's mobility
CN112152853A (en) Equipment network distribution method and device, computer-readable storage medium and electronic device
EP2518967B1 (en) Method, system and device for initializing internet device
US20140286323A1 (en) Wireless network system and connecting method thereof
CN111615086B (en) Method and device for pairing game handles capable of being connected with network
CN105069875A (en) Electronic key, electronic devices and electronic device networking/pairing method
CN112637931A (en) Method and device for establishing network connection
TW201605203A (en) Home control gateway and home control network connection method thereof
US20030129966A1 (en) Method of communication in a network
CN110992528A (en) Intelligent door lock binding method and equipment based on identification code and storage medium
CN112181147B (en) Small program-based wearable device interaction method and device and electronic device
CN111787514B (en) Method and device for acquiring equipment control data, storage medium and electronic device
CN111586074A (en) Communication method, server, Internet of things system and readable storage medium
EP3681108A1 (en) Home device control system and method thereof
CN114615688B (en) Close-distance automatic configuration method between WiFi hotspot device and current access device
CN113676923B (en) Distribution network method, distribution network related equipment, distribution network related device and storage medium
CN109379354A (en) A kind of methods, devices and systems for binding smart machine
CN108551456B (en) Intelligent authentication equipment and working method thereof
CN116761167B (en) Data encryption transmission method, system, electronic equipment and storage medium

Legal Events

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