CN112543492A - Method and device for re-distribution network and storage medium - Google Patents
Method and device for re-distribution network and storage medium Download PDFInfo
- Publication number
- CN112543492A CN112543492A CN202011372518.XA CN202011372518A CN112543492A CN 112543492 A CN112543492 A CN 112543492A CN 202011372518 A CN202011372518 A CN 202011372518A CN 112543492 A CN112543492 A CN 112543492A
- Authority
- CN
- China
- Prior art keywords
- network
- intelligent
- distribution network
- hotspot
- wireless 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.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The application discloses a method, a device and a storage medium for re-distribution of a network, which relate to the technical field of wireless networks and aim to reduce time resources and human resources for replacing a wireless network for a plurality of intelligent devices. According to the method, the network hotspot of the intelligent device connected with the new wireless network is opened, and the network distribution information of the opened network hotspot is the network distribution information of the intelligent device connected with the wireless network last time, so that other intelligent devices are connected to the network hotspot, and the network distribution information of the new wireless network is sent to the intelligent device connected with the network hotspot, so that other intelligent devices can be automatically connected with the new wireless network. Like this, reduced the time of changing wireless network for a plurality of smart machine, and practiced thrift manpower resources.
Description
Technical Field
The present application relates to the field of wireless network technologies, and in particular, to a method and an apparatus for reconfiguring a network, and a storage medium.
Background
The Internet of Things (IOT) is to collect any object or process needing monitoring, connection and interaction in real time and collect various required information such as sound, light, heat, electricity, mechanics, chemistry, biology and location through various devices and technologies such as various information sensors, radio frequency identification technology, global positioning system, infrared sensor and laser scanner, and to realize ubiquitous connection of objects and people through various possible network accesses, and to realize intelligent sensing, identification and management of objects and processes.
With the rapid development of science and technology, the internet of things is widely applied, and various intelligent homes and intelligent devices appear in the visual field of people. And to make the intelligent equipment realize the function of the internet of things, a wireless network needs to be connected. Generally, the smart devices in a space are connected to the same wireless network. If when having changed wireless network, need the user to connect new wireless network to smart machine one by one, consequently, among the prior art, it is extravagant very much time to change wireless network for a plurality of smart machine, and consumes a large amount of manpowers.
Disclosure of Invention
The embodiment of the application provides a method, a device and a storage medium for re-distributing a network, which are used for reducing time resources and human resources for replacing a wireless network for a plurality of intelligent devices.
In a first aspect, an embodiment of the present application provides a method for reconfiguring a network, which is applied to a first intelligent device, and the method includes:
responding to the first auxiliary distribution network instruction by the first intelligent equipment reconnected with the wireless network, and starting a first network hotspot; the distribution network information of the first network hotspot is the distribution network information of the last wireless network connected to the first intelligent device, and the distribution network information of the reconnected wireless network is different from the distribution network information of the last wireless network connected to the first intelligent device;
responding to a connection request of a second intelligent device, and establishing connection with the second intelligent device;
and sending distribution network information to the second intelligent equipment so that the second intelligent equipment is connected with the wireless network to which the first intelligent equipment is currently connected.
According to the method, the network hotspot of the intelligent device connected with the new wireless network is opened, and the network distribution information of the opened network hotspot is the network distribution information of the intelligent device connected with the wireless network last time, so that other intelligent devices are connected to the network hotspot, and the network distribution information of the new wireless network is sent to the intelligent device connected with the network hotspot, so that other intelligent devices can be automatically connected with the new wireless network. Like this, reduced the time of changing wireless network for a plurality of smart machine, and practiced thrift manpower resources.
In one possible implementation manner, the responding to the first auxiliary distribution network instruction includes:
responding to a first auxiliary distribution network instruction triggered by a user; or;
responding to a first auxiliary distribution network instruction sent by other intelligent equipment through the reconnected wireless network.
According to the method, the first auxiliary distribution network instruction for starting the network hotspot can be sent by the user or other intelligent devices connected with the new wireless network, and the fact that the first auxiliary distribution network instruction is sent more flexibly is demonstrated.
In a possible implementation manner, after the first smart device reconnecting the wireless network responds to the auxiliary distribution network instruction and opens the first network hotspot, the method further includes:
if the time length for opening the first network hotspot exceeds the preset time length, closing the first network hotspot; and/or;
and if the number of the second intelligent devices successfully connected to the first network hotspot exceeds a preset number, closing the first network hotspot.
According to the method, the time for starting the network hotspot is limited, so that resources can be effectively saved.
In a possible implementation manner, after the sending of the distribution network information to the second smart device so that the second smart device connects to the wireless network to which the first smart device is currently connected, the method further includes:
sending a second auxiliary distribution network instruction to the second intelligent device so that the second intelligent device opens a second network hotspot according to the auxiliary distribution network instruction; and the distribution network information of the second network hotspot is the distribution network information of the last wireless network connection of the second intelligent device.
According to the method, the second auxiliary distribution network instruction is sent to the second intelligent device connected with the wireless network, so that the second intelligent device can start a network hotspot. Therefore, other intelligent devices can be connected to the wireless network more quickly, and the time for replacing the wireless network by the intelligent devices is shortened.
In a second aspect, an embodiment of the present application provides a method for reconfiguring a network, which is applied to a second intelligent device, and the method includes:
after a first network hotspot started by first intelligent equipment is scanned, sending a connection request to the first intelligent equipment; the distribution network information of the first network hotspot is the distribution network information of the last wireless network connection of the second intelligent device;
after receiving the request passing information sent by the first intelligent device, connecting the first network hotspot;
and after the distribution network information sent by the first intelligent device is received through the first network hotspot, reconnecting the wireless network according to the distribution network information.
According to the method, the network hotspot of the intelligent device connected with the new wireless network is opened, and the network distribution information of the opened network hotspot is the network distribution information of the intelligent device connected with the wireless network last time, so that other intelligent devices are connected to the network hotspot, and the network distribution information of the new wireless network is sent to the intelligent device connected with the network hotspot, so that other intelligent devices can be automatically connected with the new wireless network. Like this, reduced the time of changing wireless network for a plurality of smart machine, and practiced thrift manpower resources.
In a third aspect, an embodiment of the present application provides a redistribution network apparatus, which is applied to a first intelligent device, and the apparatus includes:
the starting module is used for responding to the first auxiliary distribution network instruction by the first intelligent equipment reconnecting the wireless network and starting a first network hotspot; the distribution network information of the first network hotspot is the distribution network information of the last wireless network connected to the first intelligent device, and the distribution network information of the reconnected wireless network is different from the distribution network information of the last wireless network connected to the first intelligent device;
the first connection module is used for responding to a connection request of second intelligent equipment and establishing connection with the second intelligent equipment;
and the first sending module is used for sending distribution network information to the second intelligent equipment so that the second intelligent equipment is connected with the wireless network currently connected with the first intelligent equipment.
In one possible implementation, the opening module includes:
the first response unit is used for responding to a first auxiliary distribution network instruction triggered by a user; or;
and the second response unit is used for responding to the first auxiliary distribution network instruction sent by other intelligent equipment through the reconnected wireless network.
In one possible implementation manner, the apparatus further includes:
the first closing module is used for responding to a first auxiliary distribution network instruction by a first intelligent device of the opening module for reconnecting the wireless network, and closing the first network hotspot if the time length for opening the first network hotspot exceeds the preset time length after the first network hotspot is opened; and/or;
and the second closing module is used for closing the first network hotspot if the number of the second intelligent devices which are successfully connected to the first network hotspot exceeds a preset number.
In one possible implementation manner, the apparatus further includes:
the second sending module is used for sending distribution network information to the second intelligent equipment by the first sending module so that after the second intelligent equipment is connected with the wireless network currently connected with the first intelligent equipment, a second auxiliary distribution network instruction is sent to the second intelligent equipment so that the second intelligent equipment opens a second network hotspot according to the auxiliary distribution network instruction; and the distribution network information of the second network hotspot is the distribution network information of the last wireless network connection of the second intelligent device.
In a fourth aspect, an embodiment of the present application provides a reconfiguration network apparatus, which is applied to a second smart device, and the apparatus includes:
the second sending module is used for sending a connection request to the first intelligent device after scanning a first network hotspot started by the first intelligent device; the distribution network information of the first network hotspot is the distribution network information of the last wireless network connection of the second intelligent device;
the second connection module is used for connecting the first network hotspot after receiving the request passing information sent by the first intelligent device;
and the third connecting module is used for reconnecting the wireless network according to the distribution network information after the distribution network information sent by the first intelligent device is received through the first network hotspot.
In a fifth aspect, a computing device is provided, comprising at least one processing unit and at least one memory unit, wherein the memory unit stores a computer program that, when executed by the processing unit, causes the processing unit to perform any of the above-mentioned steps of the method for reconfiguring a network.
In one embodiment, the computing device may be a server or a terminal device.
In a sixth aspect, a computer readable medium is provided, which stores a computer program executable by a terminal device, and when the program runs on the terminal device, the program causes the terminal device to execute any one of the steps of the above-mentioned method for reconfiguring a network.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic flow chart of an overall method for reconfiguring a network in an embodiment of the present application;
fig. 2 is a schematic flowchart of a first method for reconfiguring a network in an embodiment of the present application;
fig. 3 is a schematic flowchart of a second method for reconfiguring a network in an embodiment of the present application;
fig. 4 is a schematic structural diagram of a first redistribution network in the embodiment of the present application;
fig. 5 is a schematic structural diagram of a second redistribution network in the embodiment of the present application;
fig. 6 is a schematic structural diagram of a computing device according to an embodiment of the present application.
Detailed Description
In order to solve the problems that time is wasted and a large amount of labor is consumed when a wireless network is replaced for a plurality of intelligent devices in the prior art, the embodiment of the application provides a method and a device for re-distributing a network and a storage medium. In order to better understand the technical solution provided by the embodiments of the present application, the following brief description is made on the basic principle of the solution:
in the embodiment of the present application, the term "and/or" describes an association relationship of associated objects, and means that there may be three relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The terms "first," "second," and the like in the description and in the claims of the present application and in the above-described drawings 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.
The internet of things is that any object or process needing monitoring, connection and interaction is collected in real time through various devices and technologies such as various information sensors, radio frequency identification technologies, global positioning systems, infrared sensors, laser scanners and the like, various required information such as sound, light, heat, electricity, mechanics, chemistry, biology, positions and the like is collected, ubiquitous connection of objects and objects, and ubiquitous connection of objects and people are realized through various possible network accesses, and intelligent sensing, identification and management of the objects and the processes are realized.
With the rapid development of science and technology, the internet of things is widely applied, and various intelligent homes and intelligent devices appear in the visual field of people. And to make the intelligent equipment realize the function of the internet of things, a wireless network needs to be connected. Generally, the smart devices in a space are connected to the same wireless network. If when having changed wireless network, need the user to connect new wireless network to smart machine one by one, consequently, among the prior art, it is extravagant very much time to change wireless network for a plurality of smart machine, and consumes a large amount of manpowers.
In view of the above, in order to solve the above problems and reduce time resources and human resources for replacing a wireless network for a plurality of intelligent devices, embodiments of the present application provide a method, an apparatus, and a storage medium for re-configuring a network, where a network hotspot of an intelligent device connected to a new wireless network is opened, and since the network configuration information of the opened network hotspot is the network configuration information of the last wireless network connected to the intelligent device, other intelligent devices are connected to the network hotspot, and the network configuration information of the new wireless network is sent to the intelligent device connected to the network hotspot, so that other intelligent devices can automatically connect to the new wireless network. Like this, reduced the time of changing wireless network for a plurality of smart machine, and practiced thrift manpower resources.
The preferred embodiments of the present application will be described below with reference to the accompanying drawings of the specification, it should be understood that the preferred embodiments described herein are merely for illustrating and explaining the present application, and are not intended to limit the present application, and that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
The following further explains the redistribution network method provided in the embodiment of the present application. As shown in fig. 1, includes a first smart device and a second smart device.
Step 101: and the first intelligent equipment reconnecting the wireless network responds to the first auxiliary distribution network instruction and starts the first network hotspot.
The distribution network information of the first network hotspot is the distribution network information of the last wireless network connected to the first intelligent device, and the distribution network information of the reconnected wireless network is different from the distribution network information of the last wireless network connected to the first intelligent device.
The distribution network information comprises names and passwords of wireless networks or network hotspots.
In the embodiment of the application, the first intelligent device and the second intelligent device are connected to the wireless network A in a unified mode, and the first intelligent device and the second intelligent device cannot be connected to the wireless network A due to the fact that a new wireless network is replaced or the password of the wireless network A is changed. If the wireless network B is replaced by a new wireless network B, the first intelligent device can be manually reconnected to the wireless network B. At this time, the user can send an auxiliary distribution network instruction to the first intelligent device through the mobile phone APP (application), so that the first intelligent device opens the network hotspot.
It should be noted that, at present, the commonly used smart home devices are single-channel wifi (wireless network), that is, the devices do not support connection of hotspots and serve as transmission hotspots, so before the end of the auxiliary distribution network, the first smart device is intermittently connected to the new router, and the purpose of being controlled by the APP at any time is achieved.
In the embodiment of the application, besides the user sends the auxiliary distribution network instruction to the first intelligent device, other intelligent devices which are connected with a new wireless network can also send the auxiliary distribution network instruction to the first intelligent device. Therefore, the first smart device responding to the first auxiliary distribution network instruction may specifically be implemented as:
firstly, responding to a first auxiliary distribution network instruction triggered by a user.
And secondly, responding to a first auxiliary distribution network instruction sent by other intelligent equipment through the reconnected wireless network.
In the embodiment of the application, if the auxiliary distribution network instruction is sent by the user through the mobile phone APP, it is indicated that the first intelligent device is the first intelligent device connected to the new wireless network. If the auxiliary distribution network instruction is sent by other intelligent equipment, the first intelligent equipment is a new wireless network connected through the network hotspots of other intelligent equipment and is not the first intelligent equipment connected with the new wireless network.
Therefore, the first auxiliary distribution network instruction for starting the network hotspot can be sent by the user or other intelligent devices connected with the new wireless network, and the fact that the first auxiliary distribution network instruction is sent more flexibly is demonstrated.
In the embodiment of the application, the first intelligent device not only opens the network hotspot but also determines the way of closing the network hotspot according to the auxiliary distribution network instruction. The method for closing the network hotspot has two modes:
firstly, if the time length for opening the first network hotspot exceeds the preset time length, closing the first network hotspot.
For example, if the duration of opening the first network hotspot is set to be 1 minute, the first intelligent device closes the network hotspot when the duration of opening the network hotspot exceeds 1 minute.
And secondly, if the number of the second intelligent devices successfully connected to the first network hotspot exceeds a preset number, closing the first network hotspot.
For example, if 5 smart devices are set to be successfully connected to the first network hotspot, the first network hotspot is closed after the 5 smart devices are connected.
Of course, both methods can also be used together; one of the conditions is satisfied, namely the first network hotspot is closed.
For example, if the duration of opening the first network hotspot is set to be 1 minute, 5 smart devices are successfully connected to the first network hotspot, and if the first smart device is opened for more than 1 minute, the first network hotspot is still closed even if the first smart device is not connected to 5 smart devices. Or, if the time does not exceed 1 minute after the connection to the 5 smart devices, the first network hotspot is still closed.
In this embodiment of the application, if the first auxiliary distribution network instruction is sent by the other intelligent devices through the reconnected wireless network, the preset duration or the preset number is set according to the self condition of the other intelligent devices.
For example, the preset time duration for starting the network hotspot by the other intelligent devices is 1 minute, and after 20 seconds, the first intelligent device is connected to the network hotspot of the intelligent device and is connected to a new wireless network through the network hotspot. At this time, since the network hotspot can be closed by other intelligent devices within 40 seconds, the preset duration for the first intelligent device to open the network hotspot is required to be 40 seconds in the first auxiliary distribution network instruction sent to the first intelligent device.
Similarly, the other intelligent devices set the number of the intelligent devices successfully connected to the network hotspot to be 5, and the first intelligent device is the first intelligent device successfully connected, so that the other intelligent devices send the first auxiliary distribution network command to the first intelligent device, and the first intelligent device is required to set the number of the intelligent devices successfully connected to the network hotspot to be 4. Meanwhile, if the other intelligent devices are successfully connected again, the first auxiliary distribution network instruction is updated to the first intelligent device.
Of course, in the embodiment of the present application, the preset duration and the preset number may also be kept unchanged, that is, the preset duration and the preset number are the same regardless of the first auxiliary distribution network instruction sent by other intelligent devices and the first auxiliary distribution network instruction sent by the user.
For example, the preset time duration for starting the network hotspot by the other intelligent devices is 1 minute, and after 20 seconds, the first intelligent device is connected to the network hotspot of the intelligent device and is connected to a new wireless network through the network hotspot. In a first auxiliary distribution network instruction sent by other intelligent equipment to the first intelligent equipment, the preset time for starting the network hotspot by the first intelligent equipment is required to be 1 minute.
The other intelligent devices set 5 intelligent devices which are successfully connected to the network hotspot, the first intelligent device is the first intelligent device which is successfully connected, and the other intelligent devices send a first auxiliary distribution network instruction to the first intelligent device to require the first intelligent device to set 5 intelligent devices which are successfully connected to the network hotspot.
Step 102: and after scanning a first network hotspot started by the first intelligent device, the second intelligent device sends a connection request to the first intelligent device.
And the distribution network information of the first network hotspot is the distribution network information of the last connection of the second intelligent device to the wireless network.
Because the second intelligent device and the first intelligent device are connected with the same wireless network before, after the wireless network is replaced, the second intelligent device is in an off-line state, automatically scans the wireless network, and automatically connects the scanned wireless network with the same name according to the wireless network successfully connected last time.
The name and the password of the first network hotspot started by the first intelligent device are the name and the password of the last wireless network, so that the second intelligent device sends a connection request to the first intelligent device through automatic connection after scanning the first network hotspot.
Step 103: and the first intelligent equipment responds to the connection request of the second intelligent equipment and establishes connection with the second intelligent equipment.
At this time, the second smart device is successfully connected to the first network hotspot of the first smart device.
Step 104: and the first intelligent equipment sends the distribution network information to the second intelligent equipment.
Step 105: and the second intelligent equipment is reconnected with the wireless network according to the distribution network information.
In the embodiment of the application, in order to speed up connection of all the intelligent devices, after the second intelligent device is connected to a new wireless network, the first intelligent device sends an auxiliary distribution network instruction to the second intelligent device, so that the second intelligent device opens a network hotspot and assists other intelligent devices which are not connected to the new wireless network like the first intelligent device. The method can be specifically implemented as follows: sending a second auxiliary distribution network instruction to the second intelligent device so that the second intelligent device opens a second network hotspot according to the auxiliary distribution network instruction; and the distribution network information of the second network hotspot is the distribution network information of the last wireless network connection of the second intelligent device. Therefore, other intelligent devices can be connected to the wireless network more quickly, and the time for replacing the wireless network by the intelligent devices is shortened.
Based on the same inventive concept, an embodiment of the present application further provides a method for reconfiguring a network, where the method is applied to the first intelligent device discussed above, please refer to fig. 2, and the method includes:
s201, responding to a first auxiliary distribution network instruction by first intelligent equipment reconnecting a wireless network, and starting a first network hotspot; the distribution network information of the first network hotspot is the distribution network information of the last wireless network connected to the first intelligent device, and the distribution network information of the reconnected wireless network is different from the distribution network information of the last wireless network connected to the first intelligent device.
S202, responding to a connection request of a second intelligent device, and establishing connection with the second intelligent device.
S203, sending distribution network information to the second intelligent device so that the second intelligent device is connected with the wireless network to which the first intelligent device is currently connected.
The specific implementation manner of each step in fig. 2 may refer to the content discussed above, and is not described here again.
Based on the same inventive concept, an embodiment of the present application further provides a method for reconfiguring a network, where the method is applied to the second intelligent device discussed above, please refer to fig. 3, and the method includes:
s301, after a first network hotspot started by a first intelligent device is scanned, a connection request is sent to the first intelligent device; and the distribution network information of the first network hotspot is the distribution network information of the last connection of the second intelligent device to the wireless network.
And S302, after receiving the request passing information sent by the first intelligent device, connecting the first network hotspot.
And S303, after the distribution network information sent by the first intelligent device is received through the first network hotspot, reconnecting the wireless network according to the distribution network information.
The specific implementation manner of each step in fig. 3 may refer to the content discussed above, and is not described here again.
Based on the same inventive concept, the embodiment of the application also provides a device for re-distributing a network. Applied to a first smart device, as shown in fig. 4, the apparatus includes:
the starting module 401 is configured to respond to the first auxiliary distribution network instruction by the first intelligent device reconnecting the wireless network, and start a first network hotspot; the distribution network information of the first network hotspot is the distribution network information of the last wireless network connected to the first intelligent device, and the distribution network information of the reconnected wireless network is different from the distribution network information of the last wireless network connected to the first intelligent device;
a first connection module 402, configured to respond to a connection request of a second smart device and establish a connection with the second smart device;
a first sending module 403, configured to send distribution network information to the second intelligent device, so that the second intelligent device is connected to the wireless network to which the first intelligent device is currently connected.
In one possible implementation, the opening module 401 includes:
the first response unit is used for responding to a first auxiliary distribution network instruction triggered by a user; or the like, or, alternatively,
and the second response unit is used for responding to the first auxiliary distribution network instruction sent by other intelligent equipment through the reconnected wireless network.
In one possible implementation manner, the apparatus further includes:
a first closing module, configured to respond to the first auxiliary distribution network instruction by a first intelligent device reconnecting the wireless network through the opening module 401, and after a first network hotspot is opened, if a duration for opening the first network hotspot exceeds a preset duration, close the first network hotspot; and/or the presence of a gas in the gas,
and the second closing module is used for closing the first network hotspot if the number of the second intelligent devices which are successfully connected to the first network hotspot exceeds a preset number.
In one possible implementation manner, the apparatus further includes:
a second sending module, configured to send, by the first sending module 403, distribution network information to the second intelligent device, so that after the second intelligent device is connected to the wireless network to which the first intelligent device is currently connected, a second auxiliary distribution network instruction is sent to the second intelligent device, so that the second intelligent device opens a second network hotspot according to the auxiliary distribution network instruction; and the distribution network information of the second network hotspot is the distribution network information of the last wireless network connection of the second intelligent device.
Based on the same inventive concept, the embodiment of the application also provides a device for re-distributing a network. Applied to a second smart device, as shown in fig. 5, the apparatus includes:
a second sending module 501, configured to send a connection request to a first intelligent device after scanning a first network hotspot started by the first intelligent device; the distribution network information of the first network hotspot is the distribution network information of the last wireless network connection of the second intelligent device;
a second connection module 502, configured to connect to the first network hotspot after receiving the request passing information sent by the first intelligent device;
a third connection module 503, configured to reconnect the wireless network according to the distribution network information after the distribution network information sent by the first intelligent device is received by the first network hotspot.
Based on the same technical concept, the present application further provides a terminal device 600, as shown in fig. 6, the terminal device 600 is configured to implement the methods described in the above various method embodiments, for example, implement the embodiment shown in fig. 1, and the terminal device 600 may include a memory 601, a processor 602, an input unit 603, and a display panel 604.
A memory 601 for storing computer programs executed by the processor 602. The memory 601 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the terminal apparatus 600, and the like. The processor 602 may be a Central Processing Unit (CPU), a digital processing unit, or the like. The input unit 603 may be configured to obtain a user instruction input by a user. The display panel 604 is configured to display information input by a user or information provided to the user, and in this embodiment of the present application, the display panel 604 is mainly used to display a display interface of each application program in the terminal device and a control entity displayed in each display interface. Alternatively, the display panel 604 may be configured in the form of a Liquid Crystal Display (LCD) or an organic light-emitting diode (OLED), and the like.
The embodiment of the present application does not limit a specific connection medium among the memory 601, the processor 602, the input unit 603, and the display panel 604. In the embodiment of the present application, the memory 601, the processor 602, the input unit 603, and the display panel 604 are connected by the bus 605 in fig. 6, the bus 605 is shown by a thick line in fig. 6, and the connection manner between other components is merely illustrative and not limited thereto. The bus 605 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 6, but this is not intended to represent only one bus or type of bus.
The memory 601 may be a volatile memory (volatile memory), such as a random-access memory (RAM); the memory 601 may also be a non-volatile memory (non-volatile memory) such as, but not limited to, a read-only memory (rom), a flash memory (flash memory), a Hard Disk Drive (HDD) or a solid-state drive (SSD), or any other medium which can be used to carry or store desired program code in the form of instructions or data structures and which can be accessed by a computer. The memory 601 may be a combination of the above memories.
The processor 602, configured to implement the embodiment shown in fig. 1, includes:
a processor 602 for invoking the computer program stored in the memory 601 to perform the embodiment as shown in fig. 1.
The embodiment of the present application further provides a computer-readable storage medium, which stores computer-executable instructions required to be executed by the processor, and includes a program required to be executed by the processor.
In some possible embodiments, aspects of a redistribution network method provided by the present application may also be implemented in the form of a program product including program code for causing a terminal device to perform the steps of a redistribution network method according to various exemplary embodiments of the present application described above in this specification when the program product is run on the terminal device. For example, the terminal device may perform the embodiment as shown in fig. 1.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A reconfiguration network program product for an embodiment of the present application may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a computing device. However, the program product of the present application is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present application may be written in any combination of one or more programming languages, including a physical programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device over any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., over the internet using an internet service provider).
It should be noted that although several units or sub-units of the apparatus are mentioned in the above detailed description, such division is merely exemplary and not mandatory. Indeed, the features and functions of two or more units described above may be embodied in one unit, according to embodiments of the application. Conversely, the features and functions of one unit described above may be further divided into embodiments by a plurality of units.
Further, while the operations of the methods of the present application are depicted in the drawings in a particular order, this does not require or imply that these operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable document processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable document processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable document processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable document processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.
Claims (10)
1. A method for reconfiguring a network is applied to a first intelligent device, and comprises the following steps:
responding to the first auxiliary distribution network instruction by the first intelligent equipment reconnected with the wireless network, and starting a first network hotspot; the distribution network information of the first network hotspot is the distribution network information of the last wireless network connected to the first intelligent device, and the distribution network information of the reconnected wireless network is different from the distribution network information of the last wireless network connected to the first intelligent device;
responding to a connection request of a second intelligent device, and establishing connection with the second intelligent device;
and sending distribution network information to the second intelligent equipment so that the second intelligent equipment is connected with the wireless network to which the first intelligent equipment is currently connected.
2. The method of claim 1, wherein responding to the first auxiliary distribution network command comprises:
responding to a first auxiliary distribution network instruction triggered by a user; or the like, or, alternatively,
responding to a first auxiliary distribution network instruction sent by other intelligent equipment through the reconnected wireless network.
3. The method of claim 1, wherein after the first smart device reconnecting to the wireless network opens the first network hotspot in response to the auxiliary distribution network command, the method further comprises:
if the time length for opening the first network hotspot exceeds the preset time length, closing the first network hotspot; and/or the presence of a gas in the gas,
and if the number of the second intelligent devices successfully connected to the first network hotspot exceeds a preset number, closing the first network hotspot.
4. The method of claim 1, wherein after sending the distribution network information to the second smart device to enable the second smart device to connect to the wireless network to which the first smart device is currently connected, the method further comprises:
sending a second auxiliary distribution network instruction to the second intelligent device so that the second intelligent device opens a second network hotspot according to the auxiliary distribution network instruction; and the distribution network information of the second network hotspot is the distribution network information of the last wireless network connection of the second intelligent device.
5. A method for reconfiguring a network is applied to a second intelligent device, and comprises the following steps:
after a first network hotspot started by first intelligent equipment is scanned, sending a connection request to the first intelligent equipment; the distribution network information of the first network hotspot is the distribution network information of the last wireless network connection of the second intelligent device;
after receiving the request passing information sent by the first intelligent device, connecting the first network hotspot;
and after the distribution network information sent by the first intelligent device is received through the first network hotspot, reconnecting the wireless network according to the distribution network information.
6. A reconfiguration network apparatus, applied to a first smart device, the apparatus comprising:
the starting module is used for responding to the first auxiliary distribution network instruction by the first intelligent equipment reconnecting the wireless network and starting a first network hotspot; the distribution network information of the first network hotspot is the distribution network information of the last wireless network connected to the first intelligent device, and the distribution network information of the reconnected wireless network is different from the distribution network information of the last wireless network connected to the first intelligent device;
the first connection module is used for responding to a connection request of second intelligent equipment and establishing connection with the second intelligent equipment;
and the first sending module is used for sending distribution network information to the second intelligent equipment so that the second intelligent equipment is connected with the wireless network currently connected with the first intelligent equipment.
7. The apparatus of claim 6, wherein the opening module comprises:
the first response unit is used for responding to a first auxiliary distribution network instruction triggered by a user; or the like, or, alternatively,
and the second response unit is used for responding to the first auxiliary distribution network instruction sent by other intelligent equipment through the reconnected wireless network.
8. The apparatus of claim 6, wherein the apparatus further comprises:
the first closing module is used for responding to a first auxiliary distribution network instruction by a first intelligent device of the opening module for reconnecting the wireless network, and closing the first network hotspot if the time length for opening the first network hotspot exceeds the preset time length after the first network hotspot is opened; and/or the presence of a gas in the gas,
and the second closing module is used for closing the first network hotspot if the number of the second intelligent devices which are successfully connected to the first network hotspot exceeds a preset number.
9. The apparatus of claim 6, wherein the apparatus further comprises:
the second sending module is used for sending distribution network information to the second intelligent equipment by the first sending module so that after the second intelligent equipment is connected with the wireless network currently connected with the first intelligent equipment, a second auxiliary distribution network instruction is sent to the second intelligent equipment so that the second intelligent equipment opens a second network hotspot according to the auxiliary distribution network instruction; and the distribution network information of the second network hotspot is the distribution network information of the last wireless network connection of the second intelligent device.
10. A reconfiguration network apparatus, applied to a second smart device, comprising:
the second sending module is used for sending a connection request to the first intelligent device after scanning a first network hotspot started by the first intelligent device; the distribution network information of the first network hotspot is the distribution network information of the last wireless network connection of the second intelligent device;
the second connection module is used for connecting the first network hotspot after receiving the request passing information sent by the first intelligent device;
and the third connecting module is used for reconnecting the wireless network according to the distribution network information after the distribution network information sent by the first intelligent device is received through the first network hotspot.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011372518.XA CN112543492B (en) | 2020-11-30 | 2020-11-30 | Method and device for re-distribution network and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011372518.XA CN112543492B (en) | 2020-11-30 | 2020-11-30 | Method and device for re-distribution network and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112543492A true CN112543492A (en) | 2021-03-23 |
CN112543492B CN112543492B (en) | 2023-01-10 |
Family
ID=75016613
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011372518.XA Active CN112543492B (en) | 2020-11-30 | 2020-11-30 | Method and device for re-distribution network and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112543492B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113056032A (en) * | 2021-04-20 | 2021-06-29 | 维沃移动通信(深圳)有限公司 | Network connection method, device, equipment and storage medium |
CN113395741A (en) * | 2021-05-24 | 2021-09-14 | 珠海格力电器股份有限公司 | Network distribution system, method and device of equipment, electronic equipment and storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150081859A1 (en) * | 2013-09-17 | 2015-03-19 | Inventec Appliances Corp. | Method, apparatus and system for connecting devices to a network |
WO2018077018A1 (en) * | 2016-10-31 | 2018-05-03 | 邯郸美的制冷设备有限公司 | Networking method and device, network connection method and device, router, and smart home appliance |
WO2018107669A1 (en) * | 2016-12-14 | 2018-06-21 | 邯郸美的制冷设备有限公司 | Binding method, binding system and router |
CN108234220A (en) * | 2018-02-11 | 2018-06-29 | 广东美的厨房电器制造有限公司 | The distribution method, apparatus and system of smart machine |
CN109257795A (en) * | 2018-08-17 | 2019-01-22 | 珠海格力电器股份有限公司 | Method and equipment for network distribution |
CN110392445A (en) * | 2019-07-17 | 2019-10-29 | 青岛海尔科技有限公司 | The method, apparatus and system of equipment distribution |
WO2019233311A1 (en) * | 2018-06-08 | 2019-12-12 | 阿里巴巴集团控股有限公司 | Method and apparatus for device to be configured with network to access network hotspot device |
CN110831112A (en) * | 2019-11-07 | 2020-02-21 | 深圳市欧瑞博科技有限公司 | Network connection method, intelligent household equipment, intelligent gateway and electronic equipment |
CN111065137A (en) * | 2019-12-17 | 2020-04-24 | 海信集团有限公司 | Method for accessing intelligent equipment to network based on Bluetooth and wireless network |
CN111491297A (en) * | 2019-01-25 | 2020-08-04 | 华为技术有限公司 | Method and device for controlling intelligent household equipment to be connected with network |
-
2020
- 2020-11-30 CN CN202011372518.XA patent/CN112543492B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150081859A1 (en) * | 2013-09-17 | 2015-03-19 | Inventec Appliances Corp. | Method, apparatus and system for connecting devices to a network |
WO2018077018A1 (en) * | 2016-10-31 | 2018-05-03 | 邯郸美的制冷设备有限公司 | Networking method and device, network connection method and device, router, and smart home appliance |
WO2018107669A1 (en) * | 2016-12-14 | 2018-06-21 | 邯郸美的制冷设备有限公司 | Binding method, binding system and router |
CN108234220A (en) * | 2018-02-11 | 2018-06-29 | 广东美的厨房电器制造有限公司 | The distribution method, apparatus and system of smart machine |
WO2019233311A1 (en) * | 2018-06-08 | 2019-12-12 | 阿里巴巴集团控股有限公司 | Method and apparatus for device to be configured with network to access network hotspot device |
CN109257795A (en) * | 2018-08-17 | 2019-01-22 | 珠海格力电器股份有限公司 | Method and equipment for network distribution |
CN111491297A (en) * | 2019-01-25 | 2020-08-04 | 华为技术有限公司 | Method and device for controlling intelligent household equipment to be connected with network |
CN110392445A (en) * | 2019-07-17 | 2019-10-29 | 青岛海尔科技有限公司 | The method, apparatus and system of equipment distribution |
CN110831112A (en) * | 2019-11-07 | 2020-02-21 | 深圳市欧瑞博科技有限公司 | Network connection method, intelligent household equipment, intelligent gateway and electronic equipment |
CN111065137A (en) * | 2019-12-17 | 2020-04-24 | 海信集团有限公司 | Method for accessing intelligent equipment to network based on Bluetooth and wireless network |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113056032A (en) * | 2021-04-20 | 2021-06-29 | 维沃移动通信(深圳)有限公司 | Network connection method, device, equipment and storage medium |
CN113395741A (en) * | 2021-05-24 | 2021-09-14 | 珠海格力电器股份有限公司 | Network distribution system, method and device of equipment, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN112543492B (en) | 2023-01-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102354803B1 (en) | User apparatus for managing web application and method therefor | |
KR102107708B1 (en) | Automatic application updates | |
US8769030B2 (en) | Device event notification registration through direct interaction with mobile device | |
CN113783831B (en) | Internet of things information processing method, device and system | |
WO2019228344A1 (en) | Resource configuration method and apparatus, and terminal and storage medium | |
CN102378965A (en) | Method, apparatus and computer program product for sharing resources via an interprocess communication | |
CN104808971A (en) | Network application program manager, method, device and mobile terminal | |
CN112751699A (en) | OTA upgrade and upgrade management method, device, network and storage medium | |
CN112543492B (en) | Method and device for re-distribution network and storage medium | |
CN102647632B (en) | Direct equipment choice is utilized to carry out bumpless transfer between display application | |
WO2020168561A1 (en) | Device network distribution method and apparatus, electronic device, and storage medium | |
CN110381042B (en) | Graceful restart service method, device, medium and electronic equipment | |
CN111124299A (en) | Data storage management method, device, equipment, system and storage medium | |
WO2019062634A1 (en) | Communication method and apparatus | |
CN107690175A (en) | A kind of method and apparatus for being used to manage WAP | |
US20190245827A1 (en) | Method and apparatus for synchronizing contact information and medium | |
CN105187562A (en) | System and method for operating remote file | |
CN108052401B (en) | System attribute monitoring method, terminal device and computer readable storage medium | |
US12101429B2 (en) | Method for service decision distribution among multiple terminal devices and system | |
CN102185881A (en) | Household digital equipment wireless multi-protocol space sharing storage manager and method | |
CN102843417B (en) | The remote operation method of electronic equipment | |
EP3694151A1 (en) | Terminal network sharing method, apparatus, air conditioning adjustment device, and storage medium | |
CN103269360A (en) | Method and device capable of controlling electrical device | |
CN114064307A (en) | Method, related device and system for realizing application program sharing of cloud mobile phone | |
CN113434233A (en) | Interface skipping method and device, storage medium and electronic 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 | ||
CB02 | Change of applicant information |
Address after: 266100 Songling Road, Laoshan District, Qingdao, Shandong Province, No. 399 Applicant after: Qingdao Hisense Smart Life Technology Co.,Ltd. Address before: 266100 Songling Road, Laoshan District, Qingdao, Shandong Province, No. 399 Applicant before: QINGDAO HISENSE SMART HOME SYSTEMS Co.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |