Data transmission method and device, passive equipment, electronic equipment and storage medium

By acquiring the energy data of passive devices and dynamically determining the data packet retransmission mode and encoding scheme, the problem of low data packet retransmission efficiency of passive devices in the existing technology is solved, and efficient data packet retransmission matching the energy status of the device is achieved.

CN120602055APending Publication Date: 2025-09-05CHINA RADIO & TELEVISION MOBILE NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510617729.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-14
Publication Date
2025-09-05

AI Technical Summary

Technical Problem

In the prior art, a data packet retransmission mode of a passive device is determined based on a fixed value, which is not suitable for its own energy state and results in low data packet retransmission efficiency.

Method used

By acquiring the energy data of passive devices, the data packet retransmission mode and encoding scheme are dynamically determined to adapt to the current energy state of the device and realize the retransmission of data packets.

Benefits of technology

The efficiency of data packet retransmission is improved, and the data packet retransmission mode and coding scheme are matched with the energy state of the passive device, thereby improving communication efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120602055A_ABST
    Figure CN120602055A_ABST
Patent Text Reader

Abstract

The invention discloses a data transmission method and device, passive equipment, electronic equipment and a storage medium, and belongs to the technical field of wireless communication. The method is applied to target passive equipment, and comprises the following steps: acquiring first energy data under the condition of determining that a sent first data packet fails to be received; the first data packet is a data packet sent by the target passive device; and under the condition that the target passive equipment is determined to support retransmission of the data packet based on the first energy data, determining a data packet retransmission mode based on the size of the first energy data, and retransmitting the first data packet based on the data packet retransmission mode. According to the data transmission method disclosed by the invention, the data packet retransmission efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of wireless communication technology, and in particular relates to a data transmission method, apparatus, passive device, electronic device and storage medium. Background Art

[0002] Passive Internet of Things is an important development direction of the Internet of Things. As one of the components of the passive Internet of Things, passive devices rely on collecting environmental energy to maintain their own operation, such as communication, data processing and other operations.

[0003] In the related art, after receiving information requesting the retransmission of a data packet, the passive device resends the data packet based on a determined data retransmission mode. However, since the data retransmission mode is determined based on a fixed value, the determined data retransmission mode is not applicable to the energy state of the passive device itself, resulting in low data packet retransmission efficiency. Summary of the Invention

[0004] The present application aims to solve at least one of the technical problems existing in the prior art. To this end, the present application proposes a data transmission method, apparatus, passive device, electronic device and storage medium to improve the efficiency of data packet retransmission.

[0005] In a first aspect, the present application provides a data transmission method, applied to a target passive device, the method comprising:

[0006] When it is determined that the first data packet sent fails to be received, obtaining first energy data; the first data packet is a data packet sent by the target passive device;

[0007] When it is determined based on the first energy data that the target passive device supports retransmission of data packets, a data packet retransmission mode is determined based on the size of the first energy data, and the first data packet is retransmitted based on the data packet retransmission mode.

[0008] According to the data transmission method of the present application, when it is determined that the first data packet sent has failed to be received, the first energy data is obtained, and when it is determined based on the first energy data that the target passive device supports retransmission of the data packet, the data packet retransmission mode is determined based on the size of the first energy data, and the first data packet is retransmitted based on the data packet retransmission mode, so that the determined data packet retransmission mode is applicable to the current energy state of the target passive device, thereby improving the data packet retransmission efficiency.

[0009] According to one embodiment of the present application, when it is determined that the sent first data packet fails to be received, before obtaining the first energy data, the method includes:

[0010] obtaining, through a target energy monitoring program, second energy data of a target passive device based on a target period;

[0011] determining a target encoding scheme based on the second energy data;

[0012] Based on the target coding scheme, a first data packet is sent.

[0013] According to one embodiment of the present application, the second energy data includes at least one of voltage data and energy collection data; and determining a target encoding scheme based on the second energy data includes:

[0014] A target encoding scheme is determined based on the voltage data, and / or a target encoding scheme is determined based on the energy harvesting data.

[0015] According to one embodiment of the present application, determining a target coding scheme based on voltage data includes:

[0016] When the voltage data is greater than the first target voltage, determining the first coding scheme as the target coding scheme;

[0017] or

[0018] When the voltage data is less than or equal to the first target voltage and greater than the second target voltage, determining the second coding scheme as the target coding scheme; the second target voltage is less than the first target voltage;

[0019] or

[0020] When the voltage data is less than or equal to the second target voltage, the third encoding scheme is determined as the target encoding scheme.

[0021] According to one embodiment of the present application, determining a target encoding scheme based on energy harvesting data includes:

