Communication control method and electronic equipment

By distinguishing the mobility status of devices and using device capability information or message detection results to determine communication parameters, the problem of transmission power mismatch in the local area network is solved, and the accuracy and efficiency of communication parameters are improved.

CN120659137APending Publication Date: 2025-09-16LENOVO (BEIJING) LTD
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN202511072264.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-31
Publication Date
2025-09-16

AI Technical Summary

Technical Problem

In a local area network, the transmit power determined by one's own device based on the signal strength is too high or too low, resulting in energy waste or the signal failing to reach the other device. Multiple message exchanges are required to complete the negotiation of transmit power.

Method used

Different methods are used to obtain target communication parameters based on the device mobility status: in low-speed state, the signal transmission power and data transmission rate are determined based on the device capability information; in high-speed state, the signal transmission power and data transmission rate are determined based on the message detection results.

Benefits of technology

It improves the accuracy of communication parameters, avoids the inefficiency and energy waste caused by multiple message interactions, and ensures that the signal can effectively reach the other device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120659137A_ABST
    Figure CN120659137A_ABST
Patent Text Reader

Abstract

The invention discloses a communication control method and electronic equipment. The method applied to first equipment comprises the following steps: acquiring equipment movement parameters of the first equipment; under the condition that the device movement parameter represents that the first device is in a first state, obtaining a target communication parameter in a first mode; under the condition that the device movement parameter represents that the first device is in a second state, obtaining a target communication parameter in a second mode; the moving speed of the first equipment in the first state is smaller than that of the first equipment in the second state; wherein the first mode is based on respective device capability information of the first device and the second device, and the second mode is based on a message detection result between the first device and the second device; and performing data signal transmission from the first device to a second device based on the target communication parameter.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a communication control method and electronic equipment. Background Art

[0002] In a local area network, after receiving a data signal from a peer device, a device on the other side analyzes the data signal to obtain the signal strength, and then determines the transmission power used to send the data signal to the peer device based on the signal strength.

[0003] However, in a local area network, there may be a large difference in the communication performance between two devices, resulting in the transmission power determined by one's own device based on the analyzed signal strength being too high or too low, resulting in energy waste or the signal failing to reach the other device. As a result, there is a deviation in the transmission power used by one's own device. For this reason, multiple message exchanges are usually required between one's own device and the other device to complete the negotiation of the transmission power. Summary of the Invention

[0004] In view of this, the present application provides a communication control method and electronic device as follows:

[0005] A communication control method, applied to a first device, comprising:

[0006] Obtaining a device movement parameter of the first device;

[0007] When the device movement parameter indicates that the first device is in a first state, obtaining a target communication parameter in a first manner;

[0008] obtaining a target communication parameter in a second manner when the device movement parameter indicates that the first device is in a second state; and a moving speed of the first device in the first state is less than a moving speed of the first device in the second state;

[0009] The first method is based on the device capability information of each of the first device and the second device, and the second method is based on the message detection result between the first device and the second device;

[0010] Based on the target communication parameters, data signals are transmitted from the first device to the second device.

[0011] In the above method, preferably, the device capability information of the first device and the second device includes at least their respective maximum transmit powers, and the maximum transmit powers of the first device and the second device are different;

[0012] The obtaining of the target communication parameters in the first manner includes:

[0013] Based on the difference between the maximum transmission powers, a signal transmission power and a data transmission rate for transmitting the data signal from the first device to the second device are determined.

[0014] In the above method, preferably, the device capability information of the second device includes a device communication capability table; the device communication capability table includes: a mapping relationship between at least two groups of selectable transmission rates, signal strengths, and selectable transmit powers; the selectable transmit powers include at least the maximum transmit power;

[0015] The determining, based on the difference between the maximum transmit powers, the signal transmit power and the data transmission rate at which the first device transmits the data signal to the second device includes:

[0016] The data transmission rate and signal transmission power of the data signal transmitted by the first device to the second device are determined based on the matching between the device communication capability table of the second device and the device communication capability table of the first device and the spatial path loss between the first device and the second device.

[0017] In the above method, preferably, determining the data transmission rate and signal transmission power of the data signal transmitted by the first device to the second device includes:

[0018] In the device communication capability table of the second device, the maximum to-be-selected transmission rate is used as the current transmission rate;

[0019] determining an initial transmit power based on a current signal strength corresponding to the current transmission rate in a device communication capability table of the second device and the spatial path loss; and matching a signal strength of a data signal received by the second device with the current signal strength when the first device transmits a data signal to the second device at the initial transmit power.

[0020] If the initial transmit power is greater than the maximum transmit power in the device communication capability table of the first device, using another candidate transmission rate in the device communication capability table of the second device that is secondarily lower than the current transmission rate as a new current transmission rate, and determining the initial transmit power based on the current signal strength corresponding to the current transmission rate in the device communication capability table of the second device;

[0021] If the initial transmission power is less than or equal to the maximum transmission power of the first device, the current transmission rate is used as the data transmission rate for transmitting data signals from the first device to the second device, and the initial transmission power is used as the signal transmission power for transmitting data signals from the first device to the second device.

[0022] The above method preferably determines the initial transmit power according to the current signal strength corresponding to the current transmission rate in the device communication capability table of the second device and the spatial path loss, including:

[0023] At least the spatial path loss is superimposed on a current signal strength corresponding to the current transmission rate in the device communication capability table of the second device to obtain an initial transmission power.

[0024] In the above method, preferably, the spatial path loss is obtained by:

[0025] performing signal analysis on the received data signal sent by the second device to obtain the first signal strength;

[0026] A spatial path loss for data transmission between the first device and the second device is obtained according to the first signal strength and the transmit power used by the second device to send the data signal to the first device.

