Bit sequence preprocessing method and OOK symbol generation method and device

CN121713451APending Publication Date: 2026-03-20GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380101047.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-31
Publication Date
2026-03-20

AI Technical Summary

Technical Problem

The prior art is difficult to ensure that the OOK symbols are transmitted smoothly when the number of effective OOK symbols to be transmitted is not an integer multiple of M.

Method used

By pre-processing the first bit sequence of length L, a second bit sequence of length L' is obtained, so that it can be divided into at least one sequence segment of length M is OOK modulated, and a third type of symbol is added to ensure that each sequence segment contains M OOK symbols.

Benefits of technology

Ensure that the OOK symbols can be transmitted smoothly within any preset time, even if the first bit sequence length is not an integer multiple of M.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121713451A_ABST
    Figure CN121713451A_ABST
Patent Text Reader

Abstract

The invention discloses a bit sequence preprocessing method and an OOK symbol generation method and device, and belongs to the technical field of Internet of Things. The method comprises the following steps: acquiring a first bit sequence of which the length is a first number L; under the condition that the first number L is not the integral multiple of the second number M, processing the first bit sequence into a second bit sequence of which the length is a third number L '; wherein the second bit sequence is used for being divided into at least one sequence segment, the length of which is a second number M, for OOK modulation, and M OOK symbols corresponding to each sequence segment are obtained.
Need to check novelty before this filing date? Find Prior Art

Description

Bit sequence preprocessing method, OOK symbol generation method and device Technical Field

[0001] The embodiments of the present application relate to the field of Internet of Things, and in particular to a method for preprocessing a bit sequence, and a method and device for generating on-off keying (OOK) symbols. Background Art

[0002] The 3rd Generation Partnership Project (3GPP) has studied the Multicarrier On Off Keying (MC-OOK) waveform, which supports the transmission of M OOK symbols in one Orthogonal Frequency Division Multiplexing (OFDM) symbol.

[0003] How to ensure the smooth transmission of OOK symbols is an unresolved technical problem.

[0004] Summary of the Invention

[0005] The present invention provides a method for preprocessing a bit sequence and a method and device for generating OOK symbols. The technical solution is as follows:

[0006] In one aspect, an embodiment of the present application provides a method for preprocessing a bit sequence, the method being performed by a sending device, the method comprising:

[0007] Obtaining a first bit sequence having a length of a first number L;

[0008] When the first number L is not an integer multiple of the second number M, the first bit sequence is processed into a second bit sequence having a length of a third number L′;

[0009] The second bit sequence is used to be divided into at least one sequence segment with a length of a second number M for OOK modulation, so as to obtain M OOK symbols corresponding to each sequence segment.

[0010] On the other hand, an embodiment of the present application provides a method for generating OOK symbols, the method being performed by a sending device, the method comprising:

[0011] Obtaining a first bit sequence having a length of a first number L;

[0012] Divide the first bit sequence into at least one sequence segment according to a second number M, and perform OOK modulation to obtain an OOK symbol sequence corresponding to each sequence segment, where the OOK symbol sequence includes first-type symbols and / or second-type symbols, where the first-type symbols correspond to bits having a first value, and the second-type symbols correspond to bits having a second value;

[0013] When the number of bits in the last sequence segment is less than the second number M, add a third type of symbol to the OOK symbol sequence corresponding to the last sequence segment, so that the OOK symbol sequence corresponding to the last sequence segment includes at least M OOK symbols;

[0014] The third type of symbol is an OOK symbol different from the first type of symbol and the second type of symbol.

[0015] On the other hand, an embodiment of the present application provides a method for sending OOK symbols, the method being performed by a sending device, the method including:

[0016] Sending at least one set of OOK symbol sequences, each set of OOK symbol sequences including a second number M of OOK symbols;

[0017] Among them, the at least one group of OOK symbol sequences corresponds to the first bit sequence, and the last group of OOK symbol sequences in the at least one group of OOK symbol sequences includes a third type of symbol, and the third type of symbol is an OOK symbol different from the first type of symbol and the second type of symbol, the first type of symbol corresponds to a bit with a first value, and the second type of symbol corresponds to a bit with a second value.

[0018] On the other hand, an embodiment of the present application provides a method for determining a TBS value, the method being performed by a sending device, the method including:

[0019] Determine that the TBS value is a value related to the second number M, where the second number M is the number of OOK symbols transmitted within a preset time length, and the preset time length is determined by a basic time domain unit in a cellular communication system or a WIFI system.

[0020] On the other hand, an embodiment of the present application provides a method for preprocessing a bit sequence, the method being performed by a receiving device, the method comprising:

[0021] receiving an OOK symbol corresponding to a second bit sequence having a third number L' in length;

[0022] The second bit sequence is obtained by the sending device after processing the first bit sequence when the first number L corresponding to the first bit sequence is not an integer multiple of the second number M. The second bit sequence is used to divide it into at least one sequence segment with a length of the second number M for OOK modulation to obtain M OOK symbols corresponding to each sequence segment.

[0023] On the other hand, an embodiment of the present application provides a method for receiving OOK symbols, the method being performed by a receiving device, the method comprising:

[0024] receiving at least one set of OOK symbol sequences, each set of OOK symbol sequences including a second number M of OOK symbols;

[0025] In which, the at least one group of OOK symbol sequences corresponds to the first bit sequence, the last group of OOK symbol sequences in the at least one group of OOK symbol sequences includes a third type of symbol, the third type of symbol is an OOK symbol different from the first type of symbol and the second type of symbol, the first type of symbol corresponds to a bit with a first value, and the second type of symbol corresponds to a bit with a second value.

[0026] On the other hand, an embodiment of the present application provides a method for determining a TBS value, the method being performed by a receiving device, the method including:

[0027] Send a TBS mapping relationship, where the TBS mapping relationship is used to provide the sending device with a determination that the TBS value is a value related to a second quantity M, where the second quantity M is the number of OOK symbols transmitted within a preset time length, and the preset time length is determined by a basic time domain unit in a cellular communication system or a WIFI system.

[0028] On the other hand, an embodiment of the present application provides a bit sequence preprocessing device, the device comprising:

[0029] An acquisition module, configured to acquire a first bit sequence having a length L of a first number;

[0030] a processing module, configured to, if the first number L is not an integer multiple of the second number M, process the first bit sequence into a second bit sequence having a length of a third number L';

[0031] The second bit sequence is used to be divided into at least one sequence segment with a length of a second number M for OOK modulation, so as to obtain M OOK symbols corresponding to each sequence segment.

[0032] On the other hand, an embodiment of the present application provides a device for generating an OOK symbol, the device comprising:

[0033] An acquisition module, configured to acquire a first bit sequence having a length L of a first number;

[0034] a modulation module, configured to divide the first bit sequence into at least one sequence segment according to a second number M, perform OOK modulation, and obtain an OOK symbol sequence corresponding to each sequence segment, wherein the OOK symbol sequence includes a first type of symbol and / or a second type of symbol, where the first type of symbol corresponds to a bit having a first value, and the second type of symbol corresponds to a bit having a second value;

[0035] an adding module, configured to, when the number of bits in the last sequence segment is less than the second number M, add a third type of symbol to the OOK symbol sequence corresponding to the last sequence segment, so that the OOK symbol sequence corresponding to the last sequence segment includes at least M OOK symbols;

[0036] The third type of symbol is an OOK symbol different from the first type of symbol and the second type of symbol.

[0037] On the other hand, an embodiment of the present application provides an OOK symbol sending device, the device comprising:

[0038] a sending module, configured to send at least one set of OOK symbol sequences, each set of OOK symbol sequences including a second number M of OOK symbols;

[0039] Among them, the at least one group of OOK symbol sequences corresponds to the first bit sequence, and the last group of OOK symbol sequences in the at least one group of OOK symbol sequences includes a third type of symbol, and the third type of symbol is an OOK symbol different from the first type of symbol and the second type of symbol, the first type of symbol corresponds to a bit with a first value, and the second type of symbol corresponds to a bit with a second value.

[0040] On the other hand, an embodiment of the present application provides a device for determining a TBS value, the device comprising:

[0041] A determination module is used to determine that the TBS value is a value related to a second number M, where the second number M is the number of OOK symbols transmitted within a preset time length, and the preset time length is determined by a basic time domain unit in a cellular communication system or a WIFI system.

[0042] On the other hand, an embodiment of the present application provides a bit sequence preprocessing device, the device comprising:

[0043] A receiving module, configured to receive an OOK symbol corresponding to a second bit sequence having a third length L';

[0044] The second bit sequence is obtained by the sending device after processing the first bit sequence when the first number L corresponding to the first bit sequence is not an integer multiple of the second number M. The second bit sequence is used to divide it into at least one sequence segment with a length of the second number M for OOK modulation to obtain M OOK symbols corresponding to each sequence segment.

[0045] On the other hand, an embodiment of the present application provides an OOK symbol receiving device, the device comprising:

[0046] A receiving module, configured to receive at least one set of OOK symbol sequences, each set of OOK symbol sequences including a second number M of OOK symbols;

[0047] Among them, the at least one group of OOK symbol sequences corresponds to the first bit sequence, and the last group of OOK symbol sequences in the at least one group of OOK symbol sequences includes a third type of symbol, and the third type of symbol is an OOK symbol different from the first type of symbol and the second type of symbol, the first type of symbol corresponds to a bit with a first value, and the second type of symbol corresponds to a bit with a second value.

[0048] On the other hand, an embodiment of the present application provides a device for determining a TBS value, the device comprising:

[0049] A sending module is used to send a TBS mapping relationship, where the TBS mapping relationship is used to provide a sending device with a TBS value that is related to a second quantity M. The second quantity M is the number of OOK symbols transmitted within a preset time length, and the preset time length is determined by a basic time domain unit in a cellular communication system or a WIFI system.

[0050] On the other hand, an embodiment of the present application provides a terminal, comprising a processor; wherein:

[0051] The processor is configured to obtain a first bit sequence having a length of a first number L;

[0052] the processor is further configured to, when the first number L is not an integer multiple of the second number M, process the first bit sequence into a second bit sequence having a length of a third number L′;

[0053] The second bit sequence is used to be divided into at least one sequence segment with a length of a second number M for OOK modulation, so as to obtain M OOK symbols corresponding to each sequence segment.

[0054] On the other hand, an embodiment of the present application provides a terminal, the terminal including a processor; wherein:

[0055] The processor is configured to obtain a first bit sequence having a length of a first number L;

[0056] The processor is further configured to divide the first bit sequence into at least one sequence segment according to a second number M, perform OOK modulation, and obtain an OOK symbol sequence corresponding to each sequence segment, where the OOK symbol sequence includes a first type of symbol and / or a second type of symbol, where the first type of symbol corresponds to a bit having a first value, and the second type of symbol corresponds to a bit having a second value;

[0057] The processor is further configured to, when the number of bits in the last sequence segment is less than the second number M, add a third type of symbol to the OOK symbol sequence corresponding to the last sequence segment, so that the OOK symbol sequence corresponding to the last sequence segment includes at least M OOK symbols;

[0058] The third type of symbol is an OOK symbol different from the first type of symbol and the second type of symbol.

[0059] On the other hand, an embodiment of the present application provides a terminal, comprising a processor and a transmitter connected to the processor; wherein:

[0060] The transmitter is configured to send at least one set of OOK symbol sequences, each set of OOK symbol sequences including a second number M of OOK symbols;

[0061] Among them, the at least one group of OOK symbol sequences corresponds to the first bit sequence, and the last group of OOK symbol sequences in the at least one group of OOK symbol sequences includes a third type of symbol, and the third type of symbol is an OOK symbol different from the first type of symbol and the second type of symbol, the first type of symbol corresponds to a bit with a first value, and the second type of symbol corresponds to a bit with a second value.

[0062] On the other hand, an embodiment of the present application provides a terminal, the terminal including a processor; wherein:

[0063] The processor is used to determine that the TBS value is a value related to a second number M, where the second number M is the number of OOK symbols transmitted within a preset time length, and the preset time length is determined by a basic time domain unit in a cellular communication system or a WIFI system.

[0064] On the other hand, an embodiment of the present application provides a network device, comprising a processor and a receiver connected to the processor; wherein:

[0065] The receiver is configured to receive an OOK symbol corresponding to a second bit sequence having a third number L' in length;

[0066] The second bit sequence is obtained by the sending device after processing the first bit sequence when the first number L corresponding to the first bit sequence is not an integer multiple of the second number M. The second bit sequence is used to divide it into at least one sequence segment with a length of the second number M for OOK modulation to obtain M OOK symbols corresponding to each sequence segment.

[0067] On the other hand, an embodiment of the present application provides a network device, comprising a processor and a receiver connected to the processor; wherein:

[0068] The receiver is configured to receive at least one set of OOK symbol sequences, each set of OOK symbol sequences comprising a second number M of OOK symbols;

[0069] Among them, the at least one group of OOK symbol sequences corresponds to the first bit sequence, and the last group of OOK symbol sequences in the at least one group of OOK symbol sequences includes a third type of symbol, and the third type of symbol is an OOK symbol different from the first type of symbol and the second type of symbol, the first type of symbol corresponds to a bit with a first value, and the second type of symbol corresponds to a bit with a second value.

[0070] On the other hand, an embodiment of the present application provides a network device, comprising a processor and a transmitter connected to the processor; wherein:

[0071] The transmitter is used to send a TBS mapping relationship, and the TBS mapping relationship is used to provide a sending device with a value for determining that the TBS value is related to a second number M, where the second number M is the number of OOK symbols transmitted within a preset time length, and the preset time length is determined by a basic time domain unit in a cellular communication system or a WIFI system.

[0072] On the other hand, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and the computer program is used to be executed by a processor to implement the above-mentioned bit sequence preprocessing method, and / or, OOK symbol generation method, and / or, OOK symbol sending method, and / or, TBS value determination method, and / or, bit sequence preprocessing method, and / or, OOK symbol receiving method, and / or, TBS value determination method.

[0073] On the other hand, an embodiment of the present application provides a chip, which includes a programmable logic circuit and / or program instructions. When the chip is running on a terminal or network device, it is used to implement the above-mentioned bit sequence preprocessing method, and / or, OOK symbol generation method, and / or, OOK symbol sending method, and / or, TBS value determination method, and / or, bit sequence preprocessing method, and / or, OOK symbol receiving method, and / or, TBS value determination method.

[0074] On the other hand, an embodiment of the present application provides a computer program product, which includes computer instructions, which are stored in a computer-readable storage medium; the processor of the communication device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, so that the communication device implements the above-mentioned bit sequence preprocessing method, and / or, OOK symbol generation method, and / or, OOK symbol sending method, and / or, TBS value determination method, and / or, bit sequence preprocessing method, and / or, OOK symbol receiving method, and / or, TBS value determination method.

[0075] On the other hand, an embodiment of the present application provides a computer program, which is executed by a processor of a communication device to implement the above-mentioned bit sequence preprocessing method, and / or, OOK symbol generation method, and / or, OOK symbol sending method, and / or, TBS value determination method, and / or, bit sequence preprocessing method, and / or, OOK symbol receiving method, and / or, TBS value determination method.

[0076] The technical solutions provided by the embodiments of the present application may have the following beneficial effects:

[0077] By processing the first bit sequence into a second bit sequence with a length of a third number L' when the first number L corresponding to the first bit sequence is not an integer multiple of the second number M, the processed second bit sequence can be divided into at least one sequence segment with a length of the second number M, thereby ensuring that the OOK symbols can be smoothly transmitted even when the number of valid OOK symbols to be transmitted is not an integer multiple of M. BRIEF DESCRIPTION OF THE DRAWINGS

[0078] FIG1 shows a schematic diagram of a communication system provided by the related art;

[0079] FIG2 shows a schematic diagram of radio frequency energy harvesting provided by related art;

[0080] FIG3 is a schematic diagram showing a backscatter communication process provided by the related art;

[0081] FIG4 shows a schematic diagram of resistive load modulation provided by the related art;

[0082] FIG5 is a schematic diagram showing an encoding method provided by related art;

[0083] FIG6 shows a schematic structural diagram of a cellular communication system provided in an embodiment of the present application;

[0084] FIG7 shows a schematic structural diagram of a WIFI system provided in an embodiment of the present application;

[0085] FIG8 shows a flow chart of generating OOK symbols provided by an embodiment of the present application;

[0086] FIG9 shows a flow chart of generating OOK symbols provided by an embodiment of the present application;

[0087] FIG10 shows a flowchart of a method for preprocessing a bit sequence provided in an embodiment of the present application;

[0088] FIG11 shows a flow chart of generating OOK symbols provided by an embodiment of the present application;

[0089] FIG12 shows a flow chart of generating OOK symbols provided by an embodiment of the present application;

[0090] FIG13 shows a flow chart of generating OOK symbols provided by an embodiment of the present application;

[0091] FIG14 shows a flowchart of a method for preprocessing a bit sequence provided in an embodiment of the present application;

[0092] FIG15 shows a flowchart of a method for preprocessing a bit sequence provided in an embodiment of the present application;

[0093] FIG16 is a schematic diagram showing a method for preprocessing a bit sequence provided in an embodiment of the present application;

[0094] FIG17 is a schematic diagram showing a method for preprocessing a bit sequence provided in an embodiment of the present application;

[0095] FIG18 is a schematic diagram showing a method for preprocessing a bit sequence provided in an embodiment of the present application;

[0096] FIG19 is a schematic diagram showing a method for preprocessing a bit sequence provided in an embodiment of the present application;

[0097] FIG20 shows a flowchart of a method for preprocessing a bit sequence provided in an embodiment of the present application;

[0098] FIG21 is a schematic diagram showing a method for preprocessing a bit sequence provided in an embodiment of the present application;

[0099] FIG22 is a schematic diagram showing a method for preprocessing a bit sequence provided in an embodiment of the present application;

[0100] FIG23 shows a flowchart of a method for preprocessing a bit sequence provided in an embodiment of the present application;

[0101] FIG24 shows a flowchart of a method for preprocessing a bit sequence provided in an embodiment of the present application;

[0102] FIG25 shows a flowchart of a method for preprocessing a bit sequence provided in an embodiment of the present application;

[0103] FIG26 is a schematic diagram showing a method for preprocessing a bit sequence provided in an embodiment of the present application;

[0104] FIG27 shows a flowchart of a method for preprocessing a bit sequence provided in an embodiment of the present application;

[0105] FIG28 shows a flowchart of a method for preprocessing a bit sequence provided in an embodiment of the present application;

[0106] FIG29 shows a flowchart of a method for preprocessing a bit sequence provided in an embodiment of the present application;

[0107] FIG30 is a schematic diagram showing a method for preprocessing a bit sequence provided in an embodiment of the present application;

[0108] FIG31 shows a flowchart of a method for preprocessing a bit sequence provided in an embodiment of the present application;

[0109] FIG32 shows a flowchart of a method for preprocessing a bit sequence provided in an embodiment of the present application;

[0110] FIG33 shows a flowchart of a method for preprocessing a bit sequence provided in an embodiment of the present application;

[0111] FIG34 shows a flowchart of a method for preprocessing a bit sequence provided in an embodiment of the present application;

[0112] FIG35 shows a flowchart of a method for preprocessing a bit sequence provided in an embodiment of the present application;

[0113] FIG36 shows a flowchart of a method for preprocessing a bit sequence provided in an embodiment of the present application;

[0114] FIG37 is a schematic diagram showing a method for preprocessing a bit sequence provided in an embodiment of the present application;

[0115] FIG38 shows a flowchart of a method for preprocessing a bit sequence provided in an embodiment of the present application;

[0116] FIG39 shows a flow chart of a method for generating an OOK symbol provided in an embodiment of the present application;

[0117] FIG40 is a schematic diagram showing a method for generating OOK symbols provided in an embodiment of the present application;

[0118] FIG41 shows a flowchart of a method for sending OOK symbols provided in an embodiment of the present application;

[0119] FIG42 shows a flow chart of a method for determining a TBS value provided in an embodiment of the present application;

[0120] FIG43 shows a flow chart of a method for determining a TBS value provided in an embodiment of the present application;

[0121] FIG44 shows a flow chart of a method for determining a TBS value provided in an embodiment of the present application;

[0122] FIG45 shows a flow chart of a method for determining a TBS value provided in an embodiment of the present application;

[0123] FIG46 shows a flowchart of a method for preprocessing a bit sequence provided in an embodiment of the present application;

[0124] FIG47 shows a flowchart of a method for preprocessing a bit sequence provided in an embodiment of the present application;

[0125] FIG48 shows a flowchart of a method for preprocessing a bit sequence provided in an embodiment of the present application;

[0126] FIG49 shows a flowchart of a method for preprocessing a bit sequence provided in an embodiment of the present application;

[0127] FIG50 shows a flowchart of a method for preprocessing a bit sequence provided in an embodiment of the present application;

[0128] FIG51 is a flowchart of a method for preprocessing a bit sequence provided in an embodiment of the present application;

[0129] FIG52 shows a flowchart of a method for preprocessing a bit sequence provided in an embodiment of the present application;

[0130] FIG53 shows a flowchart of a method for preprocessing a bit sequence provided in an embodiment of the present application;

[0131] FIG54 shows a flowchart of a method for preprocessing a bit sequence provided in an embodiment of the present application;

[0132] FIG55 shows a flowchart of a method for preprocessing a bit sequence provided in an embodiment of the present application;

[0133] FIG56 shows a flowchart of a method for preprocessing a bit sequence provided in an embodiment of the present application;

[0134] FIG57 shows a flowchart of a method for preprocessing a bit sequence provided in an embodiment of the present application;

[0135] FIG58 is a flowchart of a method for preprocessing a bit sequence provided in an embodiment of the present application;

[0136] FIG59 shows a flowchart of a method for receiving OOK symbols provided in an embodiment of the present application;

[0137] FIG60 shows a flowchart of a method for determining a TBS value provided in an embodiment of the present application;

[0138] FIG61 shows a structural block diagram of a bit sequence preprocessing device provided in an embodiment of the present application;

[0139] FIG62 shows a structural block diagram of an OOK symbol generation device provided in an embodiment of the present application;

[0140] FIG63 shows a structural block diagram of an OOK symbol transmitting device provided in an embodiment of the present application;

[0141] FIG64 shows a structural block diagram of a device for determining a TBS value provided in an embodiment of the present application;

[0142] FIG65 shows a structural block diagram of a bit sequence preprocessing device provided in an embodiment of the present application;

[0143] FIG66 shows a structural block diagram of an OOK symbol receiving device provided in an embodiment of the present application;

[0144] FIG67 shows a structural block diagram of a device for determining a TBS value provided by an embodiment of the present application;

[0145] Figure 68 shows a structural diagram of a communication device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0146] The following will describe the technical solutions in the embodiments of this application in conjunction with the drawings in the embodiments of this application. Obviously, the embodiments described are part of the embodiments of this application, not all of the embodiments. With respect to the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0147] The technical solutions described in some embodiments of the present application can be applicable to various communication systems, such as: Global System of Mobile communication (GSM) system, Code Division Multiple Access (CDMA) system, Wideband Code Division Multiple Access (WCDMA) system, General Packet Radio Service (GPRS), Long Term Evolution (LTE) system, Advanced long term evolution (LTE-A) system, New Radio (NR) system, NR system evolution system, LTE on unlicensed spectrum (LTE-U) system, NR on unlicensed spectrum (NR-U) system, Non-Terrestrial Networks (NTN) system, Universal Mobile Telecommunication System (UMTS), Wireless Local Area Networks (WLAN), Wireless Fidelity (Wireless Fidelity) system. Fidelity, WiFi), fifth-generation communication (5th-Generation, 5G) system, cellular Internet of Things system, cellular passive Internet of Things system, and can also be applied to subsequent evolution systems of 5G NR system, and can also be applied to 6G and subsequent evolution systems.

[0148] It should be understood that in some embodiments of the present application, "5G" may also be referred to as "5G NR" or "NR". It should be understood that in the description of the embodiments of the present application, the term "corresponding" may indicate a direct or indirect correspondence between the two, or an association relationship between the two, or a relationship between indication and being indicated, configuration and being configured, etc. In the embodiments of the present application, "pre-definition" may be implemented by pre-saving corresponding codes, tables or other methods that can be used to indicate relevant information in a device (for example, including a terminal device and a network device), and the present application does not limit its specific implementation method. For example, pre-definition may refer to a definition in a protocol. In the embodiments of the present application, "protocol" may refer to a standard protocol in the field of communications, for example, it may include an LTE protocol, an NR protocol, an Internet of Things protocol, and related protocols used in future communication systems, and the present application does not limit this.

[0149] The terminal devices involved in the embodiments of the present application can be active devices, which refer to devices that have their own power supply and can actively generate and transmit signals, such as mobile phones, computers, smart watches, smart bracelets, etc.; they can also be passive devices, which refer to devices that do not require power supply or can work by receiving energy from other devices, which can be called zero-power devices, zero-power terminals, low-power devices, low-power terminals, etc.; they can also be devices that obtain energy from the environment, which can be called ambient energy Internet of Things devices; they can also be devices deployed at fixed locations, which can be called zero-power sites, low-power sites, etc., or they can be terminals with low-power wake-up receivers (Low Power Wake-Up Receiver, LP-WUR) in cellular systems, or they can be STAs with wake-up receivers (Wake-Up Receiver, WUR) in WiFi systems.

[0150] FIG1 shows a schematic diagram of a communication system 100 provided by the related art. The communication system 100 includes a network device 120 and a zero-power device 140 .

[0151] The network device 120 is used to send wireless power supply signals, downlink communication signals and receive backscatter signals from the zero-power device 140 to the zero-power device 140. The zero-power device 140 is also called an Ambient IoT device or an AMP device, and includes an energy collection module 141, a backscatter communication module 142 and a low-power computing module 143. The energy collection module 141 can collect energy carried by radio waves (wireless signals) in space, and is used to drive the low-power computing module 143 of the zero-power device 140 and realize backscatter communication. After the zero-power device 140 obtains energy, it can receive control signaling from the network device 120 and send data to the network device 120 based on the backscattering method according to the control signaling. The data sent can come from the data stored in the zero-power device 140 itself (such as an identity or pre-written information, such as the production date, brand, manufacturer, etc. of the product).

[0152] Zero-power device 140 may also include a sensor module 144 and a memory 145. Sensor module 144 may include various sensors, and zero-power device 140 may report data collected by these sensors based on a zero-power mechanism. Memory 145 is used to store basic information (such as item identification) or obtain sensor data such as ambient temperature and humidity.

[0153] The zero-power device 140 itself does not require a battery, and at the same time, the low-power computing module 143 can perform simple signal demodulation, decoding or encoding, modulation and other simple calculation tasks. Therefore, the zero-power module only requires a very simple hardware design, making the zero-power device 140 very low in cost and small in size.

[0154] The network device 120 includes but is not limited to: cellular network devices, such as 5G / 6G network devices, base station devices; WiFi / WLAN network devices, such as access points (APs), routers, mobile access points, etc., and the mobile access point is, for example, a mobile phone.

[0155] The zero-power device 140 includes but is not limited to: handheld devices, wearable devices, vehicle-mounted devices and Internet of Things devices, etc. The zero-power device 140 can be at least one of a mobile phone, a tablet computer, an e-book reader, a laptop computer, a desktop computer, a television, a game console, an augmented reality (AR) terminal, a virtual reality (VR) terminal and a mixed reality (MR) terminal, a wearable device, a handle, an electronic tag and a controller, etc.

[0156] Next, the key technologies of zero-power communication are introduced:

[0157] Radio Frequency Power Harvesting

[0158] Figure 2 shows a schematic diagram of RF energy harvesting provided by related technologies. RF energy harvesting is based on the principle of electromagnetic induction, using a radio frequency (RF) module to conduct electromagnetic induction and maintain a parallel relationship with a capacitor C and a load resistor R. L By connecting to the power supply, the energy required to operate zero-power devices can be collected from electromagnetic waves in space, such as for driving low-power demodulation modules, modulation modules, sensors, and memory reading. Therefore, zero-power devices do not require traditional batteries.

[0159] Back scattering communication

[0160] Figure 3 shows a schematic diagram of the backscatter communication process provided by related art. A zero-power device 140 receives a wireless signal carrier 131 transmitted by a transmitter (TX) module 121 of a network device 120 using an amplifier (AMP) 122. It modulates the wireless signal carrier 131, loads the information to be transmitted using a logic processing module 147, and harvests radio frequency energy using an energy harvesting module 141. Zero-power device 140 radiates the modulated reflected signal 132 using an antenna 146. This information transmission process is called backscatter communication. A receiver (RX) module 123 of the network device 120 receives the modulated reflected signal 132 using a low-noise amplifier (LNA) 124. Backscatter and load modulation are closely related. Load modulation achieves this by adjusting and controlling the circuit parameters of the oscillator circuit of the zero-power device 140 according to the data stream's rhythm, causing parameters such as the electronic tag's impedance to change accordingly.

[0161] Load modulation technology mainly includes resistance load modulation and capacitance load modulation. Figure 4 shows a schematic diagram of resistance load modulation provided by related technology. In resistance load modulation, the load resistor R L The third resistor R3 is connected in parallel, and the switch S based on the binary code control is turned on or off. The on and off of the third resistor R3 will cause the voltage on the circuit to change. The load resistor R L Maintaining a parallel connection relationship with the first capacitor C1, the load resistor R LThe first inductor L1 is connected in series with the second resistor R2, and the second resistor R2 is connected in series with the first inductor L1. The first inductor L1 is coupled to the second inductor L2, and the second inductor L2 is connected in series with the second capacitor C2. Amplitude Shift Keying (ASK) can be implemented, that is, the modulation and transmission of the signal is achieved by adjusting the amplitude of the backscattered signal of the zero-power device. Similarly, in capacitive load modulation, the resonant frequency of the circuit can be changed by turning the capacitor on and off, and frequency shift keying (FSK) can be implemented, that is, the modulation and transmission of the signal is achieved by adjusting the operating frequency of the backscattered signal of the zero-power device.

[0162] Zero-power devices use load modulation to modulate incoming signals, enabling backscatter communication. These devices offer significant advantages: they don't actively transmit signals, eliminating the need for complex RF links like power amplifiers (PAs) and RF filters. They don't actively generate high-frequency signals, eliminating the need for high-frequency crystal oscillators. Furthermore, backscatter communication allows signal transmission without consuming the device's own energy.

[0163] Extremely low power active transmission technology;

[0164] Zero-power devices can also use ultra-low-power active transmission technology. Unlike backscattering, when using ultra-low-power active transmission technology for data transmission, the device uses a relatively simple and low-power oscillator to generate the RF carrier, and then modulates the information to be transmitted onto the RF carrier. Based on current research, the power consumption of ultra-low-power active transmitters can be as low as hundreds of microwatts, thus achieving ultra-low-power data transmission.

[0165] Next, the encoding method of zero-power communication is introduced:

[0166] FIG5 is a schematic diagram of an encoding method provided by related art. The data transmitted by the electronic tag can use different forms of codes to represent binary "1" and "0". Wireless radio frequency identification systems generally use one of the following encoding methods: Not Return to Zero (NRZ) encoding, Manchester encoding, Unipolar Return to Zero (URZ) encoding, Differential Binary Phase (DBP) encoding, Miller encoding, and differential encoding. That is, different pulse signals can be used to represent 0 and 1.

[0167] ·NRZ encoding; Inverse non-return-to-zero encoding uses a high level to represent a binary "1" and a low level to represent a binary "0". Figure 5 shows a level diagram of encoding binary data: 101100101001011 using the NRZ method.

[0168] Manchester encoding: Manchester encoding is also known as split-phase coding. In Manchester encoding, a binary value is represented by a voltage level change (rising or falling) during half a bit period within the bit length. A negative transition during half a bit period represents a binary "1," and a positive transition during half a bit period represents a binary "0." Data transmission errors occur when multiple tags simultaneously transmit data bits with different values, causing the received rising and falling edges to cancel each other, resulting in an uninterrupted carrier signal throughout the entire bit length. Manchester encoding makes it impossible to have an unchanging state within the bit length. The reader can use this error to determine the specific location of the collision. Manchester encoding facilitates data transmission error detection and is commonly used for data transmission from tags to readers when using carrier load modulation or backscatter modulation. Figure 5 shows a schematic diagram of the voltage levels for binary data 101100101001011 encoded using the Manchester method.

[0169] ·URZ encoding; unipolar return-to-zero encoding: a high level in the first half of the bit period represents a binary "1", while a low level signal that lasts throughout the entire bit period represents a binary "1". Figure 5 shows a level diagram of encoding binary data: 101100101001011 using the URZ method.