[0022] When the energy collection data is greater than the first target energy value, determining the first coding scheme as the target coding scheme; or

[0023] When the energy collection data is less than or equal to the first target energy value and greater than the second target energy value, determining the second coding scheme as the target coding scheme; the second target energy value is less than the first target energy value;

[0024] or

[0025] When the energy collection data is less than or equal to the second target energy value, the third coding scheme is determined as the target coding scheme.

[0026] According to one embodiment of the present application, when it is determined based on the first energy data that the target passive device does not support retransmission of data packets, the target passive device enters a sleep state.

[0027] In a second aspect, the present application provides a data transmission device, comprising:

[0028] A first acquisition module is configured to acquire first energy data when it is determined that the first data packet sent fails to be received;

[0029] The first determination module is used to determine the data packet retransmission mode based on the size of the first energy data when it is determined based on the first energy data that the target passive device supports retransmission of the data packet, and retransmit the first data packet based on the data packet retransmission mode.

[0030] According to the data transmission device of the present application, when it is determined that the first data packet sent has failed to be received, the first energy data is obtained, and when it is determined based on the first energy data that the target passive device supports retransmission of the data packet, the data packet retransmission mode is determined based on the size of the first energy data, and the first data packet is retransmitted based on the data packet retransmission mode, so that the determined data packet retransmission mode is applicable to the current energy state of the target passive device, thereby improving the data packet retransmission efficiency.

[0031] In a third aspect, the present application provides a passive device, which is used to implement the steps of the data transmission method in the first aspect.

[0032] In a fourth aspect, the present application provides an electronic device comprising a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of the data transmission method of the first aspect.

[0033] In a fifth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the data transmission method in the first aspect.

[0034] In a sixth aspect, the present application provides a computer program product, comprising a computer program, which, when executed by a processor, implements the steps of the data transmission method in the first aspect.

[0035] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become obvious from the description below, or will be learned through practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0037] Figure 1 This is one of the flowcharts of the data transmission method provided in the embodiment of the present application;

[0038] Figure 2 This is the second flow chart of the data transmission method provided in the embodiment of the present application;

[0039] Figure 3 This is the third flow chart of the data transmission method provided in the embodiment of the present application;

[0040] Figure 4 is a structural diagram of a data transmission device provided in an embodiment of the present application;

[0041] Figure 5 It is a structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0042] The following will be combined with the accompanying drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.

[0043] The terms "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. In addition, the term "and / or" in the specification and claims refers to at least one of the connected objects, and the character " / " generally indicates that the objects connected are in an "or" relationship.

[0044] The data transmission method, apparatus, passive device, electronic device and storage medium provided in the embodiments of the present application are described in detail below with reference to specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0045] The data transmission method may be applied to a terminal, and may be specifically executed by hardware or software in the terminal.

[0046] The terminal includes, but is not limited to, a portable communication device such as a mobile phone or tablet computer having a touch-sensitive surface (e.g., a touch screen display and / or a touch pad). It should also be understood that, in some embodiments, the terminal may not be a portable communication device, but a desktop computer having a touch-sensitive surface (e.g., a touch screen display and / or a touch pad).

[0047] In the following embodiments, a terminal including a display and a touch-sensitive surface is described. However, it should be understood that the terminal may include one or more other physical user interface devices such as a physical keyboard, a mouse, and a joystick.

[0048] The data transmission method provided in the embodiment of the present application can be executed by an electronic device or a functional module or functional entity in the electronic device that can implement the data transmission method. The electronic devices mentioned in the embodiment of the present application include but are not limited to mobile phones, tablets, computers, cameras and wearable devices. The data transmission method provided in the embodiment of the present application is described below using an electronic device as an example of the execution subject.

[0049] The present application provides a data transmission method, which is applied to a target passive device, wherein the target passive device is used to receive a first data packet sent by a target base station. In some embodiments, the data transmission method is applicable to a 3GPP standard Ambient IoT scenario.

[0050] like Figure 1 As shown, the data transmission method includes: step 110 and step 120.

[0051] Step 110: When it is determined that the first data packet sent fails to be received, obtain first energy data.

[0052] In actual implementation, the first data packet may be any data packet sent by the target passive device. The target passive device may be any device that does not require energy from a second device and relies on itself to obtain energy from the surrounding environment.

[0053] In some embodiments, the target passive device may determine that the first data packet has failed to be received upon receiving reception failure information for the first data packet. The reception failure information may be a negative acknowledgement (NACK) or any other theoretically feasible information, which is not specifically limited in this application.

[0054] In actual implementation, the first energy data may be used to indicate the amount of energy available for communication by the target passive device. The first energy data may include a storage capacitor voltage and / or ambient energy data collected by the target passive device.

[0055] In some embodiments, the first energy data may be acquired based on a target energy monitoring procedure.

[0056] Step 120: When it is determined based on the first energy data that the target passive device supports retransmission of data packets, a data packet retransmission mode is determined based on the size of the first energy data, and the first data packet is retransmitted based on the data packet retransmission mode.

[0057] In some embodiments, the target passive device may be determined to support retransmission of the data packet when the first energy data is greater than or equal to a first threshold. The first threshold may be a preset value. In some embodiments, the first threshold may be a value determined based on information about the current first data packet, such as a value determined by the size of the first data packet, and the value may be positively correlated with the size of the first data packet. In some embodiments, the first threshold may be a value determined based on the energy state of the target passive device, and the value may be positively correlated with the energy of the target passive device. The first threshold may be any theoretically feasible value.

[0058] In some embodiments, the target passive device may trigger a communication window to prepare for retransmission of the first data packet when the first energy data is greater than or equal to a first threshold.

[0059] In some embodiments, when the first energy data is greater than or equal to the second threshold, the data packet retransmission mode can be determined to be the first mode; when the first energy data is less than the second threshold, the data packet retransmission mode can be determined to be the second mode.

[0060] In actual implementation, the second threshold value may be any theoretically feasible value. The first mode may be a hybrid automatic repeat request (HARQ) mode, for example, the first mode may be a chase combine (CC) mode. The second mode may be a hybrid automatic repeat request (HARQ) mode, for example, the second mode may be an incremental redundancy (IR) mode.

[0061] In some embodiments, the target passive device may determine a second threshold value and may determine that the data packet retransmission mode is the first mode when the first energy data is greater than or equal to the second threshold value; and may determine that the data packet retransmission mode is the second mode when the first energy data is less than the second threshold value. For example, the target passive device may determine that the second threshold value is 500, and may determine that the data packet retransmission mode is the first mode when the first energy data is 800, that is, the first energy data is greater than or equal to the second threshold value; and may determine that the data packet retransmission mode is the second mode when the first energy data is 300, that is, the first energy data is less than the second threshold value.

[0062] According to the data transmission method of an embodiment of the present application, when it is determined that the first data packet sent has failed to be received, the first energy data is obtained, and when it is determined based on the first energy data that the target passive device supports retransmission of the data packet, the data packet retransmission mode is determined based on the size of the first energy data, and the first data packet is retransmitted based on the data packet retransmission mode, so that the determined data packet retransmission mode is applicable to the current energy state of the target passive device, thereby improving the data packet retransmission efficiency.

[0063] In some embodiments, when it is determined that the first data packet sent has failed to be received, before obtaining the first energy data, the target energy monitoring program can be used to obtain the second energy data of the target passive device based on the target period; based on the second energy data, the target coding scheme can be determined; and based on the target coding scheme, the first data packet can be sent.

[0064] In actual implementation, the target energy monitoring program can be used to monitor energy data of the target passive device in real time. In some embodiments, the target energy monitoring program can be used to monitor second energy data of the target passive device in real time. The second energy data can include the capacitor voltage stored in the target passive device and the collection data of ambient energy (e.g., light energy, radio frequency energy, etc.) (e.g., ambient energy collection rate, ambient energy collection amount, etc.).

[0065] In actual implementation, the target period may be a set value. In some embodiments, the target passive device may acquire the second energy data based on the target period. For example, the target period may be set to 30 seconds / time, and the target passive device may acquire the second energy data once every 30 seconds.

[0066] In actual implementation, the target coding scheme may be a modulation and coding scheme (MCS).

[0067] In some embodiments, the target passive device may determine a target encoding scheme based on the size of the second energy data.

[0068] In some embodiments, the target passive device may encode the first data packet based on a target coding scheme and retransmit the encoded first data packet.

[0069] According to the data transmission method of the embodiment of the present application, the second energy data of the target passive device is obtained based on the target period through the target energy monitoring program; based on the second energy data, the target coding scheme is determined; based on the target coding scheme, the first data packet is sent to establish a corresponding mapping relationship between the second energy data and the target coding scheme, and based on the second energy data, the target coding scheme is determined; based on the target coding scheme, the first data packet is sent to achieve the coding and sending scheme of the data packet to fit the energy state of the target passive device, thereby improving the coding and sending efficiency of the data packet.

[0070] In some embodiments, the second energy data includes at least one of voltage data and energy harvesting data; the target encoding scheme may be determined based on the voltage data, and / or the target encoding scheme may be determined based on the energy harvesting data.

[0071] In some embodiments, the target coding scheme may be determined based on voltage data or energy harvesting data; or the target coding scheme may be determined based on voltage data and energy harvesting data.

