CN111372300A - Method and device for connecting network - Google Patents

Method and device for connecting network Download PDF

Info

Publication number
CN111372300A
CN111372300A CN202010102559.0A CN202010102559A CN111372300A CN 111372300 A CN111372300 A CN 111372300A CN 202010102559 A CN202010102559 A CN 202010102559A CN 111372300 A CN111372300 A CN 111372300A
Authority
CN
China
Prior art keywords
network
equipment
wireless connection
connection mode
distribution network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010102559.0A
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 CN202010102559.0A priority Critical patent/CN111372300A/en
Publication of CN111372300A publication Critical patent/CN111372300A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/18Management of setup rejection or failure

Abstract

The application relates to a method and a device for connecting a network. After the to-be-configured network equipment fails to be configured in the second wireless connection mode, the to-be-configured network equipment interacts with the to-be-configured network equipment in the first wireless connection mode and sends the distribution network information, so that the to-be-configured network equipment can perform network connection again by using the distribution network information. Therefore, in the process of network distribution, the equipment to be distributed is prevented from being repeatedly switched between the router and the distribution network equipment in a second wireless connection mode, and the success rate of network connection is improved. In addition, the distribution network equipment can still use the second wireless connection mode to connect the network, and the network use is not influenced.

Description

Method and device for connecting network
Technical Field
The present application relates to the field of wireless communications technologies, and in particular, to a method and an apparatus for connecting to a network.
Background
With the improvement of living standard and the rapid development of the internet of things, the equipment networking becomes a necessary choice for every family. However, currently, each Wi-Fi chip manufacturer adopts its own networking mode, and a general method is to send network distribution information, such as Service Set Identifier (SSID) and password of a router, to a device through Wi-Fi connection by using a Wi-Fi hotspot of a mobile phone connection device.
However, when the device fails to connect to the network according to the distribution network information, the mobile phone needs to continue to connect to the device through Wi-Fi connection until the device is successfully distributed to the network. Therefore, in the process of the equipment distribution network, the mobile phone cannot be connected with the router all the time, namely, cannot be connected with the network.
Disclosure of Invention
In order to solve the technical problem that a network distribution device cannot be connected with a network in the process of distributing the network by a device to be distributed, the embodiment of the application provides a method and a device for connecting the network.
In a first aspect, an embodiment of the present application provides a method for connecting a network, including:
when the equipment to be connected with the network fails to be connected with the network through the second wireless connection mode, the equipment to be connected with the network is connected with the network distribution equipment through the first wireless connection mode;
sending a connection failure message to the distribution network equipment in the first wireless connection mode, wherein the connection failure message is used for indicating that the equipment to be distributed fails to connect the network;
receiving distribution network information sent by the distribution network equipment in the first wireless connection mode;
and performing network connection in the second wireless connection mode according to the distribution network information.
Optionally, when the network connection fails, the method further includes:
acquiring error information of network connection failure, wherein the error information comprises a problem type corresponding to the network connection failure;
and sending the error information to the distribution network equipment in the first wireless connection mode.
Optionally, the sending the connection failure message to the distribution network device through the first wireless connection mode includes:
acquiring the failure times of network connection of the distribution network information received by the first wireless connection mode;
and when the failure times do not exceed a preset threshold value, sending a connection failure message to the distribution network equipment in the first wireless connection mode.
Optionally, when the number of failures exceeds a preset threshold, the method further includes:
establishing connection with the distribution network equipment in the second wireless connection mode;
sending the connection failure message to distribution network equipment in the second wireless connection mode;
receiving distribution network information sent by the distribution network equipment through the second wireless connection mode;
and performing network connection in the second wireless connection mode according to the distribution network information.
In a second aspect, an embodiment of the present application provides a method for connecting a network, including:
establishing connection with equipment to be networked in a first wireless connection mode;
acquiring a connection failure message sent by the equipment to be networked in the first wireless connection mode, wherein the connection failure message is used for indicating that the equipment to be networked fails to connect the network;
and sending distribution network information to the equipment to be distributed in the first wireless connection mode according to the connection failure message, and performing network connection by the equipment to be distributed in the second wireless connection mode according to the distribution network information.
Optionally, the establishing a connection with the device to be connected to the network in the first wireless connection manner includes:
acquiring hotspot information of the equipment to be networked;
and when the hotspot information meets a preset condition, establishing connection with the equipment to be distributed and establishing connection with the equipment to be distributed through the first wireless connection mode.
Optionally, the method further includes:
receiving error information sent by the equipment to be distributed in the first wireless connection mode, wherein the error information comprises a problem type corresponding to the network connection failure of the equipment to be distributed;
and executing reminding operation according to the error information.
Optionally, the method further includes:
acquiring the failure times of network connection of the distribution network information received by the equipment to be distributed through the first wireless connection mode;
when the failure times exceed a preset threshold value, connection is established with the equipment to be distributed in the second wireless connection mode;
and sending the distribution network information to the equipment to be distributed through the second wireless connection mode, and performing network connection by the equipment to be distributed according to the distribution network information and the second wireless connection mode.
In a third aspect, an embodiment of the present application provides a network connection apparatus, including:
the first connection module is used for establishing connection with the distribution network equipment in a first wireless connection mode when the equipment to be distributed fails to connect with the network in a second wireless connection mode;
a sending module, configured to send a connection failure message to the distribution network device in the first wireless connection manner, where the connection failure message is used to indicate that the to-be-distributed network device fails to connect to the network;
the receiving module is used for receiving the distribution network information sent by the distribution network equipment in the first wireless connection mode;
and the second connection module is used for performing network connection in the second wireless connection mode according to the distribution network information.
In a fourth aspect, an embodiment of the present application provides a network connection apparatus, including:
the first connection module is used for establishing connection with the equipment to be networked in a first wireless connection mode;
an obtaining module, configured to obtain a connection failure message sent by the device to be networked through the first wireless connection mode, where the connection failure message is used to indicate that the device to be networked fails to connect to the network;
and the sending module is used for sending the distribution network information to the equipment to be distributed in the first wireless connection mode according to the connection failure message, and the equipment to be distributed performs network connection in the second wireless connection mode according to the distribution network information.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages:
and the network distribution equipment and the equipment to be distributed are connected with the network in a second wireless connection mode. After the to-be-configured network equipment fails to be configured in the second wireless connection mode, the to-be-configured network equipment interacts with the to-be-configured network equipment in the first wireless connection mode and sends the distribution network information, so that the to-be-configured network equipment can perform network connection again by using the distribution network information. Therefore, in the process of network distribution, the equipment to be distributed is prevented from being repeatedly switched between the router and the distribution network equipment in a second wireless connection mode, and the success rate of network connection is improved. In addition, the distribution network equipment can still use the second wireless connection mode to connect the network, and the network use is not influenced.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a flowchart of a method for connecting to a network according to an embodiment of the present disclosure;
fig. 2 is a flowchart of a method for connecting to a network according to another embodiment of the present application;
fig. 3 is a flowchart of a method for connecting to a network according to another embodiment of the present application;
fig. 4 is a flowchart of a method for connecting to a network according to another embodiment of the present application;
fig. 5 is a flowchart of a method for connecting to a network according to another embodiment of the present application;
fig. 6 is a block diagram of a network connection device according to an embodiment of the present disclosure;
fig. 7 is a block diagram of a network connection device according to another embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the embodiment of the application, the equipment to be distributed and the distribution network equipment both support at least two wireless connection modes. The second wireless connection mode is a connection mode used for connecting a network, such as a Wi-Fi mode. The first wireless connection mode is any other connection mode except the second wireless connection mode, such as bluetooth, NFC, Zigbee, LoRa, Thread, Z-Wave, NB-IoT, and the like.
The network equipment to be distributed and the network equipment to be distributed are integrated with communication modules of two wireless connection modes, such as Wi-Fi and Bluetooth integrated communication modules.
First, a method for connecting a network according to an embodiment of the present invention will be described.
Fig. 1 is a flowchart of a method for connecting to a network according to an embodiment of the present disclosure. As shown in fig. 1, the method is applied to a device to be networked, where the device to be networked supports a first wireless connection mode and a second wireless connection mode, and connects to a network through the second wireless connection mode, and the method includes the following steps:
step S11, when the device to be connected to the network fails to connect to the network through the second wireless connection mode, the device to be connected to the network is connected to the network distribution device through the first wireless connection mode;
step S12, sending a connection failure message to the distribution network equipment through a first wireless connection mode, wherein the connection failure message is used for indicating that the equipment to be distributed fails to connect the network;
step S13, receiving distribution network information sent by the distribution network equipment through a first wireless connection mode;
and step S14, performing network connection through a second wireless connection mode according to the distribution network information.
In this embodiment, the network distribution device and the device to be distributed are both connected to the network through the second wireless connection mode. And after the equipment to be distributed fails to distribute the network by adopting the second wireless connection mode, the distribution network equipment interacts with the equipment to be distributed by adopting the first wireless connection mode and sends distribution network information, so that the equipment to be distributed performs network connection again by using the distribution network information. Therefore, in the process of network distribution, the equipment to be distributed is prevented from being repeatedly switched between the router and the distribution network equipment in a second wireless connection mode, and the success rate of network connection is improved. In addition, the distribution network equipment can still use the second wireless connection mode to connect the network, and the network use is not influenced.
Fig. 2 is a flowchart of a method for connecting to a network according to another embodiment of the present application. As shown in fig. 2, when the connection to the network fails, the method further includes the steps of:
step S21, obtaining error information of network connection failure, wherein the error information comprises a problem type corresponding to the network connection failure;
and step S22, sending the error information to the distribution network equipment through the first wireless connection mode.
In this embodiment, after the network distribution equipment to be configured fails, the problem type of the network distribution failure is sent to the network distribution equipment through the first wireless connection mode, for example, a password is wrong, a wireless router is not connected, a signal of the wireless router is poor, the wireless router restricts the connection of the equipment, and the like. Therefore, the problem type of the distribution network failure can be prompted on the distribution network equipment, so that a user can quickly adjust the distribution network information according to the problem and control the equipment to be distributed to be connected with the network again.
Fig. 3 is a flowchart of a method for connecting to a network according to another embodiment of the present application. As shown in fig. 3, the step S12 includes:
step S31, obtaining the failure times of network connection of the distribution network information received by the first wireless connection mode;
and step S32, when the failure times do not exceed the preset threshold, sending a connection failure message to the distribution network equipment through the first wireless connection mode.
In this embodiment, the failure times of the network reconfiguration through the first wireless connection mode may be set, for example, the failure time threshold of the network reconfiguration through the bluetooth mode is 3 times. Therefore, when the distribution network fails in the first wireless connection mode, in order to avoid faults existing in the first wireless connection mode, when the failure times exceed the threshold value, other wireless connection modes are adopted to distribute the network again, so that the distribution network efficiency is improved, and the distribution network success rate is improved.
Fig. 4 is a flowchart of a method for connecting to a network according to another embodiment of the present application. As shown in fig. 4, when the number of failures exceeds a preset threshold, the method further includes:
step S41, establishing connection with the distribution network equipment through a second wireless connection mode;
step S42, sending the connection failure message to the distribution network equipment through a second wireless connection mode;
step S43, receiving distribution network information sent by the distribution network equipment through a second wireless connection mode;
and step S44, performing network connection through a second wireless connection mode according to the distribution network information.
Fig. 5 is a flowchart of a method for connecting to a network according to another embodiment of the present application. As shown in fig. 5, the method is applied to a distribution network device, the distribution network device supports a first wireless connection mode and a second wireless connection mode, and connects a network through the second wireless connection mode, and the method includes the following steps:
step S51, establishing connection with the equipment to be networked through a first wireless connection mode;
step S52, acquiring a connection failure message sent by the network equipment to be distributed through a first wireless connection mode, wherein the connection failure message is used for indicating that the network equipment to be distributed fails to connect the network;
and step S53, sending the distribution network information to the equipment to be distributed through a first wireless connection mode according to the connection failure message, and performing network connection by the equipment to be distributed through a second wireless connection mode according to the distribution network information.
In this embodiment, after the distribution network device receives the connection failure message sent by the device to be distributed, the distribution network device interacts with the device to be distributed in the first wireless connection mode, and sends distribution network information, so that the device to be distributed performs network connection again by using the distribution network information. The distribution network equipment is also connected with the network through a second wireless connection mode, so that in the distribution network process, the distribution network equipment and the equipment to be distributed are interacted in other wireless connection modes, and the connection network of the distribution network equipment cannot be influenced. In addition, the equipment to be distributed is prevented from being repeatedly switched between the router and the distribution network equipment in a second wireless connection mode, and the success rate of network connection is improved.
Optionally, step S51 includes: acquiring hotspot information of equipment to be networked; and when the hotspot information meets the preset condition, establishing connection with the equipment to be networked through a first wireless connection mode.
In this embodiment, when the distribution network device is connected to the device to be distributed, hot spot information of the device to be distributed needs to be verified. The hot spot information may include a hot spot name, such as the air conditioner 1001. The distribution network equipment carries out coding by checking whether the hotspot name meets a preset naming rule or not or whether the hotspot name adopts a preset coding rule or not. The hot spot information can also comprise a hot spot name and a check code, the distribution network equipment checks the cloud end sent by the check code, and if the check is passed, the distribution network equipment can be connected with the equipment to be distributed. Therefore, when a plurality of devices to be distributed exist, the devices to be distributed can be accurately determined.
Optionally, the method further includes: receiving error information sent by the equipment to be distributed through a first wireless connection mode, wherein the error information comprises a problem type corresponding to the failure of the equipment to be distributed in the network connection; and executing reminding operation according to the error information.
In this embodiment, after the network distribution equipment to be configured fails, the problem type of the network distribution failure is sent to the network distribution equipment through the first wireless connection mode, for example, a password is wrong, a wireless router is not connected, a signal of the wireless router is poor, the wireless router restricts the connection of the equipment, and the like. Therefore, the problem type of the distribution network failure can be prompted on the distribution network equipment, so that a user can quickly adjust the distribution network information according to the problem and control the equipment to be distributed to be connected with the network again.
Optionally, the method further includes: acquiring the failure times of network connection of the distribution network information received by the equipment to be distributed through a first wireless connection mode; when the failure times exceed a preset threshold value, establishing connection with the equipment to be networked in a second wireless connection mode; and sending the distribution network information to the equipment to be distributed through a second wireless connection mode, and performing network connection by the equipment to be distributed according to the distribution network information through the second wireless connection mode.
In this embodiment, the failure times of the network reconfiguration through the first wireless connection mode may be set, for example, the failure time threshold of the network reconfiguration through the bluetooth mode is 3 times. Therefore, when the distribution network fails in the first wireless connection mode, in order to avoid faults existing in the first wireless connection mode, when the failure times exceed the threshold value, other wireless connection modes are adopted to distribute the network again, so that the distribution network efficiency is improved, and the distribution network success rate is improved.
The method for connecting the network is described below by taking the first wireless connection mode as bluetooth, the second wireless connection mode as Wi-Fi, the device to be networked as an air conditioner, and the device to be networked as a mobile phone as an example.
The distribution network for the first time can adopt a Bluetooth or Wi-Fi mode. If the Bluetooth mode is adopted, the air conditioner starts a Bluetooth hotspot, and the hotspot name is the air conditioner 1001. Wherein, the air conditioner can continuously start the hot spot, or only start the hot spot for a certain time.
After searching the hotspot name, the mobile phone determines that the hotspot name conforms to a preset naming rule, and establishes connection with the bluetooth hotspot.
After the Bluetooth connection is established, the mobile phone sends the distribution network information, namely the SSID and the password of the router to the air conditioner.
When the air conditioner fails to distribute the network for the first time, the air conditioner feeds back error information of the network distribution failure to the mobile phone, if the wireless router is not connected.
The error information is displayed on the mobile phone, and the user can send the hot spot information to the air conditioner again through the mobile phone in a Bluetooth mode, or can select other network connections, namely SSIDs and passwords of other routers are sent to the air conditioner.
And the air conditioner carries out distribution according to the newly sent distribution network information of the mobile phone.
Therefore, in the process of the network distribution, the mobile phone can be connected with the router, so that the internet surfing of the mobile phone is not influenced, and meanwhile, intelligent household equipment such as an air conditioner and the like can be controlled to carry out the network distribution; and the repeated switching of the air conditioner Wi-Fi between the router and the mobile phone is also avoided, and the success rate of network connection is improved.
In addition, because the Bluetooth module can be connected with a plurality of devices at the same time, the mobile phone can control the plurality of devices to be connected with the network in a Bluetooth mode.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application.
Fig. 6 is a block diagram of a network connection apparatus provided in an embodiment of the present application, which may be implemented as part of or all of an electronic device through software, hardware, or a combination of the two. As shown in fig. 6, the apparatus for connecting a network is applied to a device to be networked, where the device to be networked supports a first wireless connection mode and a second wireless connection mode, and connects the network through the second wireless connection mode, and the apparatus includes:
the first connection module 61 is configured to establish connection with the distribution network device in a first wireless connection mode when the connection of the to-be-distributed network device to the network in the second wireless connection mode fails;
the sending module 62 is configured to send a connection failure message to the distribution network device in a first wireless connection manner, where the connection failure message is used to indicate that the to-be-distributed network device fails to connect to the network;
the receiving module 63 is configured to receive distribution network information sent by the distribution network device in the first wireless connection manner;
and a second connection module 64, configured to perform network connection in a second wireless connection manner according to the distribution network information.
Fig. 7 is a block diagram of a network-connected apparatus according to another embodiment of the present application, which may be implemented as part of or all of an electronic device through software, hardware, or a combination of the two. As shown in fig. 7, the network connection apparatus is applied to a distribution network device, the distribution network device supports a first wireless connection mode and a second wireless connection mode, and connects to a network through the second wireless connection mode, and the network connection apparatus includes:
the first connection module 71 is configured to establish a connection with a device to be networked in a first wireless connection manner;
the acquiring module 72 is configured to acquire a connection failure message sent by the device to be configured through the first wireless connection mode, where the connection failure message is used to indicate that the device to be configured fails to connect to the network;
and the sending module 73 is configured to send the distribution network information to the device to be distributed in the first wireless connection manner according to the connection failure message, and perform network connection by the device to be distributed in the second wireless connection manner according to the distribution network information.
An embodiment of the present application further provides an electronic device, as shown in fig. 8, the electronic device may include: the system comprises a processor 1501, a communication interface 1502, a memory 1503 and a communication bus 1504, wherein the processor 1501, the communication interface 1502 and the memory 1503 complete communication with each other through the communication bus 1504.
A memory 1503 for storing a computer program;
the processor 1501, when executing the computer program stored in the memory 1503, implements the steps of the method embodiments described below.
The communication bus mentioned in the electronic device may be a peripheral component interconnect (pci) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the method embodiments described below.
It should be noted that, for the above-mentioned apparatus, electronic device and computer-readable storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiments.
It is further noted that, herein, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method of connecting to a network, comprising:
when the equipment to be connected with the network fails to be connected with the network through the second wireless connection mode, the equipment to be connected with the network is connected with the network distribution equipment through the first wireless connection mode;
sending a connection failure message to the distribution network equipment in the first wireless connection mode, wherein the connection failure message is used for indicating that the equipment to be distributed fails to connect the network;
receiving distribution network information sent by the distribution network equipment in the first wireless connection mode;
and performing network connection in the second wireless connection mode according to the distribution network information.
2. The method of claim 1, wherein when connecting to a network fails, the method further comprises:
acquiring error information of network connection failure, wherein the error information comprises a problem type corresponding to the network connection failure;
and sending the error information to the distribution network equipment in the first wireless connection mode.
3. The method of claim 1, wherein the sending the connection failure message to the distribution network device via the first wireless connection mode comprises:
acquiring the failure times of network connection of the distribution network information received by the first wireless connection mode;
and when the failure times do not exceed a preset threshold value, sending a connection failure message to the distribution network equipment in the first wireless connection mode.
4. The method of claim 3, wherein when the number of failures exceeds a preset threshold, the method further comprises:
establishing connection with the distribution network equipment in the second wireless connection mode;
sending the connection failure message to distribution network equipment in the second wireless connection mode;
receiving distribution network information sent by the distribution network equipment through the second wireless connection mode;
and performing network connection in the second wireless connection mode according to the distribution network information.
5. A method of connecting to a network, comprising:
establishing connection with equipment to be networked in a first wireless connection mode;
acquiring a connection failure message sent by the equipment to be networked in the first wireless connection mode, wherein the connection failure message is used for indicating that the equipment to be networked fails to connect the network;
and sending distribution network information to the equipment to be distributed in the first wireless connection mode according to the connection failure message, and performing network connection by the equipment to be distributed in the second wireless connection mode according to the distribution network information.
6. The method of claim 5, wherein the establishing the connection with the device to be connected through the first wireless connection mode comprises:
acquiring hotspot information of the equipment to be networked;
and when the hotspot information meets a preset condition, establishing connection with the equipment to be distributed and establishing connection with the equipment to be distributed through the first wireless connection mode.
7. The method of claim 5, further comprising:
receiving error information sent by the equipment to be distributed in the first wireless connection mode, wherein the error information comprises a problem type corresponding to the network connection failure of the equipment to be distributed;
and executing reminding operation according to the error information.
8. The method of claim 5, further comprising:
acquiring the failure times of network connection of the distribution network information received by the equipment to be distributed through the first wireless connection mode;
when the failure times exceed a preset threshold value, connection is established with the equipment to be distributed in the second wireless connection mode;
and sending the distribution network information to the equipment to be distributed through the second wireless connection mode, and performing network connection by the equipment to be distributed according to the distribution network information and the second wireless connection mode.
9. A network-connected apparatus, comprising:
the first connection module is used for establishing connection with the distribution network equipment in a first wireless connection mode when the equipment to be distributed fails to connect with the network in a second wireless connection mode;
a sending module, configured to send a connection failure message to the distribution network device in the first wireless connection manner, where the connection failure message is used to indicate that the to-be-distributed network device fails to connect to the network;
the receiving module is used for receiving the distribution network information sent by the distribution network equipment in the first wireless connection mode;
and the second connection module is used for performing network connection in the second wireless connection mode according to the distribution network information.
10. A network-connected apparatus, comprising:
the first connection module is used for establishing connection with the equipment to be networked in a first wireless connection mode;
an obtaining module, configured to obtain a connection failure message sent by the device to be networked through the first wireless connection mode, where the connection failure message is used to indicate that the device to be networked fails to connect to the network;
and the sending module is used for sending the distribution network information to the equipment to be distributed in the first wireless connection mode according to the connection failure message, and the equipment to be distributed performs network connection in the second wireless connection mode according to the distribution network information.
CN202010102559.0A 2020-02-19 2020-02-19 Method and device for connecting network Pending CN111372300A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010102559.0A CN111372300A (en) 2020-02-19 2020-02-19 Method and device for connecting network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010102559.0A CN111372300A (en) 2020-02-19 2020-02-19 Method and device for connecting network

