Signal adjustment method and system based on portable WIFI

By receiving adjustment instructions on the portable WIFI device, extracting equipment information, calculating the signal distance, generating signal constraint models and updating the model to adjust the signal frequency band, solving the problem of unable to automatically adjust the signal in real time, realizing intelligent optimization network performance Essence

CN118785162BActive Publication Date: 2025-01-24WUHAN BAOJI ELECTRONIC TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410953850.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2025-01-24
Estimated Expiration
2044-07-17

AI Technical Summary

Technical Problem

Existing portable WIFI devices cannot automatically and in real time to adjust signals to meet the signal adjustment needs of advanced devices.

Method used

By receiving the WiFi adjustment instruction, confirm the signal adjustment environment, extract equipment information for WIFI user devices, calculate the simulation signal distance, generate signal constraint model, adjust the signal transmission frequency band, and update the signal constraint model at the average fluctuation rate to control the network signal.

Benefits of technology

Achieve the performance of intelligent optimization networks to ensure that each WIFI user device can receive the most suitable network signal and improve signal stability and speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118785162B_ABST
    Figure CN118785162B_ABST
Patent Text Reader

Abstract

The present invention relates to a signal adjustment method based on portable WIFI and a system thereof, comprising: confirming a signal adjustment environment, calculating a simulated signal distance using two-dimensional position coordinates and pre-acquired portable WIFI position coordinates, setting a signal transmission frequency band of the portable WIFI using the simulated signal distance, acquiring a historical connection record of a WIFI user device, generating a signal constraint model of the WIFI user device according to the historical connection record, acquiring a signal connection record of the WIFI user device, calculating an average fluctuation rate using the signal connection record, calculating a signal adjustment parameter using the average fluctuation rate corresponding to n WIFI user devices, updating n signal constraint models in a target portable WIFI using the signal adjustment parameter, obtaining n signal adjustment models, controlling a network signal transmitted by the target portable WIFI using the n signal adjustment models, and completing signal adjustment of the portable WIFI. The present invention aims to realize intelligent optimization of network performance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of wireless communication technology, and in particular to a signal adjustment method, system, electronic device and computer-readable storage medium based on portable WIFI. Background Art

[0002] Portable WIFI, also known as portable WIFI hotspot or mobile WIFI, is a portable device that can convert cellular network signals into WIFI signals to provide wireless network connection. They are usually powered by a built-in battery and are convenient for users to use the Internet in places where there is no fixed broadband network. Portable WIFI devices are usually suitable for users who travel, work in the field or live in areas with poor network coverage.

[0003] At present, modern portable WIFI devices usually have a variety of signal adjustment functions. Users can remotely manage portable WIFI devices through mobile phone APP or web interface, including checking traffic usage, modifying network settings, etc. Some advanced devices support automatic selection of the best network and frequency band, and can allocate bandwidth through APP or web interface to ensure network stability and speed for each connected device.

[0004] Although the above method can realize the signal adjustment of portable WIFI, most of the signal adjustment processes cannot be automatically controlled at present, and cannot be adjusted in real time according to the changes in the surrounding environment, and cannot meet the signal adjustment requirements of some advanced devices. Summary of the invention

[0005] The present invention provides a signal adjustment method based on portable WIFI and a computer-readable storage medium, the main purpose of which is to realize intelligent optimization of network performance.

[0006] To achieve the above object, the present invention provides a signal adjustment method based on portable WIFI, comprising:

[0007] Receive a WIFI adjustment instruction, and determine a signal adjustment environment according to the WIFI adjustment instruction, wherein the signal adjustment environment includes: a power source, n WIFI user devices, a WIFI carrier device, and a portable WIFI, wherein 2≤n≤m, and n is an integer, and m is a preset connection threshold, and the portable WIFI will send different network signals according to different WIFI user devices;

[0008] Extract WIFI user equipments from the n WIFI user equipments in sequence, and perform the following operations on the extracted WIFI user equipments:

[0009] Receiving the signal connection instruction initiated by the extracted WIFI user device, sending the signal connection instruction to the WIFI carrier device, and obtaining the device information of the WIFI user device after the WIFI carrier device successfully receives the signal connection instruction, wherein the device information includes: MAC address, two-dimensional location coordinates;

[0010] The simulated signal distance is calculated using the two-dimensional position coordinates and the pre-acquired portable WIFI position coordinates, and the signal transmission frequency band of the portable WIFI is set using the simulated signal distance to obtain the target portable WIFI;

[0011] Acquire historical connection records of WIFI user equipment, and generate a signal constraint model of the WIFI user equipment according to the historical connection records;

[0012] While activating the target portable WIFI using the signal constraint model, a temporary connection password is generated according to the MAC address of the WIFI user device, and the temporary connection password is sent to the WIFI user device;

[0013] When the WIFI user device successfully connects to the target portable WIFI using the temporary connection password, the signal connection record of the WIFI user device is obtained, and the average fluctuation rate is calculated using the signal connection record;

[0014] The signal adjustment parameters are calculated using the average fluctuation rates corresponding to n WIFI user devices, and the signal adjustment parameters are used to update the n signal constraint models in the target portable WIFI to obtain n signal adjustment models. The n signal adjustment models are used to control the network signal transmitted by the target portable WIFI to complete the signal adjustment of the portable WIFI.

[0015] Optionally, the receiving a WIFI adjustment instruction and determining a signal adjustment environment according to the WIFI adjustment instruction includes:

[0016] After receiving the WIFI adjustment instruction, starting the power supply;

[0017] When the startup is successful, the n WIFI user devices and WIFI carrier devices are self-tested;

[0018] When the self-test is passed, the parameters of the portable WIFI are set respectively until the parameter setting is successful, and a signal adjustment environment including a power source, n WIFI user devices, a WIFI carrier device and the portable WIFI is obtained.

[0019] Optionally, the analog signal distance is calculated using the two-dimensional position coordinates and the pre-acquired portable WIFI position coordinates, and the calculation formula is as follows:

[0020]

[0021] Among them, |X l | is the simulated signal distance, x1 and y1 are the x-axis coordinate and y-axis coordinate in the two-dimensional position coordinate, x0 and y0 are the x-axis coordinate and y-axis coordinate in the portable WIFI position coordinate, k is the preset weight coefficient, H is the preset coefficient and is related to the humidity in the environment.

[0022] Optionally, the step of setting the signal transmission frequency band of the portable WIFI by using the simulated signal distance to obtain the target portable WIFI includes:

[0023] comparing the simulated signal distance with a preset distance threshold;

[0024] If the simulated signal distance is greater than or equal to the preset distance threshold, the signal transmission frequency band of the portable WIFI is set to the 2.4 GHZ frequency band, and the target portable WIFI is obtained;

[0025] If the simulated signal distance is less than the preset distance threshold, the signal transmission frequency band of the portable WIFI is set to the 5 GHZ frequency band to obtain the target portable WIFI.

[0026] Optionally, the acquiring of historical connection records of the WIFI user equipment and generating a signal constraint model of the WIFI user equipment according to the historical connection records includes:

[0027] Query the record of WIFI user equipment using the portable WIFI;

[0028] When it is found that the WIFI user device has a record of using the portable WIFI, all records of using the portable WIFI are extracted to obtain a historical connection record;

[0029] Performing data structuring operation on the historical connection records to obtain structured connection data, wherein the structured connection data includes total connection duration, average connection rate, balanced signal duration, balanced signal rate, peak signal duration, peak signal rate, fluctuation signal duration and fluctuation signal rate, and the sum of the balanced signal duration, the peak signal duration and the fluctuation signal duration is equal to the total connection duration;

[0030] A signal constraint model of a WIFI user device is generated based on the structural connection data.

[0031] Optionally, generating a signal constraint model of the WIFI user equipment based on the structural connection data includes:

[0032] The representation method of structural connection data is as follows:

[0033]

[0034] Among them, DW Indicates the structure connection data corresponding to the WIFI user device, t w ,t p ,t max and t b are the total connection duration, balance signal duration, peak signal duration and fluctuation signal duration, respectively, v W 、v p 、v max 、v b They are the average connection rate, balanced signal rate, peak signal rate and fluctuating signal rate;

[0035] According to the peak signal duration and peak signal rate in the structure connection data, the connection peak coefficient of the WIFI user equipment is calculated. The calculation formula is as follows:

[0036]

[0037] Wherein, M represents the connection peak coefficient, and t0 is the preset balance reference time;

[0038] The structure connection data is used as the input data of the pre-built signal connection classification model to calculate the signal connection type of the WIFI user equipment, wherein the signal connection types include: high fluctuation type, low fluctuation type, low stability type and high stability type;

[0039] The signal constraint model is constructed based on the signal connection type and the connection peak coefficient, wherein the signal constraint model includes four groups of constraint functions, wherein the four groups of constraint functions include: constraint function 1, constraint function 2, constraint function 3 and constraint function 4, and the four groups of constraint functions are as follows:

[0040] Constraint function 1: If the signal connection type is high fluctuation type and the connection peak coefficient is less than the preset first signal threshold, the target portable WIFI stops sending network signals to the WIFI user device;

[0041] Constraint function 2: if the signal connection type is low fluctuation type, and the connection peak coefficient is greater than or equal to the first signal threshold, and the connection peak coefficient is less than the preset second signal threshold, the target portable WIFI sets the channel for sending network signals to the WIFI user equipment to the first channel;

[0042] Constraint function 3: if the signal connection type is low stability, and the connection peak coefficient is greater than or equal to the second signal threshold, and the connection peak coefficient is less than the preset third signal threshold, the target portable WIFI sets the channel for sending network signals to the WIFI user equipment to the second channel;

[0043] Constraint function 4: If the signal connection type is a high stability type, and the connection peak coefficient is greater than or equal to the third signal threshold, the target portable WIFI sets the channel for sending network signals to the WIFI user equipment to the third channel.

[0044] Optionally, generating a temporary connection password according to the MAC address of the WIFI user device includes:

[0045] A temporary connection password is obtained using a pre-built combination rule and a MAC address, wherein the combination rule is: the preset WIFI password is used as the first password of the temporary connection password, the last three characters of the MAC address are used as the second password of the temporary connection password, and the temporary connection password is generated by sorting the first and second passwords.

[0046] Optionally, when the WIFI user device successfully connects to the target portable WIFI using the temporary connection password, obtaining the signal connection record of the WIFI user device, and calculating the average fluctuation rate using the signal connection record, includes:

[0047] When the WIFI user device successfully connects to the target portable WIFI using the temporary connection password, the signal connection record during the use is obtained by using the WIFI user device, wherein the signal connection record includes: x update fluctuation rates and x update fluctuation times, and the update fluctuation rates correspond to the update fluctuation times one by one;

[0048] The average fluctuation rate is calculated using x update fluctuation rates and x update fluctuation times. The calculation formula is as follows:

[0049]

[0050] in, is the average fluctuation rate, v i is the ith update fluctuation rate among the x update fluctuation rates, t i is the i-th update fluctuation time among x update fluctuation times, where 1≤i≤x, and i and x are integers.

[0051] Optionally, the calculating of the signal adjustment parameter by using the average fluctuation rate corresponding to the n WIFI user devices, and updating the n signal constraint models in the target portable WIFI by using the signal adjustment parameter to obtain the n signal adjustment models include:

[0052] The formula for calculating the signal adjustment parameter is as follows:

[0053]

[0054] Where μ is the signal adjustment parameter, is the average fluctuation rate of the jth WIFI user equipment among n WIFI user equipments, where 1≤j≤n, and j and n are integers;

[0055] The signal adjustment parameters and the connection peak factor are used to calculate the updated peak factor. The calculation formula is as follows:

[0056] M0=M·μ

[0057] Among them, M0 is the update peak coefficient;

[0058] The connection peak coefficients in the n signal constraint models are all replaced by the update peak coefficients to obtain n signal adjustment models.

[0059] To achieve the above object, the present invention also provides a signal adjustment system based on portable WIFI, comprising:

[0060] An adjustment environment start module is used to receive a WIFI adjustment instruction and confirm a signal adjustment environment according to the WIFI adjustment instruction, wherein the signal adjustment environment includes: a power source, n WIFI user devices, a WIFI carrier device and a portable WIFI, wherein 2≤n≤m, and n is an integer, and m is a preset connection threshold, and the portable WIFI will send different network signals according to different WIFI user devices;

[0061] The constraint model building module is used to extract WIFI user devices from the n WIFI user devices in sequence, and perform the following operations on the extracted WIFI user devices: receiving a signal connection instruction initiated by the extracted WIFI user device, sending the signal connection instruction to the WIFI carrier device, and when the WIFI carrier device successfully receives the signal connection instruction, obtaining device information of the WIFI user device, wherein the device information includes: MAC address, two-dimensional position coordinates; using the two-dimensional position coordinates and the pre-acquired portable WIFI position coordinates to calculate the simulated signal distance, using the simulated signal distance to set the signal transmission frequency band of the portable WIFI, and obtaining the target portable WIFI; obtaining the historical connection record of the WIFI user device, and generating a signal constraint model of the WIFI user device according to the historical connection record;

[0062] The fluctuation rate calculation module is used to activate the target portable WIFI using the signal constraint model, generate a temporary connection password according to the MAC address of the WIFI user device, and send the temporary connection password to the WIFI user device; when the WIFI user device successfully connects to the target portable WIFI using the temporary connection password, obtain the signal connection record of the WIFI user device, and calculate the average fluctuation rate using the signal connection record;

[0063] The adjustment data integration module is used to calculate the signal adjustment parameters using the average fluctuation rates corresponding to the n WIFI user devices, and use the signal adjustment parameters to update the n signal constraint models in the target portable WIFI to obtain n signal adjustment models. The n signal adjustment models are used to control the network signal transmitted by the target portable WIFI to complete the signal adjustment of the portable WIFI.

[0064] In order to solve the above problem, the present invention further provides an electronic device, the electronic device comprising:

[0065] a memory storing at least one instruction; and

[0066] The processor executes the instructions stored in the memory to implement the above-mentioned signal adjustment method based on portable WIFI.

[0067] In order to solve the above problem, the present invention also provides a computer-readable storage medium, in which at least one instruction is stored. The at least one instruction is executed by a processor in an electronic device to implement the above-mentioned signal adjustment method based on portable WIFI.

[0068] The present invention is to solve the problem described in the background technology. The present invention receives a WIFI adjustment instruction and confirms a signal adjustment environment according to the WIFI adjustment instruction, wherein the signal adjustment environment includes: a power supply, n WIFI user devices, a WIFI carrier device and a portable WIFI, wherein 2≤n≤m, and n is an integer, and m is a preset connection threshold. The portable WIFI will send different network signals according to different WIFI user devices. It can be seen that the embodiment of the present invention ensures the smooth operation of all devices by constructing a complete signal adjustment environment, and provides an environment that is more in line with practical applications for subsequent signal adjustment links; WIFI user devices are extracted from the n WIFI user devices in sequence, and the extracted WIFI The user device performs the following operations: receiving the signal connection instruction initiated by the extracted WIFI user device, sending the signal connection instruction to the WIFI carrier device, and when the WIFI carrier device successfully receives the signal connection instruction, obtaining the device information of the WIFI user device, wherein the device information includes: MAC address, two-dimensional position coordinates. It can be seen that the embodiment of the present invention considers the differences between WIFI user devices before processing each WIFI user device, and then different device information can be obtained according to different WIFI user devices, laying a foundation for providing high-quality network signals for WIFI user devices more accurately in the future; using the two-dimensional position coordinates and the pre-acquired portable WIFI The simulated signal distance is calculated by the position coordinates, and the simulated signal distance is used to set the signal transmission frequency band of the portable WIFI to obtain the target portable WIFI. It can be seen that the embodiment of the present invention optimizes the signal transmission frequency band by simulating the signal distance to ensure that each WIFI user device can receive the most suitable network signal and realize automatic signal adjustment; the historical connection record of the WIFI user device is obtained, and a signal constraint model of the WIFI user device is generated according to the historical connection record. The historical connection data is used to analyze the usage mode and demand of the WIFI user device to generate a personalized signal constraint model, so that the signal adjustment is more intelligent and accurate to meet the needs of different WIFI user devices; the signal constraint model is used to activate the target portable WIFI At the same time, a temporary connection password is generated according to the MAC address of the WIFI user device, and the temporary connection password is sent to the WIFI user device. According to the MAC addresses of different WIFI user devices, a temporary connection password unique to each WIFI user device is generated to ensure the security and convenience of the connection; when the WIFI user device successfully connects to the target portable WIFI using the temporary connection password, the signal connection record of the WIFI user device is obtained, and the average fluctuation rate is calculated using the signal connection record. By recording the signal connection data after the connection in real time, the signal connection stability and fluctuation of the device during the use of the portable WIFI are monitored, and the average fluctuation rate is calculated to provide data support for subsequent signal adjustments;The signal adjustment parameters are calculated using the average fluctuation rates corresponding to n WIFI user devices, and the signal constraint model in the target portable WIFI is updated using the n signal adjustment parameters to obtain n signal adjustment models. The network signal transmitted by the target portable WIFI is controlled using the n signal adjustment models to complete the signal adjustment of the portable WIFI. By integrating the average fluctuation rates of multiple devices, the previous signal constraint model is readjusted to obtain a signal adjustment model that is more in line with the current connection state, and the signal channel allocation is readjusted through the signal adjustment model to ensure that each WIFI user device can obtain the best network performance. Therefore, the present invention can realize intelligent optimization of network performance. ; BRIEF DESCRIPTION OF THE DRAWINGS

[0069] Figure 1 A schematic diagram of a flow chart of a signal adjustment method based on portable WIFI provided in one embodiment of the present invention;

[0070] Figure 2 A functional module diagram of a signal adjustment system based on portable WIFI provided by an embodiment of the present invention;

[0071] Figure 3 A schematic diagram of the structure of an electronic device for implementing the signal adjustment method based on portable WIFI provided by an embodiment of the present invention.

[0072] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0073] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0074] The embodiment of the present application provides a signal adjustment method based on portable WIFI. The execution subject of the signal adjustment method based on portable WIFI includes but is not limited to at least one of the electronic devices such as a server and a terminal that can be configured to execute the method provided by the embodiment of the present application. In other words, the signal adjustment method based on portable WIFI can be executed by software or hardware installed in a terminal device or a server device, and the software can be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc.

[0075] Reference Figure 1 FIG. 1 is a flow chart of a signal adjustment method based on a portable WIFI according to an embodiment of the present invention. In this embodiment, the signal adjustment method based on the portable WIFI includes:

[0076] S1. Receive a WIFI adjustment instruction, and confirm a signal adjustment environment according to the WIFI adjustment instruction, wherein the signal adjustment environment includes: a power source, n WIFI user devices, a WIFI carrier device, and a portable WIFI, wherein 2≤n≤m, and n is an integer, and m is a preset connection threshold. The portable WIFI will send different network signals according to different WIFI user devices.

[0077] It should be explained that the WIFI adjustment command is generally initiated by the carrier of the portable WIFI through the corresponding APP, and different portable WIFIs generally correspond to different APPs. For example, Xiao Zhang is the carrier of Huawei portable WIFI. Now there are multiple devices near Xiao Zhang that need to connect to the Huawei portable WIFI. In order to adjust the signal emitted by it in a multi-device usage environment, Xiao Zhang initiates the WIFI adjustment command through the Huawei Smart Home APP on his mobile phone.

[0078] In the embodiment of the present invention, the environment for adjusting the WIFI signal is a signal adjustment environment, and the signal adjustment environment includes a power source, n WIFI user devices, a WIFI carrier device, and a portable WIFI.

[0079] The key point is that the main function of the power supply is to provide power for the portable WIFI. The WIFI carrier device refers to a device that can control the portable WIFI and is operated by the carrier of the portable WIFI. Optionally, an iPad can be used as a WIFI carrier device. The WIFI user device refers to a device connected to the portable WIFI and is operated by the user of the portable WIFI. Optionally, an iPhone can be used as a WIFI user device. The preset connection threshold m refers to the maximum number of devices that the portable WIFI can connect to, and the connection thresholds of different portable WIFIs are different. For example, the connection threshold of Huawei's portable WIFI is 16.

[0080] It should be explained that the portable WIFI can send different network signals according to different WIFI user devices. For example, on the Huawei Smart Home APP, by setting the parameters of the Huawei portable WIFI, you can set different bandwidths for different devices, and you can set the signal frequency band and channel value in the WLAN advanced settings.

[0081] Further, the receiving of the WIFI adjustment instruction and determining the signal adjustment environment according to the WIFI adjustment instruction includes:

[0082] After receiving the WIFI adjustment instruction, starting the power supply;

[0083] When the startup is successful, the n WIFI user devices and WIFI carrier devices are self-tested;

[0084] When the self-test is passed, the parameters of the portable WIFI are set respectively until the parameter setting is successful, and a signal adjustment environment including a power source, n WIFI user devices, a WIFI carrier device and the portable WIFI is obtained.

[0085] It needs to be explained that the parameters for setting portable WIFI include network speed and the duration of sending network signals.

[0086] For example, after the self-test is passed, the network speed of the portable WIFI can be set to 20M / S, and the duration of sending the network signal can be set to 30 minutes.

[0087] S2. Receive the signal connection instruction initiated by the extracted WIFI user device, send the signal connection instruction to the WIFI carrier device, and when the WIFI carrier device successfully receives the signal connection instruction, obtain the device information of the WIFI user device, wherein the device information includes: MAC address and two-dimensional location coordinates.

[0088] It should be explained that the signal connection command is sent by the WIFI user device, and its main purpose is to request to connect to the portable WIFI. The MAC address is composed of 48-bit binary numbers. Each device in the network has a unique network identifier, which is the MAC address. The two-dimensional location coordinates refer to the location coordinates of the device on the electronic map.

[0089] For example, if Xiao Zhang's computer successfully receives the signal connection command initiated by Xiao Zhao's mobile phone, in order to set the most suitable portable WIFI parameters for the mobile phone, it is necessary to obtain the device information of the mobile phone, obtain the MAC address by querying the system details page of the mobile phone, obtain the longitude and latitude through the positioning system of the mobile phone and Gaode Map, and then use the coordinate system conversion system of Gaode Open Platform to obtain the two-dimensional location coordinates.

[0090] It should be understood that using the coordinate system conversion system of the AutoNavi open platform to convert longitude and latitude into two-dimensional position coordinates is a prior art and will not be described in detail here.

[0091] S3. Calculate the simulated signal distance using the two-dimensional position coordinates and the pre-acquired portable WIFI position coordinates, and use the simulated signal distance to set the signal transmission frequency band of the portable WIFI to obtain the target portable WIFI.

[0092] Exemplarily, the location coordinates of the portable WIFI are also obtained by the coordinate system conversion system of the AutoNavi open platform. In order to obtain the location coordinates of the portable WIFI, Xiao Zhang places the device he carries and the portable WIFI in the same position, and then obtains its location coordinates through the positioning system of the device and the AutoNavi map. The location coordinates are the location coordinates of the portable WIFI.