[0072] In some embodiments, the target passive device may determine a target encoding scheme based on a magnitude of at least one of the voltage data and the energy harvesting data.

[0073] According to the data transmission method of the embodiment of the present application, at least one of the voltage data and energy collection data of the target passive device is obtained based on the target period through the target energy monitoring program; based on at least one of the voltage data and the energy collection data, the target coding scheme is determined; based on the target coding scheme, a first data packet is sent to establish a corresponding mapping relationship between the second energy data and the target coding scheme, and based on the second energy data, the target coding scheme is determined; based on the target coding scheme, the first data packet is sent to achieve a coding and sending scheme of the data packet that fits the energy state of the target passive device, thereby improving the coding and sending efficiency of the data packet.

[0074] In some embodiments, when the voltage data is greater than the first target voltage, the first coding scheme can be determined as the target coding scheme; when the voltage data is less than or equal to the first target voltage and greater than the second target voltage, the second coding scheme can be determined as the target coding scheme; the second target voltage is less than the first target voltage; and when the voltage data is less than or equal to the second target voltage, the third coding scheme can be determined as the target coding scheme.

[0075] In actual implementation, both the first target voltage and the second target voltage may be set values.

[0076] In some embodiments, the target passive device may set a first target voltage and determine whether the voltage data is greater than the first target voltage. For example, if the first target voltage is set to 2.5 volts and the voltage data is 3 volts, i.e., the voltage data is greater than the first target voltage, the first encoding scheme is determined to be the target encoding scheme.

[0077] In some embodiments, the first coding scheme may be a Quadrature Amplitude Modulation (QAM) scheme with a state space of 64.

[0078] In some embodiments, the target passive device may set a second target voltage and determine whether the voltage data is less than or equal to the first target voltage and greater than the second target voltage. For example, if the first target voltage is set to 2.5 volts and the second target voltage is set to 1 volt, and the voltage data is 2 volts, i.e., the voltage data is less than or equal to the first target voltage and greater than the second target voltage, the second encoding scheme is determined to be the target encoding scheme.

[0079] In some embodiments, the second coding scheme may be a Quadrature Amplitude Modulation (QAM) scheme with a state space of 32.

[0080] In some embodiments, the target passive device can determine whether the voltage data is less than or equal to the second target voltage. For example, if the second target voltage is 1 volt and the voltage data is 0.8 volt, that is, the voltage data is less than the second target voltage, the third coding scheme is determined to be the target coding scheme.

[0081] In some embodiments, the third encoding scheme may be a Quadrature Phase Shift Keying (QPSK) scheme.

[0082] According to the data transmission method of the embodiment of the present application, at least one of the voltage data and energy collection data of the target passive device is obtained based on the target period through the target energy monitoring program; based on at least one of the voltage data and the energy collection data, the target coding scheme is determined; based on the target coding scheme, a first data packet is sent to establish a corresponding mapping relationship between the second energy data and the target coding scheme, and based on the second energy data, the target coding scheme is determined; based on the target coding scheme, the first data packet is sent to achieve a coding and sending scheme of the data packet that fits the energy state of the target passive device, thereby improving the coding and sending efficiency of the data packet.

[0083] In some embodiments, when the energy acquisition data is greater than the first target energy value, the first coding scheme can be determined as the target coding scheme; when the energy acquisition data is less than or equal to the first target energy value and greater than the second target energy value, the second coding scheme can be determined as the target coding scheme; the second target energy value is less than the first target energy value; when the energy acquisition data is less than or equal to the second target energy value, the third coding scheme can be determined as the target coding scheme.

[0084] In actual implementation, both the first target energy value and the second target energy value may be set values.

[0085] In some embodiments, the target passive device may set a first target energy value and determine whether the energy harvested data is greater than the first target energy value. For example, if the first target energy value is set to 20 microwatts and the energy harvested data is 30 microwatts, i.e., the energy harvested data is greater than the first target energy value, the first encoding scheme is determined to be the target encoding scheme.

[0086] In some embodiments, the target passive device may set a second target energy value and determine whether the energy harvested data is less than or equal to the first target energy value and greater than the second target energy value. For example, if the first target energy value is set to 20 microwatts and the second target energy value is 10 microwatts, and the energy harvested data is 25 microwatts, i.e., the energy harvested data is less than or equal to the first target energy value and greater than the second target energy value, the second encoding scheme is determined to be the target encoding scheme.

[0087] In some embodiments, the target passive device can determine whether the energy collection data is less than or equal to the second target energy value. For example, the second target energy value is 10 microwatts. When the energy collection data is 8 microwatts, that is, the energy collection data is less than the second target energy value, the third encoding scheme is determined as the target encoding scheme.

