Data transmission method, electronic device and computer-readable storage device

Through the wireless access point adjusting the signal transmission and reception parameters according to the signal strength of the target device, the problem of data throughput reduction caused by frequency interference in the wireless LAN is solved, and effective signal coverage adjustment and data throughput improvement is achieved.

CN115022921BActive Publication Date: 2025-06-27ZHEJIANG DAHUA TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210593887.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-27
Publication Date
2025-06-27
Estimated Expiration
2042-05-27

AI Technical Summary

Technical Problem

Frequency interference in wireless LANs leads to a decrease in data throughput, especially when multiple AP and STA devices exist in the same regional environment, interference cannot be effectively avoided by reselecting the channel.

Method used

The signal strength of the target device is determined through the wireless access point, and the signal transmission and reception parameters of the wireless access point are adjusted according to the signal strength, including signal transmission power and reception sensitivity, to change the signal coverage range of the wireless access point and avoid interference with other wireless devices.

Benefits of technology

By adjusting the signal transmission and reception parameters of the wireless access point, signal interference can be effectively avoided, the data throughput of the device can be improved without considering channel selection and occupation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115022921B_ABST
    Figure CN115022921B_ABST
Patent Text Reader

Abstract

The present application discloses a data transmission method. The method includes: a first wireless access point determining the signal strength of a first device that needs to communicate; correspondingly adjusting the signal transceiver parameters of the first wireless access point according to the signal strength of the first device; wherein the signal transceiver parameters include signal transmission power and / or signal reception sensitivity; and communicating with the first device based on the adjusted signal transceiver parameters. The present application also discloses an electronic device and a computer-readable storage device. By the above means, the present application can avoid channel interference in a wireless local area network and improve the data throughput of the device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communications, and in particular, to a data transmission method, an electronic device, and a computer-readable storage device. Background Art

[0002] A wireless local area network (WLAN) is a local area network that does not use wires or any transmission cables for connection, and uses radio waves as the medium for data transmission. A wireless local area network generally includes an AP (Access Point, wireless access point) and a wireless CPE (Customer Premise Equipment, client device) associated therewith. The wireless CPE is also referred to as an STA (Station, site or terminal). The STA accesses the wireless network through the AP. The wireless local area network technology has now been widely applied to daily activities such as homes and enterprises. With the increase in the application of the local area network, the impact of its wireless interference problem on the quality of network services has become increasingly prominent.

[0003] The problem of wireless interference can be divided into WLAN interference and non-WLAN interference. A wireless signal sent by an interference source that conforms to the 802.11 standard is called WLAN interference. The rest are non-WLAN interferences. To avoid WLAN interference, before sending data, a device will first detect whether the channel is idle. This process is called CCA (Clear Channel Assessment, idle channel detection). Only when there is no other signal on the current channel, it will be determined that the current signal is not occupied and can be used for data transmission. Otherwise, the timing of sending will be delayed, and the CCA process will be re-executed in the subsequent sending window to determine whether data can be sent. However, when the channel is occupied for a long time, the long waiting time will cause the service throughput to decrease and affect the user experience. Therefore, the device can also re-select other channels for data transmission. However, due to the increase in the application of wireless local area networks, their deployment is becoming more and more extensive, and there may be many AP and STA devices in the same regional environment. Taking 2.4G as an example, there are 14 channels in this frequency band, but only three channels, namely 1, 6, and 11, do not interfere with each other. When there are four or more APs in the same regional environment, it is impossible to avoid the interference problem by re-selecting channels. Especially when the APs are hidden nodes to each other, the reduction in concurrent data throughput caused by them is more obvious. Summary of the Invention

[0004] The main purpose of the present application is to provide a data transmission method, an electronic device, and a computer-readable storage device, which can solve the technical problem of reduced data throughput caused by frequency interference in a wireless local area network.

[0005] To solve the above technical problems, the first technical solution adopted by this application is: to provide a data transmission method. The method includes: a first wireless access point determines the signal strength of a first device that needs to communicate; according to the signal strength of the first device, correspondingly adjusts the signal transceiver parameters of the first wireless access point; wherein, the signal transceiver parameters include signal transmission power and / or signal reception sensitivity; communicates with the first device based on the adjusted signal transceiver parameters.

[0006] To solve the above technical problems, the second technical solution adopted by this application is: to provide a data transmission method. The method includes: the first device receives a communication request sent by the first wireless access point; wherein, the communication request is sent by the first wireless access point based on the adjusted signal transceiver parameters; sends a response message to the first wireless access point; and performs data interaction with the first wireless access point.