[0027] Preferably, the above method further comprises, after transmitting a data signal from the first device to the second device using the target communication parameter:

[0028] Obtaining error data fed back by the second device in response to the data signal sent by the first device;

[0029] When the bit error rate in the bit error data is greater than or equal to a bit error threshold, the target communication parameter is updated in a second manner.

[0030] A communication control method, comprising:

[0031] receiving, on the second device, a parameter negotiation request sent by the first device; the first device sending a parameter negotiation request representing a first mode when a device movement parameter of the first device indicates that the first device is in a first state, and sending a parameter negotiation request representing a second mode when the device movement parameter indicates that the first device is in a second state; a moving speed of the first device in the first state is less than a moving speed of the first device in the second state;

[0032] The first method is based on the device capability information of each of the first device and the second device, and the second method is based on the message detection result between the first device and the second device;

[0033] When the parameter negotiation request represents the first mode, sending device capability information of the second device to the first device; the first device obtains target communication parameters based on the device capability information of each of the first device and the second device;

[0034] When the parameter negotiation request represents the second mode, data message interaction is performed with the first device, and the first device and the second device obtain target communication parameters through message detection results corresponding to the data messages;

[0035] The target communication parameter is used for the first device to transmit a data signal to the second device.

[0036] An electronic device, the electronic device serving as a first device, comprising:

[0037] a sensor for obtaining a device movement parameter of the first device;

[0038] a processor, configured to obtain a target communication parameter in a first manner when the device movement parameter indicates that the first device is in a first state; and obtain the target communication parameter in a second manner when the device movement parameter indicates that the first device is in a second state; a moving speed of the first device in the first state is less than a moving speed of the first device in the second state;

[0039] The first method is based on the device capability information of each of the first device and the second device, and the second method is based on the message detection result between the first device and the second device;

[0040] A transceiver is configured to transmit a data signal from the first device to the second device based on the target communication parameter.

[0041] An electronic device, the electronic device serving as a second device, comprising:

[0042] A transceiver, configured to receive a parameter negotiation request sent by a first device; the first device sending a parameter negotiation request representing a first mode when a device mobility parameter of the first device indicates that the first device is in a first state, and sending a parameter negotiation request representing a second mode when the device mobility parameter indicates that the first device is in a second state; a moving speed of the first device in the first state is less than a moving speed of the first device in the second state; wherein the first mode is based on device capability information of each of the first and second devices, and the second mode is based on a message detection result between the first and second devices;

[0043] a processor, configured to detect the parameter negotiation request, and, if the parameter negotiation request represents a first manner, send the device capability information of the second device to the first device through the transceiver; the first device obtains target communication parameters based on the respective device capability information of the first device and the second device; and, if the parameter negotiation request represents a second manner, exchange data packets with the first device through the transceiver, and the first device and the second device obtain the target communication parameters through a packet detection result corresponding to the data packet;

[0044] The target communication parameter is used for the first device to transmit a data signal to the second device.

[0045] It can be seen from the above technical solutions that in a communication control method and electronic device disclosed in the present application, when the first device is in a first state with a relatively low moving speed, the target communication parameters used by the first device to transmit data signals to the second device are obtained based on the device capability information of each of the first device and the second device, and when the first device is in a second state with a relatively high moving speed, the target communication parameters are obtained based on the message detection results between the first device and the second device. It can be seen that, unlike the method of determining the communication parameters through multiple message interactions and then through the message detection results, the communication parameters used to transmit data signals can be determined according to the device capability information of the other device in the present application, which will not cause the determined communication parameters to not match the capabilities of the other device, and will not cause waste of communication energy or the inability of the data signal to reach the other device. Therefore, in this embodiment, while avoiding the low efficiency of obtaining communication parameters caused by multiple message interactions, the accuracy of the determined communication parameters can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0047] Figure 1 A flow chart of a communication control method provided in an embodiment of the present application;

[0048] Figure 2 This is an example diagram of communication between a first device and a second device in an embodiment of the present application;

[0049] Figure 3 This is an example diagram of a device communication capability table;

[0050] Figure 4 A partial flow chart of a communication control method provided in an embodiment of the present application;

[0051] Figure 5 Another partial flow chart of a communication control method provided in an embodiment of the present application;

[0052] Figure 6 This is an example diagram of data signal transmission in an embodiment of the present application;

[0053] Figure 7 Another flow chart of a communication control method provided in an embodiment of the present application;

[0054] Figure 8 A flowchart of another communication control method provided in an embodiment of the present application;

[0055] Figure 9 A schematic structural diagram of a communication control device provided in an embodiment of the present application;

[0056] Figure 10 A schematic structural diagram of another communication control device provided in an embodiment of the present application;

[0057] Figure 11 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0058] Figure 12 A schematic structural diagram of another electronic device provided in an embodiment of the present application;

[0059] Figure 13 This is a flowchart of the transmission rate and transmit power negotiation between Device A and Device B in an embodiment of the present application. DETAILED DESCRIPTION

[0060] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0061] refer to Figure 1 As shown, it is a flow chart of an implementation of a communication control method provided in an embodiment of the present application. The method can be applied to a first device to transmit data signals between the first device and the second device, such as Figure 2 As shown in . The first device and the second device are communication terminals having communication components capable of transmitting data signals, such as mobile phones, base stations, computers, tablet devices, etc. having transmitting and receiving antennas. The technical solution in this embodiment is mainly used to improve the accuracy of communication parameters while ensuring the efficiency of communication parameter acquisition.

[0062] Specifically, the method in this embodiment may include the following steps:

[0063] Step 101: Obtain device movement parameters of a first device.