[0088] According to the data transmission method of the embodiment of the present application, at least one of the voltage data and energy collection data of the target passive device is obtained based on the target period through the target energy monitoring program; based on at least one of the voltage data and the energy collection data, the target coding scheme is determined; based on the target coding scheme, a first data packet is sent to establish a corresponding mapping relationship between the second energy data and the target coding scheme, and based on the second energy data, the target coding scheme is determined; based on the target coding scheme, the first data packet is sent to achieve a coding and sending scheme of the data packet that fits the energy state of the target passive device, thereby improving the coding and sending efficiency of the data packet.

[0089] In some embodiments, if it is determined based on the first energy data that the target passive device does not support retransmission of data packets, the target passive device enters a sleep state.

[0090] In some embodiments, the target passive device may determine that the target passive device does not support retransmission of data packets when the first energy data is less than a first threshold, so as to cause the target passive device to enter a sleep state.

[0091] In some embodiments, after the target passive device enters the sleep state, it stops retransmitting the first data packet.

[0092] In some embodiments, after the target passive device enters the sleep state, it may continue to collect energy until the first energy data is greater than or equal to the first threshold.

[0093] In some embodiments, the first energy data may include voltage data. When the voltage data is less than a first threshold, it is determined that the target passive device does not support retransmission of data packets, so that the target passive device enters a sleep state.

[0094] According to the data transmission method of an embodiment of the present application, the target passive device can determine that the target passive device does not support retransmission of data packets when the first energy data is less than a first threshold, so that the target passive device enters a sleep state. The target passive device can be put into a sleep state before the energy of the target passive device is exhausted by the size of the first energy data, so as to avoid retransmission of invalid data packets after energy exhaustion, causing energy waste for the data packet receiver.

[0095] In order to better understand the data transmission method provided in the embodiments of the present application, further explanation is given below. It should be understood that the discussion below is only exemplary.

[0096] This application provides a data transmission method, the specific steps can be as follows Figure 2 As shown:

[0097] Step 210: Obtain second energy data of the target passive device based on the target period through the target energy monitoring program.

[0098] In some embodiments, the target passive device may perform initialization operations such as powering on and starting energy harvesting.

[0099] In actual implementation, the target energy monitoring program can be used to monitor energy data of the target passive device in real time. In some embodiments, the target energy monitoring program can be used to monitor second energy data of the target passive device in real time. The second energy data can include the capacitor voltage stored in the target passive device and the collection data of ambient energy (e.g., light energy, radio frequency energy, etc.) (e.g., ambient energy collection rate, ambient energy collection amount, etc.).

[0100] In actual implementation, the target period may be a set value. In some embodiments, the target passive device may acquire the second energy data based on the target period. For example, the target period may be set to 30 seconds / time, and the target passive device may acquire the second energy data once every 30 seconds.

[0101] Step 220: Determine a target coding scheme based on the second energy data.

[0102] In actual implementation, the target coding scheme may be a modulation and coding scheme (MCS).

[0103] In some embodiments, the target passive device may determine a target encoding scheme based on the size of the second energy data.

[0104] In some embodiments, the second energy data includes at least one of voltage data and energy harvesting data; the target encoding scheme may be determined based on the voltage data, and / or the target encoding scheme may be determined based on the energy harvesting data.

[0105] In some embodiments, the target coding scheme may be determined based on voltage data or energy harvesting data; or the target coding scheme may be determined based on voltage data and energy harvesting data.

[0106] In some embodiments, the target passive device may determine a target encoding scheme based on a magnitude of at least one of the voltage data and the energy harvesting data.

[0107] In some embodiments, when the voltage data is greater than the first target voltage, the first coding scheme can be determined as the target coding scheme; when the voltage data is less than or equal to the first target voltage and greater than the second target voltage, the second coding scheme can be determined as the target coding scheme; the second target voltage is less than the first target voltage; and when the voltage data is less than or equal to the second target voltage, the third coding scheme can be determined as the target coding scheme.

[0108] In actual implementation, both the first target voltage and the second target voltage may be set values.

[0109] In some embodiments, the target passive device may set a first target voltage and determine whether the voltage data is greater than the first target voltage. For example, if the first target voltage is set to 2.5 volts and the voltage data is 3 volts, i.e., the voltage data is greater than the first target voltage, the first encoding scheme is determined to be the target encoding scheme.

[0110] In some embodiments, the first coding scheme may be a Quadrature Amplitude Modulation (QAM) scheme with a state space of 64.

