WO2022188165A1 - Radio frame processing method, terminal, and storage medium - Google Patents

Radio frame processing method, terminal, and storage medium Download PDF

Info

Publication number
WO2022188165A1
WO2022188165A1 PCT/CN2021/080544 CN2021080544W WO2022188165A1 WO 2022188165 A1 WO2022188165 A1 WO 2022188165A1 CN 2021080544 W CN2021080544 W CN 2021080544W WO 2022188165 A1 WO2022188165 A1 WO 2022188165A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
frame
power supply
storage element
energy storage
Prior art date
Application number
PCT/CN2021/080544
Other languages
French (fr)
Chinese (zh)
Inventor
李世亮
Original Assignee
海能达通信股份有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 海能达通信股份有限公司 filed Critical 海能达通信股份有限公司
Priority to PCT/CN2021/080544 priority Critical patent/WO2022188165A1/en
Publication of WO2022188165A1 publication Critical patent/WO2022188165A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements

Definitions

  • the present application relates to the field of communications, and in particular, to a wireless frame processing method, terminal and storage medium.
  • a terminal for example, an IoT terminal
  • the instantaneous power required is relatively large, and the instantaneous power supply capability of the terminal is required to be relatively high.
  • the decrease of battery power in the terminal, or the fact that the terminal is greatly affected by temperature, may reduce the instantaneous power supply capability of the terminal, resulting in the terminal unable to send wireless frames normally, and the terminal cannot send data normally, which seriously affects the terminal's power supply. normal work.
  • additional design of the terminal circuit is often required, which greatly increases the terminal cost.
  • the technical problem mainly solved by the present invention is to provide a wireless frame processing method, terminal and storage medium, which can realize the normal transmission of wireless frames according to the power supply capability information of the current power supply.
  • a first aspect of the present application provides a wireless frame processing method, the method includes: obtaining current power supply capability information of a terminal; During the wireless frame, the power supply capability of the current power supply can meet the instantaneous energy demand of wireless transmission.
  • a second aspect of the present application provides a terminal, which includes a power supply, an acquisition circuit, and an adjustment circuit.
  • the acquisition circuit is used to acquire the current power supply capability information of the terminal;
  • the adjustment circuit is used to determine the transmission parameters of the radio frame of the terminal according to the current power supply capability information, so that when the terminal transmits the radio frame according to the transmission parameters, the current power supply
  • the power supply capability can meet the instantaneous energy demand of wireless transmission.
  • a third aspect of the present application provides a terminal, the terminal includes a memory and a processor coupled to each other, and the processor is configured to execute program instructions stored in the memory, so as to implement the radio frame processing method described in the first aspect above.
  • a fourth aspect of the present application provides a computer-readable storage medium, where the storage medium stores a computer program that can be executed by a processor, and the computer program is used for the radio frame processing method described in the first aspect.
  • the beneficial effect of the present application is: by acquiring the current power supply capability information of the terminal, and using this to determine the transmission parameters of the wireless frame of the terminal, when the terminal sends the wireless frame according to the transmission parameters, the current power supply
  • the high power supply capacity can meet the instantaneous energy demand of wireless transmission, so as to realize the normal transmission of wireless frames without the need for additional circuit design, reducing the cost of the terminal and improving the competitiveness of the product.
  • FIG. 1 is a schematic flowchart of an embodiment of a radio frame processing method of the present application
  • FIG. 2 is a first schematic flowchart of another embodiment of the radio frame processing method of the present application.
  • FIG. 3 is a second schematic flowchart of another embodiment of the radio frame processing method of the present application.
  • FIG. 4 is a schematic diagram of a framework of an embodiment of a terminal of the present application.
  • FIG. 5 is a schematic diagram of a framework of an embodiment of an electronic device of the present application.
  • FIG. 6 is a schematic diagram of a framework of an embodiment of a computer-readable storage device of the present application.
  • FIG. 1 is a schematic flowchart of an embodiment of a radio frame processing method of the present application. Specifically, the radio frame processing method of the present application includes the following steps:
  • Step S11 Acquire current power supply capability information of the terminal.
  • the terminal that implements the communication control method of the present application is, for example, a wireless communication device, and the wireless communication device can be an Internet of Things terminal, such as a temperature sensor, a humidity sensor, and an air pressure sensor.
  • the wireless communication device can also be a smart wearable product, such as a smart watch and a smart bracelet.
  • the wireless communication device may also be a wireless walkie-talkie, a mobile phone, and the like.
  • the current power supply capability information of the terminal may include the current maximum current that the power supply can provide, the current amount of power stored by the power supply, or the charging time of the power supply, etc. It is understandable that the factors related to the output power of the power supply belong to Current power supply capability information.
  • the current power supply capability information may be the several current power supply capability information.
  • the current power supply capability information may be the current power supply capability information of the two power sources respectively. It can be understood that when the terminal has multiple power sources, one of the power sources can be set as the main power source to supply power when the terminal transmits wireless frames, and the rest of the power sources can be used as backup power sources. When the main power supply is insufficient or out of power, the main power supply is charged by the standby power supply, or the standby power supply and the main power supply are used to supply power when the terminal transmits wireless frames.
  • the main power supply is a capacitor, which is used to supply power for the terminal to transmit wireless frames
  • the backup power supply is a discharge power supply, which is used to charge the capacitor.
  • the main power supply and the backup power supply are both discharge power supplies. When the main power supply is insufficient, the main power supply and the backup power supply together supply power for the terminal to transmit wireless frames.
  • Step S12 Determine the transmission parameters of the wireless frame of the terminal according to the current power supply capability information, so that when the terminal transmits the wireless frame according to the transmission parameters, the power supply capability of the current power supply can meet the instantaneous energy demand of wireless transmission.
  • the transmission parameters of the radio frame of the terminal can be determined according to the power supply situation.
  • the transmission parameters of the radio frame include, for example, the frame length and/or the frame interval of the radio frame.
  • the frame length of the radio frame refers to the length of one radio frame, for example, 100 milliseconds and so on.
  • the frame interval is the interval between sending two radio frames. For example, if the first radio frame is sent at the current moment, and the second radio frame is sent 3 seconds later, the frame interval is 3 seconds.
  • the transmission parameters of the wireless frame of the terminal are determined according to the current power supply capability information.
  • the frame length of the wireless frame that can be sent can be determined according to the current stored power of the power supply, or the wireless frame to be sent can be determined according to the charging time of the power supply.
  • the shortest frame interval of the frame is determined according to the frame length of the wireless frame that can be sent.
  • the current power supply capability can meet the instantaneous energy demand of wireless transmission, so that The normal transmission of the wireless frame is realized without additional design of the circuit, the cost of the terminal is reduced, and the competitiveness of the product is improved.
  • the following is another embodiment of the radio frame processing method of the present application. Specifically, this embodiment includes the following steps S21-S22.
  • Step S21 Acquire current power supply capability information of the terminal.
  • the power source includes an energy storage element, such as a capacitor.
  • the energy storage element can store electrical energy, which is used to provide electrical energy when the terminal sends wireless frames, and provides an instantaneous large current for the terminal to meet the power consumption demand of the terminal, so that the terminal can send wireless frames normally.
  • the energy storage element may also be an inductor.
  • the current power supply capability information may include the electricity storage condition and/or the charging duration of the energy storage element, for example, the electricity storage condition and/or the charging duration of the capacitor.
  • the electricity storage condition is the amount of electric energy stored by the energy storage element.
  • the charging time can be understood as the time required for the electric energy stored by the energy storage element to go from 0 to full.
  • the power source further includes a discharge power source, such as a low self-discharge battery, specifically a low self-discharge NiMH battery.
  • the discharge power supply can charge the energy storage element, so that the energy storage element can provide the instantaneous high current required by the terminal to transmit the wireless frame.
  • the charging duration for charging the energy storage element by the discharging power source can be determined according to the remaining power of the discharging power source.
  • the remaining power of the discharged power supply can be estimated based on information such as battery voltage, ammeter, and equipment operating time.
  • the charging time of the energy storage element is calculated according to the specific type of the energy storage element. For example, when the energy storage element is a capacitor, it can be calculated by the charging calculation method of the capacitor. When the energy storage element is an inductor, the The energy storage formula is calculated.
  • Step S22 Determine the transmission parameters of the radio frame of the terminal according to the current power supply capability information.
  • the frame length of the wireless frame may be determined according to the power storage condition of the energy storage element, that is, the frame length of the wireless frame may be determined according to the amount of electrical energy stored by the energy storage element. Because the energy storage element is used to provide electrical energy for the terminal to send wireless frames, the amount of electrical energy stored by the energy storage element determines the longest time that the terminal can work when transmitting a wireless frame, that is, it determines the amount of electrical energy the terminal can transmit.
  • the frame length of the radio frame For example, when the stored electric energy of the energy storage element can only keep the terminal in the transmitting state for 400 milliseconds, the frame length of the wireless frame can be determined accordingly to be no greater than 400 milliseconds, for example, 380 milliseconds.
  • the electricity storage condition of the energy storage element is determined according to the current ambient temperature of the terminal.
  • the current ambient temperature of the terminal can be obtained through the built-in temperature sensor of the terminal. Because the ability of the energy storage element to store electrical energy is affected by temperature, the electricity storage condition of the energy storage element can be determined according to the current ambient temperature of the terminal. For example, when the energy storage element is a capacitor, the capacitance of the capacitor at a certain temperature can be obtained according to the change curve of the capacitance of the capacitor with the temperature, so that the storage condition of the capacitor can be determined.
  • the frame length of the wireless frame is determined according to the power storage condition of the energy storage element, so that when the terminal sends a wireless frame, the wireless frame can be successfully sent, and the sending of the wireless frame will not fail due to lack of power.
  • FIG. 2 is a first schematic flowchart of another embodiment of the radio frame processing method of the present application. Specifically, the above-mentioned determination of the frame length of the wireless frame according to the power storage condition of the energy storage element includes the following steps S221 and S222.
  • Step S221 Obtain the frame length required for the data to be sent, and obtain the maximum frame length that can be sent by using the electrical energy stored in the energy storage element.
  • the data volume of the data to be sent by the terminal can be obtained, and the frame length required for the data to be sent can be determined according to the size of the data volume. For example, when the amount of data to be sent is 58B, the frame length of the radio frame required for sending 58B data can be determined accordingly, for example, 400 milliseconds.
  • the maximum frame length that can be sent using the electrical energy stored by the energy storage element can be understood as the maximum duration that the electrical energy stored by the current energy storage element can keep the terminal in the transmitting state, which is also the maximum frame length that the terminal can send. For example, if the electric energy stored in the capacitor is 45 mA, and the terminal can maintain the transmitting state for 400 milliseconds, it can be determined that the maximum frame length that can be transmitted by the electric energy stored in the energy storage element is 400 milliseconds.
  • Step S222 If the frame length required by the data to be sent is greater than the maximum frame length, the data to be sent is divided into at least two radio frames for transmission, wherein the frame lengths of the at least two radio frames are both smaller than the maximum frame length.
  • the data to be sent can be divided into at least two radio frames for transmission, and the frame length of each frame in the at least two radio frames can be set to be smaller than the maximum frame length that can be sent by the energy stored in the energy storage element, so as to This can enable the terminal to send data normally, so that the terminal can work normally.
  • the data to be sent may be divided into two radio frames for transmission, and the frame length of each radio frame is smaller than the maximum frame length.
  • the terminal may also divide the data to be sent into three radio frames or four radio frames for transmission.
  • the terminal can determine the frame length of the wireless frame according to the energy storage condition of the energy storage element, and finally the terminal can send data normally.
  • the frame interval of the radio frame may be determined according to the charging time of the energy storage element.
  • the charging time of the energy storage element is 1.5 seconds, and the frame interval of the wireless frame can be set to be no less than 1.5 seconds.
  • the energy storage element is fully charged, which can provide power for the terminal to send the wireless frame, so that The terminal can send radio frames normally and work normally.
  • FIG. 3 is a second schematic flowchart of another embodiment of the radio frame processing method of the present application. Specifically, the above-mentioned determination of the frame interval of the wireless frame according to the charging duration of the energy storage element includes the following steps S223-S225.
  • Step S223 Determine whether the current frame interval is less than the charging duration.
  • the terminal can obtain the current frame interval and determine whether the current frame interval is less than the charging time. For example, if the current frame interval is 2 seconds and the charging time is 3 seconds, the frame interval is smaller than the charging time.
  • step S224 is performed; if the current frame interval is not less than the charging duration, step S225 is performed.
  • Step S224 Set the current frame interval to be no less than the charging duration.
  • the current frame interval is less than the charging duration, which means that when the terminal sends the second wireless frame, the energy storage element is not fully charged at this time. If the frame length of the second wireless frame is too long, it may cause the second wireless frame Failed to send. Therefore, the interval duration between the current frames can be set to be no less than the charging duration, so that when the terminal sends the second wireless frame, the energy storage element is fully charged, and the terminal can send the second wireless frame normally.
  • Step S225 Do not adjust the current frame interval.
  • the current frame interval is not less than the charging duration, which means that the terminal can send wireless frames normally at this time, so no adjustment is required.
  • the current power supply capability information of the terminal is obtained, and the transmission parameters of the radio frame of the terminal are determined based on this, so that the current power supply capability information can realize the normal transmission of the radio frame without additional design of the circuit, The cost of the terminal is reduced and the competitiveness of the product is improved.
  • whether to obtain the current power supply capability information of the terminal and its subsequent steps can be determined according to the current ambient temperature or the remaining power of the discharged power supply.
  • the step of obtaining the current power supply capability information of the terminal may be performed when the current ambient temperature is not greater than the preset temperature.
  • the preset temperature is, for example, a certain temperature, such as 10 degrees Celsius, 5 degrees Celsius, and the like.
  • the preset value may also be a temperature value corresponding to when the actual capacitance of the capacitor is a preset ratio of the nominal capacitance. The preset ratio is, for example, two-thirds, one-half, and so on.
  • the step of acquiring the current power supply capability information of the terminal may be performed when the remaining power of the discharged power supply is less than the preset power value.
  • the preset power is, for example, half, one third, and so on, of the nominal capacity of the discharged power source.
  • FIG. 4 is a schematic frame diagram of an embodiment of a terminal of the present application.
  • the terminal 40 includes: a power supply 41 , an acquisition circuit 42 and an adjustment circuit 43 .
  • the obtaining circuit 42 is used to obtain the current power supply situation of the power supply 41 of the terminal 40 .
  • the adjustment circuit 43 is used to determine the transmission parameters of the wireless frame of the terminal 40 according to the current power supply situation of the power supply 41, so that when the terminal 40 sends the wireless frame according to the transmission parameters, the power supply capability of the current power supply can meet the instantaneous energy demand of wireless transmission.
  • the above-mentioned transmission parameters of the radio frame include the frame length and/or the frame interval of the radio frame.
  • the above-mentioned power source 41 includes an energy storage element.
  • the above-mentioned current power supply capability information includes power storage status and/or charging duration of the energy storage element.
  • the adjustment circuit 43 is further configured to implement at least one of the following steps: determining the frame length of the wireless frame according to the power storage condition of the energy storage element; determining the frame interval of the wireless frame according to the charging duration of the energy storage element.
  • the power storage condition of the above-mentioned energy storage element is determined according to the current ambient temperature of the terminal 40 .
  • the adjustment circuit 43 is also used to obtain the frame length required for the data to be sent, and obtain the maximum frame length that can be sent by using the energy stored in the energy storage element; when the frame length required for the data to be sent is greater than the maximum frame length, The adjustment circuit is configured to divide the data to be sent into at least two radio frames for transmission, wherein the frame length of any radio frame after the division is smaller than the maximum frame length.
  • the adjustment circuit 43 is also used to determine whether the current frame interval is less than the charging duration; if so, the adjustment circuit is used to set the current frame interval to be not less than the charging duration.
  • the above-mentioned power source 41 also includes a discharge power source.
  • the acquisition circuit 42 is further configured to determine the charging duration of the discharge power source to charge the energy storage element according to the remaining power of the discharge power source of the terminal 40
  • the terminal 40 further includes a determination circuit.
  • the determination circuit is used to determine whether the current ambient temperature is not greater than the preset temperature, and if so, the acquisition circuit 42 acquires the current power supply capability information of the terminal 40; and/or the determination circuit is used to determine whether the remaining power of the discharge power supply is less than the preset power If yes, the acquisition circuit 42 acquires the current power supply capability information of the terminal 40 .
  • FIG. 5 is a schematic frame diagram of an embodiment of an electronic device of the present application.
  • the electronic device 50 includes a memory 51 and a processor 52 that are coupled to each other, and the processor 52 is configured to execute program instructions stored in the memory 51 to implement the steps in any of the above-mentioned embodiments of the wireless frame processing method.
  • the electronic device 50 may include, but is not limited to, a microcomputer and a server.
  • the electronic device 50 may also include mobile devices such as a notebook computer and a tablet computer, which are not limited herein.
  • the processor 52 is configured to control itself and the memory 51 to implement the steps of any of the above-mentioned communication control method embodiments.
  • the processor 52 may also be referred to as a CPU (Central Processing Unit, central processing unit).
  • the processor 52 may be an integrated circuit chip with signal processing capability.
  • the processor 52 may also be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field-Programmable Gate Array, FPGA) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
  • a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the processor 52 may be jointly implemented by an integrated circuit chip.
  • FIG. 6 is a schematic diagram of a framework of an embodiment of a computer-readable storage device of the present application.
  • the storage device 60 stores a computer program 61, and when the computer program is executed by the processor, the steps of the communication control method in any of the foregoing embodiments can be implemented.
  • the computer-readable storage medium storage device may specifically be a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, etc., which can store computer programs or a server storing the computer program, the server can send the stored computer program to other devices to run, or can also run the stored computer program by itself.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • magnetic disk or an optical disk etc.
  • the current power supply capability information of the terminal is obtained, and the transmission parameters of the radio frame of the terminal are determined based on this, so that when the terminal transmits the radio frame according to the transmission parameters, the power supply capability of the current power supply can meet the instantaneous energy demand of wireless transmission. , so as to realize the normal transmission of the wireless frame without additional design of the circuit, reduce the cost of the terminal, and improve the competitiveness of the product.