[0064] Specifically, in this embodiment, a motion sensor deployed in the first device may be used to collect device movement parameters of the first device, where the device movement parameters represent the movement state of the first device, such as movement speed or movement acceleration.

[0065] For example, taking the first device as a mobile phone and the second device as a computer, a gravity sensor Gsensor is deployed in the mobile phone. The Gsensor collects acceleration data of the mobile phone, and the movement speed of the mobile phone can be obtained based on the acceleration data.

[0066] Step 102: Determine whether the device movement parameter indicates that the first device is in the first state or the second state. If the device movement parameter indicates that the first device is in the first state, execute step 103; if the device movement parameter indicates that the first device is in the second state, execute step 104.

[0067] The movement speed of the first device in the first state is less than the movement speed of the first device in the second state. For example, in the first state, the movement speed of the mobile phone is 0, i.e., the mobile phone is in a stationary state; in the second state, the movement speed of the mobile phone is greater than 0, such as 0.8 m / s, i.e., the mobile phone is in motion. In another embodiment, in the first state, the movement speed of the mobile phone is less than 0.2 m / s, i.e., the mobile phone is in a low-speed motion state; in the second state, the movement speed of the mobile phone is greater than 0.2 m / s, such as 0.6 m / s, i.e., the mobile phone is in a medium-speed motion state.

[0068] Step 103: Obtain target communication parameters in a first manner.

[0069] Step 104: Obtain target communication parameters in a second manner.

[0070] The first method is different from the second method. Specifically, the first method is based on the device capability information of the first device and the second device, and the device capability information of the first device is different from the device capability information of the second device. The second method is based on the message detection result between the first device and the second device.

[0071] For example, when the mobile phone's moving speed is 0, the mobile phone determines the target communication parameters such as signal transmission power and data transmission rate based on the device capability information of the mobile phone and the computer for communication; when the mobile phone's moving speed is greater than 0, the mobile phone and the computer interact with each other through messages, and then the mobile phone determines the signal transmission power and data transmission rate based on the message detection results obtained from multiple message interactions.

[0072] Step 105: Based on the target communication parameters, transmit a data signal from the first device to the second device.

[0073] For example, a mobile phone sends a data signal to a computer at a determined signal transmission power and data transmission rate.

[0074] It should be noted that the data signal transmission between the first device and the second device can be initiated by the first device or the second device. Regardless of whether it is initiated by the first device or the second device, the target communication parameters can be obtained in the first manner when the first device is in the first state.

[0075] It can be seen that in a communication control method provided in an embodiment of the present application, unlike the method of determining communication parameters through multiple message interactions and then using message detection results, the communication parameters for transmitting data signals can be determined according to the device capability information of the other party's device, which will not cause the determined communication parameters to not match the capabilities of the other party's device, and will not cause waste of communication energy or the data signal to be unable to reach the other party's device. Therefore, this embodiment can improve the accuracy of the determined communication parameters while avoiding the inefficiency of communication parameter acquisition caused by multiple message interactions.

[0076] In one implementation, the device capability information of the first device differs from the device capability information of the second device. Specifically, the device capability information of the first device and the second device includes at least their respective maximum transmit powers. The difference in maximum transmit powers between the first device and the second device results in different signal strengths for data signals transmitted by the first device and the second device at their respective maximum transmit powers, and thus in different signal strengths for data signals received. Based on this, in step 103 of this embodiment, when obtaining the target communication parameters using the first method, the signal transmit power and data transmission rate for data signals transmitted from the first device to the second device can be determined based on the difference between the respective maximum transmit powers of the first device and the second device.

[0077] For example, the maximum transmission power of a computer is significantly higher than that of a mobile phone. When the mobile phone is stationary, the appropriate target communication parameters such as signal transmission power and data transmission rate are determined based on the difference between the maximum transmission powers of the mobile phone and the computer, thereby avoiding situations where the signal transmission power and data transmission rate are too high or too low, avoiding the waste of power consumption caused by the computer transmitting data signals at too high a signal transmission power, and avoiding the situation where the mobile phone transmits data signals at too low a signal transmission power, resulting in the signal not being able to reach the computer.

[0078] Based on the above implementation, the device capability information is implemented as a device communication capability table. The device capability information of the second device includes the device communication capability table, which may include mappings between at least two sets of selectable transmission rates, signal strengths, and selectable transmit powers, with the selectable transmit powers in the device communication capability table including at least the maximum transmit power.

[0079] For example, Figure 3 As shown in , the device communication capability table of a computer includes at least 12 mapping relationships (in other embodiments, the device communication capability table may include more mapping relationships corresponding to selectable transmission rates), corresponding to 12 selectable transmit powers. Each selectable transmit power achieves a corresponding selectable transmission rate MCS (MCS0 to MCS11 represent corresponding levels of selectable transmission rates, respectively), and corresponds to a range of signal strengths of data signals that can be received at the corresponding selectable transmission rate. At least one of the 12 selectable transmit powers is the maximum transmit power.

[0080] Based on this, in this embodiment, when determining the signal transmission power and the data transmission rate based on the difference between the maximum transmission powers, the data transmission rate and the signal transmission power of the data signal transmitted by the first device to the second device can be determined based on the matching between the device communication capability table of the second device and the device communication capability table of the second device and the spatial path loss between the first device and the second device.

[0081] For example, in this embodiment, the ranges of various optional transmission powers, optional transmission rates, and signal strengths in the device communication capability tables of the mobile phone and the computer can be compared, so as to determine the data transmission rate and signal transmission power of the data signal transmitted from the mobile phone to the computer according to the compared matching situation and spatial path loss.

[0082] Specifically, in this embodiment, when determining the data transmission rate and signal transmission power according to the matching situation and the spatial path loss, it can be achieved through the following process, such as Figure 4 As shown in:

[0083] Step 401: In the device communication capability table of the second device, the maximum candidate transmission rate is used as the current transmission rate.

[0084] In the device communication capability table of the second device, the maximum selectable transmission rate corresponds to the second device's minimum transmit power, and the second device's maximum transmit power corresponds to the minimum selectable transmission rate. Accordingly, when the second device transmits a data signal to the first device at the minimum transmit power, the current transmission rate of the data signal is the maximum transmission rate achievable by the second device, and when the second device transmits the data signal to the first device at the minimum transmit power, the signal strength of the received data signal must reach the maximum signal strength range.

[0085] For example, in the computer's device communication capability table, the maximum selectable transmission rate MCS11 is used as the current transmission rate. When the computer sends a data signal at the uplink power (minimum selectable transmit power) of 15dBm (decibel milliwatts), the data signal can reach the transmission rate of MCS11, and the signal strength of the data signal received by the computer needs to reach a signal strength of -65 dBm (i.e., less than -65 dBm).

[0086] Step 402: Determine the initial transmission power according to the current signal strength and spatial path loss corresponding to the current transmission rate in the device communication capability table of the second device.

[0087] When the first device sends the data signal to the second device according to the initial transmission power, the signal strength of the data signal received by the second device matches the current signal strength.

[0088] Specifically, in step 402, the current transmission rate may be added to the current signal strength corresponding to the device communication capability table of the second device by at least adding the spatial path loss to obtain the initial transmission power.

[0089] For example, in this embodiment, the spatial path loss, the antenna efficiency of the first device, and the antenna efficiency of the second device can be added to the current signal strength corresponding to the current transmission rate in the device communication capability table of the second device to calculate the initial transmit power required by the first device. Thus, when the first device sends a data signal to the second device at the initial transmit power, after the antenna efficiencies of the first and second devices and the spatial path loss are taken into account, the signal strength of the data signal received by the second device can match the current signal strength.

[0090] For example, in the computer's device communication capability table, the minimum signal strength value for MCS11 is -65dBm. Adding this value to the spatial path loss of -100dB, the phone's antenna efficiency (e.g., antenna gain of -3dBi), and the computer's antenna efficiency (e.g., antenna gain of -1dBi), the phone's initial transmit power is calculated to be 39dBm. Specifically, the phone's initial transmit power of 39dBm + the phone's antenna efficiency (-3) + the spatial path loss (-100) + the computer's antenna efficiency (-1) = the receive strength (-65).

[0091] Step 403: Determine whether the initial transmission power is greater than the maximum transmission power in the device communication capability table of the first device. If the initial transmission power is greater than the maximum transmission power in the device communication capability table of the first device, it indicates that the signal strength of the data signal transmitted by the first device at the maximum transmission power reaching the second device cannot reach the receiving range of the signal strength of the second device at the current transmission rate, and step 404 is executed at this time; if the initial transmission power is less than or equal to the maximum transmission power of the first device, it indicates that the signal strength of the data signal transmitted by the first device at the maximum transmission power reaching the second device can reach the receiving range of the signal strength of the second device at the current transmission rate, and step 405 is executed.

[0092] Step 404: In the device communication capability table of the second device, another candidate transmission rate that is second only to the current transmission rate is used as the new current transmission rate, and step 402 is executed to re-determine the initial transmission power based on the current signal strength corresponding to the current transmission rate in the device communication capability table of the second device.

[0093] Step 405: The current transmission rate is used as the data transmission rate for transmitting data signals from the first device to the second device, and the initial transmission power is used as the signal transmission power for transmitting data signals from the first device to the second device.

[0094] It can be seen that in this embodiment, based on all the transmission rates that can be achieved in the device communication capability table of the second device, starting from the highest transmission rate, the highest data transmission rate that can be achieved under the device capability that can be achieved by the first device is found. The lowest transmission power can be achieved between the first device and the second device to achieve low-power signal transmission (i.e., optimal power), or the highest transmission rate can be achieved between the first device and the second device to achieve high-speed signal transmission (i.e., optimal rate).

[0095] In one implementation, the spatial path loss between the first device and the second device can be obtained by: Figure 5 As shown in:

[0096] Step 501: Receive a data signal sent by a second device on a first device.

[0097] Step 502: Perform signal analysis on the data signal received from the second device to obtain a first signal strength.

[0098] The first device parses the received data signal to obtain the first signal strength, and parses the message field in the data signal to obtain the transmission power used by the data signal sent by the second device to the first device, and the transmission power is carried in the message field.

[0099] Step 503: Obtain a spatial path loss for data transmission between the first device and the second device based on the first signal strength and the transmit power used by the second device to send a data signal to the first device.

[0100] In the specific implementation, such as Figure 6 As shown in , the second device sends a data signal to the first device according to the transmit power used. After the antenna efficiencies of the first and second devices (the antenna efficiency of the second device can be extracted from the data signal) and the spatial path loss are calculated, the signal strength of the data signal received by the first device is the first signal strength. Therefore, in step 503, the spatial path loss of the data transmission between the first and second devices can be obtained based on the first signal strength, the transmit power used by the second device to send the data signal to the first device, and the antenna efficiencies of the first and second devices. Specifically, step 503 can calculate the spatial path loss between the first and second devices by adding the antenna efficiencies of the first and second devices to the transmit power used by the second device to send the data signal to the first device, and deducting the first signal strength.

[0101] For example, the mobile phone extracts the computer's transmission power and the computer's antenna efficiency from the data signal received from the computer. The mobile phone uses the computer's transmission power to superimpose the mobile phone's antenna efficiency and the computer's antenna efficiency, and then deducts the parsed first signal strength to obtain the spatial path loss between the mobile phone and the computer.

