CN115695182A - Network connection method, device, storage medium and electronic device - Google Patents

Network connection method, device, storage medium and electronic device Download PDF

Info

Publication number
CN115695182A
CN115695182A CN202211174850.4A CN202211174850A CN115695182A CN 115695182 A CN115695182 A CN 115695182A CN 202211174850 A CN202211174850 A CN 202211174850A CN 115695182 A CN115695182 A CN 115695182A
Authority
CN
China
Prior art keywords
target
equipment
configuration information
network configuration
terminal
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
CN202211174850.4A
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.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Haier Uplus Intelligent Technology Beijing Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Haier Uplus Intelligent Technology Beijing 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 Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd, Haier Uplus Intelligent Technology Beijing Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202211174850.4A priority Critical patent/CN115695182A/en
Publication of CN115695182A publication Critical patent/CN115695182A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a network connection method, a device, a storage medium and an electronic device, which relate to the technical field of smart families, wherein the network connection comprises the following steps: determining N terminal devices establishing network connection with a target routing device, wherein N is a natural number greater than or equal to 1; under the condition that the network configuration information of the target routing equipment is determined to be changed, connection is established with the target terminal equipment to be reconnected to the target routing equipment in the N pieces of terminal equipment; and sending the target network configuration information to the target terminal equipment to indicate the target terminal equipment to be connected to the target routing equipment based on the target network configuration information.

Description