[0007] To solve the above technical problems, the third technical solution adopted by this application is: to provide an electronic device. The electronic device includes a memory and a processor, and the memory is used to store program data, and the program data can be executed by the processor to implement the method described in the first technical solution.

[0008] To solve the above technical problems, the fourth technical solution adopted by this application is: to provide an electronic device. The electronic device includes a memory and a processor, and the memory is used to store program data, and the program data can be executed by the processor to implement the method described in the second technical solution.

[0009] To solve the above technical problems, the fifth technical solution adopted by this application is: to provide a computer-readable storage device. The computer-readable storage device stores program data that can be executed by a processor to implement the methods described in the first and second technical solutions.

[0010] The beneficial effect of this application is: different from the prior art, this application obtains the signal strength of the target device for the wireless access point through the wireless access point, and adjusts the signal transceiver parameters of the wireless access point according to the signal strength of the target device, rather than always keeping the wireless access point maintaining the maximum signal transceiver parameters. Based on the signal strength of the target device, on the basis of maintaining a normal communication connection with the target device, the signal transceiver parameters of the wireless access point are adjusted, thereby changing the signal coverage area of the wireless access point, separating the coverage area of the wireless access point from other wireless devices, avoiding receiving messages from other wireless devices, and not sending messages to other wireless devices either. The communication connection with other wireless devices is disconnected geographically, thereby avoiding signal interference, and there is no need to consider channel selection and channel occupancy, improving the data throughput of the device. Description of the Drawings

[0011] To more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the accompanying drawings required for the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other accompanying drawings can be obtained based on these drawings.

[0012] Figure 1 It is a schematic flowchart of the first embodiment of the data transmission method of this application;

[0013] Figure 2 It is a schematic flowchart of the second embodiment of the data transmission method of this application;

[0014] Figure 3 It is a schematic flowchart of the third embodiment of the data transmission method of this application;

[0015] Figure 4 It is a schematic flowchart of the fourth embodiment of the data transmission method of this application;

[0016] Figure 5 It is a schematic flowchart of the fifth embodiment of the data transmission method of this application;

[0017] Figure 6 It is a schematic diagram of the wireless access point adjusting signal transceiver parameters according to the signal strengths of the first device and the second device;

[0018] Figure 7 It is another schematic diagram of the wireless access point adjusting signal transceiver parameters according to the signal strengths of the first device and the second device;

[0019] Figure 8 It is a schematic flowchart of the sixth embodiment of the data transmission method of this application;

[0020] Figure 9 It is a schematic diagram of a column of communication connection status information of this application;

[0021] Figure 10 It is a schematic flowchart of the seventh embodiment of the data transmission method of this application;

[0022] Figure 11 It is a schematic flowchart of the eighth embodiment of the data transmission method of this application;

[0023] Figure 12 It is a schematic flowchart of the ninth embodiment of the data transmission method of this application;

[0024] Figure 13 It is a schematic flowchart of the tenth embodiment of the data transmission method of this application;

[0025] Figure 14It is a schematic flowchart of the eleventh embodiment of the data transmission method of the present application;

[0026] Figure 15 It is a schematic structural diagram of the first embodiment of the electronic device of the present application;

[0027] Figure 16 It is a schematic structural diagram of the second embodiment of the electronic device of the present application;

[0028] Figure 17 It is a schematic structural diagram of an embodiment of the computer-readable storage device of the present application. Detailed implementation manners

[0029] Next, the technical solutions in the embodiments of the present application will be clearly and completely described with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

[0030] The terms "first", "second", etc. in the present application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally further includes steps or units not listed, or optionally further includes other steps or units inherent to these processes, methods, products, or devices.

[0031] Referring to

[0032] Referring to Figure 1 , Figure 1 is a schematic flowchart of the first embodiment of the data transmission method of the present application. It includes the following steps:

[0033] S11: The first wireless access point determines the signal strength of the first device that needs to communicate.

[0034] A wireless access point can determine the signal strength of a device for the wireless access point based on the data received from the device. The signal strength is generally expressed in dBm (decibel relative to one milliwatt), which is a pure counting unit representing the system gain for an input power of one milliwatt. By calculating the dBm of the received data, the signal strength can be quantified, thereby determining the signal strength of the target device at the location of the current wireless access point and determining whether a normal communication connection can be established.