[0111] In some embodiments, the target passive device may set a second target voltage and determine whether the voltage data is less than or equal to the first target voltage and greater than the second target voltage. For example, if the first target voltage is set to 2.5 volts and the second target voltage is set to 1 volt, and the voltage data is 2 volts, i.e., the voltage data is less than or equal to the first target voltage and greater than the second target voltage, the second encoding scheme is determined to be the target encoding scheme.

[0112] In some embodiments, the second coding scheme may be a Quadrature Amplitude Modulation (QAM) scheme with a state space of 32.

[0113] In some embodiments, the target passive device can determine whether the voltage data is less than or equal to the second target voltage. For example, if the second target voltage is 1 volt and the voltage data is 0.8 volt, that is, the voltage data is less than the second target voltage, the third coding scheme is determined to be the target coding scheme.

[0114] In some embodiments, the third encoding scheme may be a Quadrature Phase Shift Keying (QPSK) scheme.

[0115] In some embodiments, when the energy acquisition data is greater than the first target energy value, the first coding scheme can be determined as the target coding scheme; when the energy acquisition data is less than or equal to the first target energy value and greater than the second target energy value, the second coding scheme can be determined as the target coding scheme; the second target energy value is less than the first target energy value; when the energy acquisition data is less than or equal to the second target energy value, the third coding scheme can be determined as the target coding scheme.

[0116] In actual implementation, both the first target energy value and the second target energy value may be set values.

[0117] In some embodiments, the target passive device may set a first target energy value and determine whether the energy harvested data is greater than the first target energy value. For example, if the first target energy value is set to 20 microwatts and the energy harvested data is 30 microwatts, i.e., the energy harvested data is greater than the first target energy value, the first encoding scheme is determined to be the target encoding scheme.

[0118] In some embodiments, the target passive device may set a second target energy value and determine whether the energy harvested data is less than or equal to the first target energy value and greater than the second target energy value. For example, if the first target energy value is set to 20 microwatts and the second target energy value is 10 microwatts, and the energy harvested data is 25 microwatts, i.e., the energy harvested data is less than or equal to the first target energy value and greater than the second target energy value, the second encoding scheme is determined to be the target encoding scheme.

[0119] In some embodiments, the target passive device can determine whether the energy collection data is less than or equal to the second target energy value. For example, the second target energy value is 10 microwatts. When the energy collection data is 8 microwatts, that is, the energy collection data is less than the second target energy value, the third encoding scheme is determined as the target encoding scheme.

[0120] In some embodiments, the target encoding scheme may be determined based on the following process:

[0121] Define the select_mcs function, which is used to determine the target coding scheme. The two input parameters of the select_mcs function are voltage (voltage data) and harvest_rate (energy harvesting data). If the voltage is greater than 2.5 volts, or the harvest_rate is greater than 20 microwatts (μW), the select_mcs function determines 64QAM as the target coding scheme; if the voltage is greater than 1.8 volts and less than or equal to 2.5 volts, or the harvest_rate is greater than 10 microwatts (μW) and less than or equal to 20 microwatts (μW), the select_mcs function determines 32QAM as the target coding scheme; if the voltage is less than or equal to 1.8 volts, or the harvest_rate is less than or equal to 10 microwatts (μW), the select_mcs function determines QPSK as the target coding scheme.

[0122] Step 230: Send a first data packet based on the target coding scheme.

[0123] In some embodiments, the target passive device may encode the first data packet based on a target coding scheme and retransmit the encoded first data packet.

[0124] In some embodiments, as Figure 3 As shown, after sending the first data packet based on the target coding scheme, the target passive device may wait to receive negative-acknowledgment (NACK) information or acknowledgement character (ACK) information.

[0125] Step 240: When it is determined that the first data packet sent fails to be received, obtain first energy data.

[0126] In actual implementation, the first data packet may be any data packet sent by the target passive device. The target passive device may be any device that does not require energy from a second device and relies on itself to obtain energy from the surrounding environment.

[0127] In some embodiments, the target passive device may determine that the first data packet has failed to be received upon receiving reception failure information for the first data packet. The reception failure information may be a negative acknowledgement (NACK) or any other theoretically feasible information, which is not specifically limited in this application.

[0128] In actual implementation, the first energy data may be used to indicate the amount of energy available for communication by the target passive device. The first energy data may include a storage capacitor voltage and / or ambient energy data collected by the target passive device.

[0129] In some embodiments, the first energy data may be acquired based on a target energy monitoring procedure.

[0130] Step 250: When it is determined based on the first energy data that the target passive device supports retransmission of data packets, a data packet retransmission mode is determined based on the size of the first energy data, and the first data packet is retransmitted based on the data packet retransmission mode.