Publications (1)

Publication Number Publication Date
CN111372300A true CN111372300A (en) 2020-07-03

Family

ID=71208134

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010102559.0A Pending CN111372300A (en) 2020-02-19 2020-02-19 Method and device for connecting network

Country Status (1)

Country Link
CN (1) CN111372300A (en)

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
CN113691981A (en) * 2021-08-02 2021-11-23 康佳集团股份有限公司 Equipment network access method, device, terminal equipment and storage medium
CN114449557A (en) * 2020-11-06 2022-05-06 深圳Tcl新技术有限公司 Equipment distribution network fault positioning method, terminal and storage medium
CN115442168A (en) * 2021-06-02 2022-12-06 云米互联科技(广东)有限公司 Household equipment network distribution method and device based on indoor cruise

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104159275A (en) * 2014-07-17 2014-11-19 小米科技有限责任公司 Network connection method and device
CN104714412A (en) * 2014-12-30 2015-06-17 广东美的制冷设备有限公司 Method and system for managing household electric appliances and mobile terminal
CN104883716A (en) * 2014-02-27 2015-09-02 宇龙计算机通信科技(深圳)有限公司 Network processing apparatus and network switching method
CN105813115A (en) * 2016-03-10 2016-07-27 腾讯科技(深圳)有限公司 WIFI network configuration method and device
CN107659472A (en) * 2017-09-19 2018-02-02 广东美的制冷设备有限公司 Anti-error distribution method and apparatus based on access focus distribution
CN109996313A (en) * 2019-03-28 2019-07-09 五邑大学 Wireless connection method, device, equipment and storage medium
CN110582107A (en) * 2018-06-08 2019-12-17 阿里巴巴集团控股有限公司 method and device for accessing network to be configured to network hotspot equipment
CN110677840A (en) * 2019-09-30 2020-01-10 珠海格力电器股份有限公司 Distribution network failure reason determining method, equipment and readable medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104883716A (en) * 2014-02-27 2015-09-02 宇龙计算机通信科技(深圳)有限公司 Network processing apparatus and network switching method
CN104159275A (en) * 2014-07-17 2014-11-19 小米科技有限责任公司 Network connection method and device
CN104714412A (en) * 2014-12-30 2015-06-17 广东美的制冷设备有限公司 Method and system for managing household electric appliances and mobile terminal
CN105813115A (en) * 2016-03-10 2016-07-27 腾讯科技(深圳)有限公司 WIFI network configuration method and device
CN107659472A (en) * 2017-09-19 2018-02-02 广东美的制冷设备有限公司 Anti-error distribution method and apparatus based on access focus distribution
CN110582107A (en) * 2018-06-08 2019-12-17 阿里巴巴集团控股有限公司 method and device for accessing network to be configured to network hotspot equipment
CN109996313A (en) * 2019-03-28 2019-07-09 五邑大学 Wireless connection method, device, equipment and storage medium
CN110677840A (en) * 2019-09-30 2020-01-10 珠海格力电器股份有限公司 Distribution network failure reason determining method, equipment and readable medium

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114449557A (en) * 2020-11-06 2022-05-06 深圳Tcl新技术有限公司 Equipment distribution network fault positioning method, terminal and storage medium
CN114449557B (en) * 2020-11-06 2024-02-06 深圳Tcl新技术有限公司 Equipment distribution network fault positioning method, terminal and storage medium
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
CN115442168A (en) * 2021-06-02 2022-12-06 云米互联科技(广东)有限公司 Household equipment network distribution method and device based on indoor cruise
CN115442168B (en) * 2021-06-02 2023-11-17 云米互联科技(广东)有限公司 Household equipment network distribution method and device based on indoor cruising
CN113691981A (en) * 2021-08-02 2021-11-23 康佳集团股份有限公司 Equipment network access method, device, terminal equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111372300A (en) Method and device for connecting network
CN108464024B (en) Network node, wireless device, medium and method for handling wireless device capabilities
CN112673592B (en) Device provisioning protocol with participant feedback
US9445286B2 (en) Protocol version negotiation method, mobile terminal, base station and communications system
CN109417691B (en) Bluetooth cluster online upgrading method and device
TW201933929A (en) Method, apparatus, and system for accessing network hotspot device by device to be distributed a network
CN108667699B (en) Method and device for interconnecting terminal equipment and gateway equipment
CN112752324B (en) Network distribution method, device and system of intelligent equipment, electronic equipment and storage medium
US8665753B2 (en) Simultaneous setup of a wireless network adapter and a network host device
CN111885680A (en) Method, system and core equipment for establishing network connection
US10531363B2 (en) Wireless internet access
WO2012012983A1 (en) Processing method and device for fota update
CN112770308A (en) Network distribution method and device of intelligent device, electronic device and computer readable medium
CN106102065A (en) The networking collocation method of a kind of WiFi equipment and system
CN109451518B (en) Method and equipment for distinguishing WLAN access mode of terminal
WO2010124571A1 (en) Node information acquirement method, client, and server
CN113132958A (en) Fusion networking method, device, system and computer readable storage medium
CN113891419A (en) Policy routing establishing method and related device
CN112866065B (en) Equipment network distribution method and device, electronic equipment and computer readable medium
CN112600738B (en) Method and device for verifying connectivity of network port
CN112135333B (en) Network configuration method and device, electronic equipment and storage medium
RU2656248C2 (en) Message transmission method, apparatus and gateway device
CN114430289B (en) Automatic pairing method and system for power line carrier communication
CN110266547B (en) Networking method and equipment
CN110868460B (en) Terminal, registration server, and method and system for configuring networking parameters of terminal

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

RJ01 Rejection of invention patent application after publication