[0035] S12: Correspondingly adjust the signal transceiver parameters of the first wireless access point according to the signal strength of the first device.

[0036] The signal transceiver parameters include signal transmission power and / or signal reception sensitivity. There are generally two measurement and measurement standards for message transmission, power (W) or gain (dBm). The two can be converted to each other. And the reception of a message is represented by signal sensitivity, which represents the minimum signal strength that the receiving end of a wireless device can receive a message. The signal sensitivity can still be expressed in dBm. The signal transmission power can represent the maximum range that a wireless device can reach when the wireless access point can make other wireless devices receive the sent message, and the signal reception sensitivity can represent the maximum range that a wireless device can reach when the wireless access point can receive the message sent by other wireless devices. According to the obtained signal strength of the first device, the signal transmission power and / or signal reception sensitivity are adjusted, thereby adjusting the signal coverage range of the wireless access point.

[0037] S13: Communicate with the first device based on the adjusted signal transceiver parameters.

[0038] By adjusting the signal transceiver parameters, the signal coverage range of the wireless access point is changed, so that the wireless access point will not receive the messages sent by other wireless devices, and the messages it sends will not be received by the wireless devices that are currently interacting with other wireless access points, avoiding signal interference. Therefore, the channel can be freely selected for data interaction under the adjusted signal transceiver parameters without considering the interference of the same frequency or adjacent frequency of the channel.

[0039] In summary, in this embodiment, the signal strength of the target device with respect to the wireless access point is obtained through the wireless access point, and the signal transceiver parameters of the wireless access point are adjusted based on the signal strength of the target device, rather than always maintaining the maximum signal transceiver parameters of the wireless access point. Based on the signal strength of the target device, on the basis of maintaining a normal communication connection with the target device, the signal transceiver parameters of the wireless access point are adjusted, thereby changing the signal coverage range of the wireless access point, separating the coverage area of the wireless access point from that of other wireless devices, avoiding the situation of receiving messages from other wireless devices, and also preventing the situation of sending messages to other wireless devices. The communication connection with other wireless devices is disconnected geographically, thereby avoiding signal interference, and there is no need to consider the selection and occupancy of channels, improving the data throughput of the device.

[0040] Refer to Figure 2 , Figure 2 which is a schematic flowchart of the second embodiment of the data transmission method of this application. This method is a further expansion of step S12. It includes the following steps:

[0041] S21: Determine whether an acknowledgment message from the second device is received.

[0042] Generally, in a local area network, the wireless access point sends a communication request to the target device, and in response to the communication request sent by the wireless access point, the target device sends an acknowledgment message to the wireless access point, so that the two perform data interaction on the channel. However, if the target device is within the signal coverage of multiple wireless access points, the acknowledgment message it sends may be received by other wireless access points. Other wireless access points will determine based on the address of the acknowledgment message that there is a wireless device within its coverage area that is performing data communication with a non-self wireless access point. If other wireless access points also want to perform data communication now, it will cause frequency band interference to it due to channel reasons, affecting its data communication. Therefore, before the wireless access point wants to communicate with the target device and sends a communication request to the target device, first determine whether an acknowledgment message from other devices is received, and based on this, determine whether there is data interaction between wireless devices within its coverage area and other wireless access points. If it is determined that an acknowledgment message from other devices is received, it indicates that there is data communication between other wireless access points within the signal coverage area, and step S22 is executed. If it is determined that no acknowledgment message from other devices is received, it indicates that there is no data communication between other wireless access points within the signal coverage area, and step S23 is executed.

[0043] S22: Correspondingly adjust the signal transceiver parameters of the first wireless access point according to the acknowledgment message sent by the second device and the signal strength of the first device.

[0044] When it is determined that there is a wireless device in the signal coverage area that is communicating data with other wireless access points, calculate its signal strength based on the response information, and combine it with the signal strength of the first device to adjust the signal transceiver parameters of the first wireless access point, change the signal coverage area of the first wireless access point, and avoid frequency band interference.

[0045] S23: Correspondingly adjust the signal transceiver parameters of the first wireless access point according to the signal strength of the first device.

[0046] When it is determined that there is no wireless device in the signal coverage area that is communicating data with other wireless access points, just select the signal transceiver parameters of the first wireless access point according to the signal strength of the first device. Its corresponding signal coverage area can cover the first device, and the maximum can reach the maximum signal coverage area that the first wireless access point can reach.