[0093] In detail, the two-dimensional position coordinates and the pre-acquired portable WIFI position coordinates are used to calculate the simulated signal distance, and the calculation formula is as follows:

[0094]

[0095] Among them, |X l | is the simulated signal distance, x1 and y1 are the x-axis coordinate and y-axis coordinate in the two-dimensional position coordinate, x0 and y0 are the x-axis coordinate and y-axis coordinate in the portable WIFI position coordinate, k is the preset weight coefficient, H is the preset coefficient and is related to the humidity in the environment.

[0096] Importantly, the preset weight coefficient k is determined by the number of obstacles in the environment and the material of the obstacles.

[0097] It should be understood that humidity reflects the water vapor content in the air. These water molecules in the air have a certain ability to block and absorb network signals, thus affecting the propagation of network signals.

[0098] It should be explained that the simulated signal distance is an approximate simulation of the distance that the network signal can be transmitted under ideal conditions. Because the preset distance threshold is under ideal conditions, the actual propagation distance is converted into a simulated signal distance through different real-world conditions, such as obstacles and other parameters, and then compared with the distance threshold, which will make the comparison result more in line with different real-world conditions. Among them, the actual propagation distance refers to the distance that the network signal propagates in the real environment, which is calculated by the two-dimensional position coordinates and the portable WIFI position coordinates, and the calculation formula of the simulated signal distance includes this calculation process.

[0099] For example, if the propagation distance of the network signal emitted by the portable WIFI under ideal conditions, that is, the simulated signal distance is 20m, but considering factors such as obstacles in the propagation process, its actual propagation distance is only 15m.

[0100] Furthermore, the method of using the simulated signal distance to set the signal transmission frequency band of the portable WIFI to obtain the target portable WIFI includes:

[0101] comparing the simulated signal distance with a preset distance threshold;

[0102] If the simulated signal distance is greater than or equal to the preset distance threshold, the signal transmission frequency band of the portable WIFI is set to the 2.4 GHZ frequency band, and the target portable WIFI is obtained;

[0103] If the simulated signal distance is less than the preset distance threshold, the signal transmission frequency band of the portable WIFI is set to the 5 GHZ frequency band to obtain the target portable WIFI.

[0104] It should be explained that the preset distance threshold is determined by the model of the portable WIFI. Each portable WIFI has a certain distance threshold, which represents the maximum propagation distance of the 5GHZ band signal under ideal conditions. The signal transmission frequency band refers to the radio frequency range used by the portable WIFI to send wireless signals. At present, there are two commonly used WIFI frequency bands: 2.4GHz and 5GHz. The 2.4GHz frequency band has a long transmission distance, but a slow transmission rate; the 5GHz frequency band has a short transmission distance, but a fast transmission rate. The target portable WIFI refers to the portable WIFI after the signal transmission frequency band is set.

[0105] For example, by modifying the WLAN advanced settings option in the Huawei Smart Home APP, you can set the signal transmission frequency band of Huawei Mobile WIFI.

[0106] S4. Obtain historical connection records of the WIFI user equipment, and generate a signal constraint model of the WIFI user equipment according to the historical connection records.

[0107] It should be explained that the historical connection record of the WIFI user device refers to the historical record of the WIFI user connecting to the portable WIFI, including data such as connection duration, connection rate and signal fluctuation. The signal constraint model refers to a model containing four sets of constraint functions, which constrain different signal conditions through the four sets of constraint functions to obtain different results.

[0108] In detail, the acquiring of the historical connection records of the WIFI user equipment and the generating of the signal constraint model of the WIFI user equipment according to the historical connection records include:

[0109] Query the record of WIFI user equipment using the portable WIFI;

[0110] When it is found that the WIFI user device has a record of using the portable WIFI, all records of using the portable WIFI are extracted to obtain a historical connection record;

[0111] Performing data structuring operation on the historical connection records to obtain structured connection data, wherein the structured connection data includes total connection duration, average connection rate, balanced signal duration, balanced signal rate, peak signal duration, peak signal rate, fluctuation signal duration and fluctuation signal rate, and the sum of the balanced signal duration, the peak signal duration and the fluctuation signal duration is equal to the total connection duration;

[0112] A signal constraint model of a WIFI user device is generated based on the structural connection data.

[0113] It should be explained that data structuring operation is a method of organizing data, that is, extracting the data required for structural connection data from each historical connection record, summarizing and organizing the data and expressing it in the form of a matrix to obtain structural connection data. The total connection time and the average connection rate refer to the total time of connecting to the portable WIFI and the average network speed during this period; the balanced signal time and the balanced signal rate refer to the time when the signal is kept stable when connected to the portable WIFI and the network speed value in the time period corresponding to the balanced signal time; the peak signal time and the peak signal rate refer to the time when the network speed reaches the highest value when connected to the portable WIFI and the network speed value in the time period corresponding to this peak signal time; the fluctuating signal time and the fluctuating signal rate refer to the time when the portable WIFI signal is in a fluctuating state when connected to the portable WIFI and the average network speed when the portable WIFI signal is in a fluctuating state.

[0114] It is understandable that the structural connection data of the WIFI user device can reflect the usage of the portable WIFI, and to a certain extent, the fluctuation of the portable WIFI signal when the WIFI user device is using the portable WIFI can be fed back through the structural connection data. Therefore, by constructing a signal constraint model of the WIFI user device through the structural connection data, the signal generated by the portable WIFI can be made more stable when the WIFI user device is connected to and uses the portable WIFI.

[0115] In detail, the generating of the signal constraint model of the WIFI user equipment based on the structure connection data includes:

[0116] The representation method of structural connection data is as follows:

[0117]

[0118] Among them, D W Indicates the structure connection data corresponding to the WIFI user device, t w ,t p ,t max and t b are the total connection duration, balance signal duration, peak signal duration and fluctuation signal duration, respectively, v W 、v p 、v max 、v b They are the average connection rate, balanced signal rate, peak signal rate and fluctuating signal rate;

[0119] According to the peak signal duration and peak signal rate in the structure connection data, the connection peak coefficient of the WIFI user equipment is calculated. The calculation formula is as follows:

[0120]

[0121] Wherein, M represents the connection peak coefficient, and t0 is the preset balance reference time;

[0122] The structure connection data is used as the input data of the pre-built signal connection classification model to calculate the signal connection type of the WIFI user equipment, wherein the signal connection types include: high fluctuation type, low fluctuation type, low stability type and high stability type;

[0123] The signal constraint model is constructed based on the signal connection type and the connection peak coefficient, wherein the signal constraint model includes four groups of constraint functions, wherein the four groups of constraint functions include: constraint function 1, constraint function 2, constraint function 3 and constraint function 4, and the four groups of constraint functions are as follows:

[0124] Constraint function 1: If the signal connection type is high fluctuation type and the connection peak coefficient is less than the preset first signal threshold, the target portable WIFI stops sending network signals to the WIFI user device;

[0125] Constraint function 2: if the signal connection type is low fluctuation type, and the connection peak coefficient is greater than or equal to the first signal threshold, and the connection peak coefficient is less than the preset second signal threshold, the target portable WIFI sets the channel for sending network signals to the WIFI user equipment to the first channel;

[0126] Constraint function 3: if the signal connection type is low stability, and the connection peak coefficient is greater than or equal to the second signal threshold, and the connection peak coefficient is less than the preset third signal threshold, the target portable WIFI sets the channel for sending network signals to the WIFI user equipment to the second channel;

[0127] Constraint function 4: If the signal connection type is a high stability type, and the connection peak coefficient is greater than or equal to the third signal threshold, the target portable WIFI sets the channel for sending network signals to the WIFI user equipment to the third channel.

