Transmitting power adjusting method and device, electronic equipment and storage medium

By obtaining the intensity of the transmitted signal in the wireless network card and adjusting the transmission power according to the adjustment mark of the power adjustment frame, the energy loss problem of the wireless network card when the signal strength is high is solved, and adaptive adjustment of the transmission power and energy saving are achieved.

CN120018257APending Publication Date: 2025-05-16HEFEI LCFC INFORMATION TECH
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510046924.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-13
Publication Date
2025-05-16

AI Technical Summary

Technical Problem

The wireless network cards of existing laptops still use maximum transmission power when the signal strength is high, resulting in unnecessary energy loss.

Method used

By obtaining the intensity of the transmitted signal, when the signal intensity is greater than the preset threshold, a power adjustment frame is obtained, the adjustment mode of the transmission power is determined based on the adjustment mark in the frame, and the transmission power of the wireless network card is adjusted according to the mode.

Benefits of technology

Adaptive adjustment of wireless network card transmission power is realized, unnecessary energy loss is avoided, and communication efficiency and equipment life are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120018257A_ABST
    Figure CN120018257A_ABST
Patent Text Reader

Abstract

The invention provides a transmitting power adjusting method and device, electronic equipment and a storage medium, the method is applied to a wireless network card, and the method comprises the following steps: acquiring a first transmitting signal; when the signal strength of the first transmitting signal is greater than a first preset threshold value, acquiring a power adjustment frame for the transmitting power of the wireless network card; determining an adjustment mode for the transmitting power of the wireless network card based on the adjustment identifier of the power adjustment frame; and adjusting the transmitting power of the wireless network card based on the adjusting mode for the transmitting power of the wireless network card. Unnecessary energy loss can be accurately and effectively avoided, and self-adaptive adjustment of the transmitting power of the wireless network card is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a transmission power adjustment method, device, electronic device and storage medium. Background Art

[0002] The existing wireless network cards of laptop computers basically communicate with the AP (Access Point, wireless router) at the maximum transmission power set in the driver or BIOS (Basic Input Output System). However, when the laptop is close to the AP and the signal is good, its wireless network card can actually communicate with the AP at a high rate without using the maximum transmission power, which causes excessive energy loss. Summary of the invention

[0003] The present application provides a transmission power adjustment method, device, electronic device and storage medium to at least solve the above technical problems existing in the prior art.

[0004] According to a first aspect of the present application, a transmission power adjustment method is provided, the method being applied to a wireless network card, the method comprising:

[0005] Acquire a first transmission signal;

[0006] When the signal strength of the first transmission signal is greater than a first preset threshold, obtaining a power adjustment frame for the transmission power of the wireless network card;

[0007] Determining an adjustment mode for the transmit power of the wireless network card based on the adjustment identifier of the power adjustment frame;

[0008] Based on the adjustment mode for the transmit power of the wireless network card, the transmit power of the wireless network card is adjusted.

[0009] In one possible implementation manner, determining the adjustment mode for the transmit power of the wireless network card based on the adjustment identifier of the power adjustment frame includes:

[0010] When the adjustment identifier of the power adjustment frame is the first identifier, determining that the adjustment mode for the transmit power of the wireless network card is an increasing mode;

[0011] When the adjustment identifier of the power adjustment frame is the second identifier, it is determined that the adjustment mode for the transmit power of the wireless network card is a decreasing mode.

[0012] In one possible implementation manner, adjusting the transmit power of the wireless network card based on the adjustment mode for the transmit power of the wireless network card includes:

[0013] Based on the adjustment mode and adjustment step size for the transmit power of the wireless network card, the transmit power of the wireless network card is adjusted.

[0014] In one possible implementation manner, the power adjustment frame is obtained by comparing the sum of a reference signal-to-noise ratio and a preset redundancy value with a target signal-to-noise ratio via a wireless route; the wireless route is a route for communicating with the wireless network card.

[0015] In one possible implementation manner, the reference signal-to-noise ratio and the target signal-to-noise ratio are obtained by performing signal analysis on the second transmission signal through the wireless router.