[0047] Refer to Figure 3 , Figure 3 FIG. is a schematic flowchart of the third embodiment of the data transmission method of the present application. This method is a further expansion of step S23. It includes the following steps:

[0048] S31: Adjust the signal transceiver parameters of the first wireless access point to establish a communication connection between the first wireless access point and the first device.

[0049] When it is determined that there is no wireless device in the signal coverage area that is communicating data with other wireless access points, and only adjust the signal transceiver parameters of the wireless access point according to the signal strength of the first device, the signal strength of the first device represents the minimum transmission power for the wireless access point to send a message and enable the first device to receive it, or the minimum signal reception sensitivity for the first device to send a message and enable the first wireless access point to receive it. Therefore, the signal transmission power and / or signal reception sensitivity of the wireless access point is greater than the signal strength of the first device. That is, it indicates that the signal coverage area of the first wireless access point covers the first device. The signal transmission power and / or signal reception sensitivity can be adjusted up to the signal transmission power and / or signal reception sensitivity corresponding to the maximum signal coverage area that the wireless access point can reach. Of course, when using the new signal transceiver parameters, there should be no response information from other wireless devices received, otherwise execute step S22.

[0050] Refer to Figure 4 , Figure 4 FIG. is a schematic flowchart of the fourth embodiment of the data transmission method of the present application. This method is a further expansion of step S22. It includes the following steps:

[0051] S41: Determine whether the signal strength of the response information sent by the second device is greater than the signal strength of the first device.

[0052] When it is determined that there is a wireless device in the signal coverage range communicating data with other wireless access points, calculate the signal strength of the second device relative to the first wireless access point based on the response information, and compare it with the signal strength of the first device. If the signal strength of the second device is less than the signal strength of the first device, then step S42 is executed.

[0053] S42: Corresponding adjust the signal transceiver parameters of the first wireless access point according to the signal strength of the response information sent by the second device and the signal strength of the first device.

[0054] When the wireless access point receives a message sent by a device, the signal strength of the device represents the minimum signal transmission power for the wireless access point to send a message and enable the device to receive it, or the minimum signal reception sensitivity for the device to send a message and enable the wireless access point to receive it. When the signal strength of the response information sent by the second device is less than the signal strength of the first device, it indicates that there is a signal transmission power range for the first wireless access point that enables the first device to receive the sent message but the second device cannot receive it, and there is a signal sensitivity range that enables the wireless access point to receive the message sent by the first device but not the message sent by the second device. Therefore, according to the signal strengths of the first device and the second device, the signal transmission power range and the signal sensitivity range can be obtained, and the signal transceiver parameters of the first wireless access point are adjusted according to this range.

[0055] If it is determined that the signal strength of the second device is greater than the signal strength of the first device, it indicates that there is no such signal transmission power range and signal sensitivity range that enables the first wireless access point to receive the message sent by the first device but not the message sent by the second device, and the message it sends can be received by the first device but not by the second device. It can only wait for the next data transmission window to determine whether it can still receive the response information of the second device or whether the signal strength of its response information is greater than the signal strength of the first device.

[0056] Refer to Figure 5 , Figure 5 is a schematic flowchart of the fifth embodiment of the data transmission method of this application. This method is a further expansion of step S42. It includes the following steps:

[0057] S51: Adjust the signal transceiver parameters of the first wireless access point to establish a communication connection between the first wireless access point and the first device and disconnect the communication connection with the second device.

[0058] When the signal strength of the response message sent by the second device is less than that of the first device, it indicates that there is a signal transmission power range for the first wireless access point such that the second device cannot receive the sent message, while the first device can receive the sent message. There is also a signal sensitivity range such that the wireless access point can receive the message sent by the first device but cannot receive the message sent by the second device. Adjust the signal transceiver parameters of the first wireless access point to within this signal transmission power range and signal reception sensitivity range, so that the first wireless access point can receive the message sent by the first device, cannot receive the message sent by the second device, and the sent message can be received by the first device but not by the second device.

[0059] Refer to Figure 6 , Figure 6 FIG. is a schematic diagram of a wireless access point adjusting signal transceiver parameters according to the signal strengths of a first device and a second device.

[0060] In this figure, AP1 operates on channel 1 and AP2 operates on channel 1.