[0131] In some embodiments, the target passive device may be determined to support retransmission of the data packet when the first energy data is greater than or equal to a first threshold. The first threshold may be a preset value. In some embodiments, the first threshold may be a value determined based on information about the current first data packet, such as a value determined by the size of the first data packet, and the value may be positively correlated with the size of the first data packet. In some embodiments, the first threshold may be a value determined based on the energy state of the target passive device, and the value may be positively correlated with the energy of the target passive device. The first threshold may be any theoretically feasible value.

[0132] In some embodiments, the target passive device may trigger a communication window to prepare for retransmission of the first data packet when the first energy data is greater than or equal to a first threshold.

[0133] In some embodiments, when the first energy data is greater than or equal to the second threshold, the data packet retransmission mode can be determined to be the first mode; when the first energy data is less than the second threshold, the data packet retransmission mode can be determined to be the second mode.

[0134] In actual implementation, the second threshold value may be any theoretically feasible value. The first mode may be a hybrid automatic repeat request (HARQ) mode, for example, the first mode may be a chase combine (CC) mode. The second mode may be a hybrid automatic repeat request (HARQ) mode, for example, the second mode may be an incremental redundancy (IR) mode.

[0135] In some embodiments, the target passive device may determine a second threshold value and may determine that the data packet retransmission mode is the first mode when the first energy data is greater than or equal to the second threshold value; and may determine that the data packet retransmission mode is the second mode when the first energy data is less than the second threshold value. For example, the target passive device may determine that the second threshold value is 500, and may determine that the data packet retransmission mode is the first mode when the first energy data is 800, that is, the first energy data is greater than or equal to the second threshold value; and may determine that the data packet retransmission mode is the second mode when the first energy data is 300, that is, the first energy data is less than the second threshold value.

[0136] Step 260: When it is determined based on the first energy data that the target passive device does not support retransmission of data packets, the target passive device enters a sleep state.

[0137] In some embodiments, the target passive device may determine that the target passive device does not support retransmission of data packets when the first energy data is less than a first threshold, so as to cause the target passive device to enter a sleep state.

[0138] In some embodiments, after the target passive device enters the sleep state, it stops retransmitting the first data packet.

[0139] In some embodiments, after the target passive device enters the sleep state, it may continue to collect energy until the first energy data is greater than or equal to the first threshold.

[0140] In some embodiments, the first energy data may include voltage data. When the voltage data is less than a first threshold, it is determined that the target passive device does not support retransmission of data packets, so that the target passive device enters a sleep state.

[0141] The embodiment of the present application also provides a data transmission device.

[0142] like Figure 4 As shown, the data transmission device 400 includes: a first acquisition module 410 and a first determination module 420.

[0143] A first acquisition module 410 is configured to acquire first energy data when it is determined that the first data packet sent fails to be received;

[0144] The first determination module 420 is used to determine the data packet retransmission mode based on the size of the first energy data when it is determined based on the first energy data that the target passive device supports retransmission of the data packet, and retransmit the first data packet based on the data packet retransmission mode.

[0145] According to the data transmission device of the present application, when it is determined that the first data packet sent has failed to be received, the first energy data is obtained, and when it is determined based on the first energy data that the target passive device supports retransmission of the data packet, the data packet retransmission mode is determined based on the size of the first energy data, and the first data packet is retransmitted based on the data packet retransmission mode, so that the determined data packet retransmission mode is applicable to the current energy state of the target passive device, thereby improving the data packet retransmission efficiency.

[0146] In some embodiments, the data transmission device 400 further includes:

[0147] A second acquisition module is configured to acquire second energy data of a target passive device based on a target period through a target energy monitoring program;

[0148] a second determining module, configured to determine a target coding scheme based on the second energy data;

[0149] The sending module is configured to send a first data packet based on a target coding scheme.

[0150] In some embodiments, the second energy data includes at least one of voltage data and energy collection data; the second determination module is used to determine the target coding scheme based on the voltage data and / or determine the target coding scheme based on the energy collection data.

[0151] In some embodiments, the second determination module is used to determine that the first coding scheme is the target coding scheme when the voltage data is greater than the first target voltage; or to determine that the second coding scheme is the target coding scheme when the voltage data is less than or equal to the first target voltage and greater than the second target voltage; the second target voltage is less than the first target voltage; or to determine that the third coding scheme is the target coding scheme when the voltage data is less than or equal to the second target voltage.

[0152] In some embodiments, the second determination module is used to determine the first coding scheme as the target coding scheme when the energy acquisition data is greater than the first target energy value; or to determine the second coding scheme as the target coding scheme when the energy acquisition data is less than or equal to the first target energy value and greater than the second target energy value; the second target energy value is less than the first target energy value; or to determine the third coding scheme as the target coding scheme when the energy acquisition data is less than or equal to the second target energy value.