Abstract

The present application discloses a radio frame processing method, a terminal, and a storage medium. The method comprises: acquiring the current power supply capability information of a power source of a terminal; and determining a sending parameter of a radio frame of the terminal according to the current power supply capability information of the power source, such that when the terminal sends the radio frame according to the sending parameter, the current power supply capability of the power source can meet an instantaneous energy requirement of wireless transmission. According to the method, the costs of a terminal are reduced, and the product competitiveness is improved.

Description

无线帧处理方法、终端和存储介质Radio frame processing method, terminal and storage medium 【技术领域】【Technical field】
本申请涉及通讯领域,尤其涉及一种无线帧处理方法、终端和存储介质。The present application relates to the field of communications, and in particular, to a wireless frame processing method, terminal and storage medium.
【背景技术】【Background technique】
终端(例如是物联网终端)可以通过发送无线帧来实现数据的传输。终端发送无线帧时,需要的瞬时功率较大,对终端的瞬时供电能力要求较高。终端内的电池电量下降,或是终端受到温度的影响较大等因素,都有可能会使得终端的瞬时供电能力下降,导致终端无法正常发送无线帧,终端因此无法正常发送数据,严重影响终端的正常工作。为了使得终端能够在上述情况下正常发送无线帧,往往需要对终端电路进行另外的设计,这极大的增加了终端成本。A terminal (for example, an IoT terminal) can transmit data by sending wireless frames. When a terminal sends a radio frame, the instantaneous power required is relatively large, and the instantaneous power supply capability of the terminal is required to be relatively high. The decrease of battery power in the terminal, or the fact that the terminal is greatly affected by temperature, may reduce the instantaneous power supply capability of the terminal, resulting in the terminal unable to send wireless frames normally, and the terminal cannot send data normally, which seriously affects the terminal's power supply. normal work. In order to enable the terminal to normally send radio frames under the above circumstances, additional design of the terminal circuit is often required, which greatly increases the terminal cost.
因此,为提高终端的工作稳定性,并降低终端的成本,具有非常重要的意义。Therefore, in order to improve the working stability of the terminal and reduce the cost of the terminal, it is of great significance.
【发明内容】[Content of the invention]
本发明主要解决的技术问题是提供一种无线帧处理方法、终端和存储介质,能够根据当前电源的供电能力信息实现无线帧的正常发送。本申请第一方面提供一种无线帧处理方法,该方法包括:获取终端的当前电源供电能力信息;根据当前电源供电能力信息,确定终端的无线帧的发送参数,以使终端在根据发送参数发送无线帧时,当前电源的供电能力可以满足无线发射的瞬时能量需求。The technical problem mainly solved by the present invention is to provide a wireless frame processing method, terminal and storage medium, which can realize the normal transmission of wireless frames according to the power supply capability information of the current power supply. A first aspect of the present application provides a wireless frame processing method, the method includes: obtaining current power supply capability information of a terminal; During the wireless frame, the power supply capability of the current power supply can meet the instantaneous energy demand of wireless transmission.
本申请第二方面提供一种终端,该终端包括电源、获取电路和调整电路。获取电路,用于获取终端的当前电源供电能力信息;调整电路,用于根据当前电源供电能力信息,确定终端的无线帧的发送参数,以使终端在根据发送参数发送无线帧时,当前电源的供电能力可以满足无线发射的瞬时能量需求。A second aspect of the present application provides a terminal, which includes a power supply, an acquisition circuit, and an adjustment circuit. The acquisition circuit is used to acquire the current power supply capability information of the terminal; the adjustment circuit is used to determine the transmission parameters of the radio frame of the terminal according to the current power supply capability information, so that when the terminal transmits the radio frame according to the transmission parameters, the current power supply The power supply capability can meet the instantaneous energy demand of wireless transmission.
本申请第三方面提供一种终端,该终端包括相互耦接的存储器和处理器,处理器用于执行存储器中存储的程序指令,以实现上述第一方面描述的无线帧处理方法。A third aspect of the present application provides a terminal, the terminal includes a memory and a processor coupled to each other, and the processor is configured to execute program instructions stored in the memory, so as to implement the radio frame processing method described in the first aspect above.
本申请第四方面提供一种计算机可读存储介质,该存储介质存储有能够被 处理器运行的计算机程序,计算机程序用于上述第一方面描述的无线帧处理方法。A fourth aspect of the present application provides a computer-readable storage medium, where the storage medium stores a computer program that can be executed by a processor, and the computer program is used for the radio frame processing method described in the first aspect.
与现有技术相比,本申请的有益效果是:通过获取终端的当前电源供电能力信息,并以此来确定终端的无线帧的发送参数,使得终端在根据发送参数发送无线帧时,当前电源的供电能力可以满足无线发射的瞬时能量需求,以此实现无线帧的正常发送,而无需对电路进行另外的设计,降低了终端的成本,提高了产品的竞争力。Compared with the prior art, the beneficial effect of the present application is: by acquiring the current power supply capability information of the terminal, and using this to determine the transmission parameters of the wireless frame of the terminal, when the terminal sends the wireless frame according to the transmission parameters, the current power supply The high power supply capacity can meet the instantaneous energy demand of wireless transmission, so as to realize the normal transmission of wireless frames without the need for additional circuit design, reducing the cost of the terminal and improving the competitiveness of the product.
【附图说明】【Description of drawings】
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following will briefly introduce the accompanying drawings used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1是本申请无线帧处理方法的一实施例的流程示意图;FIG. 1 is a schematic flowchart of an embodiment of a radio frame processing method of the present application;
图2是本申请无线帧处理方法的另一实施例的第一流程示意图;FIG. 2 is a first schematic flowchart of another embodiment of the radio frame processing method of the present application;
图3是本申请无线帧处理方法的另一实施例的第二流程示意图;FIG. 3 is a second schematic flowchart of another embodiment of the radio frame processing method of the present application;
图4是本申请终端的一实施例的框架示意图;4 is a schematic diagram of a framework of an embodiment of a terminal of the present application;
图5是本申请电子设备一实施例的框架示意图;5 is a schematic diagram of a framework of an embodiment of an electronic device of the present application;
图6是本申请计算机可读存储装置一实施例的框架示意图。FIG. 6 is a schematic diagram of a framework of an embodiment of a computer-readable storage device of the present application.
【具体实施方式】【Detailed ways】
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
参阅图1,图1是本申请无线帧处理方法的一实施例的流程示意图。具体地,本申请的无线帧处理方法包括以下步骤:Referring to FIG. 1 , FIG. 1 is a schematic flowchart of an embodiment of a radio frame processing method of the present application. Specifically, the radio frame processing method of the present application includes the following steps:
步骤S11:获取终端的当前电源供电能力信息。Step S11: Acquire current power supply capability information of the terminal.
实施本申请通信控制方法的终端例如是无线通信设备,无线通信设备可以 是物联网终端,例如是温度传感器,湿度传感器,气压传感器。无线通信设备也可以是智能穿戴产品,如智能手表,智能手环。无线通信设备还可以是无线对讲机,手机等等。The terminal that implements the communication control method of the present application is, for example, a wireless communication device, and the wireless communication device can be an Internet of Things terminal, such as a temperature sensor, a humidity sensor, and an air pressure sensor. The wireless communication device can also be a smart wearable product, such as a smart watch and a smart bracelet. The wireless communication device may also be a wireless walkie-talkie, a mobile phone, and the like.
终端的当前电源供电能力信息,可以包括电源当前所能提供的最大电流,电源当前存储的电能多少或是电源的充电时长等等,可以理解的,和电源输出电能有关的因素的情况,都属于当前电源供电能力信息。The current power supply capability information of the terminal may include the current maximum current that the power supply can provide, the current amount of power stored by the power supply, or the charging time of the power supply, etc. It is understandable that the factors related to the output power of the power supply belong to Current power supply capability information.
当电源的数量为数个时,则当前电源供电能力信息可以是这数个当前电源供电能力信息。例如,终端有两个电源时,则当前电源供电能力信息可以是分别是这两个电源的当前电源供电能力信息。可以理解的,当终端有多个电源时,可以设置其中的一个电源作为主要供电电源为终端发射无线帧时进行供电,其余的电源可以作为备用电源。在主要供电电源电量不足或没电时,由备用电源为主要供电电源充电,或者是利用备用电源和主要供电电源一起为终端发射无线帧时供电。在一个具体实施场景中,主要供电电源是电容器,用于为终端发射无线帧进行供电,备用电源为放电电源,用于为电容器进行充电。在另一个具体实施场景时,主要供电电源和备用电源都是放电电源,在主要供电电源电量不足时,由主要供电电源和备用电源一起为终端发射无线帧进行供电。When the number of power sources is several, the current power supply capability information may be the several current power supply capability information. For example, when the terminal has two power sources, the current power supply capability information may be the current power supply capability information of the two power sources respectively. It can be understood that when the terminal has multiple power sources, one of the power sources can be set as the main power source to supply power when the terminal transmits wireless frames, and the rest of the power sources can be used as backup power sources. When the main power supply is insufficient or out of power, the main power supply is charged by the standby power supply, or the standby power supply and the main power supply are used to supply power when the terminal transmits wireless frames. In a specific implementation scenario, the main power supply is a capacitor, which is used to supply power for the terminal to transmit wireless frames, and the backup power supply is a discharge power supply, which is used to charge the capacitor. In another specific implementation scenario, the main power supply and the backup power supply are both discharge power supplies. When the main power supply is insufficient, the main power supply and the backup power supply together supply power for the terminal to transmit wireless frames.
步骤S12:根据当前电源供电能力信息,确定终端的无线帧的发送参数,以使终端在根据发送参数发送无线帧时,当前电源的供电能力可以满足无线发射的瞬时能量需求。Step S12: Determine the transmission parameters of the wireless frame of the terminal according to the current power supply capability information, so that when the terminal transmits the wireless frame according to the transmission parameters, the power supply capability of the current power supply can meet the instantaneous energy demand of wireless transmission.
在获得关于终端的当前电源供电能力信息后,就可以根据供电情况来确定终端的无线帧的发送参数。无线帧的发送参数例如包括无线帧的帧长和/或帧间隔。无线帧的帧长指的是一帧无线帧的长度,例如是100毫秒等等。帧间隔是发送两帧无线帧的间隔时长,例如在当前时刻发送了第一帧无线帧,在3秒后发送了第二帧无线帧,则帧间隔是3秒。After obtaining the information about the current power supply capability of the terminal, the transmission parameters of the radio frame of the terminal can be determined according to the power supply situation. The transmission parameters of the radio frame include, for example, the frame length and/or the frame interval of the radio frame. The frame length of the radio frame refers to the length of one radio frame, for example, 100 milliseconds and so on. The frame interval is the interval between sending two radio frames. For example, if the first radio frame is sent at the current moment, and the second radio frame is sent 3 seconds later, the frame interval is 3 seconds.
根据当前电源供电能力信息来确定终端的无线帧的发送参数,例如可以是根据电源当前存储的电能来决定能够发送的无线帧的帧长,又或是可以根据电源的充电时长来决定发送的无线帧的最短的帧间隔。The transmission parameters of the wireless frame of the terminal are determined according to the current power supply capability information. For example, the frame length of the wireless frame that can be sent can be determined according to the current stored power of the power supply, or the wireless frame to be sent can be determined according to the charging time of the power supply. The shortest frame interval of the frame.
通过获取终端的当前电源供电能力信息,并以此来确定终端的无线帧的发送参数,使得终端在根据发送参数发送无线帧时,当前电源的供电能力可以满足无线发射的瞬时能量需求,以此实现无线帧的正常发送,而无需对电路进行另外的设计,降低了终端的成本,提高了产品的竞争力。By obtaining the current power supply capability information of the terminal, and using this to determine the transmission parameters of the terminal's wireless frame, when the terminal sends the wireless frame according to the transmission parameters, the current power supply capability can meet the instantaneous energy demand of wireless transmission, so that The normal transmission of the wireless frame is realized without additional design of the circuit, the cost of the terminal is reduced, and the competitiveness of the product is improved.
以下是本申请无线帧处理方法的另一实施例。具体地,该实施例包括以下步骤S21-步骤S22。The following is another embodiment of the radio frame processing method of the present application. Specifically, this embodiment includes the following steps S21-S22.
步骤S21:获取终端的当前电源供电能力信息。Step S21: Acquire current power supply capability information of the terminal.
请参阅上述步骤S11,此处不再赘述。Please refer to the above step S11, which will not be repeated here.
在一个实施例中,电源包括储能元件,储能元件例如是电容器。储能元件可以存储电能,用于在终端发送无线帧时提供电能,为终端提供瞬时的大电流,满足终端的用电需求,使得终端可以正常发送无线帧。在一些实施例中,储能元件也可以是电感器。In one embodiment, the power source includes an energy storage element, such as a capacitor. The energy storage element can store electrical energy, which is used to provide electrical energy when the terminal sends wireless frames, and provides an instantaneous large current for the terminal to meet the power consumption demand of the terminal, so that the terminal can send wireless frames normally. In some embodiments, the energy storage element may also be an inductor.
当前电源供电能力信息,可以包括储能元件的储电情况和/或充电时长,例如是电容器的储电情况和/或充电时长。储电情况即是储能元件存储的电能的多少,充电时长可以理解储能元件存储的电能从0到充满所需要的时长。The current power supply capability information may include the electricity storage condition and/or the charging duration of the energy storage element, for example, the electricity storage condition and/or the charging duration of the capacitor. The electricity storage condition is the amount of electric energy stored by the energy storage element. The charging time can be understood as the time required for the electric energy stored by the energy storage element to go from 0 to full.
在一个实施例中,电源还包括放电电源,例如是低自放电电池,具体可以是低自放电镍氢电池。放电电源可以为储能元件充电,使得储能元件可以提供终端发送无线帧时所需的瞬时大电流。具体而言,可以根据放电电源的剩余电量,确定放电电源给储能元件充电的充电时长。放电电源的剩余电量可以根据电池电压、电流计、设备工作时间等信息估算出电池剩余电量。储能元件的充电时长根据具体的储能元件类型计算得到,例如储能元件是电容器时,则可以利用电容器的充电计算方法计算得到,当储能元件是电感器时,则可以利用电感器的储能公式计算得到。In one embodiment, the power source further includes a discharge power source, such as a low self-discharge battery, specifically a low self-discharge NiMH battery. The discharge power supply can charge the energy storage element, so that the energy storage element can provide the instantaneous high current required by the terminal to transmit the wireless frame. Specifically, the charging duration for charging the energy storage element by the discharging power source can be determined according to the remaining power of the discharging power source. The remaining power of the discharged power supply can be estimated based on information such as battery voltage, ammeter, and equipment operating time. The charging time of the energy storage element is calculated according to the specific type of the energy storage element. For example, when the energy storage element is a capacitor, it can be calculated by the charging calculation method of the capacitor. When the energy storage element is an inductor, the The energy storage formula is calculated.
步骤S22:根据当前电源供电能力信息,确定终端的无线帧的发送参数。Step S22: Determine the transmission parameters of the radio frame of the terminal according to the current power supply capability information.
请参阅上述步骤S12,此处不再赘述。Please refer to the above step S12, which will not be repeated here.
在一个实施例中,可以根据储能元件的储电情况,确定无线帧的帧长,也即根据储能元件存储的电能的多少,来确定无线帧的帧长。因为储能元件是用于为终端发送无线帧时提供电能的,因此储能元件存储的电能的多少,决定了终端发射一帧无线帧时所能工作的最长时间,也即会决定终端发射的无线帧的帧长。例如,当储能元件的存储的电能只能让终端维持发射状态400毫秒,则可以相应的确定无线帧的帧长不大于400毫秒,例如是380毫秒。In one embodiment, the frame length of the wireless frame may be determined according to the power storage condition of the energy storage element, that is, the frame length of the wireless frame may be determined according to the amount of electrical energy stored by the energy storage element. Because the energy storage element is used to provide electrical energy for the terminal to send wireless frames, the amount of electrical energy stored by the energy storage element determines the longest time that the terminal can work when transmitting a wireless frame, that is, it determines the amount of electrical energy the terminal can transmit. The frame length of the radio frame. For example, when the stored electric energy of the energy storage element can only keep the terminal in the transmitting state for 400 milliseconds, the frame length of the wireless frame can be determined accordingly to be no greater than 400 milliseconds, for example, 380 milliseconds.
在一个实施例中,储能元件的储电情况是根据终端的当前环境温度确定的。终端的当前环境温度可以通过终端内置的温度传感器来获取。因为储能元件存储电能的能力会受到温度的影响,因此,可以根据终端的当前环境温度,确定储能元件的储电情况。例如,储能元件是电容器时,可以根据电容器的电容量 随温度的变化曲线获得某温度下电容器的电容量,以此就可以确定电容器的储电情况。In one embodiment, the electricity storage condition of the energy storage element is determined according to the current ambient temperature of the terminal. The current ambient temperature of the terminal can be obtained through the built-in temperature sensor of the terminal. Because the ability of the energy storage element to store electrical energy is affected by temperature, the electricity storage condition of the energy storage element can be determined according to the current ambient temperature of the terminal. For example, when the energy storage element is a capacitor, the capacitance of the capacitor at a certain temperature can be obtained according to the change curve of the capacitance of the capacitor with the temperature, so that the storage condition of the capacitor can be determined.
以此,根据储能元件的储电情况,来确定无线帧的帧长,使得终端在发送一帧无线帧时,可以成功发送,而不会因为没电导致无线帧的发送失败。In this way, the frame length of the wireless frame is determined according to the power storage condition of the energy storage element, so that when the terminal sends a wireless frame, the wireless frame can be successfully sent, and the sending of the wireless frame will not fail due to lack of power.
请参阅图2,图2是本申请无线帧处理方法的另一实施例的第一流程示意图。具体的,上述的根据储能元件的储电情况,确定无线帧的帧长,包括以下步骤S221和S222。Please refer to FIG. 2 . FIG. 2 is a first schematic flowchart of another embodiment of the radio frame processing method of the present application. Specifically, the above-mentioned determination of the frame length of the wireless frame according to the power storage condition of the energy storage element includes the following steps S221 and S222.
步骤S221:获取待发送数据所需的帧长,以及获取利用储能元件存储的电能所能发送的最大帧长。Step S221: Obtain the frame length required for the data to be sent, and obtain the maximum frame length that can be sent by using the electrical energy stored in the energy storage element.
当终端需要发送数据时,可以获取终端待发送数据的数据量大小,并根据数据量的大小来确定待发送数据所需的帧长。例如,待发送的数据量是58B时,则可以相应的确定发送58B数据的所需要的无线帧的帧长,例如是400毫秒。When the terminal needs to send data, the data volume of the data to be sent by the terminal can be obtained, and the frame length required for the data to be sent can be determined according to the size of the data volume. For example, when the amount of data to be sent is 58B, the frame length of the radio frame required for sending 58B data can be determined accordingly, for example, 400 milliseconds.
利用储能元件存储的电能所能发送的最大帧长,可以理解为当前储能元件存储的电能能够让终端处于发射状态的最大时长,这也是终端所能发送的最大帧长。例如,电容器存储的电能为45毫安时,能够使得终端维持发射状态400毫秒,则可以确定储能元件存储的电能所能发送的最大帧长为400毫秒。The maximum frame length that can be sent using the electrical energy stored by the energy storage element can be understood as the maximum duration that the electrical energy stored by the current energy storage element can keep the terminal in the transmitting state, which is also the maximum frame length that the terminal can send. For example, if the electric energy stored in the capacitor is 45 mA, and the terminal can maintain the transmitting state for 400 milliseconds, it can be determined that the maximum frame length that can be transmitted by the electric energy stored in the energy storage element is 400 milliseconds.
步骤S222:若待发送数据所需的帧长大于最大帧长,则将待发送数据分成至少两个无线帧进行发送,其中,至少两个无线帧的帧长均小于最大帧长。Step S222: If the frame length required by the data to be sent is greater than the maximum frame length, the data to be sent is divided into at least two radio frames for transmission, wherein the frame lengths of the at least two radio frames are both smaller than the maximum frame length.
当待发送数据所需的帧长大于储能元件存储的电能所能发送的最大帧长时,意味着终端无法通过发送一帧无线帧将全部待发送数据发送完,如果在发送的过程中,因为储能元件电能耗尽,会使得无线帧发送失败,影响终端的正常工作。因此,此时可以将待发送数据分成至少两个无线帧进行发送,并将至少两个无线帧中每一帧的帧长设置为小于储能元件存储的电能所能发送的最大帧长,以此可以使得终端能够正常发送数据,使得终端可以正常工作。在一个具体实施场景中,可以将待发送数据分成两个无线帧进行发送,并且每一个无线帧的帧长均小于最大帧长。When the frame length of the data to be sent is greater than the maximum frame length that can be sent by the energy stored in the energy storage element, it means that the terminal cannot send all the data to be sent by sending one wireless frame. Because the power of the energy storage element is exhausted, the wireless frame transmission will fail, affecting the normal operation of the terminal. Therefore, at this time, the data to be sent can be divided into at least two radio frames for transmission, and the frame length of each frame in the at least two radio frames can be set to be smaller than the maximum frame length that can be sent by the energy stored in the energy storage element, so as to This can enable the terminal to send data normally, so that the terminal can work normally. In a specific implementation scenario, the data to be sent may be divided into two radio frames for transmission, and the frame length of each radio frame is smaller than the maximum frame length.
在一些实施例中,终端也可以将待发送数据分成3个无线帧或是4个无线帧发送。In some embodiments, the terminal may also divide the data to be sent into three radio frames or four radio frames for transmission.
通过将待发送数据分成至少两个无线帧(帧长小于最大帧长)来发送数据,使得终端可以根据储能元件的储能情况来确定无线帧的帧长,最终使得终端可以正常发送数据。By dividing the data to be sent into at least two wireless frames (the frame length is less than the maximum frame length) to send the data, the terminal can determine the frame length of the wireless frame according to the energy storage condition of the energy storage element, and finally the terminal can send data normally.
在一个实施例中,可以根据储能元件的充电时长,确定无线帧的帧间隔。当储能元件存储的电能消耗完以后,需要充满电后才能再次为终端提供电能。因此,可以根据储能元件的充电时长,确定无线帧的帧间隔。在一个实施例中,储能元件的充电时长是1.5秒,则可以设置无线帧的帧间隔不小于1.5秒。In one embodiment, the frame interval of the radio frame may be determined according to the charging time of the energy storage element. When the electrical energy stored in the energy storage element is consumed, it needs to be fully charged before it can provide electrical energy to the terminal again. Therefore, the frame interval of the wireless frame can be determined according to the charging time of the energy storage element. In one embodiment, the charging time of the energy storage element is 1.5 seconds, and the frame interval of the wireless frame can be set to be no less than 1.5 seconds.
以此,通过根据储能元件的充电时长来确定无线帧的帧间隔,可以使得终端每次发送无线帧时,储能元件的都处于充满电的情况,能够为终端发送无线帧提供电能,使得终端可以正常发送无线帧,正常工作。In this way, by determining the frame interval of the wireless frame according to the charging time of the energy storage element, each time the terminal sends a wireless frame, the energy storage element is fully charged, which can provide power for the terminal to send the wireless frame, so that The terminal can send radio frames normally and work normally.
请参阅图3,图3是本申请无线帧处理方法的另一实施例的第二流程示意图。具体的,上述的根据储能元件的充电时长,确定无线帧的帧间隔,包括以下步骤S223-步骤S225。Please refer to FIG. 3 . FIG. 3 is a second schematic flowchart of another embodiment of the radio frame processing method of the present application. Specifically, the above-mentioned determination of the frame interval of the wireless frame according to the charging duration of the energy storage element includes the following steps S223-S225.
步骤S223:判断当前帧间隔是否小于充电时长。Step S223: Determine whether the current frame interval is less than the charging duration.
终端可以获取当前的帧间隔,并判断当前帧间隔是否小于充电时长。例如,当前的帧间隔是2秒,充电时长是3秒,此时帧间隔就小于充电时长。The terminal can obtain the current frame interval and determine whether the current frame interval is less than the charging time. For example, if the current frame interval is 2 seconds and the charging time is 3 seconds, the frame interval is smaller than the charging time.
若当前帧间隔小于充电时长,则执行步骤S224;若当前帧间隔不小于充电时长,则执行步骤S225。If the current frame interval is less than the charging duration, step S224 is performed; if the current frame interval is not less than the charging duration, step S225 is performed.
步骤S224:将当前帧间隔设置为不小于充电时长。Step S224: Set the current frame interval to be no less than the charging duration.
当前帧间隔小于充电时长,意味着终端发送第二帧无线帧时,此时的储能元件还没有充满电,如果第二帧无线帧的帧长太长,则可能会导致第二帧无线帧发送失败。因此,可以将当前的帧与帧之间的间隔时长设置为不小于充电时长,以此使得终端发送第二帧无线帧时,储能元件已经充满电,终端能够正常发送第二帧无线帧。The current frame interval is less than the charging duration, which means that when the terminal sends the second wireless frame, the energy storage element is not fully charged at this time. If the frame length of the second wireless frame is too long, it may cause the second wireless frame Failed to send. Therefore, the interval duration between the current frames can be set to be no less than the charging duration, so that when the terminal sends the second wireless frame, the energy storage element is fully charged, and the terminal can send the second wireless frame normally.
步骤S225:不调整当前的帧间隔。Step S225: Do not adjust the current frame interval.
当前帧间隔不小于充电时长,则意味着终端此时可以正常发送无线帧,因而可以不做调整。The current frame interval is not less than the charging duration, which means that the terminal can send wireless frames normally at this time, so no adjustment is required.
上述方案,通过获取终端的当前电源供电能力信息,并以此来确定终端的无线帧的发送参数,以使得当前电源供电能力信息能够实现无线帧的正常发送,而无需对电路进行另外的设计,降低了终端的成本,提高了产品的竞争力。In the above scheme, the current power supply capability information of the terminal is obtained, and the transmission parameters of the radio frame of the terminal are determined based on this, so that the current power supply capability information can realize the normal transmission of the radio frame without additional design of the circuit, The cost of the terminal is reduced and the competitiveness of the product is improved.
在一个实施例中,还可以根据当前环境温度或者是放电电源的剩余电量的情况,来确实是否执行获取终端的当前电源供电能力信息及其后续步骤。在一个具体实施场景中,可以在当前环境温度不大于预设温度时,执行所述获取终端的当前电源供电能力信息步骤。预设温度例如是某一确定的温度,如10摄氏 度,5摄氏度等等。当储能元件是电容时,预设值还可以是该电容的实际电容量为标称电容量的预设比例时所对应的温度值。预设比例例如是三分之二,二分之一等等。在另一个具体实施场景中,可以在放电电源的剩余电量小于预设电量值时,执行所述获取终端的当前电源供电能力信息步骤。预设电量例如是放电电源的标称容量的一半,三分之一等等。In one embodiment, whether to obtain the current power supply capability information of the terminal and its subsequent steps can be determined according to the current ambient temperature or the remaining power of the discharged power supply. In a specific implementation scenario, the step of obtaining the current power supply capability information of the terminal may be performed when the current ambient temperature is not greater than the preset temperature. The preset temperature is, for example, a certain temperature, such as 10 degrees Celsius, 5 degrees Celsius, and the like. When the energy storage element is a capacitor, the preset value may also be a temperature value corresponding to when the actual capacitance of the capacitor is a preset ratio of the nominal capacitance. The preset ratio is, for example, two-thirds, one-half, and so on. In another specific implementation scenario, the step of acquiring the current power supply capability information of the terminal may be performed when the remaining power of the discharged power supply is less than the preset power value. The preset power is, for example, half, one third, and so on, of the nominal capacity of the discharged power source.
以此,通过确定需要获取终端的当前电源供电能力信息的具体条件,可以在不满足条件时,不执行获取终端的当前电源供电能力信息及其后续,减少终端的能耗,提高终端的续航能力。In this way, by determining the specific conditions that need to acquire the current power supply capability information of the terminal, when the conditions are not met, the acquisition of the current power supply capability information of the terminal and its subsequent steps can be omitted, thereby reducing the energy consumption of the terminal and improving the battery life of the terminal. .
参阅图4,图4是本申请终端的一实施例的框架示意图。该终端40包括:电源41、获取电路42和调整电路43。获取电路42用于获取终端40的当前电源41供电情况。调整电路43用于根据当前电源41供电情况,确定终端40的无线帧的发送参数,以使终端40在根据发送参数发送无线帧时,当前电源的供电能力可以满足无线发射的瞬时能量需求。Referring to FIG. 4 , FIG. 4 is a schematic frame diagram of an embodiment of a terminal of the present application. The terminal 40 includes: a power supply 41 , an acquisition circuit 42 and an adjustment circuit 43 . The obtaining circuit 42 is used to obtain the current power supply situation of the power supply 41 of the terminal 40 . The adjustment circuit 43 is used to determine the transmission parameters of the wireless frame of the terminal 40 according to the current power supply situation of the power supply 41, so that when the terminal 40 sends the wireless frame according to the transmission parameters, the power supply capability of the current power supply can meet the instantaneous energy demand of wireless transmission.
其中,上述的无线帧的发送参数包括无线帧的帧长和/或帧间隔。Wherein, the above-mentioned transmission parameters of the radio frame include the frame length and/or the frame interval of the radio frame.
其中,上述的电源41包括储能元件。上述的当前电源供电能力信息包括储能元件的储电情况和/或充电时长。调整电路43还用于实现以下至少一个步骤:根据储能元件的储电情况,确定无线帧的帧长;根据储能元件的充电时长,确定无线帧的帧间隔。Wherein, the above-mentioned power source 41 includes an energy storage element. The above-mentioned current power supply capability information includes power storage status and/or charging duration of the energy storage element. The adjustment circuit 43 is further configured to implement at least one of the following steps: determining the frame length of the wireless frame according to the power storage condition of the energy storage element; determining the frame interval of the wireless frame according to the charging duration of the energy storage element.
其中,上述的储能元件的储电情况是根据终端40的当前环境温度确定的。The power storage condition of the above-mentioned energy storage element is determined according to the current ambient temperature of the terminal 40 .
其中,调整电路43还用于获取待发送数据所需的帧长,以及获取利用储能元件存储的电能所能发送的最大帧长;当待发送数据所需的帧长大于最大帧长时,调整电路用于将待发送数据分成至少两个无线帧进行发送,其中,拆分后的任一无线帧的帧长均小于最大帧长。Among them, the adjustment circuit 43 is also used to obtain the frame length required for the data to be sent, and obtain the maximum frame length that can be sent by using the energy stored in the energy storage element; when the frame length required for the data to be sent is greater than the maximum frame length, The adjustment circuit is configured to divide the data to be sent into at least two radio frames for transmission, wherein the frame length of any radio frame after the division is smaller than the maximum frame length.
其中,调整电路43还用于判断当前帧间隔是否小于充电时长;若是,调整电路用于将当前帧间隔设置为不小于充电时长。Wherein, the adjustment circuit 43 is also used to determine whether the current frame interval is less than the charging duration; if so, the adjustment circuit is used to set the current frame interval to be not less than the charging duration.
其中,上述的电源41还包括放电电源。获取电路42还用于根据终端40的放电电源的剩余电量,确定放电电源给储能元件充电的充电时长Wherein, the above-mentioned power source 41 also includes a discharge power source. The acquisition circuit 42 is further configured to determine the charging duration of the discharge power source to charge the energy storage element according to the remaining power of the discharge power source of the terminal 40
其中,终端40还包括确定电路。确定电路用于确定当前环境温度是否不大于预设温度,若是,则获取电路42获取终端40的当前电源供电能力信息;和/或,确定电路用于确定放电电源的剩余电量是否小于预设电量值,若是,则获取电路42获取终端40的当前电源供电能力信息。The terminal 40 further includes a determination circuit. The determination circuit is used to determine whether the current ambient temperature is not greater than the preset temperature, and if so, the acquisition circuit 42 acquires the current power supply capability information of the terminal 40; and/or the determination circuit is used to determine whether the remaining power of the discharge power supply is less than the preset power If yes, the acquisition circuit 42 acquires the current power supply capability information of the terminal 40 .
参阅图5,图5是本申请电子设备一实施例的框架示意图。电子设备50包括相互耦接的存储器51和处理器52,处理器52用于执行存储器51中存储的程序指令,以实现上述任一无线帧处理方法实施例中的步骤。在一个具体的实施场景中,电子设备50可以包括但不限于:微型计算机、服务器,此外,电子设备50还可以包括笔记本电脑、平板电脑等移动设备,在此不做限定。Referring to FIG. 5 , FIG. 5 is a schematic frame diagram of an embodiment of an electronic device of the present application. The electronic device 50 includes a memory 51 and a processor 52 that are coupled to each other, and the processor 52 is configured to execute program instructions stored in the memory 51 to implement the steps in any of the above-mentioned embodiments of the wireless frame processing method. In a specific implementation scenario, the electronic device 50 may include, but is not limited to, a microcomputer and a server. In addition, the electronic device 50 may also include mobile devices such as a notebook computer and a tablet computer, which are not limited herein.
具体而言,处理器52用于控制其自身以及存储器51以实现上述任一通信控制方法实施例的步骤。处理器52还可以称为CPU(Central Processing Unit,中央处理单元)。处理器52可能是一种集成电路芯片,具有信号的处理能力。处理器52还可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。另外,处理器52可以由集成电路芯片共同实现。Specifically, the processor 52 is configured to control itself and the memory 51 to implement the steps of any of the above-mentioned communication control method embodiments. The processor 52 may also be referred to as a CPU (Central Processing Unit, central processing unit). The processor 52 may be an integrated circuit chip with signal processing capability. The processor 52 may also be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field-Programmable Gate Array, FPGA) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. In addition, the processor 52 may be jointly implemented by an integrated circuit chip.
请参阅图6,图6是本申请计算机可读存储装置一实施例的框架示意图。该存储装置60存储有计算机程序61,计算机程序被处理器执行时可实现上述任一实施例中通信控制方法的步骤。Please refer to FIG. 6 , which is a schematic diagram of a framework of an embodiment of a computer-readable storage device of the present application. The storage device 60 stores a computer program 61, and when the computer program is executed by the processor, the steps of the communication control method in any of the foregoing embodiments can be implemented.
该计算机可读存储介质存储装置具体可以为U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等可以存储计算机程序的介质,或者也可以为存储有该计算机程序的服务器,该服务器可将存储的计算机程序发送给其他设备运行,或者也可以自运行该存储的计算机程序。The computer-readable storage medium storage device may specifically be a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, etc., which can store computer programs or a server storing the computer program, the server can send the stored computer program to other devices to run, or can also run the stored computer program by itself.
上述方案,通过获取终端的当前电源供电能力信息,并以此来确定终端的无线帧的发送参数,使得终端在根据发送参数发送无线帧时,当前电源的供电能力可以满足无线发射的瞬时能量需求,以此实现无线帧的正常发送,而无需对电路进行另外的设计,降低了终端的成本,提高了产品的竞争力。In the above scheme, the current power supply capability information of the terminal is obtained, and the transmission parameters of the radio frame of the terminal are determined based on this, so that when the terminal transmits the radio frame according to the transmission parameters, the power supply capability of the current power supply can meet the instantaneous energy demand of wireless transmission. , so as to realize the normal transmission of the wireless frame without additional design of the circuit, reduce the cost of the terminal, and improve the competitiveness of the product.
以上仅为本申请的实施方式,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only the embodiments of the present application, and are not intended to limit the scope of the patent of the present application. Any equivalent structure or equivalent process transformation made by using the contents of the description and drawings of the present application, or directly or indirectly applied in other related technical fields, All are similarly included in the scope of patent protection of the present application.

