Communication method and device
By using an identifier first sequence for data scrambling and descrambling in the passive IoT communication system, the problems of high scrambling complexity and high data misunderstanding risks in the prior art are solved, and lower complexity and higher data accuracy are achieved.
Patent Information
- Application Number
- CN202311531917.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-16
- Publication Date
- 2025-05-16
AI Technical Summary
In passive IoT communication systems, the prior art is difficult to reduce the complexity of scrambling, resulting in an increased risk of data misunderstanding.
By sending an identifier first sequence to the receiving end, the sending end can scramble the data sequence to be sent according to the sequence and send the scrambled sequence back to the receiving end. The receiver then uses the same first sequence to descramble to obtain the original data.
This method reduces the complexity of scrambling and descrambling, avoids data misunderstandings, and requires no additional storage space.
Smart Images

Figure CN120018116A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and more specifically, to a communication method and device. Background Art
[0002] In a passive Internet of Things (IoT) communication system, the transmitter can scramble the data to be transmitted at the physical layer. Different transmitters use different scrambling sequences during the scrambling process. In this way, the receiving end can descramble the received data according to the scrambling sequences of each transmitter. The receiving end can determine which transmitter the received data comes from, thereby avoiding data misunderstanding, that is, avoiding mistaking the data of one transmitter for the data of other transmitters. For example, the transmitter can scramble the bits of the data channel using a pseudo-random gold sequence. However, the gold sequence requires a lot of storage space and computing resources, and cannot be used for systems with low power consumption and complexity requirements.
[0003] Therefore, how to reduce the complexity of scrambling is an urgent problem to be solved. Summary of the invention
[0004] The present application provides a communication method and device, which can reduce the complexity of scrambling.
[0005] In a first aspect, a method is provided, which can be executed by a second device, or by a component (e.g., a processor, a chip, or a chip system) in the second device, or by a logic module or software that can implement all or part of the functions of the second device. The method includes: sending a first sequence to a first device, the first sequence is used to identify a second device, and the second device is the sender of the first sequence; receiving first information from the first device, the first information includes the first sequence, and the first information is used to confirm that the first device successfully receives the first sequence; scrambling a data sequence to be sent according to the first sequence to generate a second sequence; and sending the second sequence to the first device.
[0006] Through the above embodiments, the first sequence can be used as an identifier of the transmitting end in a random access scenario, and can also be used to scramble the data sequence to be sent, and the transmitting end does not need additional storage space to implement data scrambling. Therefore, the method provided in the embodiment of the present application reduces the complexity of scrambling, and can prevent the receiving end from misinterpreting the data as being sent by other transmitting ends.
[0007] In combination with the first aspect, in certain implementations of the first aspect, the data sequence to be sent includes an information sequence and a check sequence of the information sequence, the number of bits of the check sequence is N, and the second sequence includes the information sequence and a third sequence, N is a positive integer; wherein the third sequence is obtained by scrambling the check sequence according to N bits corresponding to the first sequence.
[0008] Through the above embodiment, the transmitting end can scramble only the check sequence to be sent according to the first sequence. Therefore, the scrambling complexity of the method provided in the embodiment of the present application is low, and it can prevent the receiving end from misinterpreting the data as being sent by other transmitting ends.
[0009] In combination with the first aspect, in certain implementations of the first aspect, the number of bits of the data sequence to be sent is N, where N is a positive integer; wherein the second sequence is obtained by scrambling the data sequence to be sent according to N bits corresponding to the first sequence.
[0010] Through the above embodiments, the transmitting end can perform all scrambling of the data sequence to be transmitted according to the first sequence, which complies with the data channel scrambling mechanism specified in the current protocol, and improves the applicability of the method of the embodiment of the present application. In addition, the method provided by the embodiment of the present application has a good scrambling effect, which can further prevent the receiving end from misinterpreting the data as being sent by other transmitting ends.
[0011] In combination with the first aspect, in certain implementations of the first aspect, the N bits corresponding to the first sequence include the first N bits of the first sequence, the last N bits of the first sequence, the first N bits of a sequence obtained by cascading multiple first sequences, or the last N bits of a sequence obtained by cascading multiple first sequences.
[0012] Through the above embodiment, the transmitting end can scramble all data sequences or all check sequences to be sent according to the first sequence. Therefore, the method provided by the embodiment of the present application has a good scrambling effect and can further prevent the receiving end from misinterpreting the data as being sent by other transmitting ends.
[0013] In combination with the first aspect, in certain implementations of the first aspect, the data sequence to be sent includes an information sequence and a check sequence of the information sequence, the number of bits of the first sequence is M, the number of bits of the check sequence is greater than or equal to M, and the second sequence includes the information sequence and a third sequence, M is a positive integer; wherein the third sequence is obtained by scrambling M bits in the check sequence based on M bits of the first sequence.
[0014] Through the above embodiment, the transmitting end can scramble some bits of the check sequence according to the first sequence, further reducing the complexity of scrambling and preventing the receiving end from misinterpreting data as being sent by other transmitting ends.
[0015] In combination with the first aspect, in certain implementations of the first aspect, the number of bits of the first sequence is M, wherein the second sequence is obtained by scrambling M subsequences according to the M bits of the first sequence, respectively, and the data sequence to be sent is divided into the M subsequences, wherein, when the mth bit in the M bits is 0, the bit of the mth subsequence in the M subsequences is inverted, and M is a positive integer, m=1,...,M.
[0016] Through the above embodiments, the transmitting end can perform all scrambling of the data sequence to be transmitted according to the first sequence, which complies with the data channel scrambling mechanism specified in the current protocol, and improves the applicability of the method of the embodiment of the present application. In addition, the method provided by the embodiment of the present application can quickly scramble the data sequence to be transmitted of various lengths, has a good scrambling effect, and can further prevent the receiving end from misinterpreting the data as being sent by other transmitting ends.
[0017] In a second aspect, a communication method is provided, which can be executed by a first device, or by a component (e.g., a processor, a chip, or a chip system) in the first device, or by a logic module or software that can implement all or part of the functions of the first device. The method includes: receiving a first sequence from a second device, the first sequence is used to identify the second device; sending first information to the second device, the first information includes the first sequence, the first information is used to confirm that the first device successfully receives the first sequence; receiving a second sequence from the second device; and descrambling the second sequence according to the first sequence to obtain a target data sequence.
[0018] Through the above embodiments, the first sequence can be used as an identifier of the transmitting end in a random access scenario, and can also be used to descramble the received data sequence, and the receiving end does not need additional storage space to achieve data descrambling. Therefore, the method provided in the embodiment of the present application reduces the complexity of descrambling, and can prevent the receiving end from misinterpreting the data as being sent by other transmitting ends.
[0019] In combination with the second aspect, in certain implementations of the second aspect, the target data sequence includes an information sequence and a check sequence of the information sequence, the number of bits of the check sequence is N, and the second sequence includes the information sequence and a third sequence, N is a positive integer; wherein the check sequence is obtained by descrambling the third sequence based on N bits corresponding to the first sequence.
[0020] Through the above embodiment, the receiving end can descramble the received sequence according to the first sequence to obtain the check sequence. Therefore, the descrambling complexity of the method provided in the embodiment of the present application is low, and it can prevent the receiving end from misinterpreting the data as being sent by other sending ends.
[0021] In combination with the second aspect, in certain implementations of the second aspect, the number of bits of the target data sequence is N, where N is a positive integer; wherein the target data sequence is obtained by descrambling the second sequence according to N bits corresponding to the first sequence.
[0022] Through the above embodiment, the receiving end can descramble the received sequence according to the first sequence to obtain the target data sequence. Therefore, the method provided by the embodiment of the present application has a good descrambling effect and can further prevent the receiving end from misinterpreting the data as being sent by other sending ends.
[0023] In combination with the second aspect, in certain implementations of the second aspect, the N bits corresponding to the first sequence include the first N bits of the first sequence, the last N bits of the first sequence, the first N bits of a sequence obtained by concatenating multiple first sequences, or the last N bits of a sequence obtained by concatenating multiple first sequences.
[0024] Through the above embodiments, the receiving end can descramble the received sequence according to the first sequence to obtain the target data sequence or the check sequence. Therefore, the method provided in the embodiment of the present application has a good descrambling effect, which can further prevent the receiving end from misinterpreting the data as being sent by other sending ends.
[0025] In combination with the second aspect, in certain implementations of the second aspect, the target data sequence includes an information sequence and a check sequence of the information sequence, the number of bits of the first sequence is M, the number of bits of the check sequence is greater than or equal to M, and the second sequence includes the information sequence and a third sequence, M is a positive integer; wherein the check sequence is obtained by descrambling M bits in the third sequence based on M bits of the first sequence.
[0026] Through the above embodiments, the receiving end can descramble the received sequence according to the first sequence to obtain the check sequence. The method provided by the embodiment of the present application has low descrambling complexity and can prevent the receiving end from misinterpreting data as being sent by other sending ends.
[0027] In combination with the second aspect, in certain implementations of the second aspect, the number of bits of the first sequence is M, wherein the target data sequence is obtained by descrambling M subsequences according to the M bits of the first sequence, and the second sequence is divided into the M subsequences, wherein, when the mth bit in the M bits is 0, the bit of the mth subsequence in the M subsequences is inverted, and M is a positive integer, m=1,...,M.
[0028] Through the above embodiments, the receiving end can descramble the received sequence according to the first sequence to obtain the target data sequence. The method provided by the embodiment of the present application has a good descrambling effect and can further prevent the receiving end from misinterpreting the data as being sent by other sending ends.
[0029] In a third aspect, a communication device is provided, comprising a processor, wherein the processor is used to enable the communication device to execute the first aspect and any possible method of the first aspect, or to enable the communication device to execute the first aspect and any possible method of the second aspect, by executing a computer program or instruction, or by a processing circuit.
[0030] In a possible implementation, the communication device further includes a memory for storing the computer program or instruction. Further, the processor is specifically used to call and run the computer program or computer instruction stored in the memory, so that the processor implements any one of the implementations in the first aspect or the second aspect.
[0031] In a possible implementation, the communication device further includes a transceiver (also referred to as a communication interface), the transceiver being used to input and / or output signals through the communication interface. The processor is used to control the transceiver to transmit and receive signals.
[0032] In a fourth aspect, a communication device is provided, comprising a processing circuit (also referred to as a processor) and an input / output interface (also referred to as an interface circuit), the input / output interface being used to input and / or output signals, the processing circuit being used to execute the first aspect and any possible method of the first aspect; or the processing circuit being used to execute the second aspect and any possible method of the second aspect.
[0033] In a possible implementation, the processor is used to communicate with other devices through the interface circuit and execute any one of the implementations in the first aspect or any one of the implementations in the second aspect. The processor includes one or more.
[0034] In a fifth aspect, a communication device is provided. The communication device may be a first device, or a device or module for performing the function of the first device; the communication device may be a second device, or a device or module for performing the function of the second device.
[0035] In one possible implementation, the communication device may include a module or unit corresponding to each of the methods / operations / steps / actions described in the first aspect. The module or unit may be a hardware circuit, software, or a combination of a hardware circuit and software.
[0036] In another possible implementation, the communication device may include a module or unit corresponding to the method / operation / step / action described in the second aspect, and the module or unit may be a hardware circuit, or software, or a combination of hardware circuit and software.
[0037] In the sixth aspect, a computer-readable storage medium is provided, on which a computer program or instruction is stored. When the computer program or the instruction is run on a computer, the first aspect and any possible method of the first aspect are executed; or, the second aspect and any possible method of the second aspect are executed.
[0038] In the seventh aspect, a computer program product is provided, comprising a computer program or instructions, which, when executed on a computer, causes the first aspect and any possible method of the first aspect to be executed; or causes the second aspect and any possible method of the second aspect to be executed.
[0039] In an eighth aspect, a communication device is provided, comprising a processor, connected to a memory, and used to call a program stored in the memory to execute any possible method of the first aspect or any possible method of the second aspect. The memory may be located inside the communication device or outside the communication device. The processor may include one or more.
[0040] In one implementation, the communication device of the third aspect, fourth aspect, and fifth aspect may be a chip or a chip system.
[0041] In a ninth aspect, a chip device is provided, comprising a processor for calling a computer program or computer instruction in a memory so that the processor executes any one of the implementations in the first aspect or any one of the implementations in the second aspect.
[0042] Optionally, the processor is coupled to the memory via an interface.
[0043] In a tenth aspect, a communication system is provided, which includes a first device and a second device; the first device is used to execute the method shown in the second aspect, and the second device is used to execute the method shown in the first aspect.
[0044] In the eleventh aspect, a communication method is provided, which is applied to a first device and a second device, wherein the method includes: the first device executes the method shown in the second aspect; the second device executes the method shown in the first aspect.
[0045] The description of the advantageous effects of any of the third aspect to the eleventh aspect etc. may refer to the description of the advantageous effects of the first aspect or the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 It is a schematic diagram of the architecture of the communication system applied in the embodiment of the present application.
[0047] Figure 2It is a schematic flow chart of a communication method provided in an embodiment of the present application.
[0048] Figure 3 It is a schematic flow chart of another communication method provided in an embodiment of the present application.
[0049] Figure 4 It is a schematic diagram of data scrambling provided in an embodiment of the present application.
[0050] Figure 5 It is a schematic block diagram of a communication device according to an embodiment of the present application.
[0051] Figure 6 It is a schematic block diagram of another communication device according to an embodiment of the present application.
[0052] Figure 7 It is a schematic block diagram of a communication system according to an embodiment of the present application. DETAILED DESCRIPTION
[0053] The technical solution in this application will be described below in conjunction with the accompanying drawings.
[0054] The technical solution provided in this application can be applied to various communication systems, such as: the fifth generation (5th generation, 5G) or new radio (new radio, NR) system, long term evolution (long term evolution, LTE) system, LTE frequency division duplex (frequency division duplex, FDD) system, LTE time division duplex (time division duplex, TDD) system, etc. The technical solution provided in this application can also be applied to future communication systems, such as the sixth generation (6th Generation, 6G) mobile communication system. The technical solution provided in this application can also be applied to device to device (D2D) communication, machine to machine (M2M) communication, machine type communication (MTC), and IoT communication system, artificial intelligence & internet of things (A-IoT) or other communication systems. This application is not limited to this.
[0055] With the development of communication technology, the communication system will not only support traditional communication, but also support, for example, vehicle to everything (V2X) communication (also known as vehicle network communication), vehicle to vehicle (V2V) communication (also known as vehicle to vehicle communication), vehicle to infrastructure (V2I) communication (also known as vehicle to infrastructure communication), vehicle to pedestrian (V2P) communication (also known as vehicle to pedestrian communication), vehicle to network (V2N) communication (also known as vehicle to network communication). For example, the communication system can also support the next generation wireless local area network system.
[0056] The terminal device in the embodiment of the present application may be referred to as a terminal. The terminal device may be a device with wireless transceiver function. The terminal device may be mobile or fixed. The terminal device may be deployed on land, including indoors or outdoors, handheld or vehicle-mounted; it may also be deployed on the water surface (such as a ship, etc.); it may also be deployed in the air (for example, on an airplane, a balloon, and a satellite, etc.). The terminal device may include a mobile phone, a tablet computer (pad), a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal device in industrial control, a wireless terminal device in self-driving, a wireless terminal device in remote medical, a wireless terminal device in smart grid, a wireless terminal device in transportation safety, a wireless terminal device in a smart city, and / or a wireless terminal device in a smart home. The terminal device may also be a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a handheld device or computing device with wireless communication function, a vehicle-mounted device, a wearable device, a terminal device in a 5G network, or a terminal device in a future-evolved public land mobile network (PLMN), etc. The terminal device may also sometimes be referred to as user equipment (UE), a mobile station (MS), a mobile terminal (MT), etc. Optionally, the terminal device may communicate with multiple access network devices of different technologies. For example, the terminal device may communicate with an access network device supporting LTE, or with an access network device supporting 5G, or may be dual-connected with an access network device supporting LTE and an access network device supporting 5G. This application is not limited.
[0057] In addition, the terminal device may be an IoT device or an A-IoT device, such as a passive terminal device, a semi-passive terminal device, a passive A-IoT terminal device, a semi-passive A-IoT terminal device, etc. The terminal device may be a sensor, an electric meter, a water meter, etc. The terminal device may also be an unmanned aerial vehicle (UAV) with a communication function. When the terminal device is passive or semi-passive, the terminal device can receive or send data by acquiring energy. The energy can be acquired by radio, solar energy, light energy, wind energy, water energy, thermal energy, kinetic energy, etc. This application does not limit the way in which passive or semi-passive terminal devices acquire energy. The terminal device may have the ability to backscatter, and a terminal device with backscattering capability may backscatter the carrier received by the terminal device. The terminal device may include an envelope detection receiver.
[0058] In the present application, the device for realizing the function of the terminal device may be the terminal device; or it may be a device capable of supporting the terminal device to realize the function, such as a chip system, a hardware circuit, a software module, or a hardware circuit plus a software module, which may be installed in the terminal device or may be used in combination with the terminal device. In the technical solution provided by the present application, the device for realizing the function of the terminal device is the terminal device. The following may take the terminal device as an example to describe the technical solution provided by the present application.
[0059] A network device may be a node or device that connects a terminal device to a wireless network, or a network device is an entity on the network side for transmitting or receiving signals. Network devices include, for example, but are not limited to: base stations, access network (RAN) equipment, next generation node B (gNB) in 5G, evolved node B (eNB), radio network controller (RNC), node B (NB), base station controller (BSC), base transceiver station (BTS), home base station (e.g., home evolved node B, or home node B, HNB), base band unit (BBU), transmitting and receiving point (TRP), transmitting point (TP), and / or mobile switching center, etc. Alternatively, the access network device may also be at least one of a centralized unit (CU), a distributed unit (DU), a centralized unit control plane (CU-CP) node, a centralized unit user plane (CU-UP) node, an integrated access and backhaul (IAB), or a wireless controller in a cloud radio access network (CRAN) scenario. Alternatively, the network device may be a relay station, an access point, a vehicle-mounted device, a terminal device, a wearable device, a network device in a 5G network, or a network device in a future evolved public land mobile network (PLMN). The network device may be referred to as a base station below.
[0060] In the present application, the device for realizing the function of the network device may be a network device; or it may be a device that can support the network device to realize the function, such as a chip system, a hardware circuit, a software module, or a hardware circuit plus a software module, which may be installed in the network device or may be used in combination with the network device. In the technical solution provided in the present application, the device for realizing the function of the network device may be an access network device. The following may take the network device as a base station as an example to describe the technical solution provided in the present application.
[0061] The reader can interact with the terminal device through radio frequency signals or wireless signals. It should be understood that the present application does not limit the name of the reader. The reader can continue to use the name of the reader. The reader can also have other names, for example, the reader can also be called a reader / writer, or a helper. The reader has the function of performing some operations on the terminal device (such as a passive terminal device) (such as obtaining information of the passive terminal device, inventory operation, read operation, write operation, invalidation operation, or other message interaction operations with the passive terminal device, etc.).
[0062] As some operation examples of the reader, the reader can send instructions from a server or an application function to the passive terminal device, or the reader can send a message from a passive terminal device to the server or the application function. The reader can obtain the information stored in the specified passive terminal device according to the instructions issued by the server. For example, if it is an inventory operation (or it can be called an inventory operation), the reader can obtain the identification information of the passive terminal device; the identification information can be a unique identification of the passive terminal device, or it can be a temporary identification of the passive terminal device. For example, if it is a read operation, the reader can read the data in the storage area of the passive terminal device. In some scenarios where the information stored in the passive terminal device needs to be rewritten, the reader can also have a write function. For example, if it is a write operation, the reader can write data into the storage area of the passive terminal device. In addition, the reader can also perform an invalidation operation on the passive terminal device. After the invalidation operation is executed, the passive terminal device is invalid, and operations such as obtaining passive terminal device information, inventory operation, read operation, message interaction operation with the passive terminal device, or write operation cannot be performed. In this application, the reader can be a terminal device, or an access network device, a pole station, a micro station, a small station, an eNodeB, a gNodeB, an integrated access and backhaul (IAB) node, etc. This application does not limit the form of the reader.
[0063] Figure 1 1 is a schematic diagram of the architecture of a communication system 100 used in an embodiment of the present application. The communication system 100 may be a radio frequency identification (RFID) system.
[0064] The system 100 may include a first device 110 and a second device 120 , wherein the first device 110 and the second device 120 may communicate with each other via radio frequency (RF) signals.
[0065] The present application does not limit the specific form of the first device 110. The first device 110 can be any entity that can transmit or receive signals. For example, the first device 110 can include a network device, a reader, an assistant, or an NR terminal. The present application does not limit the specific form of the second device 120. For example, the second device 120 can include a passive terminal device, a passive A-IoT terminal device, a semi-passive terminal device, or a semi-passive A-IoT terminal device. The second device 120 can also be a tag. Further, the second device 120 can be an active tag or a passive tag. If the second device 120 is a passive tag, that is, the second device 120 does not have a power supply itself, the second device 120 can obtain energy from the RF signal transmitted by the first device.
[0066] Figure 2 It is a schematic flow chart of a communication method 200 provided in an embodiment of the present application. Figure 2 The invention relates to communication between a first device 110 and a second device 120. The second device 120 may be passive, so that the first device 110 may continuously send a signal containing a high-level waveform to the second device 120. After receiving the signal, the second device 120 reflects the information to the first device 110 through a reverse link according to the energy in the signal. Figure 2 Method 200 is introduced.
[0067] S210 , the first device 110 sends a selection signaling to the second device 120 . Correspondingly, the second device 120 receives the selection signaling from the first device 110 .
[0068] The selection signaling may carry a mask identification (ID) or a tag ID of the second device. Through the selection signaling, the first device 110 may access the second device 120 or the group to which the second device 120 belongs.
[0069] The above S210 can be regarded as a selection process, through which the first device 110 can access a specific tag or tag group.
[0070] S220 , the first device 110 sends a query signaling to the second device 120 . Correspondingly, the second device 120 receives the query signaling from the first device 110 .
[0071] S230, the second device 120 determines the parameters of the time slot counter according to the query signaling.
[0072] The query signaling may include a query parameter, and the second device may determine the parameter of the time slot counter according to the query parameter.
[0073] In some embodiments, the query parameter is Q, and the second device can be from 0 to 2 Q-1 A number is randomly drawn from the range of 0 to 4 as the parameter of the time slot counter. For example, if the query parameter is 3, the second device can randomly draw a number from the range of 0 to 4, for example, if 2 is drawn, the parameter of the time slot counter is 2. For another example, if the query parameter is 4, the second device can randomly draw a number from the range of 0 to 8, for example, if 5 is drawn, the parameter of the time slot counter is 5.
[0074] S240 , the first device 110 sends a query repetition (queryrep) signaling to the second device 120 . The second device 120 receives the query repetition signaling from the first device 110 .
[0075] The query repetition signaling may repeat the operation of the query signaling without changing the parameters of the query signaling. The query repetition signaling may omit some parameters to save signaling overhead. The second device 120 may determine the parameters omitted in the query repetition signaling according to the query signaling received in S230.
[0076] It should be noted that the above selection signaling, query signaling or query repetition signaling may also be referred to as paging signaling, or may be referred to as group paging signaling.
[0077] S250 , the second device 120 determines to send RN16 signaling according to the parameters of the timeslot counter. Correspondingly, the first device 110 receives the signaling from the second device 120 .
[0078] The RN16 signaling may include a sequence for identifying the second device 120, which may also be referred to as a leading sequence for identifying the second device 120, or a message (MSG) 1 sequence for identifying the second device 120 during random access;
[0079] After receiving the query repetition signaling, the second device 120 may determine whether to execute S250. When the parameter of the slot counter is not 0, the second device 120 does not send RN16 signaling to the first device 110, and reduces the parameter of the slot counter by 1. When the parameter of the slot counter is 0, the second device 120 sends RN16 signaling to the first device 110. In other words, a tag whose slot counter parameter is a non-zero value is in a waiting state after receiving the query repetition signaling, and a tag whose slot counter parameter is a zero value is in a responding state after receiving the query repetition signaling.
[0080] For example, if the parameter of the time slot counter set by the second device 120 in S230 is 1, then after receiving the query repetition signaling for the first time, since the parameter of the time slot counter is not 0, no RN16 signaling is sent to the first device 110, and the parameter of the time slot counter is reduced by 1 to obtain 0. After the second device 120 receives the query repetition signaling for the second time, since the parameter of the time slot counter is 0, RN16 signaling is sent to the first device 110.
[0081] Among them, the RN16 signaling may include a first sequence, and the first sequence may be a random or pseudo-random sequence. It should be noted that RN16 may also have other names. Among them, the first sequence may be generated by the second device 120 itself, and is not configured by the first device 110 or indicated to the second device 120. However, this application is not limited to this, and the first sequence may also be configured by the first device 110 or indicated to the second device 120.
[0082] S260 , the first device 110 sends an acknowledgement (ACK) signaling to the second device 120 . Accordingly, the second device 120 receives the acknowledgement signaling from the first device 110 .
[0083] Among them, the confirmation signaling may include the first information, and the first information may include the first sequence. When the first sequence in the first information in the confirmation signaling is the same as the first sequence in the RN16 signaling, the second device 120 is in a confirmation state. In the confirmation state, the second device 120 may send data to the first device 110. For example, the second device 120 may send an electronic product code (EPC) or uplink data in response to a read signaling or a write signaling to the first device 110. Among them, the information bits of the above data may be transmitted through an uplink physical channel (physical uplink shared channel, PUSCH). In addition, while sending the uplink information bits, the check bits of the uplink information bits may be sent. For example, the check bits may be a cyclic redundancy check (CRC).
[0084] The above S220 to S260 can be regarded as an inventory process (or referred to as an inventory counting process). After the inventory process is completed, the first device 110 can send a read signaling or a write signaling to the second device 120, or perform further uplink and downlink information interaction with the second device 120.
[0085] In addition, the method 200 may further include: the first device 110 sends a query adjustment signaling to the second device 120. Accordingly, the second device 120 receives the query adjustment signaling from the first device 110.
[0086] Among them, the query adjustment signaling may also be called paging signaling, or may be called group paging signaling. The query adjustment signaling may include a query parameter, which may enable the second device 120 to re-execute S230, that is, to re-determine the parameters of the time slot counter. Specifically, after the second device 120 determines the parameters of the time slot counter according to the query signaling, if the second device 120 receives the query adjustment signaling, the second device 120 may determine the parameters of the new time slot counter according to the query adjustment signaling. For example, if the query parameter in the query signaling is 10, the second device 120 may extract a random number within the range of 0 to 512 as the parameter of the time slot counter. Since the range of 0 to 512 is large, the parameter of the time slot counter determined by the second device 120 is also large, which causes the first device 110 to send a large number of query repetition signaling to the second device 120 in order to reduce the parameter of the time slot counter to 0, so that the second device 120 can execute S250, that is, initiate random access. The first device 110 may carry a smaller query parameter in the query adjustment signaling, for example, the query parameter is 3. In this way, the second device 120 can draw a random number in the range of 0 to 4 as the parameter of the new time slot counter. The parameter of the new time slot counter is smaller, which allows the first device 110 to send a small amount of query repetition signaling to the second device 120 to reduce the parameter of the time slot counter to 0, thereby enabling the second device 120 to execute S250, that is, to initiate random access.
[0087] As mentioned above, how to reduce the complexity of scrambling is an urgent problem to be solved.
[0088] Figure 3 It is a schematic flow chart of another communication method 300 provided in an embodiment of the present application. Method 300 involves the interaction between a first device 110 and a second device 120. Method 300 can reduce the complexity of scrambling and can avoid data misunderstanding at the data receiving end. It should be noted that method 300 can be combined with method 200, and method 300 is described by taking uplink transmission as an example. Method 300 can also be similarly applied to downlink transmission. In the process of uplink transmission, the embodiment of the present application can avoid the base station misunderstanding that the data it receives (actually from the target tag) comes from other tags; in the process of downlink transmission, the embodiment of the present application can avoid the target tag misunderstanding that the data it receives (actually to be sent to other tags) is sent to the target tag. The following is combined with Figure 3 Method 300 is described in detail.
[0089] S310 , the second device 120 sends a first sequence to the first device 110 . Accordingly, the first device 110 receives the first sequence from the second device 120 .
[0090] The first sequence may be used to identify the second device 120. The first sequence is used to identify the second device 120, which may be understood as the first sequence being an identifier of the second device 120, or the first sequence corresponding to or associated with the second device 120.
[0091] The first sequence may also be referred to as a leading sequence for identifying the second device 120, or a message 1 sequence for identifying the second device 120 during random access, etc. This application does not limit the specific name of the first sequence, and the first sequence may have other names such as a scrambling sequence, a feedback sequence, and a response sequence.
[0092] The first sequence may be a random number sequence or a pseudo-random number sequence. The first sequence may be generated by the second device 120 itself, and is not configured or indicated to the second device 120 by the first device 110. However, the present application is not limited to this, and the first sequence may also be configured or indicated to the second device 120 by the first device 110.
[0093] The above S310 may be performed after the second device 120 receives the query signaling, the query repetition signaling, or the paging signaling. That is, after the second device 120 receives the query signaling, the query repetition signaling, or the paging signaling, the second device 120 may send the first sequence to the first device 110.
[0094] As an example, the first sequence can be carried in RN16 signaling, and specific details can be found in the aforementioned S250 embodiment. However, the present application does not limit the specific message carried by the first sequence, and the first sequence can be carried in other signaling. In addition, the present application does not limit the name of the message carried by the first sequence, for example, there may be other names such as scrambled message, feedback message, or response message.
[0095] The first sequence may have 16 bits, in which case the first sequence may be referred to as an RN16 sequence. For another example, the first sequence may have 8 bits, in which case the first sequence may be referred to as an RN8 bit sequence. In other words, RNx may be used to represent the first sequence, where x is the number of bits or the length of the first sequence. The present application does not limit the length of the first sequence, for example, the first sequence may also include bits of other digits.
[0096] S320 , the second device 120 receives the first information from the first device 110 . Accordingly, the first device 110 sends the first information to the second device 120 .
[0097] The first information may include the first sequence, and the first information may be used to confirm that the first device 110 successfully receives the first sequence.
[0098] The above S320 may be performed after the first device 110 receives the first sequence. That is, after receiving the first sequence, the first device 110 may send the first information including the first sequence to the second device 120.
[0099] The first information may be a confirmation signaling, for example, see the embodiment of S260 above. However, the present application does not limit the specific form of the first information, and the first information may also have other information. In addition, the first information may also have other names, such as indication information, confirmation information, or response information. The present application does not limit the specific name of the first information.
[0100] In some other optional implementations, the first information may be used to indicate the first sequence, or the first information may carry the first sequence, or the first information may include the first sequence.
[0101] S330: The second device 120 scrambles the data sequence to be sent according to the first sequence to generate a second sequence.
[0102] The data sequence to be sent is data that the second device 120 is ready to send to the first device 110. The data sequence to be sent may also be referred to as data to be sent, bits to be sent, information to be sent, sequences to be sent, etc. This application does not limit the specific name of the data sequence to be sent, and the term "data sequence to be sent" is only for ease of understanding. The data sequence to be sent may also be described by terms such as sequence, data, information, or bits.
[0103] By scrambling the first sequence, the data sequence to be sent can be changed into a second sequence. In other words, the second sequence is the sequence after the data sequence to be sent is scrambled by the first sequence. In other words, the data sequence to be sent is the sequence before the second sequence is scrambled by the first sequence. The second sequence can also be called an output sequence or an output bit sequence.
[0104] Exemplarily, when the number of bits of the first sequence is equal to that of the data sequence to be sent, the bits of the first sequence can be subjected to a modulo two sum operation or an exclusive or (XOR) operation with the bits of the data sequence to be sent. It should be noted that the present application does not limit the first sequence to be equal to the number of bits of the data sequence to be sent, nor does it limit the scrambling to be performed only by modulo two addition or XOR operation. For other implementation scenarios, please refer to the following text, which will not be described here.
[0105] S340: The second device 120 sends the second sequence to the first device 110. Accordingly, the first device 110 receives the second sequence from the second device 120.
[0106] The second sequence may be sent via a data channel. For example, the second sequence may be sent to the first device 110 via a PUSCH channel.
[0107] S350: The first device 110 descrambles the second sequence according to the first sequence to obtain a target data sequence.
[0108] Exemplarily, when the number of bits of the first sequence is equal to that of the second sequence, a modulo-2 addition operation or an XOR operation may be performed on the bits of the first sequence and the bits of the second sequence. It should be noted that the present application does not limit the first sequence to being equal to the number of bits of the second sequence, nor does it limit the scrambling to being performed only by modulo-2 addition or XOR operation. For other implementation scenarios, please refer to the following text and will not be described in detail here.
[0109] The descrambling in S350 is similar to the scrambling in S330. The first sequence can be used as a scrambling sequence or a descrambling sequence. The target data sequence obtained by descrambling can be the data sequence to be sent in S330.
[0110] In some other optional embodiments, S330 may be replaced by: the first device 110 scrambles the data sequence to be sent according to the first sequence to generate a second sequence; S340 may be replaced by: the first device 110 sends the second sequence to the second device 120; S350 may be replaced by: the second device 120 descrambles the second sequence according to the first sequence to obtain a target data sequence. This embodiment is an example of uplink transmission. The second sequence may be sent through a data channel, for example, the second sequence may be sent to the second device 120 through a physical downlink shared channel (PDSCH).
[0111] Through the above embodiments, the first sequence can be used as an identifier of the transmitter in a random access scenario, and can also be used to scramble the data sequence to be sent. The transmitter does not need additional storage space to achieve data scrambling. Therefore, the method provided by the embodiment of the present application reduces the complexity of scrambling, and can prevent the receiving end from misunderstanding the data as being sent by other transmitting ends. On the other hand, through the above embodiments, the first sequence can be used as an identifier of the transmitter in a random access scenario, and can also be used to descramble the received data sequence. The receiving end does not need additional storage space to achieve data descrambling. Therefore, the method provided by the embodiment of the present application reduces the complexity of descrambling, and can prevent the receiving end from misunderstanding the data as being sent by other transmitting ends.
[0112] Optionally, in another implementation scenario of the above embodiment, the data sequence to be sent includes an information sequence and a check sequence of the information sequence, the number of bits of the check sequence is N, the second sequence includes the information sequence and a third sequence, N is a positive integer; wherein the third sequence is obtained by scrambling the check sequence according to the N bits corresponding to the first sequence. Correspondingly, the target data sequence includes an information sequence and a check sequence of the information sequence, the number of bits of the check sequence is N, the second sequence includes the information sequence and a third sequence, N is a positive integer; wherein the check sequence is obtained by descrambling the third sequence according to the N bits corresponding to the first sequence.
[0113] The information sequence may be a payload bit or a payload bit sequence of a data channel, and the information sequence may also be referred to as an information bit or an information bit sequence. The check sequence may be a check bit of a data channel, or a parity check bit of a data channel, or a check bit of a payload bit, or a parity check bit of a payload bit. For example, the check sequence may include a CRC bit. The check sequence may also be referred to as a CRC bit sequence, or a check bit sequence, or a parity check bit sequence. It should be noted that the present application does not limit the specific names of the information sequence and the check sequence, and the information sequence and the check sequence may also have other names.
[0114] The above scheme can be understood as that the first sequence scrambles all bits of the check sequence, but does not scramble the bits of the information sequence. Among them, the sequence obtained after scrambling the check sequence can be called the third sequence. In other words, the above scheme can be understood as that the first sequence scrambles all bits of the CRC, but does not scramble the information bits. It should be noted that the third sequence can also have other names, such as a scrambled information sequence, etc., and this application does not limit the name of the third sequence.
[0115] Specific examples of N bits corresponding to the first sequence can be found in the following text and will not be repeated here.
[0116] Through the above embodiment, the transmitting end can scramble only the check sequence to be sent according to the first sequence. Therefore, the scrambling complexity of the method provided in the embodiment of the present application is low, and it can avoid the receiving end from misunderstanding the data as being sent by other transmitting ends. On the other hand, through the above embodiment, the receiving end can descramble the received sequence according to the first sequence to obtain the check sequence. Therefore, the descrambling complexity of the method provided in the embodiment of the present application is low, and it can avoid the receiving end from misunderstanding the data as being sent by other transmitting ends.
[0117] Optionally, in another implementation scenario of the above embodiment, the number of bits of the data sequence to be sent is N, where N is a positive integer; wherein the second sequence is obtained by scrambling the data sequence to be sent according to the N bits corresponding to the first sequence. Correspondingly, the number of bits of the target data sequence is N, where N is a positive integer; wherein the target data sequence is obtained by descrambling the second sequence according to the N bits corresponding to the first sequence.
[0118] The above scheme can be understood as that the first sequence scrambles all bits of the data sequence to be transmitted, that is, scrambles both the information sequence and the check sequence, or scrambles the payload sequence and the CRC sequence together. The specific example of the N bits corresponding to the first sequence can be found later, which will not be repeated here.
[0119] Through the above-mentioned embodiments, the transmitting end can perform all scrambling of the data sequence to be transmitted according to the first sequence, which complies with the data channel scrambling mechanism specified in the current protocol, and improves the applicability of the method of the embodiment of the present application. In addition, the method provided by the embodiment of the present application has a good scrambling effect, which can further prevent the receiving end from misinterpreting the data as being sent by other transmitting ends. On the other hand, through the above-mentioned embodiments, the receiving end can descramble the received sequence according to the first sequence to obtain the target data sequence. Therefore, the method provided by the embodiment of the present application has a good descrambling effect, and can further prevent the receiving end from misinterpreting the data as being sent by other transmitting ends.
[0120] Optionally, in another implementation scenario of the above embodiment, the N bits corresponding to the first sequence include the first N bits of the first sequence, the last N bits of the first sequence, the first N bits of a sequence after multiple first sequences are cascaded, or the last N bits of a sequence after multiple first sequences are cascaded. Accordingly, the N bits corresponding to the first sequence include the first N bits of the first sequence, the last N bits of the first sequence, the first N bits of a sequence after multiple first sequences are cascaded, or the last N bits of a sequence after multiple first sequences are cascaded.
[0121] For ease of description, it is assumed that the first sequence has M bits, and the first sequence can be represented by r, for example, r0, r1, r2, . . . , r M-1 Assuming that the check sequence has Y bits, the check sequence can be represented by p, for example, p0, p1, p2, . . . , p Y-1 Assume that the information sequence has Z bits, and the information sequence can be represented by a, for example, a0, a1, a2, .., a z-1 Assume that the data sequence to be sent or the target data sequence can be represented by b, for example:
[0122] b k =a k,k=0,1,2,···,Z-1;
[0123] b k =p k-Z ,k=Z,Z+1,Z+2,···,Z+Y-1.
[0124] Figure 4 It is a schematic diagram of data scrambling provided in an embodiment of the present application.
[0125] As some examples, the first sequence only scrambles the check sequence to generate the third sequence, but does not scramble the information sequence.
[0126] When M is greater than or equal to Y, the first Y bits and the last Y bits of the first sequence can be taken (for example, see Figure 4 (a)) or the middle Y bits in the first sequence as the N bits corresponding to the first sequence. For example, if M is 8 and Y is 6, the N bits corresponding to the first sequence can be the first 6 bits, the last 6 bits, or the middle 6 bits of the first sequence.
[0127] For example, assuming that the second sequence can be represented by c, and the scrambling method is modulo-2 addition, if the N bits corresponding to the first sequence are the first Y bits of the first sequence, then the second sequence can be:
[0128] c k =b k ,k=0,1,2,···,Z-1;
[0129] c k =(b k +r k-Z )mod 2, k=Z, Z+1, Z+2,..., Z+Y-1.
[0130] If the N bits corresponding to the first sequence are the last Y bits of the first sequence, the second sequence can be:
[0131] c k =b k ,k=0,1,2,···,Z-1;
[0132] c k =(b k +r k-Z+M-Y )mod 2, k=Z, Z+1, Z+2,..., Z+Y-1.
[0133] When M is less than or equal to Y, the first sequence can be cascaded multiple times, and the first Y bits of the cascaded sequence are taken (for example, see Figure 4(b)), the last Y bits or the middle Y bits are used as the N bits corresponding to the first sequence. For example, if M is 8 and Y is 16, the N bits corresponding to the first sequence can be the 16 bits of the sequence after the first sequence is cascaded twice. For another example, if M is 8 and Y is 20, the N bits corresponding to the first sequence can be the first 20 bits, the last 20 bits or the middle 20 bits of the sequence after the first sequence is cascaded three times.
[0134] The first sequence is cascaded multiple times, which can also be understood as repeating the first sequence multiple times and then concatenating it. The number of times the first sequence is cascaded can be times, or greater than An integer number of times. Among them, It represents the value after Y is divided by M and rounded up (or called upward integer). The sequence after multiple first sequences are cascaded can also be called a scrambling sequence, but it should be noted that the present application does not limit the name of the cascaded sequence, and the sequence can also have other names, such as cascade sequence, repeated sequence, spliced sequence, etc.
[0135] For example, assuming that the second sequence can be represented by c, the scrambling method is modulo-2 addition, and the N bits corresponding to the first sequence are the first Y bits of the sequence after the first sequence is cascaded. Wherein, the first sequence after cascading is represented by r', then the second sequence can be:
[0136] c k =b k ,k=0,1,2,···,Z-1;
[0137] c k =(b k +r' k-Z )mod 2, k=Z, Z+1, Z+2,..., Z+Y-1.
[0138] As some other examples, the first sequence scrambles the check sequence and the information sequence to generate the second sequence.
[0139] When M is greater than or equal to Y+Z, the first Y+Z bits and the last Y+Z bits of the first sequence can be taken (for example, see Figure 4 (c)) or the middle Y+Z bits in the first sequence as the N bits corresponding to the first sequence. For example, if M is 32, Y is 6, and Z is 16; then Y+Z is 22, and the N bits corresponding to the first sequence can be the first 22 bits, the last 22 bits, or the middle 22 bits of the first sequence.
[0140] For example, assuming that the second sequence can be represented by c, the scrambling method is modulo-2 addition, and the N bits corresponding to the first sequence are the first Y+Z bits of the first sequence, then the second sequence can be:
[0141] c k =(b k +r k )mod 2, k=0, 1, 2,..., Z+Y-1.
[0142] When M is less than or equal to Y+Z, the first sequence can be cascaded multiple times, and the first Y+Z bits of the cascaded sequence are taken (for example, see Figure 4 (d)), the last Y bits or the middle Y bits are used as the N bits corresponding to the first sequence. For example, if M is 8, Y is 24, and Z is 128; then Y+Z is 152, and the N bits corresponding to the first sequence can be the 152 bits of the sequence after the first sequence is cascaded 19 times. For example, if M is 8, Y is 24, and Z is 132; then Y+Z is 156, and the N bits corresponding to the first sequence can be the first 156 bits, the last 156 bits, or the middle 156 bits of the sequence after the first sequence is cascaded 20 times.
[0143] The number of times the first sequence is cascaded can be times, or greater than An integer number of times. Among them, It represents the value after Y+Z is divided by M and rounded up (or called upward rounding). A sequence formed by concatenating multiple first sequences may also be called a scrambling sequence, but it should be noted that the present application does not limit the name of the concatenated sequence, and the sequence may also have other names, such as a concatenated sequence, a repeated sequence, a spliced sequence, etc.
[0144] For example, assuming that the second sequence can be represented by c, the scrambling method is modulo-2 addition, and the N bits corresponding to the first sequence are the first Y+Z bits of the sequence after the first sequence is cascaded. Wherein, the first sequence after cascading is represented by r', then the second sequence can be:
[0145] c k =(b k +r' k )mod 2, k=0, 1, 2,..., Z+Y-1.
[0146] Through the above-mentioned embodiments, the transmitting end can scramble all data sequences or all check sequences to be sent according to the first sequence. Therefore, the method provided by the embodiment of the present application has a good scrambling effect, which can further prevent the receiving end from misinterpreting the data as being sent by other transmitting ends. On the other hand, through the above-mentioned embodiments, the receiving end can descramble the received sequence according to the first sequence to obtain the target data sequence or check sequence. Therefore, the method provided by the embodiment of the present application has a good descrambling effect, which can further prevent the receiving end from misinterpreting the data as being sent by other transmitting ends.
[0147] In some optional implementations, the method 300 further includes: the second device 120 sends second information to the first device 110, and the second information is used to indicate that the N bits corresponding to the first sequence include the first N bits of the first sequence, the last N bits of the first sequence, the first N bits of a sequence after multiple first sequences are cascaded, or the last N bits of a sequence after multiple first sequences are cascaded. Correspondingly, the first device 110 receives the second information from the second device 120. It can be understood that the second information can indicate the scrambling method of the first sequence. Further, the second information can also be used to indicate that the first sequence scrambles all data sequences to be sent or all check sequences. The above second information can also be used to indicate the descrambling method, for example, the second information can also be used to indicate that the first sequence descrambles all data sequences to be sent or all check sequences.
[0148] Optionally, in another implementation scenario of the above embodiment, the data sequence to be sent includes an information sequence and a check sequence of the information sequence, the number of bits of the first sequence is M, the number of bits of the check sequence is greater than or equal to M, the second sequence includes the information sequence and a third sequence, and M is a positive integer; wherein the third sequence is obtained by scrambling the M bits in the check sequence according to the M bits of the first sequence. Correspondingly, the target data sequence includes an information sequence and a check sequence of the information sequence, the number of bits of the first sequence is M, the number of bits of the check sequence is greater than or equal to M, the second sequence includes the information sequence and a third sequence, and M is a positive integer; wherein the check sequence is obtained by descrambling the M bits in the third sequence according to the M bits of the first sequence.
[0149] The above solution can be understood as the first sequence scrambling some bits of the check sequence. The first sequence can scramble the first M bits and the last M bits of the check sequence (for example, see Figure 4 (e)) or the middle M bits of the check sequence. For example, if M is 8 and Y is 16, the first sequence can scramble the first 8 bits, the last 8 bits, or the middle 8 bits of the check sequence.
[0150] For example, assuming that the second sequence can be represented by c, the scrambling method is modulo-2 addition, and the last M bits of the check sequence are scrambled according to the first sequence, then the second sequence can be:
[0151] c k =b k ,k=0,1,2,···,Z+YM-1;
[0152] c k =(b k +r k-Z-Y+M )mod 2, k=Z+YM,···,Z+Y-1.
[0153] Through the above embodiment, the transmitting end can scramble some bits of the check sequence according to the first sequence, further reducing the complexity of scrambling, and can prevent the receiving end from misinterpreting the data as being sent by other transmitting ends. On the other hand, through the above embodiment, the receiving end can descramble the received sequence according to the first sequence to obtain the check sequence. The method provided in the embodiment of the present application has a lower descrambling complexity, and can prevent the receiving end from misinterpreting the data as being sent by other transmitting ends.
[0154] Optionally, in another implementation scenario of the above embodiment, the number of bits of the first sequence is M, wherein the second sequence is obtained by scrambling M subsequences according to the M bits of the first sequence, respectively, and the data sequence to be sent is divided into the M subsequences, wherein, when the mth bit in the M bits is 0, the bit of the mth subsequence in the M subsequences is inverted, and M is a positive integer, m=1,...,M. Correspondingly, the number of bits of the first sequence is M, wherein the target data sequence is obtained by descrambling M subsequences according to the M bits of the first sequence, respectively, and the second sequence is divided into the M subsequences, wherein, when the mth bit in the M bits is 0, the bit of the mth subsequence in the M subsequences is inverted, and M is a positive integer, m=1,...,M.
[0155] The above scheme can be understood as dividing the Y+Z bits into M sub-blocks (or M sub-sequences), and adding one bit of the M bits to each sub-block as a mask, or in other words, using the bit as the index of the sub-block for masking. Wherein, when the mask is 1, the bits in the sub-block remain unchanged; when the mask is 0, the bits in the sub-block are inverted. "Inverted" means that the bits that were originally 0 are set to 1, and the bits that were originally 1 are set to 0.
[0156] The data sequence to be sent is divided into M subsequences, which can also be understood as that the data sequence to be sent includes M subsequences, or that M subsequences constitute the data sequence to be sent, or that the data sequence to be sent is composed of M subsequences. Correspondingly, the second sequence can also be divided into M subsequences. It should be understood that the M subsequences in the second sequence correspond to the M subsequences in the data sequence to be sent. "Correspondence" is manifested in that the bit values of the mth subsequence in the second sequence are opposite to those of the mth subsequence in the data sequence to be sent. For example, the third subsequence in the second sequence is "1100", and the third subsequence in the data sequence to be sent is "0011".
[0157] For example, if M is 8, Y is 24, and Z is 128, then Y+Z is 152, and the data sequence to be sent can be divided into 8 subsequences, each of which has 19 bits. For the convenience of description, these 8 subsequences are numbered #0, #1, ..., #7 in sequence. Assuming that the first sequence is "11001010", the bits in the subsequences numbered #2, #3, #5, and #7 can be inverted, and the bits in the other subsequences remain unchanged.
[0158] In some other optional implementations, when the mth bit in the M bits is 1, the bit of the mth subsequence in the M subsequences is inverted. When the mth bit in the M bits is 0, the bit of the mth subsequence in the M subsequences remains unchanged.
[0159] It should be noted that the data sequence to be sent may be evenly divided into M subsequences, or unevenly divided into M subsequences. That is, the M subsequences may have the same bit positions, or may have different bit positions.
[0160] Through the above-mentioned embodiments, the transmitting end can perform all scrambling of the data sequence to be transmitted according to the first sequence, which complies with the data channel scrambling mechanism specified in the current protocol, and improves the applicability of the method of the embodiment of the present application. In addition, the method provided by the embodiment of the present application can quickly scramble the data sequence to be transmitted of various lengths, has a good scrambling effect, and can further prevent the receiving end from misunderstanding the data as being sent by other transmitting ends. On the other hand, through the above-mentioned embodiments, the receiving end can descramble the received sequence according to the first sequence to obtain the target data sequence. The method provided by the embodiment of the present application has a good descrambling effect, and can further prevent the receiving end from misunderstanding the data as being sent by other transmitting ends.
[0161] Figure 5 5 is a schematic block diagram of a communication device 500 according to an embodiment of the present application. The communication device 500 includes a processor 510 and a transceiver 520, and the processor 510 and the transceiver 520 may be interconnected via a bus 530. The communication device 500 may be a first device or a second device.
[0162] Optionally, the communication device 500 may further include a memory 540. The memory 540 includes, but is not limited to, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), or a portable read-only memory (CD-ROM), and the memory 540 is used for related instructions and data.
[0163] The processor 510 may be one or more central processing units (CPUs). In the case where the processor 510 is a CPU, the CPU may be a single-core CPU or a multi-core CPU. The processor 510 may be a signal processor, a chip, or other integrated circuit that can implement the method of the present application, or a portion of the circuit used for processing functions in the aforementioned processor, chip, or integrated circuit. In addition, the transceiver 520 may also be referred to as an input-output interface or a communication interface. The transceiver 520 is used for input or output of signals or data, and may also be an input-output circuit.
[0164] When the communication device 500 is a second device, illustratively, the communication device 500 includes a processor 510 and a transceiver 520. The transceiver 520 is used to send a first sequence to the first device, the first sequence is used to identify the second device, and the second device is the sender of the first sequence; and is used to receive first information from the first device, the first information includes the first sequence, and the first information is used to confirm that the first device successfully receives the first sequence; the processor 510 is used to scramble the data sequence to be sent according to the first sequence to generate a second sequence; the transceiver 520 is also used to send the second sequence to the first device.
[0165] When the communication device 500 is a first device, illustratively, the communication device 500 includes a processor 510 and a transceiver 520. The transceiver 520 is used to receive a first sequence from a second device, the first sequence is used to identify the second device; and to send first information to the second device, the first information includes the first sequence, the first information is used to confirm that the first device successfully receives the first sequence; and to receive a second sequence from the second device; the processor 510 is used to descramble the second sequence according to the first sequence to obtain a target data sequence.
[0166] The above description is only an exemplary description. For specific content, please refer to the content shown in the above method embodiment. Figure 5 The implementation of each operation in can also refer to Figures 2 to 4 The corresponding description of the method embodiment shown.
[0167] Figure 6 6 is a schematic block diagram of another communication device 600 of an embodiment of the present application. The communication device 600 may be a first device or a second device, or a chip or module in the first device or the second device, for implementing the method involved in the above embodiment. The communication device 600 includes a transceiver unit 610. The transceiver unit 610 is exemplarily introduced below.
[0168] The transceiver unit 610 may include a transmitting unit and a receiving unit. The transmitting unit is used to perform a transmitting action of the communication device, and the receiving unit is used to perform a receiving action of the communication device. For ease of description, the embodiment of the present application combines the transmitting unit and the receiving unit into one transceiver unit. A unified description is given here, and no further description is given later.
[0169] When the communication device 600 is the second device, illustratively, the transceiver unit 610 is configured to send the first sequence to the first device.
[0170] Optionally, the communication device 600 may further include a processing unit 620, which is used to execute the content of the first device involving processing, coordination and other steps.
[0171] When the communication device 600 is a first device, illustratively, the transceiver unit 610 is configured to receive a first sequence from the first device.
[0172] Optionally, the communication device 600 may further include a processing unit 620, which is used to execute the content of the steps involving processing, coordination, etc. of the second device.
[0173] The above contents are only exemplary descriptions. When the communication device 600 is the first device or the second device, it will be responsible for executing the methods or steps related to the first device or the second device in the above method embodiments.
[0174] Optionally, the communication device 600 further includes a storage unit 630, and the storage unit 630 is used to store a program or code for executing the aforementioned method.
[0175] Figure 5 and Figure 6 The device embodiment shown is used to implement Figures 2 to 4 The embodiments in . Figure 5 and Figure 6 The specific execution steps and methods of the device shown can refer to the contents of the aforementioned method embodiment.
[0176] Figure 7 is a schematic block diagram of a communication system 700 according to an embodiment of the present application. The communication system 700 includes a first device and a second device, and the first device and the second device are used to implement the aforementioned Figures 2 to 4 Embodiment of the invention.
[0177] The present application also provides a chip, including a processor, for calling and executing instructions stored in a memory from the memory, so that a communication device equipped with the chip executes the methods in the above examples.
[0178] The present application also provides another chip, including: an input interface, an output interface, and a processor, wherein the input interface, the output interface, and the processor are connected via an internal connection path, and the processor is used to execute the code in the memory, and when the code is executed, the processor is used to execute the method in each of the above examples. Optionally, the chip also includes a memory, and the memory is used to store computer programs or codes.
[0179] The present application also provides a processor, which is coupled to a memory and is used to execute the method and function involving the first device or the second device in any of the above embodiments.
[0180] In another embodiment of the present application, a computer program product including instructions is provided. When the computer program product is run on a computer, the method of the above embodiment is implemented.
[0181] The present application also provides a computer program. When the computer program is executed in a computer, the method of the above embodiment is implemented.
[0182] In another embodiment of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a computer, the method described in the above embodiment is implemented.
[0183] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0184] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0185] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0186] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0187] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0188] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.
[0189] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A communication method, characterized in that: include: Sending a first sequence to a first device, where the first sequence is used to identify a second device, and the second device is a sender of the first sequence; receiving first information from the first device, the first information including the first sequence, the first information being used to confirm that the first device successfully receives the first sequence; scramble a data sequence to be sent according to the first sequence to generate a second sequence; The second sequence is sent to the first device.
2. The method according to claim 1, characterized in that The data sequence to be sent includes an information sequence and a check sequence of the information sequence, the number of bits of the check sequence is N, the second sequence includes the information sequence and a third sequence, and N is a positive integer; wherein, The third sequence is obtained by scrambling the check sequence according to N bits corresponding to the first sequence.
3. The method according to claim 1, characterized in that The number of bits of the data sequence to be sent is N, where N is a positive integer; The second sequence is obtained by scrambling the to-be-sent data sequence according to N bits corresponding to the first sequence.
4. The method according to claim 2 or 3, characterized in that: The N bits corresponding to the first sequence include the first N bits of the first sequence, the last N bits of the first sequence, the first N bits of a sequence obtained by concatenating multiple first sequences, or the last N bits of a sequence obtained by concatenating multiple first sequences.
5. The method according to claim 1, characterized in that The data sequence to be sent includes an information sequence and a check sequence of the information sequence, the number of bits of the first sequence is M, the number of bits of the check sequence is greater than or equal to M, the second sequence includes the information sequence and a third sequence, and M is a positive integer; wherein, The third sequence is obtained by scrambling M bits in the check sequence according to M bits in the first sequence.
6. The method according to claim 1, characterized in that The number of bits of the first sequence is M, where The second sequence is obtained by scrambling M subsequences according to the M bits of the first sequence, respectively. The data sequence to be sent is divided into the M subsequences, wherein, when the mth bit among the M bits is 0, the bit of the mth subsequence among the M subsequences is inverted, M is a positive integer, m=1,...,M.
7. A communication method, characterized in that: include: receiving a first sequence from a second device, the first sequence being used to identify the second device; Sending first information to the second device, where the first information includes the first sequence, and the first information is used to confirm that the first device successfully receives the first sequence; receiving a second sequence from the second device; The second sequence is descrambled according to the first sequence to obtain a target data sequence.
8. The method according to claim 7, characterized in that The target data sequence includes an information sequence and a check sequence of the information sequence, the number of bits of the check sequence is N, the second sequence includes the information sequence and a third sequence, and N is a positive integer; wherein, The check sequence is obtained by descrambling the third sequence according to N bits corresponding to the first sequence.
9. The method according to claim 7, characterized in that: The number of bits of the target data sequence is N, where N is a positive integer; The target data sequence is obtained by descrambling the second sequence according to N bits corresponding to the first sequence.
10. The method according to claim 8 or 9, characterized in that: The N bits corresponding to the first sequence include the first N bits of the first sequence, the last N bits of the first sequence, the first N bits of a sequence obtained by concatenating multiple first sequences, or the last N bits of a sequence obtained by concatenating multiple first sequences.
11. The method according to claim 7, characterized in that The target data sequence includes an information sequence and a check sequence of the information sequence, the number of bits of the first sequence is M, the number of bits of the check sequence is greater than or equal to M, the second sequence includes the information sequence and a third sequence, and M is a positive integer; wherein, The check sequence is obtained by descrambling M bits in the third sequence according to M bits in the first sequence.
12. The method according to claim 7, characterized in that The number of bits of the first sequence is M, where The target data sequence is obtained by descrambling M subsequences according to the M bits of the first sequence, and the second sequence is divided into the M subsequences, wherein when the mth bit among the M bits is 0, the bit of the mth subsequence among the M subsequences is inverted, M is a positive integer, m=1,...,M.
13. A communication device, characterized in that: The method comprises at least one module, wherein the at least one module is used to execute the method according to any one of claims 1 to 6, or the at least one module is used to execute the method according to any one of claims 7 to 12.
14. A communication system, characterized in that: The method comprises a first device and a second device, wherein the first device is used to execute the method according to any one of claims 7 to 12, and the second device is used to execute the method according to any one of claims 1 to 6.
15. A communication device, characterized in that: It comprises a processing circuit and an input / output interface, wherein the input / output interface is used to input and / or output signals, and the processing circuit is used to execute the method according to any one of claims 1 to 6, or the processing circuit is used to execute the method according to any one of claims 7 to 12.
16. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program or instructions, and when the computer program or the instructions are run on a computer, the method of any one of claims 1 to 6 is executed, or the method of any one of claims 7 to 12 is executed.
17. A communication method, characterized in that: include: The second device performs the method according to any one of claims 1 to 6; The first device performs the method as claimed in any one of claims 7 to 12.
Citation Information
Cited By
Communication method and device
EP4797751A1
Communication method and device
WO2025103053A1