[0016] In one possible implementation manner, determining the adjustment mode for the transmit power of the wireless network card based on the adjustment identifier of the power adjustment frame includes:

[0017] Extracting power control information of a field corresponding to the adjustment identifier of the power adjustment frame;

[0018] When the power control information is the first power control information, determining that the adjustment mode for the wireless network card transmit power is an increasing mode;

[0019] When the power control information is the second power control information, it is determined that the adjustment mode for the transmit power of the wireless network card is a decreasing mode.

[0020] According to a second aspect of the present application, a transmission power adjustment device is provided, the device being applied to a wireless network card, the device comprising:

[0021] A first receiving unit, configured to obtain a first transmission signal;

[0022] A second receiving unit, configured to obtain a power adjustment frame for the transmission power of the wireless network card when the signal strength of the first transmission signal is greater than a first preset threshold;

[0023] A first determining unit, configured to determine an adjustment mode for the transmit power of the wireless network card based on the adjustment identifier of the power adjustment frame;

[0024] The adjustment unit is used to adjust the transmission power of the wireless network card based on the adjustment mode for the transmission power of the wireless network card.

[0025] In one possible implementation manner, the first determination unit is used to determine that the adjustment mode for the wireless network card transmit power is an increasing mode when the adjustment identifier of the power adjustment frame is a first identifier; and to determine that the adjustment mode for the wireless network card transmit power is a decreasing mode when the adjustment identifier of the power adjustment frame is a second identifier.

[0026] According to a third aspect of the present application, an electronic device is provided, including:

[0027] at least one processor; and

[0028] a memory communicatively connected to the at least one processor; wherein,

[0029] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described in the present application.

[0030] According to a fourth aspect of the present application, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable a computer to execute the method described in the present application.

[0031] In the present application, a first transmission signal is obtained; when the signal strength of the first transmission signal is greater than a first preset threshold, a power adjustment frame for the transmission power of the wireless network card is obtained; based on the adjustment identifier of the power adjustment frame, an adjustment mode for the transmission power of the wireless network card is determined; based on the adjustment mode for the transmission power of the wireless network card, the transmission power of the wireless network card is adjusted. It is possible to accurately and effectively avoid unnecessary energy loss and realize adaptive adjustment of the transmission power of the wireless network card.

[0032] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] By reading the detailed description below with reference to the accompanying drawings, the above and other purposes, features and advantages of the exemplary embodiments of the present application will become readily understood. In the accompanying drawings, several embodiments of the present application are shown in an exemplary and non-limiting manner, wherein:

[0034] In the drawings, the same or corresponding reference numerals represent the same or corresponding parts.

[0035] Figure 1 A schematic diagram of the implementation process of the transmit power adjustment method according to an embodiment of the present application is shown;

[0036] Figure 2 A schematic diagram of communication between a wireless network card and a wireless router according to an embodiment of the present application is shown;

[0037] Figure 3 Schematic diagram showing the adjustment flag of the power adjustment frame in the embodiment of the present application Figure 1 ;

[0038] Figure 4 Schematic diagram showing the adjustment flag of the power adjustment frame in the embodiment of the present application Figure 2 ;

[0039] Figure 5 A schematic diagram of the implementation process of the transmission power adjustment method of the wireless network card side in the embodiment of the present application is shown;

[0040] Figure 6 A schematic diagram of the implementation process of the transmission power adjustment method of the wireless router in the embodiment of the present application is shown;

[0041] Figure 7 A schematic diagram showing power control information of a field corresponding to an adjustment identifier of a power adjustment frame according to an embodiment of the present application is shown;

[0042] Figure 8 A schematic diagram of the structure of the transmission power adjustment device according to an embodiment of the present application is shown;

[0043] Fig. 9 A schematic diagram of the structure of an electronic device according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0044] In order to make the purpose, features, and advantages of the present application more obvious and easy to understand, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.