[0102] Based on the above implementation, in this embodiment, after step 105, the following processing may be performed: Figure 7 As shown in:

[0103] Step 106: Obtain error data fed back by the second device in response to the data signal sent by the first device.

[0104] The bit error data can represent the bit error rate. The second device performs bit error rate analysis on the data signal sent by the first device. For example, the second device counts the number of received data packets and calculates the bit error rate based on the number. The second device writes the analyzed bit error rate into the bit error data and then feeds the bit error data back to the first device.

[0105] Step 107: Determine whether the bit error rate in the error data is greater than or equal to the error threshold. If the bit error rate in the error data is greater than or equal to the error threshold, execute step 108; if the bit error rate in the error data is less than the error threshold, return to continue executing step 106 to continuously monitor the bit error rate in the error data fed back by the second device.

[0106] Step 108: Update the target communication parameters in a second manner.

[0107] Among them, the bit error threshold can be set according to business needs. When higher sensitivity and communication reliability are required in actual business, a smaller bit error threshold is set to timely update the target communication parameters and improve the reliability of the first device sending data signals to the second device; when lower communication power consumption is required in actual business, a higher bit error threshold is set, so that there is no need to frequently determine the target communication parameters between the first device and the second device.

[0108] For example, after the mobile phone determines the signal transmission power and data transmission rate based on the computer's device capability information and sends the data signal accordingly, it continuously monitors the bit error rate of the data signal received by the computer. If the bit error rate is too high (such as higher than the bit error threshold), the signal transmission power and data transmission rate are renegotiated through message interaction between the mobile phone and the computer.

[0109] refer to Figure 8 , is a flow chart of a communication control method provided in an embodiment of the present application, which can be applied to Figure 2 In the second device shown, data signals are transmitted between the first device and the second device. The first device and the second device are each a communication terminal having communication components capable of data signal transmission, such as a mobile phone, base station, computer, tablet device, etc., each having a transmitting antenna and a receiving antenna. The technical solution in this embodiment is primarily used to improve the accuracy of communication parameters while ensuring the efficiency of communication parameter acquisition.

[0110] Specifically, the method in this embodiment may include the following steps:

[0111] Step 801: Receive a parameter negotiation request sent by a first device on a second device.

[0112] The first device sends a parameter negotiation request representing a first mode when the device mobility parameter of the first device indicates that the first device is in a first state, and sends a parameter negotiation request representing a second mode when the device mobility parameter indicates that the first device is in a second state. The movement speed of the first device in the first state is less than the movement speed of the first device in the second state. The first mode is based on the device capability information of each of the first and second devices, and the second mode is based on the message detection results between the first and second devices.

[0113] It should be noted that the first device generates a parameter negotiation request in response to data signal transmission initiated between the first device and the second device. The parameter negotiation request represents different modes based on the mobility state of the first device, such as the first mode or the second mode.

[0114] Step 802 , determining whether the parameter negotiation request represents the first mode or the second mode. If the parameter negotiation request represents the first mode, execute step 803 ; if the parameter negotiation request represents the second mode, execute step 804 .

[0115] Step 803: Send the device capability information of the second device to the first device.

[0116] The first device obtains the target communication parameter based on the device capability information of the first device and the second device. The device capability information of the second device may be a device communication capability table of the second device, such as Figure 3 The specific implementation method for the first device to obtain the target communication parameter based on the device capability information of the first device and the second device can be referred to Figures 1 to 7 The implementation scheme shown will not be described in detail here.

[0117] Step 804: Data message interaction is performed with the first device, and the first device and the second device obtain target communication parameters through message detection results corresponding to the data messages.

[0118] The target communication parameters are used for the first device to transmit data signals to the second device.

[0119] It can be seen that in a communication control method provided in an embodiment of the present application, unlike the method of determining communication parameters through multiple message interactions and then using message detection results, the communication parameters for transmitting data signals can be determined according to the device capability information of the other party's device, which will not cause the determined communication parameters to not match the capabilities of the other party's device, and will not cause waste of communication energy or the data signal to be unable to reach the other party's device. Therefore, this embodiment can improve the accuracy of the determined communication parameters while avoiding the inefficiency of communication parameter acquisition caused by multiple message interactions.

[0120] refer to Figure 9 , is a structural diagram of a communication control device provided in an embodiment of the present application, which can be deployed in Figure 2 In the first device shown, the apparatus may include the following units:

[0121] A parameter obtaining unit 901 is configured to obtain a device movement parameter of a first device;

[0122] A first obtaining unit 902 is configured to obtain a target communication parameter in a first manner when the device movement parameter indicates that the first device is in a first state;

[0123] The second obtaining unit 903 obtains the target communication parameter in a second manner when the device movement parameter indicates that the first device is in a second state; and the moving speed of the first device in the first state is less than the moving speed of the first device in the second state;

[0124] The first method is based on the device capability information of each of the first device and the second device, and the second method is based on the message detection result between the first device and the second device;

[0125] The signal transmission unit 904 is configured to transmit a data signal from the first device to the second device based on the target communication parameter.

[0126] It can be seen that in a communication control device provided in an embodiment of the present application, unlike the method of determining communication parameters through multiple message interactions and then using message detection results, the communication parameters for transmitting data signals can be determined according to the device capability information of the other party's device, which will not cause the determined communication parameters to not match the capabilities of the other party's device, and will not cause waste of communication energy or failure of data signals to reach the other party's device. Therefore, this embodiment can improve the accuracy of the determined communication parameters while avoiding the inefficiency of communication parameter acquisition caused by multiple message interactions.

