WO2025218580A1 - 信号的发送方法、装置及电子设备 - Google Patents
信号的发送方法、装置及电子设备Info
- Publication number
- WO2025218580A1 WO2025218580A1 PCT/CN2025/088388 CN2025088388W WO2025218580A1 WO 2025218580 A1 WO2025218580 A1 WO 2025218580A1 CN 2025088388 W CN2025088388 W CN 2025088388W WO 2025218580 A1 WO2025218580 A1 WO 2025218580A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- field
- wifi signal
- signal
- data
- transmit power
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/04—Wireless resource allocation
- H04W72/044—Wireless resource allocation based on the type of the allocated resource
- H04W72/0473—Wireless resource allocation based on the type of the allocated resource the resource being transmission power
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/12—Wireless traffic scheduling
- H04W72/1263—Mapping of traffic onto schedule, e.g. scheduled allocation or multiplexing of flows
Definitions
- the present application belongs to the field of communication technology, and specifically relates to a signal sending method, device and electronic equipment.
- WiFi Wireless Fidelity
- an electronic device detects a WiFi signal, it transmits the data to the WiFi router providing the WiFi signal at a certain transmit power. While higher transmit power translates to higher data rates and communication quality, it also requires higher power consumption. Therefore, balancing communication quality and power consumption in electronic devices has become a pressing issue.
- the purpose of the embodiments of the present application is to provide a signal sending method, device and electronic device, which can solve the technical problem that the existing WiFi protocol cannot take into account both the communication quality and power consumption of electronic devices.
- an embodiment of the present application provides a method for sending a signal, the method comprising:
- the second WiFi signal is a WiFi signal sent by the first electronic device to the second electronic device;
- At least one field in the second WiFi signal is transmitted at the target transmit power.
- an embodiment of the present application provides a signal sending device, the device comprising:
- a receiving module configured to receive a first WiFi signal sent by a second electronic device
- a determining module configured to determine a target transmit power of at least one field in a second WiFi signal based on a quality parameter of the first WiFi signal, wherein the second WiFi signal is a WiFi signal sent by the first electronic device to the second electronic device;
- a sending module is configured to send at least one field in the second WiFi signal at the target transmit power.
- an embodiment of the present application provides an electronic device comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the method provided in the first aspect are implemented.
- an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method provided in the first aspect are implemented.
- an embodiment of the present application provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the steps of the method provided in the first aspect.
- an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the steps of the method provided in the first aspect.
- a first WiFi signal transmitted by a second electronic device can be received, and the transmission power of at least one field in the second WiFi signal can be adjusted based on the quality parameter of the first WiFi signal.
- the signal quality parameter is used to characterize the communication quality of the network environment in which the first electronic device is located, the transmission power of some or all fields in the signal transmitted by the first electronic device can be adjusted based on the quality parameter.
- FIG1 is a schematic flow chart of a signal sending method provided by one embodiment of the present application.
- FIG2 is a schematic structural diagram of a signal sending device provided in another embodiment of the present application.
- FIG3 is a schematic structural diagram of an electronic device provided in another embodiment of the present application.
- FIG4 is a schematic diagram of the hardware structure of the electronic device provided in an embodiment of the present application.
- first,” “second,” and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first,” “second,” and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more.
- the term “and/or” in the specification and claims represents at least one of the connected objects, and the character “/" generally indicates that the objects associated with each other are in an "or” relationship.
- the present application provides a method for transmitting a signal.
- the method for transmitting a signal provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios.
- FIG1 is a flow chart of a method for sending a signal provided by an embodiment of the present application.
- the embodiment of the present application provides a method for sending a signal, which may include:
- the second electronic device in a wireless local area network environment, may be a WiFi router device.
- the WiFi router device acts as a WiFi access point and can provide WiFi network access to surrounding terminal devices.
- the terminal devices can connect to the WiFi network, and then the second electronic device and the terminal devices can communicate by transmitting WiFi signals.
- the first electronic device may be a terminal device connected to the WiFi network provided by the second electronic device.
- S102 Determine a target transmit power of at least one field in a second WiFi signal based on a quality parameter of the first WiFi signal, wherein the second WiFi signal is a WiFi signal sent by the first electronic device to the second electronic device;
- a terminal device and a second electronic device in a WiFi network typically transmit WiFi signals at a fixed default power.
- the terminal device After the terminal device receives a first WiFi signal sent by the second electronic device at the default power, it can analyze the first WiFi signal to obtain a quality parameter of the first WiFi signal.
- the quality parameter can indicate the signal quality of the first WiFi signal, and the network environment between the terminal device and the second electronic device can be further evaluated based on the signal quality.
- the terminal device can transmit the second WiFi signal according to the default power.
- the terminal device sends the second WiFi signal to the second electronic device, if the terminal device still transmits the second WiFi signal at the default power, this may cause the second electronic device to be unable to correctly receive data, reduce data transmission rates, and increase network latency. To avoid these problems, it is necessary to re-determine the target transmission power of the second WiFi signal based on the quality parameter.
- a WiFi signal is composed of a series of data packets, each of which consists of multiple fields in the same format, when re-determining the target transmit power of the second WiFi signal, the target transmit power of the entire second WiFi signal can be re-determined, or the target transmit power of only some fields of the data packets in the second WiFi signal can be re-determined.
- S103 Send at least one field in the second WiFi signal at the target transmit power.
- the terminal device may set the target transmit power to its currently operating transmit power, so that when communicating with the second electronic device, the terminal device may transmit signals according to the target transmit power and send at least one field in the second WiFi signal at the target transmit power.
- the terminal device may also reacquire the quality parameter of the received first WiFi signal at predetermined intervals, update the target transmit power based on the quality parameter, and then dynamically adjust the actual transmit power based on the latest target transmit power, thereby updating the actual transmit power of the terminal device to the latest target transmit power.
- a first WiFi signal transmitted by a second electronic device can be received, and the transmission power of at least one field in the second WiFi signal can be adjusted based on the quality parameter of the first WiFi signal.
- the quality parameter of the signal is used to characterize the communication quality of the network environment in which the first electronic device is located, the transmission power of some or all fields in the signal transmitted by the first electronic device can be adjusted based on the quality parameter.
- S102 includes:
- a target transmit power of the first field is determined according to the data state.
- the quality parameter of the first WiFi signal can be extracted by parsing the WiFi frame header of the received first WiFi signal. After obtaining the quality parameter of the first WiFi signal, if the quality parameter of the first WiFi signal meets a first condition, it can be determined that the second WiFi signal transmitted by the first electronic device to the second electronic device may contain a field requiring power breakthrough.
- Signal modulation parameters of the packets can be determined by parsing the fields included in each data packet in the first WiFi signal.
- the data status of the packets can also be used to determine the communication status of the first WiFi signal. Therefore, based on the data status of the packets, the fields requiring power breakthrough can be determined in the second WiFi signal.
- At least one field requiring power breakthrough can be identified as a first field, and a target transmit power for the first field can be determined based on the data status.
- the first condition indicates that the quality parameter is less than a quality threshold set in advance by the user, indicating that a field requiring power breakthrough exists in the second WiFi signal transmitted by the first electronic device to the second electronic device.
- the quality parameter of the first WiFi signal and the specific data status of the data packet in the first WiFi signal are combined to jointly evaluate the communication quality between the terminal device and the second electronic device, and the first field in the second WiFi signal that requires adjustment of the transmit power is determined, and the target transmit power of the first field is determined. In this way, a more accurate target transmit power can be obtained, so that the target transmit power can be better adapted to the current network environment.
- the quality parameter includes signal strength and modulation and coding level
- the method before obtaining the data status of at least one data packet in the first WiFi signal, the method further includes:
- the quality parameter meets the first condition.
- the quality parameters of the first WiFi signal may include RSSI (Received Signal Strength Indicator) and MCS level (Modulation and Coding Scheme).
- RSSI refers to the signal strength of the received first Wi-Fi signal. Signal strength can be used to assess the connection quality between devices. A higher RSSI indicates a stronger signal, while a lower RSSI indicates a weaker signal.
- the MCS level indicates the type and parameters of the modulation and coding scheme used. The MCS level can be used together with RSSI to assess the data transmission rate of the first Wi-Fi signal.
- the signal strength corresponding to the first WiFi signal can be first detected, and then the signal strength can be compared with a preset signal strength threshold. If the signal strength is greater than or equal to the signal strength threshold, it can be determined that the communication quality between the terminal device and the second electronic device is high, and the terminal device can then transmit the WiFi signal at the default power. If the signal strength is less than the signal strength threshold, the modulation and coding level can be further compared with a preset level threshold. If the modulation and coding level is less than the level threshold, it is determined that the transmission rate of the signal under the current modulation and coding scheme will be relatively slow under the current network environment, and transmission interruption may occur.
- the terminal device cannot send the second WiFi signal according to the default power.
- the terminal device can select at least one first field that needs to increase the transmission power from the multiple fields included in the second WiFi signal according to the data status, and re-determine the target transmission power of the first field.
- the terminal device can transmit the signal according to the default power and compare the signal strength and modulation and coding level with the corresponding threshold at each preset time interval to re-evaluate the network environment to determine whether it is necessary to redetermine the transmission power of the second WiFi signal.
- the communication quality of the signal between the terminal device and the second electronic device can be evaluated based on the signal strength and modulation coding level of the first WiFi signal. If the communication quality is low, the transmission power of some or all fields in the second WiFi signal is determined based on the data status, so that the transmission power of the second WiFi signal can adapt to the current network environment between the terminal device and the second electronic device.
- the first WiFi signal includes multiple data packets, each data packet includes at least one of a short training field, a long training field, a signal field, and a data field, and the data status includes at least one of a frequency offset value of the data packet, a channel estimation result, and an error vector magnitude of each field.
- a standard deviation of frequency offset values of N consecutive data packets in the first WiFi signal is greater than a first standard deviation threshold, determine the short training field in the second WiFi signal as the first field, where N is a positive integer;
- the long training field in the second WiFi signal is determined as the first field.
- EVM error vector magnitude
- EVM error vector magnitude
- all data packets in WiFi signals can be divided into the following fields: STF (Short Training Field), LTF (Long Training Field), SIG (Signal Field), and Data.
- STF Short Training Field
- LTF Long Training Field
- SIG Synignal Field
- Data Data.
- STF, LTF, and SIG fields are the frame headers of WiFi signals, while the data field carries the actual data.
- the data status of the data packet in the first WiFi signal can be determined by analyzing the field attributes of each field in the data packet in the first WiFi signal, and based on the data status, it can be determined which fields in the second WiFi signal need to have their target transmission power re-determined.
- the frequency offset value of each data packet can be identified by analyzing the field attributes of the short training field in each data packet in the first WiFi signal. If the standard deviation of the frequency offset values of N consecutive data packets in the first WiFi signal is greater than a first standard deviation threshold, it can be considered that the dispersion of the frequency offset values of these N consecutive data packets is too high, resulting in a large difference between the actual frequency offset and the ideal frequency offset of the first WiFi signal. Therefore, it is necessary to determine the short training field as the first field and re-determine the transmit power of the short training field corresponding to the frequency offset in the second WiFi signal.
- the channel estimation result of each data packet can also be identified by analyzing the field attributes of the long training field in each data packet in the first WiFi signal. If the standard deviation of the channel estimation results of N consecutive data packets in the first WiFi signal is greater than the second standard deviation threshold, the standard deviation of the error vector magnitude of the data field of these N consecutive data packets can be further compared with the third standard deviation threshold. If the standard deviation of the error vector magnitude is greater than the third standard deviation threshold, it can be considered that the discreteness of the channel estimation results of these N consecutive data packets is too high, resulting in poor channel quality. Therefore, it is necessary to determine the long training field as the first field, and re-determine the transmission power of the long training field corresponding to the channel quality in the second WiFi signal.
- the error vector magnitude (EVM) of the signal field and the error vector magnitude (EVM) of the data field can be determined by analyzing the field attributes of the signal field and the data field of each data packet in the first WiFi signal.
- the EVM is a measure of signal modulation error. If the EVM of the signal field of a data packet in the first WiFi signal is greater than a first threshold, it can be determined that the signal field of the first WiFi signal differs significantly from the signal field of an ideal signal, and the transmit power of the signal field in the second WiFi signal needs to be re-determined.
- the EVM of the data field of a data packet in the first WiFi signal is greater than a second threshold, it can be determined that the data field of the first WiFi signal differs significantly from the data field of the ideal signal, and the transmit power of the data field in the second WiFi signal needs to be re-determined.
- the field attributes of each field in the first WiFi signal can be analyzed separately to evaluate the data status of the data packet in the first WiFi signal. If there is an abnormal data status, the field corresponding to the abnormal data status can be determined as the first field, and the transmission power of the first field of the second WiFi signal can be adjusted. In this way, each field in the second WiFi signal is close to the ideal state of signal transmission, ensuring high communication quality between the terminal device and the second electronic device.
- determining the target transmit power of the first field according to the data state includes:
- the transmit power corresponding to the second gear level is determined as the target transmit power of the first field.
- the signal strength is less than the signal strength threshold and the modulation and coding level is less than the level threshold, it is necessary to increase the transmission power of the first field in the second WiFi signal transmitted by the terminal device based on the current transmission power of the terminal device.
- the adjustable range of the transmit power can be pre-set to P gear levels, with each gear level corresponding to a transmit power. The higher the gear level, the higher the corresponding transmit power.
- the first gear level corresponding to the current transmit power of the first field can be further obtained, and based on the first gear level, the transmit power of the first field can be increased by one gear. If the data state corresponding to the first field meets the second condition at the second gear level, the transmit power corresponding to the second gear level is determined as the target transmit power of the first field. Otherwise, the transmit power of the first field is continued to be increased in the above manner until the data state corresponding to the first field at the second gear level meets the second condition.
- the second condition is that the quality of a signal sent by the first electronic device determined based on the data status reaches a preset status threshold.
- the transmit power of the first field can be flexibly adjusted within an adjustable range, so that the final transmit power of the first field accurately adapts to the current communication quality.
- FIG2 is a schematic diagram of the structure of a signal sending device provided in another embodiment of the present application.
- the signal sending device may include:
- Receiving module 201 configured to receive a first WiFi signal sent by a second electronic device
- a determination module 202 configured to determine a target transmit power of at least one field in a second WiFi signal based on a quality parameter of the first WiFi signal, wherein the second WiFi signal is a WiFi signal sent by the first electronic device to the second electronic device;
- the sending module 203 is configured to send at least one field in the second WiFi signal at the target transmit power.
- a first WiFi signal transmitted by a second electronic device can be received, and the transmission power of at least one field in the second WiFi signal can be adjusted based on the quality parameter of the first WiFi signal.
- the quality parameter of the signal is used to characterize the communication quality of the network environment in which the first electronic device is located, the transmission power of some or all fields in the signal transmitted by the first electronic device can be adjusted based on the quality parameter.
- the determining module 202 includes:
- an acquiring unit configured to acquire a data status of at least one data packet in the first WiFi signal if the quality parameter satisfies a first condition
- a first determining unit configured to determine at least one field in the second WiFi signal as a first field according to the data state
- a second determining unit is configured to determine a target transmit power of the first field according to the data state.
- the device for sending the signal includes:
- the breakthrough module is used to determine that the quality parameter meets the first condition when the signal strength is less than a signal strength threshold and the modulation and coding level is less than a level threshold.
- the first WiFi signal includes multiple data packets, each data packet includes at least one of a short training field, a long training field, a signal field, and a data field, the data status includes at least one of a frequency offset value of the data packet, a channel estimation result, and an error vector magnitude of each field, and the first determining unit further includes:
- a first determining subunit configured to, when a standard deviation of frequency offset values of N consecutive data packets in the first WiFi signal is greater than a first standard deviation threshold, determine the short training field in the second WiFi signal as the first field, where N is a positive integer;
- a second determining subunit configured to, if a standard deviation of channel estimation results of N consecutive data packets in the first WiFi signal is greater than a second standard deviation threshold, and a standard deviation of error vector magnitudes of data fields of the N consecutive data packets is greater than a third standard deviation threshold, determine the long training field in the second WiFi signal as the first field;
- a third determining subunit configured to, if an error vector magnitude (EVM) of a signal field containing a data packet in the first WiFi signal is greater than a first threshold, determine the signal field in the second WiFi signal as the first field;
- EVM error vector magnitude
- the fourth determining subunit is configured to, if an error vector magnitude (EVM) of a data field of a data packet in the first WiFi signal is greater than a second threshold, determine the data field in the second WiFi signal as the first field.
- EVM error vector magnitude
- the second determining unit further includes:
- an acquiring subunit configured to acquire a first gear level at which the transmit power of the first field is currently located
- an adjusting subunit configured to adjust the transmit power of the first field to a second gear level until a data state corresponding to the first field at the second gear level meets a second condition, the second gear level being a previous gear level adjacent to the first gear level among the P gear levels, wherein the transmit power of the first field includes P gear levels;
- the fifth determining subunit is configured to determine the transmit power corresponding to the second gear level as the target transmit power of the first field.
- the signal sending device in the embodiment of the present application can be an electronic device or a component in the electronic device, such as an integrated circuit or a chip.
- the electronic device can be a terminal or other device other than a terminal.
- the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a mobile Internet device (MID), an augmented reality (AR)/virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc.
- It can also be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), an ATM or a self-service machine, etc.
- NAS network attached storage
- PC personal computer
- TV an ATM or a self-service machine
- TV an ATM or a self-service machine
- the embodiment of the present application does not specifically limit it.
- the signal transmitting device in the embodiment of the present application may be a device having an operating system.
- the operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
- the signal sending device provided in the embodiment of the present application can implement each process implemented in the method embodiment of Figure 1. To avoid repetition, they will not be described here.
- an embodiment of the present application also provides an electronic device 100, including a processor 110, a memory 119, and a program or instruction stored in the memory 119 and executable on the processor 110.
- the program or instruction is executed by the processor 110, the various processes of the above-mentioned signal sending method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they will not be repeated here.
- the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
- the electronic device 100 includes, but is not limited to, components such as a radio frequency unit 121, a network module 122, an audio output unit 123, an input unit 124, a sensor 125, a display unit 126, a user input unit 127, an interface unit 128, a memory 129, and a processor 120.
- components such as a radio frequency unit 121, a network module 122, an audio output unit 123, an input unit 124, a sensor 125, a display unit 126, a user input unit 127, an interface unit 128, a memory 129, and a processor 120.
- the electronic device 120 may further include a power source (such as a battery) to power various components.
- the power source may be logically connected to the processor 120 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption.
- the electronic device structure shown in FIG4 does not limit the electronic device.
- the electronic device may include more or fewer components than shown, or may combine certain components or arrange the components differently, which will not be described in detail here.
- the network module 122 is configured to receive a first WiFi signal sent by a second electronic device
- the processor 120 is configured to determine a target transmit power of at least one field in a second WiFi signal based on a quality parameter of the first WiFi signal, wherein the second WiFi signal is a WiFi signal sent by the first electronic device to the second electronic device;
- the radio frequency unit 121 is configured to send at least one field in the second WiFi signal at the target transmit power.
- a first WiFi signal transmitted by a second electronic device can be received, and the transmission power of at least one field in the second WiFi signal can be adjusted based on the quality parameter of the first WiFi signal.
- the quality parameter of the signal is used to characterize the communication quality of the network environment in which the first electronic device is located, the transmission power of some or all fields in the signal transmitted by the first electronic device can be adjusted based on the quality parameter.
- processor 120 is further configured to:
- a target transmit power of the first field is determined according to the data state.
- processor 120 is further configured to:
- the quality parameter meets the first condition.
- the first WiFi signal includes multiple data packets, each data packet includes at least one of a short training field, a long training field, a signal field, and a data field, the data status includes at least one of a frequency offset value of the data packet, a channel estimation result, and an error vector magnitude of each field, and the processor 120 is further configured to:
- a standard deviation of frequency offset values of N consecutive data packets in the first WiFi signal is greater than a first standard deviation threshold, determine the short training field in the second WiFi signal as the first field, where N is a positive integer;
- the long training field in the second WiFi signal is determined as the first field.
- EVM error vector magnitude
- EVM error vector magnitude
- processor 120 is further configured to:
- the transmit power corresponding to the second gear level is determined as the target transmit power of the first field.
- the input unit 124 may include a graphics processing unit (GPU) 1241 and a microphone 1242, and the graphics processor 1241 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode.
- the display unit 126 may include a display panel 1261, and the display panel 1261 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc.
- the user input unit 127 includes a touch panel 1271 and at least one of the other input devices 1272.
- the touch panel 1271 is also called a touch screen.
- the touch panel 1271 may include two parts: a touch detection device and a touch controller.
- Other input devices 1272 may include but are not limited to a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
- the memory 129 can be used to store software programs and various data.
- the memory 129 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, applications or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc.
- the memory 129 may include a volatile memory or a non-volatile memory, or the memory 129 may include both volatile and non-volatile memories.
- the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory.
- the volatile memory may be random access memory (RAM), static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate synchronous DRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM (DRRAM).
- RAM random access memory
- SRAM static RAM
- DRAM dynamic RAM
- SDRAM synchronous DRAM
- DDRSDRAM double data rate synchronous DRAM
- ESDRAM enhanced SDRAM
- SLDRAM synchronous link DRAM
- DRRAM direct RAM
- the memory 129 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
- Processor 120 may include one or more processing units.
- processor 120 integrates an application processor and a modem processor.
- the application processor primarily handles operations related to the operating system, user interface, and application programs, while the modem processor primarily processes wireless communication signals, such as a baseband processor. It is understood that the modem processor may not be integrated into processor 120.
- An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored.
- a program or instruction is stored.
- the various processes of the above-mentioned signal sending method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
- the processor is the processor in the electronic device in the above embodiment.
- the readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
- An embodiment of the present application further provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned signal sending method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
- the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
- An embodiment of the present application provides a computer program product, which is stored in a storage medium.
- the program product is executed by at least one processor to implement the various processes of the above-mentioned signal sending method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
- the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), including a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.
- a storage medium such as ROM/RAM, magnetic disk, optical disk
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本申请公开了一种信号的发送方法、装置及电子设备,属于通信技术领域。该方法包括:接收第二电子设备发送的第一WiFi信号;根据第一WiFi信号的质量参数确定第二WiFi信号中至少一个字段的目标发射功率,其中,第二WiFi信号为第一电子设备向第二电子设备发送的WiFi信号;以目标发射功率发送第二WiFi信号中至少一个字段。
Description
相关申请的交叉引用
本申请要求享有于2024年04月16日提交的名称为“信号的发送方法、装置及电子设备”的中国专利申请第202410460505.X号的优先权,该申请的全部内容通过引用并入本文中。
本申请属于通信技术领域,具体涉及一种信号的发送方法、装置及电子设备。
随着电子技术的高速发展,手机、平板电脑、掌上电脑等电子设备越来越普及,已逐渐成为人们生活中不可或缺的一部分。目前无线局域网(Wireless Fidelity,WiFi)技术已经在电子设备中广泛采用,利用WiFi上网的方式受到越来越多用户的青睐。
通常,当电子设备检测到WiFi信号后,会以一定的发射功率将待传输的数据传给提供WiFi信号的WiFi路由设备。事实上,发射功率越大意味着较高的数据传输速率以及较高的通信质量,但发射功率越大同样需求更高的功耗。因此,如何兼顾电子设备的通信质量和功耗成为亟待解决的问题。
本申请实施例的目的是提供一种信号的发送方法、装置及电子设备,能够解决在现有WiFi协议无法兼顾电子设备的通信质量和功耗的技术问题。
第一方面,本申请实施例提供了一种信号的发送方法,该方法包括:
接收第二电子设备发送的第一WiFi信号;
根据所述第一WiFi信号的质量参数确定第二WiFi信号中至少一个字段的目标发射功率,其中,所述第二WiFi信号为所述第一电子设备向所述第二电子设备发送的WiFi信号;
以所述目标发射功率发送所述第二WiFi信号中至少一个字段。
第二方面,本申请实施例提供了一种信号的发送装置,该装置包括:
接收模块,用于接收第二电子设备发送的第一WiFi信号;
确定模块,用于根据所述第一WiFi信号的质量参数确定第二WiFi信号中至少一个字段的目标发射功率,其中,所述第二WiFi信号为所述第一电子设备向所述第二电子设备发送的WiFi信号;
发送模块,用于以所述目标发射功率发送所述第二WiFi信号中至少一个字段。
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器和存储器,存储器存储可在处理器上运行的程序或指令,程序或指令被处理器执行时实现如第一方面提供的方法的步骤。
第四方面,本申请实施例提供了一种可读存储介质,可读存储介质上存储程序或指令,程序或指令被处理器执行时实现如第一方面提供的方法的步骤。
第五方面,本申请实施例提供了一种芯片,芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现如第一方面提供的方法的步骤。
第六方面,本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如第一方面提供的方法的步骤。
在本申请信号的发送方法、装置及电子设备中,可以接收第二电子设备发送的第一WiFi信号,并根据第一WiFi信号的质量参数,来调整第二WiFi信号中至少一个字段的发射功率。如此一来,由于信号的质量参数用于表征第一电子设备所在网络环境的通信质量,因此基于质量参数调整第一电子设备发射的信号中部分或全部字段的发射功率,可以通过对信号中各字段的发射功率的灵活调整,使得信号的发射功率和当前的网络环境相匹配,让第一电子设备在保证通信质量的情况下尽可能的降低功耗。
图1是本申请一个实施例提供的信号的发送方法的流程示意图;
图2是本申请另一个实施例提供的信号的发送装置的结构示意图;
图3是本申请又一个实施例提供的电子设备的结构示意图;
图4是本申请实施例中提供的电子设备的硬件结构示意图。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的术语在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
为解决上述技术问题,本申请提供了一种信号的发送方法。下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的信号的发送方法进行详细地说明。
如图1所示,图1是本申请一个实施例提供的信号的发送方法的流程示意图,本申请实施例提供一种信号的发送方法,该方法可以包括:
S101,接收第二电子设备发送的第一WiFi信号;
在本实施例中,在无线局域网环境中,第二电子设备可以为WiFi路由设备,WiFi路由设备作为WiFi接入点,可以为周围的终端设备提供WiFi网络接入。终端设备可以连入该WiFi网络,然后第二电子设备和终端设备之间可以通过传输WiFi信号进行通信。其中,第一电子设备可以为连入第二电子设备提供的WiFi网络的终端设备。
S102,根据所述第一WiFi信号的质量参数确定第二WiFi信号中至少一个字段的目标发射功率,其中,所述第二WiFi信号为所述第一电子设备向所述第二电子设备发送的WiFi信号;
在本实施例中,WiFi网络下的终端设备和第二电子设备通常会以固定的默认功率进行WiFi信号的传输。在终端设备接收到第二电子设备按照默认功率发送的第一WiFi信号之后,可以对第一WiFi信号进行解析,得到第一WiFi信号的质量参数,质量参数能够表示第一WiFi信号对信号质量,并可以基于信号质量进一步评估终端设备和第二电子设备之间的网络环境。
如果质量参数反映的信号质量和网络环境较好,终端设备则可以按照默认功率进行第二WiFi信号的发射。
如果质量参数反映的信号质量和网络环境较差,则在终端设备向第二电子设备进行第二WiFi信号的发送时,如果终端设备仍然以默认功率进行第二WiFi信号的发射,将可能造成第二电子设备无法正确接收数据、数据传输速率降低以及网络延迟增加等问题。为了避免上述问题,需要根据质量参数重新确定第二WiFi信号的目标发射功率。
由于WiFi信号是由一系列数据包构成的,而每个数据包又都是由格式相同的多个字段构成的。因此,在重新确定第二WiFi信号的目标发射功率的过程中,可以重新确定第二WiFi信号整体的目标发射功率,也可以仅重新确定第二WiFi信号中数据包的部分字段的目标发射功率。
S103,以所述目标发射功率发送所述第二WiFi信号中至少一个字段。
本申请实施例中,在确定目标发射功率后,终端设备可以将目标发射功率设置为其当前运行的发射功率,使得终端设备在向第二电子设备进行通信时,可以按照目标发射功率来进行信号的传输,以目标发射功率发送第二WiFi信号中至少一个字段。终端设备还可以每间隔预设时间重新获取接收到的第一WiFi信号的质量参数,并基于质量参数更新目标发射功率,然后根据最新的目标发射功率对实际的发射功率进行动态调整,即将终端设备实际的发射功率更新为最新的目标发射功率。
在本申请中,可以接收第二电子设备发送的第一WiFi信号,并根据第一WiFi信号的质量参数,来调整第二WiFi信号中至少一个字段的发射功率。如此一来,由于信号的质量参数用于表征第一电子设备所在网络环境的通信质量,因此基于质量参数调整第一电子设备发射的信号中部分或全部字段的发射功率,可以通过对信号中各字段的发射功率的灵活调整,使得信号的发射功率和当前的网络环境相匹配,让第一电子设备在保证通信质量的情况下尽可能的降低功耗。
在一些实施例中,S102包括:
在所述质量参数满足第一条件的情况下,获取所述第一WiFi信号中至少一个数据包的数据状态;
根据所述数据状态将所述第二WiFi信号中的至少一个字段确定为第一字段;
根据所述数据状态确定所述第一字段的目标发射功率。
在本实施例中,可以通过对接收到的第一WiFi信号的WiFi帧头的解析,提取第一WiFi信号的质量参数。在获取第一WiFi信号的质量参数之后,如果第一WiFi信号的质量参数满足第一条件,则可以认为第一电子设备向第二电子设备发送的第二WiFi信号中可能存在需要功率突破的字段。则可以通过对第一WiFi信号中各数据包中包括的各字段进行解析,来确定数据包的信号调制参数,并通过信号调制参数获取数据包的数据状态,数据状态同样可以反应第一WiFi信号的通信情况,因此,可以基于数据包的数据状态确定第二WiFi信号中需要进行功率突破的字段,并将需要进行功率突破的至少一个字段确定为第一字段,然后根据数据状态确定第一字段的目标发射功率。其中,第一条件意味着质量参数小于用户提前设置的质量阈值,因此第一电子设备向第二电子设备发送的第二WiFi信号中存在需要功率突破的字段。
本实施例中,将第一WiFi信号的质量参数,和第一WiFi信号中数据包具体的数据状态进行结合,共同评估终端设备和第二电子设备之间的通信质量,并确定第二WiFi信号中需要调整发射功率的第一字段,并确定第一字段的目标发射功率,如此能够获得更准确的目标发射功率,使得目标发射功率更好的适配当前的网络环境。
在一些实施例中,所述质量参数包括信号强度和调制编码等级,所述获取所述第一WiFi信号中至少一个数据包的数据状态之前,还包括:
在所述信号强度小于信号强度阈值,且所述调制编码等级小于等级阈值的情况下,确定所述质量参数满足所述第一条件。
在本实施例中,第一WiFi信号的质量参数可以包括RSSI(Received Signal Strength Indicator,信号强度)和MCS等级(Modulation and Coding Scheme,调制编码等级)。
其中,RSSI是指接收到的第一WiFi信号的信号强度,信号强度可以用来评估设备之间的连接质量。较高的RSSI表示信号较强,较低的RSSI表示信号较弱。MCS等级表示使用的调制和编码方案的类型和参数,MCS等级可以和RSSI来共同评估第一WiFi信号的数据传输速率。
在本实施例中,可以首先检测第一WiFi信号对应的信号强度,然后将信号强度和预设的信号强度阈值进行比较,如果信号强度大于或等于信号强度阈值,可以认为终端设备和第二电子设备之间的通信质量较高,那么终端设备按照默认功率进行WiFi信号的发射即可。如果信号强度小于信号强度阈值,则可以进一步将调制编码等级和预设的等级阈值进行比较,如果调制编码等级小于等级阈值,则认为按照当前的调制编码方案,在当前的网络环境下进行信号传输的传输速率会比较慢,并可能会导致传输中断。
因此,终端设备不能按照默认功率进行第二WiFi信号的发送,终端设备可以根据数据状态在第二WiFi信号包括的多个字段中选择至少一个需要增大发射功率的第一字段,并重新确定第一字段的目标发射功率。
此外,如果信号强度大于或等于信号强度阈值,或者信号强度小于信号强度阈值且调制编码等级大于或等于等级阈值,终端设备可以按照默认功率进行信号的发射,并每间隔预设时间将信号强度和调制编码等级和对应的阈值进行比较,来重新评估网络环境,以确定是否需要重新确定第二WiFi信号的发射功率。
通过上述方式,可以通过第一WiFi信号的信号强度和调制编码等级来评估信号在终端设备和第二电子设备之间的通信质量,如果通信质量较低,则根据数据状态来确定第二WiFi信号中部分获全部字段的发射功率,从而使得第二WiFi信号的发射功率能够适配当前终端设备和第二电子设备之间的网络环境。
在一些实施例中,所述第一WiFi信号包括多个数据包,每个数据包包括短训练字段、长训练字段、信号字段以及数据字段中的至少一个,所述数据状态包括数据包的频率偏移值、信道估计结果以及各字段的误差向量幅度中的至少一个,
所述根据所述数据状态将所述第二WiFi信号中的至少一个字段确定为第一字段,包括以下至少一项:
在所述第一WiFi信号中存在N个连续的数据包的频率偏移值的标准差大于第一标准差阈值的情况下,将所述第二WiFi信号中短训练字段确定为所述第一字段,N为正整数;
在所述第一WiFi信号中存在N个连续的数据包的信道估计结果的标准差大于第二标准差阈值,且所述N个连续的数据包的数据字段的误差向量幅度的标准差大于第三标准差阈值,将所述第二WiFi信号中长训练字段确定为所述第一字段;
在所述第一WiFi信号中存在数据包的信号字段的误差向量幅度的大于第一阈值,将所述第二WiFi信号中信号字段确定为所述第一字段;
在所述第一WiFi信号中存在数据包的数据字段的误差向量幅度的大于第二阈值,将所述第二WiFi信号中数据字段确定为所述第一字段。
在本实施例中,所有WiFi信号中的数据包均可以分为STF(Short Training Field,短训练字段)、LTF(Long Training Field,长训练字段)、SIG(Signal Field,信号字段)以及数据(Data)字段。其中,短训练字段、长训练字段和信号字段为WiFi信号的帧头,数据字段则携带实际数据。
可以通过对第一WiFi信号中的数据包中各字段的字段属性进行分析,确定出第一WiFi信号中的数据包的数据状态,并基于数据状态来确定需要重新确定第二WiFi信号中哪些字段的目标发射功率。
具体地,可以通过分析第一WiFi信号中各数据包中短训练字段的字段属性,从而识别每一个数据包的频率偏移值,如果第一WiFi信号中存在N个连续的数据包的频率偏移值的标准差大于第一标准差阈值,可以认为这N个连续的数据包的频率偏移值的离散程度过高,从而使得第一WiFi信号的实际频率偏移和理想频率偏移的差异较大,因此需要将短训练字段确定为第一字段,重新确定第二WiFi信号中频率偏移对应的短训练字段的发射功率。
还可以通过分析第一WiFi信号中各数据包中长训练字段的字段属性,从而识别每一个数据包的信道估计结果,如果第一WiFi信号中存在N个连续的数据包的信道估计结果的标准差大于第二标准差阈值,那么可以进一步将这N个连续的数据包的数据字段的误差向量幅度的标准差和第三标准差阈值进行比较,如果误差向量幅度的标准差大于第三标准差阈值,可以认为这N个连续的数据包的信道估计结果的离散程度过高引起信道质量较差,因此需要将长训练字段确定为第一字段,重新确定第二WiFi信号中信道质量对应的长训练字段的发射功率。
此外,还可以通过分析第一WiFi信号中各数据包的信号字段和数据字段的字段属性,来确定信号字段的误差向量幅度和数据字段的误差向量幅度,误差向量幅度为衡量信号调制误差的指标。如果第一WiFi信号中存在数据包的信号字段的误差向量幅度的大于第一阈值,可以认为第一WiFi信号的信号字段和理想信号的信号字段差异过大,需要重新确定第二WiFi信号中信号字段的发射功率;同样的,如果第一WiFi信号中存在数据包的数据字段的误差向量幅度的大于第二阈值,可以认为第一WiFi信号的数据字段和理想信号的数据字段差异过大,需要重新确定第二WiFi信号中数据字段的发射功率。
通过上述方式,可以分别分析第一WiFi信号中每个字段的字段属性,来评估第一WiFi信号中数据包的数据状态,如果存在数据状态发生异常,则可以将异常的数据状态对应的字段确定为第一字段,并调整第二WiFi信号的第一字段的发射功率,以此来使第二WiFi信号中每个字段都接近信号传输的理想情况,保证终端设备和第二电子设备之间的通信质量较高。
在一些实施例中,所述根据所述数据状态确定所述第一字段的目标发射功率,包括:
获取所述第一字段的发射功率当前所处的第一档位等级;
将所述第一字段的发射功率调整为第二档位等级,直至所述第二档位等级下和所述第一字段对应的数据状态符合第二条件,所述第二档位等级为所述P个档位等级中和所述第一档位等级的上一个档位等级,其中,所述第一字段的发射功率包括P个档位等级;
将所述第二档位等级对应的发射功率确定为所述第一字段的目标发射功率。
在本实施例中,在信号强度小于信号强度阈值,且调制编码等级小于等级阈值的情况下,需要在终端设备当前的发射功率的基础上,增大终端设备发射的第二WiFi信号中第一字段的发射功率。
可以预先将发射功率的可调整区间设置为P个档位等级,每个档位等级对应一个发射功率,档位等级越高,则其对应的发射功率也就越高。在确定第一字段之后,可以进一步获取第一字段当前的发射功率对应的第一档位等级,并在第一档位等级的基础上,将第一字段的发射功率上调一档,如果在第二档位等级下第一字段对应的数据状态符合第二条件,则将第二档位等级对应的发射功率确定为第一字段的目标发射功率。否则继续按照上述方式调高第一字段的发射功率,直至第二档位等级下和所述第一字段对应的数据状态符合第二条件。
其中,第二条件为基于数据状态确定的第一电子设备发送的信号质量达到预先设置的状态阈值。
通过这种方式,能够使得第一字段的发射功率能够在可调的范围内进行灵活调整,使第一字段的最终发射功率准确的适配当前通信质量。
图2是本申请另一实施例提供的信号的发送装置的结构示意图,如图2所示,该信号的发送装置可以包括:
接收模块201,用于接收第二电子设备发送的第一WiFi信号;
确定模块202,用于根据所述第一WiFi信号的质量参数确定第二WiFi信号中至少一个字段的目标发射功率,其中,所述第二WiFi信号为所述第一电子设备向所述第二电子设备发送的WiFi信号;
发送模块203,用于以所述目标发射功率发送所述第二WiFi信号中至少一个字段。
在本申请中,可以接收第二电子设备发送的第一WiFi信号,并根据第一WiFi信号的质量参数,来调整第二WiFi信号中至少一个字段的发射功率。如此一来,由于信号的质量参数用于表征第一电子设备所在网络环境的通信质量,因此基于质量参数调整第一电子设备发射的信号中部分或全部字段的发射功率,可以通过对信号中各字段的发射功率的灵活调整,使得信号的发射功率和当前的网络环境相匹配,让第一电子设备在保证通信质量的情况下尽可能的降低功耗。
在另一可选地示例中,所述确定模块202包括:
获取单元,用于在所述质量参数满足第一条件的情况下,获取所述第一WiFi信号中至少一个数据包的数据状态;
第一确定单元,用于根据所述数据状态将所述第二WiFi信号中的至少一个字段确定为第一字段;
第二确定单元,用于根据所述数据状态确定所述第一字段的目标发射功率。
在另一可选地示例中,上述信号的发送装置包括:
突破模块,用于在所述信号强度小于信号强度阈值,且所述调制编码等级小于等级阈值的情况下,确定所述质量参数满足所述第一条件。
在另一可选地示例中,所述第一WiFi信号包括多个数据包,每个数据包包括短训练字段、长训练字段、信号字段以及数据字段中的至少一个,所述数据状态包括数据包的频率偏移值、信道估计结果以及各字段的误差向量幅度中的至少一个,所述第一确定单元还包括:
第一确定子单元,用于在所述第一WiFi信号中存在N个连续的数据包的频率偏移值的标准差大于第一标准差阈值的情况下,将所述第二WiFi信号中短训练字段确定为所述第一字段,N为正整数;
第二确定子单元,用于在所述第一WiFi信号中存在N个连续的数据包的信道估计结果的标准差大于第二标准差阈值,且所述N个连续的数据包的数据字段的误差向量幅度的标准差大于第三标准差阈值,将所述第二WiFi信号中长训练字段确定为所述第一字段;
第三确定子单元,用于在所述第一WiFi信号中存在数据包的信号字段的误差向量幅度的大于第一阈值,将所述第二WiFi信号中信号字段确定为所述第一字段;
第四确定子单元,用于在所述第一WiFi信号中存在数据包的数据字段的误差向量幅度的大于第二阈值,将所述第二WiFi信号中数据字段确定为所述第一字段。
在另一可选地示例中,所述第二确定单元还包括:
获取子单元,用于获取所述第一字段的发射功率当前所处的第一档位等级;
调整子单元,用于将所述第一字段的发射功率调整为第二档位等级,直至所述第二档位等级下的所述第一字段对应的数据状态符合第二条件,所述第二档位等级为所述P个档位等级中和所述第一档位等级相邻的上一个档位等级,其中,所述第一字段的发射功率包括P个档位等级;
第五确定子单元,用于将所述第二档位等级对应的发射功率确定为所述第一字段的目标发射功率。
本申请实施例中的信号的发送装置可以是电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、机器人、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,还可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,还可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的信号的发送装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为IOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
本申请实施例提供的信号的发送装置能够实现图1的方法实施例实现的各个过程,为避免重复,这里不再赘述。
可选地,如图3所示,本申请实施例还提供一种电子设备100,包括处理器110,存储器119,存储在存储器119上并可在处理器110上运行的程序或指令,该程序或指令被处理器110执行时实现上述信号的发送方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,本申请实施例中的电子设备包括上述的移动电子设备和非移动电子设备。
请结合参阅图4,图4为实现本申请实施例的一种电子设备的硬件结构示意图。该电子设备100包括但不限于:射频单元121、网络模块122、音频输出单元123、输入单元124、传感器125、显示单元126、用户输入单元127、接口单元128、存储器129、以及处理器120等部件。
本领域技术人员可以理解,电子设备120还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器120逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图4中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,网络模块122,用于接收第二电子设备发送的第一WiFi信号;
处理器120,用于根据所述第一WiFi信号的质量参数确定第二WiFi信号中至少一个字段的目标发射功率,其中,所述第二WiFi信号为所述第一电子设备向所述第二电子设备发送的WiFi信号;
射频单元121,用于以所述目标发射功率发送所述第二WiFi信号中至少一个字段。
在本申请中,可以接收第二电子设备发送的第一WiFi信号,并根据第一WiFi信号的质量参数,来调整第二WiFi信号中至少一个字段的发射功率。如此一来,由于信号的质量参数用于表征第一电子设备所在网络环境的通信质量,因此基于质量参数调整第一电子设备发射的信号中部分或全部字段的发射功率,可以通过对信号中各字段的发射功率的灵活调整,使得信号的发射功率和当前的网络环境相匹配,让第一电子设备在保证通信质量的情况下尽可能的降低功耗。
在另一可选地示例中,所述处理器120还用于:
在所述质量参数满足第一条件的情况下,获取所述第一WiFi信号中至少一个数据包的数据状态;
根据所述数据状态将所述第二WiFi信号中的至少一个字段确定为第一字段;
根据所述数据状态确定所述第一字段的目标发射功率。
在另一可选地示例中,上述处理器120还用于:
在所述信号强度小于信号强度阈值,且所述调制编码等级小于等级阈值的情况下,确定所述质量参数满足所述第一条件。
在另一可选地示例中,所述第一WiFi信号包括多个数据包,每个数据包包括短训练字段、长训练字段、信号字段以及数据字段中的至少一个,所述数据状态包括数据包的频率偏移值、信道估计结果以及各字段的误差向量幅度中的至少一个,所述处理器120还用于:
在所述第一WiFi信号中存在N个连续的数据包的频率偏移值的标准差大于第一标准差阈值的情况下,将所述第二WiFi信号中短训练字段确定为所述第一字段,N为正整数;
在所述第一WiFi信号中存在N个连续的数据包的信道估计结果的标准差大于第二标准差阈值,且所述N个连续的数据包的数据字段的误差向量幅度的标准差大于第三标准差阈值,将所述第二WiFi信号中长训练字段确定为所述第一字段;
在所述第一WiFi信号中存在数据包的信号字段的误差向量幅度的大于第一阈值,将所述第二WiFi信号中信号字段确定为所述第一字段;
在所述第一WiFi信号中存在数据包的数据字段的误差向量幅度的大于第二阈值,将所述第二WiFi信号中数据字段确定为所述第一字段。
在另一可选地示例中,所述处理器120还用于:
获取所述第一字段的发射功率当前所处的第一档位等级;
将所述第一字段的发射功率调整为第二档位等级,直至所述第二档位等级下的所述第一字段对应的数据状态符合第二条件,所述第二档位等级为所述P个档位等级中和所述第一档位等级相邻的上一个档位等级,其中,所述第一字段的发射功率包括P个档位等级;
将所述第二档位等级对应的发射功率确定为所述第一字段的目标发射功率。
应理解的是,本申请实施例中,输入单元124可以包括图形处理器(Graphics Processing Unit,GPU)1241和麦克风1242,图形处理器1241对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元126可包括显示面板1261,可以采用液晶显示器、有机发光二极管等形式来配置显示面板1261。用户输入单元127包括触控面板1271以及其他输入设备1272中的至少一种。触控面板1271,也称为触摸屏。触控面板1271可包括触摸检测装置和触摸控制器两个部分。其他输入设备1272可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
存储器129可用于存储软件程序以及各种数据。存储器129可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器129可以包括易失性存储器或非易失性存储器,或者,存储器129可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器129包括但不限于这些和任意其他适合类型的存储器。
处理器120可包括一个或多个处理单元;可选地,处理器120集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器120中。
本申请实施例还提供一种可读存储介质,可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述信号的发送方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,处理器为上述实施例中的电子设备中的处理器。可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。
本申请实施例另提供了一种芯片,芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现上述信号的发送方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如上述信号的发送方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。
Claims (15)
- 一种信号的发送方法,所述方法应用于第一电子设备,所述方法包括:接收第二电子设备发送的第一WiFi信号;根据所述第一WiFi信号的质量参数确定第二WiFi信号中至少一个字段的目标发射功率,其中,所述第二WiFi信号为所述第一电子设备向所述第二电子设备发送的WiFi信号;以所述目标发射功率发送所述第二WiFi信号中至少一个字段。
- 根据权利要求1所述的方法,其中,所述根据所述第一WiFi信号的质量参数确定第二WiFi信号中至少一个字段的目标发射功率,包括:在所述质量参数满足第一条件的情况下,获取所述第一WiFi信号中至少一个数据包的数据状态;根据所述数据状态将所述第二WiFi信号中的至少一个字段确定为第一字段;根据所述数据状态确定所述第一字段的目标发射功率。
- 根据权利要求2所述的方法,其中,所述质量参数包括信号强度和调制编码等级,所述获取所述第一WiFi信号中至少一个数据包的数据状态之前,还包括:在所述信号强度小于信号强度阈值,且所述调制编码等级小于等级阈值的情况下,确定所述质量参数满足所述第一条件。
- 根据权利要求2所述的方法,其中,所述第一WiFi信号包括多个数据包,每个数据包包括短训练字段、长训练字段、信号字段以及数据字段中的至少一个,所述数据状态包括数据包的频率偏移值、信道估计结果以及各字段的误差向量幅度中的至少一个,所述根据所述数据状态将所述第二WiFi信号中的至少一个字段确定为第一字段,包括以下至少一项:在所述第一WiFi信号中存在N个连续的数据包的频率偏移值的标准差大于第一标准差阈值的情况下,将所述第二WiFi信号中短训练字段确定为所述第一字段,N为正整数;在所述第一WiFi信号中存在N个连续的数据包的信道估计结果的标准差大于第二标准差阈值,且所述N个连续的数据包的数据字段的误差向量幅度的标准差大于第三标准差阈值,将所述第二WiFi信号中长训练字段确定为所述第一字段;在所述第一WiFi信号中存在数据包的信号字段的误差向量幅度的大于第一阈值,将所述第二WiFi信号中信号字段确定为所述第一字段;在所述第一WiFi信号中存在数据包的数据字段的误差向量幅度的大于第二阈值,将所述第二WiFi信号中数据字段确定为所述第一字段。
- 根据权利要求2所述的方法,其中,所述根据所述数据状态确定所述第一字段的目标发射功率,包括:获取所述第一字段的发射功率当前所处的第一档位等级;将所述第一字段的发射功率调整为第二档位等级,直至所述第二档位等级下的所述第一字段对应的数据状态符合第二条件,所述第二档位等级为P个档位等级中和所述第一档位等级相邻的上一个档位等级,其中,所述第一字段的发射功率包括P个档位等级;将所述第二档位等级对应的发射功率确定为所述第一字段的目标发射功率。
- 一种信号的发送装置,包括:接收模块,用于接收第二电子设备发送的第一WiFi信号;确定模块,用于根据所述第一WiFi信号的质量参数确定第二WiFi信号中至少一个字段的目标发射功率,其中,所述第二WiFi信号为所述第一电子设备向所述第二电子设备发送的WiFi信号;发送模块,用于以所述目标发射功率发送所述第二WiFi信号中至少一个字段。
- 根据权利要求6所述的装置,其中,所述确定模块包括:获取单元,用于在所述质量参数满足第一条件的情况下,获取所述第一WiFi信号中至少一个数据包的数据状态;第一确定单元,用于根据所述数据状态将所述第二WiFi信号中的至少一个字段确定为第一字段;第二确定单元,用于根据所述数据状态确定所述第一字段的目标发射功率。
- 根据权利要求7所述的装置,其中,所述质量参数包括信号强度和调制编码等级,所述信号的发送装置包括:突破模块,用于在所述信号强度小于信号强度阈值,且所述调制编码等级小于等级阈值的情况下,确定所述质量参数满足所述第一条件。
- 根据权利要求7所述的装置,其中,所述第一WiFi信号包括多个数据包,每个数据包包括短训练字段、长训练字段、信号字段以及数据字段中的至少一个,所述数据状态包括数据包的频率偏移值、信道估计结果以及各字段的误差向量幅度中的至少一个,所述第一确定单元还包括:第一确定子单元,用于在所述第一WiFi信号中存在N个连续的数据包的频率偏移值的标准差大于第一标准差阈值的情况下,将所述第二WiFi信号中短训练字段确定为所述第一字段,N为正整数;第二确定子单元,用于在所述第一WiFi信号中存在N个连续的数据包的信道估计结果的标准差大于第二标准差阈值,且所述N个连续的数据包的数据字段的误差向量幅度的标准差大于第三标准差阈值,将所述第二WiFi信号中长训练字段确定为所述第一字段;第三确定子单元,用于在所述第一WiFi信号中存在数据包的信号字段的误差向量幅度的大于第一阈值,将所述第二WiFi信号中信号字段确定为所述第一字段;第四确定子单元,用于在所述第一WiFi信号中存在数据包的数据字段的误差向量幅度的大于第二阈值,将所述第二WiFi信号中数据字段确定为所述第一字段。
- 根据权利要求7所述的装置,其中,所述第二确定单元还包括:获取子单元,用于获取所述第一字段的发射功率当前所处的第一档位等级;调整子单元,用于将所述第一字段的发射功率调整为第二档位等级,直至所述第二档位等级下的所述第一字段对应的数据状态符合第二条件,所述第二档位等级为所述P个档位等级中和所述第一档位等级相邻的上一个档位等级,其中,所述第一字段的发射功率包括P个档位等级;第五确定子单元,用于将所述第二档位等级对应的发射功率确定为所述第一字段的目标发射功率。
- 一种电子设备,包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-5中任一项所述的信号的发送方法的步骤。
- 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-5中任一项所述的信号的发送方法的步骤。
- 一种计算机程序产品,所述计算机程序产品被存储在存储介质中,所述计算机程序产品被至少一个处理器执行以实现如权利要求1-5中任一项所述的信号的发送方法的步骤。
- 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-5中任一项所述的信号的发送方法的步骤。
- 一种电子设备,所述电子设备被配置成用于执行如权利要求1-5中任一项所述的信号的发送方法的步骤。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410460505.X | 2024-04-16 | ||
| CN202410460505.XA CN118354434A (zh) | 2024-04-16 | 2024-04-16 | 信号的发送方法、装置及电子设备 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2025218580A1 true WO2025218580A1 (zh) | 2025-10-23 |
Family
ID=91817134
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2025/088388 Pending WO2025218580A1 (zh) | 2024-04-16 | 2025-04-11 | 信号的发送方法、装置及电子设备 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN118354434A (zh) |
| WO (1) | WO2025218580A1 (zh) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118354434A (zh) * | 2024-04-16 | 2024-07-16 | 维沃移动通信有限公司 | 信号的发送方法、装置及电子设备 |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2015120613A1 (zh) * | 2014-02-14 | 2015-08-20 | 华为技术有限公司 | 传输数据的方法和装置 |
| US20180220456A1 (en) * | 2015-07-29 | 2018-08-02 | Lg Electronics Inc. | Method and apparatus for transmitting data in wireless communication system |
| CN109804676A (zh) * | 2016-10-12 | 2019-05-24 | 高通股份有限公司 | 用于接收发射功率相关信息的方法和装置 |
| CN111903056A (zh) * | 2018-04-03 | 2020-11-06 | 赛普拉斯半导体公司 | 扩展无线网络的范围的系统和方法 |
| CN117641551A (zh) * | 2022-08-19 | 2024-03-01 | 珠海格力电器股份有限公司 | Wi-Fi模块的调整方法、智能设备以及物联网系统 |
| CN118354434A (zh) * | 2024-04-16 | 2024-07-16 | 维沃移动通信有限公司 | 信号的发送方法、装置及电子设备 |
-
2024
- 2024-04-16 CN CN202410460505.XA patent/CN118354434A/zh active Pending
-
2025
- 2025-04-11 WO PCT/CN2025/088388 patent/WO2025218580A1/zh active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2015120613A1 (zh) * | 2014-02-14 | 2015-08-20 | 华为技术有限公司 | 传输数据的方法和装置 |
| US20180220456A1 (en) * | 2015-07-29 | 2018-08-02 | Lg Electronics Inc. | Method and apparatus for transmitting data in wireless communication system |
| CN109804676A (zh) * | 2016-10-12 | 2019-05-24 | 高通股份有限公司 | 用于接收发射功率相关信息的方法和装置 |
| CN111903056A (zh) * | 2018-04-03 | 2020-11-06 | 赛普拉斯半导体公司 | 扩展无线网络的范围的系统和方法 |
| CN117641551A (zh) * | 2022-08-19 | 2024-03-01 | 珠海格力电器股份有限公司 | Wi-Fi模块的调整方法、智能设备以及物联网系统 |
| CN118354434A (zh) * | 2024-04-16 | 2024-07-16 | 维沃移动通信有限公司 | 信号的发送方法、装置及电子设备 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN118354434A (zh) | 2024-07-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11641667B2 (en) | Methods, apparatuses and systems for transmitting data, and storage medium | |
| US11496380B2 (en) | Network delay control method and apparatus, electronic device, and storage medium | |
| CN109379498B (zh) | 电磁干扰控制方法及相关装置 | |
| US20170331757A1 (en) | Traffic control method, traffic control apparatus and server | |
| KR102221021B1 (ko) | 전자 장치 및 인터넷 프로토콜 기반의 네트워크에서 패킷을 처리하는 방법 | |
| US11025550B2 (en) | Method, device and computer readable storage medium for transmitting information | |
| WO2025218580A1 (zh) | 信号的发送方法、装置及电子设备 | |
| CN115065643A (zh) | 网络链路拥塞检测方法、装置、电子设备及存储介质 | |
| WO2024094014A1 (zh) | Bsr汇报方法、装置、终端及网络侧设备 | |
| CN107566088A (zh) | 一种波特率的调整方法及充电适配器 | |
| CN107820684A (zh) | 信道检测、信息发送方法、装置及通信设备 | |
| EP3235258B1 (en) | Adjusting quality level of media streaming | |
| CN112929297B (zh) | 一种资源分配方法、资源分配装置及存储介质 | |
| CN110035504B (zh) | 一种空间关系的确定方法、终端及基站 | |
| WO2023222036A1 (zh) | 调度请求方法、装置、电子设备及可读存储介质 | |
| CN109983830B (zh) | 随机接入的处理方法及装置 | |
| CN114499776A (zh) | 数据传输方法及其装置 | |
| CN115245033A (zh) | 调度确定、下行控制信息发送方法和装置 | |
| CN115002007A (zh) | 网络延迟判别方法、装置、电子设备及存储介质 | |
| WO2025098534A2 (zh) | 处理方法、通信设备及存储介质 | |
| CN109039994A (zh) | 一种计算音频和视频异步时差的方法及设备 | |
| WO2025051289A2 (zh) | 处理方法、通信设备及存储介质 | |
| CN117938769A (zh) | 拥塞窗口的调整方法、装置、电子设备及介质 | |
| US12309633B2 (en) | Apparatus and method for sending and receiving buffer data information | |
| CN110365454B (zh) | 一种载波选择方法、终端及网络设备 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 25789824 Country of ref document: EP Kind code of ref document: A1 |