Claims (15)

  1. 一种无线帧处理方法,其特征在于,包括:A method for processing radio frames, comprising:
    获取终端的当前电源供电能力信息;Obtain the current power supply capability information of the terminal;
    根据所述当前电源供电能力信息,确定所述终端的无线帧的发送参数,以使所述终端在根据所述发送参数发送无线帧时,所述当前电源的供电能力可以满足无线发射的瞬时能量需求。According to the current power supply capability information, the transmission parameters of the wireless frame of the terminal are determined, so that when the terminal transmits the wireless frame according to the transmission parameters, the power supply capability of the current power supply can meet the instantaneous energy of wireless transmission need.
  2. 根据权利要求1所述的方法,其特征在于,所述无线帧的发送参数包括所述无线帧的帧长和/或帧间隔。The method according to claim 1, wherein the transmission parameter of the radio frame includes a frame length and/or a frame interval of the radio frame.
  3. 根据权利要求2所述的方法,其特征在于,所述当前电源供电能力信息包括所述终端的储能元件的储电情况和/或充电时长;所述根据所述当前电源供电能力信息,确定所述终端的无线帧的发送参数,包括以下至少一个步骤:The method according to claim 2, wherein the current power supply capability information includes the power storage condition and/or charging duration of the energy storage element of the terminal; the determining according to the current power supply capability information The sending parameters of the radio frame of the terminal include at least one of the following steps:
    根据所述储能元件的储电情况,确定所述无线帧的帧长;determining the frame length of the wireless frame according to the power storage condition of the energy storage element;
    根据所述储能元件的充电时长,确定所述无线帧的帧间隔。The frame interval of the wireless frame is determined according to the charging duration of the energy storage element.
  4. 根据权利要求3所述的方法,其特征在于,所述储能元件的储电情况是根据所述终端的当前环境温度确定的。The method according to claim 3, wherein the electricity storage condition of the energy storage element is determined according to the current ambient temperature of the terminal.
  5. 根据权利要求3所述的方法,其特征在于,所述根据所述储能元件的储电情况,确定所述无线帧的帧长,包括:The method according to claim 3, wherein the determining the frame length of the wireless frame according to the power storage condition of the energy storage element comprises:
    获取待发送数据所需的帧长,以及获取利用所述储能元件存储的电能所能发送的最大帧长;Obtaining the frame length required for the data to be sent, and obtaining the maximum frame length that can be sent using the energy stored in the energy storage element;
    若待发送数据所需的帧长大于所述最大帧长,则将所述待发送数据分成至少两个无线帧进行发送,其中,拆分后的任一无线帧的帧长均小于所述最大帧长。If the frame length required for the data to be sent is greater than the maximum frame length, the data to be sent is divided into at least two radio frames for transmission, wherein the frame length of any divided radio frame is smaller than the maximum frame length frame length.
  6. 根据权利要求3所述的方法,其特征在于,所述根据所述储能元件的充电时长,确定所述无线帧的帧间隔,包括:The method according to claim 3, wherein the determining the frame interval of the wireless frame according to the charging duration of the energy storage element comprises:
    判断当前帧间隔是否小于所述充电时长;Determine whether the current frame interval is less than the charging duration;
    若是,将所述当前帧间隔设置为不小于所述充电时长。If so, set the current frame interval to be no less than the charging duration.
  7. 根据权利要求4所述的方法,其特征在于,所述获取终端的当前电源供 电能力信息,包括:The method according to claim 4, wherein the acquiring the current power supply capability information of the terminal comprises:
    根据所述终端的放电电源的剩余电量,确定所述放电电源给所述储能元件充电的所述充电时长。According to the remaining power of the discharge power source of the terminal, the charging time period for the discharge power source to charge the energy storage element is determined.
  8. 根据权利要求7所述的方法,其特征在于,在所述获取终端的当前电源供电能力信息之前,所述方法还包括:The method according to claim 7, wherein before acquiring the current power supply capability information of the terminal, the method further comprises:
    在所述当前环境温度不大于预设温度时,执行所述获取终端的当前电源供电能力信息及其后续步骤;和/或,When the current ambient temperature is not greater than the preset temperature, executing the acquiring the current power supply capability information of the terminal and subsequent steps thereof; and/or,
    在所述放电电源的剩余电量小于预设电量值时,执行所述获取终端的当前电源供电能力信息及其后续步骤。When the remaining power of the discharging power source is less than the preset power value, the acquiring the current power supply capability information of the terminal and the subsequent steps thereof are performed.
  9. 一种终端,其特征在于,包括:A terminal, characterized in that it includes:
    电源;power supply;
    获取电路,用于获取终端的当前电源供电能力信息;The acquisition circuit is used to acquire the current power supply capability information of the terminal;
    调整电路,用于根据所述当前电源供电能力信息,确定所述终端的无线帧的发送参数,以使终端在根据发送参数发送无线帧时,当前电源的供电能力可以满足无线发射的瞬时能量需求。The adjustment circuit is used to determine the transmission parameters of the wireless frame of the terminal according to the current power supply capability information, so that when the terminal sends the wireless frame according to the transmission parameters, the power supply capability of the current power supply can meet the instantaneous energy demand of wireless transmission .
  10. 根据权利要求9所述的终端,其特征在于,所述无线帧的发送参数包括所述无线帧的帧长和/或帧间隔。The terminal according to claim 9, wherein the transmission parameters of the radio frame include a frame length and/or a frame interval of the radio frame.
  11. 根据权利要求10所述的终端,其特征在于,所述电源包括储能元件,所述当前电源供电能力信息包括所述终端的储能元件的储电情况和/或充电时长;所述调整电路用于实现以下至少一个步骤:The terminal according to claim 10, wherein the power supply includes an energy storage element, and the current power supply capability information includes the power storage condition and/or charging duration of the energy storage element of the terminal; the adjustment circuit Used to achieve at least one of the following steps:
    根据所述储能元件的储电情况,确定所述无线帧的帧长;determining the frame length of the wireless frame according to the power storage condition of the energy storage element;
    根据所述储能元件的充电时长,确定所述无线帧的帧间隔。The frame interval of the wireless frame is determined according to the charging duration of the energy storage element.
  12. 根据权利要求11所述的终端,其特征在于,所述储能元件的储电情况是根据所述终端的当前环境温度确定的。The terminal according to claim 11, wherein the electricity storage condition of the energy storage element is determined according to the current ambient temperature of the terminal.
  13. 根据权利要求11所述的终端,其特征在于,所述调整电路用于获取待发送数据所需的帧长,以及获取利用所述储能元件存储的电能所能发送的最大帧长;当待发送数据所需的帧长大于所述最大帧长时,调整电路用于将所述待 发送数据分成至少两个无线帧进行发送,其中,拆分后的任一无线帧的帧长均小于所The terminal according to claim 11, wherein the adjustment circuit is used to obtain the frame length required for the data to be sent, and obtain the maximum frame length that can be sent by using the electrical energy stored by the energy storage element; When the frame length required for sending data is greater than the maximum frame length, the adjustment circuit is configured to divide the to-be-sent data into at least two radio frames for transmission, wherein the frame length of any divided radio frame is smaller than the frame length.
  14. 一种电子设备,其特征在于,包括相互耦接的存储器和处理器,所述处理器用于执行所述存储器中存储的程序指令,以实现权利要求1至8任一项所述的无线帧处理方法。An electronic device, characterized in that it includes a memory and a processor coupled to each other, and the processor is configured to execute program instructions stored in the memory, so as to realize the wireless frame processing according to any one of claims 1 to 8 method.
  15. 一种计算机可读存储介质,其上存储有程序指令,其特征在于,所述程序指令被处理器执行时实现权利要求1至8任一项所述的无线帧处理方法。A computer-readable storage medium storing program instructions thereon, characterized in that, when the program instructions are executed by a processor, the wireless frame processing method according to any one of claims 1 to 8 is implemented.