[0045] It is understandable that in the face of the problem of excessive energy loss when the wireless network card communicates with the wireless router, the relevant technology usually adjusts the transmission power of the wireless network card based on the packet error rate. Specifically, after the STA (terminal station, such as the wireless network card end) sends information to the AP, the AP will feedback an ACK (Acknowledge character) signal to indicate receipt; if the STA does not receive the feedback ACK signal within the specified time, it means that the AP has not received it, so the STA will resend it. In this way, the STA end uses the percentage of the ACK feedback signal and the number of transmissions, which is the PER (packet error rate) to judge the quality of the wireless channel. Then, when the PER is low, the power consumption can be reduced by reducing the transmission power of the STA.

[0046] However, PER is the ratio of the number of erroneously received packets to the number of transmitted packets, and focuses on the actual data transmission errors. It does not directly reflect the quality of the transmitted signal. The indicators used to reflect signal quality are mainly SNR signal-to-noise ratio (or EVM error vector magnitude). In addition, PER needs to accumulate the number of measured packets, which is not a direct reflection of the channel situation. The process is relatively delayed, and the adjustment of the transmit power is also lagging.

[0047] The present application provides a transmission power adjustment method, which includes obtaining a first transmission signal; when the signal strength of the first transmission signal is greater than a first preset threshold, obtaining a power adjustment frame for the transmission power of the wireless network card; determining an adjustment mode for the transmission power of the wireless network card based on an adjustment identifier of the power adjustment frame; and adjusting the transmission power of the wireless network card based on the adjustment mode for the transmission power of the wireless network card. The method can accurately and effectively avoid unnecessary energy loss and realize adaptive adjustment of the transmission power of the wireless network card.

[0048] The present application embodiment provides a method for adjusting transmission power, which is applied to a wireless network card, such as Figure 1 As shown, the method includes:

[0049] S101: Acquire a first transmission signal.

[0050] In this step, refer to Figure 2 As shown, the wireless router (router AP) and the wireless network card (laptop STA) can communicate with each other, the laptop STA can send information to the AP, and the router AP can also send information to the STA. If the embodiment of the present application is applied to the wireless network card, the first transmission signal is a signal sent by the wireless router.

[0051] S102: When the signal strength of the first transmission signal is greater than a first preset threshold, a power adjustment frame for the transmission power of the wireless network card is obtained.

[0052] In this step, refer to Figure 5 As shown, the wireless network card receives Figure 2 After the first transmission signal is sent by the router AP, the signal strength of the first transmission signal is read. It is generally believed that a signal strength of -60dbm is a good strength for normal communication. Taking -60dbm as the first preset threshold, considering that when the wireless transmitter operates below 0dBm, the RF power amplifier will no longer work and its current consumption is relatively small. Therefore, the transmission power of the wireless network card (STA) in the embodiment of the present application can be controlled above 0dBm, and when the signal strength of the AP signal received by the STA end is large, such as greater than -60dBm, the process of adjusting the transmission power of the wireless network card is started. Among them, the transmission power of the wireless network card is adjusted based on the power adjustment frame. For the specific process, please refer to the detailed description of the relevant parts below and will not be repeated.

[0053] S103: Determine an adjustment mode for the transmit power of the wireless network card based on the adjustment identifier of the power adjustment frame.

[0054] In this step, refer to Figure 5As shown, the adjustment identifier of the power adjustment frame carries relevant information for the wireless network card transmit power. Based on the adjustment identifier of the power adjustment frame, the adjustment mode for the wireless network card transmit power can be determined. For the specific process, please refer to the detailed description of the relevant parts below and will not be repeated here.

[0055] S104: Adjust the transmit power of the wireless network card based on the adjustment mode for the transmit power of the wireless network card.

[0056] In this step, there are two adjustment modes for the wireless network card transmit power: increasing mode and decreasing mode. Figure 5 As shown, based on the adjustment mode of the wireless network card transmission power, the wireless network card transmission power can be increased or decreased to avoid excessive and unnecessary energy loss during the communication process.