[0128] It should be explained that the size of the connection peak coefficient can reflect the relative proportion of the peak signal in all signals when the WIFI user device uses the portable WIFI. The peak signal refers to the signal when the WIFI user device reaches the peak speed after connecting to the portable WIFI. The preset balance reference time t0 is determined by the model of the portable WIFI. Generally, the higher the quality of the portable WIFI, the higher the balance reference time t0.

[0129] Importantly, in order to further quantify the signal stability of the WIFI user equipment, the embodiment of the present invention uses the structural connection data as the input data of the pre-built signal connection classification model to calculate the signal connection type of the WIFI user equipment. It should be emphasized that the signal connection classification model is constructed based on a supervised algorithm, wherein the supervised algorithm includes but is not limited to support vector machines, deep learning and other models, and before using the signal connection classification model, it is necessary to train the signal connection classification model according to the training set until the signal connection classification model meets the training result adjustment, and then it can be used to perform the signal connection classification of the WIFI user equipment.

[0130] In the embodiment of the present invention, the signal connection types include high volatility, low volatility, low stability and high stability, and the scores of each signal connection type are: [0, 0.3), [0.3, 0.5), [0.5, 0.7), and [0.7, 1.0]. Here, the first signal threshold is 0.3, the second signal threshold is 0.5, and the third signal threshold is 0.7.

[0131] Exemplarily, Xiao Zhang's structural connection data is imported into the signal connection classification model, and it is calculated that when Xiao Zhang uses the portable WIFI, his signal connection type is low volatility, that is, the score calculated by the signal connection classification model is in the interval of [0.3, 0.5).

[0132] It is understandable that the preset first signal threshold, second signal threshold and third signal threshold are affected by the environment (such as the number of obstacles, humidity) and the portable WIFI model, and the first signal threshold < the second signal threshold < the third signal threshold.

[0133] It should be explained that the channel refers to the communication channel and the medium for signal transmission. Exemplarily, in the channel option in the WIFI advanced settings interface, different channels (such as 1 to 13) can be selected. Use a WIFI analysis tool (such as WIFIAnalyzer) to view the channel usage of the surrounding network, where channel 1, channel 3, and channel 11 are less used channels. Therefore, when using signal 1, channel 3 and channel 1, interference can be avoided. Therefore, channel 1 is set as the first channel, channel 3 as the second channel, and channel 11 as the third channel. In terms of the degree of avoiding interference, the first channel, the second signal, and the third channel are ranked as follows: the third channel < the second channel < the first channel.

[0134] It should be understood that viewing the channel usage of surrounding networks and setting channels through a WIFI analysis tool is a prior art and will not be described in detail here.

[0135] S5. While activating the target portable WIFI using the signal constraint model, generate a temporary connection password according to the MAC address of the WIFI user device, and send the temporary connection password to the WIFI user device.

[0136] In detail, the step of generating a temporary connection password according to the MAC address of the WIFI user device includes:

[0137] A temporary connection password is obtained using a pre-built combination rule and a MAC address, wherein the combination rule is: the preset WIFI password is used as the first password of the temporary connection password, the last three characters of the MAC address are used as the second password of the temporary connection password, and the temporary connection password is generated by sorting the first and second passwords.

[0138] It should be explained that the temporary connection password is a time-limited password. During a period of time, the WIFI user device can use this password to connect to the portable WIFI.

[0139] Exemplarily, after the signal constraint model is generated, the signal constraint model can be imported into the control APP of the portable WIFI, and the portable WIFI can be controlled by the APP to transmit the signal of a specific channel based on the signal constraint model. After the import is successful, the portable WIFI can be activated, and a temporary password dedicated to the device can be generated according to its device information, waiting for the WIFI user device to connect to the WIFI signal.

[0140] For example, the WIFI password is: 66668888, and the last three characters of the MAC address are: 1, 2 and 3 respectively, then the generated temporary connection password is: 66668888123.

[0141] S6. After the WIFI user device successfully connects to the target portable WIFI using the temporary connection password, a signal connection record of the WIFI user device is obtained, and an average fluctuation rate is calculated using the signal connection record.

[0142] Specifically, when the WIFI user device successfully connects to the target portable WIFI using the temporary connection password, the signal connection record of the WIFI user device is obtained, and the average fluctuation rate is calculated using the signal connection record, including:

[0143] When the WIFI user device successfully connects to the target portable WIFI using the temporary connection password, the signal connection record during the use is obtained by using the WIFI user device, wherein the signal connection record includes: x update fluctuation rates and x update fluctuation times, and the update fluctuation rates correspond to the update fluctuation times one by one;

[0144] The average fluctuation rate is calculated using x update fluctuation rates and x update fluctuation times. The calculation formula is as follows:

[0145]

[0146] in, is the average fluctuation rate, v i is the ith update fluctuation rate among the x update fluctuation rates, t i is the i-th update fluctuation time among x update fluctuation times, where 1≤i≤x, and i and x are integers.

[0147] It should be explained that the update fluctuation time and update fluctuation rate refer to the duration of each fluctuation of the portable WIFI signal and the network speed value at the beginning of each fluctuation during the use of the portable WIFI after the WIFI user device successfully connects to the portable WIFI. Under normal circumstances, the duration of the fluctuation signal is short, and the network speed value in the fluctuation signal varies more complexly. Therefore, in the embodiment of the present invention, only the network speed value at the beginning of the fluctuation is taken as the update fluctuation rate. The size of the average fluctuation rate can reflect the average value of the network speed when the signal is in a fluctuating state during the use of the portable WIFI.

[0148] S7. Calculate signal adjustment parameters using the average fluctuation rates corresponding to n WIFI user devices, use the signal adjustment parameters to update n signal constraint models in the target portable WIFI, obtain n signal adjustment models, use the n signal adjustment models to control the network signal transmitted by the target portable WIFI, and complete the signal adjustment of the portable WIFI.

[0149] Specifically, the method of calculating the signal adjustment parameter using the average fluctuation rate corresponding to the n WIFI user devices and updating the n signal constraint models in the target portable WIFI using the signal adjustment parameter to obtain the n signal adjustment models includes:

[0150] The formula for calculating the signal adjustment parameter is as follows:

[0151]

[0152] Where μ is the signal adjustment parameter, is the average fluctuation rate of the jth WIFI user equipment among n WIFI user equipments, where 1≤j≤n, and j and n are integers;

[0153] The signal adjustment parameters and the connection peak factor are used to calculate the updated peak factor. The calculation formula is as follows:

[0154] M0=M·μ

[0155] Among them, M0 is the update peak coefficient;

[0156] The connection peak coefficients in the n signal constraint models are all replaced by the update peak coefficients to obtain n signal adjustment models.

[0157] It should be understood that the signal adjustment parameter integrates the average fluctuation rate corresponding to n WIFI user devices, and calculates it with the original connection peak coefficient to obtain a parameter that is more in line with the signal state after connecting to the portable WIFI, which is the updated peak coefficient. Therefore, by replacing the connection peak coefficient in the original signal constraint model with the updated peak coefficient, the updated portable WIFI is more in line with the current situation, thereby improving the optimization of network performance, and further improving the user experience when using the portable WIFI.