[0127] In one implementation, the device capability information of the first device and the second device includes at least their respective maximum transmission powers, and the maximum transmission powers of the first device and the second device are different; wherein the first obtaining unit 902 is specifically used to: determine the signal transmission power and data transmission rate of the data signal transmitted by the first device to the second device based on the difference between the maximum transmission powers.

[0128] The device capability information of the second device includes a device communication capability table; the device communication capability table includes: a mapping relationship between at least two groups of selectable transmission rates, signal strengths, and selectable transmit powers; the selectable transmit powers include at least the maximum transmit power;

[0129] Based on this, the first obtaining unit 902 is specifically used to determine the data transmission rate and signal transmission power of the data signal transmitted by the first device to the second device based on the matching between the device communication capability table of the second device and the device communication capability table of the first device and the spatial path loss between the first device and the second device.

[0130] The first obtaining unit 902, when determining the data transmission rate and signal transmission power of the data signal transmitted by the first device to the second device, is specifically configured to:

[0131] In the device communication capability table of the second device, the maximum candidate transmission rate is used as the current transmission rate; the initial transmission power is determined according to the current signal strength corresponding to the current transmission rate in the device communication capability table of the second device and the spatial path loss; when the first device sends a data signal to the second device according to the initial transmission power, the signal strength of the data signal received by the second device matches the current signal strength; if the initial transmission power is greater than the maximum transmission power in the device communication capability table of the first device, in the device communication capability table of the second device, another candidate transmission rate second only to the current transmission rate is used as the new current transmission rate, and the determination of the initial transmission power according to the current signal strength corresponding to the current transmission rate in the device communication capability table of the second device is executed; if the initial transmission power is less than or equal to the maximum transmission power of the first device, the current transmission rate is used as the data transmission rate for transmitting data signals from the first device to the second device, and the initial transmission power is used as the signal transmission power for transmitting data signals from the first device to the second device.

[0132] In one implementation, when determining the initial transmission power, the first obtaining unit 902 is specifically used to: superimpose at least the spatial path loss on the current signal strength corresponding to the current transmission rate in the device communication capability table of the second device to obtain the initial transmission power.

[0133] In one implementation, the first obtaining unit 902 further obtains the spatial path loss in the following manner:

[0134] Perform signal analysis on the data signal received from the second device to obtain the first signal strength; obtain the spatial path loss of data transmission between the first device and the second device based on the first signal strength and the transmission power used by the second device to send the data signal to the first device.

[0135] In one implementation, after the signal transmission unit 904 uses the target communication parameters to transmit the data signal from the first device to the second device, the second obtaining unit 903 is also used to: obtain the error data fed back by the second device for the data signal sent by the first device; and update the target communication parameters in a second manner when the error rate in the error data is greater than or equal to the error threshold.

[0136] It should be noted that the specific implementation of each unit in this embodiment can refer to the corresponding content in the previous text and will not be described in detail here.

[0137] refer to Figure 10, is a structural diagram of a communication control device provided in an embodiment of the present application, which can be deployed in Figure 2 In the second device shown, the apparatus may include the following units:

[0138] A request receiving unit 1001 is configured to receive, on a second device, a parameter negotiation request sent by a first device;

[0139] The first device sends a parameter negotiation request representing a first mode when a device mobility parameter of the first device indicates that the first device is in a first state, and sends a parameter negotiation request representing a second mode when the device mobility parameter indicates that the first device is in a second state; a moving speed of the first device in the first state is less than a moving speed of the first device in the second state; the first mode is based on device capability information of each of the first and second devices, and the second mode is based on a message detection result between the first and second devices;

[0140] The first processing unit 1002 is configured to send device capability information of the second device to the first device when the parameter negotiation request represents the first mode; the first device obtains target communication parameters based on the device capability information of the first device and the second device;

[0141] The second processing unit 1003 is configured to, when the parameter negotiation request represents the second mode, perform data message interaction with the first device, and obtain target communication parameters between the first device and the second device through a message detection result corresponding to the data message;

[0142] The target communication parameter is used for the first device to transmit a data signal to the second device.

[0143] It can be seen that in a communication control device provided in an embodiment of the present application, unlike the method of determining communication parameters through multiple message interactions and then using message detection results, the communication parameters for transmitting data signals can be determined according to the device capability information of the other party's device, which will not cause the determined communication parameters to not match the capabilities of the other party's device, and will not cause waste of communication energy or failure of data signals to reach the other party's device. Therefore, this embodiment can improve the accuracy of the determined communication parameters while avoiding the inefficiency of communication parameter acquisition caused by multiple message interactions.

[0144] refer to Figure 11 , is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application, which can be used as Figure 2 The first device shown includes the following structure:

[0145] A sensor 1101, such as a gravity sensor, is used to obtain a device movement parameter of the first device;

[0146] The processor 1102, such as a central processing unit (CPU), is configured to obtain a target communication parameter in a first manner when the device movement parameter indicates that the first device is in a first state; and obtain the target communication parameter in a second manner when the device movement parameter indicates that the first device is in a second state; a moving speed of the first device in the first state is less than a moving speed of the first device in the second state;

[0147] The first method is based on the device capability information of each of the first device and the second device, and the second method is based on the message detection result between the first device and the second device;

[0148] The transceiver 1103 , such as an antenna, is configured to transmit a data signal from the first device to the second device based on the target communication parameters.

[0149] It can be seen that in an electronic device provided in an embodiment of the present application, unlike the method of determining communication parameters through multiple message interactions and then determining communication parameters through message detection results, the communication parameters for transmitting data signals can be determined according to the device capability information of the other party's device, which will not cause the determined communication parameters to not match the capabilities of the other party's device, and will not cause waste of communication energy or failure of data signals to reach the other party's device. Therefore, this embodiment can improve the accuracy of the determined communication parameters while avoiding the inefficiency of communication parameter acquisition caused by multiple message interactions.