[0057] In the scheme shown in step S101 to step S104, a first transmission signal is obtained; when the signal strength of the first transmission signal is greater than a first preset threshold, a power adjustment frame for the transmission power of the wireless network card is obtained; based on the adjustment identifier of the power adjustment frame, an adjustment mode for the transmission power of the wireless network card is determined; based on the adjustment mode for the transmission power of the wireless network card, the transmission power of the wireless network card is adjusted. It can accurately and effectively avoid unnecessary energy loss and realize adaptive adjustment of the transmission power of the wireless network card.

[0058] In an optional solution, determining the adjustment mode for the transmit power of the wireless network card based on the adjustment identifier of the power adjustment frame includes:

[0059] When the adjustment identifier of the power adjustment frame is the first identifier, determining that the adjustment mode for the transmit power of the wireless network card is an increasing mode;

[0060] When the adjustment identifier of the power adjustment frame is the second identifier, it is determined that the adjustment mode for the transmit power of the wireless network card is a decreasing mode.

[0061] In this application, the adjustment identifier can be understood as the ID of the power adjustment frame. This embodiment defines a private power management frame based on the existing WIFI (wireless) protocol to adjust the transmission power of the wireless network card. The WIFI protocol itself has a power control protocol, but its protocol only limits the maximum transmission power. Its purpose is to require the network card to reduce the transmission power to reduce interference with military radar equipment. This embodiment retains the fields with IDs 17-31 in the original protocol and only defines individual fields therein. Figure 3 and Figure 4 , Figure 3 The schematic diagram of the adjustment identifier of the power adjustment frame is the second identifier, such as Figure 3 As shown, Figure 3The Frame Control field is located at the beginning of the frame and occupies 2 bits (bytes). It is used to define the frame type, subtype, protocol version, frame direction and some control flags. Duration / ID occupies 2 bits and is used to specify the network allocation vector timer of other nodes in the network, which is used to control media access. Address1 occupies 6 bits and often represents the MAC address of the receiver of the frame. Address2 occupies 6 bits and often represents the MAC address of the sender of the frame. Address3 occupies 6 bits and can represent different addresses depending on the frame type. Sequence Control occupies 2 bits and is used for frame sequence control and fragment management. Category occupies 1 bit to indicate the type of frame. Action occupies 1 bit to specify the specific action type. Dialog Token occupies 1 bit to receive the data request of the communication partner. FCS occupies 4 bits and is used for error detection during data transmission. TPC Decrease Element includes Element ID (adjustment identifier, occupies 1 bit) and Length (length, occupies 1 bit). The adjustment identifier Element ID is the second identifier, specifically ID No. 30 in the WIFI protocol, and its binary representation is 0×1E. This field is an empty field, that is, no data is stored, so its length is 0, and its binary representation is 0×00. Figure 4 The schematic diagram of the adjustment identifier of the power adjustment frame is the first identifier, such as Figure 4 As shown, Figure 4 Zhongyu Figure 3 For the same parts, see the above Figure 3 The relevant instructions are not repeated here. Figure 4 The TPC Increase Element includes Element ID (adjustment identifier, occupying 1 bit) and Length (length, occupying 1 bit). The adjustment identifier Element ID is the first identifier, specifically ID No. 31 in the WIFI protocol, and its binary representation is 0×1F. This field is an empty field, that is, no data is stored, so its length is 0, and its binary representation is 0×00. In other words, the embodiment of the present application modifies the 30th and 31st fields in the WIFI protocol, defines the 30th field as a descending field, and defines the 31st field as an ascending field. In this way, it is determined whether the adjustment mode for the wireless network card transmit power is an ascending mode or a descending mode, and the adaptive adjustment of the wireless network card transmit power can be realized conveniently and quickly. In addition, the private management frame in the embodiment of the present application is fully compatible with the original WIFI protocol and will not affect other STAs.

[0062] In an optional solution, adjusting the transmit power of the wireless network card based on the adjustment mode for the transmit power of the wireless network card includes:

[0063] Based on the adjustment mode and adjustment step size for the transmit power of the wireless network card, the transmit power of the wireless network card is adjusted.