[0158] The present invention is to solve the problem described in the background technology. The present invention receives a WIFI adjustment instruction and confirms a signal adjustment environment according to the WIFI adjustment instruction, wherein the signal adjustment environment includes: a power supply, n WIFI user devices, a WIFI carrier device and a portable WIFI, wherein 2≤n≤m, and n is an integer, and m is a preset connection threshold. The portable WIFI will send different network signals according to different WIFI user devices. It can be seen that the embodiment of the present invention ensures the smooth operation of all devices by constructing a complete signal adjustment environment, and provides an environment that is more in line with practical applications for subsequent signal adjustment links; WIFI user devices are extracted from the n WIFI user devices in sequence, and the extracted WIFI The user device performs the following operations: receiving the signal connection instruction initiated by the extracted WIFI user device, sending the signal connection instruction to the WIFI carrier device, and when the WIFI carrier device successfully receives the signal connection instruction, obtaining the device information of the WIFI user device, wherein the device information includes: MAC address, two-dimensional position coordinates. It can be seen that the embodiment of the present invention considers the differences between WIFI user devices before processing each WIFI user device, and then different device information can be obtained according to different WIFI user devices, laying a foundation for providing high-quality network signals for WIFI user devices more accurately in the future; using the two-dimensional position coordinates and the pre-acquired portable WIFI The simulated signal distance is calculated by the position coordinates, and the simulated signal distance is used to set the signal transmission frequency band of the portable WIFI to obtain the target portable WIFI. It can be seen that the embodiment of the present invention optimizes the signal transmission frequency band by simulating the signal distance to ensure that each WIFI user device can receive the most suitable network signal and realize automatic signal adjustment; the historical connection record of the WIFI user device is obtained, and a signal constraint model of the WIFI user device is generated according to the historical connection record. The historical connection data is used to analyze the usage mode and demand of the WIFI user device to generate a personalized signal constraint model, so that the signal adjustment is more intelligent and accurate to meet the needs of different WIFI user devices; the signal constraint model is used to activate the target portable WIFI At the same time, a temporary connection password is generated according to the MAC address of the WIFI user device, and the temporary connection password is sent to the WIFI user device. According to the MAC addresses of different WIFI user devices, a temporary connection password unique to each WIFI user device is generated to ensure the security and convenience of the connection; when the WIFI user device successfully connects to the target portable WIFI using the temporary connection password, the signal connection record of the WIFI user device is obtained, and the average fluctuation rate is calculated using the signal connection record. By recording the signal connection data after the connection in real time, the signal connection stability and fluctuation of the device during the use of the portable WIFI are monitored, and the average fluctuation rate is calculated to provide data support for subsequent signal adjustments;The signal adjustment parameters are calculated using the average fluctuation rates corresponding to n WIFI user devices, and the n signal constraint models in the target portable WIFI are updated using the signal adjustment parameters to obtain n signal adjustment models. The network signals transmitted by the target portable WIFI are controlled using the n signal adjustment models to complete the signal adjustment of the portable WIFI. By integrating the average fluctuation rates of multiple devices, the previous signal constraint model is readjusted to obtain a signal adjustment model that is more in line with the current connection state, and the signal channel allocation is readjusted through the signal adjustment model to ensure that each WIFI user device can obtain the best network performance. Therefore, the present invention can realize intelligent optimization of network performance. ;

[0159] like Figure 2 , which is a functional module diagram of a signal adjustment system based on portable WIFI provided by an embodiment of the present invention.

[0160] The portable WIFI-based signal adjustment system 100 of the present invention can be installed in an electronic device. According to the functions to be implemented, the portable WIFI-based signal adjustment system 100 may include an adjustment environment startup module 101, a constraint model construction module 102, a fluctuation rate calculation module 103 and an adjustment data integration module 104. The module of the present invention can also be referred to as a unit, which refers to a series of computer program segments that can be executed by an electronic device processor and can complete fixed functions, which are stored in the memory of the electronic device.

[0161] The adjustment environment starting module 101 is used to receive a WIFI adjustment instruction and confirm a signal adjustment environment according to the WIFI adjustment instruction, wherein the signal adjustment environment includes: a power source, n WIFI user devices, a WIFI carrier device and a portable WIFI, wherein 2≤n≤m, and n is an integer, and m is a preset connection threshold, and the portable WIFI will send different network signals according to different WIFI user devices;

[0162] The constraint model building module 102 is used to extract WIFI user devices from the n WIFI user devices in sequence, and perform the following operations on the extracted WIFI user devices: receiving a signal connection instruction initiated by the extracted WIFI user device, sending the signal connection instruction to the WIFI carrier device, and when the WIFI carrier device successfully receives the signal connection instruction, obtaining device information of the WIFI user device, wherein the device information includes: MAC address, two-dimensional position coordinates; using the two-dimensional position coordinates and the pre-acquired portable WIFI position coordinates to calculate the simulated signal distance, using the simulated signal distance to set the signal transmission frequency band of the portable WIFI, and obtaining the target portable WIFI; obtaining the historical connection record of the WIFI user device, and generating a signal constraint model of the WIFI user device according to the historical connection record;

[0163] The fluctuation rate calculation module 103 is used to activate the target portable WIFI using the signal constraint model, generate a temporary connection password according to the MAC address of the WIFI user device, and send the temporary connection password to the WIFI user device; when the WIFI user device successfully connects to the target portable WIFI using the temporary connection password, obtain the signal connection record of the WIFI user device, and calculate the average fluctuation rate using the signal connection record;

[0164] The adjustment data integration module 104 is used to calculate the signal adjustment parameters using the average fluctuation rates corresponding to the n WIFI user devices, and use the signal adjustment parameters to update the n signal constraint models in the target portable WIFI to obtain n signal adjustment models, and use the n signal adjustment models to control the network signal transmitted by the target portable WIFI to complete the signal adjustment of the portable WIFI.

[0165] In detail, each module in the portable WIFI-based signal adjustment system 100 in the embodiment of the present invention is used in the same manner as described above. Figure 1 The signal adjustment method based on portable WIFI has the same technical means as described in the above, and can produce the same technical effects, so it will not be repeated here.

[0166] like Figure 3 , which is a schematic diagram of the structure of an electronic device for implementing a signal adjustment method based on portable WIFI provided by an embodiment of the present invention.

[0167] The electronic device 1 may include a processor 10, a memory 11 and a bus 12, and may also include a computer program stored in the memory 11 and executable on the processor 10, such as a signal adjustment method program based on portable WIFI.

[0168] Among them, the memory 11 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, mobile hard disk, multimedia card, card-type memory (for example: SD or DX memory, etc.), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 11 can be an internal storage unit of the electronic device 1, such as a mobile hard disk of the electronic device 1. In other embodiments, the memory 11 can also be an external storage device of the electronic device 1, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device 1. Further, the memory 11 also includes an internal storage unit of the electronic device 1 and an external storage device. The memory 11 can not only be used to store application software and various types of data installed in the electronic device 1, such as the code of the signal adjustment method program based on portable WIFI, but also can be used to temporarily store data that has been output or is to be output.

[0169] The processor 10 may be composed of an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips, etc. The processor 10 is the control core (Control Unit) of the electronic device, and uses various interfaces and lines to connect various components of the entire electronic device, and executes or executes programs or modules stored in the memory 11 (such as a signal adjustment method program based on portable WIFI, etc.), and calls data stored in the memory 11 to execute various functions of the electronic device 1 and process data.

[0170] The bus 12 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus 12 may be divided into an address bus, a data bus, a control bus, etc. The bus 12 is configured to realize connection and communication between the memory 11 and at least one processor 10, etc.

[0171] Figure 3 Only an electronic device with components is shown, and those skilled in the art will understand that Figure 3The structure shown does not constitute a limitation on the electronic device 1, and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.

[0172] For example, although not shown, the electronic device 1 may also include a power source (such as a battery) for supplying power to each component. Preferably, the power source may be logically connected to the at least one processor 10 through a power management device, so that the power management device can realize functions such as charging management, discharging management, and power consumption management. The power source may also include any components such as one or more DC or AC power sources, recharging devices, power failure detection circuits, power converters or inverters, power status indicators, etc. The electronic device 1 may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.

[0173] Furthermore, the electronic device 1 may also include a network interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is generally used to establish a communication connection between the electronic device 1 and other electronic devices.

