Disclosure of Invention
The embodiment of the application provides a wireless transmission method, a wireless transmission device, electronic equipment and a computer readable storage medium, which can ensure that enough data packets are transmitted at a connection interval.
In a first aspect, an embodiment of the present application provides a wireless transmission method, which is applied to a first device, including:
Acquiring current wireless transmission quality at a target connection interval;
Determining a target number of data packets to be transmitted in the target connection interval according to the current wireless transmission quality and the target connection interval;
and transmitting the data packets with the target number at the target connection interval.
In one embodiment, after the determining the target number of data packets to be transmitted in the target connection interval, the method further includes:
And adjusting the data packet fields of the first packet data packet according to the target number to obtain a first field, wherein the first field is used for notifying a second device to send the number of the test data packets at the target connection interval to be the target number.
In one embodiment, the method further comprises:
Determining the number of omitted packets according to the target number;
according to the omitted number of the back packets, adjusting the data packet field of the first packet data packet to obtain a second field; the second field is used for notifying the second equipment to reduce the sending test data packet according to the omitted packet number;
The transmitting the target number of data packets at the target connection interval includes:
transmitting the data packets with the omitted number of the back packets to the second device in the target connection interval;
And after the data packets with the omitted number of the back packets are sent, receiving the test data packets sent by the second equipment according to the second field.
In one embodiment, the method further comprises:
determining a predetermined number of receptions based on the target number;
According to the preset receiving quantity, the data packet field of the first packet data packet is adjusted to obtain a third field, wherein the third field is used for notifying the second equipment that the quantity of continuously received data packets is the preset receiving quantity;
The transmitting the target number of data packets at the target connection interval includes:
Continuously transmitting data packets with the number of the preset receiving number to the second equipment in the target connection interval;
and after continuously transmitting the data packets with the preset receiving quantity, receiving the test data packets transmitted by the second equipment according to the third field.
In one embodiment, the method further comprises:
determining a connection interval adjustment amount according to the preset receiving quantity corresponding to the target connection interval;
and determining the next connection interval according to the target connection interval and the connection interval adjustment quantity.
In one embodiment, the determining, according to the current wireless transmission quality and the target connection interval, the target number of data packets to be transmitted in the target connection interval includes:
determining the time length required for transmitting the target data packet under the current wireless transmission quality;
And determining the target number of the data packets to be transmitted in the target connection interval according to the target connection interval and the duration.
In a second aspect, an embodiment of the present application provides a wireless transmission method, which is applied to a second device, including:
receiving a first packet data packet sent by first equipment at a target connection interval;
analyzing a target field in the first packet data packet to determine a target number, wherein the target number is the number of data packets to be transmitted in the target connection interval determined according to the current wireless transmission quality and the target connection interval;
and receiving the data packets transmitted by the first equipment according to the target quantity at the target connection interval.
In one embodiment, the target field is used for notifying the second device that the number of test data packets sent in the target connection interval is the target number, and the method further comprises:
And sending test data packets at the target connection intervals according to the target quantity.
In one embodiment, the target field is used for notifying the second device to reduce the transmission of the test data packet according to the number of omitted packets, wherein the number of omitted packets is determined according to the target number;
the method further comprises the steps of:
Determining, according to the target field, to reduce the number of sending the test data packets to the omitted number of packets;
And in the target connection interval, after receiving the data packets with the omitted number of the back packets sent by the first device, sending test data packets to the first device.
In one embodiment, the target field is used for notifying the second device that the number of continuously received data packets is a predetermined receiving number, wherein the predetermined receiving number is determined according to the target number;
the method further comprises the steps of:
determining the number of the continuously received data packets as the preset receiving number according to the target field;
and in the target connection interval, after receiving the data packets with the preset receiving quantity, which are continuously transmitted by the first equipment, transmitting test data packets to the first equipment.
In a third aspect, an embodiment of the present application provides a wireless transmission apparatus, which is applied to a first device, including:
the acquisition module is used for acquiring the current wireless transmission quality at the target connection interval;
the determining module is used for determining the target number of the data packets to be transmitted in the target connection interval according to the current wireless transmission quality and the target connection interval;
and the transmission module is used for transmitting the data packets with the target number at the target connection interval.
In one embodiment, after the determining the target number of data packets to be transmitted in the target connection interval, the apparatus further includes:
the first adjusting module is used for adjusting the data packet fields of the first packet data packet according to the target number to obtain a first field, wherein the first field is used for informing the second equipment that the number of the test data packets sent at the target connection interval is the target number.
In one embodiment, the apparatus further comprises:
the omission determining module is used for determining the number of omitted packets according to the target number;
The second adjusting module is used for adjusting the data packet field of the first packet data packet according to the omitted packet number to obtain a second field, wherein the second field is used for informing a second device to reduce the sending test data packet according to the omitted packet number;
The transmission module includes:
A first sending unit, configured to send, in the target connection interval, the data packet with the omitted packet number to the second device;
And the first receiving unit is used for receiving the test data packet sent by the second equipment according to the second field after sending the data packet with the omitted packet number.
In one embodiment, the apparatus further comprises:
A predetermined determining module, configured to determine a predetermined number of receptions according to the target number;
The third field is used for notifying the second equipment to continuously receive the data packets, and the number of the data packets is the preset receiving number;
The transmission module includes:
A second transmitting unit configured to continuously transmit, in the target connection interval, data packets of the predetermined reception number to the second device;
and the second receiving unit is used for receiving the test data packets sent by the second equipment according to the third field after continuously sending the data packets with the preset receiving quantity.
In one embodiment, the apparatus further comprises:
the adjustment quantity determining module is used for determining the adjustment quantity of the connection interval according to the preset receiving quantity corresponding to the target connection interval;
And the interval determining module is used for determining the next target connection interval according to the target connection interval and the connection interval adjustment quantity.
In one embodiment, the determining module includes:
A time length determining unit, configured to determine a time length required for transmitting a target data packet under the current wireless transmission quality;
And the quantity determining unit is used for determining the target quantity of the data packets to be transmitted in the target connection interval according to the target connection interval and the duration.
In a fourth aspect, an embodiment of the present application provides a wireless transmission apparatus, applied to a second device, including:
the first receiving module is used for receiving a first packet data packet sent by the first equipment at a target connection interval;
The analyzing module is used for analyzing the first packet data packet and determining the target quantity, wherein the target quantity is the quantity of data packets to be transmitted in the target connection interval according to the current wireless transmission quality and the target connection interval;
And the second receiving module is used for receiving the data packets transmitted by the first equipment according to the target quantity at the target connection interval.
In one embodiment, the target field is used for notifying the second device that the number of test data packets sent in the target connection interval is the target number, and the apparatus further comprises:
And the test transmitting module is used for transmitting test data packets at the target connection interval according to the target quantity.
In one embodiment, the target field is used for notifying the second device to reduce the transmission of the test data packet according to the number of omitted packets, wherein the number of omitted packets is determined according to the target number;
The apparatus further comprises:
The omitted packet number determining module is used for determining to reduce the number of the test data packets to be sent to the omitted packet number according to the target field;
And the first test data packet sending module is used for sending the test data packet to the first equipment after receiving the data packet with the omitted packet number sent by the first equipment in the target connection interval.
In one embodiment, the target field is used for notifying the second device that the number of continuously received data packets is a predetermined receiving number, wherein the predetermined receiving number is determined according to the target number;
The apparatus further comprises:
A predetermined reception number determining module, configured to determine, according to the target field, the number of consecutively received data packets as the predetermined reception number;
and the second test data packet sending module is used for sending test data packets to the first device after receiving the data packets with the preset receiving quantity, which are continuously sent by the first device, in the target connection interval.
In a fifth aspect, an embodiment of the present application further provides an electronic device, where the electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the computer program when executed by the processor implements the steps in the wireless transmission method described above.
In a sixth aspect, an embodiment of the present application further provides a computer readable storage medium, where a computer program is stored, where the computer program when executed by a processor implements the steps in the wireless transmission method described above.
In a seventh aspect, embodiments of the present application also provide a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions to cause the computer device to perform the methods provided in the various alternative implementations described in the embodiments of the present application.
In summary, in the embodiment of the application, the target number of the data packets to be transmitted in the target connection interval can be determined according to the current wireless transmission quality and the target connection interval, so that the data packets with the target number are transmitted in the target connection interval, thereby effectively ensuring that enough data packets can be transmitted in the target connection interval, and improving the data transmission efficiency.
Detailed Description
The following description of the embodiments of the present application will be made more apparent and fully hereinafter with reference to the accompanying drawings, in which some, but not all embodiments of the application are shown. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Referring to fig. 2, fig. 2 is a schematic diagram of a scenario of a wireless transmission method according to an embodiment of the present application, where a first device and a second device are devices for performing wireless transmission, and the first device may be multiple devices. The wireless transmission between the first device and the second device may be implemented based on a wireless transmission technology such as a star flash technology or a bluetooth technology.
In one embodiment, the first device is a Slave device (Slave) and the second device is a Master device (Master). The master device has initiative and control right, and can actively initiate a request and control the slave device to complete tasks. The master device is responsible for initiating a communication request, managing a communication process, and can actively control the slave device to execute corresponding tasks. The slave device refers to a device which receives a request sent by the master device and completes a corresponding task according to the request. The slave device responds to the request of the master device and performs the corresponding operation. In the field of mobile phones, the master device can be a mobile phone, and the corresponding slave device can be a headset, a smart watch or the like.
In one embodiment, the identities of the first device and the second device may be interchanged, and bidirectional data interaction may be performed between the first device and the second device.
In one embodiment, for example in bluetooth communications, each radio transceiver is assigned a unique address, and after a wireless connection is established, one of the bluetooth devices is selected as the master device and the other is called the slave device.
The protocol requires or in order to confirm reliable transmission of data, etc., the first device sends a data packet to the second device, which sends a test data packet to the first device. In one embodiment, the second device sends a test packet to the first device each time the first device receives the test packet to prove that the wireless transmission link is reliable, and then the first device sends the packet to the second device. In another embodiment, the first device sends a data packet to the second device, and the second device sends a test data packet to the first device after receiving the data packet, so as to inform the first device that the second device has received the data packet.
Test packets are packets that ensure that the transmission link is reliable. The test packets may be different in different situations. The test packet may be a null packet, a 1-bit packet, a packet that informs the first device that a packet has been received, or a packet that informs the first device that a packet may be sent, etc.
Fig. 3 is a schematic diagram of steps of a wireless transmission method according to an embodiment of the present application, where the wireless transmission method is applied to a first device, and although a logic sequence is shown in the schematic diagram, in some cases, the steps shown or described may be performed in a different order from that shown in the drawings.
According to the wireless transmission method shown in fig. 3, the method at least includes steps S110 to S130, which are described in detail as follows:
in step S110, the current wireless transmission quality is acquired at the target connection interval.
The target connection interval is any one of a plurality of connection intervals in the wireless transmission process. The connection interval is the time interval between two connection establishment in wireless transmission, and multiple data interaction can be performed in one connection interval. The connection interval affects the data transmission efficiency and the power consumption of the device, a shorter connection interval may provide a faster interaction speed, but may also increase the power consumption, while a longer connection interval may reduce the power consumption but may delay the interaction response. The connection interval may be determined when the first device establishes a connection with the second device. For example, the connection interval may be configured by the second device to the second device.
In one embodiment, certain wireless protocols allow for dynamic adjustment of connection intervals to accommodate network conditions or device requirements. For example, the connection interval may be shortened when data transmission is frequent, and prolonged when idle.
In another embodiment, certain wireless transmission protocols define fixed connection intervals, or certain specific applications design fixed connection intervals to ensure performance in a particular environment or situation. In both cases, the connection interval cannot be dynamically adjusted after configuration.
The wireless transmission quality refers to the effect of transmitting data from a transmitting end to a receiving end in wireless transmission. The quality of wireless transmission may reflect the reliability, stability, availability, etc. of wireless transmission. Parameters that may be used to evaluate wireless transmission quality include, but are not limited to, signal strength, signal-to-noise ratio, packet loss rate, delay, bandwidth, connection stability, data transmission rate, etc.
The quality of radio transmission is affected by a number of factors, and the quality of radio transmission at different times may be different. Different connection intervals are at different times, so the radio transmission quality corresponding to each connection interval may also be different. The number of data packets that can be transmitted in each connection interval is affected by the current wireless transmission quality corresponding to the connection interval, so that the current wireless transmission quality corresponding to the target connection interval is obtained in the target connection interval.
After the first device and the second device are in wireless connection, whether the first device and the second device both support the wireless transmission method according to the embodiment of the application can be negotiated first, and when both support the wireless transmission method, the first device can start a dynamic judging queue thread when starting to transmit data. The dynamic discrimination thread may acquire the current wireless transmission quality based on a command line tool or a network monitoring tool, etc.
In step S120, a target number of data packets to be transmitted in the target connection interval is determined according to the current wireless transmission quality and the target connection interval.
Based on the current wireless transmission quality, the number of data packets that can be transmitted per unit time can be determined. In combination with the target connection interval, the number of data packets that can be transmitted in the target connection interval at the current wireless transmission quality can be determined, and the number is determined as the target number.
Based on the above technical solution, as an embodiment, as shown in fig. 4, step S120 may include step S121 to step S122.
In step S121, a time period required for transmitting the target data packet under the current wireless transmission quality is determined.
Because the data amounts of different data packets are different, the time period required for transmitting different data packets at the same wireless transmission quality is also different.
In one embodiment, the target data packet may be a data packet with the largest data amount of the respective data packets to be transmitted. Therefore, the data packets with the target quantity can be transmitted in the target connection interval under the current wireless transmission quality.
In another embodiment, the target data packet may be a virtual data packet determined according to the data amount of each data packet to be transmitted, where the data amount of the virtual data packet may be the average, median, mode, etc. of the data amount of each data packet to be transmitted, so as to meet different user requirements for different situations.
When the data amount of the target data packet is known, the time length required for transmitting the target data packet under the current wireless transmission quality can be calculated. When the wireless transmission quality is the data transmission rate, the time length required for transmitting the target data packet under the current wireless transmission quality is the quotient of the data quantity of the target data packet and the data transmission rate. When the wireless transmission quality is bandwidth, the time length required for transmitting the target data packet under the current wireless transmission quality is the quotient of the data volume of the target data packet and the bandwidth. It will be appreciated that in some embodiments the time duration is calculated by converting the units of data volume, radio transmission quality.
In step S122, a target number of data packets to be transmitted in the target connection interval is determined according to the target connection interval and the duration.
Alternatively, because the first device sends data packets to the second device, the second device needs to send test data packets to the first device, each transmission of a data packet involving two data transmissions. Therefore, when determining the target number of data packets to be transmitted in the target connection interval, the target number of data packets to be transmitted in the target connection interval is determined as one half of the quotient of the target connection interval and the time length required for transmitting the target data packets under the current wireless transmission quality.
As an example, assuming that the connection interval is 10ms and the time length required for transmitting the target data packet at the current wireless transmission quality is 1ms, the target number of data packets to be transmitted in the connection interval=10 ms/1 ms/2=5.
By adopting the technical scheme of the embodiment of the application, the target number of the data packets to be transmitted in the target connection interval is determined based on the current wireless transmission quality and the target connection interval, so that the rationality of the determined target number is ensured. In addition, different target numbers can be determined according to the data quantity of different target data packets, so that different user demands are met.
In step S130, the target number of data packets is transmitted at the target connection interval.
After determining the target number of data packets to be transmitted in the target connection interval, the first device may transmit the data packets to the second device according to the target number in the target connection interval.
By adopting the technical scheme of the embodiment of the application, the target number of the data packets to be transmitted in the target connection interval can be determined according to the current wireless transmission quality and the target connection interval, so that the data packets with the target number are transmitted in the target connection interval, the enough data packets can be effectively ensured to be transmitted in the target connection interval, and the data transmission efficiency is improved.
On the basis of the technical scheme, as an embodiment, after the target number of the data packets to be transmitted in the target connection interval is determined, the method can further comprise adjusting the data packet field of the first packet data packet according to the target number to obtain a first field, wherein the first field is used for notifying a second device that the number of the test data packets sent in the target connection interval is the target number.
After determining the target number corresponding to the target connection interval, the first device may inform the second device, so that the second device knows the number of data packets that the first device will transmit in the target connection interval. The number of test packets sent by the second device is equal to the number of test packets sent by the first device, so that the second device can learn that the number of test packets sent in the target connection interval is the target number.
The first packet data packet refers to a first packet transmitted from the first device to the second device in each connection interval. The first device may obtain the first field by adjusting a packet field of the first packet. After receiving the first packet data packet sent by the first device, the second device analyzes the first packet data packet to obtain a first field, and further determines the number of the sent test data packets in the target connection interval to be the target number according to the first field. And the second device sends the test data packet according to the first field.
In one embodiment, as shown in fig. 5, the target number corresponding to two connection intervals is 4, and in each connection interval, the second device sends the test packet first and then the first device sends the packet. At this time, the second device sends a test packet first, and the first device sends the first packet. The second device parses the first field of the first packet data packet to learn that the number of test packets sent in the connection interval is 4. The second device transmits a total of 4 test packets at the current connection interval. TX characterizes the transmit data and RX characterizes the receive data.
By adopting the technical scheme of the embodiment of the application, the second equipment can be informed of the quantity of the sent test data packets based on the first field, the second equipment is not required to calculate the quantity of the sent test data packets, and the quantity consistency of the sent test data packets of the first equipment and the second equipment is ensured.
Based on the above technical solution, as an embodiment, as shown in fig. 6, the wireless transmission method may further include step S140 to step S150, and step S130 may include step S131 to step S132.
In step S140, the number of omitted packets is determined according to the target number.
Omitting the number of packets back refers to the number of packets that the second device may not reply to the test packet for the data packets sent by the first device.
When the requirement of the use scenario on the data accuracy is not high, for example, when one data packet is lost and the function use is not affected, the second device can reduce sending of the test data packet in order to improve the wireless transmission efficiency.
Since the first packet data packet and the last packet data packet in each connection interval can provide information about establishment and release of the connection interval, the first packet data packet and the last packet data packet need to be guaranteed to be reliably transmitted, and thus, the corresponding test data packets of the first packet data packet and the last packet data packet are not omitted.
In one embodiment, when the data accuracy requirements are not high, the adverse effects caused by loss of non-end-to-end data packets in the connection interval are small. Therefore, the test packet corresponding to the non-head-to-tail packet in the connection interval can be omitted. The maximum number of omitted packets corresponding to the connection interval may be the number of non-head-to-tail data packets in the connection interval, where the maximum number of omitted packets=the target number-2. The minimum number of omitted packets may be 0. Therefore, the value of the omitted packet number ranges from 0 to any integer of the maximum omitted packet number, wherein 0 or the maximum omitted packet number is included.
In step S150, the data packet field of the first packet data packet is adjusted according to the omitted packet number to obtain a second field, wherein the second field is used for notifying the second device to reduce the sending test data packet according to the omitted packet number.
After determining the number of omitted packets, the first device may adjust the packet field of the first packet data packet according to the number of omitted packets to obtain the second field. The second field is used for notifying the second equipment to reduce the sending test data packets according to the omitted number of the back packets. The second device maintains a first state according to the second field, reduces the transmission of test data packets in the first state, and reduces the number of the transmitted test data packets to the omitted number of the packets. The first state may be a lower power consumption state.
In one embodiment, the first packet data packet includes not only the second field but also the first field.
In step S131, the omitted number of packets is transmitted to the second device in the target connection interval.
After receiving the first packet data packet sent by the first device, the second device analyzes the first packet data packet to obtain a second field. The second device adjusts the state of the second device to be a first state according to the second field, receives the data packet sent by the first device in the first state without replying the test data packet, adjusts the first state to be a normal state after the number of the data packets sent by the first device is the omitted number of the data packets, and sends the test data packet to the first device aiming at the data packet needing replying.
After the first device sends the first packet of data packets, the second device is informed that the second device does not need to send test data packets for the data packets with the omitted number of the packets, so that the first device does not need to wait for the second device to send the test data packets when sending the subsequent data packets, and directly sends the data packets to the second device.
In step S132, after transmitting the data packet with the omitted number of packets, the second device receives the test data packet transmitted by the second device according to the second field.
The first device sends a first data packet containing a second field, the second device needs to send a test data packet for the first data packet, then the first device sends a second data packet which omits the number of packets, the second device does not need to send the test data packet for the second data packet, then the first device sends a third data packet, and the second device needs to send the test data packet for the third data packet. It will be appreciated that the second device may send the test packet to the first device before receiving the packet, or may send the test packet to the first device after receiving the packet.
In one embodiment, as shown in fig. 7, the number of omitted packets is the maximum number of omitted packets, the maximum number of omitted packets is 2, and the second device sends the test packet first and then the first device sends the packet. At this time, the second device sends the test data packet first, the first device sends the first packet data packet again, the second device parses the second field of the first packet data packet to obtain that the subsequent number of data packets with the number of omitted packets does not need to send the test data packet, the first device does not need to receive the test data packet sent by the second device at this time, and directly sends 2 data packets to the second device, until the last packet data packet is to be sent, the last packet data packet is to be sent after the test data packet sent by the second device is received.
In another embodiment, the number of omitted packets is a maximum number of omitted packets, the maximum number of omitted packets is 2, and the first device sends the data packet first and then the second device sends the test data packet. At this time, the first device sends the first packet data packet first, the second device sends the test data packet for the first packet data packet, and the second device parses the second field of the first packet data packet to obtain that the subsequent number of data packets is the number of omitted packets, and the test data packet does not need to be sent. The subsequent first device directly sends 2 data packets to the second device, and does not need to receive the test data packet until the first device sends the last data packet to the second device, and needs to receive the test data packet sent by the second device for the last data packet.
It should be appreciated that the number of omitted packets may also be configured by the second device to the first device.
By adopting the technical scheme of the embodiment of the application, the second equipment can be informed of reducing the transmission of the test data packets through the second field, so that the first equipment does not need to receive the test data packets with the omitted number of the returned packets, but directly transmits the data packets, and the transmission efficiency can be greatly improved.
Based on the above technical solution, as an embodiment, as shown in fig. 8, the wireless transmission method may further include step S160 to step S170, and step S130 may include step S133 to step S134.
In step S160, a predetermined number of receptions is determined based on the target number.
The predetermined reception number refers to the number of data packets that the first device intends to continuously transmit to the second device, and when the first device continuously transmits data packets to the second device, the second device does not need to reply to the test data packets for the continuously transmitted data packets.
When the first device chip capability is higher than the threshold value and the requirement of the usage scenario on the data accuracy is not high, in order to greatly improve the wireless transmission efficiency, the first device can continuously send the data packet to the second device without waiting for the second device to reply the test data packet to the data packet. The chip capability of the first device may be determined by the number of cores the chip has, the clock frequency, and/or the thread scheduling efficiency, etc.
The first packet data packet and the last packet data packet need to be guaranteed to be reliably transmitted, so that corresponding test data packets of the first packet data packet and the last packet data packet need to be transmitted, and the first device can determine non-head-to-tail data packets as continuously transmitted data packets. Therefore, the predetermined reception number has a value ranging from 0 to any integer of the maximum predetermined reception number, including 0 or the maximum predetermined reception number. The maximum predetermined number of receptions is the target number-2.
In step S170, the data packet field of the first packet data packet is adjusted according to the preset receiving quantity to obtain a third field, wherein the third field is used for notifying the second device that the quantity of continuously received data packets is the preset receiving quantity.
After determining the predetermined number of receptions, the first device may adjust a packet field of the first packet according to the predetermined number of receptions to obtain a third field. The third field is used for informing the second device that the number of continuously received data packets is the predetermined reception number. The second device maintains a second state according to the third field, continuously receives the predetermined number of data packets continuously transmitted by the first device in the second state, and does not need to reply to the test data packets for the predetermined number of data packets continuously transmitted by the first device. The second state may be a relatively active state.
In one embodiment, the first packet data packet includes not only the third field but also the first field.
In step S133, in the target connection interval, data packets of the predetermined reception number are continuously transmitted to the second device.
After the second device receives the first packet data packet sent by the first device, the second device analyzes the first packet data packet to obtain a third field. The second device adjusts the state of the second device to a second state according to the second field, continuously receives the data packets sent by the first device in the second state without replying the test data packets, adjusts the second state to a normal state after the number of the data packets continuously sent by the first device is a preset receiving number, and sends the test data packets to the first device aiming at the data packets needing replying.
After the first device sends the first packet data packet, the second device is informed that the second device needs to continuously receive the data packet with the preset receiving quantity, and the test data packet is not required to be sent for the data packet with the preset receiving quantity, so that the first device does not need to wait for the second device to send the test data packet when continuously sending the data packet, and directly sends the data packet to the second device.
In step S134, after continuously transmitting the predetermined reception number of data packets, the second device receives a test data packet transmitted according to the third field.
The first device transmits a fourth data packet containing a third field, the second device needs to transmit a test data packet for the fourth data packet, then the first device continuously transmits a predetermined number of fifth data packets, the second device does not need to transmit the test data packet for the fifth data packet, then the first device transmits a sixth data packet, and the second device needs to transmit the test data packet for the sixth data packet. It will be appreciated that the second device may send the test packet to the first device before receiving the packet, or may send the test packet to the first device after receiving the packet.
In one embodiment, as shown in fig. 9, the predetermined number of receptions is a maximum predetermined number of receptions, the maximum predetermined number of receptions being 3, and the second device transmits the test packet first and then the first device transmits the packet. At this time, the second device sends the test data packet first, the first device sends the first packet data packet again, the second device analyzes the third field of the first packet data packet to learn that the data packet with preset receiving quantity is continuously received subsequently, the test data packet does not need to be sent for the data packet continuously received subsequently, the first device does not need to receive the test data packet sent by the second device at this time, and directly sends 3 data packets to the second device continuously, until the last packet data packet is to be sent, the last packet data packet is to be sent after the test data packet sent by the second device is received.
In another embodiment, the predetermined number of receptions is a maximum predetermined number of receptions, the maximum predetermined number of receptions being 3, the first device transmitting the data packet and the second device transmitting the test data packet. At this time, the first device sends the first packet data packet first, the second device sends the test data packet for the first packet data packet, the second device parses the third field of the first packet data packet to learn that the data packet with the preset number of received data packets is continuously received subsequently, and the test data packet does not need to be sent for the data packet received subsequently. The first device directly and continuously transmits 3 data packets to the second device, and does not need to receive the test data packets until the second device needs to receive the test data packets transmitted by the second device for the last data packet when the first device transmits the last data packet to the second device.
The rate at which the first device continuously transmits data packets is generally faster and therefore more efficient to transmit when the first packet includes the third field than when the first packet includes the second field.
By adopting the technical scheme of the embodiment of the application, the second equipment can be informed through the third field, the first equipment continuously transmits the data packets with the preset receiving quantity, and the second equipment does not need to reply the test data packets aiming at the data packets with the preset receiving quantity which are continuously transmitted, so that the first equipment continuously transmits the data packets, does not need to receive the test data packets with the preset receiving quantity, and the transmission efficiency can be greatly improved.
Based on the above technical solution, as an embodiment, as shown in fig. 10, the wireless transmission method may further include step S180 to step S190.
In step S180, a connection interval adjustment amount is determined according to the predetermined reception number corresponding to the target connection interval;
in step S190, a next connection interval is determined according to the target connection interval and the connection interval adjustment amount.
When the connection interval supports dynamic adjustment, the next connection interval may be adjusted based on a predetermined number of receptions in the connection interval. When the preset receiving quantity is determined, the first device chip is proved to have stronger capability, and the data transmission between the first device and the second device is more frequent, so that the connection interval can be shortened, and the interaction between the first device and the second device is more compact.
In one embodiment, a time period required to transmit a predetermined number of received data packets may be determined based on the current wireless transmission quality, and the time period may be determined as the connection interval adjustment amount. In determining the duration, the data amount included in the data packet may be an average value, a median value, a mode value, or the like of the data amounts of the respective data packets to be transmitted.
In another embodiment, the average time length required for transmitting one data packet may be determined empirically or based on big data or the like, and then the product of the predetermined number of receptions and the average time length is determined directly as the connection interval adjustment amount.
And determining the difference value of the current connection interval and the connection interval adjustment quantity corresponding to the current connection interval as the next connection interval.
In one embodiment, where the current connection interval is 10ms, the predetermined number of receptions is 2, and the average time required to transmit one number is 1ms, the next connection interval=10 ms-2×1 ms=8 ms.
By adopting the technical scheme of the embodiment of the application, the next connection interval is adjusted based on the preset receiving quantity in the connection interval, the connection interval can be shortened, the short connection interval can transmit and receive data more frequently, and the idle time is reduced, so that the overall throughput of the data is improved, and the use of wireless transmission resources is optimized.
In one embodiment, the first device may be a television remote controller supporting a voice function, the second device may be an intelligent television wirelessly connected to the television remote controller, and the data packet sent by the first device may be a voice data packet.
The technical scheme can be applied to a scene that one first device is in wireless connection with a second device, and can also be applied to a scene that a plurality of first devices are in wireless connection with the second device. In the scenario that the plurality of first devices and the second devices are wirelessly connected, the interference immunity of the wireless transmission method for improving the transmission efficiency based on the omitted number of packets or the predetermined number of received packets may be affected.
In order to improve the scenario of wireless connection between the plurality of first devices and the second device, the multi-link scheduling optimization can be performed based on the interference resistance of the wireless transmission method that omits the number of the back packets or the predetermined number of the receiving packets to improve the transmission efficiency. The multi-link scheduling optimization may include determining a target first device from among a plurality of first devices and reducing link resources corresponding to respective first devices of non-target first devices.
The target first device may be a first device corresponding to a current core operation scenario of the user, where the current core operation scenario may be selected by the user, or may be intelligently determined by the system. The target first device may be a device with the highest priority among the plurality of first devices, and the priority of the first device may be preset.
The method of reducing the corresponding link resources may be different for different first devices. In one embodiment, the data packet transmitted by the first device is an audio data packet, and the reduction of the link resource corresponding to the first device may be achieved by reducing the coding quality (bitpool) of the audio data packet and/or reducing the maximum transmission unit (Maximum Transmission Unit, MTU). In another embodiment, the first device is a bluetooth game pad, and the second device is a game machine, so that interaction frequency of the bluetooth game pad and the game machine is reduced by adjusting connection interval between the bluetooth game pad and the game machine, and reduction of link resources corresponding to the first device is achieved.
In one embodiment, there are two first devices that are wirelessly connected to a second device, one first device is a bluetooth speaker, the other first device is a bluetooth gamepad, and the second device is a smart television. When the current core operation scene of the user is playing a game by using the Bluetooth game handle, the tone quality of the Bluetooth sound box can be reduced or the size of an audio transmission packet can be reduced, so that the optimization of multilink scheduling is realized. When the current core operation scene of the user is that music is listened by using the Bluetooth sound box, the interaction frequency between the Bluetooth game handle and the intelligent television can be reduced, and the optimization of the multilink scheduling is realized.
When the multi-link scheduling optimization is realized, the anti-interference performance of the wireless transmission between the target first equipment and the second equipment can be improved by performing a wireless transmission method for improving the transmission efficiency based on the omitted packet number or the preset receiving number on the wireless transmission between the target first equipment and the second equipment.
Fig. 11 is a schematic diagram of steps of a wireless transmission method according to an embodiment of the present application, which is applied to a second device, and although a logic sequence is shown in the schematic diagram of the steps, in some cases, the steps shown or described may be performed in a different order from that shown in the drawings.
According to the wireless transmission method shown in fig. 11, the method at least includes step S210 to step S230, which are described in detail as follows:
in step S210, a first packet data packet transmitted by the first device at a target connection interval is received.
In step S220, the target field in the first packet of data is analyzed to determine the target number, wherein the target number is the number of data packets to be transmitted in the target connection interval determined according to the current wireless transmission quality and the target connection interval.
In step S230, at the target connection interval, the data packets transmitted by the first device are received according to the target number.
The first packet data packet sent by the first device at the target connection interval includes a target field, where the target field may be the first field, the second field, and/or the third field described above. The destination field in the first packet data packet is determined based on the destination number. The method for determining the number of targets may be referred to above.
After the second device analyzes the target field in the first packet data packet, the second device may determine, according to the target field, the target number of data packets sent by the first device in the target connection interval. The second device receives the target number of data packets sent by the first device in the target connection interval.
By adopting the technical scheme of the embodiment of the application, the second device can determine the target number of the data packets to be transmitted in the target connection interval according to the first packet data packets sent by the first device in the target connection interval, and further receive the data packets with the target number in the target connection interval, thereby effectively ensuring that enough data packets can be transmitted in the target connection interval and improving the data transmission efficiency.
On the basis of the technical solution, as an embodiment, the target field is the first field, and the target field is used for notifying the second device that the number of test data packets sent at the target connection interval is the target number. The wireless transmission method further comprises the step of sending test data packets at the target connection intervals according to the target number.
When the second device parses the first field, the second device may determine, according to the first field, a target number of data packets sent by the first device in the target connection interval. Because the second device is to transmit test packets for each packet, the second device can transmit test packets at the target connection interval by the target number.
By adopting the technical scheme of the embodiment of the application, the second equipment can be informed of the quantity of the sent test data packets based on the first field, the second equipment is not required to calculate the quantity of the sent test data packets, and the quantity consistency of the sent test data packets of the first equipment and the second equipment is ensured.
On the basis of the technical scheme, as an embodiment, the target field is the second field, and the target field is used for notifying the second device to reduce the sending test data packets according to the omitted number of the packets, wherein the omitted number of the packets is determined according to the target number;
As shown in fig. 12, the wireless transmission method may further include step S240 to step S250.
In step S240, it is determined to reduce the number of transmitted test packets to the omitted packet number according to the target field.
In step S250, in the target connection interval, after receiving the data packet of the omitted number of packets sent by the first device, a test data packet is sent to the first device.
Omitting the number of packets back refers to the number of packets that the second device may not reply to the test packet for the data packets sent by the first device. The method for determining the number of omitted packets may be referred to above. When the requirement of the use scenario on the data accuracy is not high, for example, when one data packet is lost and the function use is not affected, the second device can reduce sending of the test data packet in order to improve the wireless transmission efficiency.
After receiving the first packet data packet sent by the first device, the second device analyzes the first packet data packet to obtain a second field. The second device adjusts the state of the second device to be a first state according to the second field, receives the data packet sent by the first device in the first state without replying the test data packet, adjusts the first state to be a normal state after the number of the data packets sent by the first device is the omitted number of the data packets, and sends the test data packet to the first device aiming at the data packet needing replying.
After the first device sends the first packet of data packets, the second device is informed that the second device does not need to send test data packets for the data packets with the omitted number of the packets, so that the first device does not need to wait for the second device to send the test data packets when sending the subsequent data packets, and directly sends the data packets to the second device.
The first device sends a first data packet containing a second field, the second device needs to send a test data packet for the first data packet, then the first device sends a second data packet which omits the number of packets, the second device does not need to send the test data packet for the second data packet, then the first device sends a third data packet, and the second device needs to send the test data packet for the third data packet. It will be appreciated that the second device may send the test packet to the first device before receiving the packet, or may send the test packet to the first device after receiving the packet.
By adopting the technical scheme of the embodiment of the application, the second equipment can reduce the transmission of the test data packets through the second field, so that the first equipment does not need to receive the test data packets with the omitted number of the return packets, but directly transmits the data packets, and the transmission efficiency can be greatly improved.
On the basis of the technical solution, as an embodiment, the target field is the third field, where the target field is used to notify the second device that the number of continuously received data packets is a predetermined number of received data packets, and the predetermined number of received data packets is determined according to the target number.
As shown in fig. 13, the wireless transmission method may further include step S260 to step S270.
In step S260, the number of consecutively received data packets is determined to be the predetermined reception number according to the target field.
In step S270, after receiving the predetermined reception number of data packets continuously transmitted by the first device in the target connection interval, a test data packet is transmitted to the first device.
The predetermined reception number refers to the number of data packets that the first device intends to continuously transmit to the second device, and when the first device continuously transmits data packets to the second device, the second device does not need to reply to the test data packets for the continuously transmitted data packets. The method of determining the predetermined number of receptions may be referred to in the foregoing.
When the first device chip capability is higher than the threshold value and the requirement of the usage scenario on the data accuracy is not high, in order to greatly improve the wireless transmission efficiency, the first device can continuously send the data packet to the second device without waiting for the second device to reply the test data packet to the data packet. The chip capability of the first device may be determined by the number of cores the chip has, the clock frequency, and/or the thread scheduling efficiency, etc.
After determining the predetermined number of receptions, the first device may adjust a packet field of the first packet according to the predetermined number of receptions to obtain a third field. The third field is used for informing the second device that the number of continuously received data packets is the predetermined reception number. The second device maintains a second state according to the third field, continuously receives the predetermined number of data packets continuously transmitted by the first device in the second state, and does not need to reply to the test data packets for the predetermined number of data packets continuously transmitted by the first device. The second state may be a relatively active state.
After the second device receives the first packet data packet sent by the first device, the second device analyzes the first packet data packet to obtain a third field. The second device adjusts the state of the second device to a second state according to the second field, continuously receives the data packets sent by the first device in the second state without replying the test data packets, adjusts the second state to a normal state after the number of the data packets continuously sent by the first device is a preset receiving number, and sends the test data packets to the first device aiming at the data packets needing replying.
After the first device sends the first packet data packet, the second device is informed that the second device needs to continuously receive the data packet with the preset receiving quantity, and the test data packet is not required to be sent for the data packet with the preset receiving quantity, so that the first device does not need to wait for the second device to send the test data packet when continuously sending the data packet, and directly sends the data packet to the second device.
The first device transmits a fourth data packet containing a third field, the second device needs to transmit a test data packet for the fourth data packet, then the first device continuously transmits a predetermined number of fifth data packets, the second device does not need to transmit the test data packet for the fifth data packet, then the first device transmits a sixth data packet, and the second device needs to transmit the test data packet for the sixth data packet. It will be appreciated that the second device may send the test packet to the first device before receiving the packet, or may send the test packet to the first device after receiving the packet.
The rate at which the first device continuously transmits data packets is generally faster and therefore more efficient to transmit when the first packet includes the third field than when the first packet includes the second field.
By adopting the technical scheme of the embodiment of the application, the second equipment can know that the first equipment continuously transmits the data packets with the preset receiving quantity according to the third field, and the second equipment does not need to reply the test data packets aiming at the data packets with the preset receiving quantity which are continuously transmitted, so that the first equipment continuously transmits the data packets, does not need to receive the test data packets with the preset receiving quantity, and the transmission efficiency can be greatly improved.
On the basis of the technical scheme, as an embodiment, the wireless transmission method can further comprise the steps of determining a connection interval adjustment amount according to the preset receiving quantity corresponding to the target connection interval, and determining a next connection interval according to the target connection interval and the connection interval adjustment amount.
When the connection interval supports dynamic adjustment, the next connection interval may be adjusted based on a predetermined number of receptions in the connection interval. When the preset receiving quantity is determined, the first device chip is proved to have stronger capability, and the data transmission between the first device and the second device is more frequent, so that the connection interval can be shortened, and the interaction between the first device and the second device is more compact.
By adopting the technical scheme of the embodiment of the application, the next connection interval is adjusted based on the preset receiving quantity in the connection interval, the connection interval can be shortened, the short connection interval can transmit and receive data more frequently, and the idle time is reduced, so that the overall throughput of the data is improved, and the use of wireless transmission resources is optimized.
In order to improve the scenario of wireless connection between the plurality of first devices and the second device, the multi-link scheduling optimization can be performed based on the interference resistance of the wireless transmission method that omits the number of the back packets or the predetermined number of the receiving packets to improve the transmission efficiency. The multi-link scheduling optimization may include determining a target first device from among a plurality of first devices and reducing link resources corresponding to respective first devices of non-target first devices.
The target first device may be a first device corresponding to a current core operation scenario of the user, where the current core operation scenario may be selected by the user, or may be intelligently determined by the system. The target first device may be a device with the highest priority among the plurality of first devices, and the priority of the first device may be preset.
The method of reducing the corresponding link resources may be different for different first devices. In one embodiment, the data packet transmitted by the first device is an audio data packet, and the reduction of the link resource corresponding to the first device may be achieved by reducing the coding quality of the audio data packet and/or reducing the maximum transmission unit. In another embodiment, the first device is a bluetooth game pad, and the second device is a game machine, so that interaction frequency of the bluetooth game pad and the game machine is reduced by adjusting connection interval between the bluetooth game pad and the game machine, and reduction of link resources corresponding to the first device is achieved.
In order to facilitate better implementation of the wireless transmission method, the application also provides a wireless transmission device based on the wireless transmission method. Where the meaning of the terms is the same as in the above-described wireless transmission method, specific implementation details may be referred to in the description of the method embodiment.
Referring to fig. 14, fig. 14 is a schematic structural diagram of a wireless transmission device according to an embodiment of the present application, where the wireless transmission device is applied to a first apparatus, and the wireless transmission device includes:
An obtaining module 101, configured to obtain, at a target connection interval, a current wireless transmission quality;
A determining module 102, configured to determine, according to the current wireless transmission quality and the target connection interval, a target number of data packets to be transmitted in the target connection interval;
and the transmission module 103 is configured to transmit the target number of data packets at the target connection interval.
In one embodiment, after the determining the target number of data packets to be transmitted in the target connection interval, the apparatus further includes:
the first adjusting module is used for adjusting the data packet fields of the first packet data packet according to the target number to obtain a first field, wherein the first field is used for informing the second equipment that the number of the test data packets sent at the target connection interval is the target number.
In one embodiment, the apparatus further comprises:
the omission determining module is used for determining the number of omitted packets according to the target number;
The second adjusting module is used for adjusting the data packet field of the first packet data packet according to the omitted packet number to obtain a second field, wherein the second field is used for informing a second device to reduce the sending test data packet according to the omitted packet number;
The transmission module 103 includes:
A first sending unit, configured to send, in the target connection interval, the data packet with the omitted packet number to the second device;
And the first receiving unit is used for receiving the test data packet sent by the second equipment according to the second field after sending the data packet with the omitted packet number.
In one embodiment, the apparatus further comprises:
A predetermined determining module, configured to determine a predetermined number of receptions according to the target number;
The third field is used for notifying the second equipment to continuously receive the data packets, and the number of the data packets is the preset receiving number;
The transmission module 103 includes:
A second transmitting unit configured to continuously transmit, in the target connection interval, data packets of the predetermined reception number to the second device;
and the second receiving unit is used for receiving the test data packets sent by the second equipment according to the third field after continuously sending the data packets with the preset receiving quantity.
In one embodiment, the apparatus further comprises:
the adjustment quantity determining module is used for determining the adjustment quantity of the connection interval according to the preset receiving quantity corresponding to the target connection interval;
And the interval determining module is used for determining the next connection interval according to the target connection interval and the connection interval adjustment quantity.
In one embodiment, the determining module 102 includes:
A time length determining unit, configured to determine a time length required for transmitting a target data packet under the current wireless transmission quality;
And the quantity determining unit is used for determining the target quantity of the data packets to be transmitted in the target connection interval according to the target connection interval and the duration.
By adopting the technical scheme of the embodiment of the application, the target number of the data packets to be transmitted in the target connection interval can be determined according to the current wireless transmission quality and the target connection interval, so that the data packets with the target number are transmitted in the target connection interval, the enough data packets can be effectively ensured to be transmitted in the target connection interval, and the data transmission efficiency is improved.
Referring to fig. 15, fig. 15 is a schematic structural diagram of a wireless transmission device according to an embodiment of the present application, wherein the wireless transmission device is applied to a second apparatus, and the wireless transmission device includes:
A first receiving module 201, configured to receive a first packet data packet sent by a first device at a target connection interval;
The analyzing module 202 is configured to analyze the first packet of data packet and determine a target number, where the target number is the number of data packets to be transmitted in the target connection interval determined according to the current wireless transmission quality and the target connection interval;
and the second receiving module 203 is configured to receive, at the target connection interval, the data packets transmitted by the first device according to the target number.
In one embodiment, the target field is used for notifying the second device that the number of test data packets sent in the target connection interval is the target number, and the apparatus further comprises:
And the test transmitting module is used for transmitting test data packets at the target connection interval according to the target quantity.
In one embodiment, the target field is used for notifying the second device to reduce the transmission of the test data packet according to the number of omitted packets, wherein the number of omitted packets is determined according to the target number;
The apparatus further comprises:
The omitted packet number determining module is used for determining to reduce the number of the test data packets to be sent to the omitted packet number according to the target field;
And the first test data packet sending module is used for sending the test data packet to the first equipment after receiving the data packet with the omitted packet number sent by the first equipment in the target connection interval.
In one embodiment, the target field is used for notifying the second device that the number of continuously received data packets is a predetermined receiving number, wherein the predetermined receiving number is determined according to the target number;
The apparatus further comprises:
A predetermined reception number determining module, configured to determine, according to the target field, the number of consecutively received data packets as the predetermined reception number;
and the second test data packet sending module is used for sending test data packets to the first device after receiving the data packets with the preset receiving quantity, which are continuously sent by the first device, in the target connection interval.
By adopting the technical scheme of the embodiment of the application, the second device can determine the target number of the data packets to be transmitted in the target connection interval according to the first packet data packets sent by the first device in the target connection interval, and further receive the data packets with the target number in the target connection interval, thereby effectively ensuring that enough data packets can be transmitted in the target connection interval and improving the data transmission efficiency.
For specific limitations of the wireless transmission apparatus, reference may be made to the above limitations of the wireless transmission method, and no further description is given here. The respective modules in the wireless transmission apparatus described above may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In addition, the present application also provides an electronic device, as shown in fig. 16, which shows a schematic structural diagram of the electronic device according to the present application, specifically:
The electronic device may include components such as a processor 601 of one or more processing cores and a memory 602 of one or more computer readable storage media. It will be appreciated by those skilled in the art that the electronic device structure shown in fig. 16 is not limiting of the electronic device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. Wherein:
The processor 601 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 602, and calling data stored in the memory 602, thereby performing overall monitoring of the electronic device. Alternatively, the processor 601 may include one or more processing cores, and preferably the processor 601 may integrate an application processor that primarily processes operating systems, user interfaces, applications, etc., and a modem processor that primarily processes wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 601.
The memory 602 may be used to store software programs and modules, and the processor 601 may execute various functional applications and data processing by executing the software programs and modules stored in the memory 602. The memory 602 may mainly include a storage program area that may store an operating system, application programs required for at least one function (such as a sound playing function, an image playing function, etc.), etc., and a storage data area that may store data created according to the use of the electronic device, etc. In addition, the memory 602 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 602 may also include a memory controller to provide access to the memory 602 by the processor 601.
In one embodiment, the electronic device further includes a power supply 603 for supplying power to the respective components, and preferably, the power supply 603 may be logically connected to the processor 601 through a power management system, so as to perform functions of managing charging, discharging, and power consumption management through the power management system. The power supply 603 may also include one or more of any components, such as a direct current or alternating current power supply, a recharging system, a power device commissioning circuit, a power converter or inverter, a power status indicator, etc.
In one embodiment, the electronic device may further comprise an input unit 604, which input unit 604 may be used to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
Although not shown, the electronic device may further include a display unit or the like, which is not described herein. In particular, in this embodiment, the processor 601 in the electronic device loads executable files corresponding to the processes of one or more application programs into the memory 602 according to the following instructions, and the processor 601 executes the application programs stored in the memory 602, so as to implement the steps in any wireless transmission method provided in the embodiment of the present application.
It will be appreciated by those skilled in the art that the structure shown in fig. 16 is merely a block diagram of a portion of the structure associated with the present inventive arrangements and is not limiting of the electronic device to which the present inventive arrangements are applied, and that a particular electronic device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, an electronic device is provided that includes a memory having a computer program stored therein and a processor that when executing the computer program implements the method described in any of the embodiments of the application.
In one embodiment, a computer readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, implements the method described in any of the embodiments of the application.
In one embodiment, a computer program product is also proposed, comprising a computer program or instructions which, when executed by a processor, implement the method described in any of the embodiments of the application.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor.
To this end, the present application provides a computer readable storage medium having stored thereon a computer program that can be loaded by a processor to perform the steps of any of the wireless transmission methods provided by the present application.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
The computer readable storage medium may include, among others, read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disks, and the like.
The steps in any wireless transmission method provided by the present application can be executed due to the instructions stored in the computer readable storage medium, so that the beneficial effects of any wireless transmission method provided by the present application can be achieved, and detailed descriptions of the foregoing embodiments are omitted herein.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising one does not exclude the presence of other like elements in a process, method, article or terminal device comprising the element.
The foregoing describes in detail a wireless transmission method, apparatus, electronic device and computer readable storage medium, and specific examples are provided herein to illustrate the principles and embodiments of the present application and to help understand the method and core ideas thereof, and meanwhile, to those skilled in the art, according to the ideas of the present application, there are various changes in the specific embodiments and application scope, and the disclosure should not be construed as limiting the scope of the present application.