PCT/CN2021/080544 2021-03-12 2021-03-12 Radio frame processing method, terminal, and storage medium WO2022188165A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/080544 WO2022188165A1 (en) 2021-03-12 2021-03-12 Radio frame processing method, terminal, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/080544 WO2022188165A1 (en) 2021-03-12 2021-03-12 Radio frame processing method, terminal, and storage medium

Publications (1)

Publication Number Publication Date
WO2022188165A1 true WO2022188165A1 (en) 2022-09-15

Family

ID=83226234

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/080544 WO2022188165A1 (en) 2021-03-12 2021-03-12 Radio frame processing method, terminal, and storage medium

Country Status (1)

Country Link
WO (1) WO2022188165A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1618054A (en) * 2001-12-07 2005-05-18 艾利森电话股份有限公司 Wireless station and a transmission method in a wireless local area network
JP2011059931A (en) * 2009-09-09 2011-03-24 Tokai Rika Co Ltd Remote control system and rechargeable communication terminal
CN106559177A (en) * 2016-09-30 2017-04-05 浙江工业大学 The frame length and coding redundancy degree dynamic adjusting method of radio frequency charging sensing node
CN107005941A (en) * 2014-12-12 2017-08-01 三星电子株式会社 To the method and apparatus of the terminal power saving in Wireless LAN system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1618054A (en) * 2001-12-07 2005-05-18 艾利森电话股份有限公司 Wireless station and a transmission method in a wireless local area network
JP2011059931A (en) * 2009-09-09 2011-03-24 Tokai Rika Co Ltd Remote control system and rechargeable communication terminal
CN107005941A (en) * 2014-12-12 2017-08-01 三星电子株式会社 To the method and apparatus of the terminal power saving in Wireless LAN system
CN106559177A (en) * 2016-09-30 2017-04-05 浙江工业大学 The frame length and coding redundancy degree dynamic adjusting method of radio frequency charging sensing node