Network connection method, device, storage medium and electronic device
Technical Field
The present application relates to the field of communications, and in particular, to a network connection method, device, storage medium, and electronic device.
Background
At present, a plurality of network household appliances have a networking function of a wireless network, but the operation of the network distribution is difficult for some intelligent appliances without human-computer interaction interfaces, and in the related technology, by optimizing the hardware and the operation flow of the router, when a user needs to perform network configuration on the intelligent household appliances, the network configuration information of the wireless network corresponding to the router is directly sent to all the intelligent household appliances connected with the router through a preset network configuration parameter sending module of the router. Therefore, part of the intelligent devices which are already connected to the router network or connected to other networks with better network quality need to disconnect the currently connected network and reuse the network configuration information to connect the network, thereby causing network connection disorder of the intelligent devices and bringing greater influence to the user experience.
The technical scheme in the prior art is that after wireless network configuration information is modified, a router directly sends the modified network configuration parameters to all intelligent devices connected with the router, and whether the intelligent devices need to be reconfigured is not considered, so that part of the intelligent devices connected with the network or the intelligent devices connected with other networks with better quality need to be disconnected and re-networked, and further network connection is disordered.
Disclosure of Invention
Embodiments of the present invention provide a network connection method, an apparatus, a storage medium, and an electronic apparatus, so as to at least solve a problem of network connection disorder when a device is reconnected to a routing device in a related art.
According to an embodiment of the present invention, there is provided a network connection method including:
determining N terminal devices establishing network connection with a target routing device, wherein N is a natural number greater than or equal to 1;
establishing connection with a target terminal device to be reconnected to the target routing device among the N terminal devices under the condition that the network configuration information of the target routing device is determined to be changed;
and sending target network configuration information to the target terminal device to instruct the target terminal device to connect to the target routing device based on the target network configuration information, wherein the target network configuration information is updated network configuration information of the target routing device, and the target terminal device is a device to be reconnected with the target routing device among the N terminal devices.
According to still another embodiment of the present invention, there is also provided an information transmitting method including:
sending the device information of N terminal devices establishing network connection with the target routing device to the target application;
and under the condition that the network configuration information of the target routing equipment is changed, sending the target network configuration information to the target application so as to instruct the target application to send the target network configuration information to the target terminal equipment, wherein the target network configuration information is the updated network configuration information of the target routing equipment, and the target terminal equipment is equipment to be newly connected with the target routing equipment in the N pieces of terminal equipment.
According to still another embodiment of the present invention, there is also provided a network connection apparatus including:
a first determining module, configured to determine N terminal devices that establish network connection with a target routing device, where N is a natural number greater than or equal to 1;
a first connection module, configured to establish a connection with a target terminal device to be reconnected to the target routing device among N terminal devices when it is determined that network configuration information of the target routing device changes;
a first sending module, configured to send target network configuration information to the target terminal device, so as to instruct the target terminal device to connect to the target routing device based on the target network configuration information, where the target network configuration information is network configuration information updated by the target routing device, and the target terminal device is a device to be reconnected with the target routing device among the N terminal devices.
In an exemplary embodiment, the first connection module includes:
a first determining unit, configured to determine, when it is determined that network configuration information of the target routing device changes, a terminal device disconnected from the target routing device among N terminal devices, to obtain the target terminal device;
a first obtaining unit, configured to obtain device information of the target terminal device, where the device information includes a connection mode supported by the target routing device;
and the first connection unit is used for establishing connection with the target terminal equipment according to the connection mode supported by the target terminal equipment.
In an exemplary embodiment, the apparatus further comprises:
a first detecting module, configured to detect a first signal strength of the target routing device before establishing a connection with a target terminal device to be reconnected to the target routing device among N pieces of terminal devices, where the network configuration information of the target routing device is determined to be changed;
a second determining module, configured to determine that the network configuration information of the target routing device changes when a change amplitude of the first signal strength in a preset period is greater than a preset amplitude.
In an exemplary embodiment, the apparatus further includes:
a third determining module, configured to determine, when it is determined that the network configuration information of the target routing device changes, a connection state between each of the terminal devices and the other routing devices before establishing a connection with a target terminal device to be reconnected to the target routing device among the N terminal devices;
and the fourth determining module is used for determining the terminal equipment with abnormal connection with the target routing equipment or with signal strength smaller than the first preset signal strength as the target terminal equipment.
In an exemplary embodiment, the apparatus further includes:
the second detection module is used for detecting the second signal intensity of the target terminal equipment after the target network configuration information is sent to the target terminal equipment;
a fifth determining module, configured to determine that the target terminal device and the target routing device reestablish a connection therebetween when the second signal strength is greater than a second preset signal strength.
According to still another embodiment of the present invention, there is also provided an information transmitting apparatus including:
the second sending module is used for sending the device information of the N terminal devices which establish network connection with the target routing device to the target application;
a third sending module, configured to send target network configuration information to the target application when the network configuration information of the target routing device changes, so as to instruct the target application to send the target network configuration information to a target terminal device, where the target network configuration information is network configuration information updated by the target routing device, and the target terminal device is a device to be newly connected to the target routing device in the N terminal devices.
In an exemplary embodiment, the third sending module includes:
a second obtaining unit, configured to obtain, when the target routing device establishes connections with N pieces of the terminal devices, a connection mode supported by each of the N pieces of the terminal devices;
and the first sending unit is used for sending the connection mode supported by each terminal device to the target application.
According to a further embodiment of the present invention, there is also provided a computer-readable storage medium having a computer program stored thereon, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, comprising a memory in which a computer program is stored and a processor configured to run the computer program to perform the steps of any of the method embodiments described above.
By the invention, N terminal devices establishing network connection with the target routing device are determined; under the condition that the network configuration information of the target routing equipment is determined to be changed, connection is established with target terminal equipment to be reconnected to the target routing equipment in the N pieces of terminal equipment; the target network configuration information is sent to the target terminal device to indicate the target terminal device to be connected to the target routing device based on the target network configuration information, wherein the target network configuration information is updated network configuration information of the target routing device, the target terminal device is a device to be connected with the target routing device again in the N terminal devices, and the target network configuration information is sent to the terminal device needing to be connected with the network through the application set in the terminal in the method, so that the problem that the target routing device sends the target network configuration information to the plurality of terminals to cause network connection disorder can be avoided. Therefore, the problem of network connection disorder when the device is reconnected to the routing device in the related art can be solved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and, together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application 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 to obtain other drawings without inventive labor.
FIG. 1 is a diagram illustrating a hardware environment of a network connection method according to an embodiment of the present application;
FIG. 2 is a flow chart of a network connection method according to an embodiment of the present invention;
fig. 3 is a flowchart of an information transmitting method according to an embodiment of the present invention;
FIG. 4 is a flow diagram according to an embodiment of the present invention;
fig. 5 is a block diagram of a network connection device according to an embodiment of the present invention;
fig. 6 is a block diagram of the structure of an information transmitting apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an aspect of an embodiment of the present application, there is provided a network connection method. The network connection method is widely applied to full-House intelligent digital control application scenes such as intelligent homes (Smart Home), intelligent homes, intelligent Home equipment ecology, intelligent Home (Intelligent House) ecology and the like. Alternatively, in the present embodiment, the network connection method described above may be applied to a hardware environment formed by the terminal device 102 and the server 104 as shown in fig. 1. As shown in fig. 1, the server 104 is connected to the terminal device 102 through a network, and may be configured to provide a service (e.g., an application service) for the terminal or a client installed on the terminal, provide a database on or independent of the server for providing a data storage service for the server 104, and configure a cloud computing and/or edge computing service on or independent of the server for providing a data operation service for the server 104.
The network may include, but is not limited to, at least one of: wired networks, wireless networks. The wired network may include, but is not limited to, at least one of: wide area networks, metropolitan area networks, local area networks, which may include, but are not limited to, at least one of the following: WIFI (Wireless Fidelity), bluetooth. Terminal equipment 102 can be and not be limited to PC, the cell-phone, the panel computer, intelligent air conditioner, intelligent cigarette machine, intelligent refrigerator, intelligent oven, intelligent kitchen range, intelligent washing machine, intelligent water heater, intelligent washing equipment, intelligent dish washer, intelligent projection equipment, the intelligent TV, intelligent clothes hanger, intelligent (window) curtain, intelligence audio-visual, smart jack, intelligent stereo set, intelligent audio amplifier, intelligent new trend equipment, intelligent kitchen guarding's equipment, intelligent bathroom equipment, the intelligence robot of sweeping the floor, the intelligence robot of wiping the window, intelligence robot of mopping the floor, intelligent air purification equipment, intelligent steam ager, intelligent microwave oven, intelligent kitchen guarding, intelligent clarifier, intelligent water dispenser, intelligent lock etc..
In this embodiment, a network connection method is provided, and fig. 2 is a flowchart of a network connection method according to an embodiment of the present invention, where as shown in fig. 2, the flowchart includes the following steps:
step S202, determining N terminal devices establishing network connection with a target routing device, wherein N is a natural number greater than or equal to 1;
step S204, under the condition that the network configuration information of the target routing equipment is determined to be changed, connection is established with the target terminal equipment to be reconnected to the target routing equipment in the N terminal equipment;
step S206, sending the target network configuration information to the target terminal device to instruct the target terminal device to connect to the target routing device based on the target network configuration information, wherein the target network configuration information is the updated network configuration information of the target routing device, and the target terminal device is the device to be re-connected with the target routing device among the N terminal devices.
Optionally, the value of N may be flexibly set based on the actual reference scene or image requirement, for example, the home devices connected to the target routing device may be looked up from the connection list of the target routing device.
Optionally, the network configuration information of the target routing device includes a name, a password, and other information of the target routing device. For example, after the connection password of the target routing device, the changed connection password is acquired.
The main body for executing the above steps may be a terminal (e.g., a mobile phone, a computer), but is not limited thereto.
Through the steps, N terminal devices which establish network connection with the target routing device are determined; under the condition that the network configuration information of the target routing equipment is determined to be changed, connection is established with the target terminal equipment to be reconnected to the target routing equipment in the N pieces of terminal equipment; the target network configuration information is sent to the target terminal device to indicate the target terminal device to be connected to the target routing device based on the target network configuration information, wherein the target network configuration information is updated network configuration information of the target routing device, and the target terminal device is a device to be connected with the target routing device again in the N terminal devices. Therefore, the problem of network connection disorder when the device is reconnected to the routing device in the related art can be solved.
In an exemplary embodiment, in a case that it is determined that the network configuration information of the target routing device changes, establishing a connection with a target terminal device to be reconnected to the target routing device among the N terminal devices includes:
s1, under the condition that the network configuration information of the target routing equipment is determined to be changed, terminal equipment disconnected with the target routing equipment in N pieces of terminal equipment is determined, and the target terminal equipment is obtained;
s2, acquiring equipment information of the target terminal equipment, wherein the equipment information comprises a connection mode supported by the target routing equipment;
and S3, establishing connection with the target terminal equipment according to the connection mode supported by the target terminal equipment.
Optionally, the terminal device is in a network disconnection state after the target routing device is disconnected; or, the network is connected with other routing equipment and the network connection state is good; or, the connection is made with other routing devices, but the network connection state is not good; the terminal in the disconnected state and the network connection state is not good is determined as the target terminal device. For example, after the password of the router in the living room is changed, the sweeping robot is disconnected from the router in the living room and connected to the router in the bedroom, but the network state is not good, the sweeping robot needs to acquire the password of the router in the living room to reconnect. The APP that sets up in the cell-phone obtains the password after the parlor router changes, sends the password after the change for the robot of sweeping the floor, and the robot of sweeping the floor is connected with the parlor router again.
Through the embodiment, the changed network configuration information is not required to be sent to all terminal devices, but is sent to the target terminal device needing to be reconnected with the network after APP screening, so that network connection disorder is avoided.
In an exemplary embodiment, in a case that it is determined that the network configuration information of the target routing device changes, before establishing connection with a target terminal device to be reconnected to the target routing device among the N terminal devices, the method further includes:
s1, detecting first signal intensity of target routing equipment;
and S2, determining that the network configuration information of the target routing equipment changes under the condition that the change amplitude of the first signal intensity in the preset period is larger than the preset amplitude.
Optionally, the target routing device may be in a network disconnection state after the network configuration information is changed, and then reconnects the network. If the signal strength changes greatly in the middle for a period of time, it can be determined that the network configuration information of the target routing device has changed. The terminal equipment can acquire the changed network configuration information in time.
In an exemplary embodiment, in a case that it is determined that the network configuration information of the target routing device changes, before establishing connection with a target terminal device to be reconnected to the target routing device among the N terminal devices, the method further includes:
s1, determining the connection state of each terminal device and other routing devices;
and S2, determining the terminal equipment with abnormal connection with other routing equipment or with signal strength smaller than the first preset signal strength as the target terminal equipment.
Optionally, the connection of the terminal device with the other routing device is connected after the terminal device is disconnected from the target routing device. For example, after the password of the router in the living room is changed, the sweeping robot is disconnected from the router in the living room and connected to the router in the bedroom, but the network status is not good, or the sweeping robot is disconnected from the router in the bedroom, and the sweeping robot needs to obtain the password of the router in the living room to reconnect.
In an exemplary embodiment, after sending the target network configuration information to the target terminal device, the method further includes:
s1, detecting second signal intensity of target terminal equipment;
and S2, determining that the target terminal equipment and the target routing equipment are reestablished to be connected under the condition that the second signal strength is greater than the second preset signal strength.
Optionally, after the target terminal is connected to the terminal of the target routing device, the signal strength may change significantly during the process of reestablishing the network connection with the target routing device. Thereby determining that the target terminal and the target routing device reestablish the connection.
An information sending method is provided in this embodiment, and fig. 3 is a flowchart of an information sending method according to an embodiment of the present invention, and as shown in fig. 3, the flowchart includes the following steps:
step S302, sending the device information of N terminal devices establishing network connection with the target routing device to the target application;
step S304, under the condition that the network configuration information of the target routing equipment changes, sending the target network configuration information to the target application so as to instruct the target application to send the target network configuration information to the target terminal equipment, wherein the target network configuration information is the updated network configuration information of the target routing equipment, and the target terminal equipment is the equipment to be connected with the target routing equipment again in the N pieces of terminal equipment.
Optionally, the value of N may be flexibly set based on actual reference scene or image requirement, for example, the household appliances connected to the target routing device may be looked up from the connection list of the target routing device.
Optionally, the network configuration information of the target routing device includes a name, a password, and other information of the target routing device. For example, after the connection password of the target routing device, the changed connection password is acquired.
The execution subject of the above steps may be a routing device, but is not limited thereto.
Through the steps, the equipment information of the N terminal equipments which establish network connection with the target routing equipment is sent to the target application; in the method, the target network configuration information is sent to the target application under the condition that the network configuration information of the target routing equipment is changed, so that the target application is instructed to send the target network configuration information to the target terminal equipment, wherein the target network configuration information is the updated network configuration information of the target routing equipment, and the target terminal equipment is the equipment to be connected with the target routing equipment again in the N terminal equipment. Therefore, the problem of network connection disorder when the device is reconnected to the routing device in the related art can be solved.
In an exemplary embodiment, sending device information of N terminal devices establishing network connection with a target routing device to a target application includes:
s1, under the condition that a target routing device is connected with N terminal devices, obtaining a connection mode supported by each terminal device in the N terminal devices;
and S2, sending the connection mode supported by each terminal device to the target application.
Optionally, the connection modes supported by the terminal device include hot spot connection, bluetooth connection, and the like, for example, the sweeping robot may be connected to the routing device, and may also establish bluetooth connection with the mobile phone. After the Bluetooth connection is established between the mobile phone and the terminal device, the target network configuration information can be sent to the terminal device needing to be connected with the target routing device. The aim of quickly sending the target network configuration information to the terminal equipment can be achieved.
The present application is illustrated below with reference to specific examples:
the embodiment takes the smart home device, the router and the mobile phone APP as examples for explanation. APP on the mobile phone is used for managing the intelligent household equipment, and the intelligent household equipment is connected with the router. As shown in fig. 4, the method comprises the following steps:
step S401, a mobile phone APP is connected with a router, and the mobile phone APP automatically detects whether network configuration information of the router is changed;
step S402, after determining that the network configuration information of the router is changed, detecting whether the intelligent device managed by the mobile phone APP needs to be newly distributed with a network. For example, whether the intelligent device needs to be newly distributed can be determined by detecting whether the intelligent device is in a network disconnection state, and when the intelligent device is determined to be in the network disconnection state, it is determined that the intelligent device needs to be newly distributed. Or whether the intelligent device needs to be newly configured with a network can be determined by detecting the network signal condition of the connection of the intelligent device, and if the network signal of the connection of the intelligent device is determined to be poor and the network of the connection of the intelligent device is not the network of the router with the changed configuration parameters, the intelligent device needs to be newly configured with a network.
Step S403, when it is determined that the intelligent device needs to be reconfigured, determining device information of the intelligent device that needs to be reconfigured. The method can be determined from the device information of all the intelligent devices managed by the APP, which is stored on the mobile phone or in the server of the APP, or can be determined from the device information of all the intelligent devices which are acquired from the router and connected to the router network.
Step S404, establishing a connection relationship (for example, bluetooth connection, hotspot connection) according to the determined device information of the smart device that needs to be reconfigured.
Step S405, acquiring the network configuration information after the router is changed.
Step S406, according to the acquired latest router configuration information, synchronizing the latest configuration information to the intelligent device.
In step S407, the device that has successfully synchronized disconnects from the mobile phone and searches for a connection router.
In summary, after the user modifies the router configuration information, the user does not need to manually select the intelligent device needing to be distributed, automatically determines the intelligent device needing to be distributed through the detection of the network connected with the intelligent device, and automatically distributes the network for the intelligent device needing to be distributed; the manual operation of a user is not needed, so that the user experience is improved; the problem of the router directly sends the changed configuration information to all intelligent devices to cause the network connection disorder of the intelligent devices is avoided.
In this embodiment, a network connection device is further provided, and the device is used to implement the foregoing embodiments and preferred embodiments, and the description of which is already given is omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 5 is a block diagram of a network connection device according to an embodiment of the present invention, as shown in fig. 5, the device including:
a first determining module 52, configured to determine N terminal devices that establish network connection with a target routing device, where N is a natural number greater than or equal to 1;
a first connection module 54, configured to establish a connection with a target terminal device to be reconnected to a target routing device among the N terminal devices, when it is determined that network configuration information of the target routing device changes;
a first sending module 56, configured to send the target network configuration information to the target terminal device, so as to instruct the target terminal device to connect to the target routing device based on the target network configuration information, where the target network configuration information is updated network configuration information of the target routing device, and the target terminal device is a device to be reconnected with the target routing device among the N terminal devices.
In an exemplary embodiment, the first connection module includes:
a first determining unit, configured to determine, when it is determined that network configuration information of the target routing device changes, a terminal device disconnected from the target routing device among N terminal devices to obtain the target terminal device;
a first obtaining unit, configured to obtain device information of the target terminal device, where the device information includes a connection mode supported by the target routing device;
and the first connection unit is used for establishing connection with the target terminal equipment according to the connection mode supported by the target terminal equipment.
In an exemplary embodiment, the apparatus further includes:
a first detecting module, configured to detect a first signal strength of the target routing device before establishing a connection with a target terminal device to be reconnected to the target routing device among N pieces of terminal devices, when it is determined that network configuration information of the target routing device changes;
a second determining module, configured to determine that the network configuration information of the target routing device changes when a change amplitude of the first signal strength in a preset period is greater than a preset amplitude.
In an exemplary embodiment, the apparatus further includes:
a third determining module, configured to determine, when it is determined that the network configuration information of the target routing device changes, a connection state between each of the terminal devices and the other routing devices before establishing a connection with a target terminal device to be reconnected to the target routing device among the N terminal devices;
and the fourth determining module is used for determining the terminal equipment with abnormal connection with the target routing equipment or with signal strength smaller than the first preset signal strength as the target terminal equipment.
In an exemplary embodiment, the apparatus further includes:
the second detection module is used for detecting the second signal intensity of the target terminal equipment after the target network configuration information is sent to the target terminal equipment;
a fifth determining module, configured to determine that the target end device and the target routing device reestablish the connection when the second signal strength is greater than a second preset signal strength.
Fig. 6 is a block diagram of the structure of an information transmitting apparatus according to an embodiment of the present invention, as shown in fig. 6, the apparatus including:
a second sending module 62, configured to send device information of N terminal devices that establish network connection with the target routing device to the target application;
a third sending module 64, configured to send the target network configuration information to the target application when the network configuration information of the target routing device changes, so as to instruct the target application to send the target network configuration information to the target terminal device, where the target network configuration information is the updated network configuration information of the target routing device, and the target terminal device is a device to be newly connected to the target routing device in the N terminal devices.
In an exemplary embodiment, the third sending module includes:
a second obtaining unit, configured to obtain, when the target routing device establishes connections with N pieces of the terminal devices, a connection mode supported by each of the N pieces of the terminal devices;
and the first sending unit is used for sending the connection mode supported by each terminal device to the target application.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (11)