[0153] In some embodiments, if it is determined based on the first energy data that the target passive device does not support retransmission of data packets, the target passive device enters a sleep state.

[0154] The data transmission device in the embodiment of the present application can be an electronic device or a component in an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or a device other than a terminal. For example, 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), a teller machine or a self-service machine, etc., and the embodiment of the present application does not specifically limit it.

[0155] The data transmission device in the embodiment of the present application may be a device having an operating system. The operating system may be a Microsoft (Windows) operating system, 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.

[0156] The data transmission device 400 provided in the embodiment of the present application can realize Figures 1 to 2 To avoid repetition, the various processes implemented in the method embodiment are not described here.

[0157] The present application provides a passive device, which may be the target passive device in any of the above embodiments. The passive device may include the data transmission apparatus in any of the above embodiments. The passive device may be used to implement the steps of the data transmission method in any of the above embodiments.

[0158] In some embodiments, as Figure 5 As shown, an embodiment of the present application also provides a computer device 500, including a processor 501, a memory 502, and a computer program stored in the memory 502 and executable on the processor 501. When the program is executed by the processor 501, each process of the above-mentioned data transmission method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0159] It should be noted that the computer devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0160] An embodiment of the present application also provides a non-transitory computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the various processes of the above-mentioned data transmission method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0161] The processor is the processor in the electronic device described 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.

[0162] An embodiment of the present application further provides a computer program product, including a computer program, which implements the above-mentioned data transmission method when executed by a processor.

[0163] The processor is the processor in the electronic device described 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.

[0164] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned data transmission method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0165] It should be understood that 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.

[0166] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0167] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, 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.

[0168] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.

[0169] Throughout this specification, reference to terms such as "one embodiment," "some embodiments," "illustrative embodiments," "examples," "specific examples," or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

[0170] Although the embodiments of the present application have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions, and variations may be made to the embodiments without departing from the principles and intent of the present application, and that the scope of the present application is defined by the claims and their equivalents.

Claims

1. A data transmission method, characterized in that: Applied to a target passive device; the method comprises: When it is determined that the first data packet sent fails to be received, obtaining first energy data; When it is determined based on the first energy data that the target passive device supports retransmission of data packets, a data packet retransmission mode is determined based on the size of the first energy data, and the first data packet is retransmitted based on the data packet retransmission mode.

2. The data transmission method according to claim 1, wherein: Before obtaining the first energy data in the case of determining that the first data packet sent fails to be received, the method includes: acquiring, by a target energy monitoring program, second energy data of the target passive device based on a target period; determining a target encoding scheme based on the second energy data; Based on the target coding scheme, a first data packet is sent.

3. The data transmission method according to claim 2, wherein: The second energy data includes at least one of voltage data and energy collection data; Determining a target encoding scheme based on the second energy data includes: A target encoding scheme is determined based on the voltage data, and / or a target encoding scheme is determined based on the energy harvesting data.

4. The data transmission method according to claim 3, wherein: The step of determining a target coding scheme based on the voltage data includes: When the voltage data is greater than the first target voltage, determining the first coding scheme as the target coding scheme; or When the voltage data is less than or equal to the first target voltage and greater than a second target voltage, determining the second coding scheme as the target coding scheme; and the second target voltage is less than the first target voltage; or When the voltage data is less than or equal to the second target voltage, a third coding scheme is determined as the target coding scheme.

5. The data transmission method according to claim 3, wherein: The determining of a target encoding scheme based on the energy collection data includes: When the energy collection data is greater than the first target energy value, determining the first coding scheme as the target coding scheme; or When the energy collection data is less than or equal to the first target energy value and greater than a second target energy value, determining the second coding scheme as the target coding scheme; the second target energy value is less than the first target energy value; or When the energy collection data is less than or equal to the second target energy value, a third coding scheme is determined as the target coding scheme.

6. The data transmission method according to any one of claims 1 to 5, characterized in that: In a case where it is determined based on the first energy data that the target passive device does not support retransmission of data packets, the target passive device enters a sleep state.

7. A data transmission device, characterized in that: include: A first acquisition module is configured to acquire first energy data when it is determined that the first data packet sent fails to be received; The first determination module is used to determine the data packet retransmission mode based on the size of the first energy data when it is determined based on the first energy data that the target passive device supports retransmission of the data packet, and retransmit the first data packet based on the data packet retransmission mode.

8. A passive device, characterized in that: The passive device is used to execute the data transmission method according to any one of claims 1 to 6.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the data transmission method according to any one of claims 1 to 6 is implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the data transmission method according to any one of claims 1 to 6 is implemented.

11. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the data transmission method according to any one of claims 1 to 6 is implemented.