Similar Documents

Publication Publication Date Title
US8264995B2 (en) Apparatus and method for adjusting a duty cycle to save power in a computing system
US10396580B2 (en) Method and apparatus for intelligent battery control
US10084333B2 (en) Charging method, power adapter, mobile terminal, and charging system
KR102280579B1 (en) Charge circuit, Charge system and wireless power receiver
US8989096B2 (en) Application-aware radio power saving
US8767601B2 (en) Method of enhancing U-APSD for low power Wi-Fi
WO2020223880A1 (en) Charging method and charging apparatus
CN106937534A (en) Mechanism for extending the cycle life of battery
US9510280B2 (en) Transmitting beacon frames over a wireless data link
US20090028094A1 (en) Information Communication Terminal, Radio Communication Apparatus and Radio Communication Network System Capable of Performing Communication Corresponding to Purpose
CN110677874B (en) Transmission rate control method, terminal and computer storage medium
WO2020191540A1 (en) Power supply device, electronic apparatus, and power supply method
JP2016181168A (en) Information processing apparatus, cpu applied voltage control device, and control method of information processing apparatus
CN108445802B (en) Robot sleep control method and circuit, communication device and robot
WO2022121596A1 (en) Communication method and apparatus, terminal device, and storage medium
Adams et al. Adaptive-buffer power save mechanism for mobile multimedia streaming
US7051220B2 (en) Mechanism for reducing power consumption of a transmitter/receiver circuit
WO2022188165A1 (en) Radio frame processing method, terminal, and storage medium
US9122470B2 (en) Electronic device with power control function
CN111343541A (en) Control method and device of wireless earphone, mobile terminal and storage medium
TW201318309A (en) Charging control method
WO2021078261A1 (en) Power supply control method, system and device
CN115086901A (en) Wireless frame processing method, terminal and storage medium
CN101916127B (en) Power supply control method for terminal equipment and terminal equipment
WO2022183399A1 (en) Electric quantity display method, electronic device and storage medium

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: 21929638

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21929638

Country of ref document: EP

Kind code of ref document: A1