[0064] In the present application, after determining the adjustment mode for the transmission power of the wireless network card, the transmission power of the wireless network card is adjusted accordingly based on the adjustment step size. Exemplarily, assuming that the adjustment step size is 1dB, when the adjustment mode is the rising mode, the transmission power of the wireless network card is increased by 1dB. When the adjustment mode is the falling mode, the transmission power of the wireless network card is reduced by 1dB. The transmission power can be adjusted step by step based on the adjustment step size, thereby accurately and effectively avoiding unnecessary energy loss.

[0065] In an optional solution, the power adjustment frame is obtained by comparing the sum of a reference signal-to-noise ratio and a preset redundancy value with a target signal-to-noise ratio through a wireless route; the wireless route is a route for communicating with the wireless network card.

[0066] In this application, reference Figure 6 As shown, the power adjustment frame is sent to the wireless network card through the wireless router. Specifically, the wireless router determines the power adjustment frame by comparing the sum of the reference signal-to-noise ratio and the preset redundancy value with the target signal-to-noise ratio. The preset redundancy value is an empirical value, usually set to 3dB. The target signal-to-noise ratio is the signal-to-noise ratio of the transmission signal (the second transmission signal described below) received by the wireless router from the wireless network card. The reference signal-to-noise ratio is a standard signal-to-noise ratio used for comparison and determination of the power adjustment frame. The reference signal-to-noise ratio and the preset redundancy value are added, and the sum of the two is compared with the target signal-to-noise ratio. When the target signal-to-noise ratio is greater than the reference signal-to-noise ratio + the preset redundancy value, the wireless router sends a power adjustment frame with an adjustment identifier as the second identifier (such as the field of ID No. 30 mentioned above) to the wireless network card. When the target signal-to-noise ratio is less than the reference signal-to-noise ratio + the preset redundancy value, the wireless router sends a power adjustment frame with an adjustment identifier as the first identifier (such as the field of ID No. 31 mentioned above) to the wireless network card. It is simple and easy to implement, and provides a data basis for realizing the adaptive adjustment of the transmission power of the wireless network card. At the same time, it can maintain the maximum throughput rate and improve communication quality.

[0067] In an optional solution, the reference signal-to-noise ratio and the target signal-to-noise ratio are obtained by performing signal analysis on the second transmission signal through the wireless router.

[0068] In this application, reference Figure 6As shown, the wireless network card transmits a second transmission signal to the wireless router. After receiving the second transmission signal, the wireless router performs signal analysis on the signal to obtain the target signal-to-noise ratio and MCS (Modulation and Coding Scheme) of the signal. Different MCSs have corresponding signal-to-noise ratios, i.e., reference signal-to-noise ratios. The corresponding reference signal-to-noise ratio is determined from a preset mapping relationship according to the MCS obtained by analysis. This is convenient and fast, and improves the data processing rate of the wireless router, thereby enabling efficient adjustment of the transmission power of the wireless network card.

[0069] In an optional solution, determining the adjustment mode for the transmit power of the wireless network card based on the adjustment identifier of the power adjustment frame includes:

[0070] Extracting power control information of a field corresponding to the adjustment identifier of the power adjustment frame;

[0071] When the power control information is the first power control information, determining that the adjustment mode for the wireless network card transmit power is an increasing mode;

[0072] When the power control information is the second power control information, it is determined that the adjustment mode for the transmit power of the wireless network card is a decreasing mode.