[0061] At this time, AP1 wants to perform data interaction with STA1. AP1 sends a communication request to STA1. The communication request includes the communication addresses of AP1 and STA1. STA1 sends a response message. The response message includes the communication address of AP1. Since STA1 is within the signal coverage range of AP2, AP2 will receive the response message sent by STA1 and AP2 will remain silent. If AP2 and STA2 want to perform data interaction, then STA2 sends a communication request, and AP2 adjusts its signal transceiver parameters according to the signal strength of this communication request to send a response, and then performs request-response and interaction for data interaction according to the adjusted signal transceiver parameters. The signal coverage range corresponding to the adjusted signal transceiver parameters does not include STA1. The dashed line is the signal coverage range corresponding to the adjusted signal transceiver parameters of AP2. The solid line is the maximum signal coverage range of AP1 and AP2.

[0062] Refer to Figure 7 , Figure 7 FIG. is another schematic diagram of a wireless access point adjusting signal transceiver parameters according to the signal strengths of a first device and a second device.

[0063] In this figure, AP1 operates on channel 1 and AP2 operates on channel 1.

[0064] At this time, AP1 wants to interact with STA1 for data, and AP2 wants to interact with STA2 for data. However, both wireless nodes will receive the response information sent by the target device of the other party. Therefore, the signal transceiver parameters of itself are adjusted according to the signal strengths of STA1 and STA2, and its signal coverage range is reduced. The adjusted signal coverage ranges do not include the target devices of the other party. The dashed lines are the signal coverage ranges corresponding to AP1 and AP2 after adjusting the signal transceiver parameters. The solid lines are the maximum signal coverage ranges of AP1 and AP2.

[0065] Referring to Figure 8 , Figure 8 is a schematic flowchart of the sixth embodiment of the data transmission method of the present application. This method is a further extension of the above embodiment. It is applied before adjusting the signal transceiver parameters of the first wireless access point. It includes the following steps:

[0066] S61: Transmit and receive data for the same device based on different signal transceiver parameters.

[0067] Before adjusting the signal transceiver parameters of the wireless access point according to the signal strength, first test the communication connection status between the wireless access point and the same device under different signal transceiver parameters of the wireless access point. Fix the device at a certain position within the maximum signal coverage range of the wireless access point, that is, at this time, the signal strength of the device relative to the wireless access point is certain. Change the signal transceiver parameters of the wireless access point to adjust the signal coverage range of the wireless access point, and test the communication connection status through data interaction. The boundary value of the signal transceiver parameters at which the wireless access point is disconnected from the device can also be obtained under the signal strength of this device.

[0068] S62: Adjust the signal strength of the device relative to the first wireless access point to obtain the communication connection status information between the first wireless access point and the device based on different signal transceiver parameters under different signal strengths.

[0069] Adjust the position of the device relative to the wireless access point, or connect an attenuation line to change the signal strength of the device relative to the wireless access point. Continue to test the communication connection status under different signal strengths.

[0070] Referring to Figure 9 , Figure 9 is a schematic list of the communication connection status information. Among them, Px is the signal strength level, and Nx is the corresponding transmission power and receiving sensitivity level. Excellent, good, poor, and disconnected are the connection statuses of the communication links established between the wireless access point and the wireless device.

[0071] S63: Adjust the signal transceiver parameters of the first wireless access point according to the signal strength of the first device and the communication connection status information.

[0072] After obtaining the communication connection status information of the signal strength of each device under different signal transceiver parameter settings for a wireless device, based on the signal strength of the first device, search for the signal transceiver parameter values that can establish a normal communication connection with the first device in the communication connection status information, and adjust the current signal transceiver parameters accordingly.

[0073] Refer to Figure 10 , Figure 10 FIG. is a schematic flow chart of the seventh embodiment of the data transmission method of the present application. This method is a further expansion of step S11. It includes the following steps:

[0074] S71: Receive a communication request sent by the first device.

[0075] Generally, in a local area network, a wireless access point sends a communication request to a target device, and in response to the communication request sent by the wireless access point, the target device sends a response message to the wireless access point, so that the two perform data interaction on the channel. However, if the target device is within the signal coverage of multiple wireless access points, the response message it sends will be received by other wireless access points. Other wireless access points will determine based on the address of the response message that there is a wireless device within its coverage area communicating data with a non-self wireless access point. To avoid interfering with its data communication, at this time, other wireless access points will remain silent for a period of time, not send messages, and wait to determine whether they can still receive response messages with non-self addresses in the next time period.

[0076] Since it will affect the data communication of other access points, the wireless access point will not actively send a communication request in this case. Therefore, within this time period, the target device actively sends a communication request.