[0150] refer to Figure 12 , is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application, which can be used as Figure 2 The second device shown includes the following structure:

[0151] The transceiver 1201, such as an antenna, is configured to receive a parameter negotiation request sent by a first device; the first device sends a parameter negotiation request representing a first mode when a device mobility parameter of the first device indicates that the first device is in a first state, and sends a parameter negotiation request representing a second mode when the device mobility parameter indicates that the first device is in a second state; a moving speed of the first device in the first state is less than a moving speed of the first device in the second state; wherein the first mode is based on device capability information of each of the first device and the second device, and the second mode is based on a message detection result between the first device and the second device;

[0152] The processor 1202, such as a CPU, is configured to detect the parameter negotiation request, and when the parameter negotiation request represents a first manner, send the device capability information of the second device to the first device through the transceiver; the first device obtains target communication parameters based on the respective device capability information of the first device and the second device; and when the parameter negotiation request represents a second manner, exchange data packets with the first device through the transceiver, and the first device and the second device obtain the target communication parameters through a packet detection result corresponding to the data packet.

[0153] The target communication parameter is used for the first device to transmit a data signal to the second device.

[0154] It can be seen that in an electronic device provided in an embodiment of the present application, unlike the method of determining communication parameters through multiple message interactions and then determining communication parameters through message detection results, in this application, the communication parameters for transmitting data signals can be determined according to the device capability information of the other party's device, which will not cause the determined communication parameters to not match the capabilities of the other party's device, and will not cause waste of communication energy or the data signal to be unable to reach the other party's device. Therefore, this embodiment can improve the accuracy of the determined communication parameters while avoiding the inefficiency of communication parameter acquisition caused by multiple message interactions.

[0155] Based on the above implementation scheme, the second device is recorded as Device A and the first device is recorded as Device B. The technical solution of this application is illustrated below with examples:

[0156] First, Device A (the second device) sets its maximum transmit power to maxpower a, defined as the routing device AP. Device B (the first device) sets its maximum transmit power to maxpower b, defined as the mobile station. a is greater than b, indicating that the maximum transmit powers of Device A and Device B are different.

[0157] Due to the difference in the maximum power of Device A and Device B, the received signal strength ranges vary. Since Device B acts as a station, the energy of the wireless signal sent by Device A received by Device B at a fixed location is defined as R1. Traditionally, Device B uses R1 to determine the wireless signal strength (relative to the transmit power) it sends to Device A. Due to the difference in the maximum power capabilities of Device A and Device B, Device A uses the received signal R1 as a benchmark to determine Device B's transmit strength as b1 (the transmit power used to send data signals to Device A). Under the same spatial attenuation (antenna efficiency and spatial path loss), Device A receives a signal strength of R2. Because R2 is less than R1, the currently negotiated rate is insufficient. Therefore, Device A must reduce the rate or notify Device B to increase its transmit power. During this process, packet loss retransmission and negotiated rate reduction lead to a degraded user experience and increased power consumption. In view of this, in this embodiment, the device capability information of Device A and Device B is preset in the given configuration file. Through uplink and downlink information exchange, the capabilities of the two devices are communicated, the spatial path loss between the settings of Device A and Device B is calculated, and the most appropriate transmission rate and transmission power are negotiated in the shortest time, thereby improving the user experience and reducing the control information packet overhead.

[0158] refer to Figure 13 , is a flowchart of the transmission rate and transmit power negotiation between Device A and Device B in an embodiment of the present application, as follows:

[0159] After a new connection is established between Device A and Device B, the gravity sensor Gsensor is used to determine the movement state of Device B. If Device B is in motion, the traditional message exchange confirmation method is used to negotiate the transmission rate and transmit power. If Device B is stationary, the fast negotiation mechanism for transmission rate and transmit power is used. The specific process is as follows:

[0160] Device A and Device B send a device communication capability table. For example, Device A sends a control message to Device B, which carries Figure 3 The device communication capability table shown;

[0161] Device B receives the control message, which contains information such as Device A's transmit power and antenna efficiency. It calculates the spatial path loss based on the analyzed signal strength and then determines the transmit power and transmission rate based on Device B's device communication capability table.

[0162] Device B determines whether the data signal sent by the transmit power and transmission rate meets the bit error requirements. If the bit error requirements are not met, that is, the bit error rate is greater than or equal to the bit error threshold, the traditional message exchange confirmation method is used to negotiate the transmission rate and transmit power. If the bit error requirements are met, that is, the bit error rate is less than the bit error threshold, the transmission rate and transmit power are confirmed in accordance with the method of this embodiment until the scenario changes, such as Device B moving or roaming.

[0163] It can be seen that in this application, the sensor is used to intelligently identify the usage scenario of the current user device. When the device is in a stationary state, the spatial path loss is calculated based on the feedback data signal and the interaction information in the device, and the device communication capability table preset in the device is used to quickly determine the current optimal transmission rate and transmission power.

[0164] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Reference can be made to the common and similar parts between the various embodiments. For the devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the method description.

[0165] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0166] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0167] The above description of the disclosed embodiments is intended to enable one skilled in the art to implement or use the present application. Various modifications to these embodiments will be readily apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application is not limited to the embodiments shown herein, but is intended to conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A communication control method, applied to a first device, comprising: Obtaining a device movement parameter of the first device; When the device movement parameter indicates that the first device is in a first state, obtaining a target communication parameter in a first manner; When the device movement parameter indicates that the first device is in a second state, obtaining a target communication parameter in a second manner; The moving speed of the first device in the first state is less than the moving speed of the first device in the second state; The first method is based on the device capability information of the first device and the second device, and the second method is based on the message detection result between the first device and the second device; Based on the target communication parameters, data signals are transmitted from the first device to the second device.