[0174] Optionally, the electronic device 1 may further include a user interface, which may be a display, an input unit (such as a keyboard), or a standard wired interface or a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode) touch device. The display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device 1 and to display a visual user interface.

[0175] It should be understood that the embodiment is for illustration only and the scope of the patent application is not limited to this structure.

[0176] The signal adjustment method program based on the portable WIFI stored in the memory 11 of the electronic device 1 is a combination of multiple instructions. When running in the processor 10, it can achieve:

[0177] Receive a WIFI adjustment instruction, and determine a signal adjustment environment according to the WIFI adjustment instruction, wherein the signal adjustment environment includes: a power source, n WIFI user devices, a WIFI carrier device, and a portable WIFI, wherein 2≤n≤m, and n is an integer, and m is a preset connection threshold, and the portable WIFI will send different network signals according to different WIFI user devices;

[0178] Extract WIFI user equipments from the n WIFI user equipments in sequence, and perform the following operations on the extracted WIFI user equipments:

[0179] Receiving the signal connection instruction initiated by the extracted WIFI user device, sending the signal connection instruction to the WIFI carrier device, and obtaining the device information of the WIFI user device after the WIFI carrier device successfully receives the signal connection instruction, wherein the device information includes: MAC address, two-dimensional location coordinates;

[0180] The simulated signal distance is calculated using the two-dimensional position coordinates and the pre-acquired portable WIFI position coordinates, and the signal transmission frequency band of the portable WIFI is set using the simulated signal distance to obtain the target portable WIFI;

[0181] Acquire historical connection records of WIFI user equipment, and generate a signal constraint model of the WIFI user equipment according to the historical connection records;

[0182] While activating the target portable WIFI using the signal constraint model, a temporary connection password is generated according to the MAC address of the WIFI user device, and the temporary connection password is sent to the WIFI user device;

[0183] When the WIFI user device successfully connects to the target portable WIFI using the temporary connection password, the signal connection record of the WIFI user device is obtained, and the average fluctuation rate is calculated using the signal connection record;

[0184] The signal adjustment parameters are calculated using the average fluctuation rates corresponding to n WIFI user devices, and the signal adjustment parameters are used to update the n signal constraint models in the target portable WIFI to obtain n signal adjustment models. The n signal adjustment models are used to control the network signal transmitted by the target portable WIFI to complete the signal adjustment of the portable WIFI.

[0185] Specifically, the specific implementation method of the processor 10 for the above instructions can refer to Figures 1 to 3 The description of the relevant steps in the corresponding embodiments will not be repeated here.

[0186] Furthermore, if the module / unit integrated in the electronic device 1 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. The computer-readable storage medium can be volatile or non-volatile. For example, the computer-readable medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM).

[0187] The present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor of an electronic device, the computer program can implement:

[0188] Receive a WIFI adjustment instruction, and determine a signal adjustment environment according to the WIFI adjustment instruction, wherein the signal adjustment environment includes: a power source, n WIFI user devices, a WIFI carrier device, and a portable WIFI, wherein 2≤n≤m, and n is an integer, and m is a preset connection threshold, and the portable WIFI will send different network signals according to different WIFI user devices;

[0189] Extract WIFI user equipments from the n WIFI user equipments in sequence, and perform the following operations on the extracted WIFI user equipments:

[0190] Receiving the signal connection instruction initiated by the extracted WIFI user device, sending the signal connection instruction to the WIFI carrier device, and obtaining the device information of the WIFI user device after the WIFI carrier device successfully receives the signal connection instruction, wherein the device information includes: MAC address, two-dimensional location coordinates;

[0191] The simulated signal distance is calculated using the two-dimensional position coordinates and the pre-acquired portable WIFI position coordinates, and the signal transmission frequency band of the portable WIFI is set using the simulated signal distance to obtain the target portable WIFI;

[0192] Acquire historical connection records of WIFI user equipment, and generate a signal constraint model of the WIFI user equipment according to the historical connection records;

[0193] While activating the target portable WIFI using the signal constraint model, a temporary connection password is generated according to the MAC address of the WIFI user device, and the temporary connection password is sent to the WIFI user device;

[0194] When the WIFI user device successfully connects to the target portable WIFI using the temporary connection password, the signal connection record of the WIFI user device is obtained, and the average fluctuation rate is calculated using the signal connection record;

[0195] The signal adjustment parameters are calculated using the average fluctuation rates corresponding to n WIFI user devices, and the signal adjustment parameters are used to update the n signal constraint models in the target portable WIFI to obtain n signal adjustment models. The n signal adjustment models are used to control the network signal transmitted by the target portable WIFI to complete the signal adjustment of the portable WIFI.

[0196] In the several embodiments provided by the present invention, it should be understood that the disclosed devices, systems and methods can be implemented in other ways. For example, the system embodiments described above are only illustrative, and actual implementation may have other division methods.

[0197] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0198] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.

[0199] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.

[0200] In addition, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the system claim can also be implemented by one unit or device through software or hardware. The second and other words are used to indicate names, but not to indicate any particular order.

[0201] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.

Claims

1. A signal adjustment method based on portable WIFI, characterized in that: The method comprises: Receive a WIFI adjustment instruction, and determine a signal adjustment environment according to the WIFI adjustment instruction, wherein the signal adjustment environment includes: a power source, n WIFI user devices, a WIFI carrier device, and a portable WIFI, wherein 2≤n≤m, and n is an integer, and m is a preset connection threshold, and the portable WIFI will send different network signals according to different WIFI user devices; Extract WIFI user equipments from the n WIFI user equipments in sequence, and perform the following operations on the extracted WIFI user equipments: Receiving the signal connection instruction initiated by the extracted WIFI user device, sending the signal connection instruction to the WIFI carrier device, and obtaining the device information of the WIFI user device after the WIFI carrier device successfully receives the signal connection instruction, wherein the device information includes: MAC address, two-dimensional location coordinates; The simulated signal distance is calculated using the two-dimensional position coordinates and the pre-acquired portable WIFI position coordinates, and the signal transmission frequency band of the portable WIFI is set using the simulated signal distance to obtain the target portable WIFI; Acquire historical connection records of WIFI user equipment, and generate a signal constraint model of the WIFI user equipment according to the historical connection records; While activating the target portable WIFI using the signal constraint model, a temporary connection password is generated according to the MAC address of the WIFI user device, and the temporary connection password is sent to the WIFI user device; When the WIFI user device successfully connects to the target portable WIFI using the temporary connection password, the signal connection record of the WIFI user device is obtained, and the average fluctuation rate is calculated using the signal connection record; The signal adjustment parameters are calculated using the average fluctuation rates corresponding to n WIFI user devices, and the signal adjustment parameters are used to update the n signal constraint models in the target portable WIFI to obtain n signal adjustment models. The n signal adjustment models are used to control the network signal transmitted by the target portable WIFI to complete the signal adjustment of the portable WIFI.

2. The signal adjustment method according to claim 1, characterized in that: The receiving of the WIFI adjustment instruction and determining the signal adjustment environment according to the WIFI adjustment instruction includes: After receiving the WIFI adjustment instruction, starting the power supply; When the startup is successful, the n WIFI user devices and WIFI carrier devices are self-tested; When the self-test is passed, the parameters of the portable WIFI are set respectively until the parameter setting is successful, and a signal adjustment environment including a power source, n WIFI user devices, a WIFI carrier device and the portable WIFI is obtained.

3. The signal adjustment method according to claim 2, characterized in that: The analog signal distance is calculated using the two-dimensional position coordinates and the pre-acquired portable WIFI position coordinates, and the calculation formula is as follows: Among them, |X l | is the simulated signal distance, x1 and y1 are the x-axis coordinate and y-axis coordinate in the two-dimensional position coordinate, x0 and y0 are the x-axis coordinate and y-axis coordinate in the portable WIFI position coordinate, k is the preset weight coefficient, H is the preset coefficient and is related to the humidity in the environment.