[0077] S72: Determine the signal strength of the first device according to the communication request.

[0078] When the wireless access point receives the communication request from the first device as the target device, it can determine the signal strength of the first device relative to the wireless access point according to its communication request, further adjust the signal transceiver parameters according to the signal strength of the first device, or adjust the signal transceiver parameters according to the signal strengths of the second device and the first device, and send a response message and subsequent data messages according to the adjusted signal transceiver parameters to avoid interfering with the second device.

[0079] Refer to Figure 11 , Figure 11 FIG. is a schematic flow chart of the eighth embodiment of the data transmission method of the present application. This method is a further expansion of step S13. It includes the following steps:

[0080] S81: Based on the adjusted signal transceiver parameters, send a communication request to the first device.

[0081] With the adjusted signal transceiver parameters, the wireless access node can disconnect the communication connection with the wireless device that is currently interacting with other wireless access nodes, avoid frequency band interference in the channel, and freely select a channel to send a communication request to the first device.

[0082] S82: Receive the response message from the first device.

[0083] After sending the communication request, the first device sends a response message based on the communication request to indicate that data communication can be performed.

[0084] S83: Perform data interaction with the first device.

[0085] Perform data interaction with the first device through the adjusted signal transceiver parameters.

[0086] Generally, the wireless access node is set with the maximum signal transceiver parameters to maintain the maximum signal coverage range. Therefore, after the interaction with the first device is completed, the wireless access point will adjust the signal transceiver parameters to the maximum value to maintain the maximum signal coverage range.

[0087] Refer to Figure 12 , Figure 12 which is the flowchart of the ninth embodiment of the data transmission method of this application.

[0088] S91: Prepare to send a communication request.

[0089] If the first wireless access point wants to perform data interaction with the first device, it first needs to send a communication request to it. Before sending the communication request, it is necessary to determine whether it will interfere with the data interaction of other wireless access points.

[0090] S92: Determine whether the response message from the second device is received.

[0091] If yes, execute step S93. If no, execute step S96.

[0092] S93: Determine whether the signal strength of the response message of the second device is greater than the signal strength of the first device.

[0093] If it is less, it indicates that sending a message currently will definitely interfere with the data interaction of the second device. Therefore, do not send a message and wait for the subsequent message sending window.

[0094] S94: Query the communication connection status information table according to the signal strengths of the first device and the second device.

[0095] S95: Determine whether there is a signal transceiver parameter gear that can establish a communication connection with the first device and disconnect the communication connection with the second device.

[0096] If not, it indicates that the first device and the second device cannot be distinguished, and sending messages will definitely interfere with the data interaction of the second device. Therefore, no message is sent, and the subsequent message sending window is waited for.

[0097] S96: Query the communication connection status information table according to the signal strength of the first device.

[0098] S97: Select the signal transceiver parameter gear that can establish a communication connection with the first device.

[0099] S98: Send a communication request.

[0100] After adjusting the signal transceiver parameters, send a communication request according to the transceiver parameters.

[0101] S99: Receive the response information of the first device and perform data interaction with the first device.

[0102] S100: Adjust the signal transceiver parameters to the maximum value.

[0103] For the same or similar steps in the above steps as those in the above embodiments, reference can be made to the descriptions in the above embodiments and will not be repeated here.

[0104] Refer to Figure 13 , Figure 13 is a schematic flowchart of the tenth embodiment of the data transmission method of the present application. This method is applied to the user equipment side. It includes the following steps:

[0105] S101: The first device receives a communication request sent by the first wireless access point.

[0106] This communication request is sent by the first wireless access point based on the adjusted signal transceiver parameters.

[0107] S102: Send a response message to the first wireless access point.

[0108] After receiving the communication request, send a response message to the first wireless access point based on the communication request to indicate that data communication can be performed.

[0109] S103: Perform data interaction with the first wireless access point.

[0110] The first wireless access point performs data interaction with the first device through the adjusted signal transceiver parameters.

[0111] Refer to Figure 14 , Figure 14 is a schematic flowchart of the eleventh embodiment of the data transmission method of the present application. This method is a further expansion of step S92. It includes the following steps:

[0112] S111: The first device determines whether it has received a response message.

[0113] When the first device receives a communication request from a wireless access point, it determines whether it has received a response message, and the response message can only be sent by other devices within the signal coverage of the first device in response to other wireless access points or in response to the communication request of the first wireless access point. If a response message is received or the address in the received response message is not the address of the first access point, step S112 is executed.