2. The method according to claim 1, wherein the device capability information of the first device and the second device includes at least their respective maximum transmit powers, and the maximum transmit powers of the first device and the second device are different; in, The obtaining of the target communication parameters in the first manner includes: Based on the difference between the maximum transmission powers, a signal transmission power and a data transmission rate for transmitting the data signal from the first device to the second device are determined.

3. The method according to claim 2, wherein the device capability information of the second device comprises a device communication capability table; the device communication capability table comprises: A mapping relationship between at least two sets of candidate transmission rates, signal strengths, and candidate transmit powers; The selectable transmit power includes at least the maximum transmit power; The determining, based on the difference between the maximum transmit powers, the signal transmit power and the data transmission rate at which the first device transmits the data signal to the second device includes: The data transmission rate and signal transmission power of the data signal transmitted by the first device to the second device are determined based on the matching between the device communication capability table of the second device and the device communication capability table of the first device and the spatial path loss between the first device and the second device.

4. The method according to claim 3, wherein determining a data transmission rate and a signal transmission power at which the first device transmits a data signal to the second device comprises: In the device communication capability table of the second device, the maximum to-be-selected transmission rate is used as the current transmission rate; determining an initial transmit power according to a current signal strength corresponding to the current transmission rate in a device communication capability table of the second device and the spatial path loss; When the first device sends a data signal to the second device according to the initial transmission power, the signal strength of the data signal received by the second device matches the current signal strength; If the initial transmit power is greater than the maximum transmit power in the device communication capability table of the first device, using another candidate transmission rate in the device communication capability table of the second device that is secondarily lower than the current transmission rate as a new current transmission rate, and determining the initial transmit power based on the current signal strength corresponding to the current transmission rate in the device communication capability table of the second device; If the initial transmission power is less than or equal to the maximum transmission power of the first device, the current transmission rate is used as the data transmission rate for transmitting data signals from the first device to the second device, and the initial transmission power is used as the signal transmission power for transmitting data signals from the first device to the second device.

5. The method according to claim 4, determining the initial transmit power based on the current signal strength corresponding to the current transmission rate in the device communication capability table of the second device and the spatial path loss, comprising: At least the spatial path loss is superimposed on a current signal strength corresponding to the current transmission rate in the device communication capability table of the second device to obtain an initial transmission power.

6. The method according to claim 3, wherein the spatial path loss is obtained by: performing signal analysis on the received data signal sent by the second device to obtain the first signal strength; A spatial path loss for data transmission between the first device and the second device is obtained according to the first signal strength and the transmit power used by the second device to send the data signal to the first device.

7. The method according to claim 1, after transmitting a data signal from the first device to the second device using the target communication parameter, the method further comprising: Obtaining error data fed back by the second device in response to the data signal sent by the first device; When the bit error rate in the bit error data is greater than or equal to a bit error threshold, the target communication parameter is updated in a second manner.

8. A communication control method, comprising: receiving, on the second device, a parameter negotiation request sent by the first device; The first device sends a parameter negotiation request representing a first mode when a device movement parameter of the first device indicates that the first device is in a first state, and sends a parameter negotiation request representing a second mode when the device movement parameter indicates that the first device is in a second state; The moving speed of the first device in the first state is less than the moving speed of the first device in the second state; The first method is based on the device capability information of each of the first device and the second device, and the second method is based on the message detection result between the first device and the second device; When the parameter negotiation request represents the first mode, sending device capability information of the second device to the first device; the first device obtains target communication parameters based on the device capability information of each of the first device and the second device; When the parameter negotiation request represents the second mode, data message interaction is performed with the first device, and the first device and the second device obtain target communication parameters through message detection results corresponding to the data messages; The target communication parameter is used for the first device to transmit a data signal to the second device.

9. An electronic device, comprising: a sensor for obtaining a device movement parameter of the first device; a processor configured to obtain a target communication parameter in a first manner when the device movement parameter indicates that the first device is in a first state; When the device movement parameter indicates that the first device is in a second state, obtaining a target communication parameter in a second manner; The moving speed of the first device in the first state is less than the moving speed of the first device in the second state; The first method is based on the device capability information of the first device and the second device, and the second method is based on the message detection result between the first device and the second device; A transceiver is configured to transmit a data signal from the first device to the second device based on the target communication parameter.

10. An electronic device, comprising as a second device: a transceiver, configured to receive a parameter negotiation request sent by the first device; The first device sends a parameter negotiation request representing a first mode when a device movement parameter of the first device indicates that the first device is in a first state, and sends a parameter negotiation request representing a second mode when the device movement parameter indicates that the first device is in a second state; The moving speed of the first device in the first state is less than the moving speed of the first device in the second state; wherein the first method is based on the device capability information of each of the first device and the second device, and the second method is based on the message detection result between the first device and the second device; a processor, configured to detect the parameter negotiation request, and, if the parameter negotiation request represents a first manner, send the device capability information of the second device to the first device through the transceiver; the first device obtains target communication parameters based on the respective device capability information of the first device and the second device; and, if the parameter negotiation request represents a second manner, exchange data packets with the first device through the transceiver, and the first device and the second device obtain the target communication parameters through a packet detection result corresponding to the data packet; The target communication parameter is used for the first device to transmit a data signal to the second device.

Citation Information

Patent Citations

  • Transmit power control method and apparatus

    CN106576305A

  • Router control method and system

    CN108495363A

  • Communication method and device

    CN113905344A

  • Communication method and communication device

    CN115551036A

  • Close-loop power controlling method in WCDMA system

    CN1681222A