[0170] DBP encoding: Differential biphase encoding uses any edge within half a bit period to represent a binary "0," while the absence of an edge represents a binary "1." Furthermore, the voltage level is inverted at the beginning of each bit period. This makes the bit beat easier for the receiver to reconstruct. Figure 5 shows the voltage levels of the binary data 101100101001011 encoded using the DBP method.

[0171] Miller coding: In Miller coding, any edge within half a bit period represents a binary "1," while a constant level throughout the next bit period represents a binary "0." The level transition at the beginning of a bit period makes it easier for the receiver to reconstruct the bit beat. Figure 5 shows the level diagram of the binary data 101100101001011 encoded using the Miller method.

[0172] Differential encoding: In differential encoding, each transmitted binary "1" causes a change in the signal level, while for a binary "0" the signal level remains unchanged.

[0173] Next, we will introduce the classification of zero-power devices:

[0174] Based on the energy source and usage of zero-power devices, zero-power devices can be divided into the following types:

[0175] Passive zero-power devices;

[0176] Zero-power devices do not require internal batteries. When they approach a network device, they are within the near field generated by the network device's antenna radiation. For example, the network device is a reader / writer in a radio frequency identification (RFID) system. Therefore, the zero-power device's antenna generates an induced current through electromagnetic induction, which drives the device's low-power chip circuitry. This enables tasks such as demodulating forward link signals and modulating reverse link signals. For backscatter links, the zero-power device can use backscatter or extremely low-power active transmission to transmit signals. Passive zero-power devices do not require internal batteries for either the forward or reverse link, making them truly zero-power devices. Passive zero-power devices do not require batteries, and their RF and baseband circuits are very simple. For example, they do not require components such as LNAs, PAs, crystal oscillators, and analog-to-digital converters (ADCs). They offer numerous advantages, including small size, light weight, very low price, and a long service life.

[0177] Semi-passive zero-power device;

[0178] Semi-passive zero-power devices lack conventional batteries. Instead, they use a radio frequency energy harvesting module to harvest radio wave energy and store it in an energy storage unit, typically a capacitor. This energy is then used to power the device's low-power chip circuitry, enabling tasks such as demodulating forward link signals and modulating backward link signals. For backscatter links, the device can transmit signals using either backscatter or extremely low-power active transmission.

[0179] Semi-passive zero-power devices require no internal batteries for either the forward or reverse link. Instead, the energy stored in the capacitors is harvested by the radio energy harvesting module, making them truly zero-power devices. They inherit many of the advantages of passive zero-power devices, including small size, light weight, very low price, and long service life.

[0180] Active zero-power devices;

[0181] Zero-power devices used in some scenarios can also be active zero-power devices, which can have built-in batteries. The battery is used to drive the low-power chip circuit of the zero-power device. This enables tasks such as demodulating forward link signals and modulating reverse link signals. However, for backscatter links, zero-power devices can use backscatter or extremely low-power active transmission to transmit signals. Therefore, the zero-power of active zero-power devices is mainly reflected in the fact that reverse link signal transmission does not consume the zero-power device's own power, but instead uses backscatter. In active zero-power devices, the built-in battery powers the RFID chip, increasing the tag's read and write distance and improving communication reliability. Therefore, they are used in scenarios with relatively high requirements for communication distance and read latency.

[0182] Next, we will introduce the classification of zero-power devices based on transmitter type:

[0183] (1) Zero-power devices based on backscattering;

[0184] These zero-power devices use backscattering, as described above, for uplink data transmission. They lack active transmitters, only backscattering transmitters. Therefore, when these zero-power devices transmit uplink data, they require network equipment to provide a carrier. These zero-power devices use backscattering based on the carrier to achieve uplink data transmission.

[0185] (2) Zero-power devices based on active transmitters;

[0186] These zero-power devices use active transmitters with active transmission capabilities for uplink data transmission. Therefore, when sending uplink data, these zero-power devices can use their own active transmitters to send uplink data without the need for network equipment to provide a carrier. Examples of active transmitters suitable for zero-power devices include ultra-low-power ASK transmitters and ultra-low-power FSK transmitters. Based on current implementations, these transmitters can reduce overall power consumption to 400-600 microwatts when transmitting a 100-microwatt signal.

[0187] (3) Zero-power devices with both backscatter and active transmitter capabilities;

[0188] These zero-power devices can support both backscatter and active transmitters. They can determine whether to use backscatter or active transmitters based on different situations (such as varying battery levels, available ambient energy), or based on network device scheduling.

[0189] Next, let’s introduce the cellular Internet of Things:

[0190] Cellular IoT is booming. 3GPP has standardized IoT technologies such as Narrow Band-Internet of Things (NB-IoT), Machine-Type Communications (MTC), and RedCap. However, IoT communication needs in many scenarios remain unmet. For example:

[0191] Harsh communication environment;

[0192] Certain IoT scenarios may encounter extreme environments such as high temperature, extremely low temperature, high humidity, high voltage, high radiation, or high-speed movement. Examples include ultra-high voltage substations, high-speed train track monitoring, environmental monitoring in high-altitude cold regions, and industrial production lines. In these scenarios, IoT devices will not function due to the operating environment limitations of conventional power supplies. Furthermore, extreme operating environments are not conducive to IoT device maintenance, such as battery replacement.

[0193] ·Requirement for extremely small terminal form factor;

[0194] Certain IoT communication scenarios, such as food traceability, commodity distribution, and smart wearables, require terminals to be extremely small for ease of use. For example, IoT terminals used for commodity management in the distribution process often use electronic tags, which are embedded in the product packaging in a very compact form factor. Another example is lightweight wearable IoT terminals that can meet user needs while improving the user experience.

[0195] Extremely low-cost IoT communication requirements;

[0196] Many IoT communication scenarios require IoT terminal devices to be sufficiently low-cost to enhance their competitiveness compared to alternative technologies. For example, in logistics or warehousing scenarios, IoT terminal devices can be attached to each item to facilitate the management of large quantities of circulating items. Communication between the IoT terminal device and the logistics network enables precise management of the entire logistics process and lifecycle. These scenarios require IoT terminal devices to be sufficiently competitively priced.

[0197] Therefore, in order to cover these unmet IoT communication needs, cellular IoT also needs to develop ultra-low-cost, extremely small-size, battery-free / maintenance-free IoT, and zero-power IoT can just meet these needs.

[0198] Zero-power IoT, also known as Ambient IoT or passive IoT, refers to IoT devices that use various environmental energies, such as radio frequency energy, light energy, solar energy, thermal energy, and mechanical energy, to power themselves. These devices can have no energy storage capacity or very limited energy storage capacity (such as using capacitors with a capacity of tens of microfarads). Compared to existing IoT devices, Ambient IoT devices offer many advantages, including no conventional batteries, no maintenance, small size, low complexity, low cost, and a long lifespan.

[0199] Zero-power IoT can be used in at least four scenarios:

[0200] (1) Object recognition, such as logistics, production line product management, and supply chain management;

[0201] (2) Environmental monitoring, such as temperature, humidity, and harmful gas monitoring of the working environment and natural environment;

[0202] (3) Positioning, such as indoor positioning, intelligent object search, and production line item positioning;

[0203] (4) Intelligent control, such as intelligent control of various electrical appliances in smart homes (turning on and off air conditioners, adjusting temperature), and intelligent control of various facilities in agricultural greenhouses (automatic irrigation and fertilization).

[0204] Ambient IoT devices:

[0205] In NR and Wi-Fi systems, the battery-free and low-cost nature of devices enables low-cost, large-scale deployment and maintenance-free IoT devices. Current standards are exploring how to support ambient energy-based IoT devices in NR and Wi-Fi systems. These devices, known as ambient IoT (AMP IoT) devices, operate from energy harvested from ambient sources such as wireless signals, solar energy, and thermal energy. These devices are similar to passive or semi-passive devices in zero-power communications.

[0206] A research project on Ambient IoT devices has been carried out in the 3GPP RAN. Ambient IoT devices are roughly divided into three types: Device A, Device B, and Device C, each with corresponding complexity and communication capabilities.

[0207] Device A: does not have energy storage capabilities and cannot transmit independent signals, i.e., it uses backscatter transmission.

[0208] Device B: It has energy storage capabilities but cannot transmit independent signals. It uses backscatter transmission to amplify the backscattered signal using stored energy.

[0209] Device C: It has energy storage capabilities and can send independent signals, that is, it has active transmission capabilities.

[0210] Device A has the lowest complexity and power consumption, reaching as low as 1μW. However, its communication range is limited, typically only a few meters. Device A requires a carrier signal from a network device for backscattering transmission. Device C typically has a large capacitor to store energy from the environment, consumes several hundred μW, can support active signal transmission, and has a longer communication range. Because Device C can perform active transmission, it does not require a carrier signal from a network device. Device B's complexity and power consumption are between those of Device A and Device C.

[0211] In addition, zero-power terminals can also support various types of environmental energy harvesting, such as radio frequency, solar energy, thermal energy, mechanical energy, etc. Among them, zero-power terminals based on radio frequency energy harvesting may require the network to provide radio frequency power signals.

[0212] Next, we will introduce the determination of the transport block size (TBS) in 3GPP:

[0213] According to the resources and data transmission configuration of the network device, the total number of resource elements (RE) used to transmit data information is first determined.

[0214] A UE determines the total number of REs allocated for PDSCH(N RE )by N RE =min(156,N′ RE )·n PRB ,where n PRB is the total number of allocated PRBs for the UE.

[0215] Then, based on the code rate, modulation order, layer and other configurations, the number of information bits N to be transmitted is determined. info .

[0216] Unquantized intermediate variable(N info )is obtained by N info =N RE RQ m v.

[0217] Among them, N info Indicates the intermediate value information bit, N RE Indicates the total number of REs, R indicates the bit rate, Q m represents the modulation order, and v represents the number of transmission layers.

[0218] When N info When ≤3824, N′ is quantified using the following method info ;

[0219] quantified intermediate number of information bits where

[0220] in, Represents round down.

[0221] Then, from the TBS table, select the closest and not less than N′ info See Table 1 below:

[0222] Table 1

[0223] When N info When N is >3824, the following method is used to quantify N′ info ;

[0224] quantified intermediate number of information bits where and ties in the round function are broken towards the next largest integer.

[0225] Among them, round(*) means rounding to the nearest integer. Represents rounding up.

[0226] FIG6 shows a schematic diagram of the structure of a cellular communication system provided by an exemplary embodiment of the present application. The cellular communication system includes: a network device 120 , an Ambient IoT device 140 , and a terminal device 160 .

[0227] Network device 120 can be an access network device in a cellular communication system, such as a base station. Orthogonal frequency-division multiplexing (OFDM) symbols are used for communication between network device 120 and terminal device 160. OOK symbols are used for communication between ambient IoT device 140 and network device 120. OOK symbols are used for communication between ambient IoT device 140 and terminal device 160.

[0228] 7 shows a schematic structural diagram of a WiFi system provided by an exemplary embodiment of the present application. The WiFi system includes: an AP 122, an Ambient IoT device 140, and a STA 162.

[0229] The communication between AP 122 and STA 162 is carried out using OFDM symbols. The communication between Ambient IoT device 140 and AP 122 is carried out using OOK symbols. The communication between Ambient IoT device 140 and STA 162 is carried out using OOK symbols.

[0230] The methods provided in the embodiments of this application can be applied to uplink data transmission (Ambient IoT device => network device / AP), downlink data transmission (network device / AP => Ambient IoT device), and sidelink data transmission. Sidelink data transmission includes at least one of the following four forms: Ambient IoT device => other terminal device, or other terminal device => Ambient IoT device, or Ambient IoT device => Ambient IoT device, or other terminal device => other terminal device.

[0231] In some embodiments, the methods provided by the embodiments of the present application can be applied not only to Ambient IoT devices but also to LP-WUR / WUS scenarios. That is, the low-power wake-up signal (LP-WUS) sent by the network device to the LP-WUR can also use the methods provided by the embodiments of the present application.

[0232] Next, the process of obtaining OOK symbols from OOK modulation is introduced:

[0233] In some embodiments, with reference to FIG8 , the transmitting device obtains a first bit sequence of length L to be transmitted, and determines the number M of OOK symbols to be transmitted in a preset time length.

[0234] The preset duration is determined by the basic time domain unit in the cellular communication system or WiFi system. In some embodiments, the preset duration is t OFDM symbols, and t OFDM symbols can transmit M OOK symbols. M is the number of OOK symbols transmitted in t OFDM symbols. The value of t is a positive integer. In the embodiment of the present application, the example of transmitting M OOK symbols in one OFDM symbol is used for illustration.

[0235] In some embodiments, M may be agreed upon by a protocol, configured by a network device, or determined by a terminal device based on a preset mapping relationship, thereby achieving variable rate transmission of OOK symbols.

[0236] A first bit sequence of length L is divided into at least one sequence segment of length M. When L is an integer multiple of M, the length of each sequence segment obtained based on the division of the first bit sequence of length L is M. For example, the first bit sequence of length L is {1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, ····}, and M=4. Then, the first bit sequence of length L is divided into a plurality of sequence segments, each of which has a length of 4. For example, sequence segment 1 is {1, 0, 0, 1}.

[0237] Next, OOK modulation is performed on each sequence segment of length M to obtain M OOK symbols.

[0238] OOK modulation includes at least one of: upsampling / spread spectrum / sequence mapping, time-frequency transformation, determination of subcarrier coefficients, and inverse time-frequency transformation.

[0239] Upsampling / spreading / sequence mapping is the process of converting each bit (also called a logical bit) or element in a sequence into a sequence of length K, where K is a positive integer greater than 1. Taking spreading as an example, spreading refers to repeating each bit or element in a sequence K times. For example, if the sequence is {1, 0, 0, 1} and the spreading factor K = 4, the second sequence is {1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1}.

[0240] Time-frequency transform, also known as discrete Fourier transform (DFT), refers to the process of transforming a sequence in the time domain into frequency domain data of several sampling points.

[0241] Determining subcarrier coefficients refers to the process of determining the coefficients of multiple subcarriers during transmission based on the frequency domain data of several sampling points. This is also the process of modulating the frequency domain data after time-frequency transformation onto multiple subcarriers.

[0242] Inverse time-frequency transform, also known as inverse discrete Fourier transform (IDFT), refers to the process of converting frequency domain data of several sampling points into time domain data of several sampling points.

[0243] Optionally, the OOK modulation process further includes at least one of phase randomization, symbol randomization, and additional cyclic prefix (CP) / guard interval (GI).

[0244] Phase randomization is the process of applying a phase randomization factor or phase randomization sequence to a second bit sequence or intermediate data. Intermediate data is the intermediate data generated during the OOK modulation process. Adding phase randomization to the OOK modulation process can flatten the spectrum energy, improving frequency selectivity and interference immunity.

[0245] Symbol randomization eliminates spectral lines in the power spectral density (PSD) after processing OOK symbols. This meets the communication requirements of some communication systems (such as 802.11) that require the elimination of spectral lines, and thus enables the deployment of Ambient IoT devices in these communication systems.

[0246] Additional CP / GI is achieved by increasing CP / GI symbol by symbol or overall to reduce or eliminate multipath interference received during OOK symbol transmission, thereby improving the reception quality of OOK symbols.

[0247] For example, OOK modulation is performed on sequence segment 1 to obtain four OOK symbols. Each of the four OOK symbols corresponds one-to-one to four bits in sequence segment 1. For example, the first bit in sequence segment 1 corresponds to the first OOK symbol of the four OOK symbols. The value of the first bit is 1, and the first OOK symbol is an "OOK-on" symbol.

[0248] In some embodiments, the length L of the first bit sequence is not always an integer multiple of M. For example, as shown in FIG9 , when the first bit sequence is {1, 0, 0, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0}, that is, L = 18, when M = 4, L is not an integer multiple of M. In this case, if the first bit sequence is divided, the final sequence segment will be {1, 0}. In this case, if OOK modulation is performed on the final sequence segment, four OOK symbols cannot be obtained.

[0249] In response to the above problems, a method for preprocessing a bit sequence is proposed in an embodiment of the present application. When L is not an integer multiple of M, a second bit sequence of length L' is obtained by preprocessing the first bit sequence of length L, so that all or each sequence segment obtained by dividing the second bit sequence can be OOK modulated to obtain M OOK symbols. For example, as shown in Figure 9, the first bit sequence is preprocessed to obtain a second bit sequence of length L' of {1,0,0,1,1,1,1,0,1,0,1,0,1,0,1,0,1,1}, that is, L'=20. When M=4, L' is an integer multiple of M, and the last sequence segment obtained is {1,0,1,1}. At this time, OOK modulation is performed on the last sequence segment to obtain 4 OOK symbols.

[0250] FIG10 is a flowchart of a method for preprocessing a bit sequence provided by an exemplary embodiment of the present application. The method is executed by a sending device, which may be a network device, an AP, an Ambient IoT device, or a terminal device. The method includes:

[0251] Step 220: Obtain a first bit sequence of a first length L;

[0252] The first number L is the number of bits in the first bit sequence. For example, assuming the first bit sequence is {1, 0, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0}, then L is 18.

[0253] In some embodiments, the first bit sequence is any one of the following:

[0254] The original bit sequence that does not need to be encoded;

[0255] The original bit sequence before encoding;

[0256] The coded bit sequence after encoding the original bit sequence;

[0257] A coded bit sequence obtained by performing at least one level of multi-level coding on the original bit sequence.

[0258] Optionally, the first bit sequence is an original bit sequence that does not require encoding. Exemplarily, as shown in FIG11 , the transmitting device can perform OOK modulation to obtain OOK symbols without encoding the original bit sequence. The first bit sequence is the original bit sequence.

[0259] Optionally, the first bit sequence is the original bit sequence before encoding. Exemplarily, as shown in FIG12 , the transmitting device first encodes the original bit sequence based on the encoder, and then performs OOK modulation based on the encoded coded bit sequence to obtain OOK symbols. Optionally, the first bit sequence is the original bit sequence before encoding.

[0260] In some embodiments, the original bit sequence may include a cyclic redundancy check (CRC) bit sequence.

[0261] Optionally, the first bit sequence is a coded bit sequence obtained by encoding the original bit sequence. For example, as shown in FIG12 , the transmitting device first encodes the original bit sequence based on the encoder, and then performs OOK modulation based on the encoded coded bit sequence to obtain OOK symbols. Optionally, the first bit sequence is a coded bit sequence output after encoding by the encoder.

[0262] Optionally, the first bit sequence is a coded bit sequence obtained by performing at least one level of multi-level coding on the original bit sequence. Exemplarily, as shown in FIG13 , the transmitting device first encodes the original bit sequence based on an n-level encoder, and then performs OOK modulation based on the encoded bits to obtain OOK symbols. After the original bit sequence passes through the first-level encoder, a first-level coded bit sequence is obtained; after passing through the second-level encoder, a second-level coded bit sequence is obtained; and until the original bit sequence passes through the n-th level encoder, an n-level coded bit sequence is obtained. Optionally, the first bit sequence is at least one of the first-level coded bit sequence to the n-th level coded bit sequence.

[0263] In some embodiments, the coded bit sequence may include a CRC bit sequence. Exemplarily, as shown in FIG13 , the first-level coded bit sequence is obtained by adding a CRC bit sequence to the original bit sequence.

[0264] Step 240: When the first number L is not an integer multiple of the second number M, process the first bit sequence into a second bit sequence having a length of a third number L′.

[0265] Optionally, the first quantity L is smaller than the third quantity L'. Optionally, the first quantity L is larger than the third quantity L'.

[0266] The second number M is the number of OOK symbols transmitted in the preset duration. The preset duration is determined by the basic time domain unit in the cellular communication system or the WiFi system. In some embodiments, the preset duration is t OFDM symbols, and t OFDM symbols can transmit M OOK symbols. M is the number of OOK symbols transmitted in t OFDM symbols. The value of t is a positive integer. In the embodiment of the present application, M OOK symbols are transmitted in 1 OFDM symbol as an example.

[0267] In some embodiments, M may be agreed upon by a protocol, configured by a network device, or determined by a terminal device based on a preset mapping relationship.

[0268] In some embodiments, M has multiple candidate values, for example, M={1, 2, 4, 6, 8}.

[0269] The third number L' is the number of bits in the second bit sequence. For example, if the second bit sequence is {1, 0, 1, 0}, then L' is 4.

[0270] In some embodiments, the second bit sequence is divided into at least one sequence segment of length M for OOK modulation, obtaining M OOK symbols corresponding to each sequence segment. That is, the third number L' is an integer multiple of the second number M. For example, if the second bit sequence is {1, 0, 1, 0} and M = 2, the second bit sequence can be divided into two sequence segments of length 2, each of which is {1, 0} and {1, 0}.

[0271] It should be understood that when the first number L is not an integer multiple of the second number M, when the first bit sequence of length L is segmented, the first bit sequence of length L cannot be divided into multiple sequence segments of length second number M. That is, the length of the last sequence segment will be less than the second number M. In this case, OOK modulation cannot be performed on the last sequence segment. For example, assuming that the first bit sequence is {1,0,0,1,1,1,1,0,1,0,1}, then L=11; when M=4, the first bit sequence is segmented, and sequence segment 1 is {1,0,0,1}, sequence segment 2 is {1,1,1,0}, and sequence segment 3 is {1,0,1}.

[0272] In an embodiment of the present application, a method for processing a first bit sequence is provided when the first number L is not an integer multiple of the second number M, so that the processed bit sequence can ensure that the requirements of OOK modulation are met.

[0273] In some embodiments, the above method for processing the first bit sequence may have multiple optional designs:

[0274] Optional Design 1: Perform bit padding on the first bit sequence;

[0275] The first bit sequence is padded to form a second bit sequence whose length is an integer multiple of the second number M. Optionally, at least one padding bit is added to the head of the first bit sequence to obtain a second bit sequence whose length is an integer multiple of the second number M. Optionally, at least one padding bit is added to the tail of the first bit sequence to obtain a second bit sequence whose length is an integer multiple of the second number M. In the embodiment of the present application, adding at least one padding bit to the tail of the first bit sequence is used as an example for illustration.

[0276] Optional design 2: performing bit selection on the first bit sequence;

[0277] A second bit sequence is selected based on the first bit sequence, the length of which is an integer multiple of the second number M. Optionally, a portion of the bit sequences in the first bit sequence is cyclically selected to obtain a second bit sequence whose length is an integer multiple of the second number M. Optionally, a portion of the bit sequences in the first bit sequence is truncated to obtain a second bit sequence whose length is an integer multiple of the second number M.

[0278] Step 260: Divide the second bit sequence to obtain at least one sequence segment having a length of a second number M;

[0279] In some embodiments, since the length corresponding to the second bit sequence is a third number L', when the third number L' is an integer multiple of the second number M, the length of each sequence segment obtained by dividing the second bit sequence having the third number L' is the second number M. For example, assuming that the second bit sequence having the third number L' is {1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, ····}, and M=4, the second bit sequence having the third number L' is divided into a plurality of sequence segments, each of which has a length of 4, for example, sequence segment 1 is {1, 0, 0, 1}.

[0280] Step 280: Perform OOK modulation on each sequence segment to obtain M OOK symbols corresponding to each sequence segment.

[0281] OOK modulation is the process of modulating a digital sequence into a wireless signal with an MC-OOK waveform. OOK modulation is performed on each sequence segment of a second length M to obtain M OOK symbols corresponding to each sequence segment.

[0282] To summarize, the method provided in this embodiment processes the first bit sequence into a second bit sequence of a third number L' in length when the first number L corresponding to the first bit sequence is not an integer multiple of the second number M, so that the processed second bit sequence can be divided into at least one sequence segment of a length of the second number M, thereby ensuring that the OOK symbols can be transmitted smoothly even when the number of valid OOK symbols to be transmitted is not an integer multiple of M.

[0283] For optional design one (bit stuffing):

[0284] In some embodiments, as shown in FIG14 , the above step 240 may be replaced by the following sub-steps:

[0285] Step 241: When the first number L is not an integer multiple of the second number M, perform bit padding on the first bit sequence to obtain a second bit sequence of a third number L′ in length.

[0286] In some embodiments, when the first number L is not an integer multiple of the second number M, bit padding is performed on a first bit sequence having a length of the first number L, and the first bit sequence having a length of the first number L is padded with a second bit sequence having a length of a third number L'. The third number L' is an integer multiple of the second number M.

[0287] For example, assuming that the first bit sequence is {1, 0, 0, 1, 1, 1, 1, 0, 1, 0}, then L = 11; when M = 4, L is not an integer multiple of M, then bit padding is performed on the first bit sequence to obtain a second bit sequence of {1, 0, 0, 1, 1, 1, 1, 0, 1, 0, 1}; at this time, L' = 12.

[0288] Optionally, when the first number L is smaller than the third number L', bit padding is performed on the first bit sequence to obtain a second bit sequence with a length of the third number L'.

[0289] In a further embodiment based on the embodiment shown in FIG. 14 , as shown in FIG. 15 , the above step 241 may be replaced by the following sub-steps:

[0290] Step 2411: When the first number L is not an integer multiple of the second number M, at least one padding bit is added to the end of the first bit sequence to obtain a second bit sequence of a third number L' in length.

[0291] In some embodiments, the first bit sequence is divided into a second number M to obtain a plurality of sequence segments. When the first number L is not an integer multiple of the second number M, the length of the last sequence segment obtained by dividing the first bit sequence will be less than the second number M. At least one padding bit is added to the last sequence segment obtained by dividing the first bit sequence so that the length of the last sequence segment obtained by dividing the first bit sequence is equal to M, thereby enabling OOK modulation.

[0292] In some embodiments, the at least one padding bit added to the end of the first bit sequence includes any one of the following:

[0293] A bit sequence whose values ​​are all 1;

[0294] A bit sequence whose values ​​are all 0;

[0295] A bit sequence whose values ​​are arranged according to a fixed pattern;

[0296] A bit sequence determined based on the second number M.

[0297] Optionally, the at least one padding bit added to the end of the first bit sequence includes a bit sequence whose values ​​are all 1. That is, the value of the at least one padding bit added to the end of the first bit sequence is always fixed, for example, the value of the at least one padding bit added to the end of the first bit sequence is all 1. Assuming that the first bit sequence is {1, 0, 0, 1, 1, 1, 1, 0, 1, 0}, and M = 4, then 2 padding bits need to be added so that the length of the second bit sequence is an integer multiple of 4. Exemplarily, as shown in FIG16 , the 2 added padding bits are {1, 1}.

[0298] Optionally, the at least one padding bit added to the end of the first bit sequence includes a bit sequence whose values ​​are all 0. That is, the value of the at least one padding bit added to the end of the first bit sequence is always fixed, for example, the value of the at least one padding bit added to the end of the first bit sequence is all 0. Assuming that the first bit sequence is {1, 0, 0, 1, 1, 1, 1, 0, 1, 0}, and M = 4, then 2 padding bits need to be added so that the length of the second bit sequence is an integer multiple of 4. Exemplarily, the 2 added padding bits are {0, 0}.

[0299] Optionally, the at least one padding bit added to the end of the first bit sequence includes a bit sequence whose values ​​are arranged according to a fixed pattern. Optionally, the fixed pattern includes at least one bit with a value of 1 and at least one bit with a value of 0. Assuming that the first bit sequence is {1, 0, 0, 1, 1, 1, 1, 0, 1, 0}, and M = 4, then 2 padding bits need to be added so that the length of the second bit sequence is an integer multiple of 4. Exemplarily, the 2 added padding bits are {1, 0}.

[0300] In some embodiments, the fixed rule may be agreed upon by a protocol, configured by a network device, or determined by a terminal device based on a preset mapping relationship.

[0301] It should be understood that the fixed rule corresponds to a fixed bit length. For example, if the fixed rule is {1,0}, then its corresponding length is 2 bits. When the bit length of the padding bits to be added at the end of the first bit sequence is greater than the bit length corresponding to the fixed rule, it is necessary to perform cyclic increase based on the fixed rule. For example, if the fixed rule is {1,0}, and the bit length of the padding bits to be added is 5, the 5 added padding bits are {1,0,1,0,1}. When the bit length of the padding bits to be added at the end of the first bit sequence is less than the bit length corresponding to the fixed rule, it is necessary to perform truncation and increase based on the fixed rule. For example, if the fixed rule is {1,0,1,1}, and the bit length of the padding bits to be added is 3, the 5 added padding bits are {1,0,1}.

[0302] In some embodiments, there are two situations in which at least one padding bit is added cyclically based on a fixed rule:

[0303] The first method is to cyclically add the bit sequence corresponding to the fixed pattern as a whole. Assuming the fixed pattern is {1,0}, then {1,0} is cyclically added as a whole, for example, the added padding bit sequence {1,0,1,0,1,0} is obtained.

[0304] The second method is to cyclically add each bit in the bit sequence corresponding to a fixed pattern. Assume that the fixed pattern is {1,0}, which includes two bits. Then, cyclically add each of the two bits, for example, to obtain the added padding bit sequence {1,1,1,0,0,0}.

[0305] Optionally, the at least one padding bit added to the end of the first bit sequence includes a bit sequence determined based on the second number M.

[0306] In some embodiments, M has multiple candidate values, for example, M = {1, 2, 4, 6, 8}. Optionally, the at least one padding bit added to the end of the first bit sequence includes a bit sequence determined based on the value of M during communication. For example, if M = 2 during communication, the at least one padding bit added to the end of the first bit sequence includes a bit sequence determined based on M = 2. Optionally, the at least one padding bit added to the end of the first bit sequence includes a bit sequence determined based on the maximum value among the candidate values ​​of M. For example, M max =8, then the at least one padding bit added at the end of the first bit sequence includes the bit based on M max =8 determined bit sequence.

[0307] In some embodiments, the transmitting device may transmit the at least one padding bit added to the end of the first bit sequence in the following manners:

[0308] Transmission mode 1: Transmit the OOK symbol corresponding to at least one padding bit;

[0309] In some embodiments, when the at least one padding bit added to the end of the first bit sequence is determined based on the value of M during communication, all OOK symbols corresponding to the at least one padding bit added to the end of the first bit sequence are transmitted. For example, as shown in Figure 17, two padding bits are added to the end of the first bit sequence {1,0} to obtain a second bit sequence {1,0,1,1}. After the second bit sequence {1,0,1,1} is OOK modulated, the resulting OOK symbol sequence is {OOK-on,OOK-off,OOK-on,OOK-on}. Among them, the OOK symbol sequence corresponding to the first bit sequence {1,0} is {OOK-on,OOK-off}, and the OOK symbol sequence corresponding to the two padding bits is {OOK-on,OOK-on}. The OOK symbol sequence corresponding to the two padding bits is transmitted.

[0310] In some embodiments, when the at least one padding bit added to the tail of the first bit sequence is determined based on the maximum value among the candidate values ​​of M, the portion of OOK symbols corresponding to the at least one padding bit added to the tail of the first bit sequence is transmitted. For example, assuming that the first bit sequence is {1,0}, based on M max =8, the padding bit sequence added to the end of the first bit sequence is {1,1,1,1,1,1}. When M=4 during communication, the first two padding bits in the padding bit sequence are transmitted.

[0311] Transmission mode 2: The OOK symbol corresponding to at least one padding bit is transmitted, and the OOK symbol corresponding to at least one padding bit is used to determine the CP;

[0312] In some embodiments, the OOK symbol corresponding to at least one padding bit may be used to determine the CP.

[0313] Optionally, as shown in Mode 1 of Figure 18 , when a time domain segment includes M OOK symbols, the CP is determined based on the OOK symbol at the end of the time domain segment. When OOK symbol 4 is the OOK symbol corresponding to the padding bit, OOK symbol 4 can be used to determine the CP.

[0314] Optionally, as shown in the second mode of Figure 18, when a time domain segment includes M OOK symbols, the CP is determined for each OOK symbol. When OOK symbol 4 is the OOK symbol corresponding to the padding bit, OOK symbol 4 can be used to determine the CP.

[0315] Transmission mode 3: The OOK symbol corresponding to at least one padding bit is transmitted, and the OOK symbol corresponding to at least one padding bit is not used for CP determination;

[0316] Optionally, as shown in Mode 1 of FIG18 , when a time domain segment includes M OOK symbols, the CP is determined based on the OOK symbols corresponding to the non-filling bits in the time domain segment, for example, based on OOK symbol 2.

[0317] Transmission mode 4: Puncture the OOK symbol corresponding to each padding bit;