[0073] In this application, reference Figure 7 As shown, Figure 7 In the above Figure 3 and Figure 4 For the same parts, please refer to the detailed description of the related parts mentioned above and will not be repeated here. Figure 7 The TPC Adjust Element in it includes Element ID (adjustment identifier, occupying 1 bit) and Length (length, occupying 1 bit) and TPC info (power control information, occupying 1 bit). The embodiment of the present application defines ID No. 31 (binary representation is 0×1F). Because it stores power control information, the binary representation of the length is 0×00. Among them, TPC info includes 8 parts (Bit0~Bit7). Among them, the 4 bits Bit0~Bit3 are used for 1~16dB step power control (for example, when Bit 7 is 0, Bit0~3=10, the transmission power of the wireless network card can be directly reduced by 10dB). Bit4~Bit6 are all Reserved and are used to implement other functions of the frame. Bit7 is used to determine the power control field of the power adjustment frame, which can decide whether to increase or decrease the power. Reference Figure 5As shown, extract the power control information of the power adjustment frame, that is, the information in Bit7. When the information in Bit7 is the first power control information, that is, Bit7=1, the adjustment mode for the wireless network card transmit power is the rising mode. When the information in Bit7 is the second power control information, that is, Bit7=0, the adjustment mode for the wireless network card transmit power is the falling mode. In addition, when the adjustment mode for the wireless network card transmit power is the rising mode, when the wireless network card transmit power is already the maximum power at this time, the original power can be maintained. When the adjustment mode for the wireless network card transmit power is the falling mode, when the wireless network card transmit power is already 0dBm at this time, the original power can be maintained. In the present application, power control is implemented using simple information similar to 1 bit, which reduces the difficulty of implementation and reduces the loading overhead of software and hardware.

[0074] The embodiment of the present application also provides a transmission power adjustment device, which is applied to a wireless network card, such as Figure 8 As shown, the device comprises:

[0075] A first receiving unit 801, configured to obtain a first transmission signal;

[0076] The second receiving unit 802 is configured to obtain a power adjustment frame for the transmission power of the wireless network card when the signal strength of the first transmission signal is greater than a first preset threshold;

[0077] A first determining unit 803 is used to determine an adjustment mode for the transmit power of the wireless network card based on the adjustment identifier of the power adjustment frame;

[0078] The adjusting unit 804 is configured to adjust the transmit power of the wireless network card based on the adjustment mode for the transmit power of the wireless network card.

[0079] In an optional scheme, the first determination unit 803 is used to determine that the adjustment mode for the wireless network card transmit power is an increasing mode when the adjustment identifier of the power adjustment frame is a first identifier; when the adjustment identifier of the power adjustment frame is a second identifier, determine that the adjustment mode for the wireless network card transmit power is a decreasing mode.

[0080] In an optional solution, the adjustment unit 804 is used to adjust the transmit power of the wireless network card based on the adjustment mode and adjustment step size for the transmit power of the wireless network card.

[0081] In an optional solution, the power adjustment frame is obtained by comparing the sum of a reference signal-to-noise ratio and a preset redundancy value with a target signal-to-noise ratio through a wireless route; the wireless route is a route for communicating with the wireless network card.

[0082] In an optional solution, the reference signal-to-noise ratio and the target signal-to-noise ratio are obtained by performing signal analysis on the second transmission signal through the wireless router.

[0083] In an optional scheme, the first determination unit 803 is used to extract the power control information of the field corresponding to the adjustment identifier of the power adjustment frame; when the power control information is the first power control information, it is determined that the adjustment mode for the wireless network card transmit power is an increasing mode; when the power control information is the second power control information, it is determined that the adjustment mode for the wireless network card transmit power is a decreasing mode.

[0084] It should be noted that the transmission power adjustment device of the embodiment of the present application solves the problem in a similar principle to the aforementioned transmission power adjustment method. Therefore, the implementation process, implementation principle, and beneficial effects of the transmission power adjustment device can all be referred to the description of the implementation process, implementation principle, and beneficial effects of the aforementioned method, and the repeated parts will not be repeated.

[0085] According to an embodiment of the present application, the present application also provides an electronic device and a readable storage medium.

[0086] Fig. 9 A schematic block diagram of an example electronic device 900 that can be used to implement an embodiment of the present application is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.

[0087] like Fig. 9 As shown, the device 900 includes a computing unit 901, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 902 or a computer program loaded from a storage unit 908 into a random access memory (RAM) 903. In the RAM 903, various programs and data required for the operation of the device 900 can also be stored. The computing unit 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.

