CN114040391A - Network distribution method of intelligent equipment and router - Google Patents
Network distribution method of intelligent equipment and router Download PDFInfo
- Publication number
- CN114040391A CN114040391A CN202111242866.XA CN202111242866A CN114040391A CN 114040391 A CN114040391 A CN 114040391A CN 202111242866 A CN202111242866 A CN 202111242866A CN 114040391 A CN114040391 A CN 114040391A
- Authority
- CN
- China
- Prior art keywords
- intelligent
- equipment
- router
- mobile terminal
- information
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 47
- 238000012544 monitoring process Methods 0.000 claims description 18
- 238000012545 processing Methods 0.000 claims description 12
- 230000008569 process Effects 0.000 claims description 11
- 230000004044 response Effects 0.000 claims description 7
- 238000000060 site-specific infrared dichroism spectroscopy Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 4
- 230000003993 interaction Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W16/00—Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
- H04W16/18—Network planning tools
- H04W16/20—Network planning tools for indoor coverage or short range network deployment
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/04—Key management, e.g. using generic bootstrapping architecture [GBA]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/24—Connectivity information management, e.g. connectivity discovery or connectivity update
-
- 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
- H04W48/10—Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode 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 invention provides a network distribution method and a router of intelligent equipment, wherein the method comprises the following steps: after a scanning request sent by the mobile terminal is received, acquiring equipment information of at least one first intelligent equipment in a distribution network mode and feeding the equipment information back to the mobile terminal; receiving equipment information of second intelligent equipment sent by the mobile terminal; constructing a network distribution package; and broadcasting the distribution network packet, so that the second intelligent device judges that the device information of the second intelligent device is contained in the distribution network packet and then is connected to the router by using the SSID and the password of the router. In the scheme, after receiving a scanning request sent by the mobile terminal, the router feeds back the device information of the first intelligent device in the distribution network mode to the mobile terminal so that a user can select a device needing distribution network. And constructing and broadcasting a network distribution package according to the equipment information of the second intelligent equipment sent by the mobile terminal so that the second intelligent equipment is connected to the router. The router is used as a distribution network medium to distribute a network to the intelligent devices, and the efficiency and the success rate of the distribution network are improved.
Description
Technical Field
The invention relates to the technical field of communication, in particular to a network distribution method and a router of intelligent equipment.
Background
With the popularization of intelligent equipment, the intelligent equipment needs to be distributed in the using process of the intelligent equipment.
The current method for distributing the network to the intelligent equipment is as follows: the user carries out one-to-one network distribution on the intelligent equipment through the mobile terminal, and when the network distribution needs to be carried out on a plurality of intelligent equipment at one time, the configuration package needs to be broadcasted to other intelligent equipment by using the single intelligent equipment which is already in the network distribution to carry out network distribution operation. However, the network distribution mode can only ensure that one intelligent device is accurately distributed, the network distribution operation of other intelligent devices cannot be controlled, and the network distribution efficiency and the network distribution success rate are low.
Disclosure of Invention
In view of this, the embodiment of the present invention provides a network distribution method for an intelligent device and a router, so as to solve the problems of low network distribution efficiency, low network distribution success rate, and the like in the existing network distribution method for an intelligent device.
In order to achieve the above purpose, the embodiments of the present invention provide the following technical solutions:
the first aspect of the embodiment of the invention discloses a network distribution method for intelligent equipment, which comprises the following steps:
after a scanning request sent by a mobile terminal is received, acquiring equipment information of at least one first intelligent equipment in a distribution network mode and feeding the equipment information back to the mobile terminal, wherein the equipment information of the first intelligent equipment is acquired through a broadcast scanning packet, or the equipment information of the first intelligent equipment is acquired through a beacon packet which monitors the first intelligent equipment in advance and is cached;
receiving device information of second intelligent devices sent by the mobile terminal, wherein the second intelligent devices are determined from the first intelligent devices by the mobile terminal in response to selection instructions of a user;
constructing a distribution network packet, wherein the distribution network packet at least comprises a Service Set Identifier (SSID) of a router, a password of the router and equipment information of the second intelligent equipment;
and broadcasting the network distribution packet, so that the second intelligent device judges that the own device information is contained in the network distribution packet and then is connected to the router by using the SSID and the password of the router.
Preferably, the device information of the first intelligent device is obtained by broadcasting a scanning packet;
after receiving a scanning request sent by a mobile terminal, acquiring device information of at least one first intelligent device in a distribution network mode and feeding the device information back to the mobile terminal, wherein the method comprises the following steps:
after receiving a scanning request sent by a mobile terminal, broadcasting a scanning packet;
and receiving equipment information sent by at least one first intelligent equipment and feeding the equipment information back to the mobile terminal, wherein the first intelligent equipment is the intelligent equipment which receives the scanning packet and is in a distribution network mode.
Preferably, the device information of the first intelligent device is obtained by monitoring a beacon packet of the first intelligent device in advance and is cached;
after receiving a scanning request sent by a mobile terminal, acquiring device information of at least one first intelligent device in a distribution network mode and feeding the device information back to the mobile terminal, wherein the method comprises the following steps:
after a scanning request sent by a mobile terminal is received, obtaining pre-cached equipment information of at least one first intelligent equipment in a distribution network mode, and feeding back the equipment information of the first intelligent equipment to the mobile terminal.
Preferably, after broadcasting the network distribution package, the method further includes:
and determining the connection state of the second intelligent device and feeding the connection state back to the mobile terminal, wherein the connection state is used for indicating whether the second intelligent device is connected to the router or not.
Preferably, the process of monitoring the beacon packet of the first smart device in advance to obtain and cache the device information of the first smart device includes:
monitoring all intelligent devices, and determining the intelligent device capable of monitoring the beacon packet as a first intelligent device in a distribution network mode;
and acquiring the equipment information of the first intelligent equipment and storing the equipment information in a cache.
Preferably, after the obtaining and storing the device information of the first smart device in the cache, the method further includes:
continuously monitoring the beacon packet of the first intelligent equipment, and removing the equipment information of the first intelligent equipment which does not monitor the beacon packet in the preset time from the cache.
A second aspect of an embodiment of the present invention discloses a router, including:
the processing unit is used for acquiring equipment information of at least one first intelligent equipment in a distribution network mode and feeding the equipment information back to the mobile terminal after receiving a scanning request sent by the mobile terminal, wherein the equipment information of the first intelligent equipment is acquired through a broadcast scanning packet, or the equipment information of the first intelligent equipment is acquired through a beacon packet which monitors the first intelligent equipment in advance and is cached;
a receiving unit, configured to receive device information of a second smart device sent by the mobile terminal, where the second smart device is determined from the first smart device by the mobile terminal in response to a selection instruction of a user;
the configuration unit is used for constructing a network distribution packet, and the network distribution packet at least comprises a Service Set Identifier (SSID) of a router, a password of the router and equipment information of the second intelligent equipment;
and the broadcasting unit is used for broadcasting the network distribution packet, so that the second intelligent device judges that the own device information is contained in the network distribution packet and then is connected to the router by using the SSID and the password of the router.
Preferably, the device information of the first intelligent device is obtained by broadcasting a scanning packet; the processing unit is specifically configured to: after receiving a scanning request sent by a mobile terminal, broadcasting a scanning packet; and receiving equipment information sent by at least one first intelligent equipment and feeding the equipment information back to the mobile terminal, wherein the first intelligent equipment is the intelligent equipment which receives the scanning packet and is in a distribution network mode.
Preferably, the device information of the first intelligent device is obtained by monitoring a beacon packet of the first intelligent device in advance and is cached; the processing unit is specifically configured to: after a scanning request sent by a mobile terminal is received, obtaining pre-cached equipment information of at least one first intelligent equipment in a distribution network mode, and feeding back the equipment information of the first intelligent equipment to the mobile terminal.
Preferably, the router further includes:
and the determining unit is used for determining the connection state of the second intelligent device and feeding the connection state back to the mobile terminal, wherein the connection state is used for indicating whether the second intelligent device is connected to the router or not.
Based on the network distribution method and the router of the intelligent device provided by the embodiment of the invention, the method comprises the following steps: after a scanning request sent by the mobile terminal is received, acquiring equipment information of at least one first intelligent equipment in a distribution network mode and feeding the equipment information back to the mobile terminal; receiving equipment information of second intelligent equipment sent by the mobile terminal; constructing a network distribution package; and broadcasting the distribution network packet, so that the second intelligent device judges that the device information of the second intelligent device is contained in the distribution network packet and then is connected to the router by using the SSID and the password of the router. In the scheme, after receiving a scanning request sent by the mobile terminal, the router feeds back the device information of the first intelligent device in the distribution network mode to the mobile terminal so that a user can select a device needing distribution network. And constructing and broadcasting a network distribution package according to the equipment information of the second intelligent equipment sent by the mobile terminal so that the second intelligent equipment is connected to the router. The router is used as a distribution network medium to distribute a network to the intelligent devices, and the efficiency and the success rate of the distribution network are improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a network distribution method for an intelligent device according to an embodiment of the present invention;
fig. 2 is an interaction diagram of a mobile terminal, a router and an intelligent device according to an embodiment of the present invention;
fig. 3 is a block diagram of a router according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In this application, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
According to the background technology, when the intelligent equipment is distributed with the network at present, the mobile terminal can only accurately distribute the network to one intelligent equipment at each time, if the plurality of intelligent equipment need to be distributed with the network at one time, the configuration packet needs to be broadcasted to other intelligent equipment by the single intelligent equipment which is distributed with the network, so that the network distribution operation of other intelligent equipment cannot be controlled, the network distribution efficiency is low, and the network distribution success rate is low.
Therefore, the embodiment of the invention provides a network distribution method for intelligent devices and a router, wherein after receiving a scanning request sent by a mobile terminal, the router feeds back device information of a first intelligent device in a network distribution mode to the mobile terminal so that a user can select a device needing network distribution. And constructing and broadcasting a network distribution package according to the equipment information of the second intelligent equipment sent by the mobile terminal so that the second intelligent equipment is connected to the router. The router is used as a distribution network medium to distribute a network to the intelligent devices, so that the efficiency and the success rate of the distribution network are improved.
Referring to fig. 1, a flowchart of a network distribution method for an intelligent device provided in an embodiment of the present invention is shown, where the network distribution method is applicable to a router, and the network distribution method includes:
step S101: and after receiving the scanning request sent by the mobile terminal, the router acquires the equipment information of at least one first intelligent equipment in the distribution network mode and feeds the equipment information back to the mobile terminal.
It should be noted that, when the smart device is in the distribution network mode, it indicates that the smart device is reset (or needs to be distributed), that is, the first smart device in the distribution network mode is a smart device that needs to be distributed.
It can be understood that the device information of the first smart device is obtained by broadcasting the scanning packet, or the device information of the first smart device is obtained by monitoring the beacon packet of the first smart device in advance and is cached. That is, there are at least two ways for the router to obtain the device information of at least one first smart device; the method comprises the following steps: after receiving a scanning request sent by the mobile terminal, the router scans through a broadcast scanning packet to obtain equipment information of the first intelligent equipment; the second is as follows: the router monitors beacon packets of the first intelligent device in advance, obtains and caches device information of the first intelligent device, and obtains the pre-cached device information of the first intelligent device from the cache after receiving a scanning request sent by the mobile terminal. After receiving a scanning request sent by a user through triggering a mobile terminal, the router can acquire the device information of at least one first intelligent device in a distribution network mode through any one of the modes.
In some embodiments, the router broadcasts the scanning packet (request packet of the router) after receiving the scanning request sent by the mobile terminal. It is understood that, after the intelligent device in the distribution network mode receives the scanning packet broadcast by the router, the intelligent device sends its own device information (e.g., information that can be used to identify the intelligent device, such as device id and device type) to the router. That is to say, after the router broadcasts the scanning packet, the router receives the device information sent by the at least one first intelligent device and feeds the device information back to the mobile terminal, and the user can check the device information of the first intelligent device through the mobile terminal, and then can know which intelligent devices need to perform the distribution network operation, and the first intelligent device is the intelligent device which receives the scanning packet and is in the distribution network mode.
In other specific embodiments, after receiving a scanning request sent by the mobile terminal, the router obtains the pre-cached device information of at least one first intelligent device in the distribution network mode, and feeds back the device information of the first intelligent device to the mobile terminal.
The process that the router monitors the beacon packet of the first intelligent device in advance to obtain and cache the device information of the first intelligent device is as follows: the router monitors all the intelligent devices, determines that the intelligent device capable of monitoring the beacon packet is the first intelligent device in the network distribution mode, namely, when the router scans the beacon packet of an intelligent device, the intelligent device is indicated to be a device to be networked (namely, the intelligent device in the network distribution mode), and the router acquires the device information of the first intelligent device and stores the device information in the cache.
It should be noted that, as can be seen from the foregoing, the device information of the first intelligent device is stored in the cache, and in order to ensure that the first intelligent device corresponding to the device information stored in the cache is an intelligent device in a distribution network mode, because the sending frequency of the beacon packet is higher, preferably, the router continuously monitors the beacon packet of the first intelligent device, and removes the device information of the first intelligent device that has not monitored the beacon packet within the preset time from the cache. For example: the router continuously monitors beacon packets of the first intelligent equipment, and if the beacon packets of a certain first intelligent equipment are not monitored within 5 seconds, the equipment information of the first intelligent equipment which does not monitor the beacon packets within 5 seconds is removed from the cache.
Step S102: and the router receives the equipment information of the second intelligent equipment sent by the mobile terminal.
It should be noted that the second intelligent device is determined from the first intelligent device by the mobile terminal in response to the selection instruction of the user. That is to say, after the router feeds back the device information of at least one first intelligent device to the mobile terminal, the user can check the device information of each first intelligent device through the mobile terminal (which is equivalent to checking which intelligent devices need to perform the distribution network operation), the user can select at least one second intelligent device from each first intelligent device, the second intelligent device is the first intelligent device which is selected by the user and needs to perform the distribution network operation, and the intelligent device in the distribution network mode of other users can be prevented from being operated by mistake.
In the process of implementing step S102 specifically, the mobile terminal determines, in response to a selection instruction of the user, a second intelligent device selected by the user from the first intelligent device, and sends device information of the second intelligent device to the router, where the router receives the device information of the second intelligent device sent by the mobile terminal.
Step S103: the router constructs a network distribution packet.
It should be noted that the distribution network packet at least includes a Service Set Identifier (SSID) of the router, a password of the router, and device information of the second smart device.
In the process of implementing step S103 specifically, the router constructs a network distribution packet according to the SSID of the router, the password of the router, and the device information of the second intelligent device.
It will be appreciated that the SSID and password of the router are used to connect to the router, and that the SSID and password need not be manually entered by the user.
Step S104: and the router broadcasts the distribution network packet, so that the second intelligent device judges that the device information of the second intelligent device is contained in the distribution network packet and then is connected to the router by using the SSID and the password of the router.
In the process of implementing step S104 specifically, the router constructs a network distribution packet and broadcasts the network distribution packet, and it can be known from the above that the network distribution packet includes the device information of the second intelligent device, when the second intelligent device receives the network distribution packet, the second intelligent device determines whether the device information of the second intelligent device is included in the network distribution packet, and when the second intelligent device determines that the device information of the second intelligent device is included in the network distribution packet, the second intelligent device uses the SSID and the password of the router to connect to the router, thereby completing the networking.
It is understood that other intelligent devices may receive the distribution network packet broadcast by the router, and for any intelligent device that receives the distribution network packet, when the intelligent device determines that its own device information is included in the distribution network packet, the intelligent device may connect to the router using the SSID and password of the router, and when the intelligent device determines that its own device information is not included in the distribution network packet, the intelligent device may not connect to the router.
It should be noted that, after the second intelligent device is connected to the router, the second intelligent device sends a request packet (for indicating that the second intelligent device is connected to the router) to the router, and preferably, the router determines a connection state of each second intelligent device according to the received request packet sent by the second intelligent device and feeds the connection state back to the mobile terminal, and the user can check whether each second intelligent device is connected to the router through the mobile terminal, where the connection state is used for indicating whether the second intelligent device is connected to the router.
It is to be understood that the router may also determine the connection status of each second smart device through the access device list, and the manner how to determine the connection status of the second smart device is not limited herein.
Preferably, for the second intelligent device unsuccessfully connected to the router, after a preset time, the router sends a prompt message to the mobile terminal to prompt the user to restart the second intelligent device unsuccessfully connected to the router or perform the distribution network operation again on the second intelligent device unsuccessfully connected to the router.
In the embodiment of the invention, after receiving the scanning request sent by the mobile terminal, the router feeds back the equipment information of the first intelligent equipment in the distribution network mode to the mobile terminal so that a user can select the equipment needing distribution network. And the router constructs and broadcasts a network distribution package according to the equipment information of the second intelligent equipment sent by the mobile terminal, so that the second intelligent equipment is connected to the router. The router is used as a distribution network medium to distribute a network to the intelligent devices, and the efficiency and the success rate of the distribution network are improved.
To better explain the content of each step in fig. 1 in the above embodiment of the present invention, an interaction diagram of a mobile terminal, a router and an intelligent device shown in fig. 2 is used for illustration, it can be understood that in the content shown in fig. 2, the router obtains device information of a first intelligent device in a manner of broadcasting a scanning packet, and the intelligent device in fig. 2 is an intelligent device in a distribution network mode, and fig. 2 includes the following steps:
step S201: the mobile terminal sends a scan request to the router.
Step S202: the router broadcasts the scan packet to the smart device.
Step S203: and the intelligent equipment in the distribution network mode sends the equipment information of the intelligent equipment to the router.
Step S204: and the router feeds back the scanned equipment information of the intelligent equipment to the mobile terminal.
It should be noted that the intelligent device scanned by the router is the intelligent device that sends the device information to the router, that is, the first intelligent device mentioned in the above embodiment of the present invention.
Step S205: and the mobile terminal responds to the user selection instruction and determines the intelligent equipment selected by the user from the equipment information of the intelligent equipment fed back by the router.
It should be noted that the smart device selected by the user is the second smart device mentioned in the above embodiment of the present invention.
Step S206: and the mobile terminal sends the equipment information of the intelligent equipment selected by the user to the router.
Step S207: the router broadcasts the network distribution packet.
Step S208: and the intelligent equipment analyzes the distribution network packet and is connected to the router.
In the process of implementing step S208 specifically, the smart device parses the distribution network packet, and determines whether the device information of the smart device itself is contained in the distribution network packet, if so, the smart device is connected to the router based on the SSID and the password of the router, and if not, the smart device is not connected to the router.
Step S209: the router determines the networked smart devices.
Step S210: and the router sends the device information of the networked intelligent device to the mobile terminal.
Corresponding to the network distribution method for the intelligent device provided in the embodiment of the present invention, referring to fig. 3, an embodiment of the present invention further provides a structural block diagram of a router, where the router includes: a processing unit 301, a receiving unit 302, a constructing unit 303, and a broadcasting unit 304;
the processing unit 301 is configured to, after receiving a scanning request sent by the mobile terminal, obtain device information of at least one first intelligent device in the network distribution mode and feed back the device information to the mobile terminal, where the device information of the first intelligent device is obtained by broadcasting a scanning packet, or the device information of the first intelligent device is obtained by monitoring a beacon packet of the first intelligent device in advance and is cached.
In a specific implementation, the device information of the first smart device is obtained by broadcasting a scanning packet; the processing unit 301 is specifically configured to: after receiving a scanning request sent by a mobile terminal, broadcasting a scanning packet; and receiving the equipment information sent by at least one first intelligent equipment and feeding the equipment information back to the mobile terminal, wherein the first intelligent equipment is the intelligent equipment which receives the scanning packet and is in the distribution network mode.
In another specific implementation, the device information of the first intelligent device is obtained by monitoring a beacon packet of the first intelligent device in advance and is cached; the processing unit 301 is specifically configured to: and after receiving a scanning request sent by the mobile terminal, acquiring pre-cached equipment information of at least one first intelligent equipment in a distribution network mode, and feeding back the equipment information of the first intelligent equipment to the mobile terminal.
In another specific implementation, the processing unit 301, configured to monitor a beacon packet of the first smart device in advance to obtain and cache device information of the first smart device, is specifically configured to: monitoring all intelligent devices, and determining the intelligent device capable of monitoring the beacon packet as a first intelligent device in a distribution network mode; device information of the first smart device is obtained and stored in a cache.
Preferably, the processing unit 301 is further configured to: and continuously monitoring the beacon packet of the first intelligent device, and removing the device information of the first intelligent device which does not monitor the beacon packet in the preset time from the cache.
A receiving unit 302, configured to receive device information of a second smart device sent by the mobile terminal, where the second smart device is determined by the mobile terminal from the first smart device in response to a selection instruction of the user.
The constructing unit 303 is configured to construct a distribution network packet, where the distribution network packet at least includes an SSID of a router, a password of the router, and device information of the second intelligent device.
And a broadcasting unit 304, configured to broadcast the distribution network packet, so that the second smart device determines that the device information of the second smart device is included in the distribution network packet and then connects to the router by using the SSID and the password of the router.
In the embodiment of the invention, after receiving the scanning request sent by the mobile terminal, the router feeds back the equipment information of the first intelligent equipment in the distribution network mode to the mobile terminal so that a user can select the equipment needing distribution network. And the router constructs and broadcasts a network distribution package according to the equipment information of the second intelligent equipment sent by the mobile terminal, so that the second intelligent equipment is connected to the router. The router is used as a distribution network medium to distribute a network to the intelligent devices, and the efficiency and the success rate of the distribution network are improved.
Preferably, in conjunction with the content shown in fig. 3, the router further includes:
and the determining unit is used for determining the connection state of the second intelligent device and feeding the connection state back to the mobile terminal, wherein the connection state is used for indicating whether the second intelligent device is connected to the router or not.
In summary, the embodiments of the present invention provide a network distribution method for intelligent devices and a router, where after receiving a scanning request sent by a mobile terminal, the router obtains device information of at least one first intelligent device in a network distribution mode and feeds the device information back to the mobile terminal. And the router receives the equipment information of the second intelligent equipment sent by the mobile terminal. The router constructs a network distribution packet and broadcasts the network distribution packet, so that the second intelligent device judges that the device information of the second intelligent device is contained in the network distribution packet and then is connected to the router by using the SSID and the password of the router. The router is used as a distribution network medium to distribute a network to the intelligent devices, and the efficiency and the success rate of the distribution network are improved.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the system or system embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described system and system embodiments are only illustrative, wherein the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. A network distribution method of intelligent equipment is characterized by comprising the following steps:
after a scanning request sent by a mobile terminal is received, acquiring equipment information of at least one first intelligent equipment in a distribution network mode and feeding the equipment information back to the mobile terminal, wherein the equipment information of the first intelligent equipment is acquired through a broadcast scanning packet, or the equipment information of the first intelligent equipment is acquired through a beacon packet which monitors the first intelligent equipment in advance and is cached;
receiving device information of second intelligent devices sent by the mobile terminal, wherein the second intelligent devices are determined from the first intelligent devices by the mobile terminal in response to selection instructions of a user;
constructing a distribution network packet, wherein the distribution network packet at least comprises a Service Set Identifier (SSID) of a router, a password of the router and equipment information of the second intelligent equipment;
and broadcasting the network distribution packet, so that the second intelligent device judges that the own device information is contained in the network distribution packet and then is connected to the router by using the SSID and the password of the router.
2. The method of claim 1, wherein the device information of the first smart device is obtained by broadcasting a scanning package;
after receiving a scanning request sent by a mobile terminal, acquiring device information of at least one first intelligent device in a distribution network mode and feeding the device information back to the mobile terminal, wherein the method comprises the following steps:
after receiving a scanning request sent by a mobile terminal, broadcasting a scanning packet;
and receiving equipment information sent by at least one first intelligent equipment and feeding the equipment information back to the mobile terminal, wherein the first intelligent equipment is the intelligent equipment which receives the scanning packet and is in a distribution network mode.
3. The method according to claim 1, wherein the device information of the first smart device is obtained by monitoring a beacon packet of the first smart device in advance and is cached;
after receiving a scanning request sent by a mobile terminal, acquiring device information of at least one first intelligent device in a distribution network mode and feeding the device information back to the mobile terminal, wherein the method comprises the following steps:
after a scanning request sent by a mobile terminal is received, obtaining pre-cached equipment information of at least one first intelligent equipment in a distribution network mode, and feeding back the equipment information of the first intelligent equipment to the mobile terminal.
4. The method of claim 1, wherein after broadcasting the network distribution package, further comprising:
and determining the connection state of the second intelligent device and feeding the connection state back to the mobile terminal, wherein the connection state is used for indicating whether the second intelligent device is connected to the router or not.
5. The method according to claim 1 or 3, wherein the process of pre-monitoring beacon packets of a first smart device to obtain and cache device information of the first smart device comprises:
monitoring all intelligent devices, and determining the intelligent device capable of monitoring the beacon packet as a first intelligent device in a distribution network mode;
and acquiring the equipment information of the first intelligent equipment and storing the equipment information in a cache.
6. The method of claim 5, wherein after obtaining and storing the device information of the first smart device in the cache, further comprising:
continuously monitoring the beacon packet of the first intelligent equipment, and removing the equipment information of the first intelligent equipment which does not monitor the beacon packet in the preset time from the cache.
7. A router, the router comprising:
the processing unit is used for acquiring equipment information of at least one first intelligent equipment in a distribution network mode and feeding the equipment information back to the mobile terminal after receiving a scanning request sent by the mobile terminal, wherein the equipment information of the first intelligent equipment is acquired through a broadcast scanning packet, or the equipment information of the first intelligent equipment is acquired through a beacon packet which monitors the first intelligent equipment in advance and is cached;
a receiving unit, configured to receive device information of a second smart device sent by the mobile terminal, where the second smart device is determined from the first smart device by the mobile terminal in response to a selection instruction of a user;
the configuration unit is used for constructing a network distribution packet, and the network distribution packet at least comprises a Service Set Identifier (SSID) of a router, a password of the router and equipment information of the second intelligent equipment;
and the broadcasting unit is used for broadcasting the network distribution packet, so that the second intelligent device judges that the own device information is contained in the network distribution packet and then is connected to the router by using the SSID and the password of the router.
8. The router of claim 7, wherein the device information of the first smart device is obtained by broadcasting a scan packet; the processing unit is specifically configured to: after receiving a scanning request sent by a mobile terminal, broadcasting a scanning packet; and receiving equipment information sent by at least one first intelligent equipment and feeding the equipment information back to the mobile terminal, wherein the first intelligent equipment is the intelligent equipment which receives the scanning packet and is in a distribution network mode.
9. The router according to claim 7, wherein the device information of the first smart device is obtained by snooping a beacon packet of the first smart device in advance and is cached; the processing unit is specifically configured to: after a scanning request sent by a mobile terminal is received, obtaining pre-cached equipment information of at least one first intelligent equipment in a distribution network mode, and feeding back the equipment information of the first intelligent equipment to the mobile terminal.
10. The router of claim 7, further comprising:
and the determining unit is used for determining the connection state of the second intelligent device and feeding the connection state back to the mobile terminal, wherein the connection state is used for indicating whether the second intelligent device is connected to the router or not.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111242866.XA CN114040391A (en) | 2021-10-25 | 2021-10-25 | Network distribution method of intelligent equipment and router |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111242866.XA CN114040391A (en) | 2021-10-25 | 2021-10-25 | Network distribution method of intelligent equipment and router |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114040391A true CN114040391A (en) | 2022-02-11 |
Family
ID=80135293
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111242866.XA Pending CN114040391A (en) | 2021-10-25 | 2021-10-25 | Network distribution method of intelligent equipment and router |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114040391A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108809737A (en) * | 2018-07-27 | 2018-11-13 | 杭州古北电子科技有限公司 | Equipment network distribution device, system and method |
CN111083765A (en) * | 2019-12-30 | 2020-04-28 | 四川虹美智能科技有限公司 | Method for managing intelligent equipment, intelligent router and intelligent home system |
US20200178169A1 (en) * | 2017-08-15 | 2020-06-04 | General Electric Company | Method and apparatus for device finding after network configuration |
CN111372222A (en) * | 2019-10-24 | 2020-07-03 | 阿里巴巴集团控股有限公司 | Device connection method and system, corresponding terminal device and server |
WO2020168984A1 (en) * | 2019-02-22 | 2020-08-27 | 阿里巴巴集团控股有限公司 | Network configuration method and apparatus, device, and system |
CN112165712A (en) * | 2020-09-30 | 2021-01-01 | 青岛海尔科技有限公司 | Method, device, system and storage medium for intelligent equipment to access wireless network |
-
2021
- 2021-10-25 CN CN202111242866.XA patent/CN114040391A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20200178169A1 (en) * | 2017-08-15 | 2020-06-04 | General Electric Company | Method and apparatus for device finding after network configuration |
CN108809737A (en) * | 2018-07-27 | 2018-11-13 | 杭州古北电子科技有限公司 | Equipment network distribution device, system and method |
WO2020168984A1 (en) * | 2019-02-22 | 2020-08-27 | 阿里巴巴集团控股有限公司 | Network configuration method and apparatus, device, and system |
CN111372222A (en) * | 2019-10-24 | 2020-07-03 | 阿里巴巴集团控股有限公司 | Device connection method and system, corresponding terminal device and server |
CN111083765A (en) * | 2019-12-30 | 2020-04-28 | 四川虹美智能科技有限公司 | Method for managing intelligent equipment, intelligent router and intelligent home system |
CN112165712A (en) * | 2020-09-30 | 2021-01-01 | 青岛海尔科技有限公司 | Method, device, system and storage medium for intelligent equipment to access wireless network |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106332224B (en) | Equipment network distribution method, device and system | |
EP3073777B1 (en) | Management method for embedded universal integrated circuit card and related device | |
US7254409B2 (en) | Multicast service providing system, multicast service providing method, information distributor, radio terminal, and radio base station | |
WO2019128906A1 (en) | Method, apparatus, and system for accessing network hotspot device by device to be distributed a network | |
EP1185125B1 (en) | Multicast service providing system, multicast service providing method, information distributor and radio terminal | |
CN109792287B (en) | Method and device for transmitting response message | |
US7907930B2 (en) | Emergency alert system distribution to mobile wireless towers | |
CN106658586B (en) | Method for collecting MAC address of iOS device | |
KR101613170B1 (en) | Apparatus and method for providing access point function in portable communication system | |
US20080090599A1 (en) | Location Specific Broadcast System and Receiver | |
KR100810910B1 (en) | Method and apparatus for managementing radio resource in mobile communication system | |
EP3128773B1 (en) | Processing method and apparatus for d2d discovery | |
CN108307479B (en) | Communication module, network distribution method and device thereof, storage medium, equipment and terminal | |
US8320922B2 (en) | Registration in a broadcast communications system | |
CN111031517A (en) | Message notification method, device, network element, system and storage medium | |
CN105323231A (en) | Security algorithm selection method, security algorithm selection device and security algorithm selection system | |
CN111263338A (en) | Network distribution method of Bluetooth Mesh network and related network distribution equipment and system | |
KR100765182B1 (en) | Apparatus and method for providing packet service status using access class barred list in mobile communication system | |
RU2556021C2 (en) | Apparatus, method and system for inserting advertisements | |
US7720468B1 (en) | Polling methods for use in a wireless communication system | |
EP3267703B1 (en) | Communication method, device and system for requesting relay service | |
KR20120026769A (en) | Method and apparatus for providing different kind wireless communications system with broadcasting service | |
CN114040391A (en) | Network distribution method of intelligent equipment and router | |
CN111224983A (en) | Method and device for discovering equipment across network segments | |
CN106412636A (en) | Playing control method and 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20220211 |
|
RJ01 | Rejection of invention patent application after publication |