1. A network connection method, comprising:
determining N terminal devices establishing network connection with a target routing device, wherein N is a natural number greater than or equal to 1;
under the condition that the network configuration information of the target routing equipment is determined to be changed, connection is established with target terminal equipment to be reconnected to the target routing equipment in the N pieces of terminal equipment;
and sending target network configuration information to the target terminal equipment to indicate the target terminal equipment to be connected to the target routing equipment based on the target network configuration information, wherein the target network configuration information is updated network configuration information of the target routing equipment, and the target terminal equipment is equipment to be newly connected with the target routing equipment in the N pieces of terminal equipment.
2. The method according to claim 1, wherein in a case that it is determined that the network configuration information of the target routing device changes, establishing connection with a target terminal device to be reconnected to the target routing device among the N terminal devices comprises:
under the condition that the network configuration information of the target routing equipment is determined to be changed, terminal equipment disconnected with the target routing equipment in the N pieces of terminal equipment is determined, and the target terminal equipment is obtained;
acquiring the equipment information of the target terminal equipment, wherein the equipment information comprises the connection mode supported by the target routing equipment;
and establishing connection with the target terminal equipment according to the connection mode supported by the target terminal equipment.
3. The method according to claim 1, wherein in a case that it is determined that the network configuration information of the target routing device changes, before establishing a connection with a target terminal device to be reconnected to the target routing device among the N terminal devices, the method further comprises:
detecting a first signal strength of the target routing device;
and determining that the network configuration information of the target routing device changes under the condition that the change amplitude of the first signal strength in a preset period is larger than a preset amplitude.
4. The method according to claim 1, wherein in a case that it is determined that the network configuration information of the target routing device changes, before establishing a connection with a target terminal device to be reconnected to the target routing device among the N terminal devices, the method further comprises:
determining the connection state of each terminal device and other routing devices;
and determining the terminal equipment which is connected with the target routing equipment abnormally or has signal intensity smaller than first preset signal intensity as the target terminal equipment.
5. The method of claim 1, wherein after sending target network configuration information to the target terminal device, the method further comprises:
detecting a second signal strength of the target terminal device;
and under the condition that the second signal strength is greater than a second preset signal strength, determining that the target terminal equipment and the target routing equipment reestablish the connection.
6. An information transmission method, comprising:
sending the equipment information of N terminal equipments which establish network connection with the target routing equipment to the target application;
and under the condition that the network configuration information of the target routing equipment is changed, sending the target network configuration information to the target application so as to instruct the target application to send the target network configuration information to the target terminal equipment, wherein the target network configuration information is the updated network configuration information of the target routing equipment, and the target terminal equipment is equipment to be newly connected with the target routing equipment in the N pieces of terminal equipment.
7. The method of claim 6, wherein sending device information of N terminal devices establishing network connection with the target routing device to the target application comprises:
under the condition that the target routing equipment establishes connection with the N terminal equipment, acquiring a connection mode supported by each terminal equipment in the N terminal equipment;
and sending the connection mode supported by each terminal device to the target application.
8. A network connection device, comprising:
the first determining module is used for determining N terminal devices establishing network connection with a target routing device, wherein N is a natural number greater than or equal to 1;
the first connection module is used for establishing connection with a target terminal device to be reconnected to the target routing device in the N terminal devices under the condition that the network configuration information of the target routing device is determined to be changed;
the first sending module is configured to send target network configuration information to the target terminal device to instruct the target terminal device to connect to the target routing device based on the target network configuration information, where the target network configuration information is network configuration information updated by the target routing device, and the target terminal device is a device to be connected with the target routing device again among the N terminal devices.
9. An information transmission apparatus, comprising:
the second sending module is used for sending the device information of the N terminal devices which establish network connection with the target routing device to the target application;
and a third sending module, configured to send target network configuration information to the target application when the network configuration information of the target routing device changes, so as to instruct the target application to send the target network configuration information to a target terminal device, where the target network configuration information is updated network configuration information of the target routing device, and the target terminal device is a device to be newly connected to the target routing device in the N terminal devices.
10. A computer-readable storage medium, comprising a stored program, wherein the program when executed performs the method of any of claims 1 to 5 or the program when executed performs the method of any of claims 6 to 7.
11. An electronic apparatus comprising a memory and a processor, wherein the memory has stored therein a computer program and the processor is arranged to execute the method of any one of claims 1 to 5, or the processor is arranged to execute the method of any one of claims 6 to 7, by the computer program.
CN202211174850.4A 2022-09-26 2022-09-26 Network connection method, device, storage medium and electronic device Pending CN115695182A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211174850.4A CN115695182A (en) 2022-09-26 2022-09-26 Network connection method, device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211174850.4A CN115695182A (en) 2022-09-26 2022-09-26 Network connection method, device, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN115695182A true CN115695182A (en) 2023-02-03

Family

ID=85062609

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211174850.4A Pending CN115695182A (en) 2022-09-26 2022-09-26 Network connection method, device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN115695182A (en)

Similar Documents

Publication Publication Date Title
CN108064442B (en) Intelligent equipment control method, control device and control system
CN113709839A (en) Multi-gateway network switching method, device and system, electronic equipment and storage medium
CN101971572B (en) UPnP (universal plug and play) RAS (remote access server) device for supporting multiple remote access and method for same
CN107135529B (en) Method for realizing automatic connection of AP and STA and synchronizing AP configuration modification
CN104113458A (en) Mobile terminal and intelligent household appliance interconnecting method and device
CN105392185B (en) A kind of networking method of smart machine, apparatus and system
CN109413653B (en) Network distribution method and network distribution system for household appliances
CN103634657A (en) Television and mobile terminal synchronous WIFI connection setup method and device
CN116016002A (en) Intelligent household appliance network distribution method and device and electronic device
CN111107605A (en) Network distribution method of household electrical appliance and household electrical appliance
CN113824617A (en) Network distribution method, storage medium, household appliance and cloud server
WO2022073304A1 (en) Ap network configuration processing method and apparatus
CN113296729A (en) Prompt message broadcasting method, device and system, storage medium and electronic device
WO2024016539A1 (en) Device control method and apparatus, and storage medium and electronic apparatus
CN115695182A (en) Network connection method, device, storage medium and electronic device
CN114900826A (en) Equipment binding method and device, storage medium and electronic device
CN114826901B (en) Device networking method and device, storage medium and electronic device
CN113126510A (en) Household appliance control system and control method thereof
CN113472763A (en) Control instruction sending method and device, storage medium and electronic device
CN114697345B (en) Information updating method and device, storage medium and electronic device
CN115296947B (en) Control command response method and device, storage medium and electronic device
CN114815641A (en) Monitoring method and device for intelligent equipment, storage medium and electronic equipment
CN115314549B (en) Offline equipment management method, storage medium and electronic device
CN115356937A (en) Device control method, device, storage medium, and electronic apparatus
CN110838934B (en) Method, network device and medium for automatically selecting operation mode of network device

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