[0318] For example, as shown in Figure 19, two padding bits are added to the end of the first bit sequence {1,0} to obtain the second bit sequence {1,0,1,1}. After the second bit sequence {1,0,1,1} is OOK modulated, the resulting OOK symbol sequence is {OOK-on, OOK-off, OOK-on, OOK-on}. Among them, the OOK symbol sequence corresponding to the first bit sequence {1,0} is {OOK-on, OOK-off}, and the OOK symbol sequence corresponding to the two padding bits is {OOK-on, OOK-on}. The OOK symbol sequence corresponding to the two padding bits is punctured, that is, the OOK symbol sequence corresponding to the two padding bits is not transmitted.

[0319] Transmission mode 5: The OOK symbol corresponding to each padding bit is punctured, and the OOK symbol corresponding to each padding bit is not used to determine the CP.

[0320] Optionally, as shown in Mode 1 of FIG18 , when a time domain segment includes M OOK symbols, the CP is determined based on the OOK symbols corresponding to the non-filling bits in the time domain segment, for example, based on OOK symbol 2.

[0321] Transmission mode six: Puncturing is performed on the OOK symbol corresponding to each padding bit, and the OOK symbol corresponding to at least one padding bit is used to determine the CP.

[0322] For example, as shown in Mode 1 of FIG18 , when a time domain segment includes M OOK symbols, the CP is determined based on the OOK symbol at the end of the time domain segment. If OOK symbol 4 corresponds to a padding bit, OOK symbol 4 can be used to determine the CP. After the CP is determined based on OOK symbol 4, the OOK symbols corresponding to the two padding bits are punctured.

[0323] To summarize, the method provided in this embodiment adds at least one padding bit to the end of the first bit sequence when the first number L corresponding to the first bit sequence is not an integer multiple of the second number M, thereby obtaining a second bit sequence of a third number L' in length. This enables the processed second bit sequence to be divided into at least one sequence segment of a length of the second number M, thereby ensuring that the OOK symbols can be transmitted smoothly even when the number of valid OOK symbols to be transmitted is not an integer multiple of M.

[0324] In some embodiments, when a sending device transmits OOK symbols corresponding to at least one padding bit added at the end of a first bit sequence, if a receiving device cannot determine which OOK symbols correspond to the padding bits, errors may occur when parsing the data, such as the receiving device being unable to distinguish between information corresponding to the padding bits and information corresponding to non-padding bits.

[0325] In order to avoid the above problems, in a further embodiment based on the embodiment shown in FIG. 14 or FIG. 15 , as shown in FIG. 20 , the above method further includes:

[0326] Step 320: Send length indication information of at least one padding bit.

[0327] The length indication information is used to indicate the length of at least one padding bit, so that a receiving device can distinguish between information corresponding to the padding bit and information corresponding to the non-padding bit.

[0328] In some embodiments, the length indication information is sent separately. That is, the length indication information and the multiple OOK symbols obtained after OOK modulation are sent separately. For example, as shown in FIG21 , the length indication information is sent separately from the M OOK symbols to indicate the length of at least one padding bit.

[0329] In some embodiments, the length indication information is carried in multiple OOK symbols obtained after OOK modulation and sent. Exemplarily, as shown in Figure 22, the length indication information is carried in M ​​OOK symbols obtained after OOK modulation, and is used to indicate the length of at least one padding bit. That is, the length indication bit sequence corresponding to the length indication information is a subset of the bit sequence corresponding to the M OOK symbols, or it can be understood that the length indication bit sequence corresponding to the length indication information is a subsequence of the bit sequence corresponding to the M OOK symbols. Optionally, the position of the length indication bit sequence corresponding to the length indication information in the bit sequence corresponding to the M OOK symbols is fixed. Optionally, the position of the length indication bit sequence corresponding to the length indication information in the bit sequence corresponding to the M OOK symbols can be agreed upon by the protocol, configured by the network device, or configured by the terminal device.

[0330] In some embodiments, M has multiple candidate values, such as M = {1, 2, 4, 6, 8}. Optionally, the length of the length indication bit sequence corresponding to the length indication information is determined based on the value of M during communication. For example, the length of the length indication bit sequence corresponding to the length indication information is Optionally, the length of the length indication bit sequence corresponding to the length indication information is determined based on the maximum value among the candidate values ​​of M. For example, the length of the length indication bit sequence corresponding to the length indication information is Represents rounding up.

[0331] In some embodiments, the length indication information may be sent in at least two ways:

[0332] Explicit way:

[0333] In some embodiments, as shown in FIG23 , the above step 320 may be replaced by the following sub-steps:

[0334] Step 321: Send a first indication bit sequence;

[0335] In some embodiments, the value of the first indicator bit sequence is equal to the length of at least one padding bit. For example, assuming the first bit sequence is {1, 0, 0, 1, 1, 1, 1, 0, 1, 0} and M = 4, then two padding bits need to be added so that the length of the second bit sequence is an integer multiple of 4. Exemplarily, the two added padding bits are {1, 0}. The first indicator bit sequence may then be {1, 0}, and the value of the first indicator bit sequence is 10 = 2.

[0336] In some embodiments, when a sequence segment corresponds to M OOK symbols, the length of the padding bits may be 1 to M-1. Assume M=2 n , then the length of the first indication bit sequence is greater than or equal to n.

[0337] In some embodiments, the first indicator bit sequence is sent separately, that is, the first indicator bit sequence and the multiple OOK symbols obtained after OOK modulation are sent separately.

[0338] In some embodiments, the first indication bit sequence is sent by being carried in a plurality of OOK symbols obtained after OOK modulation.

[0339] In some embodiments, as shown in FIG24 , the above step 320 may be replaced by the following sub-steps:

[0340] Step 322: Send a second indication bit sequence;

[0341] In some embodiments, a mapping relationship exists between the value of the second indicator bit sequence and the length of at least one padding bit. In some embodiments, the mapping relationship may be agreed upon by a protocol, configured by a network device, or configured by a terminal device.

[0342] In some embodiments, when a sequence segment corresponds to M OOK symbols, the length of the padding bit may be 1 to M-1. Then the second indicator bit sequence corresponds to at least M-1 values, and each of the M-1 values ​​has a one-to-one mapping relationship with the length of at least one padding bit. For example, when the value of the second indicator bit sequence is 1, the length of the corresponding padding bit is 1; when the value of the second indicator bit sequence is 2, the length of the corresponding padding bit is 2; until the value of the second indicator bit sequence is M-1, the length of the corresponding padding bit is M-1.

[0343] Optionally, for the mapping relationship between the value of the second indication bit sequence and the length of at least one padding bit, refer to Table 2 below:

[0344] Table 2

[0345] In some embodiments, M has multiple candidate values, such as M = {1, 2, 4, 6, 8}. Optionally, the number of second indicator bit sequences is determined based on the value of M during communication. Optionally, the number of second indicator bit sequences is determined based on the maximum value among the candidate values ​​of M.

[0346] In some embodiments, the second indicator bit sequence is sent separately, that is, the second indicator bit sequence and the multiple OOK symbols obtained after OOK modulation are sent separately.

[0347] In some embodiments, the second indicator bit sequence is sent by being carried in a plurality of OOK symbols obtained after OOK modulation.

[0348] In some embodiments, as shown in FIG25 , the above step 320 may be replaced by the following sub-steps:

[0349] Step 323: Send a first bitmap with a length of the second number M.

[0350] In some embodiments, the first bitmap is sent separately, that is, the first bitmap and a plurality of OOK symbols obtained after OOK modulation are sent separately.

[0351] In some embodiments, the number of bits in the first bitmap that takes the first value is used to indicate the length of at least one padding bit.

[0352] Optionally, the number of bits with a value of 1 in the first bitmap is used to indicate the length of at least one padding bit. For example, assuming M = 4 and the first bitmap is {1, 0, 0, 0}, where the number of bits with a value of 1 is 1, it indicates that the length of the at least one padding bit is 1. It should be understood that when M = 4 and the length of the at least one padding bit is 1, the first bitmap may also be {0, 1, 0, 0}, or {0, 0, 1, 0}, or {0, 0, 0, 1}.

[0353] Optionally, the number of bits with a value of 0 in the first bitmap is used to indicate the length of the at least one padding bit. For example, assuming M = 4, the first bitmap is {1, 0, 0, 0}, where the number of bits with a value of 0 is 3, indicating that the length of the at least one padding bit is 3. It should be understood that when M = 4 and the length of the at least one padding bit is 3, the first bitmap may also be {0, 1, 0, 0}, or {0, 0, 1, 0}, or {0, 0, 0, 1}.

[0354] In some embodiments, the position of the first-valued bit in the first bitmap is associated with the position of the at least one padding bit in the second bit sequence. For example, as shown in FIG26 , the first-valued bit is located at the last bit in the bitmap, and the at least one padding bit is also located at the last bit in the second bit sequence.

[0355] Optionally, when the first value is 1, the position of the bit with the value 1 in the first bitmap is associated with the position of the at least one padding bit in the second bit sequence. For example, when M=4 and the length of the at least one padding bit is 1, the first bitmap is {0, 0, 0, 1}.

[0356] Optionally, when the first value is 0, the position of the bit with the value 0 in the first bitmap is associated with the position of the at least one padding bit in the second bit sequence. For example, when M=4 and the length of the at least one padding bit is 1, the first bitmap is {1, 1, 1, 0}.

[0357] Implicit way:

[0358] In some embodiments, as shown in FIG27 , the above step 320 may be replaced by the following sub-steps:

[0359] Step 324: In the process of performing OOK modulation on the second bit sequence to convert it into an OOK symbol, mapping the bits in the second bit sequence whose values ​​are the first values ​​into a target sequence;

[0360] Optionally, in the process of performing OOK modulation on the second bit sequence to obtain OOK symbols, bits with a value of 1 in the second bit sequence are mapped to the target sequence.

[0361] Optionally, in the process of performing OOK modulation on the second bit sequence to obtain OOK symbols, bits with values ​​of 0 in the second bit sequence are mapped to the target sequence.

[0362] In some embodiments, the target sequence is at least one of the following sequences:

[0363] PN sequence;

[0364] ZC sequence;

[0365] M sequence.

[0366] Optionally, in the process of performing OOK modulation on the second bit sequence to obtain an OOK symbol, bits with a value of 1 in the second bit sequence are mapped to a PN sequence. Alternatively, in the process of performing OOK modulation on the second bit sequence to obtain an OOK symbol, bits with a value of 1 in the second bit sequence are mapped to a ZC sequence. Alternatively, in the process of performing OOK modulation on the second bit sequence to obtain an OOK symbol, bits with a value of 1 in the second bit sequence are mapped to an M sequence.

[0367] Optionally, in the process of performing OOK modulation on the second bit sequence to obtain an OOK symbol, bits with a value of 0 in the second bit sequence are mapped to a PN sequence. Alternatively, in the process of performing OOK modulation on the second bit sequence to obtain an OOK symbol, bits with a value of 0 in the second bit sequence are mapped to a ZC sequence. Alternatively, in the process of performing OOK modulation on the second bit sequence to obtain an OOK symbol, bits with a value of 0 in the second bit sequence are mapped to an M sequence.

[0368] In some embodiments, the target sequence is used to indicate the length of at least one padding bit. Optionally, the number of target sequences is x. Optionally, the number of target sequences is determined based on the value of M during communication. For example, x is a positive integer greater than or equal to log2M. Optionally, the number of target sequences is determined based on the maximum value among candidate values ​​of M.

[0369] Optionally, the target sequence or the value of the target sequence is used to indicate the length of at least one padding bit. That is, the length of the at least one padding bit is associated with the target sequence or the value of the target sequence.

[0370] Optionally, the index of the target sequence is used to indicate the length of at least one padding bit. For example, a mapping relationship exists between multiple target sequences and the length of at least one padding bit. In some embodiments, the mapping relationship may be agreed upon by a protocol, configured by a network device, or configured by a terminal device.

[0371] In some embodiments, when a sequence segment corresponds to M OOK symbols, the length of the padding bits may be 1 to M-1. Therefore, there are at least M-1 corresponding target sequences, and each of the M-1 target sequences has a one-to-one mapping relationship with the length of at least one padding bit.

[0372] Optionally, for the mapping relationship between multiple target sequences and the length of at least one padding bit, refer to Table 3 below:

[0373] Table 3

[0374] In some embodiments, M has multiple candidate values, such as M = {1, 2, 4, 6, 8}. Optionally, the number of target sequences is determined based on the value of M during communication. Optionally, the number of target sequences is determined based on the maximum value among the candidate values ​​of M.

[0375] Optionally, the cyclic shift value corresponding to the target sequence is used to indicate the length of at least one padding bit. Using different cyclic shift values ​​for the same target sequence indicates different padding bit lengths.

[0376] In some embodiments, when a sequence segment corresponds to M OOK symbols, the length of the padding bits may be 1 to M-1. Therefore, the same target sequence needs to correspond to at least M-1 cyclic shift values, and each of the M-1 cyclic shift values ​​has a one-to-one mapping relationship with the length of at least one padding bit. For example, when the cyclic shift value is 1, the length of the corresponding padding bit is 1; when the cyclic shift value is 2, the length of the corresponding padding bit is 2; and when the cyclic shift value is M-1, the length of the corresponding padding bit is M-1.

[0377] Optionally, for the mapping relationship between the cyclic shift value of the target sequence and the length of at least one padding bit, refer to the following Table 4:

[0378] Table 4

[0379] In some embodiments, M has multiple candidate values, such as M = {1, 2, 4, 6, 8}. Optionally, the number of cyclic shift values ​​for the target sequence is determined based on the value of M during communication. Optionally, the number of cyclic shift values ​​for the target sequence is determined based on the maximum value among the candidate values ​​of M.

[0380] Step 325: Send the OOK symbol corresponding to the second bit sequence.

[0381] The transmitting device transmits the OOK symbols corresponding to the second bit sequence obtained through OOK modulation to the receiving device, wherein the bits in the second bit sequence having the first value are mapped to the target sequence, and the target sequence is used to indicate the length of at least one padding bit.

[0382] Optionally, the implicit transmission of the length indication information may also include: performing phase randomization on the second bit sequence or intermediate data using a target phase randomization sequence during OOK modulation of the second bit sequence into OOK symbols; and transmitting the OOK symbols corresponding to the second bit sequence. The intermediate data is intermediate process data generated during the OOK modulation of the second bit sequence.

[0383] In some embodiments, the target phase randomization sequence is used to indicate a length of at least one padding bit.

[0384] Optionally, the value of the target phase randomization sequence is used to indicate the length of at least one padding bit. That is, the length of the at least one padding bit is associated with the value of the target phase randomization sequence.

[0385] Optionally, the index of the target phase randomization sequence is used to indicate the length of at least one padding bit. For example, a mapping relationship exists between multiple target phase randomization sequences and the length of at least one padding bit. In some embodiments, this mapping relationship may be agreed upon by a protocol, configured by a network device, or configured by a terminal device.

[0386] In some embodiments, when a sequence segment corresponds to M OOK symbols, the length of the padding bits may be 1 to M-1. Therefore, there are at least M-1 corresponding target phase randomization sequences, and each of the M-1 target phase randomization sequences has a one-to-one mapping relationship with the length of at least one padding bit.

[0387] Optionally, for the mapping relationship between multiple target phase randomization sequences and the length of at least one padding bit, refer to Table 5 below:

[0388] Table 5

[0389] To sum up, the method provided in this embodiment enables the receiving device to distinguish between the information corresponding to the padding bits and the information corresponding to the non-padding bits by sending length indication information for indicating at least one padding bit to the sending device, thereby ensuring that even if the number of valid OOK symbols to be transmitted is not an integer multiple of M, the receiving party can accurately parse the information corresponding to the valid OOK symbols through the length indication information.

[0390] For optional design 2 (bit selection):

[0391] In some embodiments, as shown in FIG28 , the above step 240 may be replaced by the following sub-steps:

[0392] Step 242: When the first number L is not an integer multiple of the second number M, perform bit selection on the first bit sequence to obtain a second bit sequence of a third number L′ in length.

[0393] In some embodiments, when the first number L is not an integer multiple of the second number M, bit selection is performed on a first bit sequence having a length of the first number L, and a second bit sequence having a length of a third number L' is obtained based on the first bit sequence having a length of the first number L. The third number L' is an integer multiple of the second number M.

[0394] In some embodiments, the first number L may be smaller than the third number L'.

[0395] In a further embodiment based on the embodiment shown in FIG. 28 , as shown in FIG. 29 , the above step 242 may be replaced by the following sub-steps:

[0396] Step 2421: When the first number L is smaller than the third number L′, perform cyclic selection on the first bit sequence to obtain a second bit sequence with a length of the third number L′.

[0397] In some embodiments, when the first number L is smaller than the third number L', at least one repeated bit is cyclically selected from the first bit sequence to obtain a second bit sequence having a length of the third number L'.

[0398] In some embodiments, when the first number L is less than the third number L' and the first number L is not an integer multiple of the second number M, at least one repeated bit is cyclically selected from the first bit sequence, so that the first bit sequence having a length of the first number L is expanded to obtain a second bit sequence having a length of the third number L'. The bit sequence corresponding to the cyclically selected at least one repeated bit is a sequence subset in the first bit sequence, or it can be understood that the bit sequence corresponding to the cyclically selected at least one repeated bit is a subsequence in the first bit sequence.

[0399] For example, as shown in FIG30 , assuming the first bit sequence is {1, 0, 0, 1, 1, 1, 1, 0, 1, 0}, L = 11. When M = 4, L is not an integer multiple of M. Therefore, the first bit sequence is cyclically selected, resulting in a second bit sequence of {1, 0, 0, 1, 1, 1, 1, 0, 1, 0}. In this case, L' = 12. The repeatedly selected bit sequence {1} is a subset of the first bit sequence.

[0400] Optionally, the length of the bit sequence corresponding to the at least one repeated bit cyclically selected in the first bit sequence is determined based on the second number M.

[0401] In some embodiments, M has multiple candidate values, for example, M = {1, 2, 4, 6, 8}. Optionally, the length of the bit sequence corresponding to the at least one repeated bit cyclically selected in the first bit sequence is determined based on the value of M during communication. Optionally, the length of the bit sequence corresponding to the at least one repeated bit cyclically selected in the first bit sequence is determined based on the maximum value among the candidate values ​​of M.

[0402] In some embodiments, the transmitting device may transmit the at least one repeated bit cyclically selected in the first bit sequence in various ways:

[0403] Transmission mode 1: Transmit the OOK symbol corresponding to at least one repeated bit;

[0404] In some embodiments, when the length of the bit sequence corresponding to at least one repeated bit cyclically selected in the first bit sequence is determined based on the value of M during communication, all OOK symbols corresponding to at least one repeated bit cyclically selected in the first bit sequence are transmitted.

[0405] In some embodiments, when the length of the bit sequence corresponding to the at least one repeated bit cyclically selected in the first bit sequence is determined based on the maximum value among the candidate values ​​of M, the partial OOK symbols corresponding to the at least one repeated bit cyclically selected in the first bit sequence are transmitted. For example, assuming that the first bit sequence is {1,0}, based on M max =8, the repeated bit sequence cyclically selected in the first bit sequence is {1, 0, 1, 0, 1, 0}. When M=4 during communication, the first two repeated bits in the repeated bit sequence are transmitted.

[0406] Transmission mode 2: The OOK symbol corresponding to at least one repeated bit is transmitted, and the OOK symbol corresponding to at least one repeated bit is used to determine the CP;

[0407] In some embodiments, the OOK symbol corresponding to at least one repeated bit may be used to determine the CP.

[0408] Optionally, as shown in Mode 1 of Figure 18 , when a time domain segment includes M OOK symbols, the CP is determined based on the OOK symbol at the end of the time domain segment. When OOK symbol 4 is the OOK symbol corresponding to the repeated bit, OOK symbol 4 can be used to determine the CP.

[0409] Optionally, as shown in the second mode of Figure 18, when a time domain segment includes M OOK symbols, the CP is determined for each OOK symbol. When OOK symbol 4 is the OOK symbol corresponding to the repeated bit, OOK symbol 4 can be used to determine the CP.

[0410] Transmission mode 3: The OOK symbol corresponding to at least one repeated bit is transmitted, and the OOK symbol corresponding to at least one repeated bit is not used for CP determination;

[0411] Optionally, as shown in Mode 1 of FIG18 , when a time domain segment includes M OOK symbols, the CP is determined based on the OOK symbols corresponding to the non-repeated bits in the time domain segment, for example, based on OOK symbol 2.

[0412] Transmission mode 4: Puncture the OOK symbol corresponding to each repeated bit;

[0413] In some embodiments, the OOK symbol corresponding to each repeated bit is not transmitted.

[0414] Transmission mode 5: The OOK symbol corresponding to each repeated bit is punctured, and the OOK symbol corresponding to each repeated bit is not used to determine the CP.

[0415] Optionally, as shown in Mode 1 of FIG18 , when a time domain segment includes M OOK symbols, the CP is determined based on the OOK symbols corresponding to the non-repeated bits in the time domain segment, for example, based on OOK symbol 2.

[0416] Transmission mode six: Puncturing is performed on the OOK symbol corresponding to each repeated bit, and at least one OOK symbol corresponding to the repeated bit is used to determine the CP.

[0417] For example, as shown in Mode 1 of FIG18 , when a time domain segment includes M OOK symbols, the CP is determined based on the OOK symbol at the end of the time domain segment. If OOK symbol 4 corresponds to a repeated bit, OOK symbol 4 can be used to determine the CP. After the CP is determined based on OOK symbol 4, the OOK symbol corresponding to the repeated bit is punctured.

[0418] To summarize, the method provided in this embodiment obtains a second bit sequence of length L' by cyclically selecting the first bit sequence when the first number L is less than the third number L', so that the processed second bit sequence can be divided into at least one sequence segment of length M, thereby ensuring that the OOK symbols can be transmitted smoothly even when the number of valid OOK symbols to be transmitted is not an integer multiple of M.

[0419] In some embodiments, when a sending device transmits OOK symbols corresponding to at least one repeated bit cyclically selected in a first bit sequence, if a receiving device cannot determine which OOK symbols correspond to the repeated bits, errors may occur when parsing the data, such as the receiving device being unable to distinguish between information corresponding to the repeated bits and information corresponding to non-repeated bits.

[0420] In order to avoid the above problems, in a further embodiment based on the embodiment shown in FIG. 29 , as shown in FIG. 31 , the method further includes:

[0421] Step 420: Send length indication information of at least one repeated bit.

[0422] The length indication information is used to indicate the length of at least one repeated bit, so that a receiving device can distinguish between information corresponding to the repeated bit and information corresponding to the non-repeated bit.

[0423] In some embodiments, the length indication information is sent separately, that is, the length indication information and the multiple OOK symbols obtained after OOK modulation are sent separately.

[0424] In some embodiments, the length indication information is carried in multiple OOK symbols obtained after OOK modulation and sent. That is, the length indication bit sequence corresponding to the length indication information is a subset of the bit sequence corresponding to multiple OOK symbols, or it can be understood that the length indication bit sequence corresponding to the length indication information is a subsequence of the bit sequence corresponding to multiple OOK symbols. Optionally, the position of the length indication bit sequence corresponding to the length indication information in the bit sequence corresponding to multiple OOK symbols is fixed. Optionally, the position of the length indication bit sequence corresponding to the length indication information in the bit sequence corresponding to multiple OOK symbols can be agreed upon by the protocol, configured by the network device, or configured by the terminal device.

[0425] In some embodiments, M has multiple candidate values, such as M = {1, 2, 4, 6, 8}. Optionally, the length of the length indication bit sequence corresponding to the length indication information is determined based on the value of M during communication. For example, the length of the length indication bit sequence corresponding to the length indication information is Optionally, the length of the length indication bit sequence corresponding to the length indication information is determined based on the maximum value among the candidate values ​​of M. For example, the length of the length indication bit sequence corresponding to the length indication information is Represents rounding up.

[0426] In some embodiments, the length indication information may be sent in at least two ways:

[0427] Explicit way:

[0428] In some embodiments, as shown in FIG32 , the above step 420 may be replaced by the following sub-steps:

[0429] Step 421: Send a third indication bit sequence;

[0430] In some embodiments, the value of the third indicator bit sequence is equal to the length of at least one repeated bit. For example, assuming the first bit sequence is {1, 0, 0, 1, 1, 1, 1, 0, 1, 0}, and M = 4, then it is necessary to cyclically select two repeated bits so that the length of the resulting second bit sequence is an integer multiple of 4. For example, the two cyclically selected repeated bits are {1, 0}. Then, the third indicator bit sequence may be {1, 0}, and the value of the third indicator bit sequence is 10 = 2.

[0431] In some embodiments, when a sequence segment corresponds to M OOK symbols, the length of the repeated bits may be 1 to M-1. Assume M=2 n , then the length of the third indication bit sequence is greater than or equal to n.

[0432] In some embodiments, the third indicator bit sequence is sent separately, that is, the third indicator bit sequence and the multiple OOK symbols obtained after OOK modulation are sent separately.

[0433] In some embodiments, the third indication bit sequence is carried in a plurality of OOK symbols obtained after OOK modulation and sent.

[0434] In some embodiments, as shown in FIG33 , the above step 420 may be replaced by the following sub-steps:

[0435] Step 422: Send a fourth indication bit sequence;

[0436] In some embodiments, a mapping relationship exists between the value of the fourth indicator bit sequence and the length of at least one repeated bit. In some embodiments, the mapping relationship may be agreed upon by a protocol, configured by a network device, or configured by a terminal device.

[0437] In some embodiments, when a sequence segment corresponds to M OOK symbols, the length of the repeated bit may be 1 to M-1. Then the fourth indicator bit sequence corresponds to at least M-1 values, and each of the M-1 values ​​has a one-to-one mapping relationship with the length of at least one repeated bit. For example, when the value of the fourth indicator bit sequence is 1, the length of the corresponding repeated bit is 1; when the value of the fourth indicator bit sequence is 2, the length of the corresponding repeated bit is 2; until the value of the fourth indicator bit sequence is M-1, the length of the corresponding repeated bit is M-1.

[0438] Optionally, for a mapping relationship between the value of the fourth indication bit sequence and the length of at least one repeated bit, refer to Table 6 below:

[0439] Table 6

[0440] In some embodiments, M has multiple candidate values, such as M={1, 2, 4, 6, 8}. Optionally, the number of fourth indicator bit sequences is determined based on the value of M during communication. Optionally, the number of fourth indicator bit sequences is determined based on the maximum value among the candidate values ​​of M.

[0441] In some embodiments, the fourth indicator bit sequence is sent separately, that is, the fourth indicator bit sequence and the multiple OOK symbols obtained after OOK modulation are sent separately.

[0442] In some embodiments, the fourth indication bit sequence is sent by being carried in a plurality of OOK symbols obtained after OOK modulation.

[0443] In some embodiments, as shown in FIG34 , the above step 420 may be replaced by the following sub-steps:

[0444] Step 423: Send a second bitmap with a length of the second number M.

[0445] In some embodiments, the second bit pattern is sent separately, that is, the second bit pattern and the multiple OOK symbols obtained after OOK modulation are sent separately.

[0446] In some embodiments, the number of bits in the second bitmap that takes the first value is used to indicate the length of at least one repeated bit.

[0447] Optionally, the number of bits with a value of 1 in the second bitmap is used to indicate the length of at least one repeated bit. Exemplarily, assuming M = 4 and the second bitmap is {1, 0, 0, 0}, where the number of bits with a value of 1 is 1, indicates that the length of at least one repeated bit is 1. It should be understood that when M = 4 and the length of at least one repeated bit is 1, the second bitmap may also be {0, 1, 0, 0}, or {0, 0, 1, 0}, or {0, 0, 0, 1}.

[0448] Optionally, the number of bits with a value of 0 in the second bitmap is used to indicate the length of the at least one repeated bit. For example, assuming M = 4 and the second bitmap is {1, 0, 0, 0}, where the number of bits with a value of 0 is 3, it indicates that the length of the at least one repeated bit is 3. It should be understood that when M = 4 and the length of the at least one repeated bit is 3, the second bitmap may also be {0, 1, 0, 0}, or {0, 0, 1, 0}, or {0, 0, 0, 1}.

[0449] In some embodiments, the position of the first-valued bit in the second bitmap is associated with the position of the at least one repeated bit in the second bit sequence. For example, as shown in FIG26 , the first-valued bit is located at the last bit in the bitmap, and the at least one repeated bit is also located at the last bit in the second bit sequence.

[0450] Optionally, when the first value is 1, the position of the bit with the value 1 in the second bit map is associated with the position of the at least one repeated bit in the second bit sequence. For example, when M=4 and the length of the at least one repeated bit is 1, the second bit map is {0, 0, 0, 1}.

[0451] Optionally, when the first value is 0, the position of the bit with the value 0 in the second bit map is associated with the position of the at least one repeated bit in the second bit sequence. For example, when M=4 and the length of the at least one repeated bit is 1, the second bit map is {1, 1, 1, 0}.

[0452] Implicit way:

[0453] In some embodiments, as shown in FIG35 , the above step 420 may be replaced by the following sub-steps:

[0454] Step 424: In the process of performing OOK modulation on the second bit sequence to convert it into an OOK symbol, mapping the bits in the second bit sequence whose values ​​are the first values ​​into the target sequence;

[0455] Optionally, in the process of performing OOK modulation on the second bit sequence to obtain OOK symbols, bits with a value of 1 in the second bit sequence are mapped to the target sequence.

[0456] Optionally, in the process of performing OOK modulation on the second bit sequence to obtain OOK symbols, bits with values ​​of 0 in the second bit sequence are mapped to the target sequence.

[0457] In some embodiments, the target sequence is at least one of the following sequences:

[0458] PN sequence;

[0459] ZC sequence;

[0460] M sequence.

[0461] Optionally, in the process of performing OOK modulation on the second bit sequence to obtain an OOK symbol, bits with a value of 1 in the second bit sequence are mapped to a PN sequence. Alternatively, in the process of performing OOK modulation on the second bit sequence to obtain an OOK symbol, bits with a value of 1 in the second bit sequence are mapped to a ZC sequence. Alternatively, in the process of performing OOK modulation on the second bit sequence to obtain an OOK symbol, bits with a value of 1 in the second bit sequence are mapped to an M sequence.

[0462] Optionally, in the process of performing OOK modulation on the second bit sequence to obtain an OOK symbol, bits with a value of 0 in the second bit sequence are mapped to a PN sequence. Alternatively, in the process of performing OOK modulation on the second bit sequence to obtain an OOK symbol, bits with a value of 0 in the second bit sequence are mapped to a ZC sequence. Alternatively, in the process of performing OOK modulation on the second bit sequence to obtain an OOK symbol, bits with a value of 0 in the second bit sequence are mapped to an M sequence.

[0463] In some embodiments, the target sequence is used to indicate the length of at least one repeated bit. Optionally, the number of target sequences is x. Optionally, the number of target sequences is determined based on the value of M during communication. For example, x is a positive integer greater than or equal to log2M. Optionally, the number of target sequences is determined based on the maximum value among candidate values ​​of M.

[0464] Optionally, the target sequence or the value of the target sequence is used to indicate the length of at least one padding bit. That is, the length of the at least one padding bit is associated with the target sequence or the value of the target sequence.

[0465] Optionally, the index of the target sequence is used to indicate the length of at least one repeated bit. For example, a mapping relationship exists between multiple target sequences and the length of at least one repeated bit. In some embodiments, the mapping relationship may be agreed upon by a protocol, configured by a network device, or configured by a terminal device.

[0466] In some embodiments, when a sequence segment corresponds to M OOK symbols, the length of the repetition bit may be 1 to M-1. Therefore, there are at least M-1 corresponding target sequences, and each of the M-1 target sequences has a one-to-one mapping relationship with the length of at least one repetition bit.

[0467] Optionally, for the mapping relationship between multiple target sequences and the length of at least one repetition bit, refer to Table 7 below:

[0468] Table 7

[0469] In some embodiments, M has multiple candidate values, such as M = {1, 2, 4, 6, 8}. Optionally, the number of target sequences is determined based on the value of M during communication. Optionally, the number of target sequences is determined based on the maximum value among the candidate values ​​of M.

[0470] Optionally, the cyclic shift value corresponding to the target sequence is used to indicate the length of at least one repeated bit. Different cyclic shift values ​​of the same target sequence represent different lengths of repeated bits.