[0088] A number of components in the device 900 are connected to the I / O interface 905, including: an input unit 906, such as a keyboard, a mouse, etc.; an output unit 907, such as various types of displays, speakers, etc.; a storage unit 908, such as a disk, an optical disk, etc.; and a communication unit 909, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 909 allows the device 900 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0089] The computing unit 901 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 901 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 901 performs the various methods and processes described above, such as the transmit power adjustment method. For example, in some embodiments, the transmit power adjustment method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 908. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 900 via the ROM 902 and / or the communication unit 909. When the computer program is loaded into the RAM 903 and executed by the computing unit 901, one or more steps of the transmit power adjustment method described above may be performed. Alternatively, in other embodiments, the computing unit 901 may be configured to perform the transmit power adjustment method in any other appropriate manner (e.g., by means of firmware).

[0090] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0091] The program code for implementing the method of the present application can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, implements the functions / operations specified in the flow chart and / or block diagram. The program code can be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0092] In the context of the present application, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0093] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0094] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0095] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0096] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this application can be executed in parallel, sequentially or in different orders, as long as the expected results of the technical solution disclosed in this application can be achieved, and this document is not limited here.

[0097] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0098] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for adjusting transmission power, characterized in that: The method is applied to a wireless network card, and the method comprises: Acquire a first transmission signal; When the signal strength of the first transmission signal is greater than a first preset threshold, obtaining a power adjustment frame for the transmission power of the wireless network card; Determining an adjustment mode for the transmit power of the wireless network card based on the adjustment identifier of the power adjustment frame; Based on the adjustment mode for the transmit power of the wireless network card, the transmit power of the wireless network card is adjusted.

2. The method according to claim 1, characterized in that The step of determining an adjustment mode for the transmit power of the wireless network card based on the adjustment identifier of the power adjustment frame includes: When the adjustment identifier of the power adjustment frame is the first identifier, determining that the adjustment mode for the transmit power of the wireless network card is an increasing mode; When the adjustment identifier of the power adjustment frame is the second identifier, it is determined that the adjustment mode for the transmit power of the wireless network card is a decreasing mode.

3. The method according to claim 1 or 2, characterized in that: The adjusting the transmit power of the wireless network card based on the adjustment mode for the transmit power of the wireless network card includes: Based on the adjustment mode and adjustment step size for the transmit power of the wireless network card, the transmit power of the wireless network card is adjusted.

4. The method according to claim 1 or 2, characterized in that: The power adjustment frame is obtained by comparing the sum of a reference signal-to-noise ratio and a preset redundancy value with a target signal-to-noise ratio through a wireless route; the wireless route is a route for communicating with the wireless network card.

5. The method according to claim 4, characterized in that The reference signal-to-noise ratio and the target signal-to-noise ratio are obtained by performing signal analysis on the second transmission signal through the wireless router.

6. The method according to claim 1, characterized in that The step of determining an adjustment mode for the transmit power of the wireless network card based on the adjustment identifier of the power adjustment frame includes: Extracting power control information of a field corresponding to the adjustment identifier of the power adjustment frame; When the power control information is the first power control information, determining that the adjustment mode for the wireless network card transmit power is an increasing mode; When the power control information is the second power control information, it is determined that the adjustment mode for the transmit power of the wireless network card is a decreasing mode.

7. A transmission power adjustment device, characterized in that: The device is applied to a wireless network card, and the device comprises: A first receiving unit, configured to obtain a first transmission signal; A second receiving unit, configured to obtain a power adjustment frame for the transmission power of the wireless network card when the signal strength of the first transmission signal is greater than a first preset threshold; A first determining unit, configured to determine an adjustment mode for the transmit power of the wireless network card based on the adjustment identifier of the power adjustment frame; The adjustment unit is used to adjust the transmission power of the wireless network card based on the adjustment mode for the transmission power of the wireless network card.

8. The device according to claim 7, characterized in that The first determination unit is used to determine that the adjustment mode for the wireless network card transmit power is an increasing mode when the adjustment identifier of the power adjustment frame is a first identifier; when the adjustment identifier of the power adjustment frame is a second identifier, determine that the adjustment mode for the wireless network card transmit power is a decreasing mode.

9. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 6.

10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to make a computer execute the method according to any one of claims 1-6.

Citation Information

Cited By

  • Video transmission method and device, electronic device and storage medium

    CN120639751A