[0114] S112: Do not send a response message to the first wireless access point.

[0115] If a response message is received and the address therein is not the address of the first wireless access point, it indicates that there are other wireless devices within the signal coverage of the first device that are performing data interaction with a wireless access point other than the first wireless access point. If the first device performs data communication with the first wireless access point, it will interfere with other wireless devices. Therefore, the first device remains silent and does not send a response message at this time. After waiting for a period of time, it is determined whether a response message can still be received. If not, a response message is sent to the first wireless access point, or continuous monitoring is performed to determine whether a response message can be received. When a response message cannot be received, a response message is sent to the first wireless access point.

[0116] As Figure 15 shown, Figure 15 is a schematic structural diagram of an embodiment of the electronic device of the present application.

[0117] The electronic device includes a processor 110 and a memory 120.

[0118] The processor 110 controls the operation of the electronic device. The processor 110 can also be referred to as a CPU (Central Processing Unit, central processing unit). The processor 110 may be an integrated circuit chip with the ability to process signal sequences. The processor 110 can also be a general-purpose processor, a digital signal sequence processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.

[0119] The memory 120 stores the instructions and program data required for the operation of the processor 110.

[0120] The processor 110 is used to execute instructions to implement the method provided by any one of the first to ninth embodiments and possible combinations of the foregoing data transmission methods of the present application.

[0121] As shown Figure 16 in Figure 16 FIG. 2, which is a schematic structural diagram of a second embodiment of the electronic device according to the present application.

[0122] The electronic device includes a processor 210 and a memory 220.

[0123] The processor 210 controls the operation of the electronic device. The processor 210 may also be referred to as a CPU (Central Processing Unit). The processor 210 may be an integrated circuit chip with the ability to process signal sequences. The processor 110 may also be a general-purpose processor, a digital signal sequence processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0124] The memory 220 stores the instructions and program data required for the operation of the processor 210.

[0125] The processor 210 is used to execute instructions to implement the method provided by any one of the tenth to eleventh embodiments and possible combinations of the foregoing data transmission methods of the present application.

[0126] As shown Figure 17 in Figure 17 FIG. 3, which is a schematic structural diagram of an embodiment of a computer-readable storage device according to the present application.

[0127] An embodiment of the readable storage device of the present application includes a memory 310. The memory 310 stores program data, and when the program data is executed, it implements the method provided by any one of the embodiments and possible combinations of the data transmission methods of the present application.

[0128] The memory 310 may include a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disc, etc., which can store program instructions, or it may also be a server storing the program instructions. The server can send the stored program instructions to other devices for running, or it can also run the stored program instructions by itself.

[0129] In summary, in this application, the signal strength of the target device with respect to the wireless access point is obtained through the wireless access point, and the signal transceiver parameters of the wireless access point are adjusted based on the signal strength of the target device, rather than always maintaining the maximum signal transceiver parameters for the wireless access point. Based on the signal strength of the target device, on the basis of maintaining a normal communication connection with the target device, the signal transceiver parameters of the wireless access point are adjusted, thereby changing the signal coverage area of the wireless access point, separating the coverage area of the wireless access point from that of other wireless devices, avoiding the situation of receiving messages from other wireless devices, and also preventing the situation of sending messages to other wireless devices. The communication connection with other wireless devices is disconnected geographically, thereby avoiding signal interference, and there is no need to consider the selection and occupancy of channels, improving the data throughput of the device.

[0130] In several embodiments provided in this application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.

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

[0132] In addition, in each embodiment of this application, the functional units can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above integrated units can be implemented in the form of hardware or in the form of software functional units.

[0133] If the integrated units in the above-mentioned other embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods described in various embodiments of this application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs that can store program codes.

[0134] The above are only the embodiments of this application, and do not limit the patent scope of this application. Any equivalent structure or equivalent process transformation made by using the content of the specification and drawings of this application, or directly or indirectly applied in other related technical fields, shall be equally included in the patent protection scope of this application.

Claims