[0471] In some embodiments, when a sequence segment corresponds to M OOK symbols, the length of the repetition bit may be 1 to M-1. Therefore, the same target sequence needs to correspond to at least M-1 cyclic shift values, and each of the M-1 cyclic shift values ​​has a one-to-one mapping relationship with the length of at least one repetition bit. For example, when the cyclic shift value is 1, the length of the corresponding repetition bit is 1; when the cyclic shift value is 2, the length of the corresponding repetition bit is 2; and when the cyclic shift value is M-1, the length of the corresponding repetition bit is M-1.

[0472] Optionally, for the mapping relationship between the cyclic shift value of the target sequence and the length of at least one repeated bit, refer to Table 8 below:

[0473] Table 8

[0474] In some embodiments, M has multiple candidate values, such as M = {1, 2, 4, 6, 8}. Optionally, the number of cyclic shift values ​​for the target sequence is determined based on the value of M during communication. Optionally, the number of cyclic shift values ​​for the target sequence is determined based on the maximum value among the candidate values ​​of M.

[0475] Step 425: Send the OOK symbol corresponding to the second bit sequence.

[0476] The transmitting device transmits the OOK symbols corresponding to the second bit sequence obtained through OOK modulation to the receiving device, wherein the bits in the second bit sequence having the first value are mapped to the target sequence, and the target sequence is used to indicate the length of at least one padding bit.

[0477] Optionally, the implicit transmission of the length indication information may also include: performing phase randomization on the second bit sequence or intermediate data using a target phase randomization sequence during OOK modulation of the second bit sequence into OOK symbols; and transmitting the OOK symbols corresponding to the second bit sequence. The intermediate data is intermediate process data generated during the OOK modulation of the second bit sequence.

[0478] In some embodiments, the target phase randomization sequence is used to indicate the length of at least one repetition bit.

[0479] Optionally, the value of the target phase randomization sequence is used to indicate the length of at least one repeated bit. That is, the length of the at least one repeated bit is associated with the value of the target phase randomization sequence.

[0480] Optionally, the index of the target phase randomization sequence is used to indicate the length of at least one repeated bit. For example, a mapping relationship exists between multiple target phase randomization sequences and the length of at least one repeated bit. In some embodiments, the mapping relationship may be agreed upon by a protocol, configured by a network device, or configured by a terminal device.

[0481] In some embodiments, when a sequence segment corresponds to M OOK symbols, the length of the repetition bit may be 1 to M-1. Therefore, there are at least M-1 corresponding target phase randomization sequences, and each of the M-1 target phase randomization sequences has a one-to-one mapping relationship with the length of at least one repetition bit.

[0482] Optionally, for the mapping relationship between multiple target phase randomization sequences and the length of at least one repetition bit, refer to Table 9 below:

[0483] Table 9

[0484] To sum up, the method provided in this embodiment enables the receiving device to distinguish between the information corresponding to the repeated bits and the information corresponding to the non-repeated bits by sending length indication information for indicating the length of at least one repeated bit to the sending device, thereby ensuring that even if the number of valid OOK symbols to be transmitted is not an integer multiple of M, the receiving party can accurately parse the information corresponding to the valid OOK symbols through the length indication information.

[0485] In some embodiments, the first number L may be greater than the third number L'.

[0486] In a further embodiment based on the embodiment shown in FIG. 28 , as shown in FIG. 36 , the above step 242 may be replaced by the following sub-steps:

[0487] Step 2422: When the first number L is greater than the third number L′, truncate the first bit sequence to obtain a second bit sequence with a length of the third number L′.

[0488] In some embodiments, when the first number L is greater than the third number L', a segment of a bit sequence is selected and truncated from the first bit sequence as a second bit sequence having a length of the third number L'. The truncated selected bit sequence is a subset of the first bit sequence, or in other words, the truncated selected bit sequence is a subsequence of the first bit sequence.

[0489] For example, as shown in FIG37 , assuming the first bit sequence is {1, 0, 0, 1, 1, 1, 1, 0, 1, 0}, L = 11. When M = 4, L is not an integer multiple of M, so the first bit sequence is truncated to obtain a second bit sequence of {1, 0, 0, 1, 1, 1, 0}. In this case, L' = 8. The second bit sequence obtained by truncating the selection is a subset of the first bit sequence.

[0490] Optionally, the length of the second bit sequence selected by truncating the first bit sequence is determined based on the second number M.

[0491] In some embodiments, M has multiple candidate values, for example, M = {1, 2, 4, 6, 8}. Optionally, the length of the second bit sequence selected by truncating the first bit sequence is determined based on the value of M during communication. Optionally, the length of the second bit sequence selected by truncating the first bit sequence is determined based on the maximum value among the candidate values ​​of M.

[0492] To summarize, the method provided in this embodiment obtains a second bit sequence of length L' by truncating the first bit sequence when the first number L is greater than the third number L', so that the processed second bit sequence can be divided into at least one sequence segment of length M, thereby ensuring that the OOK symbols can be transmitted smoothly even when the number of valid OOK symbols to be transmitted is not an integer multiple of M.

[0493] In a further embodiment based on the embodiment shown in FIG. 28 , FIG. 29 , or FIG. 36 , as shown in FIG. 38 , the method further includes:

[0494] Step 520: Determine a selection starting point for bit selection.

[0495] The selection starting point of the bit selection is determined based on the indication information of the network device; or, the selection starting point of the bit selection is determined based on the agreed rules of the communication protocol.

[0496] Optionally, the selection starting point is determined based on indication information of the network device, or the selection starting point is based on an agreed rule of the communication protocol.

[0497] In some embodiments, the selection starting point is used to indicate a selection starting point for bit selection of the first bit sequence.

[0498] In some embodiments, the selection starting point is used to indicate a selection starting point for cyclically selecting the first bit sequence.

[0499] In some embodiments, the selection starting point for cyclically selecting the first bit sequence is determined based on indication information of the network device. For example, the indication information of the network device indicates that the sequence starting point of the first bit sequence is used as the selection starting point for cyclically selecting the first bit sequence.

[0500] In some embodiments, the selection starting point for cyclically selecting the first bit sequence is determined based on a convention of the communication protocol. For example, the convention of the communication protocol indicates that the target bit position of the first bit sequence is used as the selection starting point for cyclically selecting the first bit sequence.

[0501] In some embodiments, the selection starting point is used to indicate a selection starting point for truncation selection of the first bit sequence.

[0502] In some embodiments, the selection starting point for truncating the first bit sequence is determined based on indication information of the network device. For example, the indication information of the network device indicates that the sequence starting point of the first bit sequence is used as the selection starting point for truncating the first bit sequence.

[0503] In some embodiments, the starting point for selecting the truncation of the first bit sequence is determined based on a communication protocol agreement. For example, the communication protocol agreement indicates that the target bit position of the first bit sequence is used as the starting point for selecting the truncation of the first bit sequence.

[0504] Optionally, the selection starting point is indicated using a Start and Length Indicator (SLIV) value.

[0505] In summary, the method provided in this embodiment determines the selection starting point for bit selection, so that the sending device can perform bit selection on the first bit sequence based on the accurate selection starting point.

[0506] In some embodiments, the embodiments of the present application also propose a method for generating OOK symbols, which can solve the problem that when L is not an integer multiple of M, the bit sequence in the last sequence segment obtained after dividing the first bit sequence of length L will be less than M, resulting in the last sequence segment being subjected to OOK modulation and unable to obtain M OOK symbols.

[0507] FIG39 shows a flowchart of a method for generating OOK symbols provided by an exemplary embodiment of the present application. The method is executed by a sending device, which may be a network device, an AP, an Ambient IoT device, or a terminal device. The method includes:

[0508] Step 620: Obtain a first bit sequence of a first length L;

[0509] The first number L is the number of bits in the first bit sequence. For example, assuming the first bit sequence is {1, 0, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0}, then L is 18.

[0510] In some embodiments, the first bit sequence is any one of the following:

[0511] The original bit sequence that does not need to be encoded;

[0512] The original bit sequence before encoding;

[0513] The coded bit sequence after encoding the original bit sequence;

[0514] A coded bit sequence obtained by performing at least one level of multi-level coding on the original bit sequence.

[0515] In some embodiments, the first bit sequence is specifically described in step 220 above.

[0516] Step 640: Divide the first bit sequence into at least one sequence segment according to the second number M, perform OOK modulation, and obtain an OOK symbol sequence corresponding to each sequence segment;

[0517] The second number M is the number of OOK symbols transmitted in the preset duration. The preset duration is determined by the basic time domain unit in the cellular communication system or the WiFi system. In some embodiments, the preset duration is t OFDM symbols, and t OFDM symbols can transmit M OOK symbols. M is the number of OOK symbols transmitted in t OFDM symbols. The value of t is a positive integer. In the embodiment of the present application, M OOK symbols are transmitted in 1 OFDM symbol as an example.

[0518] In some embodiments, M may be agreed upon by a protocol, configured by a network device, or determined by a terminal device based on a preset mapping relationship.

[0519] In some embodiments, M has multiple candidate values, for example, M={1, 2, 4, 6, 8}.

[0520] In some embodiments, the first bit sequence is divided into at least one sequence segment according to a second number M. For example, assuming the first bit sequence is {1, 0, 0, 1, 1, 1, 1, 0, 1, 0, 1}, when M=4, the first bit sequence is segmented to obtain sequence segment 1 as {1, 0, 0, 1}, sequence segment 2 as {1, 1, 1, 0}, and sequence segment 3 as {1, 0, 1}.

[0521] OOK modulation is performed on at least one sequence segment obtained based on the first bit sequence division to obtain an OOK symbol sequence corresponding to each sequence segment.

[0522] It should be understood that it is possible to perform OOK modulation on all sequence segments simultaneously to obtain an OOK symbol sequence corresponding to each sequence segment.

[0523] Alternatively, all sequence segments may be grouped and OOK modulation may be performed sequentially on each group to obtain an OOK symbol sequence corresponding to each sequence segment. For example, assuming there are four sequence segments, including sequence segment 1, sequence segment 2, sequence segment 3, and sequence segment 4, sequence segments 1 and 2 are grouped together for OOK modulation to obtain OOK symbol sequence 1 corresponding to sequence segment 1 and OOK symbol sequence 2 corresponding to sequence segment 2. Sequence segments 3 and 4 are grouped together for OOK modulation to obtain OOK symbol sequence 3 corresponding to sequence segment 3 and OOK symbol sequence 4 corresponding to sequence segment 4.

[0524] Alternatively, OOK modulation may be performed on each sequence segment in sequence to obtain an OOK symbol sequence corresponding to each sequence segment. For example, assuming there are four sequence segments, including sequence segment 1, sequence segment 2, sequence segment 3, and sequence segment 4. Sequence segment 1 is OOK modulated in sequence to obtain OOK symbol sequence 1 corresponding to sequence segment 1; sequence segment 2 is OOK modulated to obtain OOK symbol sequence 2 corresponding to sequence segment 2; sequence segment 3 is OOK modulated to obtain OOK symbol sequence 3 corresponding to sequence segment 3; and sequence segment 4 is OOK modulated to obtain OOK symbol sequence 4 corresponding to sequence segment 4.

[0525] In some embodiments, the OOK symbol sequence includes a first type of symbol and / or a second type of symbol, wherein the first type of symbol corresponds to a bit having a first value, and the second type of symbol corresponds to a bit having a second value. The first type of symbol and the second type of symbol are different types of symbols, and the first value and the second value are also different. For example, the first value corresponding to the first type of symbol is 1, and the second value corresponding to the second type of symbol is 0; or, the first value corresponding to the first type of symbol is 0, and the second value corresponding to the second type of symbol is 1.

[0526] Optionally, the OOK symbol sequence includes only symbols of the first type; or, the OOK symbol sequence includes only symbols of the second type. For example, the OOK symbol sequence is {OOK-on, OOK-on, OOK-on, OOK-on, OOK-on}; or, the OOK symbol sequence is {OOK-off, OOK-off, OOK-off, OOK-off, OOK-off, OOK-off}.

[0527] Optionally, the OOK symbol sequence includes first-type symbols and second-type symbols. For example, the OOK symbol sequence is {OOK-on, OOK-off, OOK-off, OOK-on, OOK-off, OOK-on}.

[0528] Step 660: When the number of bits in the last sequence segment is less than the second number M, add a third type of symbol to the OOK symbol sequence corresponding to the last sequence segment, so that the OOK symbol sequence corresponding to the last sequence segment includes at least M OOK symbols.

[0529] In some embodiments, when the first number L is not an integer multiple of the second number M, the number of bits in the last sequence segment obtained by dividing the first bit sequence according to the second number M will be less than the second number M. A third type of symbol is then added to the OOK symbol sequence corresponding to the last sequence segment, so that the OOK symbol sequence corresponding to the last sequence segment includes at least M OOK symbols.

[0530] In some embodiments, the third type of symbol is an OOK symbol that is different from the first type of symbol and the second type of symbol. Optionally, the third type of symbol is obtained by performing OOK modulation based on a bit sequence having a third value. It should be understood that the time domain length corresponding to each first type of symbol, second type of symbol, and third type of symbol is the same. Alternatively, it can be understood that the time domain length corresponding to the bit sequence having the first value is the same as the time domain length corresponding to the bit sequence having the third value.

[0531] For example, as shown in FIG40 , assuming that the last sequence segment is {1,0}, the last sequence segment is subjected to OOK modulation, resulting in an OOK symbol sequence of {OOK-on, OOK-off}. In the case of M=4, it is necessary to add a third type of symbol to the OOK symbol sequence, such as adding {OOK-on, OOK-off; OOK-on, OOK-off}. It should be understood that in the added third type of symbol, "OOK-on, OOK-off" as a combination has a time domain length that is the same as the time domain length of an "OOK-on" symbol or the time domain length of an "OOK-off" symbol in the original OOK symbol sequence.

[0532] In some embodiments, the third type of symbol may be considered an abnormal type of symbol. In one understanding, the abnormal type of symbol may be understood as a symbol with an abnormal waveform; in another understanding, the abnormal type of symbol may be understood as a symbol with an abnormal length.

[0533] In some embodiments, M has multiple candidate values, such as M = {1, 2, 4, 6, 8}. Optionally, the number of the third type of symbols is determined based on the value of M during communication. Optionally, the number of the third type of symbols is determined based on the maximum value among the candidate values ​​of M.

[0534] In some embodiments, the bit sequence corresponding to the third type of symbol may be agreed upon by a protocol, configured by a network device, or configured by a terminal device.

[0535] In summary, the method provided in this embodiment adds a third type of symbol to the OOK symbol sequence corresponding to the last sequence segment, so that the OOK symbol sequence corresponding to the last sequence segment includes at least M OOK symbols, thereby ensuring that the OOK symbols can be transmitted smoothly even when the number of valid OOK symbols to be transmitted is not an integer multiple of M.

[0536] In a further embodiment based on the embodiment shown in FIG. 39 above, a method for sending OOK symbols is also provided in an embodiment of the present application.

[0537] FIG41 is a flowchart of a method for sending OOK symbols provided by an exemplary embodiment of the present application. The method is executed by a sending device, which may be a network device, an AP, an Ambient IoT device, or a terminal device. The method includes:

[0538] Step 720: Send at least one set of OOK symbol sequences.

[0539] In some embodiments, each of the at least one set of OOK symbol sequences includes a second number M of OOK symbols.

[0540] The second number M is the number of OOK symbols transmitted in the preset duration. The preset duration is determined by the basic time domain unit in the cellular communication system or the WiFi system. In some embodiments, the preset duration is t OFDM symbols, and t OFDM symbols can transmit M OOK symbols. M is the number of OOK symbols transmitted in t OFDM symbols. The value of t is a positive integer. In the embodiment of the present application, M OOK symbols are transmitted in 1 OFDM symbol as an example.

[0541] In some embodiments, M may be agreed upon by a protocol, configured by a network device, or determined by a terminal device based on a preset mapping relationship.

[0542] In some embodiments, M has multiple candidate values, for example, M={1, 2, 4, 6, 8}.

[0543] In some embodiments, at least one set of OOK symbol sequences corresponds to a first bit sequence of length L, which is a first number.

[0544] The first number L is the number of bits in the first bit sequence. For example, assuming the first bit sequence is {1, 0, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0}, then L is 18.

[0545] In some embodiments, the first bit sequence is any one of the following:

[0546] The original bit sequence that does not need to be encoded;

[0547] The original bit sequence before encoding;

[0548] The coded bit sequence after encoding the original bit sequence;

[0549] A coded bit sequence obtained by performing at least one level of multi-level coding on the original bit sequence.

[0550] In some embodiments, the first bit sequence refers to the description in step 220 above.

[0551] In some embodiments, the last OOK symbol sequence in at least one OOK symbol sequence includes a third type of symbol, which is an OOK symbol different from the first type of symbol and the second type of symbol. The first type of symbol corresponds to a bit having a first value, and the second type of symbol corresponds to a bit having a second value. Optionally, the third type of symbol corresponds to a bit sequence having a third value. It should be understood that the time domain length corresponding to each first type symbol, second type symbol, and third type symbol is the same. Alternatively, it can be understood that the time domain length corresponding to the bit having the first value and the time domain length corresponding to the bit sequence having the third value are the same.

[0552] In some embodiments, the bit sequence corresponding to the third type of symbol may be agreed upon by a protocol, configured by a network device, or configured by a terminal device.

[0553] In summary, the method provided in this embodiment adds a third type of symbol to the OOK symbol sequence corresponding to the last sequence segment, so that the OOK symbol sequence corresponding to the last sequence segment includes at least M OOK symbols, thereby ensuring that the OOK symbols can be transmitted smoothly even when the number of valid OOK symbols to be transmitted is not an integer multiple of M.

[0554] In some embodiments, the present application also proposes a method for determining a TBS value, which can accurately transmit OOK symbols by determining the TBS value as a value related to M. The present application embodiment can be combined with any of the above embodiments to implement a new embodiment.

[0555] FIG42 is a flowchart of a method for determining a TBS value provided by an exemplary embodiment of the present application. The method is executed by a sending device, which may be a network device, an AP, an Ambient IoT device, or a terminal device, and includes:

[0556] Step 820: Determine that the TBS value is a value related to the second number M.

[0557] The second number M is the number of OOK symbols transmitted in the preset duration. The preset duration is determined by the basic time domain unit in the cellular communication system or the WiFi system. In some embodiments, the preset duration is t OFDM symbols, and t OFDM symbols can transmit M OOK symbols. M is the number of OOK symbols transmitted in t OFDM symbols. The value of t is a positive integer. In the embodiment of the present application, M OOK symbols are transmitted in 1 OFDM symbol as an example.

[0558] In some embodiments, M may be agreed upon by a protocol, configured by a network device, or determined by a terminal device based on a preset mapping relationship.

[0559] In some embodiments, M has multiple candidate values, for example, M={1, 2, 4, 6, 8}.

[0560] In some embodiments, the value associated with the second quantity M includes at least one of the following:

[0561] an integer multiple of the second number M;

[0562] An integer multiple of one half of the second number M.

[0563] Optionally, the TBS value is determined to be an integer multiple of the second number M. This ensures that when the number of valid OOK symbols to be transmitted is not an integer multiple of M, the OOK symbols can be transmitted smoothly.

[0564] Optionally, when a Manchester encoder is used to encode the original bit sequence, the value of TBS is determined to be an integer multiple of one half of the second number M. Exemplarily, as shown in FIG12 or FIG13 , the encoder is a Manchester encoder.

[0565] In summary, the method provided in this embodiment ensures that OOK symbols can be smoothly transmitted even when the number of valid OOK symbols to be transmitted is not an integer multiple of M by determining the value of TBS to be a value related to M.

[0566] In a further embodiment based on the embodiment shown in FIG. 42 , as shown in FIG. 43 , the above step 820 may be replaced by the following sub-steps:

[0567] Step 821: Determine the TBS value based on the first TBS value mapping relationship;

[0568] In some embodiments, the candidate TBS values ​​in the first TBS value mapping relationship are all values ​​related to the second number M.

[0569] Optionally, the candidate TBS values ​​in the first TBS value mapping relationship are all integer multiples of the second number M.

[0570] Optionally, the candidate TBS values ​​in the first TBS value mapping relationship are all integer multiples of half of the second number M.

[0571] Optionally, the candidate TBS values ​​in the first TBS value mapping relationship are all integer multiples of half of the second number M and integer multiples of the second number M.

[0572] For example, the first TBS value mapping relationship is shown in Table 10 below:

[0573] Table 10

[0574] In a further embodiment based on the embodiment shown in FIG. 42 , as shown in FIG. 44 , the above step 820 may be replaced by the following sub-steps:

[0575] Step 822: Determine the TBS value based on the second TBS value mapping relationship;

[0576] In some embodiments, the value of TBS is greater than or equal to the first number L, and the value of TBS is the smallest integer multiple of the second number M. The first number L is the length of the first bit sequence to be transmitted.

[0577] In some embodiments, the first bit sequence is any one of the following:

[0578] The original bit sequence that does not need to be encoded;

[0579] The original bit sequence before encoding;

[0580] The coded bit sequence after encoding the original bit sequence;

[0581] A coded bit sequence obtained by performing at least one level of multi-level coding on the original bit sequence.

[0582] In some embodiments, the first bit sequence refers to the description in step 220 above.

[0583] In some embodiments, not all candidate TBS values ​​in the second TBS value mapping relationship are values ​​related to the second number M.

[0584] Optionally, a portion of the candidate TBS values ​​in the second TBS value mapping relationship are integer multiples of the second number M, and another portion are values ​​unrelated to the second number M.

[0585] Optionally, a portion of the candidate TBS values ​​in the second TBS value mapping relationship is an integer multiple of half of the second number M, and the other portion is a value unrelated to the second number M.

[0586] Optionally, a portion of the candidate TBS values ​​in the second TBS value mapping relationship are integer multiples of half the second number M and integer multiples of the second number M, and the other portion are values ​​unrelated to the second number M.

[0587] For example, the second TBS value mapping relationship is shown in Table 11 below:

[0588] Table 11

[0589] Wherein, K is an arbitrary value unrelated to M.

[0590] In a further embodiment based on the embodiment shown in FIG. 42 , as shown in FIG. 45 , the above step 820 may be replaced by the following sub-steps:

[0591] Step 823: Determine the TBS value based on the third TBS value mapping relationship.

[0592] In some embodiments, TBS takes a value greater than or equal to the first number L, and TBS takes a value that is a minimum integer multiple of the fourth number. The first number L is the length of the first bit sequence to be transmitted. The fourth number is the quotient of the second number M and the fifth number P, and the fifth number P is related to the encoding method used by the first bit sequence. For example, assuming that the first bit sequence uses Manchester encoding, the fifth number P = 2, and the fourth number Then the TBS value is The smallest integer multiple of .

[0593] In some embodiments, not all candidate TBS values ​​in the third TBS value mapping relationship are values ​​related to the second number M.

[0594] Optionally, a portion of the candidate TBS values ​​in the third TBS value mapping relationship are integer multiples of the second number M, and another portion are values ​​unrelated to the second number M.

[0595] Optionally, a portion of the candidate TBS values ​​in the third TBS value mapping relationship are integer multiples of the fourth number, and another portion are values ​​unrelated to the second number M. Optionally, a portion of the candidate TBS values ​​in the third TBS value mapping relationship are integer multiples of one-half of the second number M, and another portion are values ​​unrelated to the second number M.

[0596] Optionally, a portion of the candidate TBS values ​​in the third TBS value mapping relationship are integer multiples of the fourth number and integer multiples of the second number M, and another portion are values ​​unrelated to the second number M. Optionally, a portion of the candidate TBS values ​​in the third TBS value mapping relationship are integer multiples of one-half of the second number M and integer multiples of the second number M, and another portion are values ​​unrelated to the second number M.

[0597] For example, the third TBS value mapping relationship is shown in Table 12 below:

[0598] Table 12

[0599] Wherein, K is an arbitrary value unrelated to M.

[0600] In a further embodiment based on the embodiment shown in FIG. 43 , FIG. 44 , and FIG. 45 ,

[0601] Optionally, different second numbers M correspond to the same TBS value mapping relationship. For example, M=2 and M=4 both correspond to the first TBS value mapping relationship.

[0602] Optionally, some different second numbers M correspond to the same TBS value mapping relationship, while other different second numbers M correspond to different TBS value mapping relationships. For example, M=2 and M=4 both correspond to the first TBS value mapping relationship. M=6 corresponds to the second TBS value mapping relationship. M=8 corresponds to the third TBS value mapping relationship.

[0603] Optionally, different second numbers M correspond to different TBS value mapping relationships. For example, M=2 corresponds to the first TBS value mapping relationship. M=4 corresponds to the second TBS value mapping relationship. M=6 corresponds to the third TBS value mapping relationship. And so on. Each second number M corresponds to its own TBS value mapping relationship.

[0604] In summary, the method provided in this embodiment ensures that OOK symbols can be smoothly transmitted even when the number of valid OOK symbols to be transmitted is not an integer multiple of M by determining the value of TBS.

[0605] FIG46 shows a flowchart of a method for preprocessing a bit sequence provided by an exemplary embodiment of the present application. The method is executed by a receiving device, which may be a network device, an AP, an Ambient IoT device, or a terminal device. The method includes:

[0606] Step 920: Receive OOK symbols corresponding to a second bit sequence having a third length L′;

[0607] In some embodiments, the second bit sequence is obtained by the sending device after processing the first bit sequence when the first number L corresponding to the first bit sequence is not an integer multiple of the second number M.

[0608] The first number L is the number of bits in the first bit sequence. For example, assuming the first bit sequence is {1, 0, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0}, then L is 18.

[0609] In some embodiments, the first bit sequence is any one of the following:

[0610] The original bit sequence that does not need to be encoded;

[0611] The original bit sequence before encoding;

[0612] The coded bit sequence after encoding the original bit sequence;

[0613] A coded bit sequence obtained by performing at least one level of multi-level coding on the original bit sequence.

[0614] In some embodiments, the first bit sequence is specifically described in step 220 above.

[0615] Optionally, the first quantity L is smaller than the third quantity L'. Optionally, the first quantity L is larger than the third quantity L'.

[0616] The second number M is the number of OOK symbols transmitted in the preset duration. The preset duration is determined by the basic time domain unit in the cellular communication system or the WiFi system. In some embodiments, the preset duration is t OFDM symbols, and t OFDM symbols can transmit M OOK symbols. M is the number of OOK symbols transmitted in t OFDM symbols. The value of t is a positive integer. In the embodiment of the present application, M OOK symbols are transmitted in 1 OFDM symbol as an example.

[0617] In some embodiments, M may be agreed upon by a protocol, configured by a network device, or determined by a terminal device based on a preset mapping relationship.

[0618] In some embodiments, M has multiple candidate values, for example, M={1, 2, 4, 6, 8}.

[0619] The third number L' is the number of bits in the second bit sequence. For example, if the second bit sequence is {1, 0, 1, 0}, then L' is 4.

[0620] In some embodiments, the second bit sequence is divided into at least one sequence segment of length M for OOK modulation, obtaining M OOK symbols corresponding to each sequence segment. That is, the third number L' is an integer multiple of the second number M. For example, if the second bit sequence is {1, 0, 1, 0} and M = 2, the second bit sequence can be divided into two sequence segments of length 2, each of which is {1, 0} and {1, 0}.

[0621] It should be understood that when the first number L is not an integer multiple of the second number M, when the first bit sequence of length L is segmented, the first bit sequence of length L cannot be divided into multiple sequence segments of length second number M. That is, the length of the last sequence segment will be less than the second number M. In this case, OOK modulation cannot be performed on the last sequence segment. For example, assuming that the first bit sequence is {1,0,0,1,1,1,1,0,1,0,1}, then L=11; when M=4, the first bit sequence is segmented, and sequence segment 1 is {1,0,0,1}, sequence segment 2 is {1,1,1,0}, and sequence segment 3 is {1,0,1}.

[0622] In some embodiments, the above method for processing the first bit sequence may have multiple optional designs, and for details, refer to Optional Design 1 and Optional Design 2 in the above step 240.

[0623] In summary, the method provided in this embodiment, by receiving the OOK symbols corresponding to the second bit sequence of the third number L', can accurately receive valid OOK symbols to be transmitted even when the number of valid OOK symbols to be transmitted is not an integer multiple of M.

[0624] For optional design one (bit stuffing):

[0625] In some embodiments, the third number L' of second bit sequences is obtained by the sending device performing bit padding on the first bit sequence.

[0626] In some embodiments, when the first number L is not an integer multiple of the second number M, the transmitting device performs bit padding on the first bit sequence of the first number L, padding the first bit sequence of the first number L with a second bit sequence of the third number L'. The third number L' is an integer multiple of the second number M.

[0627] For example, assuming that the first bit sequence is {1, 0, 0, 1, 1, 1, 1, 0, 1, 0}, then L = 11; when M = 4, L is not an integer multiple of M, then the sending device performs bit padding on the first bit sequence to obtain a second bit sequence of {1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1}; at this time, L' = 12.

[0628] Optionally, when the first number L is smaller than the third number L', the sending device performs bit padding on the first bit sequence to obtain a second bit sequence with a length of the third number L'.

[0629] In some embodiments, the third number L' of second bit sequences is obtained by the transmitting device adding at least one padding bit to the end of the first bit sequence.

[0630] In some embodiments, the transmitting device divides the first bit sequence into a second number M to obtain multiple sequence segments. If the first number L is not an integer multiple of the second number M, the length of the last sequence segment obtained by dividing the first bit sequence will be less than the second number M. At least one padding bit is added to the last sequence segment obtained by dividing the first bit sequence so that the length of the last sequence segment obtained by dividing the first bit sequence is equal to M, thereby enabling OOK modulation.

[0631] In some embodiments, the at least one padding bit added to the end of the first bit sequence includes any one of the following:

[0632] A bit sequence whose values ​​are all 1;

[0633] A bit sequence whose values ​​are all 0;

[0634] A bit sequence whose values ​​are arranged according to a fixed pattern;

[0635] A bit sequence determined based on the second number M.

[0636] In some embodiments, the at least one padding bit added to the tail of the first bit sequence is specifically described in the above step 2411.

[0637] FIG47 is a flowchart of a method for preprocessing a bit sequence provided by an exemplary embodiment of the present application. The method is executed by a receiving device, which may be a network device, an AP, an Ambient IoT device, or a terminal device. The method further includes:

[0638] Step 1020: Receive length indication information of at least one padding bit.

[0639] The length indication information is used to indicate the length of at least one padding bit, so that a receiving device can distinguish between information corresponding to the padding bit and information corresponding to the non-padding bit.

[0640] In some embodiments, the length indication information is sent separately by the transmitting device. That is, the length indication information and the multiple OOK symbols obtained after OOK modulation are sent separately. For example, as shown in FIG21 , the length indication information is sent separately from the M OOK symbols to indicate the length of at least one padding bit.

[0641] In some embodiments, the length indication information is sent by the transmitting device in multiple OOK symbols obtained after OOK modulation. Exemplarily, as shown in Figure 22, the length indication information is carried in M ​​OOK symbols obtained after OOK modulation, and is used to indicate the length of at least one padding bit. That is, the length indication bit sequence corresponding to the length indication information is a subset of the bit sequence corresponding to the M OOK symbols, or it can be understood that the length indication bit sequence corresponding to the length indication information is a subsequence of the bit sequence corresponding to the M OOK symbols. Optionally, the position of the length indication bit sequence corresponding to the length indication information in the bit sequence corresponding to the M OOK symbols is fixed. Optionally, the position of the length indication bit sequence corresponding to the length indication information in the bit sequence corresponding to the M OOK symbols can be agreed upon by the protocol, configured by the network device, or configured by the terminal device.

[0642] In some embodiments, M has multiple candidate values, such as M = {1, 2, 4, 6, 8}. Optionally, the length of the length indication bit sequence corresponding to the length indication information is determined based on the value of M during communication. For example, the length of the length indication bit sequence corresponding to the length indication information is Optionally, the length of the length indication bit sequence corresponding to the length indication information is determined based on the maximum value among the candidate values ​​of M. For example, the length of the length indication bit sequence corresponding to the length indication information is Represents rounding up.

[0643] In some embodiments, as shown in FIG48 , the above step 1020 may be replaced by the following sub-steps:

[0644] Step 1021: Receive a first indication bit sequence;

[0645] In some embodiments, the value of the first indicator bit sequence is equal to the length of at least one padding bit. For example, assuming the first bit sequence is {1, 0, 0, 1, 1, 1, 1, 0, 1, 0} and M = 4, then two padding bits need to be added so that the length of the second bit sequence is an integer multiple of 4. Exemplarily, the two added padding bits are {1, 0}. The first indicator bit sequence may then be {1, 0}, and the value of the first indicator bit sequence is 10 = 2.

