CN113194455B - Intelligent equipment network distribution method and device - Google Patents
Intelligent equipment network distribution method and device Download PDFInfo
- Publication number
- CN113194455B CN113194455B CN202110472062.2A CN202110472062A CN113194455B CN 113194455 B CN113194455 B CN 113194455B CN 202110472062 A CN202110472062 A CN 202110472062A CN 113194455 B CN113194455 B CN 113194455B
- Authority
- CN
- China
- Prior art keywords
- intelligent equipment
- intelligent
- network
- hot spot
- 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.)
- Active
Links
- 238000009826 distribution Methods 0.000 title claims abstract description 155
- 238000000034 method Methods 0.000 title claims abstract description 59
- 238000004891 communication Methods 0.000 claims description 12
- 230000007246 mechanism Effects 0.000 claims description 11
- 230000008569 process Effects 0.000 description 14
- 238000003860 storage Methods 0.000 description 8
- 230000003993 interaction Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000012790 confirmation Methods 0.000 description 2
- 238000005304 joining Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/005—Discovery of network devices, e.g. terminals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention provides a network distribution method and a network distribution device for intelligent equipment, wherein the method comprises the following steps: receiving a distribution network request of a user for the intelligent equipment; acquiring a hotspot signal sent by the intelligent equipment through hotspot scanning; judging whether the hotspot signal can be acquired within a preset time length; if yes, determining that the intelligent equipment is in a state of network distribution to be carried out, and carrying out network distribution on the intelligent equipment; and if not, scanning the identification serial number of the intelligent equipment through code scanning equipment, resetting the intelligent equipment, and returning to execute hot spot scanning to acquire a hot spot signal sent by the intelligent equipment. The scheme can improve the use experience of the user.
Description
Technical Field
The invention relates to the technical field of Internet of things, in particular to a network distribution method and device for intelligent equipment.
Background
When the intelligent device is used for the first time, the router of the user needs to be connected, and after networking, the intelligent device can further perform device registration on a cloud platform and is bound with a mobile terminal APP of the user, so that the user can operate the intelligent device through the mobile terminal APP. However, in the distribution network flow of the existing intelligent device, a user is required to confirm whether the device is in a to-be-distributed network state according to the WiFi indicator light state, the user often determines the device state by mistake, even ignores the prompt message given by the mobile terminal APP, and performs a wrong operation, so that the distribution network fails, and the user experience is poor.
The Chinese patent application with the application number of 201910891346.8 discloses a background sound adaptive sound wave network distribution method which mainly transmits network distribution information to equipment needing network distribution in a sound wave mode and provides a method capable of reducing the influence of background sound on sound waves bearing the network distribution information and improving the success rate of equipment network distribution. The method requires that the Internet of things equipment can receive and process sound wave information in the network distribution process, needs additional special hardware, and undoubtedly increases the production cost for non-voice intelligent equipment.
Disclosure of Invention
The invention provides a network distribution method and device for intelligent equipment, which can improve the use experience of users.
In a first aspect, an embodiment of the present invention provides a network distribution method for an intelligent device, including:
a1: receiving a distribution network request of a user for the intelligent equipment;
a2: acquiring a hotspot signal sent by the intelligent equipment through hotspot scanning;
a3: judging whether the hotspot signal can be acquired within a preset time length;
a4: if so, determining that the intelligent equipment is in a to-be-distributed network state, and distributing the network to the intelligent equipment;
a5: if not, scanning the identification serial number of the intelligent device through the scanning device, resetting the intelligent device, and returning to the step A2.
Optionally, the resetting the smart device includes:
establishing communication connection with the intelligent equipment according to the scanned identification serial number of the intelligent equipment, and determining reset prompt information corresponding to the intelligent equipment;
dynamically playing the reset prompt message to enable the user to reset the intelligent equipment according to the reset prompt message;
acquiring current state information periodically returned by the intelligent equipment; the current state information comprises a state of network to be distributed and a state of non-network to be distributed;
and when the current state information is in the distribution network state, generating reset success information, and returning the reset success information to the user.
Optionally, the acquiring a hotspot signal sent by the smart device through hotspot scanning includes:
determining the hot spot signal length corresponding to the intelligent equipment and the product type identifier of the product type information from a preset intelligent equipment identifier list according to the product type information of the intelligent equipment carried in the distribution network request;
determining a hot spot signal sent by the intelligent equipment according to the hot spot signal length and the product type identifier; the length of the hot spot signal is the length of the hot spot signal of the intelligent device, and the hot spot signal comprises the product type identifier.
Optionally, after the determining whether the hotspot signal can be acquired within a preset time period, the method further includes:
if the hotspot signals of at least two intelligent devices are acquired within the preset time length, determining that the at least two intelligent devices are in a state to be configured with a network;
analyzing the hotspot signals of the at least two intelligent devices to obtain an identification serial number corresponding to each intelligent device;
acquiring a target identification serial number of the intelligent equipment corresponding to the distribution network request;
and determining the intelligent equipment from the at least two intelligent equipment according to the identification serial number of each intelligent equipment and the target identification serial number so as to carry out network distribution on the intelligent equipment.
Optionally, the network distribution for the smart device includes:
according to the distribution network request, a secret key corresponding to the intelligent equipment is randomly determined by using a one-machine one-secret mechanism; wherein, different intelligent devices conforming to a one-machine one-secret mechanism correspond to different keys;
sending the key to the smart device;
acquiring distribution network information of a service end where the user is located;
encrypting the distribution network information according to the secret key to obtain target distribution network information;
and sending the target distribution network information to the intelligent equipment to realize the distribution network of the intelligent equipment.
In a second aspect, an embodiment of the present invention further provides a network distribution device for an intelligent device, including:
the receiving module is used for receiving a distribution network request of a user for the intelligent equipment;
the acquisition module is used for acquiring a hotspot signal sent by the intelligent equipment through hotspot scanning;
the judging module is used for judging whether the hotspot signal acquired by the acquiring module can be acquired within a preset time length;
the distribution network module is used for determining that the intelligent equipment is in a state to be distributed and distributing the network to the intelligent equipment when the judgment result of the judgment module is yes;
and the resetting module is used for scanning the identification serial number of the intelligent equipment through scanning equipment and resetting the intelligent equipment when the judgment result of the judging module is negative.
Optionally, the reset module is further configured to:
establishing communication connection with the intelligent equipment according to the scanned identification serial number of the intelligent equipment, and determining reset prompt information corresponding to the intelligent equipment;
dynamically playing the reset prompt message to enable the user to reset the intelligent device according to the reset prompt message;
acquiring current state information periodically returned by the intelligent equipment; the current state information comprises a state of network to be distributed and a state of non-network to be distributed;
and when the current state information is in a distribution network state, generating reset success information, and returning the reset success information to the user.
Optionally, the obtaining module is further configured to perform the following operations:
determining the hot spot signal length corresponding to the intelligent equipment and the product type identifier of the product type information from a preset intelligent equipment identifier list according to the product type information of the intelligent equipment carried in the distribution network request;
determining a hot spot signal sent by the intelligent equipment according to the hot spot signal length and the product type identifier; the length of the hot spot signal is the length of the hot spot signal of the intelligent device, and the hot spot signal comprises the product type identifier.
In a third aspect, the present invention further provides a network distribution device for an intelligent device, including: at least one memory and at least one processor;
the at least one memory to store a machine readable program;
the at least one processor is configured to invoke the machine-readable program to execute the intelligent device network distribution method provided by the first aspect or any possible implementation manner of the first aspect.
In a fourth aspect, the present invention further provides a computer-readable medium, where computer instructions are stored, and when executed by a processor, cause the processor to execute the method for distributing network for intelligent devices, where the method is provided in the first aspect or any possible implementation manner of the first aspect.
According to the scheme, the intelligent device network distribution method and the intelligent device network distribution device provided by the embodiment of the invention are characterized in that the method firstly receives a network distribution request aiming at the intelligent device sent by a user, obtains a hot spot signal sent by the intelligent device through hot spot scanning, determines that the intelligent device is in a state to be distributed when receiving the hot spot information sent by the intelligent device within a preset time period, and distributes the network to the intelligent device. When the hot spot information sent by the intelligent equipment is not received within the preset time, the identification of the intelligent equipment needs to be scanned through the scanning code, so that the hot spot signal is obtained through hot spot scanning after the intelligent equipment is reset, and the intelligent equipment is distributed when the intelligent equipment is determined to be in a state to be distributed. Therefore, the intelligent equipment actively finding the state of the network to be distributed through hotspot scanning can reduce the operation flow of the user, the state of the intelligent equipment is confirmed without subjectively judging the state of the WiFi indicating lamp, the error operation of the user in the process of distributing the network by the equipment is effectively avoided, and the use experience of the user is improved; meanwhile, when the intelligent device in the state of being configured with the network is not found, the intelligent device can be scanned through the scanning device to be reset, the state of the intelligent device can still be found actively after the reset, the state of the intelligent device can be sent to a user actively, interaction between the user and the intelligent device is achieved, and the use experience of the user is 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 introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these 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 a schematic diagram of a device in which an intelligent device network distribution apparatus is provided according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a network distribution device of an intelligent device according to an embodiment of the present invention;
fig. 4 is a flowchart of another network distribution method for an intelligent device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer and more complete, the technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention, and based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts belong to the scope of the present invention.
As described in the background art, in the prior art, a distribution network process of an intelligent device requires a user to determine whether the intelligent device is in a to-be-distributed network state through a WiFi indicator light state, but the user often misdetermines the device state, thereby affecting the distribution network success rate of the intelligent device. In addition, the user is in the distribution network process, the prompt message of the mobile terminal APP is easily ignored, the execution is not carried out according to the normal flow, the 'next step' is clicked blindly for confirmation, and finally the distribution network failure is caused, so that the user experience is poor.
Because among the prior art, the user can only one-wayly initiatively judge intelligent device's the state of joining in marriage the net, operates intelligent device through mobile terminal APP, does not have alternately between intelligent device and the user, all relies on the operation of user itself, consequently inevitably can make mistakes, leads to joining in marriage net failure. Based on the method, the situation that the state of the intelligent equipment to be distributed is converted into the active acquisition of the non-user is considered, the operation of the user in the distribution network process is reduced, the user is effectively prevented from carrying out wrong operation in the distribution network process of the equipment, and therefore the distribution network experience of the user and the success probability of the distribution network of the equipment are improved.
The foregoing is the concept provided by the present invention, and specific implementations of the concept provided by the present invention are described below.
As shown in fig. 1, an embodiment of the present invention provides a network distribution method for an intelligent device, where the method may include the following steps:
step 101: receiving a distribution network request of a user for the intelligent equipment;
step 102: acquiring a hotspot signal sent by intelligent equipment through hotspot scanning;
step 103: judging whether a hotspot signal can be acquired within a preset time length;
step 104: if yes, determining that the intelligent equipment is in a state of network distribution to be carried out, and carrying out network distribution on the intelligent equipment;
step 105: if not, the identification serial number of the intelligent device is scanned through the scanning device, the intelligent device is reset, and the step 102 is returned.
The intelligent device network distribution method provided by the embodiment of the invention comprises the steps of firstly receiving a network distribution request aiming at the intelligent device sent by a user, acquiring a hot spot signal sent by the intelligent device through hot spot scanning, determining that the intelligent device is in a to-be-distributed network state when receiving the hot spot information sent by the intelligent device within a preset time length, and distributing the network to the intelligent device. When the hot spot information sent by the intelligent equipment is not received within the preset time, the identification of the intelligent equipment needs to be scanned through the scanning code, so that the hot spot signal is obtained through hot spot scanning after the intelligent equipment is reset, and the intelligent equipment is distributed when the intelligent equipment is determined to be in a state to be distributed. Therefore, the intelligent equipment actively finding the state of the network to be distributed through hotspot scanning can reduce the operation flow of the user, the state of the intelligent equipment is confirmed without subjectively judging the state of the WiFi indicating lamp, the error operation of the user in the process of distributing the network by the equipment is effectively avoided, and the use experience of the user is improved; meanwhile, when the intelligent device in the state to be distributed is not found, the intelligent device can be scanned through the scanning device to be reset, the state of the intelligent device can still be actively found after the reset, the state of the intelligent device can be actively sent to the user, interaction between the user and the intelligent device is achieved, the use experience of the user is improved, and meanwhile the distribution success rate of the intelligent device is improved.
It should be noted that after receiving a network distribution request of a user, it is necessary to ensure that the intelligent device is in a powered-on and powered-on state, so as to obtain hot spot information sent by the intelligent device in a to-be-distributed state; meanwhile, when the hotspot information corresponding to the intelligent equipment is acquired, communication connection is established with the intelligent equipment. In particular, the hotspot signal may comprise a bluetooth hotspot or a WiFi hotspot. In addition, the method does not need additional special hardware, such as the limitation of a voice intelligent device, so that the method is simpler and more feasible and has lower economic cost.
Optionally, on the basis of the method for distributing the network to the smart device shown in fig. 1, the step 105 of resetting the smart device includes:
establishing communication connection with the intelligent equipment according to the scanned identification serial number of the intelligent equipment, and determining reset prompt information corresponding to the intelligent equipment;
dynamically playing the reset prompt information to enable a user to reset the intelligent equipment according to the reset prompt information;
acquiring current state information periodically returned by the intelligent equipment; the current state information comprises a state of network to be distributed and a state of non-network to be distributed;
and when the current state information is in the distribution network state, generating reset success information and returning the reset success information to the user.
In the embodiment of the invention, according to the scanned identification serial number, communication connection is established with the intelligent device, the reset prompt message corresponding to the intelligent device is corresponded, the reset prompt message is used for instructing a user to reset the current intelligent device according to the prompt message, the reset prompt message is dynamically played, the hot spot signal sent out intelligently is obtained through hot spot scanning in the step 102, the current state information of the intelligent device can be periodically obtained, and when the current state information is determined to be in a to-be-configured network state, the reset success message is generated and returned to the user. Therefore, interaction between the intelligent device and the user is achieved, the user can reset the intelligent device according to the reset prompt information, the intelligent device can also return reset success information to the user, the user can obtain the state information of the intelligent device in time and the intelligent device is distributed in time, the use experience of the user is improved, and the distribution time of the intelligent device is shortened.
In the embodiment of the present invention, if the user does not receive the reset success information returned by the intelligent device within the preset target duration, the process returns to step 105 again, and the resetting is performed again until the reset success information is obtained, so as to determine that the intelligent device is in the state to be networked.
Specifically, in the embodiment of the present invention, a communication connection may be established with the smart device through an identification serial number input to the smart device by the user. It should be noted that different types of intelligent devices correspond to different reset prompt messages, and the reset prompt messages include at least one of a picture, a short video, and a voice prompt. In the embodiment of the invention, the reset prompt information is dynamically played, so that the reset prompt information can be visually and visually displayed to a user, and the user can be guided to operate more conveniently based on visual pictures, short videos and other modes, and better use experience is provided for the user.
In order to further avoid that the user ignores part of the information in the reset prompt information, the reset prompt information comprises prompt information arranged according to the numbering sequence, namely the reset prompt information is respectively numbered, the user needs to execute the corresponding reset prompt information according to the numbering sequence, and the reset prompt information corresponding to the next step can be executed only after the reset prompt information corresponding to the operation of the step is finished, so that the reset of the intelligent device is realized. Therefore, once the user makes an error in operation, the user cannot jump to the reset prompt information corresponding to the next step, so that the user can find the error in the reset process in time. Only if the intelligent equipment is ensured to be in a state of waiting for network distribution, the clicking of the next operation button can be effective, the design effectively avoids the error operation caused by the fact that the user skips over the reset of the confirmation equipment, and the problem that the man-machine interaction is not carried out in one direction is solved.
Optionally, on the basis of the network distribution method for the smart device shown in fig. 1, the step 102 obtains a hotspot signal sent by the smart device through hotspot scanning, including:
determining a hot spot signal length corresponding to the intelligent equipment and a product type identifier of the product type information from a preset intelligent equipment identifier list according to the product type information of the intelligent equipment carried in the distribution network request;
determining a hot spot signal sent by the intelligent equipment according to the hot spot signal length and the product type identifier; the length of the hot spot signal is the length of the hot spot signal of the intelligent device, and the hot spot signal comprises a product type identifier.
In the embodiment of the invention, according to the product type information of the intelligent equipment to be networked carried in the distribution network request, the hot spot signal length and the product type identifier of the intelligent equipment with the product type can be determined from the preset intelligent identifier list, and the hot spot signal conforming to the hot spot signal length and the product type identifier is determined, so that the intelligent equipment matched with the distribution network request is determined. Therefore, based on the product type information and the hot spot signal intensity, the corresponding intelligent equipment can be automatically scanned and determined, the intelligent equipment in the state to be networked can be determined without the need of subjective judgment of the user on the flashing state of the WiFi indicating lamp, and therefore the use experience of the user is improved.
Specifically, for example, the first two bits of the hotspot signal are used to represent product type information of the smart device; 01 is used for characterizing a television, 02 is used for characterizing a refrigerator, and 07 is used for characterizing an air conditioner; wherein, the hot spot signal length of the air conditioner is 11 bits, and the hot spot signal of the air conditioner can be 07111111111; the length of the hot spot signal of the tv set is 9 bits, the hot spot signal of the tv set may be 011231111.
Optionally, on the basis of the network distribution method for the intelligent device shown in fig. 1, after determining whether the hotspot signal can be acquired within a preset time period in step 103, the method further includes:
if the hotspot signals of the at least two intelligent devices are acquired within a preset time length, determining that the at least two intelligent devices are in a state to be configured with a network;
analyzing the hotspot signals of at least two intelligent devices to obtain an identification serial number corresponding to each intelligent device;
acquiring a target identification serial number of the intelligent equipment corresponding to the distribution network request;
and determining the intelligent equipment from at least two intelligent equipment according to the identification serial number and the target identification serial number of each intelligent equipment so as to distribute the network to the intelligent equipment.
In the embodiment of the invention, after a network distribution request of a user is received, if hotspot signals of at least two pieces of intelligent equipment are obtained within a preset time length, and the at least two pieces of intelligent equipment are determined to be in a state to be distributed, the hotspot signals of the at least two pieces of intelligent equipment need to be analyzed to obtain an identification serial number corresponding to each piece of intelligent equipment, and a target identification serial number of the intelligent equipment corresponding to the network distribution request is obtained, so that the intelligent equipment to be distributed is determined from the at least two pieces of intelligent equipment, and the network distribution is performed on the intelligent equipment.
Specifically, for example, after a network distribution request of the user for the air conditioner a is received, hotspot signals sent by two air conditioners are acquired through hotspot scanning, hotspot information of the two air conditioners needs to be analyzed respectively to obtain identification serial numbers, and a target identification serial number corresponding to the air conditioner a is determined from the identification serial numbers, so that communication connection with the air conditioner a is established.
Optionally, on the basis of the network distribution method for the smart device shown in fig. 1, step 104 is to perform network distribution on the smart device, and includes:
according to the distribution network request, a secret key corresponding to the intelligent equipment is randomly determined by using a one-machine one-secret mechanism; wherein, different intelligent devices conforming to a one-machine one-secret mechanism correspond to different secret keys;
sending the key to the intelligent device;
acquiring distribution network information of a service end where a user is located;
encrypting the distribution network information according to the secret key to obtain target distribution network information;
and sending the target distribution network information to the intelligent equipment to realize the distribution network of the intelligent equipment.
In the embodiment of the invention, after a distribution network request of a user is received, a secret key of the intelligent device is determined according to a one-machine-one-secret mechanism, the secret key is sent to the intelligent device, meanwhile, the secret key is used for encrypting distribution network information acquired from a server side to obtain target distribution network information, and the target distribution network information is sent to the intelligent device, so that the intelligent device can realize distribution network after analyzing the target distribution network information by using the secret key. Therefore, different from the situation that one type of intelligent equipment corresponds to the same secret key in the prior art, the method can generate one-machine-one-secret dynamic secret key for the intelligent equipment, so that each intelligent equipment has a unique secret key when the network distribution is carried out, the safety of the secret key is improved, the network distribution information is encrypted through the secret key, the conditions of malicious tampering of the network distribution information and the like are avoided, the safety of the network distribution information in the transmission process is further improved, and the success rate of the network distribution is ensured.
As shown in fig. 2 and fig. 3, an embodiment of the present invention provides a network distribution device for an intelligent device. The device embodiments may be implemented by software, or by hardware, or by a combination of hardware and software. In terms of hardware, as shown in fig. 2, a hardware structure diagram of a device in which an intelligent device network distribution apparatus is located according to an embodiment of the present invention is provided, where the device in the embodiment may generally include other hardware, such as a forwarding chip responsible for processing a packet, in addition to the processor, the memory, the network interface, and the nonvolatile memory shown in fig. 2. Taking a software implementation as an example, as shown in fig. 3, as a logical apparatus, the apparatus is formed by reading, by a CPU of a device in which the apparatus is located, corresponding computer program instructions in a non-volatile memory into a memory for execution. As shown in fig. 3, an embodiment of the present invention provides a network distribution device for an intelligent device, including:
the receiving module 301 is configured to receive a network distribution request of a user for the intelligent device;
an obtaining module 302, configured to obtain a hotspot signal sent by an intelligent device through hotspot scanning;
a determining module 303, configured to determine whether the hotspot signal acquired by the acquiring module 302 can be acquired within a preset time period;
the distribution network module 304 is configured to determine that the intelligent device is in a state to be distributed and distribute a network to the intelligent device when the determination result of the determining module 303 is yes;
a resetting module 305, configured to, when the determination result of the determining module 303 is negative, scan the identification serial number of the smart device through the scanning device, and reset the smart device.
Optionally, on the basis of the smart device network distribution apparatus shown in fig. 3, the reset module 305 is further configured to perform the following operations:
establishing communication connection with the intelligent equipment according to the scanned identification serial number of the intelligent equipment, and determining reset prompt information corresponding to the intelligent equipment;
dynamically playing the reset prompt information to enable a user to reset the intelligent equipment according to the reset prompt information;
acquiring current state information periodically returned by the intelligent equipment; the current state information comprises a state of network to be distributed and a state of non-network to be distributed;
and when the current state information is in the distribution network state, generating reset success information and returning the reset success information to the user.
Optionally, on the basis of the network distribution device for the smart device shown in fig. 3, the obtaining module is further configured to perform the following operations:
determining the hot spot signal length of the corresponding intelligent equipment and the product type identification of the product type information from a preset intelligent equipment identification list according to the product type information of the intelligent equipment carried in the distribution network request;
determining a hot spot signal sent by the intelligent equipment according to the hot spot signal length and the product type identifier; the length of the hot spot signal is the length of the hot spot signal of the intelligent device, and the hot spot signal comprises a product type identifier.
Optionally, on the basis of the intelligent device network distribution apparatus shown in fig. 3, the apparatus further includes: a determination module, the determination module 304 being configured to:
if the hotspot signals of the at least two intelligent devices are acquired within a preset time length, determining that the at least two intelligent devices are in a to-be-configured network state;
analyzing the hot spot signals of at least two intelligent devices to obtain an identification serial number corresponding to each intelligent device;
acquiring a target identification serial number of the intelligent equipment corresponding to the distribution network request;
and determining the intelligent equipment from at least two intelligent equipment according to the identification serial number and the target identification serial number of each intelligent equipment so as to distribute the network to the intelligent equipment.
Optionally, on the basis of the intelligent device network distribution apparatus shown in fig. 3, the network distribution module 304 is further configured to perform the following operations:
according to the distribution network request, a secret key corresponding to the intelligent equipment is randomly determined by using a one-machine one-secret mechanism; wherein, different intelligent devices conforming to a one-machine one-secret mechanism correspond to different secret keys;
sending the key to the intelligent device;
acquiring distribution network information of a service end where a user is located;
encrypting the distribution network information according to the secret key to obtain target distribution network information;
and sending the target distribution network information to the intelligent equipment to realize the distribution network of the intelligent equipment.
In the embodiment of the invention, the intelligent equipment to be distributed can be actively determined through the intelligent equipment distribution network device, and the manual determination operation of a user is replaced; meanwhile, the intelligent equipment in a non-to-be-configured network state can be actively reset by dynamically playing the reset prompt message; the intelligent equipment can also realize interaction with the user through the intelligent equipment network distribution device, and the use experience of the user is further improved.
It can be understood that the structure illustrated in the embodiment of the present invention does not specifically limit the intelligent device distribution network apparatus. In other embodiments of the invention, the smart device network distribution apparatus may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, firmware, or a combination of firmware and hardware.
Because the content of information interaction, execution process, and the like among the modules in the device is based on the same concept as the method embodiment of the present invention, specific content can be referred to the description in the method embodiment of the present invention, and is not described herein again.
As shown in fig. 4, in order to more clearly illustrate the technical solution and advantages of the present invention, the following further describes in detail the intelligent device network distribution method provided by the embodiment of the present invention, which specifically includes:
step 401: and receiving a distribution network request.
Specifically, the intelligent device network distribution device receives a network distribution request of a user for the intelligent device; the intelligent network distribution device can be deployed in the mobile terminal.
Step 402: and scanning to obtain a hot spot signal sent by the intelligent equipment.
Specifically, the intelligent equipment network distribution device acquires a hotspot signal sent by the intelligent equipment through hotspot scanning;
determining the hot spot signal length of the corresponding intelligent equipment and the product type identification of the product type information from a preset intelligent equipment identification list according to the product type information of the intelligent equipment carried in the distribution network request;
determining a hot spot signal sent by the intelligent equipment according to the hot spot signal length and the product type identifier; the length of the hot spot signal is the length of the hot spot signal of the intelligent device, and the hot spot signal comprises a product type identifier.
Step 403: judging whether a hotspot signal can be acquired within a preset time length, if so, executing a step 404; otherwise step 405 is performed.
Step 404: and carrying out network distribution on the intelligent equipment.
Specifically, if the intelligent device network distribution device acquires hotspot signals of at least two intelligent devices within a preset time, determining that the at least two intelligent devices are in a to-be-distributed network state;
analyzing the hot spot signals of at least two intelligent devices to obtain an identification serial number corresponding to each intelligent device;
acquiring a target identification serial number of the intelligent equipment corresponding to the distribution network request;
according to the identification serial number and the target identification serial number of each intelligent device, the intelligent device is determined from at least two intelligent devices so as to carry out network distribution on the intelligent devices;
the intelligent equipment distribution network device randomly determines a key corresponding to the intelligent equipment by using a one-machine one-secret mechanism according to the distribution network request; wherein, different intelligent devices conforming to a one-machine one-secret mechanism correspond to different keys;
sending the key to the intelligent device;
acquiring distribution network information of a service end where a user is located;
encrypting the distribution network information according to the secret key to obtain target distribution network information;
and sending the target distribution network information to the intelligent equipment to realize the distribution network of the intelligent equipment.
Step 405: and resetting the intelligent device.
Specifically, the intelligent equipment network distribution device scans the identification serial number of the intelligent equipment through scanning equipment;
establishing communication connection with the intelligent equipment according to the scanned identification serial number of the intelligent equipment, and determining reset prompt information corresponding to the intelligent equipment;
dynamically playing the reset prompt message to enable a user to reset the intelligent device according to the reset prompt message;
returning to step 402, acquiring a hotspot signal sent by the intelligent device through hotspot scanning so as to acquire current state information periodically returned by the intelligent device; the current state information comprises a state of network to be distributed and a state of non-network to be distributed;
and when the current state information is in the distribution network state, generating reset success information, returning the reset success information to the user, and distributing the network to the intelligent equipment.
The present invention also provides a computer readable medium storing instructions for causing a machine to perform a smart device network distribution method as described herein. Specifically, a system or an apparatus equipped with a storage medium on which firmware program codes that realize the functions of any of the above-described embodiments are stored may be provided, and a computer (or a CPU or MPU) of the system or the apparatus is caused to read out and execute the program codes stored in the storage medium.
In this case, the program code itself read from the storage medium can realize the functions of any of the above-described embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.
Examples of the storage medium for supplying the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (e.g., CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD + RW), a magnetic tape, a nonvolatile memory card, and a ROM. Alternatively, the program code may be downloaded from a server computer by a communications network.
Further, it should be clear that the functions of any one of the above-described embodiments may be implemented not only by executing the program code read out by the computer, but also by causing an operating system or the like operating on the computer to perform a part or all of the actual operations based on instructions of the program code.
Further, it is to be understood that the program code read out from the storage medium is written to a memory provided in an expansion board inserted into the computer or to a memory provided in an expansion module connected to the computer, and then causes a CPU or the like mounted on the expansion board or the expansion module to perform part or all of the actual operations based on instructions of the program code, thereby realizing the functions of any of the above-described embodiments.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a" does not exclude the presence of other similar elements in a process, method, article, or apparatus that comprises the element.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it is to be noted that: the above description is only a preferred embodiment of the present invention, and is only used to illustrate the technical solutions of the present invention, and not to limit the protection scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.
Claims (7)
1. The network distribution method for the intelligent equipment comprises the following steps:
a1: receiving a network distribution request of a user for the intelligent equipment;
a2: acquiring a hotspot signal sent by the intelligent equipment through hotspot scanning;
a3: judging whether the hotspot signal can be acquired within a preset time length;
a4: if so, determining that the intelligent equipment is in a to-be-distributed network state, and distributing the network to the intelligent equipment;
a5: if not, scanning the identification serial number of the intelligent equipment through code scanning equipment, resetting the intelligent equipment, and returning to the step A2;
the acquiring of the hotspot signal sent by the intelligent device through hotspot scanning includes: determining the intelligent equipment from at least two intelligent equipment according to the identification serial number and the target identification serial number of each intelligent equipment so as to distribute the network to the intelligent equipment;
determining the hot spot signal length corresponding to the intelligent equipment and the product type identifier of the product type information from a preset intelligent equipment identifier list according to the product type information of the intelligent equipment carried in the distribution network request;
determining a hot spot signal sent by the intelligent equipment according to the hot spot signal length and the product type identifier; the length of the hot spot signal is the length of the hot spot signal of the intelligent device, and the hot spot signal comprises the product type identifier;
wherein: after the determining whether the hotspot signal can be acquired within a preset time period, the method includes:
if the hotspot signals of at least two pieces of intelligent equipment are acquired within the preset time length, determining that the at least two pieces of intelligent equipment are in a to-be-configured network state;
analyzing the hot spot signals of the at least two intelligent devices to obtain an identification serial number corresponding to each intelligent device;
and acquiring a target identification serial number of the intelligent equipment corresponding to the distribution network request.
2. The method of claim 1, wherein resetting the smart device comprises:
establishing communication connection with the intelligent equipment according to the scanned identification serial number of the intelligent equipment, and determining reset prompt information corresponding to the intelligent equipment;
dynamically playing the reset prompt message to enable the user to reset the intelligent equipment according to the reset prompt message;
acquiring current state information periodically returned by the intelligent equipment; the current state information comprises a state of network to be distributed and a state of non-network to be distributed;
and when the current state information is in a distribution network state, generating reset success information, and returning the reset success information to the user.
3. The method of any one of claims 1-2, wherein distributing the network to the smart devices comprises:
according to the distribution network request, a secret key corresponding to the intelligent equipment is randomly determined by using a one-secret mechanism; wherein, different intelligent devices conforming to a one-machine one-secret mechanism correspond to different keys;
sending the key to the smart device;
acquiring distribution network information of a service end where the user is located;
encrypting the distribution network information according to the secret key to obtain target distribution network information;
and sending the target distribution network information to the intelligent equipment to realize the distribution network of the intelligent equipment.
4. Network device is joined in marriage to smart machine, its characterized in that includes:
the receiving module is used for receiving a distribution network request of a user for the intelligent equipment;
the acquisition module is used for acquiring the hotspot signal sent by the intelligent device through hotspot scanning, and is further used for executing the following operations: determining a hot spot signal length corresponding to the intelligent device and a product type identifier of the product type information from a preset intelligent device identifier list according to product type information of the intelligent device carried in the distribution network request, and determining a hot spot signal sent by the intelligent device according to the hot spot signal length and the product type identifier; the length of the hot spot signal is the length of the hot spot signal of the intelligent device, and the hot spot signal comprises the product type identifier;
the determining module is configured to determine whether the hotspot signal acquired by the acquiring module can be acquired within a preset duration, and after determining whether the hotspot signal can be acquired within the preset duration, the determining module includes: if the hot spot signals of at least two intelligent devices are obtained within the preset time length, determining that the at least two intelligent devices are in a state of network distribution, analyzing the hot spot signals of the at least two intelligent devices to obtain an identification serial number corresponding to each intelligent device, and obtaining a target identification serial number of the intelligent device corresponding to the network distribution request;
the distribution network module is used for determining that the intelligent equipment is in a state to be distributed and distributing the network to the intelligent equipment when the judgment result of the judgment module is yes;
and the resetting module is used for scanning the identification serial number of the intelligent equipment through scanning equipment and resetting the intelligent equipment when the judgment result of the judging module is negative.
5. The apparatus of claim 4, wherein the reset module is further configured to:
establishing communication connection with the intelligent equipment according to the scanned identification serial number of the intelligent equipment, and determining reset prompt information corresponding to the intelligent equipment;
dynamically playing the reset prompt message to enable the user to reset the intelligent equipment according to the reset prompt message;
acquiring current state information periodically returned by the intelligent equipment; the current state information comprises a state of network to be distributed and a state of non-network to be distributed;
and when the current state information is in a distribution network state, generating reset success information, and returning the reset success information to the user.
6. Network device is joined in marriage to smart machine, its characterized in that includes: at least one memory and at least one processor;
the at least one memory to store a machine readable program;
the at least one processor, configured to invoke the machine readable program to perform the intelligent device network distribution method of any of claims 1 to 3.
7. Computer readable medium having stored thereon computer instructions, which when executed by a processor, cause the processor to perform the intelligent device network distribution method of any of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110472062.2A CN113194455B (en) | 2021-04-29 | 2021-04-29 | Intelligent equipment network distribution method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110472062.2A CN113194455B (en) | 2021-04-29 | 2021-04-29 | Intelligent equipment network distribution method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113194455A CN113194455A (en) | 2021-07-30 |
CN113194455B true CN113194455B (en) | 2023-04-11 |
Family
ID=76980612
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110472062.2A Active CN113194455B (en) | 2021-04-29 | 2021-04-29 | Intelligent equipment network distribution method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113194455B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114095294B (en) * | 2021-09-15 | 2023-06-16 | 珠海格力电器股份有限公司 | Network distribution method and device of intelligent equipment, electronic equipment and storage medium |
CN114071651B (en) * | 2021-09-26 | 2024-09-27 | 深圳市酷开网络科技股份有限公司 | Bluetooth-based network distribution method and device, computer equipment and readable storage medium |
CN114245402B (en) * | 2021-12-13 | 2023-09-08 | 珠海格力电器股份有限公司 | Network distribution method and device of intelligent equipment, electronic equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106413037A (en) * | 2016-10-31 | 2017-02-15 | 青岛海尔科技有限公司 | Network access method and device for interment-of-things equipment, equipment and mobile terminal |
CN107276862A (en) * | 2017-07-10 | 2017-10-20 | 广东美的制冷设备有限公司 | Household electrical appliances match somebody with somebody network method, intelligent appliance and readable storage medium storing program for executing |
CN109756848A (en) * | 2019-03-26 | 2019-05-14 | 深圳创维数字技术有限公司 | Wireless distribution method, apparatus, equipment and storage medium |
CN110011884A (en) * | 2019-04-01 | 2019-07-12 | 宁波奥克斯电气股份有限公司 | A kind of distribution progress display methods, device and air conditioner |
CN110300432A (en) * | 2018-03-22 | 2019-10-01 | 阿里巴巴集团控股有限公司 | A kind of pair of equipment carries out the method and distribution network systems of distribution |
CN110730113A (en) * | 2019-08-29 | 2020-01-24 | 珠海格力电器股份有限公司 | Network distribution method and device of equipment, electronic equipment and storage medium |
CN111447624A (en) * | 2020-03-04 | 2020-07-24 | 浙江大华技术股份有限公司 | WiFi equipment, network distribution method thereof and device with storage function |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103929748B (en) * | 2014-04-30 | 2017-07-04 | 普联技术有限公司 | A kind of Internet of Things wireless terminal and its collocation method and wireless network access point |
CN105792208A (en) * | 2016-02-29 | 2016-07-20 | 华为技术有限公司 | Method for controlling device access, related device and system |
CN106713418B (en) * | 2016-11-28 | 2019-10-11 | 北京小米移动软件有限公司 | Reset result confirmation method, device, server and mobile terminal |
CN108809737A (en) * | 2018-07-27 | 2018-11-13 | 杭州古北电子科技有限公司 | Equipment network distribution device, system and method |
CN109348457A (en) * | 2018-10-22 | 2019-02-15 | 四川长虹电器股份有限公司 | A kind of Wi-Fi equipment distribution network systems and match network method |
CN110708688B (en) * | 2019-09-18 | 2023-04-18 | 芋头科技(杭州)有限公司 | Intelligent equipment network distribution method and device, controller and medium |
CN111586590A (en) * | 2020-05-21 | 2020-08-25 | 四川虹美智能科技有限公司 | Method, device and system for distributing network to equipment |
CN112492611A (en) * | 2020-11-30 | 2021-03-12 | 美的智慧家居科技有限公司 | Network configuration method, network configuration device, electronic equipment and readable storage medium |
-
2021
- 2021-04-29 CN CN202110472062.2A patent/CN113194455B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106413037A (en) * | 2016-10-31 | 2017-02-15 | 青岛海尔科技有限公司 | Network access method and device for interment-of-things equipment, equipment and mobile terminal |
CN107276862A (en) * | 2017-07-10 | 2017-10-20 | 广东美的制冷设备有限公司 | Household electrical appliances match somebody with somebody network method, intelligent appliance and readable storage medium storing program for executing |
CN110300432A (en) * | 2018-03-22 | 2019-10-01 | 阿里巴巴集团控股有限公司 | A kind of pair of equipment carries out the method and distribution network systems of distribution |
CN109756848A (en) * | 2019-03-26 | 2019-05-14 | 深圳创维数字技术有限公司 | Wireless distribution method, apparatus, equipment and storage medium |
CN110011884A (en) * | 2019-04-01 | 2019-07-12 | 宁波奥克斯电气股份有限公司 | A kind of distribution progress display methods, device and air conditioner |
CN110730113A (en) * | 2019-08-29 | 2020-01-24 | 珠海格力电器股份有限公司 | Network distribution method and device of equipment, electronic equipment and storage medium |
CN111447624A (en) * | 2020-03-04 | 2020-07-24 | 浙江大华技术股份有限公司 | WiFi equipment, network distribution method thereof and device with storage function |
Non-Patent Citations (1)
Title |
---|
一个协同家居网络系统的设计与实现;陈上也等;《计算机工程》;20170115(第01期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN113194455A (en) | 2021-07-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113194455B (en) | Intelligent equipment network distribution method and device | |
CN111586590A (en) | Method, device and system for distributing network to equipment | |
US10423958B2 (en) | Method, apparatus and system for voice verification | |
US7554979B2 (en) | Communication apparatus and method having function of transmitting notification signal while hiding group identification information | |
EP2288122A1 (en) | Device capable of notifying operation state change thereof through network and communication method of the device | |
CN106534910B (en) | Multimedia playing control system, method and device | |
US8789118B2 (en) | Method, terminal and server for allocating signal route resource in voice on demand service | |
KR101292487B1 (en) | Apparatus for sharing contents | |
WO2014190789A1 (en) | Method, device, client and server for interaction | |
US7907213B1 (en) | Wireless multimedia content at television host device | |
CN102300017B (en) | Cable modem and scanning method thereof | |
JP2000270007A (en) | Network system, network server, and terminal device | |
US20170279748A1 (en) | Information processing method and terminal, and computer storage medium | |
CN108900690B (en) | Voice message receiving and transmitting system and method | |
CN114040232A (en) | Screen projection system, method, electronic device and storage medium | |
CN112333033A (en) | Network distribution method and device of Internet of things equipment | |
CN107182073B (en) | Network access system and method for configuration equipment | |
CN101788918A (en) | Method and device for managing television Widget | |
JP2006186526A (en) | Communication relay apparatus, communications terminal, communications system, and communication method | |
KR101116427B1 (en) | Broadcast roaming in oma broadcast services | |
JP6826865B2 (en) | Terminal devices and programs | |
US7929566B2 (en) | Terminal and method for managing bandwidth of terminal | |
CN111385634B (en) | Method and system for embedding advertisement in video | |
CN114040233A (en) | Screen projection service adjusting method, equipment and storage medium | |
CN105338398A (en) | Set top box management method, device and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20240506 Address after: No.2 Tongji West Road, Nantou Town, Zhongshan City, Guangdong Province Patentee after: Changhong Meiling Xinhua Technology Co.,Ltd. Country or region after: China Address before: 621050 No. 303 Jiuzhou Road, Fucheng District, Mianyang, Sichuan. Patentee before: SICHUAN HONGMEI INTELLIGENT TECHNOLOGY Co.,Ltd. Country or region before: China |
|
TR01 | Transfer of patent right |