1. A data transmission method, characterized in that, The method includes: The first wireless access point determines the signal strength of the first device that needs to communicate; According to the signal strength of the first device, the signal transceiver parameters of the first wireless access point are correspondingly adjusted; wherein, the signal transceiver parameters include signal transmission power and / or signal reception sensitivity; Communicate with the first device based on the adjusted signal transceiver parameters; Among them, the corresponding adjustment of the signal transceiver parameters of the first wireless access point according to the signal strength of the first device includes: Determine whether an acknowledgment message from a second device is received; wherein, the acknowledgment message is used to respond to a communication request sent by the wireless access point; If so, according to the signal strength of the acknowledgment message sent by the second device and the signal strength of the first device, the signal transceiver parameters of the first wireless access point are correspondingly adjusted; If not, according to the signal strength of the first device, the signal transceiver parameters of the first wireless access point are correspondingly adjusted; Among them, the corresponding adjustment of the signal transceiver parameters of the first wireless access point according to the signal strength of the acknowledgment message sent by the second device and the signal strength of the first device includes: Determine whether the signal strength of the acknowledgment message sent by the second device is greater than the signal strength of the first device; If not, adjust the signal transceiver parameters of the first wireless access point so that the first wireless access point establishes a communication connection with the first device and disconnects the communication connection with the second device.

2. The method according to claim 1, wherein The corresponding adjustment of the signal transceiver parameters of the first wireless access point according to the signal strength of the first device includes: Adjust the signal transceiver parameters of the first wireless access point so that the first wireless access point establishes a communication connection with the first device.

3. The method according to claim 1, characterized in that, The first wireless access point determines the signal strength of the first device that needs to communicate, including: Receive a communication request sent by the first device; Determine the signal strength of the first device according to the communication request.

4. The method according to claim 1, characterized in that Before the corresponding adjustment of the signal transceiver parameters of the first wireless access point according to the signal strength of the first device, it further includes: Send and receive data for the same device based on different signal transceiver parameters; Adjust the signal strength of the device for the first wireless access point to obtain the communication connection status information between the first wireless access point and the device based on different signal transceiver parameters under different signal strengths; Adjust the signal transceiver parameters of the first wireless access point according to the signal strength of the first device and the communication connection status information.

5. The method according to claim 1, wherein The communication with the first device based on the adjusted signal transceiver parameters includes: Send a communication request to the first device based on the adjusted signal transceiver parameters; Receive an acknowledgment message from the first device; Perform data interaction with the first device.

6. A data transmission method, characterized in that, The method includes: The first device receives a communication request sent by the first wireless access point; wherein, the communication request is sent by the first wireless access point based on adjusted signal transceiver parameters, and the first wireless access point correspondingly adjusts the signal transceiver parameters of the first wireless access point according to the signal strength of the first device that needs to communicate. Send a response message to the first wireless access point; Perform data interaction with the first wireless access point; Among them, the first wireless access point correspondingly adjusts the signal transceiver parameters of the first wireless access point according to the signal strength of the first device that needs to communicate, including: The first wireless access point determines whether it has received a response message from the second device; wherein, the response message is used to respond to the communication request sent by the wireless access point. If so, the first wireless access point correspondingly adjusts the signal transceiver parameters of the first wireless access point according to the signal strength of the response message sent by the second device and the signal strength of the first device; If not, the first wireless access point correspondingly adjusts the signal transceiver parameters of the first wireless access point according to the signal strength of the first device; Among them, the first wireless access point correspondingly adjusts the signal transceiver parameters of the first wireless access point according to the signal strength of the response message sent by the second device and the signal strength of the first device, including: The first wireless access point determines whether the signal strength of the response message sent by the second device is greater than the signal strength of the first device; If not, the first wireless access point adjusts the signal transceiver parameters of the first wireless access point so that the first wireless access point establishes a communication connection with the first device and disconnects the communication connection with the second device.

7. The method according to claim 6, wherein Before sending the response message to the first wireless access point, it further includes: The first device determines whether it has received a response message; wherein, the address in the response message is not the address of the first wireless access point. If so, do not send a response message to the first wireless access point.

8. An electronic device, characterized in that, It includes a memory and a processor. The memory is used to store program data, and the program data can be executed by the processor to implement the method according to any one of claims 1-5.

9. An electronic device, characterized in that, It includes a memory and a processor. The memory is used to store program data, and the program data can be executed by the processor to implement the method according to any one of claims 6-7.

10. A computer-readable storage device, characterized in that, It stores program data that can be executed by a processor to implement the method according to any one of claims 1-7.

Citation Information

Patent Citations

  • Method and device for adjusting transmitting power of access point

    CN105338588A

  • Method for solving WiFi channel interference and related product

    CN110062405A

  • Method and device for adjusting power of wireless access point (AP)

    CN112383955A