COMMUNICATION METHOD FOR WIRELESS FIDELITY WI-FI SYSTEM AND APPARATUS
20240259124 ยท 2024-08-01
Inventors
Cpc classification
International classification
Abstract
This application provides a communication method for a wireless fidelity Wi-Fi system and an apparatus, and relates to the field of communication technologies, to improve an anti-interference capability of an IoT device, and improve a coverage capability and a wall penetration capability. The communication method for a wireless fidelity Wi-Fi system includes: generating a Wi-Fi frame including a preamble, where a synchronization sequence of the preamble includes at least one extension code, and the extension code includes N symbols generated based on a Barker code, where N=?*M, M is a chip length of the Barker code, and ? is a positive integer; and transmitting the Wi-Fi frame.
Claims
1. A communication method for a wireless fidelity Wi-Fi system, comprising: generating a Wi-Fi frame comprising a preamble, wherein a synchronization sequence of the preamble comprises at least one extension code, and the extension code comprises N symbols generated based on a Barker code, wherein N-?*M, M is a chip length of the Barker code, and a is a positive integer; and transmitting the Wi-Fi frame.
2. The communication method for a wireless fidelity Wi-Fi system according to claim 1, wherein the synchronization sequence comprises: a first group of extension codes, wherein the first group of extension codes comprises a first extension code and a second extension code that is located in first duration after the first extension code; and a second group of extension codes, wherein the second group of extension codes comprises a third extension code and a fourth extension code that is located in second duration after the third extension code; and the second group of extension codes is located after the first group of extension codes, and the first duration is not equal to the second duration.
3. The communication method for a wireless fidelity Wi-Fi system according to claim 1, wherein a PSDU of the Wi-Fi frame comprises an extension header and a payload; the payload comprises a plurality of data code blocks, each data code block comprises a coding field and a check field, and the extension header indicates one or more pieces of the following information: a length of the payload, a coding scheme and a modulation scheme of the coding field, and a type of the check field; before the transmitting the Wi-Fi frame, the method further comprises: performing channel coding on the data code blocks by using the coding scheme; performing rate matching on data code blocks obtained through the channel coding; and modulating data code blocks obtained through the rate matching based on the modulation scheme, wherein the modulation scheme comprises differential modulation; and the transmitting the Wi-Fi frame comprises: spreading the modulated data code blocks and transmitting modulated data code blocks obtained through spreading.
4. The communication method for a wireless fidelity Wi-Fi system according to claim 3, wherein before the modulating data code blocks obtained through the rate matching based on the modulation scheme, the method further comprises: performing differential coding on the data code blocks obtained through the rate matching, wherein the modulation scheme comprises non-differential modulation.
5. The communication method for a wireless fidelity Wi-Fi system according to claim 3, wherein the extension header further comprises a check bit.
6. The communication method for a wireless fidelity Wi-Fi system according to claim 3, wherein the PSDU further comprises an extension start frame delimiter SFD located before the extension header.
7. The communication method for a wireless fidelity Wi-Fi system according to claim 1, wherein a spreading sequence c of the extension code meets the following formula: c=s.Math.b; and the extension code is s=r ?b, wherein b is the Barker code, and r=[+1; ?1].
8. The communication method for a wireless fidelity Wi-Fi system according to claim 1, wherein the extension code is obtained from a spreading sequence generated by spreading an initial sequence based on the Barker code.
9. A communication method for a wireless fidelity Wi-Fi system, comprising: generating a Wi-Fi frame comprising a PSDU, wherein the PSDU comprises an extension header and a payload, the payload comprises a plurality of data code blocks, each data code block comprises a coding field and a check field, and the extension header indicates one or more pieces of the following information: a length of the payload, a coding scheme and a modulation scheme of the coding field, and a type of the check field; performing channel coding on the data code blocks by using the coding scheme; performing rate matching on data code blocks obtained through the channel coding; modulating data code blocks obtained through the rate matching based on the modulation scheme, wherein the modulation scheme comprises differential modulation; and transmitting the modulated data code blocks.
10. The communication method for a wireless fidelity Wi-Fi system according to claim 9, wherein before the modulating the data code blocks obtained through the rate matching based on the modulation scheme, the method further comprises: performing differential coding on the data code blocks obtained through the rate matching, wherein the modulation scheme comprises non-differential modulation.
11. The communication method for a wireless fidelity Wi-Fi system according to claim 9, wherein the extension header further comprises a check bit.
12. The communication method for a wireless fidelity Wi-Fi system according to claim 9, wherein the PSDU further comprises an extension start frame delimiter SFD located before the extension header.
13. A communication method for a wireless fidelity Wi-Fi system, comprising: receiving a Wi-Fi frame, wherein a synchronization sequence of a preamble of the Wi-Fi frame comprises at least one extension code, and the extension code comprises N symbols generated based on a Barker code, wherein N=?*M, M is a chip length of the Barker code, and a is a positive integer; and despreading the Wi-Fi frame based on the Barker code, to obtain the synchronization sequence in the preamble.
14. The communication method for a wireless fidelity Wi-Fi system according to claim 13, wherein the synchronization sequence comprises: a first group of extension codes, wherein the first group of extension codes comprises a first extension code and a second extension code that is located in first duration after the first extension code; and a second group of extension codes, wherein the second group of extension codes comprises a third extension code and a fourth extension code that is located in second duration after the third extension code; and the second group of extension codes is located after the first group of extension codes, and the first duration is not equal to the second duration.
15. The communication method for a wireless fidelity Wi-Fi system according to claim 13, wherein a PSDU of the Wi-Fi frame comprises an extension header and a payload; the payload comprises a plurality of data code blocks, each data code block comprises a coding field and a check field, and the extension header indicates one or more pieces of the following information: a length of the payload, a coding scheme and a modulation scheme of the coding field, and a type of the check field; and the method further comprises: despreading the data code blocks based on the Barker code; demodulating the despread data code blocks based on the modulation scheme, wherein the modulation scheme comprises differential modulation; performing rate de-matching on the demodulated data code blocks; and performing channel decoding on data code blocks obtained through the rate de-matching based on the coding scheme.
16. The communication method for a wireless fidelity Wi-Fi system according to claim 15, wherein before the performing rate de-matching on the demodulated data code blocks, the method further comprises: performing de-differential decoding on the demodulated data code blocks, wherein the modulation scheme comprises non-differential modulation.
17. The communication method for a wireless fidelity Wi-Fi system according to claim 15, wherein the extension header further comprises a check bit.
18. The communication method for a wireless fidelity Wi-Fi system according to claim 15, wherein the PSDU further comprises an extension start frame delimiter SFD located before the extension header.
19. The communication method for a wireless fidelity Wi-Fi system according to claim 13, wherein a spreading sequence c of the extension code meets the following formula: c=s.Math.b; and the extension code is s=r.Math.b, wherein b is the Barker code, and r=[+1; ?1].
20. The communication method for a wireless fidelity Wi-Fi system according to claim 13, wherein the extension code is obtained from a spreading sequence generated by spreading an initial sequence based on the Barker code.
Description
BRIEF DESCRIPTION OF DRAWINGS
[0059]
[0060]
[0061]
[0062]
[0063]
[0064]
[0065]
[0066]
[0067]
[0068]
[0069]
[0070]
[0071]
[0072]
[0073]
[0074]
[0075]
[0076]
[0077]
[0078]
[0079]
[0080]
[0081]
DESCRIPTION OF EMBODIMENTS
[0082] The following describes technical solutions of this application with reference to accompanying drawings.
[0083] All aspects, embodiments, or features are presented in this application by describing a system that may include a plurality of devices, components, modules, and the like. It should be appreciated and understood that, each system may include another device, component, module, and the like, and/or may not include all devices, components, modules, and the like discussed with reference to the accompanying drawings. In addition, a combination of these solutions may be used. In addition, in embodiments of this application, the term example or for example is used to represent giving an example, an illustration, or a description. Any embodiment or design scheme described as an example in this application should not be explained as being more preferred or having more advantages than another embodiment or design scheme. Exactly, the term example is used to present a concept in a specific manner. In embodiments of this application, information (information), signal (signal), message (message), channel (channel), signaling (signaling), and message (message) may be mixed during use sometimes. It should be noted that expressed meanings are consistent when differences are not emphasized. Terms of (of), corresponding (corresponding, relevant) and corresponding (corresponding) may be mixed during use sometimes. It should be noted that expressed meanings are consistent when differences are not emphasized.
[0084] A network architecture and service scenarios described in embodiments of this application are intended to describe the technical solutions in embodiments of this application more clearly, and do not constitute a limitation on the technical solutions provided in embodiments of this application. A person of ordinary skill in the art may know that, with the evolution of the network architecture and the emergence of new service scenarios, the technical solutions provided in embodiments of this application are also applicable to similar technical problems.
[0085] In addition, the terms include, have, and any other variant thereof mentioned in descriptions of this application are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally further includes other steps or units that are not listed, or optionally further includes another step or unit that is inherent to the process, method, product, or device.
[0086] For ease of understanding embodiments of this application, a communication system shown in
[0087] It should be understood that the network device and the terminal device may further include a plurality of components (for example, a processor, an encoder, a decoder, a modulator, a demodulator, a multiplexer, and a de-multiplexer) related to signal sending and receiving.
[0088] For example, the network device may be a device with a wireless transceiver function or a chip that may be disposed in the network device. The network device includes but is not limited to: an access point AP (access point) in a Wi-Fi system, an evolved NodeB (evolved NodeB, eNB), a home NodeB (for example, a home evolved NodeB, or a home NodeB, HNB), a wireless relay node, a wireless backhaul node, a transmission point (transmission and reception point, TRP, or transmission point, TP), or the like. Alternatively, the network device may be a gNB in a new radio (new radio, NR) system, a communication server, a router, a switch, a bridge, a computer, or the like.
[0089] For example, the terminal device may also be referred to as user equipment (user equipment, UE), an access terminal, a subscriber unit, a subscriber station, a mobile station, a mobile console, a remote station, a remote terminal, a mobile device, a user terminal, a wireless communication device, a user agent, a user apparatus, or the like. In embodiments of this application, the terminal device may be a non-access point station (non-access point station, NON-STA or STA), a mobile phone (mobile phone), a tablet computer (Pad), a computer with a wireless transceiver function, a virtual reality (virtual reality, VR) terminal, a wireless terminal in a smart city (smart city), a wireless terminal in a smart home (smart home), or the like. In embodiments of this application, the terminal device and a chip that may be disposed in the terminal device are collectively referred to as a terminal device.
[0090] In the communication system, one network device or one terminal device may be regarded as one node, and communication in any form such as a one-to-one form, a one-to-many form, a many-to-one form, or a many-to-many form may exist between any two or more nodes. For example, one network device may communicate with at least one terminal device and/or at least one network device, and one terminal device may also communicate with at least one network device and/or at least one terminal device. For example, as shown in
[0091] It should be understood that
[0092]
[0093] It should be noted that
[0094] A transmission process (refer to
[0095] A Wi-Fi physical frame transmitted in the foregoing transmission process is also referred to as a Wi-Fi frame. Refer to
[0096] Optionally, the network device 101 and the terminal device 103 in this embodiment of this application may also be referred to as communication apparatuses. For example, the network device 101 is referred to as a first communication apparatus, and the terminal device 103 is referred to as a second communication apparatus. The communication apparatus may be a general-purpose device or a dedicated device. This is not specifically limited in this embodiment of this application.
[0097] Optionally,
[0098] The terminal device 103 includes at least one processor (an example in which one processor 301 is included is used for description in
[0099] The processor 301, the memory 302, and the transceiver 303 are connected through a communication line. The communication line may include a path for transmitting information between the foregoing components.
[0100] The processor 301 may be a general-purpose central processing unit (central processing unit, CPU), a microprocessor, an application-specific integrated circuit (application-specific integrated circuit, ASIC), or one or more integrated circuits configured to control program execution of the solutions in this application. During specific implementation, in an embodiment, the processor 301 may alternatively include a plurality of CPUs, and the processor 301 may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. The processor herein may be one or more devices, circuits, or processing cores configured to process data (for example, computer program instructions).
[0101] The memory 302 may be an apparatus having a storage function. For example, the memory may be a read-only memory (read-only memory, ROM) or another type of static storage device that can store static information and instructions, a random access memory (random access memory, RAM) or another type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (electrically erasable programmable read-only memory, EEPROM), a compact disc read-only memory (compact disc read-only memory, CD-ROM) or another optical disc storage, optical disc storage (including a compact disc, a laser disc, an optical disc, a digital versatile disc, a Blu-ray disc, or the like), a magnetic disk storage medium or another magnetic storage device, or any other medium that can be used to carry or store expected program code in a form of an instruction or a data structure and that can be accessed by a computer, but is not limited thereto. The memory 302 may exist independently, and is connected to the processor 301 through the communication line. The memory 302 may alternatively be integrated with the processor 301.
[0102] The memory 302 is configured to store computer-executable instructions for executing the solutions of this application, and the execution is controlled by the processor 301. Specifically, the processor 301 is configured to execute the computer-executable instructions stored in the memory 302, to implement the communication method for a wireless fidelity Wi-Fi system in embodiments of this application.
[0103] Alternatively, optionally, in this embodiment of this application, the processor 301 may perform a processing-related function in the communication method for a wireless fidelity Wi-Fi system provided in the following embodiments of this application. The transceiver 303 is responsible for communicating with another device or a communication network. This is not specifically limited in this embodiment of this application.
[0104] Optionally, the computer-executable instructions in this embodiment of this application may also be referred to as application program code or computer program code. This is not specifically limited in this embodiment of this application.
[0105] The transceiver 303 may use any apparatus such as a transceiver, and is configured to communicate with another device or a communication network. The transceiver 303 includes a transmitter (transmitter, Tx) and a receiver (receiver, Rx). For example, in this embodiment of this application, the terminal device 103 receives a Wi-Fi frame by using the receiver.
[0106] The output device 304 communicates with the processor 301, and may display information in a plurality of manners. For example, the output device 304 may be a liquid crystal display (liquid crystal display, LCD), a light emitting diode (light emitting diode, LED) display device, a cathode ray tube (cathode ray tube, CRT) display device, or a projector (projector).
[0107] The input device 305 communicates with the processor 301, and may receive an input of a user in a plurality of manners. For example, the input device 305 may be a mouse, a keyboard, a touchscreen device, or a sensing device.
[0108] The network device 101 includes at least one processor (an example in which one processor 201 is included is used for description in
[0109] With reference to the schematic diagram of the structure of the terminal device 103 shown in
[0110] In some embodiments, a function of the processor 301 in
[0111] In some embodiments, a function of the transceiver 303 in
[0112] The antenna 1 and the antenna 2 are configured to transmit and receive electromagnetic wave signals. Each antenna in the terminal device 103 may be configured to cover one or more communication frequency bands. Different antennas may be further multiplexed, to improve antenna utilization. For example, the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In some other embodiments, the antenna may be used in combination with a tuning switch.
[0113] The mobile communication module 150 may provide a solution to wireless communication such as 2G/3G/4G/5G applied to the terminal device 103. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (low noise amplifier, LNA), and the like. The mobile communication module 150 may receive an electromagnetic wave through the antenna 1, perform processing such as filtering or amplification on the received electromagnetic wave, and transmit the electromagnetic wave to a modem processor for demodulation. The mobile communication module 150 may further amplify a signal modulated by the modem processor, and convert the signal into an electromagnetic wave for radiation through the antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 may be disposed in a same device with at least some modules of the processor 110.
[0114] The wireless communication module 160 may provide a solution to wireless communication such as a wireless local area network (wireless local area network, WLAN) (such as a Wi-Fi network), Bluetooth (Bluetooth, BT), a global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication (near field communication, NFC), and an infrared technology (infrared, IR) applied to the terminal device 103. The wireless communication module 160 may be one or more components integrating at least one communication processing module. The wireless communication module 160 receives an electromagnetic wave through the antenna 2, performs frequency modulation and filtering processing on an electromagnetic wave signal, and sends a processed signal to the processor 110. The wireless communication module 160 may further receive a to-be-sent signal from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into an electromagnetic wave for radiation through the antenna 2. When the terminal device 103 is a first device, the wireless communication module 160 may provide a solution to NFC wireless communication applied to the terminal device 103, which means that the first device includes an NFC chip. The NFC chip may improve an NFC wireless communication function. When the terminal device 103 is a second device, the wireless communication module 160 may provide a solution to NFC wireless communication applied to the terminal device 103, which means that the first device includes an electronic label (for example, a radio frequency identification (radio frequency identification, RFID) label). When approaching the electronic label, an NFC chip of another device may perform NFC wireless communication with the second device.
[0115] In some embodiments, the antenna 1 of the terminal device 103 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the terminal device 103 can communicate with a network and another device by using a wireless communication technology. The wireless communication technology may include a global system for mobile communication (global system for mobile communication, GSM), a general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, a GNSS, a WLAN, NFC, FM, or an IR technology. The GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a BeiDou navigation satellite system (BeiDou navigation satellite system, BDS), a quasi-zenith satellite system (quasi-zenith satellite system, QZSS), or a satellite based augmentation system (satellite based augmentation system, SBAS).
[0116] In some embodiments, a function of the memory 302 in
[0117] In some embodiments, a function of the output device 304 in
[0118] In some embodiments, a function of the input device 305 in
[0119] In some embodiments, as shown in
[0120] It may be understood that the structure shown in
[0121] With reference to
[0122] It should be noted that names of messages between network elements, names of parameters in the messages, or the like in the following embodiments of this application are merely examples, and there may be other names in a specific implementation. This is not specifically limited in embodiments of this application.
[0123]
[0124] S101. A network device generates a Wi-Fi frame including a PLCP preamble.
[0125] A synchronization sequence of the PLCP preamble includes at least one extension code, and the extension code includes N symbols generated based on a Barker code, where N=?*M, M is a chip length of the Barker code, and ? is a positive integer. For a Barker code having 11 chips, M=11, and ?=1, 2, 3, . . . , n.
[0126] Specifically, a generation manner of the extension code includes but is not limited to the following manners:
[0127] Manner 1: A spreading sequence c of the extension code meets the following formula: c=s.Math.b.
[0128] The extension code s is s=r.Math.b, where b is the Barker code, and r=[+1; ?1]. Specifically, the Barker code is used as a base code to construct a spreading sequence of a new extension code, which is as follows: c=s.Math.b. A sequence of the base code (a Barker code specified in the 802.11b standard) is b=[+1,+1,+1,?1,?1,?1,+1,?1,?1,+1,?1]. The extension code is s, and a construction method of the extension code includes but is not limited to the following method. A symbol length of s is recorded as N, the extension code s=r.Math.b is constructed based on the Barker code and an anti-periodic flipping code r, and s=[+1,+1,+1,?1,?1,?1,+1,?1,?1,+1,?1,?1,?1,?1,+1,+1,+1,?1,+1,+1,?1,+1], where ?=2. A main function of a sequence r=[+1; ?1] of the anti-periodic flipping code is to avoid periodicity of a code sequence, so as to prevent damage to a power spectrum density and impact on peak-to-average ratio performance.
[0129] Manner 2: The extension code may be obtained from a spreading sequence generated by spreading an initial sequence based on the Barker code. For example, the extension code is constructed based on searching. Generally, a synchronization sequence in a preamble is randomly scrambled and then spread and transmitted based on a Barker code. Searching may be performed by using cross-correlation and auto-correlation properties of a transmitted sequence as performance evaluation bases, and a segment of continuous sequences with optimal performance is found from the transmitted sequence as an extension code. A detailed process is as follows. [0130] S1. Generate a scrambling code sequence R(i) based on a scrambling code generation polynomial G(z)=z.sup.?7+z.sup.?4+1 in the 802.11b standard. [0131] S2. Perform scrambling on an initial sequence (a 128-bit all-1 sequence or a 56-bit all-0 sequence) whose length is L.
[0132] C.sub.ACQ(i) is an initial sequence (for example, which may be a synchronization sequence of a conventional preamble) before scrambling, and R(i) is the scrambling code sequence generated in step S1. [0133] S3. Perform Barker code spreading on a scrambled sequence C.sub.R-ACQ(i).
[0135] The search criterion is as follows: If a larger peak value y.sub.first of a main lobe of a selected sequence indicates a smaller peak value y.sub.secend of a side lobe, and a ratio
of the peak value of the main lobe to the peak value of the side lobe is greater than a threshold TH=?*N*11(0<?<1, which is configurable based on a performance requirement), it is determined that the selected sequence meets a requirement.
[0136] Based on the search criterion, a Monte Carlo method is used to search for an extension code whose length is N*11 in a chip sequence of C.sub.R-ACQ-barker(1). A pseudo code is described as follows:
[0137] Take out a sequence C.sub.s-ACQ-barker (j) corresponding to a position g:
[0138] Calculate an auto-correlation function of the sequence C.sub.s-ACQ-barker (j): y.sub.corr(k):
[0139] Search for a main lobe value y.sub.first and a side lobe value y.sub.second, and a ratio R.sub.ratio:
Determine whether a threshold is met:
[0140] If the formula is met, the extension code is found, and the searching is stopped;
[0141] If the formula is not met, continue to perform searching: g=g+1;
[0142] End
[0143] Based on this step, a value of g may be obtained, that is, a symbol position corresponding to the extension code in the chip sequence of C.sub.R-ACQ(i).
[0144] S5. Take out a symbol s(n) from a symbol sequence C.sub.R-ACQ(i) based on g, that is, a constructed extension code.
[0145] S6. Construct a spreading sequence c based on the extension code s(n) and a Barker code. c=s.Math.b;
[0146] For example, the following segment of sequence is found as the extension code s.
[0147] In this way, when the synchronization sequence of the preamble constructed based on the foregoing manner includes an extension code (for example, ?=2) constructed based on the manner 1 or manner 2, when the network device serving as a sender transmits the Wi-Fi frame and spreads the synchronization sequence, because the extension code in the synchronization sequence is generated based on the Barker code, that is, symbols of the extension code have coherence, 242 chips generated after Barker code (11 bits) spreading also have coherence superposition performance. Refer to
[0148] Specifically, based on the synchronization code segment constructed in the foregoing manner 1 or manner 2, for a structure of a designed Wi-Fi frame, refer to
[0149] An extension code is placed at a fixed position of a synchronization sequence of the Wi-Fi frame shown in
[0150] Specifically, the network device serving as a transmitter generates a standard Barker code-based synchronization sequence based on a requirement of the 802.11b standard, scrambles the sequence, and records a scrambled sequence as C.sub.R-ACQ(i), i=0,1, . . . , L?1; L=128 or 56. In this case, specific steps of constructing the Wi-Fi frame are as follows: In step S1, a scrambling code sequence R(i) is generated based on a scrambling code generation polynomial G(z)=z.sup.?7+z.sup.?4+1 in 802.11b. In step S2, scrambling is performed on an all-1 or all-0 synchronization sequence (symbol) whose length is L.
[0151] C.sub.ACQ(i) is an original all-1 or all-0 symbol sequence before scrambling, and R(i) is a scrambled sequence generated in S1. In step S3, a segment of sequence in the original sequence C.sub.R-ACQ(i) is replaced with a spreading sequence C.sub.0,i=0,1, . . . , J?1; of an extension code, where a start position S for replacement and a replacement sequence length J are configurable, the sequence length J is selected based on a performance requirement, and a sequence after replacement is recorded as C.sub.hybrid(i):
[0152] j is an index of a symbol of the spreading sequence of the extension code, and S is a start position of replacement of the spreading sequence of the extension code in the original sequence C.sub.R-ACQ(i). In this case, the network device serving as the transmitter performs spreading (Barker spreading) based on a protocol requirement in a process of transmitting the Wi-Fi frame in a subsequent step, that is, performs Barker code spreading on the replaced symbol sequence C.sub.hybrid(i), to generate a spreading sequence:
[0153] In this way, because the terminal device serving as a recipient has known the sequence C.sub.hybrid(i), the terminal device may perform synchronization position detection based on the sequence C.sub.hybrid(i) by using a coherence algorithm, so that coherence combination performance shown in
[0154] In another example, a synchronization sequence of the Wi-Fi frame shown in
[0155] Specifically, the network device serving as a transmitter generates a standard Barker code-based synchronization sequence based on a requirement of the 802.11b standard, scrambles the sequence, and records a scrambled sequence as C.sub.R-ACQ(i), i=0,1, . . . , L?1; L=128 or 56. In this case, specific steps of constructing the Wi-Fi frame are as follows: In step S1, a scrambling code sequence R(i) is generated based on a scrambling code generation polynomial G(z)=z.sup.?7+z.sup.?4+1 in 802.11b. In step S2, scrambling is performed on an all-1 or all-0 synchronization sequence (symbol) whose length is L.
[0156] C.sub.ACQ(i) is an original all-1 or all-0 symbol sequence before scrambling, and R(i) is a scrambled sequence generated in S1. In step S3, k segments of sequences in the original sequence C.sub.R-ACQ(i) are replaced with a spreading sequence C.sub.k=p.Math.c,k=0,1, . . . , K?1, K?[0,1,2,3,4] of an extension code, where a start position S for replacement, a replacement sequence length J, and the quantity K of segments are configurable, the sequence length J and the quantity K of segments are selected based on a performance requirement, and a sequence after replacement is recorded as C.sub.hybrid(i):
[0157] j is an index of a symbol of the spreading sequence of the extension code, and S is a start position of replacement of the spreading sequence of the extension code in the original sequence C.sub.R-ACQ(i). In this case, the network device serving as the transmitter performs spreading (Barker spreading) based on a protocol requirement in a process of transmitting the Wi-Fi frame in a subsequent step, that is, performs Barker code spreading on the replaced symbol sequence C.sub.hybrid(i), to generate a spreading sequence:
[0158] In this way, because the terminal device serving as a recipient has known the sequence C.sub.hybrid(i), the terminal device may perform synchronization position detection based on the sequence C.sub.hybrid(i) by using a coherence algorithm, so that coherence combination performance shown in
[0159] In another example, a synchronization sequence of the Wi-Fi frame shown in FIG. 11 includes two groups of extension codes, and each group of extension codes includes two extension codes. A spreading sequence of the first group of extension codes is C.sub.0=[C.sub.ACQ0, C.sub.eSFD0], a spreading sequence of a first extension code in the first group of extension codes is C.sub.ACQ0=+1.Math.c, a spreading sequence of a second extension code in the first group of synchronization code segments is C.sub.eSFD0=?1.Math.c, and an interval between the two sequences is first duration d.sub.0 (for d.sub.0, 5 ?s is recommended); and a spreading sequence of the second group of extension codes is C.sub.1=[C.sub.ACQ1, C.sub.eSFD1], a spreading sequence of a third extension code in the second group of extension codes is C.sub.ACQ1=+1.Math.c, a spreading sequence of a fourth extension code in the second group of extension codes is C.sub.eSFD1=?1.Math.c, and an interval between the two sequences is second duration d.sub.1 (for d), 7 ?s is recommended). In addition, d.sub.0?d.sub.1), which is used to avoid periodicity of spreading sequences of the two groups of extension codes.
[0160] Specifically, the network device serving as a transmitter generates a standard Barker code-based synchronization sequence based on a requirement of the 802.11b standard, scrambles the sequence, and records a scrambled sequence as C.sub.R-ACQ(i), i=0,1, . . . , L?1; L=128 or 56. In this case, specific steps of constructing the Wi-Fi frame are as follows: In step S1, a scrambling code sequence R(i) is generated based on a scrambling code generation polynomial G(z)=z.sup.?7+z.sup.?4+1 in 802.11b. In step S2, scrambling is performed on an all-1 or all-0 synchronization sequence (symbol) whose length is L.
[0161] C.sub.ACQ(i) is an original all-1 or all-0 symbol sequence before scrambling, and R(i) is a scrambled sequence generated in S1. In step S3, 2 groups of sequences in the original sequence C.sub.R-ACQ(i) are replaced with a spreading sequence C.sub.k(j), j=0,1, . . . ,J?1;k=0, 1 of an extension code, where a start position S for replacement and a replacement sequence length J are configurable, the sequence length J is selected based on a performance requirement, and a sequence after replacement is recorded as C.sub.hybrid(i);
[0162] j is an index of a symbol of the spreading sequence of the extension code, and S is a start position of replacement of the spreading sequence of the extension code in the original sequence C.sub.R-ACQ(i).
[0163] In this way, because the terminal device serving as a recipient has known the sequence C.sub.hybrid(i), the terminal device may perform synchronization position detection based on the sequence C.sub.hybrid(i) by using a coherence algorithm, so that coherence combination performance shown in
[0167] In this application, one or more segments of an extension code provided in this embodiment of this application are mainly used to replace a synchronization sequence of a preamble of a Wi-Fi frame. Because the extension code is generated based on a Barker code, symbols of the extension code are correlated. In this way, in a Wi-Fi frame transmission process, after the synchronization sequence is spread by using the Barker code, chips formed by spreading different symbols included in the extension code are also correlated. Compared with the current technology (symbols in a current synchronization sequence are discrete points, and therefore, only chips formed by spreading each symbol are correlated), a longer chip length and a longer period can be correlated and superimposed, so that a higher detection peak value can be obtained, thereby improving an anti-interference capability of an IoT device, and improving a coverage capability and a wall penetration capability.
[0168] In the communication method for a wireless fidelity Wi-Fi system provided in this embodiment of this application, an example in which a network device transmits a Wi-Fi frame to a terminal device is used for description. In this example, an example in which the network device transmits a payload of the Wi-Fi frame to the terminal device is mainly used for description. With reference to
[0169] Refer to
[0171] The data code blocks are mainly used to segment, based on a specific rule, scrambled information bits from a MAC source into coding fields that meet a coding rule, and add a check field (for example, a check field of cyclic redundancy check (cyclic redundancy check, CRC)) to each coding field obtained through segmentation, so that a recipient uses the check field to assist in decoding and check data. In step 201, the channel coding may specifically include PLCP coding, polar (Polar) coding, and the like. For example, polar coding may be performed on the data code blocks by using a coding rule of a polar (Polar) encoder. [0172] 202. The network device performs rate matching on data code blocks obtained through the channel coding.
[0173] Specifically, the data code obtained through the channel coding may be matched to a physical resource in a manner of duplication, puncturing, or truncation. [0174] 203. The network device performs differential coding on the data code blocks obtained through the rate matching. [0175] 204. The network device modulates the data code blocks after the differential coding based on the modulation scheme.
[0176] As shown in
[0178] Specifically, in step 205, the data code blocks may be specifically transmitted by a radio frequency front end by using only an antenna after spreading. [0179] 206. The terminal device despreads the data code block based on a Barker code. [0180] 207. The terminal device demodulates the despread data code blocks based on the modulation scheme. [0181] 208. The terminal device performs de-differential decoding on the demodulated data code blocks.
[0182] Corresponding to inverse processes of the foregoing steps 203 and 204, in step 207 and step 208, when the modulation scheme uses differential modulation, LLR calculation of the received data code blocks is implemented by using a de-differential function and a demodulation function together. When the modulation scheme includes non-differential modulation, rate de-matching is directly performed on a result obtained after the data code blocks are demodulated. [0183] 209. The terminal device performs rate de-matching on the demodulated data code blocks.
[0184] For example, an input data length that meets a polar decoding requirement is generated through de-duplication, de-puncturing, or de-truncation. [0185] 210. The terminal device performs channel decoding on data code blocks obtained through the rate de-matching based on the coding scheme.
[0186] Polar decoding decodes an input LLR based on a specific decoding algorithm, to obtain the coding fields through decoding. Finally, the coding fields obtained through channel decoding are checked (for example, CRC check may be performed based on the check field CRC after each coding field), and code block combination is performed on several coding fields whose check results are correct, to restore the information bits of a transmitter.
[0187] In this way, channel coding is mainly introduced to a link of a transmitter for transmission of the payload of the Wi-Fi frame, which is more conducive to improving transmission quality in a low SNR scenario.
[0188] In an example, the Wi-Fi frame structure provided in this embodiment of this application may have both the preamble shown in
[0189] Table 1 provides values of the parameters in the eheader.
TABLE-US-00001 TABLE 1 Parameter Value (value) eLength 0 to 2{circumflex over ()}.sup.12?1, indicating a length of the payload, where eLength = Legacy LENGTH-eheader LENGTH, and the Legacy LENGTH is a payload length urrently specified in the 802.11b protocol. Because the eheader uses polar coding (? bit rate coding is used, and a code length of 24 bits after coding is 48 bits), the eheader LENGTH occupies 48 ?s of the PSDU. eMod Payload modulation scheme indication: 0: 512 Kbps DBPSK 1: 1 Mbps DQPSK 2: 2.75 Mbps CCK55 3: 5.5 Mbps CCK11 Reserved A reserved bit eCRC 8 bits, used to check the eheader
[0190] It should be noted that the service (SERVICE) field of the header in
TABLE-US-00002 TABLE 2 b0 b1 b2 b3 b4 b5 b6 b7 Reserved Reserved Locked Mod. Reserved Reserved Reserved Length (reserved) clocks bit Selection Bit extension bit (locked (modulation (length clocks bit) scheme selection) extension bit)
[0191] Because the b3 field in Table 2 is not used in the 802.11b standard currently, the bit in the b3 field may be used to indicate whether the Wi-Fi frame structure provided in this embodiment of this application is used. When the bit is configured as 0, it indicates a conventional 802.11b frame structure, and when the bit is configured as 1, it indicates the Wi-Fi frame structure provided in this embodiment of this application.
[0192] In addition, the eheader is designed to send information such as a data length/modulation signaling by using the first 48 bits of the PSDU. Therefore, a polar coding field and a CRC check field that are smaller and formed by using a polar coding scheme may be used for sending, so as to adapt to operation in an extremely low SNR scenario.
[0193] In an example,
[0194] Specifically, the eheader may include an elenghth field (12 bits), indicating a length of the payload; an eMOD field (2 bits), indicating a modulation scheme of the payload; an eCoding field (1 bit), indicating a coding scheme used by the payload; a reserved field (reserved, 1 bit); and an eCRC field (8 bits), used to check the eheader.
[0195] Table 3 provides values of the parameters in the eheader.
TABLE-US-00003 TABLE 3 Parameter Value (value) eLength 0 to 2{circumflex over ()}.sup.12?1, indicating a length of the payload, eLength = Legacy LENGTH-eSFD LENGTH - eheader LENGTH, and the Legacy LENGTH is a payload length currently specified in the 802.11b protocol. For example, the eheader uses polar coding (? bit rate coding is used, and a code length of 24 bits after coding is 48 bits), and the eheader LENGTH occupies 48 ?s of the PSDU; and the eSFD uses polar coding (? bit rate coding is used, and a code length of 24 bits after coding is 48 bits), and the eSFD LENGTH occupies 48 ?s of the PSDU. eMod Payload modulation scheme indication: 0: 512 Kbps DBPSK 1: 1 Mbps DQPSK 2: 2.75 Mbps CCK55 3: 5.5 Mbps CCK11 eCoding 0: polar 1: LDPC Reserved A reserved bit eCRC 8 bits, used to check the eheader
[0196] The extension start frame delimiter SFD may include an eSFD sequence (16 bits) and eCRC (8 bits), which indicate that the eheader is sent subsequently. For example, a sequence in the eSFD is [1000110011101111], and the eCRC is [11000001].
[0197] It should be noted that, refer to
[0198] In addition, the eSFD is designed to be sent by using the first 48 bits of the PSDU. Therefore, the eSFD may be sent by using a polar coding field and a CRC check field that are smaller and formed by using a polar coding scheme, to adapt to operation in an extremely low SNR scenario.
[0199] For the terminal device serving as the recipient, in a SYNC phase (that is, a phase of receiving a synchronization sequence), a conventional Wi-Fi frame is detected and the Wi-Fi frame provided in this embodiment of this application is detected, that is, detection of an ACQ (that is, a current synchronization sequence)/SFD/header and detection of an eACQ (that is, a synchronization sequence including an extension code)/eSFD/eheader are simultaneously performed. In this case, when the conventional Wi-Fi frame is successfully detected (that is, the ACQ/SFD/header are all successfully detected), if b3=0, data demodulation and decoding of the payload continue to be performed in a conventional manner, and detection of the Wi-Fi frame provided in this embodiment of this application is stopped; or if b3=1, the frame is the Wi-Fi frame provided in this embodiment of this application, detection of the Wi-Fi frame provided in this embodiment of this application is stopped, and data demodulation and decoding of the payload are performed after waiting for 24 ?s. In addition, detection of the conventional Wi-Fi frame is stopped. If the Wi-Fi frame provided in this embodiment of this application is successfully detected (the eACQ/eSFD/eheader are all successfully detected), data demodulation and decoding of the payload are performed in the manner provided in this embodiment of this application. In addition, when the eheader is successfully detected, detection of the conventional Wi-Fi frame is immediately stopped. Although the data code blocks in the payloads in
[0200] It may be understood that, to implement the foregoing functions, the network device and the terminal device include 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 operations of the examples described in embodiments disclosed in this specification, this application can be implemented by 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 application.
[0201] In embodiments of this application, functional modules of the network device may be obtained through division based on the foregoing method example. For example, the functional modules may be obtained through division corresponding to various functions, or two or more functions may be integrated into one processing module. The integrated 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 application, module division is an example, and is merely logical function division. In an actual implementation, another division manner may be used.
[0202] For example, in a case that each functional module is obtained through division in an integrated manner,
[0203] In a possible implementation, the communication apparatus shown in
[0204] In a possible implementation, the synchronization sequence includes: a first group of extension codes, where the first group of extension codes includes a first extension code and a second extension code that is located in first duration after the first extension code; and a second group of extension codes, where the second group of extension codes includes a third extension code and a fourth extension code that is located in second duration after the third extension code; and the second group of extension codes is located after the first group of extension codes, and the first duration is not equal to the second duration.
[0205] In a possible implementation, a PSDU of the Wi-Fi frame includes an extension header and a payload, the payload includes a plurality of data code blocks, each data code block includes a coding field and a check field, and the extension header indicates one or more pieces of the following information: a length of the payload, a coding scheme and a modulation scheme of the coding field, and a type of the check field; the processing unit 1702 is further configured to: perform channel coding on the data code blocks by using the coding scheme; perform rate matching on data code blocks obtained through the channel coding; and modulate data code blocks obtained through the rate matching based on the modulation scheme, where the modulation scheme includes differential modulation; and the sending unit 1701 is configured to spread the modulated data code blocks and then transmit modulated data code blocks obtained through spreading.
[0206] In a possible implementation, the processor is further configured to perform differential coding on the modulated data code blocks, where the modulation scheme includes non-differential modulation.
[0207] In a possible implementation, the extension header further includes a check bit.
[0208] In a possible implementation, the PSDU further includes an extension start frame delimiter SFD located before the extension header.
[0209] In a possible implementation, a spreading sequence c of the extension code meets the following formula: c=s.Math.b; and the extension code is s=r.Math.b, where b is the Barker code, and r=[+1; ?1].
[0210] In a possible implementation, the extension code is obtained from a spreading sequence generated by spreading an initial sequence based on the Barker code.
[0211] All related content of the operations in the foregoing method embodiments may be cited in function descriptions of the corresponding functional modules. Details are not described herein again.
[0212] In this embodiment, the communication apparatus is presented in a form that the functional modules are obtained through division in an integrated manner. The module herein may be an ASIC, a circuit, a processor that executes one or more software or firmware programs, a memory, an integrated logic circuit, and/or another component that can provide the foregoing functions. In a simple embodiment, a person skilled in the art may figure out that the communication apparatus may be in the form of the network device shown in
[0213] For example, the processor 201 in
[0214] For example, functions/implementation processes of the sending unit 1701 and the processing unit 1702 in
[0215] The communication apparatus provided in this embodiment may perform the foregoing communication method for a wireless fidelity Wi-Fi system. Therefore, for technical effects that can be achieved by the communication apparatus, refer to the foregoing method embodiments. Details are not described herein again.
[0216] In embodiments of this application, functional modules of the terminal device may be obtained through division based on the foregoing method example. For example, the functional modules may be obtained through division corresponding to various functions, or two or more functions may be integrated into one processing module. The integrated 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 application, module division is an example, and is merely logical function division. In an actual implementation, another division manner may be used.
[0217] For example, in a case that each functional module is obtained through division in an integrated manner,
[0218] In a possible implementation, the communication apparatus shown in
[0219] In a possible implementation, the synchronization sequence includes: a first group of extension codes, where the first group of extension codes includes a first extension code and a second extension code that is located in first duration after the first extension code; and a second group of extension codes, where the second group of extension codes includes a third extension code and a fourth extension code that is located in second duration after the third extension code; and the second group of extension codes is located after the first group of extension codes, and the first duration is not equal to the second duration.
[0220] In a possible implementation, a PSDU of the Wi-Fi frame includes an extension header and a payload, the payload includes a plurality of data code blocks, each data code block includes a coding field and a check field, and the extension header indicates one or more pieces of the following information: a length of the payload, a coding scheme and a modulation scheme of the coding field, and a type of the check field; and the processing unit 1802 is further configured to: despread the data code blocks based on the Barker code; demodulate the despread data code blocks based on the modulation scheme, where the modulation scheme includes differential modulation; perform rate de-matching on the demodulated data code blocks; and perform channel decoding on data code blocks obtained through the rate de-matching based on the coding scheme.
[0221] In a possible implementation, the processor is further configured to perform de-differential decoding on the despread data code block, where the modulation scheme includes non-differential modulation.
[0222] In a possible implementation, the extension header further includes a check bit.
[0223] In a possible implementation, the PSDU further includes an extension start frame delimiter SFD located before the extension header.
[0224] In a possible implementation, a spreading sequence c of the extension code meets the following formula: c=s.Math.b; and the extension code is s=r.Math.b, where b is the Barker code, and r=[+1; ?1].
[0225] In a possible implementation, the extension code is obtained from a spreading sequence generated by spreading an initial sequence based on the Barker code.
[0226] All related content of the operations in the foregoing method embodiments may be cited in function descriptions of the corresponding functional modules. Details are not described herein again.
[0227] In this embodiment, the communication apparatus is presented in a form that the functional modules are obtained through division in an integrated manner. The module herein may be an ASIC, a circuit, a processor that executes one or more software or firmware programs, a memory, an integrated logic circuit, and/or another component that can provide the foregoing functions. In a simple embodiment, a person skilled in the art may figure out that the communication apparatus may be in the form of the terminal device shown in
[0228] For example, the processor 201 in
[0229] For example, functions/implementation processes of the receiving unit 1801 and the processing unit 1802 in
[0230] The communication apparatus provided in this embodiment may perform the foregoing communication method for a wireless fidelity Wi-Fi system. Therefore, for technical effects that can be achieved by the communication apparatus, refer to the foregoing method embodiments. Details are not described herein again. For example, in a case that each functional module is obtained through division in an integrated manner,
[0231] In a possible implementation, the communication apparatus shown in
[0232] In a possible implementation, the processing unit 1902 is further configured to perform differential coding on the data code blocks obtained through the rate matching, where the modulation scheme includes non-differential modulation.
[0233] In a possible implementation, the extension header further includes a check bit.
[0234] In a possible implementation, the PSDU further includes an extension start frame delimiter SFD located before the extension header.
[0235] All related content of the operations in the foregoing method embodiments may be cited in function descriptions of the corresponding functional modules. Details are not described herein again.
[0236] In this embodiment, the communication apparatus is presented in a form that the functional modules are obtained through division in an integrated manner. The module herein may be an ASIC, a circuit, a processor that executes one or more software or firmware programs, a memory, an integrated logic circuit, and/or another component that can provide the foregoing functions. In a simple embodiment, a person skilled in the art may figure out that the communication apparatus may be in the form of the network device shown in
[0237] For example, the processor 201 in
[0238] For example, functions/implementation processes of the sending unit 1901 and the processing unit 1902 in
[0239] The communication apparatus provided in this embodiment may perform the foregoing communication method for a wireless fidelity Wi-Fi system. Therefore, for technical effects that can be achieved by the communication apparatus, refer to the foregoing method embodiments. Details are not described herein again.
[0240] In embodiments of this application, functional modules of the terminal device may be obtained through division based on the foregoing method example. For example, the functional modules may be obtained through division corresponding to various functions, or two or more functions may be integrated into one processing module. The integrated 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 application, module division is an example, and is merely logical function division. In an actual implementation, another division manner may be used.
[0241] For example, in a case that each functional module is obtained through division in an integrated manner,
[0242] In a possible implementation, the communication apparatus shown in
[0243] In a possible implementation, the processing unit 2002 is further configured to perform de-differential decoding on the demodulated data code block, and the modulation scheme includes non-differential modulation.
[0244] In a possible implementation, the extension header further includes a check bit.
[0245] In a possible implementation, the PSDU further includes an extension start frame delimiter SFD located before the extension header. All related content of the operations in the foregoing method embodiments may be cited in function descriptions of the corresponding functional modules. Details are not described herein again.
[0246] In this embodiment, the communication apparatus is presented in a form that the functional modules are obtained through division in an integrated manner. The module herein may be an ASIC, a circuit, a processor that executes one or more software or firmware programs, a memory, an integrated logic circuit, and/or another component that can provide the foregoing functions. In a simple embodiment, a person skilled in the art may figure out that the communication apparatus may be in the form of the terminal device shown in
[0247] For example, the processor 201 in
[0248] For example, functions/implementation processes of the receiving unit 2001 and the processing unit 2002 in
[0249] The communication apparatus provided in this embodiment may perform the foregoing communication method for a wireless fidelity Wi-Fi system. Therefore, for technical effects that can be achieved by the communication apparatus, refer to the foregoing method embodiments. Details are not described herein again.
[0250] Optionally, an embodiment of this application further provides a communication apparatus (for example, the communication apparatus may be a chip or a chip system). The communication apparatus includes a processor and an interface, and the processor is configured to read instructions to perform the method in any one of the foregoing method embodiments. In a possible design, the communication apparatus further includes a memory. The memory is configured to store necessary program instructions and data. The processor may invoke program code stored in the memory, to indicate the communication apparatus to perform the method in any one of the foregoing method embodiments. Certainly, the communication apparatus may not include a memory. When the communication apparatus is a chip system, the communication device may include a chip, or may include a chip and another discrete component. This is not specifically limited in this embodiment of this application.
[0251] Specifically, when the second communication apparatus is a terminal device, and the first communication apparatus is a network device, the sending unit 1702 and the sending unit 1902 may be transmitters when transmitting information, the receiving unit 1802 and the receiving unit 2002 may be receivers when receiving information, and a transceiver unit may be a transceiver. The transceiver, the transmitter, or the receiver may be a radio frequency circuit. When the first communication apparatus and the second communication apparatus each include a storage unit, the storage unit is configured to store computer instructions. The processor is communicatively connected to the memory, and the processor executes the computer instructions stored in the memory, to cause the first communication apparatus and the second communication apparatus to perform the method in the method embodiments. The processor may be a general-purpose central processing unit (CPU), a microprocessor, or an application-specific integrated circuit (application-specific integrated circuit, ASIC).
[0252] When the first communication apparatus and the second communication apparatus are chips, the sending unit 1702 and the receiving unit 1802 may be input and/or output interfaces, pins, circuits, or the like. The processing unit 1701 and the processing unit 1801 may execute computer-executable instructions stored in the storage unit, to cause a chip in the first communication apparatus and a chip in the second communication apparatus to perform the method in the method embodiments. Optionally, the storage unit is a storage unit in the chip, for example, a register or a cache. Alternatively, the storage unit may be a storage unit that is located in the terminal device or the network device and that is located outside the chip, for example, a read-only memory (read-only memory, ROM) or another type of static storage device that can store static information and instructions, or a random access memory (random access memory, RAM).
[0253] All or some of the foregoing embodiments may be implemented by using software, hardware, firmware, or any combination thereof. When a software program is used to implement the foregoing embodiments, all or some 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, the procedure or functions according to embodiments of this application are all or partially generated. The computer may be a general-purpose computer, a dedicated computer, a computer network, or other programmable apparatuses. The computer instructions may be stored in a computer-readable storage medium or may be transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, 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 (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 magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid-state drive (solid-state drive, SSD)). In embodiments of this application, the computer may include the apparatus described above.
[0254] Although this application is described with reference to the embodiments, in a process of implementing this application that claims protection, a person skilled in the art may understand and implement another variation of the disclosed embodiments by viewing the accompanying drawings, disclosed content, and appended claims. In the claims, the word comprising (comprising) does not exclude another component or another step, and a or one does not exclude a plurality. A single processor or another unit may implement several functions listed in the claims. Some measures are recorded in dependent claims that are different from each other, but this does not mean that these measures cannot be combined to produce a better effect.
[0255] Although this application is described with reference to specific features and embodiments thereof, it is apparent that various modifications and combinations may be made to the specific features and embodiments without departing from the spirit and scope of this application. Correspondingly, this specification and the accompanying drawings are merely example descriptions of this application defined by the appended claims, and are considered as covering any or all of modifications, variations, combinations or equivalents within the scope of this application. It is apparent that a person skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. This application is intended to cover these modifications and variations provided that the modifications and variations to this application fall within the scope of the claims of this application and equivalent technologies thereof.