Network distribution method, mobile terminal and storage medium
By automatically identifying and matching the wireless network of smart home appliances through mobile terminals, it solves the problems of cumbersome smart home appliance distribution network operations and the impact of the network environment, achieving simplified operations and efficient network distribution.
Patent Information
- Application Number
- CN202210015885.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-07
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2042-01-07
AI Technical Summary
In the existing technology, the distribution network operation of smart home appliances is cumbersome and complicated, requiring manual binding one by one, and the success rate of network distribution is low in poor network environments.
The mobile terminal receives wireless communication signal strength and network signal strength at different locations in the target area, determines the adapted wireless network, and sends network configuration information to enable smart home appliances to access the wireless network, realizing automatic batch network configuration.
It simplifies the distribution network operation of smart home appliances, improves network distribution efficiency, reduces manual binding time, and improves the success rate of network distribution in different network environments.
Smart Images

Figure CN115379532B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of cooking equipment, and in particular to a network distribution method, a mobile terminal, a smart home appliance and a storage medium. Background Art
[0002] The existing softAp network subscription technology mostly requires users to click or scan codes on the mobile application or device network subscription guidance process step by step, and the device network subscription needs to be performed on each machine one by one. There are the following specific disadvantages:
[0003] 1) The user operation is complicated. They need to first find the network subscription entrance of the specified device (such as smart home appliances), then click in sequence according to the guidance, and then manually enter the password, etc. Each device needs to be manually bound to the network one by one, and the operation is cumbersome and complicated.
[0004] 2) The network environment is different in different environments. In a poor network environment, the network configuration success rate may be lower, and the device control success rate is poor in a poor network environment. Summary of the invention
[0005] The technical problem to be solved by the present invention is to overcome the defect in the prior art that each device needs to be manually bound to the network one by one, which is cumbersome and complicated to operate, and to provide a network configuration method, a mobile terminal, a smart home appliance and a storage medium.
[0006] The present invention solves the above technical problems through the following technical solutions:
[0007] The present invention provides a network configuration method, which is applied to a mobile terminal. The network configuration method comprises:
[0008] Determine the first signal strength of the received wireless communication signal and the second signal strength of the searched wireless network at different locations of the mobile terminal in the target area; the target area is deployed with at least one smart home appliance, and the wireless communication signal is sent by the smart home appliance;
[0009] Determining a wireless network compatible with each smart home appliance according to the first signal strength and the second signal strength;
[0010] The network configuration information of the wireless network is sent to the compatible smart home appliance, so that the smart home appliance can access the wireless network according to the received network configuration information.
[0011] Preferably, determining a wireless network compatible with each smart home appliance according to the first signal strength and the second signal strength includes:
[0012] For each smart home appliance, determining the location of the mobile terminal when the first signal strength of the received wireless communication signal is maximum as the target location of the smart home appliance;
[0013] When the mobile terminal is at the target location, a wireless network whose second signal strength is a maximum value or whose second signal strength is greater than a strength threshold is determined as a wireless network compatible with the smart home appliance.
[0014] Preferably, determining a wireless network compatible with each smart home appliance according to the first signal strength and the second signal strength includes:
[0015] For each smart home appliance, calculating an absolute value of a difference between the first signal strength and each second signal strength when the mobile terminal is at each position;
[0016] Calculate the average of the absolute values;
[0017] The wireless network corresponding to the smallest average value or the wireless network whose average value is less than the average value threshold is determined as the wireless network adapted to the smart home appliance.
[0018] Preferably, the calculating the average of the absolute values includes:
[0019] The average value is calculated by removing a maximum absolute value and a minimum absolute value from the sum of the absolute values.
[0020] Preferably, before the step of determining that the mobile terminal is in different positions in the target area, the first signal strength of the received wireless communication signal and the second signal strength of the searched wireless network, the network configuration method further includes:
[0021] Acquiring voice information, wherein the voice information includes type information of the smart home appliance and pairing instruction information;
[0022] Generate a network configuration instruction based on the voice information, wherein the network configuration instruction includes a smart home appliance type, and the smart home appliance type matches the type information;
[0023] The step of determining that the mobile terminal is at different positions in the target area, the first signal strength of the received wireless communication signal and the second signal strength of the searched wireless network specifically includes:
[0024] Based on the network configuration instruction, it is determined that the mobile terminal is located at different positions in the target area, the first signal strength of the received wireless communication signal and the second signal strength of the searched wireless network.
[0025] The present invention also provides a network distribution method, which is applied to smart home appliances. The network distribution method comprises:
[0026] sending a wireless communication signal to a mobile terminal;
[0027] Receiving network configuration information of the wireless network sent by the mobile terminal;
[0028] Access the wireless network according to the network configuration information.
[0029] Preferably, accessing the wireless network according to the network configuration information includes:
[0030] If the smart home appliance receives network configuration information of multiple wireless networks, it randomly selects one or selects the wireless network with the strongest signal strength as the target wireless network;
[0031] Access the target wireless network according to the network configuration information of the target wireless network.
[0032] The present invention also provides a mobile terminal, comprising: a signal strength detection module, a network configuration result calculation module and a terminal sending module;
[0033] The signal strength detection module is used to determine the first signal strength of the received wireless communication signal and the second signal strength of the searched wireless network at different locations of the mobile terminal in the target area; at least one smart home appliance is deployed in the target area, and the wireless communication signal is sent by the smart home appliance;
[0034] The network configuration result calculation module is used to determine the wireless network compatible with each smart home appliance according to the first signal strength and the second signal strength;
[0035] The terminal sending module is used to send the network configuration information of the wireless network to the compatible smart home appliance, so that the smart home appliance can access the wireless network according to the received network configuration information.
[0036] The present invention also provides a smart home appliance, comprising: a home appliance end sending module, a home appliance end receiving module and a network access module;
[0037] The home appliance sending module is used to send wireless communication signals to the mobile terminal;
[0038] The home appliance receiving module is used to receive the network configuration information of the wireless network sent by the mobile terminal;
[0039] The network access module is used to access the wireless network according to the network configuration information.
[0040] The present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the aforementioned network configuration method when executed by a processor.
[0041] The positive and progressive effect of the present invention is that by determining the first signal strength and the second signal strength when the mobile terminal is at different positions in the target area, the wireless network compatible with each smart home appliance is determined according to the first signal strength and the second signal strength, and the network configuration information of the wireless network is sent to the compatible smart home appliances, so that the smart home appliances access the wireless network according to the received network configuration information, and automatically match the best wireless network environment for each smart home appliance in batches. The operation is simple, and manual network binding of each device is avoided, which reduces the time spent and improves the network configuration efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 This is a flow chart of the network distribution method according to Embodiment 1 of the present invention.
[0043] Figure 2a This is a flowchart of a specific implementation of step S12 in the network distribution method of embodiment 1 of the present invention.
[0044] Figure 2b This is a target area deployment diagram of Example 1 in the network distribution method of Example 1 of the present invention.
[0045] Figure 3 This is a flowchart of another specific implementation of step S12 in the network distribution method of embodiment 1 of the present invention.
[0046] Figure 4 This is a flow chart of a specific implementation of the network distribution method of Example 1 of the present invention.
[0047] Figure 5 This is a flow chart of the network distribution method according to Embodiment 2 of the present invention.
[0048] Figure 6 This is a flowchart of a specific implementation of step S23 in the network distribution method of embodiment 2 of the present invention.
[0049] Figure 7 This is a module diagram of a mobile terminal according to Embodiment 3 of the present invention.
[0050] Figure 8 This is a module diagram of a smart home appliance according to Embodiment 4 of the present invention. DETAILED DESCRIPTION
[0051] The present invention is further described below by way of examples, but the present invention is not limited to the scope of the examples.
[0052] Example 1
[0053] This embodiment provides a network configuration method, which is applied to a mobile terminal. Figure 1 , the network configuration methods include:
[0054] S11. Determine the first signal strength of the received wireless communication signal and the second signal strength of the searched wireless network when the mobile terminal is at different positions in the target area; at least one smart home appliance is deployed in the target area, and the wireless communication signal is sent by the smart home appliance.
[0055] S12: Determine a wireless network compatible with each smart home appliance according to the first signal strength and the second signal strength.
[0056] S13: Sending network configuration information of the wireless network to compatible smart home appliances, so that the smart home appliances access the wireless network according to the received network configuration information.
[0057] The different locations in the target area may be at the placement point of the smart home appliance or within a preset range from the smart home appliance.
[0058] This embodiment determines the first signal strength and the second signal strength when the mobile terminal is at different positions in the target area, determines the wireless network compatible with each smart home appliance according to the first signal strength and the second signal strength, and sends the network configuration information of the wireless network to the compatible smart home appliances, so that the smart home appliances access the wireless network according to the received network configuration information, and automatically matches the best wireless network environment for each smart home appliance in batches. The operation is simple, avoids manual network binding for each device, reduces the time spent, and improves the network configuration efficiency.
[0059] In one embodiment, referring to Figure 2a , step S12 comprises:
[0060] S121. For each smart home appliance, determine the location of the mobile terminal when the first signal strength of the received wireless communication signal is maximum as the target location of the smart home appliance.
[0061] S122: When the mobile terminal is at the target location, a wireless network whose second signal strength is a maximum value or whose second signal strength is greater than a strength threshold is determined as a wireless network compatible with the smart home appliance.
[0062] The following is Example 1, which illustrates the network configuration method.
[0063] Example 1:
[0064] Reference Figure 2b, there are 3 smart home appliances deployed in the target area, the mobile terminal is at 8 different locations in the target area, smart home appliances 1-3 send wireless communication signals respectively, the first signal strength of the wireless communication signal received by the mobile terminal and the second signal strength of the searched wireless network 1-3 are shown in the following table.
[0065]
[0066] The signal strength is negative, and the closer it is to 0, the greater the signal strength and the better the signal.
[0067] For smart home appliance 1 , the maximum value of the first signal strength is −84 dBm (decibel milliwatts). When the first signal strength is at the maximum value, the position of the mobile terminal is position 8 , and position 8 is determined to be the target position of smart home appliance 1 .
[0068] For smart home appliance 2 , the maximum value of the first signal strength is −84 dBm. When the first signal strength is at the maximum value, the position of the mobile terminal is position 2 , and position 2 is determined to be the target position of smart home appliance 2 .
[0069] For smart home appliance 3 , the maximum value of the first signal strength is −84 dBm. When the first signal strength is the maximum value, the position of the mobile terminal is position 5 , and position 5 is determined to be the target position of smart home appliance 3 .
[0070] In a specific implementation, when the mobile terminal is at the target position (position 8), the maximum value of the second signal strength is -83 dBm, and the wireless network corresponding to the maximum value is wireless network 1, and wireless network 1 is determined as a wireless network compatible with smart home appliance 1.
[0071] When the mobile terminal is at the target position (position 2), the maximum value of the second signal strength is -87 dBm, and the wireless network corresponding to the maximum value is wireless network 3. Wireless network 3 is determined as the wireless network compatible with smart home appliance 2.
[0072] When the mobile terminal is at the target position (position 5), the maximum value of the second signal strength is -88 dBm, and the wireless network corresponding to the maximum value is wireless network 3. Wireless network 3 is determined as the wireless network compatible with smart home appliance 3.
[0073] In another specific implementation, -90 dBm is used as the intensity threshold.
[0074] When the mobile terminal is at the target position (position 8), the wireless networks whose second signal strength is greater than the strength threshold are wireless network 1 and wireless network 2. Wireless network 1 and wireless network 2 can be determined as wireless networks compatible with smart home appliance 1.
[0075] When the mobile terminal is at the target location (location 2), the wireless network whose second signal strength is greater than the strength threshold is the wireless network 3, and the wireless network 3 can be determined as the wireless network compatible with the smart home appliance 2.
[0076] When the mobile terminal is at the target location (location 5), the wireless network whose second signal strength is greater than the strength threshold is the wireless network 3, and the wireless network 3 can be determined as the wireless network compatible with the smart home appliance 3.
[0077] Then, the mobile terminal sends the network configuration information of the wireless network to the corresponding smart home appliance 1 - 3 , so that the smart home appliance 1 - 3 accesses the wireless network according to the received network configuration information.
[0078] This embodiment provides a specific implementation method for quickly determining a wireless network compatible with each smart home appliance, further reducing the time spent and improving network configuration efficiency.
[0079] In one embodiment, referring to Figure 3 , step S12 comprises:
[0080] S123. For each smart home appliance, calculate the absolute value of the difference between the first signal strength and each second signal strength when the mobile terminal is at each position.
[0081] S124. Calculate the average of each absolute value.
[0082] S125: Determine the wireless network corresponding to the smallest average value or the wireless network whose average value is smaller than the average threshold as the wireless network compatible with the smart home appliance.
[0083] Among them, the smaller the absolute value, the closer the location of the smart home appliance is to the wireless network and the closer the signal strength is.
[0084] This embodiment provides a specific implementation method for determining a wireless network compatible with each smart home appliance, which can avoid the final network configuration result being not the best result due to signal obstruction (such as walls), improve the network configuration success rate, further reduce the time spent, and improve the network configuration efficiency.
[0085] In one embodiment, step S124 includes:
[0086] The average value is calculated by removing the largest absolute value and the smallest absolute value from the sum of the absolute values.
[0087] Among them, a maximum value and a minimum value are removed from the sum of the absolute values of each local area network and each wireless network, and then the average value is taken to obtain the average value, which can prevent inaccurate network configuration results caused by possible signal strength fluctuations and improve the anti-interference rate.
[0088] The following is Example 2, which illustrates the network configuration method.
[0089] Example 2:
[0090] There are 3 smart home appliances deployed in the target area, and the mobile terminal is at 8 different locations in the target area. Smart home appliances 1-3 send wireless communication signals respectively. The first signal strength of the wireless communication signal received by the mobile terminal and the second signal strength of the searched wireless network 1-3 are shown in the following table.
[0091]
[0092] The signal strength is negative, and the closer it is to 0, the greater the signal strength and the better the signal.
[0093] For each smart home appliance, the absolute value of the difference between the first signal strength and each second signal strength when the mobile terminal is at each position is calculated, as shown in the following table (the unit of absolute value: dBm).
[0094]
[0095] Among them, taking smart home appliance 1 as an example, the maximum absolute value between smart home appliance 1 and wireless network 1 is 23, and the minimum absolute value is 1, so the average value = (20+23+20+9+8+4+1+1-23-1) / 8=7.75 dBm.
[0096] In a specific implementation, for the smart home appliance 1 , the minimum average value is 2.5 dBm, and the corresponding wireless network is the wireless network 2 , so the wireless network 2 is determined as the wireless network compatible with the smart home appliance 1 .
[0097] For smart home appliance 2 , the minimum average value is 1.875 dBm, and the corresponding wireless network is wireless network 3 , so wireless network 3 is determined as the wireless network compatible with smart home appliance 2 .
[0098] For smart home appliance 3 , the minimum average value is 3.375 dBm, and the corresponding wireless network is wireless network 2 , so wireless network 2 is determined as the wireless network compatible with smart home appliance 3 .
[0099] In another specific implementation, 4.5 dBm is used as the mean threshold.
[0100] For the smart home appliance 1 , the wireless network whose average value is less than the mean threshold is the wireless network 2 , and the wireless network 2 is determined as the wireless network compatible with the smart home appliance 1 .
[0101] For the smart home appliance 2 , the wireless network whose average value is less than the mean threshold is the wireless network 3 , and the wireless network 3 is determined as the wireless network compatible with the smart home appliance 2 .
[0102] For the smart home appliance 3 , the wireless networks whose average values are smaller than the mean threshold value are the wireless network 2 and the wireless network 3 , and the wireless network 2 and the wireless network 3 are determined as the wireless networks compatible with the smart home appliance 3 .
[0103] This embodiment removes a maximum absolute value and a minimum absolute value from the sum of each absolute value, thereby preventing inaccurate network configuration results caused by possible signal strength fluctuations, improving the anti-interference rate, further improving the network configuration success rate, reducing the time spent, and improving the network configuration efficiency.
[0104] In one embodiment, referring to Figure 4 Before step S11, the network configuration method further includes:
[0105] S1101. Acquire voice information, where the voice information includes type information and pairing instruction information of the smart home appliance.
[0106] S1102: Generate a network configuration instruction based on the voice information, where the network configuration instruction includes a smart home appliance type, and the smart home appliance type matches the type information.
[0107] Step S11 specifically includes:
[0108] Step S111: determining, based on the network configuration instruction, different locations of the mobile terminal in the target area, a first signal strength of a received wireless communication signal, and a second signal strength of a searched wireless network.
[0109] Among them, the device corpus of the voice stores the product models and types of all smart home appliances. For example, the corpus stores the type information of the two models of steam-bake micro-cooking machine ZKW-ZK60-Z3M7.i and steam-bake micro-cooking machine ZKW-ZK60-X3.i, and also stores the smart home appliance type "steam-bake micro". At the same time, the voice operation corpus also needs to store the instruction information corpus related to "network configuration" and "subscription". When the user speaks, the recognition engine will recognize what the user says as text and split the text. When the split text triggers two corpora in the device corpus and the operation corpus at the same time (that is, when the text contains "steam-bake micro-cooking machine" and "network configuration" or "subscription"), the recognition engine triggers the generation of network configuration instructions.
[0110] This embodiment triggers the generation of network configuration instructions through voice information, thereby automatically matching the best wireless network environment for each smart home appliance in batches, further simplifying the operation, avoiding manual network configuration binding for each device, reducing the time spent, and improving network configuration efficiency.
[0111] This embodiment determines the first signal strength and the second signal strength when the mobile terminal is at different positions in the target area, determines the wireless network compatible with each smart home appliance according to the first signal strength and the second signal strength, and sends the network configuration information of the wireless network to the compatible smart home appliances, so that the smart home appliances access the wireless network according to the received network configuration information, and automatically matches the best wireless network environment for each smart home appliance in batches. The operation is simple, avoids manual network binding for each device, reduces the time spent, and improves the network configuration efficiency. This embodiment also triggers the generation of network configuration instructions through voice information, thereby realizing automatic batch network configuration, further simplifying the operation, reducing the time spent, and improving the network configuration efficiency, and provides two specific implementation methods for determining the wireless network compatible with each smart home appliance, one of which is faster; the other specific implementation method can avoid the final network configuration result being not the best result due to signal obstruction (such as walls), thereby improving the network configuration success rate, further reducing the time spent, and improving the network configuration efficiency. On this basis, by removing a maximum absolute value and a minimum absolute value, it is possible to prevent inaccurate network configuration results due to possible signal strength fluctuations, improve the anti-interference rate, further improve the network configuration success rate, reduce the time spent, and improve the network configuration efficiency.
[0112] Example 2
[0113] This embodiment provides a network distribution method applied to smart home appliances. Figure 5 , the network configuration methods include:
[0114] S21. Send a wireless communication signal to a mobile terminal.
[0115] S22. Receive network configuration information of the wireless network sent by the mobile terminal.
[0116] S23. Access the wireless network according to the network configuration information.
[0117] This embodiment determines the first signal strength and the second signal strength when the mobile terminal is at different positions in the target area, determines the wireless network compatible with each smart home appliance according to the first signal strength and the second signal strength, and sends the network configuration information of the wireless network to the compatible smart home appliances, so that the smart home appliances access the wireless network according to the received network configuration information, and automatically matches the best wireless network environment for each smart home appliance in batches. The operation is simple, avoids manual network binding for each device, reduces the time spent, and improves the network configuration efficiency.
[0118] In one embodiment, referring to Figure 6 , step S23 comprises:
[0119] S231. If the smart home appliance receives network configuration information of multiple wireless networks, it randomly selects one or selects the wireless network with the strongest signal strength as the target wireless network.
[0120] S232: Access the target wireless network according to the network configuration information of the target wireless network.
[0121] This embodiment provides a specific implementation method for quickly determining a wireless network compatible with each smart home appliance, further reducing the time spent and improving network configuration efficiency.
[0122] This embodiment determines the first signal strength and the second signal strength when the mobile terminal is at different positions in the target area, determines the wireless network compatible with each smart home appliance according to the first signal strength and the second signal strength, and sends the network configuration information of the wireless network to the compatible smart home appliances, so that the smart home appliances access the wireless network according to the received network configuration information, and automatically matches the best wireless network environment for each smart home appliance in batches. The operation is simple, avoids manual network binding for each device, reduces the time spent, and improves the network configuration efficiency. This embodiment also triggers the generation of network configuration instructions through voice information, thereby realizing automatic batch network configuration, further simplifying the operation, reducing the time spent, and improving the network configuration efficiency, and provides two specific implementation methods for determining the wireless network compatible with each smart home appliance, one of which is faster; the other specific implementation method can avoid the final network configuration result being not the best result due to signal obstruction (such as walls), thereby improving the network configuration success rate, further reducing the time spent, and improving the network configuration efficiency. On this basis, by removing a maximum absolute value and a minimum absolute value, it is possible to prevent inaccurate network configuration results due to possible signal strength fluctuations, improve the anti-interference rate, further improve the network configuration success rate, reduce the time spent, and improve the network configuration efficiency.
[0123] Example 3
[0124] This embodiment provides a mobile terminal, referring to Figure 7 The mobile terminal includes: a signal strength detection module 11, a network configuration result calculation module 12 and a terminal sending module 13.
[0125] The signal strength detection module 11 is used to determine the first signal strength of the received wireless communication signal and the second signal strength of the searched wireless network at different locations of the mobile terminal in the target area; at least one smart home appliance is deployed in the target area, and the wireless communication signal is sent by the smart home appliance.
[0126] The network configuration result calculation module 12 is used to determine the wireless network compatible with each smart home appliance according to the first signal strength and the second signal strength.
[0127] The terminal sending module 13 is used to send the network configuration information of the wireless network to the compatible smart home appliance, so that the smart home appliance can access the wireless network according to the received network configuration information.
[0128] This embodiment determines the first signal strength and the second signal strength when the mobile terminal is at different positions in the target area, determines the wireless network compatible with each smart home appliance according to the first signal strength and the second signal strength, and sends the network configuration information of the wireless network to the compatible smart home appliances, so that the smart home appliances access the wireless network according to the received network configuration information, and automatically matches the best wireless network environment for each smart home appliance in batches. The operation is simple, avoids manual network binding for each device, reduces the time spent, and improves the network configuration efficiency. This embodiment also triggers the generation of network configuration instructions through voice information, thereby realizing automatic batch network configuration, further simplifying the operation, reducing the time spent, and improving the network configuration efficiency, and provides two specific implementation methods for determining the wireless network compatible with each smart home appliance, one of which is faster; the other specific implementation method can avoid the final network configuration result being not the best result due to signal obstruction (such as walls), thereby improving the network configuration success rate, further reducing the time spent, and improving the network configuration efficiency. On this basis, by removing a maximum absolute value and a minimum absolute value, it is possible to prevent inaccurate network configuration results due to possible signal strength fluctuations, improve the anti-interference rate, further improve the network configuration success rate, reduce the time spent, and improve the network configuration efficiency.
[0129] Example 4
[0130] This embodiment provides a smart home appliance, referring to Figure 8 The smart home appliance includes: a home appliance end sending module 21, a home appliance end receiving module 22 and a network access module 23.
[0131] The home appliance sending module 21 is used to send wireless communication signals to the mobile terminal.
[0132] The home appliance receiving module 22 is used to receive the network configuration information of the wireless network sent by the mobile terminal.
[0133] The network access module 23 is used to access the wireless network according to the network configuration information.
[0134] This embodiment determines the first signal strength and the second signal strength when the mobile terminal is at different positions in the target area, determines the wireless network compatible with each smart home appliance according to the first signal strength and the second signal strength, and sends the network configuration information of the wireless network to the compatible smart home appliances, so that the smart home appliances access the wireless network according to the received network configuration information, and automatically matches the best wireless network environment for each smart home appliance in batches. The operation is simple, avoids manual network binding for each device, reduces the time spent, and improves the network configuration efficiency. This embodiment also triggers the generation of network configuration instructions through voice information, thereby realizing automatic batch network configuration, further simplifying the operation, reducing the time spent, and improving the network configuration efficiency, and provides two specific implementation methods for determining the wireless network compatible with each smart home appliance, one of which is faster; the other specific implementation method can avoid the final network configuration result being not the best result due to signal obstruction (such as walls), thereby improving the network configuration success rate, further reducing the time spent, and improving the network configuration efficiency. On this basis, by removing a maximum absolute value and a minimum absolute value, it is possible to prevent inaccurate network configuration results due to possible signal strength fluctuations, improve the anti-interference rate, further improve the network configuration success rate, reduce the time spent, and improve the network configuration efficiency.
[0135] Example 5
[0136] This embodiment provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the network configuration method in Embodiment 1 or Embodiment 2 is implemented.
[0137] The readable storage medium may include but is not limited to: a portable disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical storage device, a magnetic storage device or any suitable combination of the above.
[0138] In a possible implementation manner, the present invention may also be implemented in the form of a program product, which includes a program code. When the program product runs on a terminal device, the program code is used to enable the terminal device to execute the network configuration method in Example 1 or Example 2.
[0139] The program code for executing the present invention may be written in any combination of one or more programming languages, and may be executed entirely on a user device, partially on a user device, as an independent software package, partially on a user device and partially on a remote device, or entirely on a remote device.
[0140] Although the specific embodiments of the present invention are described above, it should be understood by those skilled in the art that this is only for illustration and the protection scope of the present invention is defined by the appended claims. Those skilled in the art may make various changes or modifications to these embodiments without departing from the principles and essence of the present invention, but these changes and modifications all fall within the protection scope of the present invention.
Claims
1. A network distribution method, It is characterized in that Applied to a mobile terminal, the network configuration method includes: Acquiring voice information, wherein the voice information includes type information of the smart home appliance and pairing instruction information; Generate a network configuration instruction based on the voice information, wherein the network configuration instruction includes a smart home appliance type, and the smart home appliance type matches the type information; Determine the first signal strength of the received wireless communication signal and the second signal strength of the searched wireless network at different locations of the mobile terminal in the target area; the target area is deployed with at least one smart home appliance, and the wireless communication signal is sent by the smart home appliance; The step of determining that the mobile terminal is at different positions in the target area, the first signal strength of the received wireless communication signal, and the second signal strength of the searched wireless network specifically includes: determining that the mobile terminal is at different positions in the target area, the first signal strength of the received wireless communication signal, and the second signal strength of the searched wireless network based on the network configuration instruction; Determining a wireless network compatible with each smart home appliance according to the first signal strength and the second signal strength; The network configuration information of the wireless network is sent to the compatible smart home appliance, so that the smart home appliance can access the wireless network according to the received network configuration information.
2. The network distribution method according to claim 1, It is characterized in that The step of determining a wireless network compatible with each smart home appliance according to the first signal strength and the second signal strength includes: For each smart home appliance, determining the location of the mobile terminal when the first signal strength of the received wireless communication signal is maximum as the target location of the smart home appliance; When the mobile terminal is at the target location, a wireless network whose second signal strength is a maximum value or whose second signal strength is greater than a strength threshold is determined as a wireless network compatible with the smart home appliance.
3. The network distribution method according to claim 1, It is characterized in that The step of determining a wireless network compatible with each smart home appliance according to the first signal strength and the second signal strength includes: For each smart home appliance, calculating an absolute value of a difference between the first signal strength and each second signal strength when the mobile terminal is at each position; Calculate the average of the absolute values; The wireless network corresponding to the smallest average value or the wireless network whose average value is less than the average value threshold is determined as the wireless network adapted to the smart home appliance.
4. The network distribution method according to claim 3, It is characterized in that The calculating the average of the absolute values comprises: The average value is calculated by removing a maximum absolute value and a minimum absolute value from the sum of the absolute values.
5. A mobile terminal, It is characterized in that include: Signal strength detection module, network configuration result calculation module and terminal sending module; The signal strength detection module is used to determine that the mobile terminal is in different positions in the target area based on the network configuration instruction; the first signal strength of the received wireless communication signal and the second signal strength of the searched wireless network; at least one smart home appliance is deployed in the target area, and the wireless communication signal is sent by the smart home appliance; wherein the network configuration instruction is generated based on voice information, and the voice information includes type information and pairing indication information of the smart home appliance; the network configuration instruction includes the type of the smart home appliance, and the type of the smart home appliance matches the type information; The network configuration result calculation module is used to determine the wireless network compatible with each smart home appliance according to the first signal strength and the second signal strength; The terminal sending module is used to send the network configuration information of the wireless network to the compatible smart home appliance, so that the smart home appliance can access the wireless network according to the received network configuration information.
6. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the network distribution method according to any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Wi-Fi network distribution system of intelligent device
CN108200629A
Intelligent household electrical appliance network distribution method, intelligent household electrical appliance, mobile terminal and medium
CN111683371A
Equipment distribution network processing method, equipment distribution network processing device and intelligent panel
CN111953573A
Network distribution method and device of intelligent equipment, electronic equipment and storage medium
CN112333704A
Network distribution method and device of intelligent equipment, electronic equipment and computer readable medium
CN113543150A