4. The signal adjustment method according to claim 3, characterized in that: The method of using the simulated signal distance to set the signal transmission frequency band of the portable WIFI to obtain the target portable WIFI includes: comparing the simulated signal distance with a preset distance threshold; If the simulated signal distance is greater than or equal to the preset distance threshold, the signal transmission frequency band of the portable WIFI is set to the 2.4 GHZ frequency band, and the target portable WIFI is obtained; If the simulated signal distance is less than the preset distance threshold, the signal transmission frequency band of the portable WIFI is set to the 5 GHZ frequency band to obtain the target portable WIFI.

5. The signal adjustment method according to claim 4, characterized in that: The obtaining of the historical connection record of the WIFI user equipment and generating the signal constraint model of the WIFI user equipment according to the historical connection record includes: Query the record of WIFI user equipment using the portable WIFI; When it is found that the WIFI user device has a record of using the portable WIFI, all records of using the portable WIFI are extracted to obtain a historical connection record; Performing data structuring operation on the historical connection records to obtain structured connection data, wherein the structured connection data includes total connection duration, average connection rate, balanced signal duration, balanced signal rate, peak signal duration, peak signal rate, fluctuation signal duration and fluctuation signal rate, and the sum of the balanced signal duration, the peak signal duration and the fluctuation signal duration is equal to the total connection duration; A signal constraint model of a WIFI user device is generated based on the structural connection data.

6. The signal adjustment method according to claim 5, characterized in that: The signal constraint model of the WIFI user equipment is generated based on the structural connection data, include: The representation method of structural connection data is as follows: Among them, D W Indicates the structure connection data corresponding to the WIFI user device, t w ,t p ,t max and t b are the total connection duration, balance signal duration, peak signal duration and fluctuation signal duration, respectively, v W 、v p 、v max 、v b They are the average connection rate, balanced signal rate, peak signal rate and fluctuating signal rate; According to the peak signal duration and peak signal rate in the structure connection data, the connection peak coefficient of the WIFI user equipment is calculated. The calculation formula is as follows: Wherein, M represents the connection peak coefficient, and t0 is the preset balance reference time; The structure connection data is used as the input data of the pre-built signal connection classification model to calculate the signal connection type of the WIFI user equipment, wherein the signal connection types include: high fluctuation type, low fluctuation type, low stability type and high stability type; The signal constraint model is constructed based on the signal connection type and the connection peak coefficient, wherein the signal constraint model includes four groups of constraint functions, wherein the four groups of constraint functions include: constraint function 1, constraint function 2, constraint function 3 and constraint function 4, and the four groups of constraint functions are as follows: Constraint function 1: If the signal connection type is high fluctuation type and the connection peak coefficient is less than the preset first signal threshold, the target portable WIFI stops sending network signals to the WIFI user device; Constraint function 2: if the signal connection type is low fluctuation type, and the connection peak coefficient is greater than or equal to the first signal threshold, and the connection peak coefficient is less than the preset second signal threshold, the target portable WIFI sets the channel for sending network signals to the WIFI user equipment to the first channel; Constraint function 3: if the signal connection type is low stability, and the connection peak coefficient is greater than or equal to the second signal threshold, and the connection peak coefficient is less than the preset third signal threshold, the target portable WIFI sets the channel for sending network signals to the WIFI user equipment to the second channel; Constraint function 4: If the signal connection type is a high stability type, and the connection peak coefficient is greater than or equal to the third signal threshold, the target portable WIFI sets the channel for sending network signals to the WIFI user equipment to the third channel.

7. The signal adjustment method according to claim 6, characterized in that: The generating of a temporary connection password according to the MAC address of the WIFI user device includes: A temporary connection password is obtained using a pre-built combination rule and a MAC address, wherein the combination rule is: the preset WIFI password is used as the first password of the temporary connection password, the last three characters of the MAC address are used as the second password of the temporary connection password, and the temporary connection password is generated by sorting the first and second passwords.

8. The signal adjustment method according to claim 7, characterized in that: When the WIFI user device successfully connects to the target portable WIFI using the temporary connection password, the signal connection record of the WIFI user device is obtained, and the average fluctuation rate is calculated using the signal connection record, including: When the WIFI user device successfully connects to the target portable WIFI using the temporary connection password, the signal connection record during the use is obtained by using the WIFI user device, wherein the signal connection record includes: x update fluctuation rates and x update fluctuation times, and the update fluctuation rates correspond to the update fluctuation times one by one; The average fluctuation rate is calculated using x update fluctuation rates and x update fluctuation times. The calculation formula is as follows: in, is the average fluctuation rate, v i is the ith update fluctuation rate among the x update fluctuation rates, t i is the i-th update fluctuation time among x update fluctuation times, where 1≤i≤x, and i and x are integers.

9. The signal adjustment method according to claim 8, characterized in that: The method of calculating the signal adjustment parameter by using the average fluctuation rate corresponding to the n WIFI user devices and updating the n signal constraint models in the target portable WIFI by using the signal adjustment parameter to obtain the n signal adjustment models includes: The formula for calculating the signal adjustment parameter is as follows: Where μ is the signal adjustment parameter, is the average fluctuation rate of the jth WIFI user equipment among n WIFI user equipments, where 1≤j≤n, and j and n are integers; The signal adjustment parameters and the connection peak factor are used to calculate the updated peak factor. The calculation formula is as follows: M0=M·μ Among them, M0 is the update peak coefficient; The connection peak coefficients in the n signal constraint models are all replaced by the update peak coefficients to obtain n signal adjustment models.

10. A signal adjustment system based on portable WIFI, characterized in that: The system comprises: An adjustment environment start module is used to receive a WIFI adjustment instruction and confirm a signal adjustment environment according to the WIFI adjustment instruction, wherein the signal adjustment environment includes: a power source, n WIFI user devices, a WIFI carrier device and a portable WIFI, wherein 2≤n≤m, and n is an integer, and m is a preset connection threshold, and the portable WIFI will send different network signals according to different WIFI user devices; The constraint model building module is used to extract WIFI user devices from the n WIFI user devices in sequence, and perform the following operations on the extracted WIFI user devices: receiving a signal connection instruction initiated by the extracted WIFI user device, sending the signal connection instruction to the WIFI carrier device, and when the WIFI carrier device successfully receives the signal connection instruction, obtaining device information of the WIFI user device, wherein the device information includes: MAC address, two-dimensional position coordinates; using the two-dimensional position coordinates and the pre-acquired portable WIFI position coordinates to calculate the simulated signal distance, using the simulated signal distance to set the signal transmission frequency band of the portable WIFI, and obtaining the target portable WIFI; obtaining the historical connection record of the WIFI user device, and generating a signal constraint model of the WIFI user device according to the historical connection record; The fluctuation rate calculation module is used to activate the target portable WIFI using the signal constraint model, generate a temporary connection password according to the MAC address of the WIFI user device, and send the temporary connection password to the WIFI user device; when the WIFI user device successfully connects to the target portable WIFI using the temporary connection password, obtain the signal connection record of the WIFI user device, and calculate the average fluctuation rate using the signal connection record; The adjustment data integration module is used to calculate the signal adjustment parameters using the average fluctuation rates corresponding to the n WIFI user devices, and use the signal adjustment parameters to update the n signal constraint models in the target portable WIFI to obtain n signal adjustment models. The n signal adjustment models are used to control the network signal transmitted by the target portable WIFI to complete the signal adjustment of the portable WIFI.

Citation Information

Patent Citations

  • Optimization on multiple timescales in a distributed WI-FI system

    US20170272313A1

  • Network access method and system

    WO2022089030A1