This disclosure relates to the field of communication technologies, and in particular, to a spectrum sensing method and apparatus, a storage medium, and a program product.
That a receiver/transmitter obtains a spectrum sensing result of a peer end is of great significance for improving communication performance of the receiver end and the transmitter end. However, there is no related solution to accurately obtain the spectrum sensing result of the peer end.
This disclosure provides a spectrum sensing method and apparatus, a storage medium, and a program product, to obtain an accurate spectrum sensing result.
According to a first aspect, a spectrum sensing method is provided. The method includes a first device that sends a spectrum sensing request frame to a second device, where the spectrum sensing request frame is used to request the second device to perform spectrum sensing, and the spectrum sensing request frame includes at least one of the following spectrum sensing parameters: a start time of spectrum sensing, an end time of spectrum sensing, spectrum sensing duration, a sampling frequency of spectrum sensing, and a type of a spectrum sensing result, the first device receives a request acknowledgment frame from the second device, where the request acknowledgment frame is used to acknowledge that the spectrum sensing request frame is received, and the first device receives a spectrum sensing feedback frame from the second device, where the spectrum sensing feedback frame is used to feed back the spectrum sensing result. In this aspect, the first device sends the spectrum sensing request frame, so that the second device can perform spectrum sensing based on information carried in the spectrum sensing request frame, and the first device can obtain the accurate spectrum sensing result of the second device.
According to a second aspect, a spectrum sensing method is provided. The method includes a second device that receives a spectrum sensing request frame from a first device, where the spectrum sensing request frame is used to request the second device to perform spectrum sensing, and the spectrum sensing request frame includes at least one of the following spectrum sensing parameters: a start time of spectrum sensing, an end time of spectrum sensing, spectrum sensing duration, a sampling frequency of spectrum sensing, and a type of a spectrum sensing result, the second device sends a request acknowledgment frame to the first device, where the request acknowledgment frame is used to acknowledge that the spectrum sensing request frame is received, the second device performs spectrum sensing based on the at least one spectrum sensing parameter, to obtain the spectrum sensing result, and the second device sends a spectrum sensing feedback frame to the first device, where the spectrum sensing feedback frame is used to feed back the spectrum sensing result. In this aspect, the second device receives the spectrum sensing request frame sent by the first device, so that the second device can perform spectrum sensing based on information carried in the spectrum sensing request frame, and the first device can obtain the accurate spectrum sensing result of the second device.
According to a third aspect, a spectrum sensing method is provided. The method includes a first device that receives a spectrum sensing request frame from a second device, where the spectrum sensing request frame is used to request the first device to acknowledge at least one of the following spectrum sensing parameters, and the spectrum sensing request frame includes at least one of the following spectrum sensing parameters: a start time of spectrum sensing, an end time of spectrum sensing, spectrum sensing duration, a sampling frequency of spectrum sensing, and a type of a spectrum sensing result, the first device sends a request acknowledgment frame to the second device, where the request acknowledgment frame is used to acknowledge that the spectrum sensing request frame is received, and the first device receives a spectrum sensing feedback frame from the second device, where the spectrum sensing feedback frame is used to feed back the spectrum sensing result. In this aspect, after receiving the spectrum sensing request frame sent by the second device, the first device acknowledges the spectrum sensing request frame, so that the second device can perform spectrum sensing based on the spectrum sensing request frame, and the first device can obtain the accurate spectrum sensing result of the second device.
According to a fourth aspect, a spectrum sensing method is provided. The method includes a second device that sends a spectrum sensing request frame to a first device, where the spectrum sensing request frame is used to request the first device to acknowledge at least one of the following spectrum sensing parameters: a start time of spectrum sensing, an end time of spectrum sensing, spectrum sensing duration, a sampling frequency of spectrum sensing, and a type of a spectrum sensing result, the second device receives a request acknowledgment frame from the first device, where the request acknowledgment frame is used to acknowledge that the spectrum sensing request frame is received, the second device performs spectrum sensing based on the at least one spectrum sensing parameter, to obtain the spectrum sensing result, and the second device sends a spectrum sensing feedback frame to the first device, where the spectrum sensing feedback frame is used to feed back the spectrum sensing result. In this aspect, the second device sends the spectrum sensing request frame to the first device. After receiving the spectrum sensing request frame sent by the second device, the first device acknowledges the spectrum sensing request frame, so that the second device can perform spectrum sensing based on the spectrum sensing request frame, and the first device can obtain the accurate spectrum sensing result of the second device.
With reference to the first aspect to the fourth aspect, in a possible implementation, the spectrum sensing result includes at least one of the following: first spectrum sensing information and a first modulation and coding scheme (MCS). In this implementation, the spectrum sensing result may be spectrum sensing information, so that the first device can perform inference based on the spectrum sensing information of the second device, to obtain an MCS, or the spectrum sensing result may be an MCS obtained by the second device through inference based on the spectrum sensing information obtained by the second device, and the MCS is sent to the first device, so that the first device does not need to perform MCS inference.
With reference to any one of the first aspect to the fourth aspect or the implementations of the first aspect to the fourth aspect, in another possible implementation, the first spectrum sensing information includes interference energy information in a radio environment of the second device. In this implementation, the spectrum sensing information includes the interference energy information in the radio environment of the second device, so that the first device or the second device can infer an appropriate MCS based on the spectrum sensing information, thereby reducing a packet loss and improving communication reliability.
With reference to any one of the first aspect to the fourth aspect or the implementations of the first aspect to the fourth aspect, in still another possible implementation, the spectrum sensing request frame includes a first category field, a first action field, and a first element field, the first category field indicates that a type of the spectrum sensing request frame is a spectrum sensing type, the first action field indicates that an action is a spectrum sensing request, and the first element field includes the at least one spectrum sensing parameter. In this implementation, the spectrum sensing request frame may be, for example, a new management frame. That the frame is the spectrum sensing type may be determined based on the type of the spectrum sensing request frame, and that the action is the spectrum sensing request may be determined based on the action field.
With reference to any one of the first aspect to the fourth aspect or the implementations of the first aspect to the fourth aspect, in yet another possible implementation, the spectrum sensing feedback frame includes a second category field, a second action field, and a second element field, the second category field indicates that a type of the spectrum sensing feedback frame is a spectrum sensing type, the second action field indicates that an action is spectrum sensing feedback, and the second element field includes the spectrum sensing result. In this implementation, the spectrum sensing request frame may be, for example, a new management frame. That the frame is the spectrum sensing type may be determined based on the type of the spectrum sensing request frame, and that the action is the spectrum sensing feedback may be determined based on the action field.
With reference to any one of the first aspect to the fourth aspect or the implementations of the first aspect to the fourth aspect, in still yet another possible implementation, the spectrum sensing request frame includes a third action field and a third element field, the third action field indicates that an action is a spectrum sensing request, and the third element field includes the at least one spectrum sensing parameter. In this implementation, the spectrum sensing request frame may be, for example, a new management frame. The action field of the frame may be used to determine that the frame is the spectrum sensing type and the action is the spectrum sensing request.
With reference to any one of the first aspect to the fourth aspect or the implementations of the first aspect to the fourth aspect, in a further possible implementation, the spectrum sensing feedback frame includes a fourth action field and a fourth element field, the fourth action field indicates that an action is spectrum sensing feedback, and the fourth element field includes the spectrum sensing result. In this implementation, the spectrum sensing request frame may be, for example, a new management frame. The action field of the frame may be used to determine that the frame is the spectrum sensing type and the action is the spectrum sensing feedback.
With reference to any one of the first aspect to the fourth aspect or the implementations of the first aspect to the fourth aspect, in a still further possible implementation, the spectrum sensing request frame includes a first aggregated control subfield, and the first aggregated control subfield includes the at least one spectrum sensing parameter.
With reference to any one of the first aspect to the fourth aspect or the implementations of the first aspect to the fourth aspect, in a yet further possible implementation, the spectrum sensing feedback frame includes a second aggregated control subfield, and the second aggregated control subfield includes the spectrum sensing result.
With reference to any one of the first aspect, the third aspect, or the implementations of the first aspect and the third aspect, in a still yet further possible implementation, the method further includes the following. The first device performs spectrum sensing to obtain second spectrum sensing information, the first device performs inference based on the second spectrum sensing information, to obtain a second MCS, the first device performs at least one round of consistency test based on the spectrum sensing result and the second MCS, and the first device obtains a spectrum sensing compensation value after the at least one round of consistency test succeeds. In this implementation, the first device can compare the spectrum sensing result received from the second device with the MCS obtained through inference based on the spectrum sensing information obtained through spectrum sensing performed by the first device, to determine consistency of spectrum sensing of the first device and the second device, and the spectrum sensing compensation value of the first device is obtained after the consistency test succeeds. The compensation value may be 0, a positive number, or a negative number.
With reference to any one of the first aspect, the third aspect, or the implementations of the first aspect and the third aspect, in even yet another possible implementation, the method further includes the following. The first device performs spectrum sensing to obtain third spectrum sensing information, the first device compensates for the third spectrum sensing information based on the spectrum sensing compensation value, to obtain fourth spectrum sensing information, the first device performs inference based on the fourth spectrum sensing information, to obtain a third MCS, and the first device sends data to the second device based on the third MCS. In this implementation, after obtaining the spectrum sensing compensation value of the first device based on the consistency test, the first device does not need to interact with the second device, and compensates for the spectrum sensing information based on the spectrum sensing compensation value and the spectrum sensing information obtained through sensing of the first device, to obtain the spectrum sensing information consistent with that of the second device, thereby obtaining an appropriate MCS based on compensated spectrum sensing information. This can reduce a packet loss or increase a rate, and improve communication reliability.
According to a fifth aspect, a spectrum sensing apparatus is provided. The apparatus may implement the spectrum sensing method in the first aspect or the third aspect. For example, the spectrum sensing apparatus may be a chip or a device. The foregoing method may be implemented by software, hardware, or hardware executing corresponding software.
In a possible implementation, the apparatus includes a transceiver unit, and may further include a processing unit, where the transceiver unit is configured to send a spectrum sensing request frame to a second device, where the spectrum sensing request frame is used to request the second device to perform spectrum sensing, and the spectrum sensing request frame includes at least one of the following spectrum sensing parameters: a start time of spectrum sensing, an end time of spectrum sensing, spectrum sensing duration, a sampling frequency of spectrum sensing, and a type of a spectrum sensing result, the transceiver unit is further configured to receive a request acknowledgment frame from the second device, where the request acknowledgment frame is used to acknowledge that the spectrum sensing request frame is received, and the transceiver unit is further configured to receive a spectrum sensing feedback frame from the second device, where the spectrum sensing feedback frame is used to feed back the spectrum sensing result.
In a possible implementation, the apparatus includes a transceiver unit, and may further include a processing unit, where the transceiver unit is configured to receive a spectrum sensing request frame from a second device, where the spectrum sensing request frame is used to request the apparatus to acknowledge at least one of the following spectrum sensing parameters: a start time of spectrum sensing, an end time of spectrum sensing, spectrum sensing duration, a sampling frequency of spectrum sensing, and a type of a spectrum sensing result, the transceiver unit is further configured to send a request acknowledgment frame to the second device, where the request acknowledgment frame is used to acknowledge that the spectrum sensing request frame is received, and the transceiver unit is further configured to receive a spectrum sensing feedback frame from the second device, where the spectrum sensing feedback frame is used to feed back the spectrum sensing result.
Optionally, the spectrum sensing result includes at least one of the following: first spectrum sensing information and a first MCS.
Optionally, the first spectrum sensing information includes interference energy information in a radio environment of the second device.
Optionally, the spectrum sensing request frame includes a first category field, a first action field, and a first element field, the first category field indicates that a type of the spectrum sensing request frame is a spectrum sensing type, the first action field indicates that an action is a spectrum sensing request, and the first element field includes the at least one spectrum sensing parameter.
Optionally, the spectrum sensing feedback frame includes a second category field, a second action field, and a second element field, the second category field indicates that a type of the spectrum sensing feedback frame is a spectrum sensing type, the second action field indicates that an action is spectrum sensing feedback, and the second element field includes the spectrum sensing result.
Optionally, the spectrum sensing request frame includes a third action field and a third element field, the third action field indicates that an action is a spectrum sensing request, and the third element field includes the at least one spectrum sensing parameter.
Optionally, the spectrum sensing feedback frame includes a fourth action field and a fourth element field, the fourth action field indicates that an action is spectrum sensing feedback, and the fourth element field includes the spectrum sensing result.
Optionally, the spectrum sensing request frame includes a first aggregated control subfield, and the first aggregated control subfield includes the at least one spectrum sensing parameter.
Optionally, the spectrum sensing feedback frame includes a second aggregated control subfield, and the second aggregated control subfield includes the spectrum sensing result.
Optionally, the processing unit is configured to perform spectrum sensing to obtain second spectrum sensing information, the processing unit is further configured to perform inference based on the second spectrum sensing information, to obtain a second MCS, the processing unit is further configured to perform at least one round of consistency test based on the spectrum sensing result and the second MCS, and the processing unit is further configured to obtain a spectrum sensing compensation value after the at least one round of consistency test succeeds.
Optionally, the processing unit is further configured to perform spectrum sensing to obtain third spectrum sensing information, the processing unit is further configured to compensate for the third spectrum sensing information based on the spectrum sensing compensation value, to obtain fourth spectrum sensing information, the processing unit is further configured to perform inference based on the fourth spectrum sensing information, to obtain a third MCS, and the transceiver unit is further configured to send data to the second device based on the third MCS.
In another possible implementation, the spectrum sensing apparatus is configured to perform the method in the first aspect or the third aspect and the possible implementations of the first aspect or the third aspect.
According to a sixth aspect, a spectrum sensing apparatus is provided. The spectrum sensing apparatus may implement the spectrum sensing method in the second aspect or the fourth aspect. For example, the spectrum sensing apparatus may be a chip or a device. The foregoing method may be implemented by software, hardware, or hardware executing corresponding software.
In a possible implementation, the apparatus includes a transceiver unit and a processing unit, where the transceiver unit is configured to receive a spectrum sensing request frame from a first device, where the spectrum sensing request frame is used to request a second device to perform spectrum sensing, and the spectrum sensing request frame includes at least one of the following spectrum sensing parameters: a start time of spectrum sensing, an end time of spectrum sensing, spectrum sensing duration, a sampling frequency of spectrum sensing, and a type of a spectrum sensing result, the transceiver unit is further configured to send a request acknowledgment frame to the first device, where the request acknowledgment frame is used to acknowledge that the spectrum sensing request frame is received, the processing unit is configured to perform spectrum sensing based on the at least one spectrum sensing parameter, to obtain the spectrum sensing result, and the transceiver unit is further configured to send a spectrum sensing feedback frame to the first device, where the spectrum sensing feedback frame is used to feed back the spectrum sensing result.
In a possible implementation, the apparatus includes a transceiver unit and a processing unit, where the transceiver unit is configured to send a spectrum sensing request frame to a first device, where the spectrum sensing request frame is used to request the first device to acknowledge at least one of the following spectrum sensing parameters: a start time of spectrum sensing, an end time of spectrum sensing, spectrum sensing duration, a sampling frequency of spectrum sensing, and a type of a spectrum sensing result, the transceiver unit is further configured to receive a request acknowledgment frame from the first device, where the request acknowledgment frame is used to acknowledge that the spectrum sensing request frame is received, the processing unit is configured to perform spectrum sensing based on the at least one spectrum sensing parameter, to obtain the spectrum sensing result, and the transceiver unit is further configured to send a spectrum sensing feedback frame to the first device, where the spectrum sensing feedback frame is used to feed back the spectrum sensing result.
Optionally, the spectrum sensing result includes at least one of the following: first spectrum sensing information and a first MCS.
Optionally, the first spectrum sensing information includes interference energy information in a radio environment of the second device.
Optionally, the spectrum sensing request frame includes a first category field, a first action field, and a first element field, the first category field indicates that a type of the spectrum sensing request frame is a spectrum sensing type, the first action field indicates that an action is a spectrum sensing request, and the first element field includes the at least one spectrum sensing parameter.
Optionally, the spectrum sensing feedback frame includes a second category field, a second action field, and a second element field, the second category field indicates that a type of the spectrum sensing feedback frame is a spectrum sensing type, the second action field indicates that an action is spectrum sensing feedback, and the second element field includes the spectrum sensing result.
Optionally, the spectrum sensing request frame includes a third action field and a third element field, the third action field indicates that an action is a spectrum sensing request, and the third element field includes the at least one spectrum sensing parameter.
Optionally, the spectrum sensing feedback frame includes a fourth action field and a fourth element field, the fourth action field indicates that an action is spectrum sensing feedback, and the fourth element field includes the spectrum sensing result.
Optionally, the spectrum sensing request frame includes a first aggregated control subfield, and the first aggregated control subfield includes the at least one spectrum sensing parameter.
Optionally, the spectrum sensing feedback frame includes a second aggregated control subfield, and the second aggregated control subfield includes the spectrum sensing result.
In another possible implementation, the spectrum sensing apparatus is configured to perform the method in the second aspect or the fourth aspect and the possible implementations of the second aspect or the fourth aspect.
In still another possible implementation, the spectrum sensing apparatus in the fifth aspect or the sixth aspect includes a processor coupled to a memory. The processor is configured to support the apparatus in performing a corresponding function in the foregoing spectrum sensing method. The memory is configured to be coupled to the processor, and stores a computer program (or computer-executable instructions) and/or data necessary for the apparatus. Optionally, the spectrum sensing apparatus may further include a communication interface configured to support communication between the apparatus and another network element, for example, sending or receiving of data and/or signals. For example, the communication interface may be a transceiver, a circuit, a bus, a module, or another type of communication interface. Optionally, the memory may be located inside the spectrum sensing apparatus and integrated with the processor, or may be located outside the spectrum sensing apparatus.
In yet another possible implementation, the spectrum sensing apparatus in the fifth aspect or the sixth aspect includes a processor and a transceiver apparatus. The processor is coupled to the transceiver apparatus. The processor is configured to execute a computer program or instructions, to control the transceiver apparatus to receive and send information. When the processor executes the computer program or the instructions, the processor is further configured to implement the foregoing method through a logic circuit or by executing code instructions. The transceiver apparatus may be a transceiver, a transceiver circuit, or an input/output interface, and is configured to receive a signal from a spectrum sensing apparatus other than the spectrum sensing apparatus and transmit the signal to the processor, or send a signal from the processor to a spectrum sensing apparatus other than the spectrum sensing apparatus. When the spectrum sensing apparatus is a chip, the transceiver apparatus is a transceiver circuit or an input/output interface.
When the spectrum sensing apparatus in the fifth aspect or the sixth aspect is the chip, a sending unit may be an output unit, for example, an output circuit or a communication interface, and a receiving unit may be an input unit, for example, an input circuit or a communication interface. When the spectrum sensing apparatus is a terminal, a sending unit may be a transmitter or a transmitter machine, and a receiving unit may be a receiver or a receiver machine.
According to a seventh aspect, a communication system is provided. The communication system includes the spectrum sensing apparatus in any one of the fifth aspect or the implementations of the fifth aspect, and at least one spectrum sensing apparatus in any one of the sixth aspect or the implementations of the sixth aspect.
According to an eighth aspect, a computer-readable storage medium is provided, and stores a computer program or instructions. When the program or the instructions are executed by a processor, the method in any one of the first aspect or the implementations of the first aspect is performed, the method in any one of the second aspect or the implementations of the second aspect is performed, the method in any one of the third aspect or the implementations of the third aspect is performed, or the method in any one of the fourth aspect or the implementations of the fourth aspect is performed.
According to a ninth aspect, a computer program product is provided. When the computer program product is executed on a computing device, the method in any one of the first aspect or the implementations of the first aspect is performed, the method in any one of the second aspect or the implementations of the second aspect is performed, the method in any one of the third aspect or the implementations of the third aspect is performed, or the method in any one of the fourth aspect or the implementations of the fourth aspect is performed.
The following describes embodiments of this disclosure with reference to accompanying drawings in embodiments of this disclosure.
Embodiments of this disclosure may be applied to wireless local area network (WLAN) communication. A standard version of a WLAN has been continuously evolved and developed from standards such as the Institute of Electrical and Electronics Engineers (IEEE) 802.11a/b/g/n/ac/ax, and 802.11be which is under discussion. The 802.11n standard is also referred to as high-throughput (HT), the 802.11ac standard is referred to as very HT (VHT), 802.11ax is referred to as high efficiency (HE), 802.11be is referred to as Extremely High Throughput (EHT), and standards before the HT, such as 802.11a/b/g, are collectively referred to as non-HT (Non-HT).
A WLAN communication system includes an access point (AP) and a station (STA), and the station may also be referred to as a station or a non-AP station. Related wireless communication scenarios may include communication between an AP and a STA, communication between APs, communication between STAs, and the like. In embodiments of this disclosure, communication between the AP and the STA is used as an example for description. As shown in
A structure of each of the AP and the STA in embodiments of this disclosure may include a media access control (MAC) layer and a physical layer (PHY). The AP and the STA may perform PHY layer protocol data unit (PPDU) transmission by using a PPDU. In addition, a frame structure of the PPDU varies with a wireless communication protocol used by the AP and the STA.
A receiver/transmitter obtaining a spectrum sensing result of a peer end is of great significance for improving communication performance of the receiver end and the transmitter end. However, there is no related solution to accurately obtain the spectrum sensing result of the peer end.
This disclosure provides a spectrum sensing solution. A second device may perform spectrum sensing based on information carried in a spectrum sensing request frame sent by a first device, or perform spectrum sensing based on information in a spectrum sensing request frame acknowledged by a first device, and the first device may obtain an accurate spectrum sensing result of the second device.
S201: A first device sends a spectrum sensing request frame to a second device.
Correspondingly, the second device receives the spectrum sensing request frame.
The first device wants to obtain a spectrum sensing result of the second device. Therefore, the first device sends the spectrum sensing request frame to the second device. The spectrum sensing request frame is used to request the second device to perform spectrum sensing. The spectrum sensing request frame includes at least one of the following spectrum sensing parameters: a start time of spectrum sensing, an end time of spectrum sensing, spectrum sensing duration, a sampling frequency of spectrum sensing, and a type of the spectrum sensing result. The spectrum sensing request frame may include one or more of the spectrum sensing parameters. For example, the spectrum sensing request frame includes the start time of spectrum sensing, the end time of spectrum sensing, the sampling frequency of spectrum sensing, and the type of the spectrum sensing result. For another example, the spectrum sensing request frame includes the start time of spectrum sensing, the spectrum sensing duration, the sampling frequency of spectrum sensing, and the type of the spectrum sensing result. The spectrum sensing request frame may alternatively be in another form.
The start time of spectrum sensing, the end time of spectrum sensing, and the spectrum sensing duration indicate time information of spectrum sensing performed by the second device. The first device includes the time information of spectrum sensing in the spectrum sensing request frame. This facilitates synchronous spectrum sensing performed by the first device and the second device.
The sampling frequency of spectrum sensing indicates a frequency at which the second device performs sampling. Certainly, the spectrum sensing request frame may not include the parameter, and the second device may perform sampling at a default sampling frequency.
The type of the spectrum sensing result includes at least one of the following: first spectrum sensing information and a first MCS. In other words, the first device may indicate, based on the type of the spectrum sensing result in the spectrum sensing request frame, the second device to feed back the first spectrum sensing information, the first MCS, or the first spectrum sensing information and the first MCS. The first spectrum sensing information is information obtained through spectrum sensing performed by the second device, and the first MCS is obtained through inference of the second device based on the first spectrum sensing information obtained through sensing of the second device. The first spectrum sensing information includes interference energy information in a radio environment of the second device, and truly indicates the radio environment of the second device.
Further, a format of the spectrum sensing request frame may be implemented by using any one of the following. Certainly, the format of the spectrum sensing request frame is not limited in this disclosure.
In an implementation,
Based on the format of the spectrum sensing request frame shown in
In another implementation,
In still another implementation,
S202: The second device sends a request acknowledgment frame to the first device.
Correspondingly, the first device receives the request acknowledgment frame.
The request acknowledgment frame is used to acknowledge that the spectrum sensing request frame is received.
S203: The second device performs spectrum sensing based on the at least one spectrum sensing parameter, to obtain the spectrum sensing result.
After receiving the spectrum sensing request frame, the second device performs spectrum sensing based on the at least one spectrum sensing parameter, to obtain the spectrum sensing result. Further, the second device may obtain spectrum sensing information through energy detection or carrier sensing.
Further, the second device performs spectrum sensing based on the time information of spectrum sensing indicated by the spectrum sensing request frame and at the sampling frequency indicated by the spectrum sensing request frame, and obtains the spectrum sensing result of the type indicated by the spectrum sensing request frame.
In one manner, if the type of the spectrum sensing result is spectrum sensing information, the second device performs spectrum sensing based on the time information of spectrum sensing indicated by the spectrum sensing request frame and at the sampling frequency indicated by the spectrum sensing request frame, to obtain the spectrum sensing information.
In another manner, if the type of the spectrum sensing result is an MCS, the second device performs spectrum sensing based on the time information of spectrum sensing indicated by the spectrum sensing request frame and at the sampling frequency indicated by the spectrum sensing request frame, to obtain the spectrum sensing information, and performs inference based on the spectrum sensing information, to obtain the MCS.
S204: The second device sends a spectrum sensing feedback frame to the first device.
Correspondingly, the first device receives the spectrum sensing feedback frame.
After performing spectrum sensing to obtain the spectrum sensing result, the second device sends the spectrum sensing feedback frame to the first device, where the spectrum sensing feedback frame is used to feed back the spectrum sensing result.
Further, a format of the spectrum sensing feedback frame may be implemented by using any one of the following. Certainly, the format of the spectrum sensing feedback frame is not limited in this disclosure.
In an implementation,
Based on the format of the spectrum sensing feedback frame shown in
In another implementation,
In still another implementation,
According to the spectrum sensing method provided in this embodiment of this disclosure, the first device sends the spectrum sensing request frame, so that the second device can perform spectrum sensing based on the information carried in the spectrum sensing request frame, and the first device can obtain the accurate spectrum sensing result of the second device.
S1301: A second device sends a spectrum sensing request frame to a first device.
Correspondingly, the first device receives the spectrum sensing request frame.
A difference between this embodiment and the embodiment shown in
S1302: The first device sends a request acknowledgment frame to the second device.
Correspondingly, the second device receives the request acknowledgment frame.
The first device receives the spectrum sensing request frame sent by the second device, and sends the request acknowledgment frame to the second device if it is acknowledged that the second device can perform spectrum sensing based on the at least one spectrum sensing parameter. The request acknowledgment frame is used to acknowledge that the spectrum sensing request frame is received.
S1303: The second device performs spectrum sensing based on the at least one spectrum sensing parameter, to obtain a spectrum sensing result.
For a specific implementation of this step, refer to the related descriptions of step S203 in the embodiment shown in
S1304: The second device sends a spectrum sensing feedback frame to the first device, where the spectrum sensing feedback frame is used to feed back the spectrum sensing result.
Correspondingly, the first device receives the spectrum sensing feedback frame.
For a specific implementation of this step, refer to the related descriptions of step S204 in the embodiment shown in
According to the spectrum sensing method provided in this embodiment of this disclosure, the second device sends the spectrum sensing request frame to the first device, and performs spectrum sensing based on information in the spectrum sensing request frame acknowledged by the first device, and the first device may obtain the accurate spectrum sensing result of the second device.
In a short-range/WI-FI wireless network and the like, rate adaptation is a core algorithm protocol, and is used to change a data transmission rate based on an existing real-time channel status, to improve transmission performance of a system. Rate adaptation is to change the transmission rate by selecting different MCSs. If channel quality is fixed, selecting an excessively high MCS may cause a severe packet loss, or selecting an excessively low MCS may prolong a channel occupation time, reduce channel efficiency, and easily cause a conflict in a scenario in which there are a large quantity of hidden terminals. Therefore, a status of rate adaptation plays a decisive role in user experience.
An existing rate adaptation algorithm is a sampling-based rate adaptation algorithm. A basic principle of the rate adaptation algorithm is to sample all MCSs, collect statistics on characteristic quantities of each MCS, such as throughput and a packet loss rate, and finally determine an MCS based on the statistical characteristic quantities. However, in the method, a sampling period is long, and an obtained statistical value cannot indicate a current radio environment. In addition, if a poor MCS is selected during sampling, performance deteriorates.
Another existing rate adaptation algorithm is a signal-to-noise ratio-based (SNR-based) rate adaptation algorithm. A basic principle of the rate adaptation algorithm is that a transmit end selects an MCS based on channel quality fed back by a receive end. However, WI-FI operates on an unlicensed spectrum, channels of different networks are shared, devices interfere with each other and cause collision, and an SNR does not include interference information. Consequently, an MCS estimated based on the SNR usually has a large deviation.
This disclosure provides still another spectrum sensing method. After receiving spectrum sensing information of a second device or spectrum sensing information obtained by compensating, based on a spectrum sensing compensation value obtained through a consistency test and after the consistency test of the first device and the second device, for spectrum sensing information obtained through sensing of the first device, the first device performs inference based on the spectrum sensing information, to obtain an appropriate MCS, and sends data to the second device based on the MCS. This can reduce a packet loss or increase a rate, and improve communication reliability.
S1401: A second device sends a radio frame to a first device.
Correspondingly, the first device receives the radio frame.
In this embodiment, the second device may perform spectrum sensing in real time to obtain spectrum sensing information at a moment, or the second device may perform spectrum sensing periodically to obtain frequency sensing information in a period of time. Further, the second device may obtain spectrum sensing information through energy detection or carrier sensing. The spectrum sensing information includes interference energy information in a radio environment of the second device.
After the second device obtains the spectrum sensing information, the second device feeds back the spectrum sensing information of the second device to the first device. Further, the second device sends the radio frame to the first device. The radio frame includes the spectrum sensing information of the second device. The radio frame may use any frame format.
For example, in a scenario in which a requirement on spectrum sensing precision is high, the second device may send the radio frame to the first device in real time.
For example, in a scenario in which a requirement on spectrum sensing precision is not high, the second device may alternatively send the radio frame to the first device periodically. This manner reduces a communication frequency, and reduces communication complexity.
For example, before the second device sends the radio frame to the first device, the method may further include the following. The first device sends another radio frame to the second device, where the radio frame is used to request to obtain the spectrum sensing information of the second device.
S1402: The first device performs inference based on the spectrum sensing information, to obtain an MCS.
After receiving the spectrum sensing information sent by the second device, the first device may perform inference based on the spectrum sensing information, to obtain the MCS.
In this embodiment, a fully connected network with a residual structure is used. The historical spectrum sensing information is used as an input of the network, and the probability that transmission is performed based on each level of MCS is used as an output of the network. A data label is generated based on spectrum sensing information in future, and a loss function is a cross entropy. In a training process, a small-batch gradient descent (or mini-batch gradient descent) method is used to minimize the loss function and update network parameters of the neural network until convergence. It should be noted that a neural network structure is not limited to the fully connected network with the residual structure, and a convolutional neural network (CNN) or a recurrent neural network (RNN) and variants thereof such as a long short-term memory (LSTM) and a gated recurrent unit (GRU).
S1403: The first device sends data to the second device based on the MCS.
Correspondingly, the second device receives the data.
The first device performs MCS inference based on the spectrum sensing information sent by the second device, selects the MCS with the maximum output probability, and sends the data to the second device based on the MCS.
When the neural network is used to perform MCS inference, the input spectrum sensing information of the second device includes the interference energy information in the radio environment of the second device, and truly indicates the radio environment of the second device. Therefore, the MCS obtained through inference is appropriate. The first device sends the data to the second device based on the MCS. This can reduce a packet loss or increase a rate, and improve communication reliability.
According to the spectrum sensing method provided in this embodiment of this disclosure, the first device receives the spectrum sensing information sent by the second device, where the spectrum sensing information includes the interference energy information in the radio environment of the second device, and the appropriate MCS may be obtained through inference based on the spectrum sensing information, so that the data is sent to the second device based on the MCS. This can reduce the packet loss or increase the rate, and improve the communication reliability.
In this embodiment, a first device and a second device first perform N0MAX rounds of consistency tests, to test consistency of spectrum sensing and MCS inference that are performed by the first device and the second device, where N0MAX is a positive integer.
An xth round of consistency test includes the following steps S1601 to S1608, where 1≤x≤N0MAX.
As shown in
S1601: The first device sends a spectrum sensing request frame to the second device.
Correspondingly, the second device receives the spectrum sensing request frame.
The spectrum sensing request frame is used to request the second device to perform spectrum sensing, and the spectrum sensing request frame includes at least one of the following spectrum sensing parameters: a start time of spectrum sensing, an end time of spectrum sensing, spectrum sensing duration, a sampling frequency of spectrum sensing, and a type of a spectrum sensing result.
For a specific implementation of this step, refer to step S201 in the foregoing embodiment.
S1602: The second device sends a request acknowledgment frame to the first device.
Correspondingly, the first device receives the request acknowledgment frame.
The request acknowledgment frame is used to acknowledge that the spectrum sensing request frame is received.
For a specific implementation of this step, refer to step S202 in the foregoing embodiment.
S1603: The first device performs spectrum sensing to obtain second spectrum sensing information.
The first device and the second device perform synchronous spectrum sensing, and may perform spectrum sensing based on at least one spectrum sensing parameter that is the same as that of the second device: a start time of spectrum sensing, an end time of spectrum sensing, spectrum sensing duration, and a sampling frequency of spectrum sensing, to obtain the second spectrum sensing information.
S1604: The second device performs spectrum sensing based on the at least one spectrum sensing parameter, to obtain a spectrum sensing result.
For a specific implementation of this step, refer to step S203 in the foregoing embodiment.
An execution sequence of steps S1603 and S1604 is not limited, and generally, steps S1603 and S1604 may be performed simultaneously.
S1605: The second device sends a spectrum sensing feedback frame to the first device, where the spectrum sensing feedback frame is used to feed back the spectrum sensing result.
Correspondingly, the first device receives the spectrum sensing feedback frame.
For a specific implementation of this step, refer to step S204 in the foregoing embodiment.
S1606: The first device performs inference based on the second spectrum sensing information, to obtain a second MCS.
For example, an MCS inference module in the first device uses the neural network shown in
S1607: The first device performs a consistency test based on the spectrum sensing result and the second MCS.
It should be noted that, if a type of the spectrum sensing result is spectrum sensing information in step S1604, the MCS inference module in the first device performs inference based on the first spectrum sensing information, to obtain a first MCS.
If a type of the spectrum sensing result is a first MCS (MCSr shown in
The first device performs the consistency test based on the spectrum sensing result and the second MCS. Further, as shown in
S1608: The first device obtains a spectrum sensing compensation value after at least one round of consistency test succeeds.
As shown in
In the foregoing process of the xth round of consistency test, if the MCSr is not equal to the MCSt, the counter No indicating the number of test rounds is increased by 1, and the counter N0 indicating the number of test rounds does not exceed a maximum number of rounds N0MAX, the first device continues to perform the (x+1)th round of consistency test after compensating for spectrum data.
The first device obtains the spectrum sensing compensation value after the at least one round of consistency test. The spectrum sensing compensation value is a spectrum sensing compensation value obtained after a last round of test succeeds. The spectrum sensing compensation value may be 0, a positive number, or a negative number, and is in a unit of decibel (dB). That the spectrum sensing compensation value is 0 indicates that there is no need to compensate for the second spectrum sensing information. That the spectrum sensing compensation value is the positive number indicates that incremental compensation is performed on the second spectrum sensing information. For example, spectrum data compensation may be performed, for example, by 1 dB each time, by adding an offset value to the second spectrum sensing information. That the spectrum sensing compensation value is the negative number indicates that decremental compensation is performed on the second spectrum sensing information. For example, spectrum data compensation may be performed, for example, by 1 dB each time, by reducing an offset value from the second spectrum sensing information.
S1609: The first device performs spectrum sensing to obtain third spectrum sensing information.
Through the at least one round of consistency test, the consistency test of spectrum sensing and MCS inference of the first device and the second device succeeds. In this case, the first device can perform spectrum sensing to obtain the third spectrum sensing information.
S1610: The first device compensates for the third spectrum sensing information based on the spectrum sensing compensation value, to obtain fourth spectrum sensing information.
After obtaining the third spectrum sensing information, the first device compensates for the third spectrum sensing information based on the spectrum sensing compensation value obtained through the consistency test, to obtain the fourth spectrum sensing information.
S1611: The first device performs inference based on the fourth spectrum sensing information, to obtain a third MCS.
For a specific implementation of this step, refer to step S1402 or S1606.
S1612: The first device sends data to the second device based on the third MCS.
The first device performs inference based on the compensated third spectrum sensing information to obtain the appropriate third MCS, and sends the data to the second device based on the third MCS. This can reduce a packet loss, increase a rate, and improve communication reliability.
In this embodiment, spectrum sensing information similar to that of the second device is obtained in a manner of compensating, after the consistency test succeeds, for the spectrum sensing information obtained through sensing of the first device, so that the first device does not need to receive, from the second device, the spectrum sensing information obtained through sensing of the second device, thereby reducing communication interaction.
According to the spectrum sensing method provided in this embodiment of this disclosure, the first device can compare the spectrum sensing result received from the second device with the MCS obtained through inference based on the spectrum sensing information obtained through spectrum sensing performed by the first device, to determine consistency of spectrum sensing of the first device and the second device, and the spectrum sensing compensation value of the first device is obtained after the consistency test succeeds. After obtaining the spectrum sensing compensation value of the first device based on the consistency test, the first device does not need to interact with the second device, and compensates for the spectrum sensing information based on the spectrum sensing compensation value and the spectrum sensing information obtained through sensing of the first device, to obtain the spectrum sensing information consistent with that of the second device, thereby obtaining the appropriate MCS based on compensated spectrum sensing information. This can reduce the packet loss, increase the rate, and improve the communication reliability.
The foregoing describes the solutions provided in embodiments of this disclosure. It may be understood that, to implement the foregoing functions, a spectrum sensing apparatus (for example, which may be a first station or a second station) includes corresponding hardware structures and/or software modules for performing the functions. A person skilled in the art should be easily aware that, in combination with units and algorithm steps of the examples described in embodiments disclosed in this specification, this disclosure may be implemented in a form of hardware or a combination of hardware and computer software. Whether a function is performed by hardware or hardware driven by computer software depends on particular applications and design constraints of the technical solutions. A person skilled in the art may use different methods to implement the described functions for each particular application, but it should not be considered that the implementation goes beyond the scope of this disclosure.
In embodiments of this disclosure, the spectrum sensing apparatus may be divided into functional modules based on the foregoing method examples. For example, each functional module may be obtained through division based on each corresponding function, or two or more functions may be integrated into one processing module. The functional module may be implemented in a form of hardware, or may be implemented in a form of a software functional module. It should be noted that, in embodiments of this disclosure, module division is an example, and is merely a logical function division. During actual implementation, another division manner may be used. The following uses an example in which functional modules are obtained through division based on corresponding functions for description.
The spectrum sensing apparatus may be the first device.
In a possible implementation, the transceiver unit 181 is configured to send a spectrum sensing request frame to a second device, where the spectrum sensing request frame is used to request the second device to perform spectrum sensing, and the spectrum sensing request frame includes at least one of the following spectrum sensing parameters: a start time of spectrum sensing, an end time of spectrum sensing, spectrum sensing duration, a sampling frequency of spectrum sensing, and a type of a spectrum sensing result, the transceiver unit 181 is further configured to receive a request acknowledgment frame from the second device, where the request acknowledgment frame is used to acknowledge that the spectrum sensing request frame is received, and the transceiver unit 181 is further configured to receive a spectrum sensing feedback frame from the second device, where the spectrum sensing feedback frame is used to feed back the spectrum sensing result.
In a possible implementation, the transceiver unit 181 is configured to receive a spectrum sensing request frame from a second device, where the spectrum sensing request frame is used to request the apparatus to acknowledge at least one of the following spectrum sensing parameters: a start time of spectrum sensing, an end time of spectrum sensing, spectrum sensing duration, a sampling frequency of spectrum sensing, and a type of a spectrum sensing result, the transceiver unit 181 is further configured to send a request acknowledgment frame to the second device, where the request acknowledgment frame is used to acknowledge that the spectrum sensing request frame is received, and the transceiver unit 181 is further configured to receive a spectrum sensing feedback frame from the second device, where the spectrum sensing feedback frame is used to feed back the spectrum sensing result.
Optionally, the spectrum sensing result includes at least one of the following: first spectrum sensing information and a first MCS.
Optionally, the first spectrum sensing information includes interference energy information in a radio environment of the second device.
Optionally, the spectrum sensing request frame includes a first category field, a first action field, and a first element field, the first category field indicates that a type of the spectrum sensing request frame is a spectrum sensing type, the first action field indicates that an action is a spectrum sensing request, and the first element field includes the at least one spectrum sensing parameter.
Optionally, the spectrum sensing feedback frame includes a second category field, a second action field, and a second element field, the second category field indicates that a type of the spectrum sensing feedback frame is a spectrum sensing type, the second action field indicates that an action is spectrum sensing feedback, and the second element field includes the spectrum sensing result.
Optionally, the spectrum sensing request frame includes a third action field and a third element field, the third action field indicates that an action is a spectrum sensing request, and the third element field includes the at least one spectrum sensing parameter.
Optionally, the spectrum sensing feedback frame includes a fourth action field and a fourth element field, the fourth action field indicates that an action is spectrum sensing feedback, and the fourth element field includes the spectrum sensing result.
Optionally, the spectrum sensing request frame includes a first aggregated control subfield, and the first aggregated control subfield includes the at least one spectrum sensing parameter.
Optionally, the spectrum sensing feedback frame includes a second aggregated control subfield, and the second aggregated control subfield includes the spectrum sensing result.
Optionally, the processing unit 182 is configured to perform spectrum sensing to obtain second spectrum sensing information, the processing unit 182 is further configured to perform inference based on the second spectrum sensing information, to obtain a second MCS, the processing unit 182 is further configured to perform at least one round of consistency test based on the spectrum sensing result and the second MCS, and the processing unit 182 is further configured to obtain a spectrum sensing compensation value after the at least one round of consistency test succeeds.
Optionally, the processing unit 182 is further configured to perform spectrum sensing to obtain third spectrum sensing information, the processing unit 182 is further configured to compensate for the third spectrum sensing information based on the spectrum sensing compensation value, to obtain fourth spectrum sensing information, the processing unit 182 is further configured to perform inference based on the fourth spectrum sensing information, to obtain a third MCS, and the transceiver unit 181 is further configured to send data to the second device based on the third MCS.
The spectrum sensing apparatus may be the second device.
In a possible implementation, the transceiver unit 191 is configured to receive a spectrum sensing request frame from a first device, where the spectrum sensing request frame is used to request the second device to perform spectrum sensing, and the spectrum sensing request frame includes at least one of the following spectrum sensing parameters: a start time of spectrum sensing, an end time of spectrum sensing, spectrum sensing duration, a sampling frequency of spectrum sensing, and a type of a spectrum sensing result, the transceiver unit 191 is further configured to send a request acknowledgment frame to the first device, where the request acknowledgment frame is used to acknowledge that the spectrum sensing request frame is received, the processing unit 192 is configured to perform spectrum sensing based on the at least one spectrum sensing parameter, to obtain a spectrum sensing result, and the transceiver unit 191 is further configured to send a spectrum sensing feedback frame to the first device, where the spectrum sensing feedback frame is used to feed back the spectrum sensing result.
In a possible implementation, the transceiver unit 191 is configured to send a spectrum sensing request frame to a first device, where the spectrum sensing request frame is used to request the first device to acknowledge at least one of the following spectrum sensing parameters: a start time of spectrum sensing, an end time of spectrum sensing, spectrum sensing duration, a sampling frequency of spectrum sensing, and a type of a spectrum sensing result, the transceiver unit 191 is further configured to receive a request acknowledgment frame from the first device, where the request acknowledgment frame is used to acknowledge that the spectrum sensing request frame is received, the processing unit 192 is configured to perform spectrum sensing based on the at least one spectrum sensing parameter, to obtain a spectrum sensing result, and the transceiver unit 191 is further configured to send a spectrum sensing feedback frame to the first device, where the spectrum sensing feedback frame is used to feed back the spectrum sensing result.
Optionally, the spectrum sensing result includes at least one of the following: first spectrum sensing information and a first MCS.
Optionally, the first spectrum sensing information includes interference energy information in a radio environment of the second device.
Optionally, the spectrum sensing request frame includes a first category field, a first action field, and a first element field, the first category field indicates that a type of the spectrum sensing request frame is a spectrum sensing type, the first action field indicates that an action is a spectrum sensing request, and the first element field includes the at least one spectrum sensing parameter.
Optionally, the spectrum sensing feedback frame includes a second category field, a second action field, and a second element field, the second category field indicates that a type of the spectrum sensing feedback frame is a spectrum sensing type, the second action field indicates that an action is spectrum sensing feedback, and the second element field includes the spectrum sensing result.
Optionally, the spectrum sensing request frame includes a third action field and a third element field, the third action field indicates that an action is a spectrum sensing request, and the third element field includes the at least one spectrum sensing parameter.
Optionally, the spectrum sensing feedback frame includes a fourth action field and a fourth element field, the fourth action field indicates that an action is spectrum sensing feedback, and the fourth element field includes the spectrum sensing result.
Optionally, the spectrum sensing request frame includes a first aggregated control subfield, and the first aggregated control subfield includes the at least one spectrum sensing parameter.
Optionally, the spectrum sensing feedback frame includes a second aggregated control subfield, and the second aggregated control subfield includes the spectrum sensing result.
For all related content of each step in the foregoing method embodiments, refer to function descriptions of a corresponding functional module. Details are not described herein again.
In a possible product form, the spectrum sensing apparatus 2000 includes a processor 202 and a transceiver 203. The processor 202 is configured to perform a function of the processing unit 182 in the foregoing embodiment. The transceiver 203 is configured to perform a function of the transceiver unit 181 in the foregoing embodiment.
Optionally, the spectrum sensing apparatus 2000 may further include a memory 201.
In another possible product form, the spectrum sensing apparatus 2000 is alternatively implemented by a general-purpose processor, namely, a chip. The general-purpose processor includes a processing circuit 202 and a communication interface 203. Optionally, the general-purpose processor may further include a storage medium 201. The processing circuit 202 is configured to perform a function of the processing unit 182 in the foregoing embodiment. The communication interface 203 is configured to perform a function of the transceiver unit 181 in the foregoing embodiment.
In still another possible product form, the spectrum sensing apparatus may alternatively be implemented by using the following: one or more field-programmable gate arrays (FPGAs), a programmable logic device (PLD), a controller, a state machine, a logic gate, a discrete hardware component, any other suitable circuit, or any combination of circuits that can perform various functions described throughout this disclosure.
The processor 202 may be a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), an FPGA or another programmable logic device, a transistor logic device, a hardware component, or any combination thereof. The processor may implement or execute various example logical blocks, modules, and circuits described with reference to content disclosed in this disclosure. Alternatively, the processor may be a combination of processors implementing a computing function, for example, a combination of one or more microprocessors, or a combination of the digital signal processor and a microprocessor. The bus 204 may be a Peripheral Component Interconnect (PCI) standard bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be classified into an address bus, a data bus, a control bus, or the like. For ease of representation, only one thick line indicates the bus in
In a possible product form, the spectrum sensing apparatus 2100 includes a processor 212 and a transceiver 213. The transceiver 213 is configured to perform a function of the transceiver unit 191 in the foregoing embodiment. The processor 212 is configured to perform a function of the processing unit 192 in the foregoing embodiment.
Optionally, the spectrum sensing apparatus may further include a memory 211.
In another possible product form, the spectrum sensing apparatus 2100 is alternatively implemented by a general-purpose processor, namely, a chip. The general-purpose processor includes a processing circuit 212 and a communication interface 213. Optionally, the general-purpose processor may further include a storage medium 211. The processing circuit 212 is configured to perform a function of the processing unit 192 in the foregoing embodiment. The communication interface 213 is configured to perform a function of the transceiver unit 191 in the foregoing embodiment.
In still another possible product form, the spectrum sensing apparatus may alternatively be implemented by using the following: one or more FPGAs, a PLD, a controller, a state machine, gate logic, a discrete hardware component, any other suitable circuit, or any combination of circuits that can perform various functions described in this disclosure.
The processor 212 may be a CPU, a general-purpose processor, a DSP, an ASIC, an FPGA or another programmable logic device, a transistor logic device, a hardware component, or any combination thereof. The processor may implement or execute various example logical blocks, modules, and circuits described with reference to content disclosed in this disclosure. Alternatively, the processor may be a combination of processors implementing a computing function, for example, a combination of one or more microprocessors, or a combination of the digital signal processor and a microprocessor. A bus 214 may be a PCI bus, an EISA bus, or the like. The bus may be classified into an address bus, a data bus, a control bus, or the like. For ease of representation, only one thick line indicates the bus in
A person of ordinary skill in the art may understand that all or some of the steps of the method embodiments may be implemented by hardware related to program instructions. The program instructions may be stored in a computer-readable storage medium. When the program instructions are executed, the steps of the method embodiments are performed. The foregoing storage medium includes any medium that can store program code, for example, a Universal Serial Bus (USB) flash drive, a removable hard disk drive, a read-only memory (ROM), a random-access memory (RAM), a magnetic disk, or an optical disc.
In one aspect, an embodiment of this disclosure further provides a readable storage medium. The readable storage medium stores computer-executable instructions, and when the computer-executable instructions are run, a device (which may be a single-chip microcomputer, a chip, a controller, or the like) or a processor is enabled to perform steps in a communication method provided in this disclosure.
In one aspect, an embodiment of this disclosure further provides a computer program product. The computer program product includes computer-executable instructions, and the computer-executable instructions are stored in a computer-readable storage medium, a processor of a device may read the computer-executable instructions from the computer-readable storage medium, and the processor executes the computer-executable instructions, so that the device performs steps in a communication method provided in this disclosure.
It may be clearly understood by a person skilled in the art that, for ease and brevity of description, for a detailed working process of the foregoing system, apparatus, and unit, refer to a corresponding process in the foregoing method embodiments. Details are not described herein again.
In the several embodiments provided in this disclosure, it should be understood that the disclosed system, apparatus, and method may be implemented in another manner. For example, division into the units is merely logical function division and may be another division during actual implementation. For example, a plurality of units or components may be combined or integrated into another system, or some features may be ignored or not performed. The displayed or discussed mutual couplings or direct couplings or communication connections may be implemented through some interfaces. The indirect couplings or communication connections between the apparatuses or units may be implemented in electrical, mechanical, or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, in other words, may be located in one position, or may be distributed on a plurality of network units. Some or all of the units may be selected based on an actual requirement to achieve the objectives of the solutions of embodiments.
All or some of the foregoing embodiments may be implemented by software, hardware, firmware, or any combination thereof. When software is used to implement embodiments, all or a part of the embodiments may be implemented in a form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or some of the procedures or functions according to embodiments of this disclosure are generated. The computer may be a general-purpose computer, a dedicated computer, a computer network, or another programmable apparatus. The computer instructions may be stored in a computer-readable storage medium, or transmitted by using the computer-readable storage medium. The computer instructions may be transmitted from a website, computer, server, or data center to another website, computer, server, or data center in a wired (for example, a coaxial cable, an optical fiber, or a digital subscriber line (DSL)) or wireless (for example, infrared, radio, or microwave) manner. The computer-readable storage medium may be any usable medium accessible by a computer, or a data storage device, such as a server or a data center, integrating one or more usable media. The usable medium may be a ROM, a RAM, or a magnetic medium, for example, a floppy disk, a hard disk drive, a magnetic tape, a magnetic disk, or an optical medium, for example, a DIGITAL VERSATILE DISC (DVD), or a semiconductor medium, for example, a solid-state disk (SSD).
Number | Date | Country | Kind |
---|---|---|---|
202111398330.7 | Nov 2021 | CN | national |
This is a continuation of International Patent Application No. PCT/CN2022/133468 filed on Nov. 22, 2022, which claims priority to Chinese Patent Application No. 202111398330.7 filed on Nov. 23, 2021. The disclosures of the aforementioned applications are hereby incorporated by reference in their entireties.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2022/133468 | Nov 2022 | WO |
Child | 18670233 | US |