[0646] In some embodiments, when a sequence segment corresponds to M OOK symbols, the length of the padding bits may be 1 to M-1. Assume M=2 n , then the length of the first indication bit sequence is greater than or equal to n.

[0647] In some embodiments, the first indicator bit sequence is sent separately by a transmitting device, that is, the first indicator bit sequence and a plurality of OOK symbols obtained after OOK modulation are sent separately.

[0648] In some embodiments, the first indication bit sequence is sent by the sending device in multiple OOK symbols obtained after OOK modulation.

[0649] In some embodiments, as shown in FIG49 , the above step 1020 may be replaced by the following sub-steps:

[0650] Step 1022: Receive a second indication bit sequence;

[0651] In some embodiments, a mapping relationship exists between the value of the second indicator bit sequence and the length of at least one padding bit. In some embodiments, the mapping relationship may be agreed upon by a protocol, configured by a network device, or configured by a terminal device.

[0652] In some embodiments, when a sequence segment corresponds to M OOK symbols, the length of the padding bit may be 1 to M-1. Then the second indicator bit sequence corresponds to at least M-1 values, and each of the M-1 values ​​has a one-to-one mapping relationship with the length of at least one padding bit. For example, when the value of the second indicator bit sequence is 1, the length of the corresponding padding bit is 1; when the value of the second indicator bit sequence is 2, the length of the corresponding padding bit is 2; until the value of the second indicator bit sequence is M-1, the length of the corresponding padding bit is M-1.

[0653] Optionally, for the mapping relationship between the value of the second indication bit sequence and the length of at least one padding bit, refer to Table 2 above.

[0654] In some embodiments, M has multiple candidate values, such as M = {1, 2, 4, 6, 8}. Optionally, the number of second indicator bit sequences is determined based on the value of M during communication. Optionally, the number of second indicator bit sequences is determined based on the maximum value among the candidate values ​​of M.

[0655] In some embodiments, the second indicator bit sequence is sent separately by the transmitting device, that is, the second indicator bit sequence and the multiple OOK symbols obtained after OOK modulation are sent separately.

[0656] In some embodiments, the second indication bit sequence is sent by the transmitting device in multiple OOK symbols obtained after OOK modulation.

[0657] In some embodiments, as shown in FIG50 , the above step 1020 may be replaced by the following sub-steps:

[0658] Step 1023: Receive a first bitmap having a length of a second number M;

[0659] In some embodiments, the first bitmap is sent separately by a transmitting device, that is, the first bitmap and a plurality of OOK symbols obtained after OOK modulation are sent separately.

[0660] In some embodiments, the number of bits in the first bitmap that takes the first value is used to indicate the length of at least one padding bit.

[0661] Optionally, the number of bits with a value of 1 in the first bitmap is used to indicate the length of at least one padding bit. For example, assuming M = 4 and the first bitmap is {1, 0, 0, 0}, where the number of bits with a value of 1 is 1, it indicates that the length of the at least one padding bit is 1. It should be understood that when M = 4 and the length of the at least one padding bit is 1, the first bitmap may also be {0, 1, 0, 0}, or {0, 0, 1, 0}, or {0, 0, 0, 1}.

[0662] Optionally, the number of bits with a value of 0 in the first bitmap is used to indicate the length of the at least one padding bit. For example, assuming M = 4, the first bitmap is {1, 0, 0, 0}, where the number of bits with a value of 0 is 3, indicating that the length of the at least one padding bit is 3. It should be understood that when M = 4 and the length of the at least one padding bit is 3, the first bitmap may also be {0, 1, 0, 0}, or {0, 0, 1, 0}, or {0, 0, 0, 1}.

[0663] In some embodiments, the position of the first-valued bit in the first bitmap is associated with the position of the at least one padding bit in the second bit sequence. For example, as shown in FIG26 , the first-valued bit is located at the last bit in the bitmap, and the at least one padding bit is also located at the last bit in the second bit sequence.

[0664] Optionally, when the first value is 1, the position of the bit with the value 1 in the first bitmap is associated with the position of the at least one padding bit in the second bit sequence. For example, when M=4 and the length of the at least one padding bit is 1, the first bitmap is {0, 0, 0, 1}.

[0665] Optionally, when the first value is 0, the position of the bit with the value 0 in the first bitmap is associated with the position of the at least one padding bit in the second bit sequence. For example, when M=4 and the length of the at least one padding bit is 1, the first bitmap is {1, 1, 1, 0}.

[0666] In some embodiments, as shown in FIG51 , the above step 1020 may be replaced by the following sub-steps:

[0667] Step 1024: Receive the target sequence.

[0668] In some embodiments, the target sequence is used to indicate the length of at least one padding bit, and the target sequence is obtained by mapping bits in the second bit sequence to the first value when the sending device performs OOK modulation on the second bit sequence into OOK symbols.

[0669] Optionally, the target sequence is obtained by mapping bits with a value of 1 in the second bit sequence when the sending device performs OOK modulation on the second bit sequence into OOK symbols.

[0670] Optionally, the target sequence is obtained by mapping bits with a value of 0 in the second bit sequence when the sending device performs OOK modulation on the second bit sequence into OOK symbols.

[0671] In some embodiments, the target sequence is at least one of the following sequences:

[0672] PN sequence;

[0673] ZC sequence;

[0674] M sequence.

[0675] Optionally, the target sequence is a PN sequence obtained by mapping bits with a value of 1 in the second bit sequence when the transmitting device performs OOK modulation on the second bit sequence to obtain an OOK symbol. Alternatively, the target sequence is a ZC sequence obtained by mapping bits with a value of 1 in the second bit sequence when the transmitting device performs OOK modulation on the second bit sequence to obtain an OOK symbol. Alternatively, the target sequence is an M sequence obtained by mapping bits with a value of 1 in the second bit sequence when the transmitting device performs OOK modulation on the second bit sequence to obtain an OOK symbol.

[0676] Optionally, the target sequence is a PN sequence obtained by mapping bits with a value of 0 in the second bit sequence during the process of performing OOK modulation on the second bit sequence to obtain OOK symbols by the transmitting device. Alternatively, the target sequence is a ZC sequence obtained by mapping bits with a value of 0 in the second bit sequence during the process of performing OOK modulation on the second bit sequence to obtain OOK symbols by the transmitting device. Alternatively, the target sequence is an M sequence obtained by mapping bits with a value of 0 in the second bit sequence during the process of performing OOK modulation on the second bit sequence to obtain OOK symbols by the transmitting device.

[0677] In some embodiments, the target sequence is used to indicate the length of at least one padding bit. Optionally, the number of target sequences is x. Optionally, the number of target sequences is determined based on the value of M during communication. For example, x is a positive integer greater than or equal to log2M. Optionally, the number of target sequences is determined based on the maximum value among candidate values ​​of M.

[0678] Optionally, the target sequence or the value of the target sequence is used to indicate the length of at least one padding bit. That is, the length of the at least one padding bit is associated with the target sequence or the value of the target sequence.

[0679] Optionally, the index of the target sequence is used to indicate the length of at least one padding bit. For example, a mapping relationship exists between multiple target sequences and the length of at least one padding bit. In some embodiments, the mapping relationship may be agreed upon by a protocol, configured by a network device, or configured by a terminal device.

[0680] In some embodiments, when a sequence segment corresponds to M OOK symbols, the length of the padding bits may be 1 to M-1. Therefore, there are at least M-1 corresponding target sequences, and each of the M-1 target sequences has a one-to-one mapping relationship with the length of at least one padding bit.

[0681] Optionally, for the mapping relationship between multiple target sequences and the length of at least one padding bit, refer to Table 3 above.

[0682] In some embodiments, M has multiple candidate values, such as M = {1, 2, 4, 6, 8}. Optionally, the number of target sequences is determined based on the value of M during communication. Optionally, the number of target sequences is determined based on the maximum value among the candidate values ​​of M.

[0683] Optionally, the cyclic shift value corresponding to the target sequence is used to indicate the length of at least one padding bit. Using different cyclic shift values ​​for the same target sequence indicates different padding bit lengths.

[0684] In some embodiments, when a sequence segment corresponds to M OOK symbols, the length of the padding bits may be 1 to M-1. Therefore, the same target sequence needs to correspond to at least M-1 cyclic shift values, and each of the M-1 cyclic shift values ​​has a one-to-one mapping relationship with the length of at least one padding bit. For example, when the cyclic shift value is 1, the length of the corresponding padding bit is 1; when the cyclic shift value is 2, the length of the corresponding padding bit is 2; and when the cyclic shift value is M-1, the length of the corresponding padding bit is M-1.

[0685] Optionally, for the mapping relationship between the cyclic shift value of the target sequence and the length of at least one padding bit, refer to Table 4 above.

[0686] In some embodiments, M has multiple candidate values, such as M = {1, 2, 4, 6, 8}. Optionally, the number of cyclic shift values ​​for the target sequence is determined based on the value of M during communication. Optionally, the number of cyclic shift values ​​for the target sequence is determined based on the maximum value among the candidate values ​​of M.

[0687] In some embodiments, the target sequence may also be a target phase randomization sequence used by the transmitting device when performing phase randomization on the second bit sequence or intermediate data during the process of performing OOK modulation on the second bit sequence to convert it into OOK symbols. The intermediate data is intermediate process data generated during the OOK modulation of the second bit sequence.

[0688] In some embodiments, the target phase randomization sequence is used to indicate a length of at least one padding bit.

[0689] Optionally, the value of the target phase randomization sequence is used to indicate the length of at least one padding bit. That is, the length of the at least one padding bit is associated with the value of the target phase randomization sequence.

[0690] Optionally, the index of the target phase randomization sequence is used to indicate the length of at least one padding bit. For example, a mapping relationship exists between multiple target phase randomization sequences and the length of at least one padding bit. In some embodiments, this mapping relationship may be agreed upon by a protocol, configured by a network device, or configured by a terminal device.

[0691] In some embodiments, when a sequence segment corresponds to M OOK symbols, the length of the padding bits may be 1 to M-1. Therefore, there are at least M-1 corresponding target phase randomization sequences, and each of the M-1 target phase randomization sequences has a one-to-one mapping relationship with the length of at least one padding bit.

[0692] Optionally, for the mapping relationship between multiple target phase randomization sequences and the length of at least one padding bit, refer to Table 5 above.

[0693] To sum up, the method provided in this embodiment enables the receiving device to distinguish between the information corresponding to the padding bits and the information corresponding to the non-padding bits by receiving length indication information used to indicate the length of at least one padding bit, thereby ensuring that even if the number of valid OOK symbols to be transmitted is not an integer multiple of M, the receiving party can accurately parse the information corresponding to the valid OOK symbols through the length indication information.

[0694] For optional design 2 (bit selection):

[0695] In some embodiments, the second bit sequence of the third number L' is obtained by the sending device after performing bit selection on the first bit sequence.

[0696] In some embodiments, the sending device selects bits of the first bit sequence in at least two ways:

[0697] First bit selection: the first number L is less than the third number L';

[0698] In some embodiments, when the first number L is less than the third number L', the second bit sequence of the third number L' is obtained by the transmitting device after cyclically selecting the first bit sequence;

[0699] In the case that the first number L is smaller than the third number L′, the second bit sequence of the third number L′ is obtained by the transmitting device after cyclically selecting at least one repeated bit in the first bit sequence.

[0700] In some embodiments, when the first number L is less than the third number L' and the first number L is not an integer multiple of the second number M, the transmitting device cyclically selects at least one repeated bit in the first bit sequence, so that the first bit sequence having a length of the first number L is expanded to obtain a second bit sequence having a length of the third number L'. The bit sequence corresponding to the cyclically selected at least one repeated bit is a sequence subset in the first bit sequence, or it can be understood that the bit sequence corresponding to the cyclically selected at least one repeated bit is a subsequence in the first bit sequence.

[0701] For example, as shown in FIG30 , assuming the first bit sequence is {1, 0, 0, 1, 1, 1, 1, 0, 1, 0}, L = 11. When M = 4, L is not an integer multiple of M. The transmitting device then cyclically selects the first bit sequence, resulting in a second bit sequence of {1, 0, 0, 1, 1, 1, 1, 0, 1, 0}. In this case, L' = 12. The repeatedly selected bit sequence {1} is a subset of the first bit sequence.

[0702] Optionally, the length of the bit sequence corresponding to the at least one repeated bit cyclically selected in the first bit sequence is determined based on the second number M.

[0703] In some embodiments, M has multiple candidate values, for example, M = {1, 2, 4, 6, 8}. Optionally, the length of the bit sequence corresponding to the at least one repeated bit cyclically selected in the first bit sequence is determined based on the value of M during communication. Optionally, the length of the bit sequence corresponding to the at least one repeated bit cyclically selected in the first bit sequence is determined based on the maximum value among the candidate values ​​of M.

[0704] FIG52 is a flowchart of a method for preprocessing a bit sequence provided by an exemplary embodiment of the present application. The method is executed by a receiving device, which may be a network device, an AP, an Ambient IoT device, or a terminal device. The method further includes:

[0705] Step 1120: Receive length indication information of at least one repeated bit.

[0706] The length indication information is used to indicate the length of at least one repeated bit, so that a receiving device can distinguish between information corresponding to the repeated bit and information corresponding to the non-repeated bit.

[0707] In some embodiments, the length indication information is sent separately by the transmitting device, that is, the length indication information and the multiple OOK symbols obtained after OOK modulation are sent separately.

[0708] In some embodiments, the length indication information is sent by the transmitting device in multiple OOK symbols obtained after OOK modulation. That is, the length indication bit sequence corresponding to the length indication information is a subset of the bit sequence corresponding to the multiple OOK symbols, or it can be understood that the length indication bit sequence corresponding to the length indication information is a subsequence of the bit sequence corresponding to the multiple OOK symbols. Optionally, the position of the length indication bit sequence corresponding to the length indication information in the bit sequence corresponding to the multiple OOK symbols is fixed. Optionally, the position of the length indication bit sequence corresponding to the length indication information in the bit sequence corresponding to the multiple OOK symbols can be agreed upon by the protocol, configured by the network device, or configured by the terminal device.

[0709] In some embodiments, M has multiple candidate values, for example, M = {1, 2, 4, 6, 8}. Optionally, the length of the length indication bit sequence corresponding to the length indication information is determined based on the value of M during communication. For example, the length of the length indication bit sequence corresponding to the length indication information. Optionally, the length of the length indication bit sequence corresponding to the length indication information is determined based on the maximum value among the candidate values ​​of M. For example, the length of the length indication bit sequence corresponding to the length indication information. Represents rounding up.

[0710] In some embodiments, as shown in FIG53 , the above step 1120 may be replaced by the following sub-steps:

[0711] Step 1121: Receive a third indication bit sequence;

[0712] In some embodiments, the value of the third indicator bit sequence is equal to the length of at least one repeated bit. For example, assuming the first bit sequence is {1, 0, 0, 1, 1, 1, 1, 0, 1, 0}, and M = 4, then it is necessary to cyclically select two repeated bits so that the length of the resulting second bit sequence is an integer multiple of 4. For example, the two cyclically selected repeated bits are {1, 0}. Then, the third indicator bit sequence may be {1, 0}, and the value of the third indicator bit sequence is 10 = 2.

[0713] In some embodiments, when a sequence segment corresponds to M OOK symbols, the length of the repeated bits may be 1 to M-1. Assume M=2 n , then the length of the third indication bit sequence is greater than or equal to n.

[0714] In some embodiments, the third indicator bit sequence is sent separately by the transmitting device, that is, the third indicator bit sequence and the multiple OOK symbols obtained after OOK modulation are sent separately.

[0715] In some embodiments, the third indication bit sequence is sent by the sending device in multiple OOK symbols obtained after OOK modulation.

[0716] In some embodiments, as shown in FIG54 , the above step 1120 may be replaced by the following sub-steps:

[0717] Step 1122: Receive a fourth indication bit sequence;

[0718] In some embodiments, a mapping relationship exists between the value of the fourth indicator bit sequence and the length of at least one repeated bit. In some embodiments, the mapping relationship may be agreed upon by a protocol, configured by a network device, or configured by a terminal device.

[0719] In some embodiments, when a sequence segment corresponds to M OOK symbols, the length of the repeated bit may be 1 to M-1. Then the fourth indicator bit sequence corresponds to at least M-1 values, and each of the M-1 values ​​has a one-to-one mapping relationship with the length of at least one repeated bit. For example, when the value of the fourth indicator bit sequence is 1, the length of the corresponding repeated bit is 1; when the value of the fourth indicator bit sequence is 2, the length of the corresponding repeated bit is 2; until the value of the fourth indicator bit sequence is M-1, the length of the corresponding repeated bit is M-1.

[0720] Optionally, for the mapping relationship between the value of the fourth indication bit sequence and the length of at least one repeated bit, refer to Table 6 above.

[0721] In some embodiments, M has multiple candidate values, such as M={1, 2, 4, 6, 8}. Optionally, the number of fourth indicator bit sequences is determined based on the value of M during communication. Optionally, the number of fourth indicator bit sequences is determined based on the maximum value among the candidate values ​​of M.

[0722] In some embodiments, the fourth indicator bit sequence is sent separately by the transmitting device, that is, the fourth indicator bit sequence and the multiple OOK symbols obtained after OOK modulation are sent separately.

[0723] In some embodiments, the fourth indication bit sequence is sent by the transmitting device in multiple OOK symbols obtained after OOK modulation.

[0724] In some embodiments, as shown in FIG55 , the above step 1120 may be replaced by the following sub-steps:

[0725] Step 1123: Receive a second bitmap having a length of a second number M;

[0726] In some embodiments, the second bitmap is sent separately by the transmitting device, that is, the second bitmap and the multiple OOK symbols obtained after OOK modulation are sent separately.

[0727] In some embodiments, the number of bits in the second bitmap that takes the first value is used to indicate the length of at least one repeated bit.

[0728] Optionally, the number of bits with a value of 1 in the second bitmap is used to indicate the length of at least one repeated bit. Exemplarily, assuming M = 4 and the second bitmap is {1, 0, 0, 0}, where the number of bits with a value of 1 is 1, indicates that the length of at least one repeated bit is 1. It should be understood that when M = 4 and the length of at least one repeated bit is 1, the second bitmap may also be {0, 1, 0, 0}, or {0, 0, 1, 0}, or {0, 0, 0, 1}.

[0729] Optionally, the number of bits with a value of 0 in the second bitmap is used to indicate the length of the at least one repeated bit. For example, assuming M = 4 and the second bitmap is {1, 0, 0, 0}, where the number of bits with a value of 0 is 3, it indicates that the length of the at least one repeated bit is 3. It should be understood that when M = 4 and the length of the at least one repeated bit is 3, the second bitmap may also be {0, 1, 0, 0}, or {0, 0, 1, 0}, or {0, 0, 0, 1}.

[0730] In some embodiments, the position of the first-valued bit in the second bitmap is associated with the position of the at least one repeated bit in the second bit sequence. For example, as shown in FIG26 , the first-valued bit is located at the last bit in the bitmap, and the at least one repeated bit is also located at the last bit in the second bit sequence.

[0731] Optionally, when the first value is 1, the position of the bit with the value 1 in the second bit map is associated with the position of the at least one repeated bit in the second bit sequence. For example, when M=4 and the length of the at least one repeated bit is 1, the second bit map is {0, 0, 0, 1}.

[0732] Optionally, when the first value is 0, the position of the bit with the value 0 in the second bit map is associated with the position of the at least one repeated bit in the second bit sequence. For example, when M=4 and the length of the at least one repeated bit is 1, the second bit map is {1, 1, 1, 0}.

[0733] In some embodiments, as shown in FIG56 , the above step 1120 may be replaced by the following sub-steps:

[0734] Step 1124: Receive the target sequence.

[0735] In some embodiments, the target sequence is used to indicate the length of at least one repeated bit, and the target sequence is obtained by mapping bits in the second bit sequence to the first value when the sending device performs OOK modulation on the second bit sequence into OOK symbols.

[0736] Optionally, the target sequence is obtained by mapping bits with a value of 1 in the second bit sequence when the sending device performs OOK modulation on the second bit sequence into OOK symbols.

[0737] Optionally, the target sequence is obtained by mapping bits with a value of 0 in the second bit sequence when the sending device performs OOK modulation on the second bit sequence into OOK symbols.

[0738] In some embodiments, the target sequence is at least one of the following sequences:

[0739] PN sequence;

[0740] ZC sequence;

[0741] M sequence.

[0742] Optionally, the target sequence is a PN sequence obtained by mapping bits with a value of 1 in the second bit sequence during OOK modulation of the second bit sequence into OOK symbols. Alternatively, the target sequence is a ZC sequence obtained by mapping bits with a value of 1 in the second bit sequence during OOK modulation of the second bit sequence into OOK symbols. Alternatively, the target sequence is an M sequence obtained by mapping bits with a value of 1 in the second bit sequence during OOK modulation of the second bit sequence into OOK symbols.

[0743] Optionally, the target sequence is a PN sequence obtained by mapping bits with a value of 0 in the second bit sequence during OOK modulation of the second bit sequence into OOK symbols. Alternatively, the target sequence is a ZC sequence obtained by mapping bits with a value of 0 in the second bit sequence during OOK modulation of the second bit sequence into OOK symbols. Alternatively, the target sequence is an M sequence obtained by mapping bits with a value of 0 in the second bit sequence during OOK modulation of the second bit sequence into OOK symbols.

[0744] In some embodiments, the target sequence is used to indicate the length of at least one repeated bit. Optionally, the number of target sequences is x. Optionally, the number of target sequences is determined based on the value of M during communication. For example, x is a positive integer greater than or equal to log2M. Optionally, the number of target sequences is determined based on the maximum value among candidate values ​​of M.

[0745] Optionally, the target sequence or the value of the target sequence is used to indicate the length of at least one padding bit. That is, the length of the at least one padding bit is associated with the target sequence or the value of the target sequence.

[0746] Optionally, the index of the target sequence is used to indicate the length of at least one repeated bit. For example, a mapping relationship exists between multiple target sequences and the length of at least one repeated bit. In some embodiments, the mapping relationship may be agreed upon by a protocol, configured by a network device, or configured by a terminal device.

[0747] In some embodiments, when a sequence segment corresponds to M OOK symbols, the length of the repetition bit may be 1 to M-1. Therefore, there are at least M-1 corresponding target sequences, and each of the M-1 target sequences has a one-to-one mapping relationship with the length of at least one repetition bit.

[0748] Optionally, for the mapping relationship between multiple target sequences and the length of at least one repeated bit, refer to Table 7 above.

[0749] In some embodiments, M has multiple candidate values, such as M = {1, 2, 4, 6, 8}. Optionally, the number of target sequences is determined based on the value of M during communication. Optionally, the number of target sequences is determined based on the maximum value among the candidate values ​​of M.

[0750] Optionally, the cyclic shift value corresponding to the target sequence is used to indicate the length of at least one repeated bit. Different cyclic shift values ​​of the same target sequence represent different lengths of repeated bits.

[0751] In some embodiments, when a sequence segment corresponds to M OOK symbols, the length of the repetition bit may be 1 to M-1. Therefore, the same target sequence needs to correspond to at least M-1 cyclic shift values, and each of the M-1 cyclic shift values ​​has a one-to-one mapping relationship with the length of at least one repetition bit. For example, when the cyclic shift value is 1, the length of the corresponding repetition bit is 1; when the cyclic shift value is 2, the length of the corresponding repetition bit is 2; and when the cyclic shift value is M-1, the length of the corresponding repetition bit is M-1.

[0752] Optionally, for the mapping relationship between the cyclic shift value of the target sequence and the length of at least one repeated bit, refer to Table 8 above.

[0753] In some embodiments, M has multiple candidate values, such as M = {1, 2, 4, 6, 8}. Optionally, the number of cyclic shift values ​​for the target sequence is determined based on the value of M during communication. Optionally, the number of cyclic shift values ​​for the target sequence is determined based on the maximum value among the candidate values ​​of M.

[0754] In some embodiments, the target sequence may also be a target phase randomization sequence used when performing phase randomization on the second bit sequence or intermediate data during the process of performing OOK modulation on the second bit sequence to convert it into OOK symbols. The intermediate data is intermediate process data generated during the OOK modulation of the second bit sequence.

[0755] In some embodiments, the target phase randomization sequence is used to indicate the length of at least one repetition bit.

[0756] Optionally, the value of the target phase randomization sequence is used to indicate the length of at least one repeated bit. That is, the length of the at least one repeated bit is associated with the value of the target phase randomization sequence.

[0757] Optionally, the index of the target phase randomization sequence is used to indicate the length of at least one repeated bit. For example, a mapping relationship exists between multiple target phase randomization sequences and the length of at least one repeated bit. In some embodiments, the mapping relationship may be agreed upon by a protocol, configured by a network device, or configured by a terminal device.

[0758] In some embodiments, when a sequence segment corresponds to M OOK symbols, the length of the repetition bit may be 1 to M-1. Therefore, there are at least M-1 corresponding target phase randomization sequences, and each of the M-1 target phase randomization sequences has a one-to-one mapping relationship with the length of at least one repetition bit.

[0759] Optionally, for the mapping relationship between multiple target phase randomization sequences and the length of at least one repetition bit, refer to Table 9 above.

[0760] To sum up, the method provided in this embodiment enables the receiving device to distinguish between the information corresponding to the repeated bits and the information corresponding to the non-repeated bits by receiving length indication information used to indicate the length of at least one repeated bit, thereby ensuring that even if the number of valid OOK symbols to be transmitted is not an integer multiple of M, the length indication information can still be used to enable the receiving device to accurately parse the information corresponding to the valid OOK symbols.

[0761] Second bit selection: the first number L is greater than the third number L';

[0762] In some embodiments, when the first number L is greater than the third number L', the second bit sequence of the third number L' is obtained by the sending device after truncating the first bit sequence.

[0763] In some embodiments, when the first number L is greater than the third number L', the transmitting device truncates and selects a segment of a bit sequence from the first bit sequence as a second bit sequence of length L'. The truncated and selected bit sequence is a subset of the first bit sequence, or in other words, the truncated and selected bit sequence is a subsequence of the first bit sequence.

[0764] For example, as shown in FIG37 , assuming the first bit sequence is {1, 0, 0, 1, 1, 1, 1, 0, 1, 0}, L = 11. If M = 4 and L is not an integer multiple of M, the transmitting device truncates the first bit sequence to obtain a second bit sequence of {1, 0, 0, 1, 1, 1, 0}. In this case, L' = 8. The second bit sequence obtained by truncation is a subset of the first bit sequence.

[0765] Optionally, the length of the second bit sequence selected by truncating the first bit sequence is determined based on the second number M.

[0766] In some embodiments, M has multiple candidate values, for example, M = {1, 2, 4, 6, 8}. Optionally, the length of the second bit sequence selected by truncating the first bit sequence is determined based on the value of M during communication. Optionally, the length of the second bit sequence selected by truncating the first bit sequence is determined based on the maximum value among the candidate values ​​of M.

[0767] FIG57 is a flowchart of a method for preprocessing a bit sequence provided by an exemplary embodiment of the present application. The method is executed by a receiving device, which may be a network device, an AP, an Ambient IoT device, or a terminal device. The method further includes:

[0768] Step 1220: Send indication information for determining a selection starting point for bit selection.

[0769] In some embodiments, the indication information is used to indicate a starting point for selecting bits of the first bit sequence by the sending device.

[0770] In some embodiments, the indication information is used to instruct the sending device to select a starting point for cyclically selecting the first bit sequence. For example, the indication information is used to instruct the sending device to use a target bit position of the first bit sequence as the starting point for cyclically selecting the first bit sequence.

[0771] In some embodiments, the indication information is used to instruct the sending device to select a starting point for truncating the first bit sequence. For example, the indication information is used to instruct the sending device to use the sequence starting point of the first bit sequence as the starting point for truncating the first bit sequence.

[0772] In summary, the method provided in this embodiment enables the sending device to perform bit selection on the first bit sequence based on an accurate selection starting point by sending indication information for determining the selection starting point of bit selection.

[0773] FIG58 is a flowchart of a method for preprocessing a bit sequence provided by an exemplary embodiment of the present application. The method is executed by a receiving device, which may be a network device, an AP, an Ambient IoT device, or a terminal device. The method further includes:

[0774] Step 1320: Send indication information for indicating the second quantity M.

[0775] The second number M is the number of OOK symbols transmitted in the preset duration. The preset duration is determined by the basic time domain unit in the cellular communication system or the WiFi system. In some embodiments, the preset duration is t OFDM symbols, and t OFDM symbols can transmit M OOK symbols. M is the number of OOK symbols transmitted in t OFDM symbols. The value of t is a positive integer. In the embodiment of the present application, M OOK symbols are transmitted in 1 OFDM symbol as an example.

[0776] In some embodiments, M has multiple candidate values, for example, M={1, 2, 4, 6, 8}.

[0777] In some embodiments, the receiving device sends, to the sending device, indication information corresponding to a target value of the second number M. In some embodiments, the receiving device sends, to the sending device, indication information corresponding to some candidate values ​​of the second number M. In some embodiments, the receiving device sends, to the sending device, indication information corresponding to all candidate values ​​of the second number M.

[0778] To sum up, the method provided in this embodiment enables the sending device to process the first bit sequence based on the indication information of the second number M when the first number L is not an integer multiple of the second number M by sending indication information used to indicate the second number M.

[0779] FIG59 is a flowchart of a method for receiving OOK symbols provided by an exemplary embodiment of the present application. The method is executed by a receiving device, which may be a network device, an AP, an Ambient IoT device, or a terminal device. The method includes:

[0780] Step 1420: Receive at least one set of OOK symbol sequences.

[0781] In some embodiments, each of the at least one set of OOK symbol sequences includes a second number M of OOK symbols.

[0782] The second number M is the number of OOK symbols transmitted in the preset duration. The preset duration is determined by the basic time domain unit in the cellular communication system or the WiFi system. In some embodiments, the preset duration is t OFDM symbols, and t OFDM symbols can transmit M OOK symbols. M is the number of OOK symbols transmitted in t OFDM symbols. The value of t is a positive integer. In the embodiment of the present application, M OOK symbols are transmitted in 1 OFDM symbol as an example.

[0783] In some embodiments, M may be agreed upon by a protocol, configured by a network device, or determined by a terminal device based on a preset mapping relationship.

[0784] In some embodiments, M has multiple candidate values, for example, M={1, 2, 4, 6, 8}.

[0785] In some embodiments, at least one set of OOK symbol sequences corresponds to a first bit sequence of length L, which is a first number.

[0786] The first number L is the number of bits in the first bit sequence. For example, assuming the first bit sequence is {1, 0, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0}, then L is 18.

[0787] In some embodiments, the first bit sequence is any one of the following:

[0788] The original bit sequence that does not need to be encoded;

[0789] The original bit sequence before encoding;

[0790] The coded bit sequence after encoding the original bit sequence;

[0791] A coded bit sequence obtained by performing at least one level of multi-level coding on the original bit sequence.

[0792] In some embodiments, the first bit sequence is specifically described in step 220 above.

[0793] In some embodiments, the last group of OOK symbol sequences in at least one group of OOK symbol sequences includes a third type of symbol, and the third type of symbol is an OOK symbol different from the first type of symbol and the second type of symbol, the first type of symbol corresponds to a bit with a first value, and the second type of symbol corresponds to a bit with a second value. Optionally, the third type of symbol is obtained after OOK modulation based on a bit sequence with a third value. It should be understood that the time domain length corresponding to each first type symbol, second type symbol and third type symbol is the same. Or it can be understood that the time domain length corresponding to the bit of the first value and the time domain length corresponding to the bit sequence of the third value are the same.

[0794] In some embodiments, the third type of symbol may be considered an abnormal type of symbol. In one understanding, the abnormal type of symbol may be understood as a symbol with an abnormal waveform; in another understanding, the abnormal type of symbol may be understood as a symbol with an abnormal length.

[0795] In some embodiments, the bit sequence corresponding to the third type of symbol may be agreed upon by a protocol, configured by a network device, or configured by a terminal device.

[0796] In summary, the method provided in this embodiment, by receiving an OOK symbol sequence including the third type of symbols, can accurately receive valid OOK symbols to be transmitted even when the number of valid OOK symbols to be transmitted is not an integer multiple of M.

[0797] Figure 60 shows a flowchart of a method for determining a TBS value provided by an exemplary embodiment of the present application. The method is executed by a receiving device, which may be a network device, an AP, an Ambient IoT device, or a terminal device. The method includes:

[0798] Step 1520: Send the TBS mapping relationship.

[0799] In some embodiments, the TBS mapping relationship is used to provide the sending device with a value related to the second number M to determine that the TBS value is taken.

[0800] The second number M is the number of OOK symbols transmitted within a preset duration, and the preset duration is determined by the basic time domain unit in the cellular communication system or WiFi system. In some embodiments, the preset duration is t OFDM symbols, and t OFDM symbols can transmit M OOK symbols. M is the number of OOK symbols transmitted in t OFDM symbols. The value of t is a positive integer. In the embodiment of the present application, M OOK symbols are transmitted in 1 OFDM symbol as an example.

[0801] In some embodiments, M may be agreed upon by a protocol, configured by a network device, or determined by a terminal device based on a preset mapping relationship.

[0802] In some embodiments, M has multiple candidate values, for example, M={1, 2, 4, 6, 8}.

[0803] In some embodiments, the value associated with the second quantity M includes at least one of the following:

[0804] an integer multiple of the second number M;

[0805] An integer multiple of one half of the second number M.

[0806] Optionally, the TBS mapping relationship is used to provide the sending device with a TBS value that is an integer multiple of the second number M. This ensures that when the number of valid OOK symbols to be transmitted is not an integer multiple of M, the OOK symbols can be transmitted smoothly.

[0807] Optionally, when a Manchester encoder is used to encode the original bit sequence, the TBS mapping relationship is provided to the sending device to determine that the TBS value is an integer multiple of half of the second number M. Exemplarily, as shown in FIG12 or FIG13 , the encoder is a Manchester encoder.

[0808] In some embodiments, the TBS mapping relationship includes a first TBS value mapping relationship, and the candidate TBS values ​​in the first TBS value mapping relationship are all numerical values ​​related to the second number M.

[0809] Optionally, the candidate TBS values ​​in the first TBS value mapping relationship are all integer multiples of the second number M.

[0810] Optionally, the candidate TBS values ​​in the first TBS value mapping relationship are all integer multiples of half of the second number M.

[0811] Optionally, the candidate TBS values ​​in the first TBS value mapping relationship are all integer multiples of half of the second number M and integer multiples of the second number M.

[0812] For example, the first TBS value mapping relationship refers to Table 10 above.

[0813] In some embodiments, the TBS mapping relationship further includes a second TBS value mapping relationship, and not all candidate TBS values ​​in the second TBS value mapping relationship are values ​​related to the second number M.

[0814] Optionally, a portion of the candidate TBS values ​​in the second TBS value mapping relationship are integer multiples of the second number M, and another portion are values ​​unrelated to the second number M.

[0815] Optionally, a portion of the candidate TBS values ​​in the second TBS value mapping relationship is an integer multiple of half of the second number M, and the other portion is a value unrelated to the second number M.

[0816] Optionally, a portion of the candidate TBS values ​​in the second TBS value mapping relationship are integer multiples of half the second number M and integer multiples of the second number M, and the other portion are values ​​unrelated to the second number M.

[0817] For example, the second TBS value mapping relationship refers to Table 11 above.

[0818] In some embodiments, the TBS mapping relationship further includes a third TBS value mapping relationship, and the candidate TBS values ​​in the third TBS value mapping relationship are not all values ​​related to the second number M.

[0819] Optionally, a portion of the candidate TBS values ​​in the third TBS value mapping relationship are integer multiples of the second number M, and another portion are values ​​unrelated to the second number M.

[0820] Optionally, a portion of the candidate TBS values ​​in the third TBS value mapping relationship is an integer multiple of the fourth number, and another portion is a value unrelated to the second number M. Optionally, a portion of the candidate TBS values ​​in the third TBS value mapping relationship is an integer multiple of one-half of the second number M, and another portion is a value unrelated to the second number M. The fourth number is the quotient of the second number M and the fifth number P, and the fifth number P is related to the encoding method adopted by the first bit sequence. For example, assuming that the first bit sequence adopts Manchester encoding, the fifth number P=2, the fourth number Then the TBS value is The smallest integer multiple of .

[0821] Optionally, a portion of the candidate TBS values ​​in the third TBS value mapping relationship are integer multiples of the fourth number and integer multiples of the second number M, and another portion are values ​​unrelated to the second number M. Optionally, a portion of the candidate TBS values ​​in the third TBS value mapping relationship are integer multiples of one-half of the second number M and integer multiples of the second number M, and another portion are values ​​unrelated to the second number M.

[0822] For example, the third TBS value mapping relationship refers to Table 12 above.

[0823] Optionally, different second numbers M correspond to the same TBS value mapping relationship. For example, M=2 and M=4 both correspond to the first TBS value mapping relationship.

[0824] Optionally, some different second numbers M correspond to the same TBS value mapping relationship, while other different second numbers M correspond to different TBS value mapping relationships. For example, M=2 and M=4 both correspond to the first TBS value mapping relationship. M=6 corresponds to the second TBS value mapping relationship. M=8 corresponds to the third TBS value mapping relationship.

[0825] Optionally, different second numbers M correspond to different TBS value mapping relationships. For example, M=2 corresponds to the first TBS value mapping relationship. M=4 corresponds to the second TBS value mapping relationship. M=6 corresponds to the third TBS value mapping relationship. And so on. Each second number M corresponds to its own TBS value mapping relationship.

[0826] In summary, the method provided in this embodiment, by sending the TBS mapping relationship, can accurately receive valid OOK symbols to be transmitted even when the number of valid OOK symbols to be transmitted is not an integer multiple of M.

[0827] The apparatus provided in the embodiments of the present application can be applied to uplink data transmission (Ambient IoT device => network device / AP), downlink data transmission (network device / AP => Ambient IoT device), and sidelink data transmission. Sidelink data transmission includes at least one of the following four forms: Ambient IoT device => other terminal device, or other terminal device => Ambient IoT device, or Ambient IoT device => Ambient IoT device, or other terminal device => other terminal device.

[0828] In some embodiments, the apparatus provided in the embodiments of this application can be applied not only to Ambient IoT devices but also to LP-WUR / WUS scenarios. This means that the LP-WUS signals sent by network devices to LP-WUR can also use the apparatus provided in the embodiments of this application.

[0829] FIG61 shows a block diagram of a bit sequence preprocessing device provided by an exemplary embodiment of the present application. The bit sequence preprocessing device can be implemented as part of a network device, an AP, an Ambient IoT device, or a terminal device, and includes:

[0830] An acquisition module 6110 is configured to acquire a first bit sequence having a length L of a first number;

[0831] The first number L is the number of bits in the first bit sequence. For example, assuming the first bit sequence is {1, 0, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0}, then L is 18.

[0832] In some embodiments, the first bit sequence is any one of the following:

[0833] The original bit sequence that does not need to be encoded;

[0834] The original bit sequence before encoding;

[0835] The coded bit sequence after encoding the original bit sequence;

[0836] A coded bit sequence obtained by performing at least one level of multi-level coding on the original bit sequence.

[0837] In some embodiments, the first bit sequence refers to the description in step 220 above.

[0838] The processing module 6120 is configured to process the first bit sequence into a second bit sequence having a length of a third number L′ when the first number L is not an integer multiple of the second number M.

[0839] Optionally, the first quantity L is smaller than the third quantity L'. Optionally, the first quantity L is larger than the third quantity L'.

[0840] The second number M is the number of OOK symbols transmitted in the preset duration. The preset duration is determined by the basic time domain unit in the cellular communication system or the WiFi system. In some embodiments, the preset duration is t OFDM symbols, and t OFDM symbols can transmit M OOK symbols. M is the number of OOK symbols transmitted in t OFDM symbols. The value of t is a positive integer. In the embodiment of the present application, M OOK symbols are transmitted in 1 OFDM symbol as an example.

[0841] In some embodiments, M may be agreed upon by a protocol, configured by a network device, or determined by a terminal device based on a preset mapping relationship.

[0842] In some embodiments, M has multiple candidate values, for example, M={1, 2, 4, 6, 8}.

[0843] The third number L' is the number of bits in the second bit sequence. For example, if the second bit sequence is {1, 0, 1, 0}, then L' is 4.

[0844] In some embodiments, the second bit sequence is divided into at least one sequence segment of length M for OOK modulation, obtaining M OOK symbols corresponding to each sequence segment. That is, the third number L' is an integer multiple of the second number M. For example, if the second bit sequence is {1, 0, 1, 0} and M = 2, the second bit sequence can be divided into two sequence segments of length 2, each of which is {1, 0} and {1, 0}.

[0845] It should be understood that when the first number L is not an integer multiple of the second number M, when the first bit sequence of length L is segmented, the first bit sequence of length L cannot be divided into multiple sequence segments of length second number M. That is, the length of the last sequence segment will be less than the second number M. In this case, OOK modulation cannot be performed on the last sequence segment. For example, assuming that the first bit sequence is {1,0,0,1,1,1,1,0,1,0,1}, then L=11; when M=4, the first bit sequence is segmented, and sequence segment 1 is {1,0,0,1}, sequence segment 2 is {1,1,1,0}, and sequence segment 3 is {1,0,1}.

[0846] In an embodiment of the present application, a method for processing a first bit sequence is provided when the first number L is not an integer multiple of the second number M, so that the processed bit sequence can ensure that the requirements of OOK modulation are met.

[0847] In some embodiments, the above method for processing the first bit sequence may have multiple optional designs, and for details, refer to Optional Design 1 and Optional Design 2 in the above step 240.

[0848] a modulation module 6130 configured to divide the second bit sequence to obtain at least one sequence segment having a length of a second number M;

[0849] In some embodiments, since the length corresponding to the second bit sequence is a third number L', when the third number L' is an integer multiple of the second number M, the length of each sequence segment obtained by dividing the second bit sequence having the third number L' is the second number M. For example, assuming that the second bit sequence having the third number L' is {1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, ····}, and M=4, the second bit sequence having the third number L' is divided into a plurality of sequence segments, each of which has a length of 4, for example, sequence segment 1 is {1, 0, 0, 1}.

[0850] The modulation module 6130 is further configured to perform OOK modulation on each sequence segment to obtain M OOK symbols corresponding to each sequence segment.

[0851] OOK modulation is the process of modulating a digital sequence into a wireless signal with an MC-OOK waveform. OOK modulation is performed on each sequence segment of a second length M to obtain M OOK symbols corresponding to each sequence segment.

[0852] To summarize, the method provided in this embodiment processes the first bit sequence into a second bit sequence of a third number L' in length when the first number L corresponding to the first bit sequence is not an integer multiple of the second number M, so that the processed second bit sequence can be divided into at least one sequence segment of a length of the second number M, thereby ensuring that the OOK symbols can be transmitted smoothly even when the number of valid OOK symbols to be transmitted is not an integer multiple of M.

[0853] For optional design one (bit stuffing):

[0854] In some embodiments, the processing module 6120 is further configured to perform bit padding on the first bit sequence to obtain a second bit sequence of a third number L' in length when the first number L is not an integer multiple of the second number M.

[0855] In some embodiments, when the first number L is not an integer multiple of the second number M, bit padding is performed on a first bit sequence having a length of the first number L, and the first bit sequence having a length of the first number L is padded with a second bit sequence having a length of a third number L'. The third number L' is an integer multiple of the second number M.

[0856] For example, assuming that the first bit sequence is {1, 0, 0, 1, 1, 1, 1, 0, 1, 0}, then L = 11; when M = 4, L is not an integer multiple of M, then bit padding is performed on the first bit sequence to obtain a second bit sequence of {1, 0, 0, 1, 1, 1, 1, 0, 1, 0, 1}; at this time, L' = 12.

[0857] Optionally, when the first number L is smaller than the third number L', bit padding is performed on the first bit sequence to obtain a second bit sequence with a length of the third number L'.

[0858] In some embodiments, the processing module 6120 is further configured to add at least one padding bit to the end of the first bit sequence when the first number L is not an integer multiple of the second number M, to obtain a second bit sequence of a third number L' in length.

[0859] In some embodiments, the first bit sequence is divided into a second number M to obtain a plurality of sequence segments. When the first number L is not an integer multiple of the second number M, the length of the last sequence segment obtained by dividing the first bit sequence will be less than the second number M. At least one padding bit is added to the last sequence segment obtained by dividing the first bit sequence so that the length of the last sequence segment obtained by dividing the first bit sequence is equal to M, thereby enabling OOK modulation.

[0860] In some embodiments, the at least one padding bit added to the end of the first bit sequence includes any one of the following:

[0861] A bit sequence whose values ​​are all 1;

[0862] A bit sequence whose values ​​are all 0;

[0863] A bit sequence whose values ​​are arranged according to a fixed pattern;

[0864] A bit sequence determined based on the second number M.

[0865] In some embodiments, the at least one padding bit added to the tail of the first bit sequence is specifically described in the above step 2411.

[0866] In some embodiments, there may be multiple ways to transmit the at least one padding bit added to the tail of the first bit sequence. For details, refer to transmission modes 1 to 6 in step 2411.

[0867] To summarize, the method provided in this embodiment adds at least one padding bit to the end of the first bit sequence when the first number L corresponding to the first bit sequence is not an integer multiple of the second number M, thereby obtaining a second bit sequence of a third number L' in length. This enables the processed second bit sequence to be divided into at least one sequence segment of a length of the second number M, thereby ensuring that the OOK symbols can be transmitted smoothly even when the number of valid OOK symbols to be transmitted is not an integer multiple of M.

[0868] In some embodiments, the apparatus further comprises:

[0869] The sending module 6140 is configured to send length indication information of at least one padding bit.

[0870] The length indication information is used to indicate the length of at least one padding bit, so that a receiving device can distinguish between information corresponding to the padding bit and information corresponding to the non-padding bit.

[0871] In some embodiments, the length indication information is sent separately. That is, the length indication information and the multiple OOK symbols obtained after OOK modulation are sent separately. For example, as shown in FIG21 , the length indication information is sent separately from the M OOK symbols to indicate the length of at least one padding bit.

[0872] In some embodiments, the length indication information is carried in multiple OOK symbols obtained after OOK modulation and sent. Exemplarily, as shown in Figure 22, the length indication information is carried in M ​​OOK symbols obtained after OOK modulation, and is used to indicate the length of at least one padding bit. That is, the length indication bit sequence corresponding to the length indication information is a subset of the bit sequence corresponding to the M OOK symbols, or it can be understood that the length indication bit sequence corresponding to the length indication information is a subsequence of the bit sequence corresponding to the M OOK symbols. Optionally, the position of the length indication bit sequence corresponding to the length indication information in the bit sequence corresponding to the M OOK symbols is fixed. Optionally, the position of the length indication bit sequence corresponding to the length indication information in the bit sequence corresponding to the M OOK symbols can be agreed upon by the protocol, configured by the network device, or configured by the terminal device.

[0873] In some embodiments, M has multiple candidate values, such as M = {1, 2, 4, 6, 8}. Optionally, the length of the length indication bit sequence corresponding to the length indication information is determined based on the value of M during communication. For example, the length of the length indication bit sequence corresponding to the length indication information is Optionally, the length of the length indication bit sequence corresponding to the length indication information is determined based on the maximum value among the candidate values ​​of M. For example, the length of the length indication bit sequence corresponding to the length indication information is Represents rounding up.

[0874] In some embodiments, the length indication information may be sent in at least two ways:

[0875] Explicit way:

[0876] The sending module 6140 is further configured to send a first indication bit sequence.

[0877] In some embodiments, the first indication bit sequence is described in step 321 above.

[0878] The sending module 6140 is further configured to send a second indication bit sequence.

[0879] In some embodiments, the second indication bit sequence refers to the introduction in the above step 322.

[0880] The sending module 6140 is further configured to send a first bitmap having a length of a second number M.

[0881] In some embodiments, the first bitmap is described in step 323 above.

[0882] Implicit way:

[0883] The sending module 6140 is further configured to map bits in the second bit sequence whose values ​​are the first value to a target sequence during the process of performing OOK modulation on the second bit sequence to convert it into an OOK symbol;

[0884] Optionally, in the process of performing OOK modulation on the second bit sequence to obtain OOK symbols, bits with a value of 1 in the second bit sequence are mapped to the target sequence.

[0885] Optionally, in the process of performing OOK modulation on the second bit sequence to obtain OOK symbols, bits with values ​​of 0 in the second bit sequence are mapped to the target sequence.

[0886] In some embodiments, the target sequence is at least one of the following sequences:

[0887] PN sequence;

[0888] ZC sequence;

[0889] M sequence.

[0890] Optionally, in the process of performing OOK modulation on the second bit sequence to obtain an OOK symbol, bits with a value of 1 in the second bit sequence are mapped to a PN sequence. Alternatively, in the process of performing OOK modulation on the second bit sequence to obtain an OOK symbol, bits with a value of 1 in the second bit sequence are mapped to a ZC sequence. Alternatively, in the process of performing OOK modulation on the second bit sequence to obtain an OOK symbol, bits with a value of 1 in the second bit sequence are mapped to an M sequence.

[0891] Optionally, in the process of performing OOK modulation on the second bit sequence to obtain an OOK symbol, bits with a value of 0 in the second bit sequence are mapped to a PN sequence. Alternatively, in the process of performing OOK modulation on the second bit sequence to obtain an OOK symbol, bits with a value of 0 in the second bit sequence are mapped to a ZC sequence. Alternatively, in the process of performing OOK modulation on the second bit sequence to obtain an OOK symbol, bits with a value of 0 in the second bit sequence are mapped to an M sequence.

[0892] In some embodiments, the target sequence is as described in step 324 above.

[0893] The sending module 6140 is further configured to send the OOK symbols corresponding to the second bit sequence.

[0894] The transmitting device transmits the OOK symbols corresponding to the second bit sequence obtained through OOK modulation to the receiving device, wherein the bits in the second bit sequence having the first value are mapped to the target sequence, and the target sequence is used to indicate the length of at least one padding bit.

[0895] Optionally, the implicit transmission of the length indication information may also include: performing phase randomization on the second bit sequence or intermediate data using a target phase randomization sequence during OOK modulation of the second bit sequence into OOK symbols; and transmitting the OOK symbols corresponding to the second bit sequence. The intermediate data is intermediate process data generated during the OOK modulation of the second bit sequence.

[0896] In some embodiments, the target phase randomization sequence is used to indicate a length of at least one padding bit.

[0897] Optionally, the value of the target phase randomization sequence is used to indicate the length of at least one padding bit. That is, the length of the at least one padding bit is associated with the value of the target phase randomization sequence.

[0898] Optionally, the index of the target phase randomization sequence is used to indicate the length of at least one padding bit. For example, a mapping relationship exists between multiple target phase randomization sequences and the length of at least one padding bit. In some embodiments, this mapping relationship may be agreed upon by a protocol, configured by a network device, or configured by a terminal device.

[0899] In some embodiments, when a sequence segment corresponds to M OOK symbols, the length of the padding bits may be 1 to M-1. Therefore, there are at least M-1 corresponding target phase randomization sequences, and each of the M-1 target phase randomization sequences has a one-to-one mapping relationship with the length of at least one padding bit.

[0900] Optionally, for the mapping relationship between multiple target phase randomization sequences and the length of at least one padding bit, refer to Table 5 above.

[0901] To sum up, the method provided in this embodiment enables the receiving device to distinguish between the information corresponding to the padding bits and the information corresponding to the non-padding bits by sending length indication information for indicating the length of at least one padding bit to the sending device, thereby ensuring that even if the number of valid OOK symbols to be transmitted is not an integer multiple of M, the receiving party can accurately parse the information corresponding to the valid OOK symbols through the length indication information.

[0902] For optional design 2 (bit selection):

[0903] The processing module 6120 is further configured to, when the first number L is not an integer multiple of the second number M, perform bit selection on the first bit sequence to obtain a second bit sequence having a length of a third number L'.

[0904] In some embodiments, when the first number L is not an integer multiple of the second number M, bit selection is performed on a first bit sequence having a length of the first number L, and a second bit sequence having a length of a third number L' is obtained based on the first bit sequence having a length of the first number L. The third number L' is an integer multiple of the second number M.

[0905] In some embodiments, the first number L may be smaller than the third number L'.

[0906] The processing module 6120 is further configured to, when the first number L is smaller than the third number L', perform cyclic selection on the first bit sequence to obtain a second bit sequence having a length of the third number L'.

[0907] In some embodiments, when the first number L is smaller than the third number L', at least one repeated bit is cyclically selected from the first bit sequence to obtain a second bit sequence having a length of the third number L'.

[0908] In some embodiments, when the first number L is less than the third number L' and the first number L is not an integer multiple of the second number M, at least one repeated bit is cyclically selected from the first bit sequence, so that the first bit sequence having a length of the first number L is expanded to obtain a second bit sequence having a length of the third number L'. The bit sequence corresponding to the cyclically selected at least one repeated bit is a sequence subset in the first bit sequence, or it can be understood that the bit sequence corresponding to the cyclically selected at least one repeated bit is a subsequence in the first bit sequence.

[0909] For example, as shown in FIG30 , assuming the first bit sequence is {1, 0, 0, 1, 1, 1, 1, 0, 1, 0}, L = 11. When M = 4, L is not an integer multiple of M. Therefore, the first bit sequence is cyclically selected, resulting in a second bit sequence of {1, 0, 0, 1, 1, 1, 1, 0, 1, 0}. In this case, L' = 12. The repeatedly selected bit sequence {1} is a subset of the first bit sequence.

[0910] Optionally, the length of the bit sequence corresponding to the at least one repeated bit cyclically selected in the first bit sequence is determined based on the second number M.

[0911] In some embodiments, M has multiple candidate values, for example, M = {1, 2, 4, 6, 8}. Optionally, the length of the bit sequence corresponding to the at least one repeated bit cyclically selected in the first bit sequence is determined based on the value of M during communication. Optionally, the length of the bit sequence corresponding to the at least one repeated bit cyclically selected in the first bit sequence is determined based on the maximum value among the candidate values ​​of M.

[0912] In some embodiments, there may be multiple ways to transmit the at least one repeated bit cyclically selected in the first bit sequence. For details, refer to transmission methods 1 to 6 in step 2421.

[0913] To summarize, the method provided in this embodiment obtains a second bit sequence of length L' by cyclically selecting the first bit sequence when the first number L is less than the third number L', so that the processed second bit sequence can be divided into at least one sequence segment of length M, thereby ensuring that the OOK symbols can be transmitted smoothly even when the number of valid OOK symbols to be transmitted is not an integer multiple of M.

[0914] The sending module 6140 is further configured to send length indication information of at least one repeated bit.

[0915] The length indication information is used to indicate the length of at least one repeated bit, so that a receiving device can distinguish between information corresponding to the repeated bit and information corresponding to the non-repeated bit.

[0916] In some embodiments, the length indication information is sent separately, that is, the length indication information and the multiple OOK symbols obtained after OOK modulation are sent separately.

[0917] In some embodiments, the length indication information is transmitted within multiple OOK symbols obtained after OOK modulation. That is, the length indication bit sequence corresponding to the length indication information is a subset of the bit sequences corresponding to the multiple OOK symbols, or it can be understood that the length indication bit sequence corresponding to the length indication information is a subsequence of the bit sequences corresponding to the multiple OOK symbols. Optionally, the position of the length indication bit sequence corresponding to the length indication information in the bit sequences corresponding to the multiple OOK symbols is fixed. Optionally, the position of the length indication bit sequence corresponding to the length indication information in the bit sequences corresponding to the multiple OOK symbols can be agreed upon by the protocol, configured by the network device, or configured by the terminal device.

[0918] In some embodiments, M has multiple candidate values, such as M = {1, 2, 4, 6, 8}. Optionally, the length of the length indication bit sequence corresponding to the length indication information is determined based on the value of M during communication. For example, the length of the length indication bit sequence corresponding to the length indication information is Optionally, the length of the length indication bit sequence corresponding to the length indication information is determined based on the maximum value among the candidate values ​​of M. For example, the length of the length indication bit sequence corresponding to the length indication information is Represents rounding up.

[0919] In some embodiments, the length indication information may be sent in at least two ways:

[0920] Explicit way:

[0921] The sending module 6140 is further configured to send a third indication bit sequence.

[0922] In some embodiments, the third indication bit sequence refers to the introduction in the above step 421.

[0923] The sending module 6140 is further configured to send a fourth indication bit sequence.

[0924] In some embodiments, the fourth indication bit sequence refers to the description in the above step 422 .

[0925] The sending module 6140 is further configured to send a second bitmap having a length of a second number M.

[0926] In some embodiments, the second bitmap is described in step 423 above.

[0927] Implicit way:

[0928] The sending module 6140 is further configured to map bits in the second bit sequence whose values ​​are the first values ​​into a target sequence during the process of performing OOK modulation on the second bit sequence to convert it into OOK symbols.

[0929] Optionally, in the process of performing OOK modulation on the second bit sequence to obtain OOK symbols, bits with a value of 1 in the second bit sequence are mapped to the target sequence.

[0930] Optionally, in the process of performing OOK modulation on the second bit sequence to obtain OOK symbols, bits with values ​​of 0 in the second bit sequence are mapped to the target sequence.

[0931] In some embodiments, the target sequence is at least one of the following sequences:

[0932] PN sequence;

[0933] ZC sequence;

[0934] M sequence.

[0935] Optionally, in the process of performing OOK modulation on the second bit sequence to obtain an OOK symbol, bits with a value of 1 in the second bit sequence are mapped to a PN sequence. Alternatively, in the process of performing OOK modulation on the second bit sequence to obtain an OOK symbol, bits with a value of 1 in the second bit sequence are mapped to a ZC sequence. Alternatively, in the process of performing OOK modulation on the second bit sequence to obtain an OOK symbol, bits with a value of 1 in the second bit sequence are mapped to an M sequence.

[0936] Optionally, in the process of performing OOK modulation on the second bit sequence to obtain an OOK symbol, bits with a value of 0 in the second bit sequence are mapped to a PN sequence. Alternatively, in the process of performing OOK modulation on the second bit sequence to obtain an OOK symbol, bits with a value of 0 in the second bit sequence are mapped to a ZC sequence. Alternatively, in the process of performing OOK modulation on the second bit sequence to obtain an OOK symbol, bits with a value of 0 in the second bit sequence are mapped to an M sequence.

[0937] In some embodiments, the target sequence is as described in step 424 above.

[0938] The sending module 6140 is further configured to send the OOK symbols corresponding to the second bit sequence.

[0939] The transmitting device transmits the OOK symbols corresponding to the second bit sequence obtained through OOK modulation to the receiving device, wherein the bits in the second bit sequence having the first value are mapped to the target sequence, and the target sequence is used to indicate the length of at least one padding bit.

[0940] Optionally, the implicit transmission of the length indication information may also include: performing phase randomization on the second bit sequence or intermediate data using a target phase randomization sequence during OOK modulation of the second bit sequence into OOK symbols; and transmitting the OOK symbols corresponding to the second bit sequence. The intermediate data is intermediate process data generated during the OOK modulation of the second bit sequence.

[0941] In some embodiments, the target phase randomization sequence is used to indicate the length of at least one repetition bit.

[0942] Optionally, the value of the target phase randomization sequence is used to indicate the length of at least one repeated bit. That is, the length of the at least one repeated bit is associated with the value of the target phase randomization sequence.

[0943] Optionally, the index of the target phase randomization sequence is used to indicate the length of at least one repeated bit. For example, a mapping relationship exists between multiple target phase randomization sequences and the length of at least one repeated bit. In some embodiments, the mapping relationship may be agreed upon by a protocol, configured by a network device, or configured by a terminal device.

[0944] In some embodiments, when a sequence segment corresponds to M OOK symbols, the length of the repetition bit may be 1 to M-1. Therefore, there are at least M-1 corresponding target phase randomization sequences, and each of the M-1 target phase randomization sequences has a one-to-one mapping relationship with the length of at least one repetition bit.

[0945] Optionally, for the mapping relationship between multiple target phase randomization sequences and the length of at least one repetition bit, refer to Table 9 above.

[0946] To sum up, the method provided in this embodiment enables the receiving device to distinguish between the information corresponding to the repeated bits and the information corresponding to the non-repeated bits by sending length indication information for indicating the length of at least one repeated bit to the sending device, thereby ensuring that even if the number of valid OOK symbols to be transmitted is not an integer multiple of M, the receiving party can accurately parse the information corresponding to the valid OOK symbols through the length indication information.

[0947] In some embodiments, the first number L may be greater than the third number L'.

[0948] The processing module 6120 is further configured to, when the first number L is greater than the third number L', perform truncation selection on the first bit sequence to obtain a second bit sequence having a length of the third number L'.

[0949] In some embodiments, when the first number L is greater than the third number L', a segment of a bit sequence is selected and truncated from the first bit sequence as a second bit sequence having a length of the third number L'. The truncated selected bit sequence is a subset of the first bit sequence, or in other words, the truncated selected bit sequence is a subsequence of the first bit sequence.

[0950] For example, as shown in FIG37 , assuming the first bit sequence is {1, 0, 0, 1, 1, 1, 1, 0, 1, 0}, L = 11. When M = 4, L is not an integer multiple of M, so the first bit sequence is truncated to obtain a second bit sequence of {1, 0, 0, 1, 1, 1, 0}. In this case, L' = 8. The second bit sequence obtained by truncating the selection is a subset of the first bit sequence.

[0951] Optionally, the length of the second bit sequence selected by truncating the first bit sequence is determined based on the second number M.

[0952] In some embodiments, M has multiple candidate values, for example, M = {1, 2, 4, 6, 8}. Optionally, the length of the second bit sequence selected by truncating the first bit sequence is determined based on the value of M during communication. Optionally, the length of the second bit sequence selected by truncating the first bit sequence is determined based on the maximum value among the candidate values ​​of M.

[0953] To summarize, the method provided in this embodiment obtains a second bit sequence of length L' by truncating the first bit sequence when the first number L is greater than the third number L', so that the processed second bit sequence can be divided into at least one sequence segment of length M, thereby ensuring that the OOK symbols can be transmitted smoothly even when the number of valid OOK symbols to be transmitted is not an integer multiple of M.

[0954] In some embodiments, the apparatus further comprises:

[0955] The determination module 6150 is used to determine a selection starting point for bit selection.

[0956] The selection starting point of the bit selection is determined based on the indication information of the network device; or, the selection starting point of the bit selection is determined based on the agreed rules of the communication protocol.

[0957] Optionally, the selection starting point is determined based on indication information of the network device, or the selection starting point is based on an agreed rule of the communication protocol.

[0958] In some embodiments, the selection of the starting point is specifically described in step 520 above.

[0959] In summary, the method provided in this embodiment determines the selection starting point for bit selection, so that the sending device can perform bit selection on the first bit sequence based on the accurate selection starting point.

[0960] FIG62 shows a block diagram of a device for generating OOK symbols according to an exemplary embodiment of the present application. The device can be implemented as part of a network device, an AP, an Ambient IoT device, or a terminal device, and includes:

[0961] The acquisition module 6210 is configured to acquire a first bit sequence having a length of a first number L.

[0962] The first number L is the number of bits in the first bit sequence. For example, assuming the first bit sequence is {1, 0, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0}, then L is 18.

[0963] In some embodiments, the first bit sequence is any one of the following:

[0964] The original bit sequence that does not need to be encoded;

[0965] The original bit sequence before encoding;

[0966] The coded bit sequence after encoding the original bit sequence;

[0967] A coded bit sequence obtained by performing at least one level of multi-level coding on the original bit sequence.

[0968] In some embodiments, the first bit sequence refers to the description in step 220 above.

[0969] The modulation module 6220 is configured to divide the first bit sequence into at least one sequence segment according to the second number M, perform OOK modulation, and obtain an OOK symbol sequence corresponding to each sequence segment.

[0970] The second number M is the number of OOK symbols transmitted in the preset duration. The preset duration is determined by the basic time domain unit in the cellular communication system or the WiFi system. In some embodiments, the preset duration is t OFDM symbols, and t OFDM symbols can transmit M OOK symbols. M is the number of OOK symbols transmitted in t OFDM symbols. The value of t is a positive integer. In the embodiment of the present application, M OOK symbols are transmitted in 1 OFDM symbol as an example.

[0971] In some embodiments, M may be agreed upon by a protocol, configured by a network device, or determined by a terminal device based on a preset mapping relationship.

[0972] In some embodiments, M has multiple candidate values, for example, M={1, 2, 4, 6, 8}.

[0973] In some embodiments, the first bit sequence is divided into at least one sequence segment according to a second number M. For example, assuming the first bit sequence is {1, 0, 0, 1, 1, 1, 1, 0, 1, 0, 1}, when M=4, the first bit sequence is segmented to obtain sequence segment 1 as {1, 0, 0, 1}, sequence segment 2 as {1, 1, 1, 0}, and sequence segment 3 as {1, 0, 1}.

[0974] OOK modulation is performed on at least one sequence segment obtained based on the first bit sequence division to obtain an OOK symbol sequence corresponding to each sequence segment.

[0975] It should be understood that it is possible to perform OOK modulation on all sequence segments simultaneously to obtain an OOK symbol sequence corresponding to each sequence segment.

[0976] Alternatively, all sequence segments may be grouped and OOK modulation may be performed sequentially on each group to obtain an OOK symbol sequence corresponding to each sequence segment. For example, assuming there are four sequence segments, including sequence segment 1, sequence segment 2, sequence segment 3, and sequence segment 4, sequence segments 1 and 2 are grouped together for OOK modulation to obtain OOK symbol sequence 1 corresponding to sequence segment 1 and OOK symbol sequence 2 corresponding to sequence segment 2. Sequence segments 3 and 4 are grouped together for OOK modulation to obtain OOK symbol sequence 3 corresponding to sequence segment 3 and OOK symbol sequence 4 corresponding to sequence segment 4.

[0977] Alternatively, OOK modulation may be performed on each sequence segment in sequence to obtain an OOK symbol sequence corresponding to each sequence segment. For example, assuming there are four sequence segments, including sequence segment 1, sequence segment 2, sequence segment 3, and sequence segment 4. Sequence segment 1 is OOK modulated in sequence to obtain OOK symbol sequence 1 corresponding to sequence segment 1; sequence segment 2 is OOK modulated to obtain OOK symbol sequence 2 corresponding to sequence segment 2; sequence segment 3 is OOK modulated to obtain OOK symbol sequence 3 corresponding to sequence segment 3; and sequence segment 4 is OOK modulated to obtain OOK symbol sequence 4 corresponding to sequence segment 4.

[0978] In some embodiments, the OOK symbol sequence includes a first type of symbol and / or a second type of symbol, wherein the first type of symbol corresponds to a bit having a first value, and the second type of symbol corresponds to a bit having a second value. The first type of symbol and the second type of symbol are different types of symbols, and the first value and the second value are also different. For example, the first value corresponding to the first type of symbol is 1, and the second value corresponding to the second type of symbol is 0; or, the first value corresponding to the first type of symbol is 0, and the second value corresponding to the second type of symbol is 1.

[0979] Optionally, the OOK symbol sequence includes only symbols of the first type; or, the OOK symbol sequence includes only symbols of the second type. For example, the OOK symbol sequence is {OOK-on, OOK-on, OOK-on, OOK-on, OOK-on}; or, the OOK symbol sequence is {OOK-off, OOK-off, OOK-off, OOK-off, OOK-off, OOK-off}.

[0980] Optionally, the OOK symbol sequence includes first-type symbols and second-type symbols. For example, the OOK symbol sequence is {OOK-on, OOK-off, OOK-off, OOK-on, OOK-off, OOK-on}.

[0981] The adding module 6230 is used to add a third type of symbol to the OOK symbol sequence corresponding to the last sequence segment when the number of bits in the last sequence segment is less than the second number M, so that the OOK symbol sequence corresponding to the last sequence segment includes at least M OOK symbols.

[0982] In some embodiments, when the first number L is not an integer multiple of the second number M, the number of bits in the last sequence segment obtained by dividing the first bit sequence according to the second number M will be less than the second number M. A third type of symbol is then added to the OOK symbol sequence corresponding to the last sequence segment, so that the OOK symbol sequence corresponding to the last sequence segment includes at least M OOK symbols.

[0983] In some embodiments, the third type of symbol is an OOK symbol that is different from the first type of symbol and the second type of symbol. Optionally, the third type of symbol is obtained by performing OOK modulation based on a bit sequence having a third value. It should be understood that the time domain length corresponding to each first type of symbol, second type of symbol, and third type of symbol is the same. Alternatively, it can be understood that the time domain length corresponding to the bit sequence having the first value is the same as the time domain length corresponding to the bit sequence having the third value.

[0984] For example, as shown in FIG40 , assuming that the last sequence segment is {1,0}, the last sequence segment is subjected to OOK modulation, resulting in an OOK symbol sequence of {OOK-on, OOK-off}. In the case of M=4, it is necessary to add a third type of symbol to the OOK symbol sequence, such as adding {OOK-on, OOK-off; OOK-on, OOK-off}. It should be understood that in the added third type of symbol, "OOK-on, OOK-off" as a combination has a time domain length that is the same as the time domain length of an "OOK-on" symbol or the time domain length of an "OOK-off" symbol in the original OOK symbol sequence.

[0985] In some embodiments, the third type of symbol may be considered an abnormal type of symbol. In one understanding, the abnormal type of symbol may be understood as a symbol with an abnormal waveform; in another understanding, the abnormal type of symbol may be understood as a symbol with an abnormal length.

[0986] In some embodiments, M has multiple candidate values, such as M = {1, 2, 4, 6, 8}. Optionally, the number of the third type of symbols is determined based on the value of M during communication. Optionally, the number of the third type of symbols is determined based on the maximum value among the candidate values ​​of M.

[0987] In some embodiments, the bit sequence corresponding to the third type of symbol may be agreed upon by a protocol, configured by a network device, or configured by a terminal device.

[0988] In summary, the method provided in this embodiment adds a third type of symbol to the OOK symbol sequence corresponding to the last sequence segment, so that the OOK symbol sequence corresponding to the last sequence segment includes at least M OOK symbols, thereby ensuring that the OOK symbols can be transmitted smoothly even when the number of valid OOK symbols to be transmitted is not an integer multiple of M.

[0989] FIG63 shows a block diagram of a device for transmitting OOK symbols according to an exemplary embodiment of the present application. The device can be implemented as part of a network device, an AP, an Ambient IoT device, or a terminal device, and includes:

[0990] The sending module 6310 is configured to send at least one set of OOK symbol sequences.

[0991] In some embodiments, each of the at least one set of OOK symbol sequences includes a second number M of OOK symbols.

[0992] The second number M is the number of OOK symbols transmitted in the preset duration. The preset duration is determined by the basic time domain unit in the cellular communication system or the WiFi system. In some embodiments, the preset duration is t OFDM symbols, and t OFDM symbols can transmit M OOK symbols. M is the number of OOK symbols transmitted in t OFDM symbols. The value of t is a positive integer. In the embodiment of the present application, M OOK symbols are transmitted in 1 OFDM symbol as an example.

[0993] In some embodiments, M may be agreed upon by a protocol, configured by a network device, or determined by a terminal device based on a preset mapping relationship.

[0994] In some embodiments, M has multiple candidate values, for example, M={1, 2, 4, 6, 8}.

[0995] In some embodiments, at least one set of OOK symbol sequences corresponds to a first bit sequence of length L, which is a first number.

[0996] The first number L is the number of bits in the first bit sequence. For example, assuming the first bit sequence is {1, 0, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0}, then L is 18.

[0997] In some embodiments, the first bit sequence is any one of the following:

[0998] The original bit sequence that does not need to be encoded;

[0999] The original bit sequence before encoding;

[1000] The coded bit sequence after encoding the original bit sequence;

[1001] A coded bit sequence obtained by performing at least one level of multi-level coding on the original bit sequence.

[1002] In some embodiments, the first bit sequence refers to the description in step 220 above.

[1003] In some embodiments, the last OOK symbol sequence in at least one OOK symbol sequence includes a third type of symbol, which is an OOK symbol different from the first type of symbol and the second type of symbol. The first type of symbol corresponds to a bit having a first value, and the second type of symbol corresponds to a bit having a second value. Optionally, the third type of symbol corresponds to a bit sequence having a third value. It should be understood that the time domain length corresponding to each first type symbol, second type symbol, and third type symbol is the same. Alternatively, it can be understood that the time domain length corresponding to the bit having the first value and the time domain length corresponding to the bit sequence having the third value are the same.

[1004] In some embodiments, the bit sequence corresponding to the third type of symbol may be agreed upon by a protocol, configured by a network device, or configured by a terminal device.

[1005] In summary, the method provided in this embodiment adds a third type of symbol to the OOK symbol sequence corresponding to the last sequence segment, so that the OOK symbol sequence corresponding to the last sequence segment includes at least M OOK symbols, thereby ensuring that the OOK symbols can be transmitted smoothly even when the number of valid OOK symbols to be transmitted is not an integer multiple of M.

[1006] FIG64 shows a block diagram of a device for determining a TBS value according to an exemplary embodiment of the present application. The device can be implemented as part of a network device, an AP, an Ambient IoT device, or a terminal device, and includes:

[1007] The determination module 6410 is configured to determine that the TBS value is a value related to the second quantity M.

[1008] The second number M is the number of OOK symbols transmitted in the preset duration. The preset duration is determined by the basic time domain unit in the cellular communication system or the WiFi system. In some embodiments, the preset duration is t OFDM symbols, and t OFDM symbols can transmit M OOK symbols. M is the number of OOK symbols transmitted in t OFDM symbols. The value of t is a positive integer. In the embodiment of the present application, M OOK symbols are transmitted in 1 OFDM symbol as an example.

[1009] In some embodiments, M may be agreed upon by a protocol, configured by a network device, or determined by a terminal device based on a preset mapping relationship.

[1010] In some embodiments, M has multiple candidate values, for example, M={1, 2, 4, 6, 8}.

[1011] In some embodiments, the value associated with the second quantity M includes at least one of the following:

[1012] an integer multiple of the second number M;

[1013] An integer multiple of one half of the second number M.

[1014] Optionally, the TBS value is determined to be an integer multiple of the second number M. This ensures that when the number of valid OOK symbols to be transmitted is not an integer multiple of M, the OOK symbols can be transmitted smoothly.

[1015] Optionally, when a Manchester encoder is used to encode the original bit sequence, the value of TBS is determined to be an integer multiple of one half of the second number M. Exemplarily, as shown in FIG12 or FIG13 , the encoder is a Manchester encoder.

[1016] In summary, the method provided in this embodiment ensures that OOK symbols can be smoothly transmitted even when the number of valid OOK symbols to be transmitted is not an integer multiple of M by determining the value of TBS to be a value related to M.

[1017] The determination module 6410 is further configured to determine a TBS value based on the first TBS value mapping relationship.

[1018] In some embodiments, the candidate TBS values ​​in the first TBS value mapping relationship are all values ​​related to the second number M.

[1019] Optionally, the candidate TBS values ​​in the first TBS value mapping relationship are all integer multiples of the second number M.

[1020] Optionally, the candidate TBS values ​​in the first TBS value mapping relationship are all integer multiples of half of the second number M.

[1021] Optionally, the candidate TBS values ​​in the first TBS value mapping relationship are all integer multiples of half of the second number M and integer multiples of the second number M.

[1022] For example, the first TBS value mapping relationship refers to Table 10 above.

[1023] The determination module 6410 is further configured to determine a TBS value based on the second TBS value mapping relationship.

[1024] In some embodiments, the value of TBS is greater than or equal to the first number L, and the value of TBS is the smallest integer multiple of the second number M. The first number L is the length of the first bit sequence to be transmitted.

[1025] In some embodiments, the first bit sequence is any one of the following:

[1026] The original bit sequence that does not need to be encoded;

[1027] The original bit sequence before encoding;

[1028] The coded bit sequence after encoding the original bit sequence;

[1029] A coded bit sequence obtained by performing at least one level of multi-level coding on the original bit sequence.

[1030] In some embodiments, the first bit sequence refers to the description in step 220 above.

[1031] In some embodiments, not all candidate TBS values ​​in the second TBS value mapping relationship are values ​​related to the second number M.

[1032] Optionally, a portion of the candidate TBS values ​​in the second TBS value mapping relationship are integer multiples of the second number M, and another portion are values ​​unrelated to the second number M.

[1033] Optionally, a portion of the candidate TBS values ​​in the second TBS value mapping relationship is an integer multiple of half of the second number M, and the other portion is a value unrelated to the second number M.

[1034] Optionally, a portion of the candidate TBS values ​​in the second TBS value mapping relationship are integer multiples of half the second number M and integer multiples of the second number M, and the other portion are values ​​unrelated to the second number M.

[1035] For example, the second TBS value mapping relationship refers to Table 11 above.

[1036] The determination module 6410 is further configured to determine a TBS value based on a third TBS value mapping relationship.

[1037] In some embodiments, TBS takes a value greater than or equal to the first number L, and TBS takes a value that is a minimum integer multiple of the fourth number. The first number L is the length of the first bit sequence to be transmitted. The fourth number is the quotient of the second number M and the fifth number P, and the fifth number P is related to the encoding method used by the first bit sequence. For example, assuming that the first bit sequence uses Manchester encoding, the fifth number P = 2, and the fourth number Then the TBS value is The smallest integer multiple of .

[1038] In some embodiments, not all candidate TBS values ​​in the third TBS value mapping relationship are values ​​related to the second number M.

[1039] Optionally, a portion of the candidate TBS values ​​in the third TBS value mapping relationship are integer multiples of the second number M, and another portion are values ​​unrelated to the second number M.

[1040] Optionally, a portion of the candidate TBS values ​​in the third TBS value mapping relationship are integer multiples of the fourth number, and another portion are values ​​unrelated to the second number M. Optionally, a portion of the candidate TBS values ​​in the third TBS value mapping relationship are integer multiples of one-half of the second number M, and another portion are values ​​unrelated to the second number M.

[1041] Optionally, a portion of the candidate TBS values ​​in the third TBS value mapping relationship are integer multiples of the fourth number and integer multiples of the second number M, and another portion are values ​​unrelated to the second number M. Optionally, a portion of the candidate TBS values ​​in the third TBS value mapping relationship are integer multiples of one-half of the second number M and integer multiples of the second number M, and another portion are values ​​unrelated to the second number M.

[1042] For example, the third TBS value mapping relationship refers to Table 12 above.

[1043] Optionally, different second numbers M correspond to the same TBS value mapping relationship. For example, M=2 and M=4 both correspond to the first TBS value mapping relationship.

[1044] Optionally, some different second numbers M correspond to the same TBS value mapping relationship, while other different second numbers M correspond to different TBS value mapping relationships. For example, M=2 and M=4 both correspond to the first TBS value mapping relationship. M=6 corresponds to the second TBS value mapping relationship. M=8 corresponds to the third TBS value mapping relationship.

[1045] Optionally, different second numbers M correspond to different TBS value mapping relationships. For example, M=2 corresponds to the first TBS value mapping relationship. M=4 corresponds to the second TBS value mapping relationship. M=6 corresponds to the third TBS value mapping relationship. And so on. Each second number M corresponds to its own TBS value mapping relationship.

[1046] In summary, the method provided in this embodiment ensures that OOK symbols can be smoothly transmitted even when the number of valid OOK symbols to be transmitted is not an integer multiple of M by determining the value of TBS.

[1047] FIG65 shows a block diagram of a bit sequence preprocessing device provided by an exemplary embodiment of the present application. The bit sequence preprocessing device can be implemented as part of a network device, an AP, an Ambient IoT device, or a terminal device, and includes:

[1048] The receiving module 6510 is configured to receive OOK symbols corresponding to a second bit sequence having a length of a third number L'.

[1049] In some embodiments, the second bit sequence is obtained by the sending device after processing the first bit sequence when the first number L corresponding to the first bit sequence is not an integer multiple of the second number M.

[1050] The first number L is the number of bits in the first bit sequence. For example, assuming the first bit sequence is {1, 0, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0}, then L is 18.

[1051] In some embodiments, the first bit sequence is any one of the following:

[1052] The original bit sequence that does not need to be encoded;

[1053] The original bit sequence before encoding;

[1054] The coded bit sequence after encoding the original bit sequence;

[1055] A coded bit sequence obtained by performing at least one level of multi-level coding on the original bit sequence.

[1056] In some embodiments, the first bit sequence refers to the description in step 220 above.

[1057] Optionally, the first quantity L is smaller than the third quantity L'. Optionally, the first quantity L is larger than the third quantity L'.

[1058] The second number M is the number of OOK symbols transmitted in the preset duration. The preset duration is determined by the basic time domain unit in the cellular communication system or the WiFi system. In some embodiments, the preset duration is t OFDM symbols, and t OFDM symbols can transmit M OOK symbols. M is the number of OOK symbols transmitted in t OFDM symbols. The value of t is a positive integer. In the embodiment of the present application, M OOK symbols are transmitted in 1 OFDM symbol as an example.

[1059] In some embodiments, M may be agreed upon by a protocol, configured by a network device, or determined by a terminal device based on a preset mapping relationship.

[1060] In some embodiments, M has multiple candidate values, for example, M={1, 2, 4, 6, 8}.

[1061] The third number L' is the number of bits in the second bit sequence. For example, if the second bit sequence is {1, 0, 1, 0}, then L' is 4.

[1062] In some embodiments, the second bit sequence is divided into at least one sequence segment of length M for OOK modulation, obtaining M OOK symbols corresponding to each sequence segment. That is, the third number L' is an integer multiple of the second number M. For example, if the second bit sequence is {1, 0, 1, 0} and M = 2, the second bit sequence can be divided into two sequence segments of length 2, each of which is {1, 0} and {1, 0}.

[1063] It should be understood that when the first number L is not an integer multiple of the second number M, when the first bit sequence of length L is segmented, the first bit sequence of length L cannot be divided into multiple sequence segments of length second number M. That is, the length of the last sequence segment will be less than the second number M. In this case, OOK modulation cannot be performed on the last sequence segment. For example, assuming that the first bit sequence is {1,0,0,1,1,1,1,0,1,0,1}, then L=11; when M=4, the first bit sequence is segmented, and sequence segment 1 is {1,0,0,1}, sequence segment 2 is {1,1,1,0}, and sequence segment 3 is {1,0,1}.

[1064] In some embodiments, the above method for processing the first bit sequence may have multiple optional designs, and for details, refer to Optional Design 1 and Optional Design 2 in the above step 240.

[1065] In summary, the method provided in this embodiment, by receiving the OOK symbols corresponding to the second bit sequence of the third number L', can accurately receive valid OOK symbols to be transmitted even when the number of valid OOK symbols to be transmitted is not an integer multiple of M.

[1066] For optional design one (bit stuffing):

[1067] In some embodiments, the third number L' of second bit sequences is obtained by the sending device performing bit padding on the first bit sequence.

[1068] In some embodiments, when the first number L is not an integer multiple of the second number M, the transmitting device performs bit padding on the first bit sequence of the first number L, padding the first bit sequence of the first number L with a second bit sequence of the third number L'. The third number L' is an integer multiple of the second number M.

[1069] For example, assuming that the first bit sequence is {1, 0, 0, 1, 1, 1, 1, 0, 1, 0}, then L = 11; when M = 4, L is not an integer multiple of M, then the sending device performs bit padding on the first bit sequence to obtain a second bit sequence of {1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1}; at this time, L' = 12.

[1070] Optionally, when the first number L is smaller than the third number L', the sending device performs bit padding on the first bit sequence to obtain a second bit sequence with a length of the third number L'.

[1071] In some embodiments, the third number L' of second bit sequences is obtained by the transmitting device adding at least one padding bit to the end of the first bit sequence.

[1072] In some embodiments, the transmitting device divides the first bit sequence into a second number M to obtain multiple sequence segments. If the first number L is not an integer multiple of the second number M, the length of the last sequence segment obtained by dividing the first bit sequence will be less than the second number M. At least one padding bit is added to the last sequence segment obtained by dividing the first bit sequence so that the length of the last sequence segment obtained by dividing the first bit sequence is equal to M, thereby enabling OOK modulation.

[1073] In some embodiments, the at least one padding bit added to the end of the first bit sequence includes any one of the following:

[1074] A bit sequence whose values ​​are all 1;

[1075] A bit sequence whose values ​​are all 0;

[1076] A bit sequence whose values ​​are arranged according to a fixed pattern;

[1077] A bit sequence determined based on the second number M.

[1078] In some embodiments, the at least one padding bit added to the tail of the first bit sequence is specifically described in the above step 2411.

[1079] The receiving module 6510 is further configured to receive length indication information of at least one padding bit.

[1080] The length indication information is used to indicate the length of at least one padding bit, so that a receiving device can distinguish between information corresponding to the padding bit and information corresponding to the non-padding bit.

[1081] In some embodiments, the length indication information is sent separately by the transmitting device. That is, the length indication information and the multiple OOK symbols obtained after OOK modulation are sent separately. For example, as shown in FIG21 , the length indication information is sent separately from the M OOK symbols to indicate the length of at least one padding bit.

[1082] In some embodiments, the length indication information is sent by the transmitting device in multiple OOK symbols obtained after OOK modulation. Exemplarily, as shown in Figure 22, the length indication information is carried in M ​​OOK symbols obtained after OOK modulation, and is used to indicate the length of at least one padding bit. That is, the length indication bit sequence corresponding to the length indication information is a subset of the bit sequence corresponding to the M OOK symbols, or it can be understood that the length indication bit sequence corresponding to the length indication information is a subsequence of the bit sequence corresponding to the M OOK symbols. Optionally, the position of the length indication bit sequence corresponding to the length indication information in the bit sequence corresponding to the M OOK symbols is fixed. Optionally, the position of the length indication bit sequence corresponding to the length indication information in the bit sequence corresponding to the M OOK symbols can be agreed upon by the protocol, configured by the network device, or configured by the terminal device.

[1083] In some embodiments, M has multiple candidate values, such as M = {1, 2, 4, 6, 8}. Optionally, the length of the length indication bit sequence corresponding to the length indication information is determined based on the value of M during communication. For example, the length of the length indication bit sequence corresponding to the length indication information is Optionally, the length of the length indication bit sequence corresponding to the length indication information is determined based on the maximum value among the candidate values ​​of M. For example, the length of the length indication bit sequence corresponding to the length indication information is Represents rounding up.

[1084] The receiving module 6510 is further configured to receive a first indication bit sequence.

[1085] In some embodiments, the first indication bit sequence is specifically described in step 1021 above.

[1086] The receiving module 6510 is further configured to receive a second indication bit sequence.

[1087] In some embodiments, the second indication bit sequence is specifically described in step 1022 above.

[1088] The receiving module 6510 is further configured to receive a first bitmap having a length of a second number M.

[1089] In some embodiments, the first bitmap is specifically described in step 1023 above.

[1090] The receiving module 6510 is further configured to receive a target sequence.

[1091] In some embodiments, the target sequence is used to indicate the length of at least one padding bit, and the target sequence is obtained by mapping bits in the second bit sequence to the first value when the sending device performs OOK modulation on the second bit sequence into OOK symbols.

[1092] Optionally, the target sequence is obtained by mapping bits with a value of 1 in the second bit sequence when the sending device performs OOK modulation on the second bit sequence into OOK symbols.

[1093] Optionally, the target sequence is obtained by mapping bits with a value of 0 in the second bit sequence when the sending device performs OOK modulation on the second bit sequence into OOK symbols.

[1094] In some embodiments, the target sequence is at least one of the following sequences:

[1095] PN sequence;

[1096] ZC sequence;

[1097] M sequence.

[1098] Optionally, the target sequence is a PN sequence obtained by mapping bits with a value of 1 in the second bit sequence when the transmitting device performs OOK modulation on the second bit sequence to obtain an OOK symbol. Alternatively, the target sequence is a ZC sequence obtained by mapping bits with a value of 1 in the second bit sequence when the transmitting device performs OOK modulation on the second bit sequence to obtain an OOK symbol. Alternatively, the target sequence is an M sequence obtained by mapping bits with a value of 1 in the second bit sequence when the transmitting device performs OOK modulation on the second bit sequence to obtain an OOK symbol.

[1099] Optionally, the target sequence is a PN sequence obtained by mapping bits with a value of 0 in the second bit sequence during the process of performing OOK modulation on the second bit sequence to obtain OOK symbols by the transmitting device. Alternatively, the target sequence is a ZC sequence obtained by mapping bits with a value of 0 in the second bit sequence during the process of performing OOK modulation on the second bit sequence to obtain OOK symbols by the transmitting device. Alternatively, the target sequence is an M sequence obtained by mapping bits with a value of 0 in the second bit sequence during the process of performing OOK modulation on the second bit sequence to obtain OOK symbols by the transmitting device.

[1100] In some embodiments, the target sequence is specifically described in step 1024 above.

[1101] In some embodiments, the target sequence may also be a target phase randomization sequence used by the transmitting device when performing phase randomization on the second bit sequence or intermediate data during the process of performing OOK modulation on the second bit sequence to convert it into OOK symbols. The intermediate data is intermediate process data generated during the OOK modulation of the second bit sequence.

[1102] In some embodiments, the target phase randomization sequence is used to indicate a length of at least one padding bit.

[1103] Optionally, the value of the target phase randomization sequence is used to indicate the length of at least one padding bit. That is, the length of the at least one padding bit is associated with the value of the target phase randomization sequence.

[1104] Optionally, the index of the target phase randomization sequence is used to indicate the length of at least one padding bit. For example, a mapping relationship exists between multiple target phase randomization sequences and the length of at least one padding bit. In some embodiments, this mapping relationship may be agreed upon by a protocol, configured by a network device, or configured by a terminal device.

[1105] In some embodiments, when a sequence segment corresponds to M OOK symbols, the length of the padding bits may be 1 to M-1. Therefore, there are at least M-1 corresponding target phase randomization sequences, and each of the M-1 target phase randomization sequences has a one-to-one mapping relationship with the length of at least one padding bit.

[1106] Optionally, for the mapping relationship between multiple target phase randomization sequences and the length of at least one padding bit, refer to Table 5 above.

[1107] To sum up, the method provided in this embodiment enables the receiving device to distinguish between the information corresponding to the padding bits and the information corresponding to the non-padding bits by receiving length indication information used to indicate the length of at least one padding bit, thereby ensuring that even if the number of valid OOK symbols to be transmitted is not an integer multiple of M, the receiving party can accurately parse the information corresponding to the valid OOK symbols through the length indication information.

[1108] For optional design 2 (bit selection):

[1109] In some embodiments, the second bit sequence of the third number L' is obtained by the sending device after performing bit selection on the first bit sequence.

[1110] In some embodiments, the sending device selects bits of the first bit sequence in at least two ways:

[1111] First bit selection: the first number L is less than the third number L';

[1112] In some embodiments, when the first number L is less than the third number L', the second bit sequence of the third number L' is obtained by the transmitting device after cyclically selecting the first bit sequence;

[1113] In the case that the first number L is smaller than the third number L′, the second bit sequence of the third number L′ is obtained by the transmitting device after cyclically selecting at least one repeated bit in the first bit sequence.

[1114] In some embodiments, when the first number L is less than the third number L' and the first number L is not an integer multiple of the second number M, the transmitting device cyclically selects at least one repeated bit in the first bit sequence, so that the first bit sequence having a length of the first number L is expanded to obtain a second bit sequence having a length of the third number L'. The bit sequence corresponding to the cyclically selected at least one repeated bit is a sequence subset in the first bit sequence, or it can be understood that the bit sequence corresponding to the cyclically selected at least one repeated bit is a subsequence in the first bit sequence.

[1115] For example, as shown in FIG30 , assuming the first bit sequence is {1, 0, 0, 1, 1, 1, 1, 0, 1, 0}, L = 11. When M = 4, L is not an integer multiple of M. The transmitting device then cyclically selects the first bit sequence, resulting in a second bit sequence of {1, 0, 0, 1, 1, 1, 1, 0, 1, 0}. In this case, L' = 12. The repeatedly selected bit sequence {1} is a subset of the first bit sequence.

[1116] Optionally, the length of the bit sequence corresponding to the at least one repeated bit cyclically selected in the first bit sequence is determined based on the second number M.

[1117] In some embodiments, M has multiple candidate values, for example, M = {1, 2, 4, 6, 8}. Optionally, the length of the bit sequence corresponding to the at least one repeated bit cyclically selected in the first bit sequence is determined based on the value of M during communication. Optionally, the length of the bit sequence corresponding to the at least one repeated bit cyclically selected in the first bit sequence is determined based on the maximum value among the candidate values ​​of M.

[1118] The receiving module 6510 is further configured to receive length indication information of at least one repeated bit.

[1119] The length indication information is used to indicate the length of at least one repeated bit, so that a receiving device can distinguish between information corresponding to the repeated bit and information corresponding to the non-repeated bit.

[1120] In some embodiments, the length indication information is sent separately by the transmitting device, that is, the length indication information and the multiple OOK symbols obtained after OOK modulation are sent separately.

[1121] In some embodiments, the length indication information is sent by the transmitting device in multiple OOK symbols obtained after OOK modulation. That is, the length indication bit sequence corresponding to the length indication information is a subset of the bit sequence corresponding to the multiple OOK symbols, or it can be understood that the length indication bit sequence corresponding to the length indication information is a subsequence of the bit sequence corresponding to the multiple OOK symbols. Optionally, the position of the length indication bit sequence corresponding to the length indication information in the bit sequence corresponding to the multiple OOK symbols is fixed. Optionally, the position of the length indication bit sequence corresponding to the length indication information in the bit sequence corresponding to the multiple OOK symbols can be agreed upon by the protocol, configured by the network device, or configured by the terminal device.

[1122] In some embodiments, M has multiple candidate values, for example, M = {1, 2, 4, 6, 8}. Optionally, the length of the length indication bit sequence corresponding to the length indication information is determined based on the value of M during communication. For example, the length of the length indication bit sequence corresponding to the length indication information. Optionally, the length of the length indication bit sequence corresponding to the length indication information is determined based on the maximum value among the candidate values ​​of M. For example, the length of the length indication bit sequence corresponding to the length indication information. Represents rounding up.

[1123] The receiving module 6510 is further configured to receive a third indication bit sequence.

[1124] In some embodiments, the third indication bit sequence refers to the introduction in the above step 1121.

[1125] The receiving module 6510 is further configured to receive a fourth indication bit sequence.

[1126] In some embodiments, the fourth indication bit sequence is described in the above step 1122.

[1127] The receiving module 6510 is further configured to receive a second bitmap having a length of a second number M.

[1128] In some embodiments, the second bitmap is described in step 1123 above.

[1129] The receiving module 6510 is further configured to receive a target sequence.

[1130] In some embodiments, the target sequence is used to indicate the length of at least one repeated bit, and the target sequence is obtained by mapping bits in the second bit sequence to the first value when the sending device performs OOK modulation on the second bit sequence into OOK symbols.

[1131] Optionally, the target sequence is obtained by mapping bits with a value of 1 in the second bit sequence when the sending device performs OOK modulation on the second bit sequence into OOK symbols.

[1132] Optionally, the target sequence is obtained by mapping bits with a value of 0 in the second bit sequence when the sending device performs OOK modulation on the second bit sequence into OOK symbols.

[1133] In some embodiments, the target sequence is at least one of the following sequences:

[1134] PN sequence;

[1135] ZC sequence;

[1136] M sequence.

[1137] Optionally, the target sequence is a PN sequence obtained by mapping bits with a value of 1 in the second bit sequence during OOK modulation of the second bit sequence into OOK symbols. Alternatively, the target sequence is a ZC sequence obtained by mapping bits with a value of 1 in the second bit sequence during OOK modulation of the second bit sequence into OOK symbols. Alternatively, the target sequence is an M sequence obtained by mapping bits with a value of 1 in the second bit sequence during OOK modulation of the second bit sequence into OOK symbols.

[1138] Optionally, the target sequence is a PN sequence obtained by mapping bits with a value of 0 in the second bit sequence during OOK modulation of the second bit sequence into OOK symbols. Alternatively, the target sequence is a ZC sequence obtained by mapping bits with a value of 0 in the second bit sequence during OOK modulation of the second bit sequence into OOK symbols. Alternatively, the target sequence is an M sequence obtained by mapping bits with a value of 0 in the second bit sequence during OOK modulation of the second bit sequence into OOK symbols.

[1139] In some embodiments, the target sequence is as described in step 1124 above.

[1140] In some embodiments, the target sequence may also be a target phase randomization sequence used when performing phase randomization on the second bit sequence or intermediate data during the process of performing OOK modulation on the second bit sequence to convert it into OOK symbols. The intermediate data is intermediate process data generated during the OOK modulation of the second bit sequence.

[1141] In some embodiments, the target phase randomization sequence is used to indicate the length of at least one repetition bit.

[1142] Optionally, the value of the target phase randomization sequence is used to indicate the length of at least one repeated bit. That is, the length of the at least one repeated bit is associated with the value of the target phase randomization sequence.

[1143] Optionally, the index of the target phase randomization sequence is used to indicate the length of at least one repeated bit. For example, a mapping relationship exists between multiple target phase randomization sequences and the length of at least one repeated bit. In some embodiments, the mapping relationship may be agreed upon by a protocol, configured by a network device, or configured by a terminal device.

[1144] In some embodiments, when a sequence segment corresponds to M OOK symbols, the length of the repetition bit may be 1 to M-1. Therefore, there are at least M-1 corresponding target phase randomization sequences, and each of the M-1 target phase randomization sequences has a one-to-one mapping relationship with the length of at least one repetition bit.

[1145] Optionally, for the mapping relationship between multiple target phase randomization sequences and the length of at least one repetition bit, refer to Table 9 above.

[1146] To sum up, the method provided in this embodiment enables the receiving device to distinguish between the information corresponding to the repeated bits and the information corresponding to the non-repeated bits by receiving length indication information used to indicate the length of at least one repeated bit, thereby ensuring that even if the number of valid OOK symbols to be transmitted is not an integer multiple of M, the length indication information can still be used to enable the receiving device to accurately parse the information corresponding to the valid OOK symbols.

[1147] Second bit selection: the first number L is greater than the third number L';

[1148] In some embodiments, when the first number L is greater than the third number L', the second bit sequence of the third number L' is obtained by the sending device after truncating the first bit sequence.

[1149] In some embodiments, when the first number L is greater than the third number L', the transmitting device truncates and selects a segment of a bit sequence from the first bit sequence as a second bit sequence of length L'. The truncated and selected bit sequence is a subset of the first bit sequence, or in other words, the truncated and selected bit sequence is a subsequence of the first bit sequence.

[1150] For example, as shown in FIG37 , assuming the first bit sequence is {1, 0, 0, 1, 1, 1, 1, 0, 1, 0}, L = 11. If M = 4 and L is not an integer multiple of M, the transmitting device truncates the first bit sequence to obtain a second bit sequence of {1, 0, 0, 1, 1, 1, 0}. In this case, L' = 8. The second bit sequence obtained by truncation is a subset of the first bit sequence.

[1151] Optionally, the length of the second bit sequence selected by truncating the first bit sequence is determined based on the second number M.

[1152] In some embodiments, M has multiple candidate values, for example, M = {1, 2, 4, 6, 8}. Optionally, the length of the second bit sequence selected by truncating the first bit sequence is determined based on the value of M during communication. Optionally, the length of the second bit sequence selected by truncating the first bit sequence is determined based on the maximum value among the candidate values ​​of M.

[1153] In some embodiments, the apparatus further comprises:

[1154] The sending module 6520 is used to send indication information for determining a selection starting point for bit selection.

[1155] In some embodiments, the indication information is used to indicate a starting point for selecting bits of the first bit sequence by the sending device.

[1156] In some embodiments, the indication information is used to instruct the sending device to select a starting point for cyclically selecting the first bit sequence. For example, the indication information is used to instruct the sending device to use a target bit position of the first bit sequence as the starting point for cyclically selecting the first bit sequence.

[1157] In some embodiments, the indication information is used to instruct the sending device to select a starting point for truncating the first bit sequence. For example, the indication information is used to instruct the sending device to use the sequence starting point of the first bit sequence as the starting point for truncating the first bit sequence.

[1158] In summary, the method provided in this embodiment enables the sending device to perform bit selection on the first bit sequence based on an accurate selection starting point by sending indication information for determining the selection starting point of bit selection.

[1159] The sending module 6520 is further used to send indication information indicating the second quantity M.

[1160] The second number M is the number of OOK symbols transmitted in the preset duration. The preset duration is determined by the basic time domain unit in the cellular communication system or the WiFi system. In some embodiments, the preset duration is t OFDM symbols, and t OFDM symbols can transmit M OOK symbols. M is the number of OOK symbols transmitted in t OFDM symbols. The value of t is a positive integer. In the embodiment of the present application, M OOK symbols are transmitted in 1 OFDM symbol as an example.

[1161] In some embodiments, M has multiple candidate values, for example, M={1, 2, 4, 6, 8}.

[1162] In some embodiments, the receiving device sends, to the sending device, indication information corresponding to a target value of the second number M. In some embodiments, the receiving device sends, to the sending device, indication information corresponding to some candidate values ​​of the second number M. In some embodiments, the receiving device sends, to the sending device, indication information corresponding to all candidate values ​​of the second number M.

[1163] To sum up, the method provided in this embodiment enables the sending device to process the first bit sequence based on the indication information of the second number M when the first number L is not an integer multiple of the second number M by sending indication information used to indicate the second number M.

[1164] FIG66 shows a block diagram of a device for receiving OOK symbols according to an exemplary embodiment of the present application. The device can be implemented as part of a network device, an AP, an Ambient IoT device, or a terminal device, and includes:

[1165] The receiving module 6610 is configured to receive at least one set of OOK symbol sequences.

[1166] In some embodiments, each of the at least one set of OOK symbol sequences includes a second number M of OOK symbols.

[1167] The second number M is the number of OOK symbols transmitted in the preset duration. The preset duration is determined by the basic time domain unit in the cellular communication system or the WiFi system. In some embodiments, the preset duration is t OFDM symbols, and t OFDM symbols can transmit M OOK symbols. M is the number of OOK symbols transmitted in t OFDM symbols. The value of t is a positive integer. In the embodiment of the present application, M OOK symbols are transmitted in 1 OFDM symbol as an example.

[1168] In some embodiments, M may be agreed upon by a protocol, configured by a network device, or determined by a terminal device based on a preset mapping relationship.

[1169] In some embodiments, M has multiple candidate values, for example, M={1, 2, 4, 6, 8}.

[1170] In some embodiments, at least one set of OOK symbol sequences corresponds to a first bit sequence of length L, which is a first number.

[1171] The first number L is the number of bits in the first bit sequence. For example, assuming the first bit sequence is {1, 0, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0}, then L is 18.

[1172] In some embodiments, the first bit sequence is any one of the following:

[1173] The original bit sequence that does not need to be encoded;

[1174] The original bit sequence before encoding;

[1175] The coded bit sequence after encoding the original bit sequence;

[1176] A coded bit sequence obtained by performing at least one level of multi-level coding on the original bit sequence.

[1177] In some embodiments, the first bit sequence is specifically described in step 220 above.

[1178] In some embodiments, the last group of OOK symbol sequences in at least one group of OOK symbol sequences includes a third type of symbol, and the third type of symbol is an OOK symbol different from the first type of symbol and the second type of symbol, the first type of symbol corresponds to a bit with a first value, and the second type of symbol corresponds to a bit with a second value. Optionally, the third type of symbol is obtained after OOK modulation based on a bit sequence with a third value. It should be understood that the time domain length corresponding to each first type symbol, second type symbol and third type symbol is the same. Or it can be understood that the time domain length corresponding to the bit of the first value and the time domain length corresponding to the bit seque...

Claims

1. A method for preprocessing a bit sequence, characterized in that: The method is performed by a sending device, and includes: Obtain a first bit sequence having a length of a first number L; When the first number L is not an integer multiple of the second number M, the first bit sequence is processed into a second bit sequence having a length of a third number L'; The second bit sequence is used to be divided into at least one sequence segment with a length of a second number M for OOK modulation to obtain M OOK symbols corresponding to each of the sequence segments.

2. The method according to claim 1, characterized in that The processing of the first bit sequence into a second bit sequence having a length of a third number L' comprises: The first bit sequence is bit-stuffed to obtain a second bit sequence having a length of a third number L'.

3. The method according to claim 2, characterized in that The performing bit padding on the first bit sequence to obtain a second bit sequence having a length of a third number L' includes: At least one padding bit is added to the end of the first bit sequence to obtain a second bit sequence with a length of a third number L'.

4. The method according to claim 3, characterized in that The at least one padding bit includes any one of the following: A bit sequence whose values ​​are all 1; A bit sequence whose values ​​are all 0; A bit sequence whose values ​​are arranged according to a fixed rule, wherein the fixed rule includes at least one bit whose value is 1 and at least one bit whose value is 0; A bit sequence determined based on the second number M.

5. The method according to any one of claims 1 to 4, characterized in that: The first bit sequence is any one of the following: The original bit sequence that does not need to be encoded; The original bit sequence before encoding; A coded bit sequence after encoding the original bit sequence; A coded bit sequence obtained by performing at least one level of multi-level coding on an original bit sequence.

6. The method according to any one of claims 3 to 5, characterized in that: The method further comprises: Transmitting the OOK symbol corresponding to the at least one padding bit; or, The OOK symbol corresponding to the at least one padding bit is transmitted, and the OOK symbol corresponding to the at least one padding bit is used to determine the CP; or, Puncturing the OOK symbol corresponding to each padding bit; or, The OOK symbol corresponding to each padding bit is punctured, and the OOK symbol corresponding to each padding bit is not used for determining the CP.

7. The method according to any one of claims 3 to 5, characterized in that: The method further comprises: Sending length indication information of the at least one padding bit.

8. The method according to claim 7, characterized in that The sending the length indication information of the at least one padding bit includes: Sending a first indication bit sequence, where the value of the first indication bit sequence is equal to the length of the at least one padding bit; or, Sending a second indication bit sequence, where a value of the second indication bit sequence is in a mapping relationship with a length of the at least one padding bit; or, A first bitmap having a length of a second number M is sent, wherein the number of bits in the first bitmap having a first value is used to indicate the length of the at least one padding bit.

9. The method according to claim 8, characterized in that The position of the bit of the first value in the first bit map is associated with the position of the at least one padding bit in the second bit sequence.

10. The method according to claim 7, characterized in that The sending the length indication information of the at least one padding bit includes: In a process of performing OOK modulation on the second bit sequence to obtain an OOK symbol, mapping bits in the second bit sequence whose values ​​are the first values ​​to a target sequence, where the target sequence is used to indicate a length of the at least one padding bit; Send the OOK symbol corresponding to the second bit sequence.

11. The method according to claim 10, characterized in that The value of the target sequence is used to indicate the length of the at least one padding bit; or, The index of the target sequence is used to indicate the length of the at least one padding bit; or, The cyclic shift value corresponding to the target sequence is used to indicate the length of the at least one padding bit.

12. The method according to claim 11, characterized in that The target sequence is at least one of the following sequences: PN sequence; ZC sequence; M-sequence.

13. The method according to claim 1, characterized in that The processing of the first bit sequence into a second bit sequence having a length of a third number L' comprises: Perform bit selection on the first bit sequence to obtain a second bit sequence with a length of a third number L'.

14. The method according to claim 13, characterized in that The performing bit selection on the first bit sequence to obtain a second bit sequence having a length of a third number L' comprises: When the first number L is less than the third number L', the first bit sequence is cyclically selected to obtain a second bit sequence having a length of the third number L'; and / or, When the first number L is greater than the third number L', the first bit sequence is truncated to obtain a second bit sequence with a length of the third number L'.

15. The method according to claim 14, characterized in that The step of cyclically selecting the first bit sequence to obtain a second bit sequence having a length of the third number L' when the first number L is less than the third number L' comprises: When the first number L is smaller than the third number L′, at least one repeated bit is cyclically selected from the first bit sequence to obtain a second bit sequence having a length of the third number L′.

16. The method according to claim 15, characterized in that The method further comprises: Transmitting an OOK symbol corresponding to at least one repeated bit; or, The OOK symbol corresponding to the at least one repeated bit is transmitted, and the OOK symbol corresponding to the at least one repeated bit is used for determining the CP; or, Puncturing the OOK symbol corresponding to each repeated bit; or, Puncturing is performed on the OOK symbol corresponding to each repeated bit, and the OOK symbol corresponding to each repeated bit is not used for determining the CP.

17. The method according to claim 16, characterized in that The method further comprises: Sending length indication information of the at least one repeated bit.

18. The method according to claim 17, characterized in that The sending the length indication information of the at least one repeated bit includes: Sending a third indication bit sequence, where the value of the third indication bit sequence is equal to the length of the at least one repeated bit; or, Sending a fourth indication bit sequence, where a value of the fourth indication bit sequence is in a mapping relationship with the length of the at least one repeated bit; or, A second bitmap having a second number M in length is sent, wherein the number of bits in the second bitmap having the first value is used to indicate the length of the at least one repeated bit.

19. The method according to claim 18, characterized in that The position of the bit of the first value in the second bit map is associated with the position of the at least one repeated bit in the second bit sequence.

20. The method according to claim 17, characterized in that The sending the length indication information of the at least one repeated bit includes: In a process of performing OOK modulation on the second bit sequence to obtain an OOK symbol, mapping bits in the second bit sequence whose values ​​are the first values ​​to a target sequence, where the target sequence is used to indicate a length of the at least one repeated bit; Send the OOK symbol corresponding to the second bit sequence.

21. The method according to claim 20, characterized in that The value of the target sequence is used to indicate the length of the at least one repeated bit; or, The index of the target sequence is used to indicate the length of the at least one repeated bit; or, The cyclic shift value corresponding to the target sequence is used to indicate the length of the at least one repeated bit.

22. The method according to claim 21, characterized in that The target sequence is at least one of the following sequences: PN sequence; ZC sequence; M-sequence.

23. The method according to any one of claims 13 to 22, characterized in that: The method further comprises: A selection starting point for the bit selection is determined.

24. The method according to claim 23, characterized in that The determining the selection starting point of the bit selection comprises: Determining a selection starting point of the bit selection based on indication information of the network device; or, Based on the agreed rules of the communication protocol, a selection starting point of the bit selection is determined.

25. A method for generating an OOK symbol, characterized in that: The method is performed by a sending device, and includes: Obtain a first bit sequence having a length of a first number L; Divide the first bit sequence into at least one sequence segment according to a second number M to perform OOK modulation, and obtain an OOK symbol sequence corresponding to each sequence segment, wherein the OOK symbol sequence includes a first type of symbol and / or a second type of symbol, the first type of symbol corresponds to a bit having a first value, and the second type of symbol corresponds to a bit having a second value; When the number of bits in the last sequence segment is less than the second number M, adding a third type of symbol to the OOK symbol sequence corresponding to the last sequence segment, so that the OOK symbol sequence corresponding to the last sequence segment includes at least M OOK symbols; The third type of symbol is an OOK symbol different from the first type of symbol and the second type of symbol.

26. A method for sending OOK symbols, characterized in that: The method is performed by a sending device, and includes: Sending at least one set of OOK symbol sequences, each set of OOK symbol sequences including a second number M of OOK symbols; Among them, the at least one group of OOK symbol sequences corresponds to the first bit sequence, the last group of OOK symbol sequences in the at least one group of OOK symbol sequences includes a third type of symbols, the third type of symbols are OOK symbols different from the first type of symbols and the second type of symbols, the first type of symbols correspond to bits having a first value, and the second type of symbols correspond to bits having a second value.

27. A method for determining a TBS value, characterized in that: The method is performed by a sending device, and includes: Determine that the TBS value is a value related to a second number M, where the second number M is the number of OOK symbols transmitted within a preset time length, and the preset time length is determined by a basic time domain unit in a cellular communication system or a WIFI system.

28. The method according to claim 27, characterized in that The step of determining that the TBS value is a value related to the second number M includes: Determine the TBS value based on the first TBS value mapping relationship; Among them, the candidate TBS values ​​in the first TBS value mapping relationship are all the values ​​related to the second number M.

29. The method according to claim 27, characterized in that The step of determining that the TBS value is a value related to the second number M includes: Determine the TBS value based on the second TBS value mapping relationship, the TBS value is greater than or equal to the first number L, and the TBS value is a minimum integer multiple of the second number M, and the first number L is the length of the first bit sequence to be transmitted; Among them, not all candidate TBS values ​​in the second TBS value mapping relationship are the values ​​related to the second number M.

30. The method according to claim 27, characterized in that The step of determining that the TBS value is a value related to the second number M includes: The TBS value is determined based on a third TBS value mapping relationship, the TBS value is greater than or equal to a first number L, and the TBS value is a minimum integer multiple of a fourth number, the first number L is a length of a first bit sequence to be transmitted, the fourth number is a quotient of a second number M and a fifth number P, and the fifth number P is related to a coding method adopted by the first bit sequence; Among them, not all candidate TBS values ​​in the third TBS value mapping relationship are the values ​​related to the second number M.

31. The method according to any one of claims 27 to 30, characterized in that: The numerical value related to the second quantity M includes at least one of the following: an integer multiple of the second number M; An integer multiple of one half of the second number M.

32. The method according to any one of claims 29 to 31, characterized in that: Different second numbers M correspond to the same TBS value mapping relationship; or, A part of different second quantities M corresponds to the same TBS value mapping relationship, and another part of different second quantities M corresponds to different TBS value mapping relationships; or, Different second quantities M correspond to different TBS value mapping relationships.

33. A method for preprocessing a bit sequence, characterized in that: The method is performed by a receiving device, and includes: receiving an OOK symbol corresponding to a second bit sequence having a third number L' in length; The second bit sequence is obtained after the sending device processes the first bit sequence when the first number L corresponding to the first bit sequence is not an integer multiple of the second number M. The second bit sequence is used to divide into at least one sequence segment with a length of the second number M for OOK modulation to obtain M OOK symbols corresponding to each of the sequence segments.

34. The method according to claim 33, characterized in that The third number L' of second bit sequences is obtained by the sending device after performing bit padding on the first bit sequence.

35. The method according to claim 34, characterized in that The third number L' of second bit sequences is obtained by the sending device adding at least one padding bit to the end of the first bit sequence.

36. The method according to claim 35, characterized in that The first bit sequence is any one of the following: The original bit sequence that does not need to be encoded; The original bit sequence before encoding; A coded bit sequence after encoding the original bit sequence; A coded bit sequence obtained by performing at least one level of multi-level coding on an original bit sequence.

37. The method according to claim 35, characterized in that The at least one padding bit includes any one of the following: A bit sequence whose values ​​are all 1; A bit sequence whose values ​​are all 0; A bit sequence whose values ​​are arranged according to a fixed rule, wherein the fixed rule includes at least one bit whose value is 1 and at least one bit whose value is 0; A bit sequence determined based on the second number M.

38. The method according to any one of claims 35 to 37, characterized in that: The method further comprises: Receive length indication information of the at least one padding bit.

39. The method according to claim 38, characterized in that The receiving the length indication information of the at least one padding bit includes: receiving a first indication bit sequence, wherein a value of the first indication bit sequence is equal to a length of the at least one padding bit; or, receiving a second indication bit sequence, where a value of the second indication bit sequence is in a mapping relationship with a length of the at least one padding bit; or, A first bitmap having a length of a second number M is received, wherein the number of bits in the first bitmap having a first value is used to indicate the length of the at least one padding bit.

40. The method according to claim 39, characterized in that The position of the bit of the first value in the first bit map is associated with the position of the at least one padding bit in the second bit sequence.

41. The method according to claim 38, characterized in that The receiving the length indication information of the at least one padding bit includes: A target sequence is received, where the target sequence is used to indicate the length of the at least one padding bit, and the target sequence is obtained by mapping bits in the second bit sequence that have a value of the first value when the sending device performs OOK modulation on the second bit sequence into OOK symbols.

42. The method according to claim 41, characterized in that The value of the target sequence is used to indicate the length of the at least one padding bit; or, The index of the target sequence is used to indicate the length of the at least one padding bit; or, The cyclic shift value corresponding to the target sequence is used to indicate the length of the at least one padding bit.

43. The method according to claim 42, characterized in that The target sequence is at least one of the following sequences: PN sequence; ZC sequence; M-sequence.

44. The method according to claim 33, characterized in that The third number L' of second bit sequences is obtained by the sending device after performing bit selection on the first bit sequence.

45. The method according to claim 44, characterized in that In the case where the first number L is less than the third number L', the second bit sequence of the third number L' is obtained by the sending device after cyclically selecting the first bit sequence; and / or, In the case that the first number L is greater than the third number L′, the second bit sequence of the third number L′ is obtained by the sending device after truncating the first bit sequence.

46. ​​The method according to claim 45, characterized in that In the case that the first number L is smaller than the third number L′, the second bit sequence of the third number L′ is obtained by the sending device after cyclically selecting at least one repeated bit in the first bit sequence.

47. The method according to claim 46, characterized in that The method further comprises: Receive length indication information of the at least one repetition bit.

48. The method according to claim 47, characterized in that The receiving the length indication information of the at least one repeated bit includes: receiving a third indication bit sequence, wherein the value of the third indication bit sequence is equal to the length of the at least one repeated bit; or, receiving a fourth indication bit sequence, where a value of the fourth indication bit sequence is in a mapping relationship with a length of the at least one repeated bit; or, A second bitmap having a second number M of received length is provided, wherein the number of bits in the second bitmap having a first value is used to indicate the length of the at least one repeated bit.

49. The method according to claim 48, characterized in that The position of the bit of the first value in the second bit map is associated with the position of the at least one repeated bit in the second bit sequence.

50. The method of claim 47, wherein: The receiving the length indication information of the at least one repeated bit includes: A target sequence is received, where the target sequence is used to indicate the length of the at least one repeated bit, and the target sequence is obtained by mapping bits in the second bit sequence that have a value of the first value when the sending device performs OOK modulation on the second bit sequence into OOK symbols.

51. The method according to claim 50, characterized in that The value of the target sequence is used to indicate the length of the at least one repeated bit; or, The index of the target sequence is used to indicate the length of the at least one repeated bit; or, The cyclic shift value corresponding to the target sequence is used to indicate the length of the at least one repeated bit.

52. The method according to claim 51, characterized in that The target sequence is at least one of the following sequences: PN sequence; ZC sequence; M-sequence.

53. The method according to any one of claims 44 to 52, characterized in that The method further comprises: Send indication information for determining a selection starting point for the bit selection.

54. The method according to any one of claims 33 to 53, characterized in that The method further comprises: Send indication information used to indicate the second number M.

55. A method for receiving OOK symbols, characterized in that: The method is performed by a receiving device, and includes: receiving at least one set of OOK symbol sequences, each set of OOK symbol sequences comprising a second number M of OOK symbols; Among them, the at least one group of OOK symbol sequences corresponds to the first bit sequence, the last group of OOK symbol sequences in the at least one group of OOK symbol sequences includes a third type of symbols, the third type of symbols are OOK symbols different from the first type of symbols and the second type of symbols, the first type of symbols correspond to bits having a first value, and the second type of symbols correspond to bits having a second value.

56. A method for determining a TBS value, characterized in that: The method is performed by a receiving device, and includes: Send a TBS mapping relationship, where the TBS mapping relationship is used to provide a sending device with a TBS value that is related to a second quantity M, where the second quantity M is the number of OOK symbols transmitted within a preset time length, and the preset time length is determined by a basic time domain unit in a cellular communication system or a WIFI system.

57. The method according to claim 56, characterized in that The TBS mapping relationship includes a first TBS value mapping relationship, and the candidate TBS values ​​in the first TBS value mapping relationship are all values ​​related to the second number M.

58. The method according to claim 56, characterized in that The TBS mapping relationship also includes a second TBS value mapping relationship or a third TBS value mapping relationship, and the candidate TBS values ​​in the second TBS value mapping relationship and the candidate TBS values ​​in the third TBS value mapping relationship are not all values ​​related to the second number M.

59. The method according to any one of claims 56 to 58, characterized in that The numerical value related to the second quantity M includes at least one of the following: an integer multiple of the second number M; An integer multiple of one half of the second number M.

60. The method according to any one of claims 56 to 59, characterized in that: Different second numbers M correspond to the same TBS value mapping relationship; or, A part of different second quantities M corresponds to the same TBS value mapping relationship, and another part of different second quantities M corresponds to different TBS value mapping relationships; or, Different second quantities M correspond to different TBS value mapping relationships.

61. A bit sequence preprocessing device, characterized in that: The device comprises: An acquisition module, configured to acquire a first bit sequence having a length of a first number L; a processing module, configured to process the first bit sequence into a second bit sequence having a length of a third number L' when the first number L is not an integer multiple of the second number M; The second bit sequence is used to be divided into at least one sequence segment with a length of a second number M for OOK modulation to obtain M OOK symbols corresponding to each of the sequence segments.

62. A device for generating an OOK symbol, characterized in that: The device comprises: An acquisition module, configured to acquire a first bit sequence having a length of a first number L; a modulation module, configured to divide the first bit sequence into at least one sequence segment according to a second number M for OOK modulation, to obtain an OOK symbol sequence corresponding to each sequence segment, wherein the OOK symbol sequence includes a first type of symbol and / or a second type of symbol, The first type of symbol corresponds to a bit having a first value, and the second type of symbol corresponds to a bit having a second value; an adding module, configured to add a third type of symbol to the OOK symbol sequence corresponding to the last sequence segment when the number of bits in the last sequence segment is less than the second number M, so that the OOK symbol sequence corresponding to the last sequence segment includes at least M OOK symbols; The third type of symbol is an OOK symbol different from the first type of symbol and the second type of symbol.

63. A device for transmitting OOK symbols, characterized in that: The device comprises: A sending module, configured to send at least one group of OOK symbol sequences, each group of OOK symbol sequences including a second number M of OOK symbols; Among them, the at least one group of OOK symbol sequences corresponds to the first bit sequence, the last group of OOK symbol sequences in the at least one group of OOK symbol sequences includes a third type of symbols, the third type of symbols are OOK symbols different from the first type of symbols and the second type of symbols, the first type of symbols correspond to bits having a first value, and the second type of symbols correspond to bits having a second value.

64. A device for determining a TBS value, characterized in that: The device comprises: A determination module is used to determine that the TBS value is a value related to a second number M, where the second number M is the number of OOK symbols transmitted within a preset time length, and the preset time length is determined by a basic time domain unit in a cellular communication system or a WIFI system.

65. A bit sequence preprocessing device, characterized in that: The device comprises: A receiving module, configured to receive an OOK symbol corresponding to a second bit sequence having a length of a third number L'; The second bit sequence is obtained after the sending device processes the first bit sequence when the first number L corresponding to the first bit sequence is not an integer multiple of the second number M. The second bit sequence is used to divide into at least one sequence segment with a length of the second number M for OOK modulation to obtain M OOK symbols corresponding to each of the sequence segments.

66. An OOK symbol receiving device, characterized in that: The device comprises: A receiving module, configured to receive at least one group of OOK symbol sequences, each group of OOK symbol sequences comprising a second number M of OOK symbols; Among them, the at least one group of OOK symbol sequences corresponds to the first bit sequence, the last group of OOK symbol sequences in the at least one group of OOK symbol sequences includes a third type of symbols, the third type of symbols are OOK symbols different from the first type of symbols and the second type of symbols, the first type of symbols correspond to bits having a first value, and the second type of symbols correspond to bits having a second value.

67. A device for determining a TBS value, characterized in that: The device comprises: A sending module is used to send a TBS mapping relationship, where the TBS mapping relationship is used to provide a sending device with a determination that a TBS value is a value related to a second quantity M, where the second quantity M is the number of OOK symbols transmitted within a preset time length, and the preset time length is determined by a basic time domain unit in a cellular communication system or a WIFI system.

68. A terminal, characterized in that: The terminal includes a processor; wherein: The processor is configured to obtain a first bit sequence having a length of a first number L; The processor is further configured to, when the first number L is not an integer multiple of the second number M, process the first bit sequence into a second bit sequence having a length of a third number L'; The second bit sequence is used to be divided into at least one sequence segment with a length of a second number M for OOK modulation to obtain M OOK symbols corresponding to each of the sequence segments.

69. A terminal, characterized in that: The terminal includes a processor; wherein: The processor is configured to obtain a first bit sequence having a length of a first number L; The processor is further configured to divide the first bit sequence into at least one sequence segment according to a second number M to perform OOK modulation, so as to obtain an OOK symbol sequence corresponding to each sequence segment, wherein the OOK symbol sequence includes a first type of symbol and / or a second type of symbol, wherein the first type of symbol corresponds to a bit having a first value, and the second type of symbol corresponds to a bit having a second value; The processor is further configured to, when the number of bits in the last sequence segment is less than the second number M, add a third type of symbol to the OOK symbol sequence corresponding to the last sequence segment, so that the OOK symbol sequence corresponding to the last sequence segment includes at least M OOK symbols; The third type of symbol is an OOK symbol different from the first type of symbol and the second type of symbol.

70. A terminal, characterized in that: The terminal includes a processor and a transmitter connected to the processor; wherein: The transmitter is configured to send at least one group of OOK symbol sequences, each group of OOK symbol sequences comprising a second number M of OOK symbols; Among them, the at least one group of OOK symbol sequences corresponds to the first bit sequence, the last group of OOK symbol sequences in the at least one group of OOK symbol sequences includes a third type of symbols, the third type of symbols are OOK symbols different from the first type of symbols and the second type of symbols, the first type of symbols correspond to bits having a first value, and the second type of symbols correspond to bits having a second value.

71. A terminal, characterized in that: The terminal includes a processor; wherein: The processor is used to determine that the TBS value is a value related to a second number M, where the second number M is the number of OOK symbols transmitted within a preset time length, and the preset time length is determined by a basic time domain unit in a cellular communication system or a WIFI system.

72. A network device, characterized in that: The network device comprises a processor and a receiver connected to the processor; wherein: The receiver is used to receive an OOK symbol corresponding to a second bit sequence having a length of a third number L'; The second bit sequence is obtained after the sending device processes the first bit sequence when the first number L corresponding to the first bit sequence is not an integer multiple of the second number M. The second bit sequence is used to divide into at least one sequence segment with a length of the second number M for OOK modulation to obtain M OOK symbols corresponding to each of the sequence segments.

73. A network device, characterized in that: The network device comprises a processor and a receiver connected to the processor; wherein: The receiver is configured to receive at least one set of OOK symbol sequences, each set of OOK symbol sequences comprising a second number M of OOK symbols; Among them, the at least one group of OOK symbol sequences corresponds to the first bit sequence, the last group of OOK symbol sequences in the at least one group of OOK symbol sequences includes a third type of symbols, the third type of symbols are OOK symbols different from the first type of symbols and the second type of symbols, the first type of symbols correspond to bits having a first value, and the second type of symbols correspond to bits having a second value.

74. A network device, characterized in that: The network device includes a processor and a transmitter connected to the processor; wherein: The transmitter is used to send a TBS mapping relationship, and the TBS mapping relationship is used to provide a sending device with a TBS value that is related to a second number M, where the second number M is the number of OOK symbols transmitted within a preset time length, and the preset time length is determined by a basic time domain unit in a cellular communication system or a WIFI system.

75. A computer-readable storage medium, characterized in that The storage medium stores a computer program, and the computer program is used to be executed by a processor to implement the bit sequence preprocessing method described in any one of claims 1 to 24, and / or the OOK symbol generation method described in claim 25, and / or the OOK symbol sending method described in claim 26, and / or the TBS value determination method described in any one of claims 27 to 32, and / or the bit sequence preprocessing method described in any one of claims 33 to 54, and / or the OOK symbol receiving method described in claim 55, and / or the TBS value determination method described in claims 56 to 60.

76. A chip, characterized in that: The chip includes a programmable logic circuit and / or a program instruction. When the chip runs on a terminal or a network device, it is used to implement the bit sequence preprocessing method described in any one of claims 1 to 24, and / or the OOK symbol generation method described in claim 25, and / or the OOK symbol sending method described in claim 26, and / or the TBS value determination method described in any one of claims 27 to 32, and / or the bit sequence preprocessing method described in any one of claims 33 to 54, and / or the OOK symbol receiving method described in claim 55, and / or the TBS value determination method described in claims 56 to 60.

77. A computer program product, characterized in that The computer program product includes computer instructions, which are stored in a computer-readable storage medium; the processor of the communication device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, so that the communication device implements the bit sequence preprocessing method described in any one of claims 1 to 24, and / or the OOK symbol generation method described in claim 25, and / or the OOK symbol sending method described in claim 26, and / or the TBS value determination method described in any one of claims 27 to 32, and / or the bit sequence preprocessing method described in any one of claims 33 to 54, and / or the OOK symbol receiving method described in claim 55, and / or the TBS value determination method described in claims 56 to 60.

78. A computer program, characterized in that The computer program is executed by a processor of a communication device to implement the bit sequence preprocessing method described in any one of claims 1 to 24, and / or the OOK symbol generation method described in claim 25, and / or the OOK symbol transmission method described in claim 26, and / or the TBS value determination method described in any one of claims 27 to 32, and / or the bit sequence preprocessing method described in any one of claims 33 to 54, and / or the OOK symbol receiving method described in claim 55, and / or the TBS value determination method described in claims 56 to 60.