WO2022261984A1 - 通信方法和通信装置 - Google Patents

通信方法和通信装置 Download PDF

Info

Publication number
WO2022261984A1
WO2022261984A1 PCT/CN2021/101080 CN2021101080W WO2022261984A1 WO 2022261984 A1 WO2022261984 A1 WO 2022261984A1 CN 2021101080 W CN2021101080 W CN 2021101080W WO 2022261984 A1 WO2022261984 A1 WO 2022261984A1
Authority
WO
WIPO (PCT)
Prior art keywords
block
codeword
check
information
data
Prior art date
Application number
PCT/CN2021/101080
Other languages
English (en)
French (fr)
Inventor
金丽丽
王键
程型清
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2021/101080 priority Critical patent/WO2022261984A1/zh
Priority to PCT/CN2021/105561 priority patent/WO2022262030A1/zh
Priority to CN202180098967.6A priority patent/CN117426060A/zh
Priority to EP21945612.6A priority patent/EP4351048A1/en
Publication of WO2022261984A1 publication Critical patent/WO2022261984A1/zh
Priority to US18/543,647 priority patent/US20240121031A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0057Block codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0061Error detection codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • H04L69/322Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
    • H04L69/324Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the data link layer [OSI layer 2], e.g. HDLC
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/007Unequal error protection

Definitions

  • the present application relates to the communication field, and more specifically, to a communication method and a communication device, especially a short-distance communication method and device.
  • the transmitting end communication device may transmit data to the receiving end communication device.
  • the communication device at the receiving end may report the situation of receiving data to the communication device at the sending end.
  • the communication device at the sending end may send data and a check code to the communication device at the receiving end.
  • the receiving end communication device can check the check code to determine whether the receiving end device successfully receives the data. If the communication device at the receiving end can successfully receive the data, the communication device at the receiving end can send an acknowledgment (acknowledge, ACK) signal to the communication device at the sending end; Negative acknowledgment (NACK) signal.
  • the communication device at the sending end may determine whether to resend the data to the communication device at the receiving end according to the received data. This process may be called an automatic retransmission process. Communication quality and communication efficiency during automatic retransmission are always concerned.
  • the present application provides a communication method and a communication device.
  • the communication method is conducive to taking into account or even improving the communication quality and communication efficiency between the communication device at the sending end and the communication device at the receiving end.
  • a communication method includes:
  • the data packet including at least one first codeword and at least one second codeword, the code length of the first codeword being longer than the code length of the second codeword;
  • the at least one first codeword is obtained by performing first encoding on at least one first coding block, and each first coding block in the at least one first coding block contains a first information block and is used for checking The first check block of the first information block, the at least one second codeword is obtained by performing at least one second encoding on at least one second encoding block, and the at least one second encoding block includes the second A check block, the second check block is used to check part of the information in the at least one second coding block.
  • An encoded block may refer to bit data before encoding.
  • a codeword may refer to encoded bit data.
  • the code length may refer to the length of a codeword.
  • the information content in the coding block may include an information block and a check block.
  • a check block may refer to bit data with a check function. An information block may not have a check function.
  • a data packet including multiple codewords can be obtained by segmentation and encoding.
  • the data packet can include two codewords with different code lengths, and codewords with different code lengths can be obtained by encoding separately.
  • the code length of each code word satisfies the preset code length. Therefore, the rate matching can be omitted, which is beneficial to save the power consumption of data transmission.
  • each first code word with a relatively large code length can be checked by the first check block, and multiple second code blocks with smaller code lengths can be checked together, which is beneficial to reduce the number of check blocks in the data packet.
  • the proportion of overhead is reduced, signaling overhead is reduced, and communication efficiency is improved.
  • the method further includes:
  • the first part of the information to be transmitted may have a relatively large number of bits, which may be suitable for being divided into first codewords.
  • the first part may be checked and encoded to obtain a first check block.
  • the second check block is generated according to at least part of information in the at least one second encoding block except for the second check block.
  • the number of bits of the second part of the information to be sent is not suitable for being divided into the first codeword, then the second part can be divided into a plurality of second codewords, and the code length of each second codeword can be relatively small, The second part of the check can be checked and encoded to obtain a second check block.
  • the at least one second coding block contains redundant information, and in the at least one second coding block, the redundant information is located in the second before or after the checksum.
  • the plurality of second encoding blocks may include redundant information, so that each second encoding block can be Satisfying the preset coding block code length, the code length of each second code word satisfies the preset code length.
  • the redundant information is located before the second check block, and the second check block can check all the information in multiple second code blocks except the second check block, and the second check block can be located in multiple second code blocks At the end of , the redundant information bits are checked by the second check block.
  • the redundant information is located after the second check block, and the second check block can check part of the information in multiple second coding blocks except the second check block, and the redundant information bits are not checked by the second check block , the block error rate is relatively low.
  • the second check block is located in one or more consecutive coding blocks.
  • the minimum number of bits of the second coding block may not be limited by the number of bits of the second check block, which is beneficial to improve the flexibility of segmentation of multiple second coding blocks.
  • the data packet includes L data groups, wherein the L data groups include L1 first data groups and one second data group, so Each of the L 1 first data groups includes n first codewords, the second data group includes the at least one second codeword, and the L 1 and n are greater than or equal to 1.
  • the method further includes:
  • Multiple codewords can be divided into multiple data groups, and the receiving device can feed back the sending and receiving of data for L data groups. Compared with the implementation of feeding back the sending and receiving status of each check block, it is beneficial to reduce the signaling of feedback information overhead.
  • the multiple first data groups include three types of data groups: the first data group, the second data group, and the third data group, which is beneficial to simplify the division of the data groups.
  • the at least one first codeword has the same code length.
  • the code length of the first codeword may correspond to the maximum code length of the data packet.
  • the encoding and decoding of the first codeword may be related to the maximum code length, which is beneficial to simplify the sending and receiving of the first codeword.
  • the at least one second codeword includes at least two second codewords with different coding rates.
  • the code lengths of a plurality of second code words are different, and a plurality of second code words can also have different code rates. Transceiver performance.
  • the sum of the code lengths of the at least one second codeword is smaller than the code length of the first codeword.
  • Most of the information to be sent is coded into a first codeword with a relatively long code length, and a small part of the information to be sent is coded into multiple second codewords with a relatively short code length, which is conducive to simplifying the sending and receiving of data packets.
  • a communication method in a second aspect, includes:
  • the data packet includes at least one first codeword and at least one second codeword, and the code length of the first codeword is greater than the code length of the second codeword;
  • first decoding on the at least one first codeword includes a first information block and a first check block for checking the first information block
  • the at least one second coding block includes a second check block, so The second check block is used to check part of the information in the at least one second coding block.
  • a data packet including multiple codewords can be decoded to obtain any number of bits of information.
  • the data packet can include two codewords with different code lengths.
  • the code length of each codeword meets the preset code length. Codes with different code lengths Words can be decoded individually. Therefore, the rate matching can be omitted, which is beneficial to save the power consumption of data transmission.
  • each first code word with a relatively large code length can be checked by the first check block, and multiple second code blocks with smaller code lengths can be checked together, which is beneficial to reduce the number of check blocks in the code block. The proportion of overhead is reduced, signaling overhead is reduced, and communication efficiency is improved.
  • the first information block of the first coding block is obtained by checking and decoding according to the first check block of the first coding block.
  • the received first codeword can be decoded to obtain the first part of information with a relatively large number of bits.
  • the first part of information can be verified and decoded to obtain a first verification block.
  • At least part of the information in the at least one second encoding block other than the second check block is checked and decoded according to the second check block get.
  • the received multiple second codewords can be decoded to obtain the second part of information with a relatively small number of bits.
  • This second part of information may not be suitable to belong to the first codeword.
  • Information other than the second check block in the second part of information can be obtained by checking and decoding according to the second check block.
  • the at least one second coding block contains redundant information, and in the at least one second coding block, the redundant information is located in the second before or after the checksum.
  • the plurality of second encoding blocks may include redundant information, so that each second encoding block can satisfy the preset The code length of the coding block, the code length of each second code word meets the preset code length.
  • the redundant information is located before the second check block, and the second check block can check all the information in multiple second code blocks except the second check block, and the second check block can be located in multiple second code blocks At the end of , the redundant information bits are checked by the second check block.
  • the redundant information is located after the second check block, and the second check block can check part of the information in multiple second coding blocks except the second check block, and the redundant information bits are not checked by the second check block , the block error rate is relatively low.
  • the second check block is located in one or more consecutive coding blocks.
  • the minimum number of bits of the second coding block can not be limited by the number of bits of the second check block, and the second check block can be encoded to one or more second codewords respectively, which is beneficial to improve the performance of the second check block Segmentation flexibility for encoding multiple second encoding blocks.
  • the data packet includes L data groups, wherein the L data groups include L1 first data groups and one second data group, so Each of the L 1 first data groups includes n first codewords, the second data group includes the at least one second codeword, and the L 1 and n are greater than or equal to 1.
  • the number of first codewords in the multiple first data groups may be the same, which is beneficial to balance the block error rates of the multiple first data groups.
  • the method further includes:
  • Multiple codewords can be divided into multiple data groups, and the receiving device can feed back the sending and receiving of data for L data groups. Compared with the implementation of feeding back the sending and receiving status of each check block, it is beneficial to reduce the signaling of feedback information overhead.
  • the multiple first data groups include three types of data groups: the first data group, the second data group, and the third data group, which is beneficial to simplify the division of the data groups.
  • the at least one first codeword has the same code length.
  • the code length of the first codeword may correspond to the maximum code length of the data packet.
  • the encoding and decoding of the first codeword may be related to the maximum code length, which is beneficial to simplify the sending and receiving of the first codeword.
  • the at least one second codeword includes at least two second codewords with different coding rates.
  • the code lengths of a plurality of second codewords are different, and the possible code rates of a plurality of second codewords are different.
  • the code length of a codeword is smaller, and the code rate is smaller, which is beneficial to make a plurality of second codewords have similar Transceiver performance.
  • the sum of the code lengths of the at least one second codeword is smaller than the code length of the first codeword.
  • the first codeword with a relatively long code length can be decoded to obtain most of the valid information, and the multiple second codewords with a relatively short code length can be decoded to obtain a small part of coded valid information, which is beneficial to simplify the sending and receiving of data packets.
  • a communication method includes:
  • the multiple second codewords are obtained by performing at least one second encoding on multiple second coded blocks
  • the multiple second coded blocks include a second check block
  • the second check block It is used to check at least part of the information in the plurality of second coded blocks.
  • the code length of each second codeword is smaller than a preset maximum code length.
  • the multiple codewords can be obtained through encoding respectively, and the code length of each codeword satisfies the preset code length. Therefore, it is beneficial to save time-consuming data transmission, for example, the time for rate matching can be saved.
  • verifying multiple encoded blocks with smaller code lengths together helps reduce the proportion of the code length of the verification block in the data packet, reduces signaling overhead, and improves communication efficiency.
  • the second check block is generated according to at least part of the information in the at least one second encoding block except for the second check block.
  • the multiple second coding blocks contain redundant information, and among the multiple second coding blocks, the redundant information is located in the second before or after the checksum.
  • the second check block is located in one or more consecutive coding blocks.
  • the data includes a second data group, and the second data group includes the plurality of second codewords.
  • the method further includes:
  • the multiple second codewords include at least two second codewords with different coding rates.
  • a communication method comprising:
  • a data packet including multiple codewords can be decoded to obtain information of any number of bits, the code length of each codeword meets the preset code length, and multiple codewords can be decoded separately. Therefore, it is beneficial to save the time consumption of data transmission, for example, the time for rate matching can be saved.
  • verifying multiple encoded blocks with smaller code lengths together helps reduce the proportion of the code length of the verification block in the data packet, reduces signaling overhead, and improves communication efficiency.
  • At least part of the information in the at least one second coding block other than the second check block is checked and decoded according to the second check block get.
  • the multiple second coding blocks contain redundant information, and among the multiple second coding blocks, the redundant information is located in the second before or after the checksum.
  • the second check block is located in one or more consecutive coding blocks.
  • the data includes a second data group, and the second data group includes the plurality of second codewords.
  • the method further includes:
  • the multiple second codewords include at least two second codewords with different coding rates.
  • a communication device including:
  • a processing module configured to generate a data packet, the data packet includes at least one first codeword and at least one second codeword, and the code length of the first codeword is greater than the code length of the second codeword;
  • a sending module configured to send the data packet
  • the at least one first codeword is obtained by performing first encoding on at least one first coding block, and each first coding block in the at least one first coding block contains a first information block and is used for checking The first check block of the first information block, the at least one second codeword is obtained by performing at least one second encoding on at least one second encoding block, and the at least one second encoding block includes the second A check block, the second check block is used to check part of the information in the at least one second coding block.
  • the device further includes:
  • an acquisition module configured to acquire the at least one first information block
  • the processing module is further configured to generate a first check block corresponding to each first information block in the at least one first information block.
  • the second check block is generated according to at least part of information in the at least one second encoding block except for the second check block.
  • the at least one second coding block contains redundant information, and in the at least one second coding block, the redundant information is located in the second before or after the checksum.
  • the second check block is located in one or more consecutive coding blocks.
  • the data packet includes L data groups, wherein the L data groups include L1 first data groups and one second data group, so Each of the L 1 first data groups includes n first codewords, the second data group includes the at least one second codeword, and the L 1 and n are greater than or equal to 1.
  • the device further includes:
  • a receiving module configured to receive L pieces of feedback information corresponding to the data packets, the L pieces of feedback information corresponding to the L data groups.
  • the code lengths of the at least one first codeword are the same.
  • the at least one second codeword includes at least two second codewords with different coding rates.
  • the sum of the code lengths of the at least one second codeword is smaller than the code length of the first codeword.
  • a communication device including:
  • a receiving module configured to receive a data packet, the data packet includes at least one first codeword and at least one second codeword, and the code length of the first codeword is longer than the code length of the second codeword;
  • a processing module that performs first decoding on the at least one first codeword, and performs at least one second decoding on the at least one second codeword to obtain at least one first coded block and at least one second coded block, so
  • Each first coding block in the at least one first coding block includes a first information block and a first check block for checking the first information block
  • the at least one second coding block includes a second check block
  • the second check block is used to check part of the information in the at least one second encoding block.
  • the first information block of the first coding block is obtained by checking and decoding according to the first check block of the first coding block.
  • At least part of the information in the at least one second coding block other than the second check block is checked and decoded according to the second check block get.
  • the at least one second coding block contains redundant information, and in the at least one second coding block, the redundant information is located in the second before or after the checksum.
  • the second check block is located in one or more consecutive coding blocks.
  • the data packet includes L data groups, wherein the L data groups include L1 first data groups and one second data group, so Each of the L 1 first data groups includes n first codewords, the second data group includes the at least one second codeword, and the L 1 and n are greater than or equal to 1.
  • the device further includes:
  • a sending module configured to send L pieces of feedback information corresponding to the data packets, the L pieces of feedback information corresponding to the L data groups.
  • the code lengths of the at least one first codeword are the same.
  • the at least one second codeword includes at least two second codewords with different coding rates.
  • the sum of the code lengths of the at least one second codeword is smaller than the code length of the first codeword.
  • a communication device in a seventh aspect, includes:
  • a processing module configured to generate a data packet, the data packet including a plurality of second codewords
  • a sending module configured to send the data packet
  • the multiple second codewords are obtained by performing at least one second encoding on multiple second coded blocks
  • the multiple second coded blocks include a second check block
  • the second check block It is used for checking part of the information in the plurality of second coding blocks.
  • the second check block is generated according to at least part of information in the at least one second encoding block except for the second check block.
  • the multiple second coding blocks contain redundant information, and among the multiple second coding blocks, the redundant information is located in the second before or after the checksum.
  • the second check block is located in one or more consecutive coding blocks.
  • the data includes a second data group, and the second data group includes the plurality of second codewords.
  • the device further includes:
  • a receiving module configured to receive feedback information corresponding to the second data group.
  • the multiple second codewords include at least two second codewords with different coding rates.
  • a communication device includes:
  • a receiving module configured to receive a data packet, the data packet including a plurality of second codewords
  • a processing module configured to perform at least one second decoding on the plurality of second codewords to obtain a plurality of second encoding blocks, the plurality of second encoding blocks include a second check block, and the second check block
  • the verification block is used to verify part of the information in the plurality of second coding blocks.
  • At least part of the information in the at least one second coding block other than the second check block is checked and decoded according to the second check block get.
  • the multiple second coding blocks contain redundant information, and among the multiple second coding blocks, the redundant information is located in the second before or after the checksum.
  • the second check block is located in one or more consecutive coding blocks.
  • the data includes a second data group, and the second data group includes the plurality of second codewords.
  • the device further includes:
  • a sending module configured to send feedback information corresponding to the second data group.
  • the multiple second codewords include at least two second codewords with different coding rates.
  • a communication device in a ninth aspect, includes: at least one processor and a communication interface, and the communication interface is used for the communication device to exchange information with other communication devices.
  • the communication device When executed in one processor, the communication device is made to implement the communication method described in any possible implementation manner of the first aspect to the fourth aspect or the first aspect to the fourth aspect.
  • a communication device including the communication device configured to implement the communication device described in any possible implementation manner of the fifth aspect to the eighth aspect or the fifth aspect to the eighth aspect.
  • a computer program storage medium stores program codes, and when the computer program codes run on a computer, the computer executes the above-mentioned first to fourth aspects or the first aspect.
  • a chip system in a twelfth aspect, includes at least one processor, when the program instructions are executed in the at least one processor, so that the above-mentioned first aspect to the fourth aspect or the first aspect to the The communication method described in any possible implementation manner of the fourth aspect is implemented.
  • FIG. 1 is a schematic diagram of a communication scenario according to an embodiment of the present application.
  • Fig. 2 is a schematic structural diagram of a data frame.
  • Fig. 3 is a schematic structural diagram of data retransmission.
  • Fig. 4 is a schematic flowchart of a communication method provided by an embodiment of the present application.
  • Fig. 5 is a schematic structural diagram of a data packet provided by an embodiment of the present application.
  • Fig. 6 is a schematic structural diagram of a coding first coding block provided by an embodiment of the present application.
  • Fig. 7 is a schematic structural diagram of encoding a single second encoding block provided by an embodiment of the present application.
  • Fig. 8 is a schematic structural diagram of encoding multiple second encoding blocks provided by an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of another encoding of multiple second encoding blocks provided by an embodiment of the present application.
  • FIG. 10 is a schematic flowchart of another communication method provided by an embodiment of the present application.
  • Fig. 11 is a schematic structural diagram of another data packet provided by the embodiment of the present application.
  • Fig. 12 is a schematic flowchart of another communication method provided by an embodiment of the present application.
  • Fig. 13 is a schematic structural diagram of another data packet provided by the embodiment of the present application.
  • Fig. 14 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
  • Fig. 15 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
  • the technical solution of the embodiment of the present application can be applied to various communication systems, for example: global system of mobile communication (global system of mobile communication, GSM) system, code division multiple access (code division multiple access, CDMA) system, broadband code division multiple access (wideband code division multiple access, WCDMA) system, general packet radio service (general packet radio service, GPRS), long term evolution (long term evolution, LTE) system, LTE frequency division duplex (frequency division duplex, FDD) system, LTE Time Division Duplex (TDD), Universal Mobile Telecommunications System (UMTS), Worldwide Interoperability for Microwave Access (WiMAX) Communication System, 5th Generation (5G) system or new wireless (New Radio, NR) and other millimeter-wave communication systems, the sixth generation (6th generation, 6G) system, various existing short-distance communication systems, future evolved short-distance communication systems or general short-distance communication systems Wait.
  • GSM global system of mobile communication
  • CDMA code division multiple access
  • WCDMA wideband code division multiple access
  • the terminal device in the embodiment of the present application may refer to a communication node, such as user equipment, access terminal, subscriber unit, subscriber station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device , user agent or user device, customer premise equipment.
  • a communication node such as user equipment, access terminal, subscriber unit, subscriber station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device , user agent or user device, customer premise equipment.
  • 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 Functional handheld devices, computing devices or other processing devices connected to wireless modems, vehicle-mounted devices, wearable devices, terminal devices in 5G networks or terminal devices in the evolved public land mobile network (PLMN) etc., as another example, may be a terminal device supporting short-distance communication, which is not limited in this embodiment of the present application.
  • Terminal equipment can also refer to intelligent transportation equipment, such as vehicles, drones, and on-board chips.
  • Terminal equipment can also refer to intelligent manufacturing equipment, such as industrial manufacturing systems, battery management systems, etc.
  • Terminal devices can also refer to smart home devices, such as TVs, stereos, cameras, voice assistants, smart curtains, and smart lamps.
  • Terminal equipment may also refer to intelligent terminal equipment, such as mobile phones, tablet computers, earphones, watches, microphones, and vehicle-mounted equipment.
  • the network device in the embodiment of the present application may be a device for communicating with a terminal device, and may also be called a communication node, which may be a base transceiver station (BTS) in a GSM system or CDMA, or may be a WCDMA
  • the base station (NodeB, NB) in the system can also be the evolved base station (evolutional NodeB, eNB or eNodeB) in the LTE system, or it can be the wireless control in the cloud radio access network (cloud radio access network, CRAN) scenario device, or the network device may be a relay station, an access point, a vehicle device, a wearable device, and a network device in a 5G network or a network device in a future evolved PLMN network.
  • BTS base transceiver station
  • eNodeB evolved base station
  • CRAN cloud radio access network
  • the network device may be a relay station, an access point, a vehicle device, a wearable device, and a network device in a
  • a communication device suitable for future communication technologies such as 6G, or the like, may be a communication device supporting short-distance communication, which is not limited in this embodiment of the present application.
  • Network equipment can also refer to intelligent transportation equipment, such as vehicles, drones, and on-board chips.
  • Network devices can also refer to smart manufacturing devices, such as industrial manufacturing systems, battery management systems, etc.
  • Network devices can also refer to smart home devices, such as TVs, stereos, cameras, voice assistants, smart curtains, smart lamps, etc.
  • Network devices may also refer to smart network devices, such as mobile phones, tablet computers, earphones, watches, microphones, and vehicle-mounted devices.
  • a terminal device or a network device includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer.
  • the hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and memory (also called main memory).
  • the operating system can be any one or more computer operating systems that realize business processing through processes, for example, Harmony operating system, Linux operating system, Unix operating system, Android operating system, iOS operating system or windows operating system, etc.
  • the application layer includes applications such as browsers, address books, word processing software, and instant messaging software.
  • the embodiment of the present application does not specifically limit the specific structure of the execution subject of the method provided by the embodiment of the present application, as long as the program that records the code of the method provided by the embodiment of the present application can be run to provide the method according to the embodiment of the present application.
  • the execution subject of the method provided by the embodiment of the present application may be a terminal device or a network device, or a functional module in a terminal device or a network device that can call a program and execute the program.
  • various aspects or features of the present application may be implemented as a method, apparatus, or article of manufacture using standard programming and/or engineering techniques.
  • article of manufacture covers a computer program accessible from any computer readable device, carrier or media.
  • computer-readable media may include, but are not limited to: magnetic storage devices (e.g., hard disks, floppy disks, or tapes, etc.), optical disks (e.g., compact discs (compact discs, CDs), digital versatile discs (digital versatile discs, DVDs), etc.), smart cards and flash memory devices (for example, erasable programmable read-only memory (EPROM), card, stick or key drive, etc.).
  • magnetic storage devices e.g., hard disks, floppy disks, or tapes, etc.
  • optical disks e.g., compact discs (compact discs, CDs), digital versatile discs (digital versatile discs, DVDs), etc.
  • smart cards and flash memory devices for example, erasable programmable read-only
  • various storage media described herein can represent one or more devices and/or other machine-readable media for storing information.
  • the term "machine-readable medium” may include, but is not limited to, wireless channels and various other media capable of storing, containing and/or carrying instructions and/or data.
  • FIG. 1 is a schematic diagram of a communication system of the present application.
  • the communication system in FIG. 1 may include at least one terminal (such as terminal 10 , terminal 20 , terminal 30 , terminal 40 , terminal 50 and terminal 60 ) and a network device 70 .
  • the network device 70 is used to provide communication services for the terminal and access the core network.
  • the terminal can access the network by searching for synchronization signals and broadcast signals sent by the network device 70, so as to communicate with the network.
  • the terminal 10 , the terminal 20 , the terminal 30 , the terminal 40 and the terminal 60 in FIG. 1 can perform uplink and downlink transmission with the network device 70 .
  • the network device 70 can send downlink signals to the terminal 10, the terminal 20, the terminal 30, the terminal 40, and the terminal 60, and can also receive the uplink signals sent by the terminal 10, the terminal 20, the terminal 30, the terminal 40, and the terminal 60.
  • terminal 40 , terminal 50 and terminal 60 can also be regarded as a communication system, and terminal 60 can send downlink signals to terminal 40 and terminal 50 , and can also receive uplink signals sent by terminal 40 and terminal 50 .
  • embodiments of the present application may be applied to a communication system including one or more network devices, and may also be applied to a communication system including one or more terminals, which is not limited in this application.
  • a network device can send data or control signaling to one or more terminals. Multiple network devices can also send data or control signaling to one or more terminals at the same time.
  • Fig. 2 shows a schematic structural diagram of a data frame.
  • the data frame shown in FIG. 2 may be sent by the sending device to the receiving device.
  • one of the sending device and the receiving device may be a terminal device, and the other may be a network device.
  • both the sending device and the receiving device may be terminal devices.
  • both the sending device and the receiving device may be network devices.
  • the data frame may include a preamble, an access address, a data unit (such as a protocol data unit (protocol data unit, PDU)), and a check block (cyclic redundancy check, CRC).
  • the preamble can be used, for example, to implement frequency synchronization, symbol timing estimation (STE), automatic gain control (automatic gain control, AGC) and the like.
  • the access address may indicate, for example, the address of the receiving device.
  • a data unit may include, for example, a header and valid data (or called payload).
  • the header can be used, for example, to indicate the type of the data unit, the type of device address for sending data, the type of device address for receiving data, the number of bytes of valid data, and the like.
  • the check block is used to check the data unit. For example, the sending device can generate a check block according to the data unit. The receiving device can check whether the data unit is wrong according to the check block.
  • the data frame may also include a connection interval (connection interval, CI), an algorithm terminator (termination, TERM) and the like.
  • connection interval connection interval
  • TERM algorithm terminator
  • a sending device may determine information to send to a receiving device.
  • the sending device can encode the information according to a certain bit rate to obtain an encoded bit stream.
  • the sending device needs to perform rate matching on the coded code stream. It can be seen from this that the sending device must at least include an encoding module and a rate matching module before it can send data to the receiving device.
  • FIG. 3 shows a schematic structural diagram of the retransmission of the data frame shown in FIG. 2 .
  • a sending device may determine a number of data frames to be sent to a receiving device.
  • a data frame may be a data structure including data units and check blocks.
  • a sending device may send multiple data frames to a receiving device.
  • the receiving device can receive multiple data frames from the sending device, and check each data frame.
  • the receiving device may send an acknowledgment message (acknowledge character, ACK) to the sending device, and the acknowledgment message may indicate that the receiving device correctly received the data frame sent by the sending device.
  • the sending device can continue sending subsequent data frames.
  • the receiving device may send a negative acknowledgment character (NACK) to the sending device, and the acknowledgment message may indicate that the receiving device has not correctly received the data frame sent by the sending device.
  • NACK negative acknowledgment character
  • the sending device can resend the erroneously transmitted data frame after receiving the acknowledgment message from the receiving device.
  • the sending device can resend the data frame to the receiving device.
  • the sending device may determine multiple data frames to be sent to the receiving device, and the multiple data frames may include data frame 0, data frame 1, data frame 2, data frame 3, and data frame 4.
  • the sending device may send data frame 0, data frame 1, data frame 2, data frame 3, and data frame 4 to the receiving device.
  • the receiving device may receive data frame 0, data frame 1, data frame 2, data frame 3, and data frame 4 from the sending device, and check data frame 0, data frame 1, and data frame 2 respectively.
  • the receiving device can correctly receive data frame 0 and data frame 1 from the sending device, and receive data frame 2 incorrectly. Since the data frame 2 is not received correctly, the receiving device may not check the received data frame 3 and data frame 4 .
  • the receiving device may send an acknowledgment message for data frame 0, data frame 1, and a deny message for data frame 2 to the sending device.
  • the sending device may resend data frame 2, data frame 3, and data frame 4 to the receiving device according to the deny message for data frame 2.
  • the receiving device may receive data frame 3 and data frame 4 correctly.
  • the sending device may send data frame 3 and data frame 4 to the receiving device at least twice, resulting in relatively low communication efficiency.
  • FIG. 4 is a schematic flowchart of a communication method 400 provided by an embodiment of the present application.
  • the sending device generates a data packet, where the data packet includes at least one first codeword and at least one second codeword, where the code length of the first codeword is greater than the code length of the second codeword, where the The at least one first codeword is obtained by performing first encoding on at least one first coding block, and each first coding block in the at least one first coding block contains a first information block and is used to verify the first coding block A first check block of an information block, the at least one second codeword is obtained by performing at least one second encoding on at least one second coded block, and the at least one second coded block includes a second check block , the second check block is used to check part of the information in the at least one second coding block.
  • the sending device sends the data packet.
  • the receiving device receives the data packet from the sending device.
  • the receiving device performs first decoding on the at least one first codeword in the data packet to obtain the at least one first coding block; the receiving device may decode the at least one second codeword in the data packet The codeword is subjected to at least one second decoding to obtain the at least one second coded block.
  • the method shown in FIG. 4 may be executed by an electronic device with a communication function.
  • the sending device may be a terminal device, and the receiving device may be a network device.
  • the sending device may be a network device, and the receiving device may be a terminal device.
  • the sending device may be terminal device 1 , and the receiving device may be terminal device 2 .
  • Fig. 5 shows the structure of a data packet.
  • the data packet may include H first codewords and M second codewords. It should be understood that the data packet may include more or less first codewords, and may also include more or less second codewords. For example, a data packet may only include 1 first codeword and 1 second codeword.
  • the sending device acquires at least one first information block; the sending device generates at least one first check block in the at least one first coded block, and the first check block and the first check block Corresponds to the first information block in the first coding block where it is located.
  • the manner of generating at least one first coded block may include, for example, check coding, such as cyclic redundancy check (cyclic redundancy check, CRC) coding.
  • the first information block of the first coding block is obtained at least according to check decoding (such as CRC decoding) of the first check block in the first coding block.
  • the receiving device may input the first information block and the first check block into a check polynomial. If the result of the check polynomial is zero, the check of the first information block is successful.
  • the first encoding block may include redundant information (the description of the redundant information will be elaborated below).
  • the first information block of the first coding block may be obtained through de-redundancy operation and check decoding (such as CRC decoding) according to the first check block in the first coding block.
  • redundant information may be located after the first parity block. After removing redundant information in the first encoding block, the receiving device may input the first information block and the first check block into a check polynomial. If the result of the check polynomial is zero, the check of the first information block is successful.
  • the redundant information may be located before the first check block.
  • the receiving device may input the first information block, the redundant information and the first check block into the check polynomial, and if the result of the check polynomial is zero, the check of the first information block and the redundant information is successful. Afterwards, the receiving device may remove the redundant information to obtain the first information block.
  • the sending device may acquire a first coding block, and the first coding block may include a first information block and a first check block.
  • the first information block and the first check block in the first encoding block correspond to each other.
  • the first check block may be used to check the corresponding first information block, that is, the first check block may be used to check the first information block in the first encoding block where the first check block is located.
  • the sending device may generate a corresponding first check block according to the first information block.
  • the sending device may perform first encoding on the first encoding block to obtain the first codeword.
  • the receiving device performs first decoding on the first codeword in the data packet to obtain a first coded block, where the first coded block may include a first information block and a first check block.
  • the receiving device may check whether the first information block in the first encoding block where the first check block is located is correct according to the first check block, so as to determine to feed back a confirmation message or a negative message to the sending device.
  • the sending device may determine whether to retransmit the first codeword according to the feedback from the receiving device.
  • the data packet may include a plurality of first codewords.
  • the sending device Before generating the multiple first codewords, the sending device may acquire multiple first information blocks.
  • the sending device may perform check coding on each of the multiple first information blocks to obtain multiple first check blocks, and the multiple first check blocks are in one-to-one correspondence with the multiple first information blocks.
  • Any first check block may be concatenated with the corresponding first information block.
  • Any first check block may be located after the corresponding first information block.
  • Any first check block and the corresponding first information block may constitute a first encoding block.
  • the multiple first information blocks and the multiple first parity blocks may form multiple first coding blocks, so that the sending device can acquire multiple first coding blocks.
  • the first check block in the first coding block of the upper level may be concatenated with the first information block in the first coding block of the lower level.
  • the first information block in the first coding block of the next level may be located after the first check block in the first coding block of the previous level.
  • the sending device may perform the first encoding on each of the multiple first encoding blocks (the multiple first encoding blocks may perform the first encoding synchronously or sequentially), and then obtain A plurality of first codewords.
  • the number of bits of the first information block may be K 1 ', and the number of bits of the first check block may be K 1 ".
  • the number of bits of the first encoding block may be K 1 , K 1 ⁇ K 1 ' +K 1 ".
  • Performing the first encoding on the first encoding block can obtain the first codeword, and the code length (or number of bits) of the first codeword can be N 1 .
  • the code rate of the first encoding may be K 1 /N 1 .
  • the data packet may include multiple first codewords.
  • the sending device Before generating the multiple first codewords, the sending device may acquire the multiple first coding blocks, and the multiple first coding blocks may correspond to the multiple first codewords one-to-one.
  • the transmitting device may perform first encoding on each first encoding block.
  • the code length of each first codeword may be the same, and the number of bits of each first coding block may be the same.
  • the code rate of each first code may be the same.
  • Multiple first coded blocks may undergo the same type of coding to generate multiple first codewords.
  • the first encoding may belong to polar code (Polar code, Polar Code, etc.) encoding, for example.
  • polar code Polar code, Polar Code, etc.
  • the second check block is generated according to at least part of the information in the at least one second coding block except the second check block.
  • a manner of generating at least one second coded block may include, for example, check coding, such as CRC coding.
  • the manner of generating the at least one second coding block may further include data segmentation, so as to form multiple second coding blocks.
  • the manner of generating the at least one second encoding block may further include adding redundancy, that is, the at least one second encoding block may include redundant information.
  • At least part of the information in the at least one second encoding block except for the second check block is obtained according to check decoding (such as CRC decoding) of the second check block.
  • the receiving device may input the at least one second encoding block into the check polynomial. If the result of the check polynomial is zero, the check of the first information block is successful.
  • At least one second coding block may include redundant information. At least part of the information in the at least one second coding block other than the second check block may be obtained by performing a de-redundancy operation and checking and decoding according to the second check block.
  • the redundant information may be located after the second check block. After removing the redundant information in the at least one second coding block, the receiving device may input information except the redundant information in the at least one second coding block into a check polynomial. If the result of the check polynomial is zero, the verification of information other than the second check block and redundant information in at least one second coding block succeeds.
  • the redundant information may be located before the first check block.
  • the receiving device may input information (including redundant information) in the at least one second coding block except the second check block into a check polynomial, and if the result of the check polynomial is zero, then the at least one second coding block The verification of information other than the second verification block succeeds. Afterwards, the receiving device may remove the redundant information to obtain information other than the second check block and the redundant information in at least one second encoding block.
  • the data packet may include a single second codeword.
  • the sending device may acquire a single second coded block, and the single second coded block may include a second information block and a second check block. Wherein, the second information block and the second check block in the single second encoding block correspond to each other.
  • the second check block may be used to check the corresponding second information block.
  • the sending device may generate a corresponding second check block according to the second information block.
  • the sending device may perform second encoding on a single second encoding block to obtain a single second codeword.
  • the receiving device performs second decoding on a single second codeword in the data packet to obtain a second coded block, and the second coded block may include a second information block and a second check block.
  • the receiving device may check whether the second information block corresponding to the second check block is correct according to the second check block, so as to determine to feed back an acknowledgment message or a denial message to the sending device.
  • the sending device may determine whether to retransmit a single second codeword according to the feedback from the receiving device.
  • the single second codeword contains redundant information, and in the single second codeword, the redundant information is located before or after the second check block. If the redundant information is located before the second check block, then the second check block can be used to check the redundant information. If the redundant information is located after the second check block, the second check block may not be used to check the redundant information, for example, the second check block may not be related to the redundant information.
  • Redundant information may refer to information other than the minimum information required for transmitting information, which may be referred to as redundant information.
  • all the information bits of the redundant information may take the value of 0 or 1, for example.
  • the redundant information being located before the second check block may refer to that the position of the redundant information in the single second encoding block is located before the second check block.
  • the redundant information being located after the second check block may refer to that the position of the redundant information in the single second coding block is located after the second check block.
  • the number of bits of the second information block may be K 2 ', and the number of bits of the second check block may be K 2 ".
  • the number of bits of the second encoding block may be K 2 , K 2 ⁇ K 2 ' +K 2 ".
  • the second encoding is performed on the second encoding block , the second codeword can be obtained, and the code length (or number of bits) of the second codeword can be N 2 .
  • the code rate of the second code can be K 2 /N 2 .
  • the code length of the single second codeword may be smaller than the code length of the first codeword.
  • the number of bits of the second coding block and the number of bits of the first coding block may be different.
  • the code rate of the first encoding and the code rate of the second encoding may be the same or different.
  • the number of bits in the first encoding block is 1000
  • the code length of the first codeword is 1024
  • the code rate of the first encoding may be 1000/1024.
  • the number of bits in the second encoding block is 400
  • the code length of the second codeword is 512
  • the code rate of the second encoding may be 400/512.
  • the number of bits in the first encoding block is 1000
  • the code length of the first codeword is 1024
  • the code rate of the first encoding may be 1000/1024.
  • the number of bits in the second encoding block is 500
  • the code length of the second codeword is 512
  • the code rate of the second encoding may be 500/512.
  • the number of bits in the first encoding block is 1000
  • the code length of the first codeword is 1024
  • the code rate of the first encoding may be 1000/1024.
  • the number of bits in the second encoding block is 60
  • the code length of the second codeword is 128, and the code rate of the second encoding may be 60/128.
  • the data packet may include multiple second codewords.
  • the sending device may acquire multiple second encoding blocks.
  • the plurality of second coding blocks may include a second coding block 1 , a second coding block 2 , . . . , a second coding block M-1, and a second coding block M.
  • the plurality of second encoding blocks may include a second parity block.
  • the second check block is located in one or more consecutive coding blocks. That is to say, the second check block may be located in one of the multiple second encoding blocks, or the second check block may be located in multiple consecutive encoding blocks among the multiple second encoding blocks. As shown in FIG. 8 and FIG.
  • the second check block may be shown by a pattern filled with oblique lines.
  • a plurality of consecutive coding blocks may mean that a plurality of coding blocks are consecutive in position.
  • a plurality of continuous coding blocks include K coding blocks, which are respectively coding block 1, coding block 2, ..., coding block K-1, coding block K, wherein, coding block k is in the same position as coding block k-1 Adjacent, and the coding block k is adjacent to k+1 in position, k ⁇ (1,K).
  • Two adjacent coding blocks can be concatenated.
  • the head of coding block k may be concatenated with the tail of coding block k ⁇ 1, and the tail of coding block k may be concatenated with the head of coding block k+1.
  • the first part of the second check block may belong to the second encoding block M-1
  • the second part of the second check block may belong to the second encoding block M.
  • the second coding block M-1 and the second coding block M may be adjacent.
  • the number of bits of the second encoding block M-1 can be K 2,M-1
  • the number of bits of the second encoding block M can be K 2,M
  • the number of bits of the second check block can be K 2 ", K 2,M ⁇ K 2 ” ⁇ K 2,M-1 +K 2,M .
  • the second parity block may belong to the second coding block M.
  • the number of bits in the second encoding block M may be K 2,M
  • the number of bits in the second check block may be K 2 ′′, where K 2 ′′ ⁇ K 2,M .
  • the second check block may be used to check at least part of the information in the plurality of second coding blocks except the second check block.
  • the at least one second coding block contains redundant information, and in the at least one second coding block, the redundant information is located before or after the second check block.
  • the second check block may be used to check all information in the plurality of second coding blocks except the second check block. That is to say, all the information in the plurality of second coding blocks except the second check blocks may be located between the second check blocks.
  • the second check block may be generated by the sending device according to all information in the multiple second coded blocks except the second check block.
  • the receiving device can determine whether all the information in the plurality of second encoded blocks except the second check block is received correctly, so as to determine whether to feed back an acknowledgment message or a negative message to the sending device.
  • the sending device may determine whether to retransmit multiple second codewords according to the feedback from the receiving device.
  • all the information in the plurality of second coding blocks except the second check block may include redundant information, and the redundant information may be located before the second check block.
  • redundant information may be shown by a pattern filled with diamonds. That is to say, in the case that multiple second coding blocks also include redundant information, the second check block can be used to check the redundant information.
  • the redundant information being located before the second check block may refer to that the position of the redundant information in the plurality of second encoding blocks is located before the second check block.
  • the second check block may be used to check part of the information in the plurality of second coding blocks except the second check block. That is to say, all the information in the multiple second encoding blocks except the second check block may include the first part of information and the second part of information, the first part of information may be located before the second check block, and the second part of information may be located in After the second check block.
  • the second check block may be used to check the first part of information and not be used to check the second part of information.
  • the second check block may be generated by the sending device according to the first part of information. The generation of the second check block may not be related to the second part of information.
  • the receiving device can determine whether the first part of information is received correctly, so as to determine whether to feed back an acknowledgment message or a negative message to the sending device.
  • the sending device may determine whether to retransmit multiple second codewords according to the feedback from the receiving device.
  • the second part of information may be redundant information. Regardless of whether the redundant information is received correctly, it will not affect the normal communication between the information sending device and the receiving device.
  • all the information in the plurality of second coding blocks except the second check block may include redundant information, and the redundant information may be located after the second check block.
  • redundant information may be shown by a pattern filled with diamonds. That is to say, the second check block may not be used to check redundant information after the second check block.
  • the redundant information is located after the second check block, which may mean that the position of the redundant information in the multiple second encoding blocks is located after the second check block.
  • the sending device may perform at least one type of second encoding on the multiple second encoding blocks to obtain multiple second codewords.
  • the receiving device performs at least one second decoding on the multiple second codewords in the data packet to obtain multiple second coded blocks.
  • the at least one second codeword includes at least two second codewords with different coding rates. The following describes the encoding process of multiple second encoding blocks through some examples.
  • the plurality of second coding blocks may include a second coding block i, a second coding block j.
  • the number of bits of the second coding block i may be K 2,i
  • the number of bits of the second coding block j may be K 2,j .
  • the sending device performs at least one type of second encoding on the multiple second encoding blocks to obtain multiple second codewords.
  • the multiple second codewords may be in one-to-one correspondence with the multiple second encoding blocks.
  • the plurality of second codewords may include second codeword i and second codeword j.
  • the second codeword i may correspond to the second encoding block i, that is, the second codeword i may be obtained from the second encoding block i through second encoding.
  • the second codeword j may correspond to the second encoding block j, that is, the second codeword j may be obtained from the second encoding block j through second encoding.
  • the code length of the second codeword i may be N 2,i
  • the code length of the second codeword j may be N 2,j .
  • the number of bits K 2,i of the second encoded block i may be the same as the number of bits K 2,j of the second encoded block j.
  • the same type of second coding is performed on the second coding block i and the second coding block j, then the code length N 2,i of the second code word i may be the same as the code length N 2,j of the second code word j.
  • the number of bits K 2,i of the second encoded block i may be the same as the number of bits K 2,j of the second encoded block j.
  • the second encoding i is performed on the second encoding block i
  • the second encoding j is performed on the second encoding block j
  • the second encoding i and the second encoding j belong to different types of encoding.
  • the code length N 2,i of the second codeword i may be different from the code length N 2,j of the second codeword j.
  • the code rate of the second code i can be K 2,i /N 2,i
  • the code rate of the second code j can be K 2,j /N 2,j , K 2,i /N 2,i ⁇ K 2 ,j /N 2,j .
  • the number of bits K 2,i of the second encoded block i may be different from the number of bits K 2,j of the second encoded block j.
  • the second encoding i is performed on the second encoding block i
  • the second encoding j is performed on the second encoding block j
  • the second encoding i and the second encoding j belong to different types of encoding.
  • the code length N 2,i of the second codeword i and the code length N 2,j of the second codeword j may be the same or different.
  • the code rate of the second code i can be K 2,i /N 2,i
  • the code rate of the second code j can be K 2,j /N 2,j
  • K 2,i /N 2,i and K 2 ,j /N 2,j may be the same or different.
  • the code lengths of the at least one first codeword are the same.
  • the data packet may include H first codewords with a code length of N 1 and M second codewords, and the code lengths of the M second codewords may be N 2,1 and N 2 respectively ,2 ,..., N 2,M-1 , N 2,M .
  • N 1 >N 2,1 +N 2,2 + . . . +N 2,M ⁇ 1 +N 2,M .
  • the code length N 1 of the first code word may be 1024
  • the M second code words may include one second code word with a code length of 64 and one second code word with a code length of 128.
  • N 1 N 2,1 +N 2,2 +...+N 2,M ⁇ 1 +N 2,M .
  • the code length N 1 of the first code word may be 1024
  • the M second code words may include one second code word with a code length of 512 and two second code words with a code length of 256.
  • the code length N 1 of the first code word may be 1024
  • the M second code words may include two second code words with a code length of 512 and one second code word with a code length of 256.
  • the sum of the code lengths of the at least one second codeword is smaller than the code length of the first codeword.
  • the multiple second codewords may be arranged in order of code length.
  • N 2,i may be the code length of the second codeword i, i ⁇ [1,M].
  • the sending device may group multiple codewords in the data packet.
  • the receiving device may send a feedback message to the sending device according to the grouping of the data packets.
  • the sending device may determine whether to resend the codeword in the data packet according to the feedback message sent by the receiving device.
  • the number of groups of data packets can be configured by higher layer signaling.
  • High-level signaling may be, for example, one or more of broadcast information, system messages, high-level configuration signaling, medium access control layer signaling, and the like.
  • the data packet may include H first codewords and M second codewords, and both H and M may be positive integers.
  • the data packet can be divided into L data groups, where L is an integer greater than 1.
  • the data packet includes L data groups, wherein the L data groups include L 1 first data groups and a second data group, and each data in the L 1 first data groups The group includes n first codewords, the second data group includes the at least one second codeword, and the L 1 and n are greater than or equal to 1.
  • H first codewords in a data packet may be divided into L 1 first data groups, and M second codewords may be divided into second data groups.
  • the data packet can be divided into 1 first data group and 1 second data group, and this 1 first data group can include 1 first codeword , the 1 second data group may include 2 second codewords.
  • the data packet can be divided into 2 first data groups and 1 second data group, each first data in the 2 first data groups A group may include 2 first codewords, and the 1 second data group may include 2 second codewords.
  • the H first codewords in the data packet can be divided into L 1 first data groups and L 2 third data groups, and the M second codewords can be divided into second data set.
  • the L data groups further include L 2 third data groups, each of the L 2 third data groups
  • the data packet can be divided into 2 first data groups, 1 second data group and 1 third data group, in the 2 first data groups
  • Each of the first data groups may include 2 first codewords
  • the 1 second data group may include 2 second codewords
  • the 1 third data group may include 1 first codeword.
  • the receiving device can receive the data packet sent by the sending device and decode the data packet to obtain multiple coded blocks.
  • the receiving device may check each check block in the plurality of encoded blocks. For example, the receiving device may check the H first information blocks among the H first coding blocks according to the H first check blocks among the H first coding blocks; the receiving device may check the H first information blocks among the H first coding blocks; The second check block, check at least part of the information in the M second coded blocks.
  • the receiving device can send L pieces of feedback information to the sending device for the L data groups.
  • the sending device receives L pieces of feedback information corresponding to the data packets, and the L pieces of feedback information correspond to the L data groups.
  • the receiving device sends L pieces of feedback information corresponding to the data packets, and the L pieces of feedback information correspond to the L data groups.
  • a target first data group among the L 1 first data groups may include n first codewords.
  • the receiving device can obtain n first encoded blocks by decoding the n first codewords. If all the n first check blocks of the n first coded blocks are verified successfully, the receiving device may send first feedback information to the sending device for the target first data group, and the first feedback information may be used to indicate receiving The device correctly receives the data in the target first data group. If there is a check block that fails to check in the n first check blocks of the n first coded blocks, the receiving device may send second feedback information to the sending device for the target first data group, the second feedback information It can be used to indicate that the receiving device incorrectly receives the data in the target first data group. Correspondingly, the sending device may resend at least part of the data in the target first data group to the receiving device.
  • a second data group of the L data groups may include M second codewords.
  • the receiving device can obtain M second coded blocks by decoding the M second codewords. If the verification of the second check blocks of the M second coded blocks is successful, the receiving device may send third feedback information to the sending device for the second data group, and the third feedback information may be used to indicate that the receiving device correctly receives the first Data in the second data set. If the verification of the second check blocks of the M second coded blocks fails, the receiving device may send fourth feedback information to the sending device for the second data group, where the fourth feedback information may be used to indicate that the receiving device incorrectly received the first Data in the second data set. Correspondingly, the sending device may resend at least part of the data in the second data group to the receiving device.
  • a target third data group among the L 2 third data groups may include p first codewords.
  • the receiving device can obtain p first encoded blocks by decoding the p first codewords. If all the p first check blocks of the p first coded blocks are verified successfully, the receiving device may send fifth feedback information to the sending device for the target third data group, and the fifth feedback information may be used to indicate reception The device correctly receives the data in the target third data group. If there is a check block that fails to check among the p first check blocks of the p first coded blocks, the receiving device may send sixth feedback information to the sending device for the target third data group, the sixth feedback information It can be used to indicate that the receiving device incorrectly receives the data in the target third data group. Correspondingly, the sending device may resend at least part of the data in the target third data group to the receiving device.
  • FIG. 10 is a schematic flowchart of another communication method 1000 provided by an embodiment of the present application.
  • the communication method 1000 shown in FIG. 10 is slightly different from the communication method 400 shown in FIG. 4 .
  • the communication method 1000 will be described below with reference to FIG. 10 and FIG. 11 .
  • the sending device generates a data packet, where the data packet includes multiple second codewords, where the multiple second codewords are obtained by performing at least one second encoding on multiple second coded blocks, and the multiple The second encoding block includes a second check block, and the second check block is used to check at least part of the information in the plurality of second encoding blocks.
  • Fig. 11 shows the structure of a packet.
  • the data packet shown in FIG. 11 may be a data packet generated by the sending device in 1001.
  • the data packet may include M second codewords, where M is an integer greater than 1. Different from the data packet shown in FIG. 5, the data packet shown in FIG. 11 may not include the first codeword.
  • the second check block is generated according to at least part of the information in the at least one second coding block except the second check block.
  • a manner of generating at least one second coded block may include, for example, check coding, such as CRC coding.
  • the sending device sends the data packet.
  • the receiving device receives the data packet from the sending device.
  • the receiving device performs at least one second decoding on the multiple second codewords to obtain multiple second coded blocks, where the multiple second coded blocks include a second check block, and the second check block The block is used to check part of the information in the plurality of second coded blocks.
  • At least part of the information in the at least one second coding block other than the second check block is obtained by at least checking and decoding according to the second check block.
  • the receiving device may perform check decoding (such as CRC decoding) on the at least one second coded block to obtain at least part of the information in the at least one second coded block except the second check block.
  • the method shown in FIG. 10 may be executed by an electronic device with a communication function.
  • the sending device may be a terminal device, and the receiving device may be a network device.
  • the sending device may be a network device, and the receiving device may be a terminal device.
  • the sending device may be terminal device 1 , and the receiving device may be terminal device 2 .
  • the multiple second coding blocks contain redundant information, and in the multiple second coding blocks, the redundant information is located before or after the second check block.
  • the redundant information is located before or after the second check block.
  • the second check block is located in one or more consecutive coding blocks.
  • the second check block is located in multiple consecutive second encoding blocks, refer to the example shown in Figure 8, and for an example where the second check block is located in a single second encoding block, refer to the example shown in Figure 9 , which will not be described in detail here.
  • the data includes a second data group, and the second data group includes the plurality of second codewords.
  • the data includes the second data group, reference may be made to the examples shown in FIG. 4 to FIG. 9 , which will not be described in detail here.
  • the sending device receives feedback information corresponding to the second data group.
  • the receiving device sends feedback information corresponding to the second data group.
  • the sending device receives feedback information corresponding to the second data group.
  • the receiving device sends feedback information corresponding to the second data group.
  • the multiple second codewords include at least two second codewords with different coding rates.
  • the plurality of second codewords include at least two second codewords with different coding rates, reference may be made to the examples shown in FIG. 4 to FIG. 9 , and details are not repeated here.
  • FIG. 12 is a schematic flowchart of another communication method 1200 provided by an embodiment of the present application.
  • the communication method 1200 shown in FIG. 12 is slightly different from the communication method 400 shown in FIG. 4 .
  • the communication method 1000 will be described below with reference to FIG. 12 and FIG. 13 .
  • the sending device generates a data packet, where the data packet includes multiple first codewords, the multiple first codewords are obtained by performing first encoding on multiple first encoding blocks, and the multiple first encoding Each first coding block in the blocks includes a first information block and a first check block for checking the first information block.
  • Fig. 13 shows the structure of a packet.
  • the data packet shown in FIG. 13 may be a data packet generated by the sending device in 1201.
  • the data packet may include H first codewords, where H is an integer greater than 1. Different from the data packet shown in FIG. 5, the data packet shown in FIG. 13 may not include the second codeword.
  • the sending device acquires at least one first information block; the sending device generates at least one first check block in the at least one first coded block, and the first check block and the first check block Corresponds to the first information block in the first coding block where it is located.
  • the sending device acquires at least one first information block; the sending device generates at least one first check block in the at least one first coded block, and the first check block and the first check block Corresponds to the first information block in the first coding block where it is located.
  • the sending device sends the data packet.
  • the receiving device receives the data packet from the sending device.
  • the receiving device performs first decoding on the multiple first codewords to obtain multiple first coded blocks, where each first coded block in the multiple first coded blocks contains a first information block and a Check the first check block of the first information block.
  • the data packet includes L-1 data groups, wherein the L-1 data groups include L 1 first data groups, and each of the L 1 first data groups includes For n first codewords, the L 1 and n are greater than or equal to 1.
  • the sending device receives L-1 pieces of feedback information corresponding to the L-1 data groups one-to-one.
  • the receiving device sends L-1 pieces of feedback information corresponding to the L-1 data groups one-to-one.
  • the receiving device sends L-1 pieces of feedback information corresponding to the L-1 data groups one-to-one.
  • the code lengths of the at least one first codeword are the same.
  • the method shown in FIG. 12 may be executed by an electronic device with a communication function.
  • the sending device may be a terminal device, and the receiving device may be a network device.
  • the sending device may be a network device, and the receiving device may be a terminal device.
  • the sending device may be terminal device 1 , and the receiving device may be terminal device 2 .
  • Fig. 14 is a schematic structural diagram of a communication device provided according to an embodiment of the present application.
  • the communication device may be a terminal device or a network device, or may be a component (such as a chip or a circuit) that can be used for the terminal device or the network device.
  • a communication device 1400 may include a processing module 1401 and a transceiver module 1402 .
  • the processing module 1401 is configured to generate a data packet, the data packet includes at least one first codeword and at least one second codeword, the code length of the first codeword is greater than that of the second codeword code length, wherein the at least one first codeword is obtained by performing first encoding on at least one first coding block, and each first coding block in the at least one first coding block contains a first information block and a For verifying the first verification block of the first information block, the at least one second codeword is obtained by performing at least one second encoding on at least one second encoding block, and the at least one second encoding block A second check block is included, and the second check block is used to check partial information in the at least one second coding block.
  • the transceiver module 1402 is used for sending the data packet.
  • the transceiver module 1402 is configured to receive a data packet, the data packet includes at least one first codeword and at least one second codeword, and the code length of the first codeword is longer than that of the second codeword code length.
  • the processing module 1401 is configured to perform first decoding on the at least one first codeword, and perform at least one second decoding on the at least one second codeword to obtain at least one first coded block and at least one second coded block , each first coding block in the at least one first coding block contains a first information block and a first check block for verifying the first information block, and the at least one second coding block contains a second A check block, the second check block is used to check part of the information in the at least one second coding block.
  • the processing module 1401 is configured to generate a data packet, the data packet includes a plurality of second codewords, and the plurality of second codewords is to perform at least one second encoding on a plurality of second encoding blocks
  • the multiple second coding blocks include a second check block, and the second check block is used to check at least part of the information in the multiple second coding blocks.
  • the transceiver module 1402 is used for sending the data packet.
  • the transceiver module 1402 is configured to receive a data packet, where the data packet includes multiple second codewords.
  • the processing module 1401 is configured to perform at least one second decoding on the multiple second codewords to obtain multiple second coded blocks, the multiple second coded blocks include a second check block, and the second check block
  • the verification block is used to verify part of the information in the plurality of second coding blocks.
  • the processing module 1401 is configured to generate a data packet, where the data packet includes a plurality of first codewords, and the plurality of first codewords are obtained by performing first encoding on a plurality of first encoding blocks , each first coding block in the plurality of first coding blocks includes a first information block and a first check block for checking the first information block.
  • the transceiver module 1402 is used for sending the data packet.
  • the transceiver module 1402 is configured to receive a data packet, and the data packet includes a plurality of first codewords.
  • the processing module 1401 is configured to first decode the multiple first codewords to obtain multiple first coded blocks, each of the multiple first coded blocks contains a first information block and is used for A first check block of the first information block is checked.
  • the processing module 1401 may be implemented by a processor.
  • the transceiving module 1402 may be implemented by a receiver and/or a transmitter.
  • the specific functions and beneficial effects of the processing module 1401 and the transceiver module 1402 reference may be made to the methods shown in FIG. 4 to FIG. 9 , which will not be repeated here.
  • a communication device may be a terminal device or a network device, or may be a component (such as a chip or a circuit) for the terminal device or the network device.
  • the communication device may include a transceiver and a processor, and optionally, may also include a memory.
  • the transceiver may be used to implement corresponding functions and operations corresponding to the above-mentioned receiving module and sending module, and the processor may be used to realize corresponding functions and operations of the above-mentioned processing module.
  • the memory can be used to store execution instructions or application program codes, and the execution is controlled by the processor to implement the communication method provided by the above-mentioned embodiments of the present application; and/or, it can also be used to temporarily store some data and instruction information, etc.
  • the memory may exist independently of the processor, and in this case, the memory may be connected to the processor through a communication line. In yet another possible design, the memory may also be integrated with the processor, which is not limited in this embodiment of the present application.
  • Fig. 15 is a structural block diagram of a communication device 2000 provided according to an embodiment of the present invention.
  • the communication device 2000 may be a terminal device or a network device.
  • a communication device 2000 includes a processor 2001, a memory 2002, a radio frequency circuit, an antenna, and an input and output device.
  • the processor 2001 may be used to process communication protocols and communication data, control the communication device 2000, execute software programs, process data of the software programs, and the like.
  • the memory 2002 is mainly used to store software programs and data.
  • the radio frequency circuit is mainly used for the conversion of the baseband signal and the radio frequency signal and the processing of the radio frequency signal.
  • Antennas are mainly used to send and receive radio frequency signals in the form of electromagnetic waves.
  • Input and output devices, such as touch screens, display screens, and keyboards, are mainly used to receive data input by users and output data to users. It should be noted that some types of communication devices 2000 may not have input and output devices.
  • the processor 2001 When data needs to be sent, the processor 2001 performs baseband processing on the data to be sent, and then outputs the baseband signal to the radio frequency circuit.
  • the radio frequency circuit receives the radio frequency signal through the antenna, converts the radio frequency signal into a baseband signal, and outputs the baseband signal to the processor, and the processor converts the baseband signal into data and processes the data .
  • FIG. 15 only one memory and processor are shown in FIG. 15 .
  • a memory may also be called a storage medium or a storage device.
  • the memory may be set independently of the processor, or may be integrated with the processor, which is not limited in this embodiment of the present application.
  • the antenna and the radio frequency circuit with the transceiver function can be regarded as the transceiver 2003 of the communication device 2000
  • the processor with the processing function can be regarded as the processing unit of the communication device 2000
  • a transceiver may also be called a transceiver unit, a transceiver, a transceiver device, and the like.
  • a processing unit may also be called a processor, a processing board, a processing module, a processing device, and the like.
  • the device in the transceiver 2003 for realizing the receiving function may be regarded as a receiving unit
  • the device in the transceiver 2003 for realizing the sending function may be regarded as a sending unit, that is, the transceiver 2003 includes a receiving unit and a sending unit.
  • the receiving unit may sometimes be called a receiver, a receiver, or a receiving circuit, etc.
  • the sending unit may sometimes be called a transmitter, a transmitter, or a transmitting circuit, etc.
  • the processor 2001, the memory 2002, and the transceiver 2003 communicate with each other through internal connection paths, and transmit control and/or data signals
  • the methods disclosed in the foregoing embodiments of the present invention may be applied to the processor 2001 or implemented by the processor 2001 .
  • the processor 2001 may be an integrated circuit chip with signal processing capability.
  • each step of the above method can be completed by an integrated logic circuit of hardware in the processor 2001 or instructions in the form of software.
  • the processor described in each embodiment of the present application may be a general-purpose processor, a digital signal processor (digital signal processor, DSP), an application specific integrated circuit (application specific integrated circuit, ASIC), a ready-made programmable gate array (field programmable gate array) , FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA ready-made programmable gate array
  • FPGA field programmable gate array
  • a general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
  • the steps of the methods disclosed in the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor.
  • the software module can be located in random access memory (random access memory, RAM), flash memory, read-only memory (read-only memory, ROM), programmable read-only memory or electrically erasable programmable memory, registers, etc. in the storage medium.
  • RAM random access memory
  • flash memory read-only memory
  • read-only memory read-only memory
  • ROM programmable read-only memory or electrically erasable programmable memory, registers, etc.
  • the storage medium is located in the memory, and the processor reads the instructions in the memory, and completes the steps of the above method in combination with its hardware.
  • the memory 2002 may store instructions for executing the methods performed by the sending device or the receiving device in the methods shown in FIG. 4 to FIG. 13 .
  • the processor 2001 can execute the instructions stored in the memory 2002 and combine with other hardware (such as the transceiver 2003) to complete the steps performed by the sending device or the receiving device in the methods shown in Figure 4 to Figure 13, the specific working process and beneficial effects can be seen in Figure 4 to the description in the embodiment shown in FIG. 13 .
  • the embodiment of the present application also provides a chip, and the chip includes a transceiver unit and a processing unit.
  • the transceiver unit may be an input-output circuit or a communication interface;
  • the processing unit is a processor or a microprocessor or an integrated circuit integrated on the chip.
  • the chip can execute the methods on the side of the sending device or the receiving device in the above method embodiments.
  • An embodiment of the present application further provides a terminal device, configured to execute the method on the side of the sending device or the receiving device in the foregoing method embodiments.
  • the terminal device may include the communication device as shown in FIG. 14 or FIG. 15 .
  • the terminal device may refer to the communication node itself or the device where the communication node is located.
  • Terminal equipment can also refer to intelligent transportation equipment, such as vehicles, drones, and on-board chips.
  • Terminal equipment can also refer to intelligent manufacturing equipment, such as industrial manufacturing systems, battery management systems, etc.
  • Terminal devices can also refer to smart home devices, such as TVs, stereos, cameras, voice assistants, smart curtains, and smart lamps.
  • Terminal equipment may also refer to intelligent terminal equipment, such as mobile phones, tablet computers, earphones, watches, microphones, and vehicle-mounted equipment.
  • the embodiment of the present application also provides a computer-readable storage medium, on which instructions are stored, and when the instructions are executed, the methods on the side of the sending device or the receiving device in the foregoing method embodiments are executed.
  • the embodiment of the present application further provides a computer program product including instructions, and when the instructions are executed, the methods on the side of the sending device or the receiving device in the above method embodiments are executed.
  • a component may be, but is not limited to being, a process running on a processor, a processor, an object, an executable, a thread of execution, a program, and/or a computer.
  • an application running on a computing device and the computing device can be components.
  • One or more components can reside within a process and/or thread of execution and a component can be localized on one computer and/or distributed between two or more computers.
  • these components can execute from various computer readable media having various data structures stored thereon.
  • a component may, for example, be based on a signal having one or more packets of data (e.g., data from two components interacting with another component between a local system, a distributed system, and/or a network, such as the Internet via a signal interacting with other systems). Communicate through local and/or remote processes.
  • packets of data e.g., data from two components interacting with another component between a local system, a distributed system, and/or a network, such as the Internet via a signal interacting with other systems.
  • the disclosed systems, devices and methods may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
  • 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 may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium.
  • the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disc and other media that can store program codes. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

本申请提供了一种通信方法和通信装置,可以应用于短距离通信领域,例如座舱域。发送设备对至少一个第一编码块进行第一编码,得到至少一个第一码字,每个第一编码块包含第一信息块以及用于校验第一信息块的第一校验块;发送设备对至少一个第二编码块进行至少一种第二编码得到至少一个第二码字,至少一个第二编码块包含第二校验块,第二校验块用于校验至少一个第二编码块中的部分信息,第一码字的码长大于第二码字的码长;发送设备生成并发送包含至少一个第一码字以及至少一个第二码字的数据包。接收设备对数据包解码,得到至少一个第一编码块和至少一个第二编码块。本申请实施例提供的方案有利于兼顾甚至提升收发之间的通信质量、通信效率。

Description

通信方法和通信装置 技术领域
本申请涉及通信领域,更为具体的,涉及通信方法和通信装置,尤其是短距离通信方法和装置。
背景技术
发送端通信装置可以向接收端通信装置发送数据。接收端通信装置可以向发送端通信装置上报接收数据的情况。例如,发送端通信装置可以向接收端通信装置发送数据和校验码。接收端通信装置可以对校验码校验,以判断接收端装置是否成功接收数据。如果接收端通信装置可以成功接收数据,接收端通信装置可以向发送端通信装置发送确认(acknowledge,ACK)信号;如果接收端通信装置无法成功接收数据,接收端通信装置可以向发送端通信装置发送否认(negative acknowledgment,NACK)信号。发送端通信装置可以根据接收数据的情况,判断是否要向接收端通信装置重新发送数据。这一过程可以被称为自动重传过程。自动重传过程中的通信质量、通信效率始终被关注。
发明内容
本申请提供一种通信方法和通信装置,该通信方法有利于兼顾甚至提升发送端通信装置和接收端通信装置之间的通信质量、通信效率。
第一方面,提供了一种通信方法,所述方法包括:
生成数据包,所述数据包包含至少一个第一码字以及至少一个第二码字,所述第一码字的码长大于所述第二码字的码长;
发送所述数据包;
其中,所述至少一个第一码字是对至少一个第一编码块进行第一编码得到的,所述至少一个第一编码块中每个第一编码块包含第一信息块以及用于校验所述第一信息块的第一校验块,所述至少一个第二码字是对至少一个第二编码块进行至少一种第二编码得到的,所述至少一个第二编码块包含第二校验块,所述第二校验块用于校验所述至少一个第二编码块中的部分信息。
编码块可以指编码之前的比特数据。码字可以指编码后的比特数据。码长可以指码字的长度。编码块中的信息内容可以包括信息块和校验块。校验块可以指具有校验功能的比特数据。信息块可以不具有校验功能。
对于任意比特数量的信息,均可以通过分段和编码,得到包括多个码字的数据包,数据包可以包括码长不同的两个码字,不同码长的码字可以通过分别编码得到,每个码字的码长均满足预设码长。因此可以省去速率匹配,有利于节省数据传输的功耗。另外,每个码长相对较大的第一码字可以由第一校验块校验,将码长较小的多个第二编码块一起校验,有利于减少校验块在数据包中的开销占比,减少信令开销、提高通信效率。
结合第一方面,在第一方面的某些实现方式中,所述方法还包括:
获取至少一个第一信息块;
生成所述至少一个第一编码块中的至少一个第一校验块,所述第一校验块与所述第一校验块所在的第一编码块中的第一信息块对应。
待发送的信息的第一部分的比特数量可以相对较多,可以适于被划分至第一码字。该第一部分可以经校验编码,得到第一校验块。
结合第一方面,在第一方面的某些实现方式中,所述第二校验块是根据所述至少一个第二编码块中除所述第二校验块以外的至少部分信息生成。
待发送的信息的第二部分的比特数量不适于被划分至第一码字,则该第二部分可以被划分至多个第二码字,每个第二码字的码长可以相对较小,该第二部分校验可以经校验编码,得到第二校验块。
结合第一方面,在第一方面的某些实现方式中,所述至少一个第二编码块包含冗余信息,在所述至少一个第二编码块中,所述冗余信息位于所述第二校验块之前或者之后。
在有关待发送的信息和第二校验块的比特数量不足以填满多个第二编码块时,多个第二编码块可以包括冗余信息,以有利于使每个第二编码块可以满足预设编码块码长,每个第二码字的码长满足预设码长。冗余信息位于第二校验块之前,第二校验块可以校验多个第二编码块中除第二校验块以外的全部信息,第二校验块可以位于多个第二编码块的尾部,冗余信息位被第二校验块校验。冗余信息位于第二校验块之后,第二校验块可以校验多个第二编码块中除第二校验块以外的部分信息,冗余信息位不被第二校验块校验,误块率相对较低。
结合第一方面,在第一方面的某些实现方式中,在所述至少一个第二编码块中,所述第二校验块位于一个或多个连续的编码块中。
第二编码块的最小比特数量可以不受第二校验块的比特数量限制,有利于提高多个第二编码块的分段灵活性。
结合第一方面,在第一方面的某些实现方式中,所述数据包包含L个数据组,其中,所述L个数据组包含L 1个第一数据组和一个第二数据组,所述L 1个第一数据组中每个数据组包含n个所述第一码字,所述第二数据组包含所述至少一个第二码字,所述L 1、n大于或者等于1。
数据组包括的码字数量越大,则该数据组的误块率可能越大。数据组包括的码字数量越小,则该数据组的误块率可能越小。多个第一数据组中的第一码字的数量可以相同,有利于平衡多个第一数据组的误块率。结合第一方面,在第一方面的某些实现方式中,所述方法还包括:
接收对应所述数据包的L个反馈信息,所述L个反馈信息对应所述L个数据组。
多个码字可以划分为多个数据组,接收设备可以针对L个数据组反馈数据的收发情况,与针对每个校验块反馈收发情况的实施方式相比,有利于减少反馈信息的信令开销。
结合第一方面,在第一方面的某些实现方式中,所述n满足n=ceil(H/(L-1)),其中H为所述至少一个第一码字的总数量。
结合第一方面,在第一方面的某些实现方式中,在mod(H,(L-1))>0的情况下,所述L个数据组还包括L 2个第三数据组,所述L 2个第三数据组中的每个第三数据组包括p个 所述第一码字,L 2为小于L-L 1的正整数,p满足p=floor(H/(L-1))。
在多个第一码字无法均分至多个数据组的情况下,通过调整第一数据组和第三数据组中码字的数量,使得第一数据组和第三数据组中码字的数量差相对较小,有利于平衡多个数据组的误块率,提升数据传输的可靠性。
结合第一方面,在第一方面的某些实现方式中,L 1满足L 1=mod(H,(L-1)),L 2满足L 2=L-mod(H,(L-1))-1。
多个第一数据组包括第一数据组、第二数据组、第三数据组这三种数据组类型,有利于简化数据组的划分。
结合第一方面,在第一方面的某些实现方式中,所述至少一个第一码字的码长相同。
第一码字的码长可以对应数据包的最大码长。第一码字的编码和解码可以与最大码长相关,有利于简化第一码字的收发。
结合第一方面,在第一方面的某些实现方式中,所述至少一个第二码字包括编码码率不同的至少两个第二码字。
多个第二码字的码长不同,多个第二码字也可以码率不同,例如码字的码长越小,码率越小,有利于使多个第二码字可以具有相近的收发性能。
结合第一方面,在第一方面的某些实现方式中,所述至少一个第二码字的码长之和小于所述第一码字的码长。
将待发送的信息的大部分编码为码长相对较长的第一码字,待发送信息的小部分编码为码长相对较短的多个第二码字,有利于简化数据包的收发。
第二方面,提供了一种通信方法,所述方法包括:
接收数据包,所述数据包包含至少一个第一码字以及至少一个第二码字,所述第一码字的码长大于所述第二码字的码长;
对所述至少一个第一码字进行第一解码,对所述至少一个第二码字进行至少一种第二解码,得到至少一个第一编码块、至少一个第二编码块,所述至少一个第一编码块中每个第一编码块包含第一信息块以及用于校验所述第一信息块的第一校验块,所述至少一个第二编码块包含第二校验块,所述第二校验块用于校验所述至少一个第二编码块中的部分信息。
对于包括多个码字的数据包可以解码得到任意比特数量的信息,数据包可以包括码长不同的两个码字,每个码字的码长均满足预设码长,不同码长的码字可以分别解码。因此可以省去速率匹配,有利于节省数据传输的功耗。另外,每个码长相对较大的第一码字可以由第一校验块校验,将码长较小的多个第二编码块一起校验,有利于减少校验块在编码块中的开销占比,减少信令开销、提高通信效率。
结合第二方面,在第二方面的某些实现方式中,所述第一编码块的第一信息块是根据所述第一编码块的第一校验块校验解码得到。
接收到的第一码字可以被解码,得到比特数量相对较多的第一部分信息。该第一部分信息可以经校验解码,得到第一校验块。
结合第二方面,在第二方面的某些实现方式中,所述至少一个第二编码块中除所述第二校验块以外的至少部分信息是根据所述第二校验块校验解码得到。
接收到的多个第二码字可以被解码,得到比特数量相对较少的第二部分信息。该第二 部分信息可能不适于属于第一码字。该第二部分信息中除第二校验块以外的信息可以根据第二校验块校验解码得到。
结合第二方面,在第二方面的某些实现方式中,所述至少一个第二编码块包含冗余信息,在所述至少一个第二编码块中,所述冗余信息位于所述第二校验块之前或者之后。
在有效信息和第二校验块的比特数量不足以填满多个第二编码块时,多个第二编码块可以包括冗余信息,以有利于使每个第二编码块可以满足预设编码块码长,每个第二码字的码长满足预设码长。冗余信息位于第二校验块之前,第二校验块可以校验多个第二编码块中除第二校验块以外的全部信息,第二校验块可以位于多个第二编码块的尾部,冗余信息位被第二校验块校验。冗余信息位于第二校验块之后,第二校验块可以校验多个第二编码块中除第二校验块以外的部分信息,冗余信息位不被第二校验块校验,误块率相对较低。
结合第二方面,在第二方面的某些实现方式中,在所述至少一个第二编码块中,所述第二校验块位于一个或多个连续的编码块中。
第二编码块的最小比特数量可以不受第二校验块的比特数量限制,第二校验块可以被分别编码至一个或一个以上的第二码字,有利于提高第二校验块的编码多个第二编码块的分段灵活性。
结合第二方面,在第二方面的某些实现方式中,所述数据包包含L个数据组,其中,所述L个数据组包含L 1个第一数据组和一个第二数据组,所述L 1个第一数据组中每个数据组包含n个所述第一码字,所述第二数据组包含所述至少一个第二码字,所述L 1、n大于或者等于1。
数据组包括的码字数量越大,则该数据组的误块率可能越大。数据组包括的码字数量越小,则该数据组的误块率可能越小。多个第一数据组中的第一码字的数量可以相同,有利于平衡多个第一数据组的误块率。
结合第二方面,在第二方面的某些实现方式中,所述方法还包括:
发送对应所述数据包的L个反馈信息,所述L个反馈信息对应所述L个数据组。
多个码字可以划分为多个数据组,接收设备可以针对L个数据组反馈数据的收发情况,与针对每个校验块反馈收发情况的实施方式相比,有利于减少反馈信息的信令开销。
结合第二方面,在第二方面的某些实现方式中,所述n满足n=ceil(H/(L-1)),其中H为所述至少一个第一码字的总数量。
结合第二方面,在第二方面的某些实现方式中,在mod(H,(L-1))>0的情况下,所述L个数据组还包括L 2个第三数据组,所述L 2个第三数据组中的每个第三数据组包括p个所述第一码字,L 2为小于L-L 1的正整数,p满足p=floor(H/(L-1))。
在多个第一码字无法均分至多个数据组的情况下,通过调整第一数据组和第三数据组中码字的数量,使得第一数据组和第三数据组中码字的数量差相对较小,有利于平衡多个数据组的误块率,提升数据传输的可靠性。
结合第二方面,在第二方面的某些实现方式中,L 1满足L 1=mod(H,(L-1)),L 2满足L 2=L-mod(H,(L-1))-1。
多个第一数据组包括第一数据组、第二数据组、第三数据组这三种数据组类型,有利于简化数据组的划分。
结合第二方面,在第二方面的某些实现方式中,所述至少一个第一码字的码长相同。
第一码字的码长可以对应数据包的最大码长。第一码字的编码和解码可以与最大码长相关,有利于简化第一码字的收发。
结合第二方面,在第二方面的某些实现方式中,所述至少一个第二码字包括编码码率不同的至少两个第二码字。
多个第二码字的码长不同,多个第二码字的可以码率不同,例如码字的码长越小,码率越小,有利于使多个第二码字可以具有相近的收发性能。
结合第二方面,在第二方面的某些实现方式中,所述至少一个第二码字的码长之和小于所述第一码字的码长。
码长相对较长的第一码字可以解码得到大部分有效信息,码长相对较短的多个第二码字可以解码得到小部分编码有效信息,有利于简化数据包的收发。
第三方面,提供了一种通信方法,所述方法包括:
生成数据包,所述数据包包含多个第二码字;
发送所述数据包;
其中,所述多个第二码字是对多个第二编码块进行至少一种第二编码得到的,所述多个第二编码块包含第二校验块,所述第二校验块用于校验所述多个第二编码块中的至少部分信息。
可选的,每个第二码字的码长均小于预设最大码长。
对于任意比特数量的信息,均可以编码为包括多个码字的数据包,多个码字可以分别通过编码得到,每个码字的码长均满足预设码长。因此有利于节省数据传输的耗时,例如可以省去速率匹配的时间。另外,将码长较小的多个编码块一起校验,有利于减少校验块在数据包中的码长占比,减少信令开销、提高通信效率。
结合第三方面,在第三方面的某些实现方式中,所述第二校验块是根据所述至少一个第二编码块中除所述第二校验块以外的至少部分信息生成。
结合第三方面,在第三方面的某些实现方式中,所述多个第二编码块包含冗余信息,在所述多个第二编码块中,所述冗余信息位于所述第二校验块之前或者之后。
结合第三方面,在第三方面的某些实现方式中,在所述多个第二编码块中,所述第二校验块位于一个或多个连续的编码块中。
结合第三方面,在第三方面的某些实现方式中,所述数据包含第二数据组,所述第二数据组包含所述多个第二码字。
结合第三方面,在第三方面的某些实现方式中,所述方法还包括:
接收对应所述第二数据组的反馈信息。
结合第三方面,在第三方面的某些实现方式中,所述多个第二码字包括编码码率不同的至少两个第二码字。
第四方面,提供了一种通信方法,所述方法包括:
接收数据包,所述数据包包含多个第二码字;
对所述多个第二码字进行至少一种第二解码,得到多个第二编码块,所述多个第二编码块包含第二校验块,所述第二校验块用于校验所述多个第二编码块中的部分信息。
对于包括多个码字的数据包可以解码得到任意比特数量的信息,每个码字的码长均满足预设码长,多个码字可以分别解码。因此有利于节省数据传输的耗时,例如可以省去速 率匹配的时间。另外,将码长较小的多个编码块一起校验,有利于减少校验块在数据包中的码长占比,减少信令开销、提高通信效率。
结合第四方面,在第四方面的某些实现方式中,所述至少一个第二编码块中除所述第二校验块以外的至少部分信息是根据所述第二校验块校验解码得到。
结合第四方面,在第四方面的某些实现方式中,所述多个第二编码块包含冗余信息,在所述多个第二编码块中,所述冗余信息位于所述第二校验块之前或者之后。
结合第四方面,在第四方面的某些实现方式中,在所述多个第二编码块中,所述第二校验块位于一个或多个连续的编码块中。
结合第四方面,在第四方面的某些实现方式中,所述数据包含第二数据组,所述第二数据组包含所述多个第二码字。
结合第四方面,在第四方面的某些实现方式中,所述方法还包括:
发送对应所述第二数据组的反馈信息。
结合第四方面,在第四方面的某些实现方式中,所述多个第二码字包括编码码率不同的至少两个第二码字。
第五方面,提供了一种通信装置,包括:
处理模块,用于生成数据包,所述数据包包含至少一个第一码字以及至少一个第二码字,所述第一码字的码长大于所述第二码字的码长;
发送模块,用于发送所述数据包;
其中,所述至少一个第一码字是对至少一个第一编码块进行第一编码得到的,所述至少一个第一编码块中每个第一编码块包含第一信息块以及用于校验所述第一信息块的第一校验块,所述至少一个第二码字是对至少一个第二编码块进行至少一种第二编码得到的,所述至少一个第二编码块包含第二校验块,所述第二校验块用于校验所述至少一个第二编码块中的部分信息。
结合第五方面,在第五方面的某些实现方式中,所述装置还包括:
获取模块,用于获取所述至少一个第一信息块;
所述处理模块还用于,生成对应所述至少一个第一信息块中每个第一信息块的第一校验块。
结合第五方面,在第五方面的某些实现方式中,所述第二校验块是根据所述至少一个第二编码块中除所述第二校验块以外的至少部分信息生成。
结合第五方面,在第五方面的某些实现方式中,所述至少一个第二编码块包含冗余信息,在所述至少一个第二编码块中,所述冗余信息位于所述第二校验块之前或者之后。
结合第五方面,在第五方面的某些实现方式中,在所述至少一个第二编码块中,所述第二校验块位于一个或多个连续的编码块中。
结合第五方面,在第五方面的某些实现方式中,所述数据包包含L个数据组,其中,所述L个数据组包含L 1个第一数据组和一个第二数据组,所述L 1个第一数据组中每个数据组包含n个所述第一码字,所述第二数据组包含所述至少一个第二码字,所述L 1、n大于或者等于1。
结合第五方面,在第五方面的某些实现方式中,所述装置还包括:
接收模块,用于接收对应所述数据包的L个反馈信息,所述L个反馈信息对应所述L 个数据组。
结合第五方面,在第五方面的某些实现方式中,所述n满足n=ceil(H/(L-1)),其中H为所述至少一个第一码字的总数量。
结合第五方面,在第五方面的某些实现方式中,在mod(H,(L-1))>0的情况下,所述L个数据组还包括L 2个第三数据组,所述L 2个第三数据组中的每个第三数据组包括p个所述第一码字,L 2为小于L-L 1的正整数,p满足p=floor(H/(L-1))。
结合第五方面,在第五方面的某些实现方式中,L 1满足L 1=mod(H,(L-1)),L 2满足L 2=L-mod(H,(L-1))-1。
结合第五方面,在第五方面的某些实现方式中,所述至少一个第一码字的码长相同。
结合第五方面,在第五方面的某些实现方式中,所述至少一个第二码字包括编码码率不同的至少两个第二码字。
结合第五方面,在第五方面的某些实现方式中,所述至少一个第二码字的码长之和小于所述第一码字的码长。
第六方面,提供了一种通信装置,包括:
接收模块,用于接收数据包,所述数据包包含至少一个第一码字以及至少一个第二码字,所述第一码字的码长大于所述第二码字的码长;
处理模块,对所述至少一个第一码字进行第一解码,对所述至少一个第二码字进行至少一种第二解码,得到至少一个第一编码块、至少一个第二编码块,所述至少一个第一编码块中每个第一编码块包含第一信息块以及用于校验所述第一信息块的第一校验块,所述至少一个第二编码块包含第二校验块,所述第二校验块用于校验所述至少一个第二编码块中的部分信息。
结合第六方面,在第六方面的某些实现方式中,所述第一编码块的第一信息块是根据所述第一编码块的第一校验块校验解码得到。
结合第六方面,在第六方面的某些实现方式中,所述至少一个第二编码块中除所述第二校验块以外的至少部分信息是根据所述第二校验块校验解码得到。
结合第六方面,在第六方面的某些实现方式中,所述至少一个第二编码块包含冗余信息,在所述至少一个第二编码块中,所述冗余信息位于所述第二校验块之前或者之后。
结合第六方面,在第六方面的某些实现方式中,在所述至少一个第二编码块中,所述第二校验块位于一个或多个连续的编码块中。
结合第六方面,在第六方面的某些实现方式中,所述数据包包含L个数据组,其中,所述L个数据组包含L 1个第一数据组和一个第二数据组,所述L 1个第一数据组中每个数据组包含n个所述第一码字,所述第二数据组包含所述至少一个第二码字,所述L 1、n大于或者等于1。
结合第六方面,在第六方面的某些实现方式中,所述装置还包括:
发送模块,用于发送对应所述数据包的L个反馈信息,所述L个反馈信息对应所述L个数据组。
结合第六方面,在第六方面的某些实现方式中,所述n满足n=ceil(H/(L-1)),其中H为所述至少一个第一码字的总数量。
结合第六方面,在第六方面的某些实现方式中,在mod(H,(L-1))>0的情况下,所述 L个数据组还包括L 2个第三数据组,所述L 2个第三数据组中的每个第三数据组包括p个所述第一码字,L 2为小于L-L 1的正整数,p满足p=floor(H/(L-1))。
结合第六方面,在第六方面的某些实现方式中,L 1满足L 1=mod(H,(L-1)),L 2满足L 2=L-mod(H,(L-1))-1。
结合第六方面,在第六方面的某些实现方式中,所述至少一个第一码字的码长相同。
结合第六方面,在第六方面的某些实现方式中,所述至少一个第二码字包括编码码率不同的至少两个第二码字。
结合第六方面,在第六方面的某些实现方式中,所述至少一个第二码字的码长之和小于所述第一码字的码长。
第七方面,提供了一种通信装置,所述装置包括:
处理模块,用于生成数据包,所述数据包包含多个第二码字;
发送模块,用于发送所述数据包;
其中,所述多个第二码字是对多个第二编码块进行至少一种第二编码得到的,所述多个第二编码块包含第二校验块,所述第二校验块用于校验所述多个第二编码块中的部分信息。
结合第七方面,在第七方面的某些实现方式中,所述第二校验块是根据所述至少一个第二编码块中除所述第二校验块以外的至少部分信息生成。
结合第七方面,在第七方面的某些实现方式中,所述多个第二编码块包含冗余信息,在所述多个第二编码块中,所述冗余信息位于所述第二校验块之前或者之后。
结合第七方面,在第七方面的某些实现方式中,在所述多个第二编码块中,所述第二校验块位于一个或多个连续的编码块中。
结合第七方面,在第七方面的某些实现方式中,所述数据包含第二数据组,所述第二数据组包含所述多个第二码字。
结合第七方面,在第七方面的某些实现方式中,所述装置还包括:
接收模块,用于接收对应所述第二数据组的反馈信息。
结合第七方面,在第七方面的某些实现方式中,所述多个第二码字包括编码码率不同的至少两个第二码字。
第八方面,提供了一种通信装置,所述装置包括:
接收模块,用于接收数据包,所述数据包包含多个第二码字;
处理模块,用于对所述多个第二码字进行至少一种第二解码,得到多个第二编码块,所述多个第二编码块包含第二校验块,所述第二校验块用于校验所述多个第二编码块中的部分信息。
结合第八方面,在第八方面的某些实现方式中,所述至少一个第二编码块中除所述第二校验块以外的至少部分信息是根据所述第二校验块校验解码得到。
结合第八方面,在第八方面的某些实现方式中,所述多个第二编码块包含冗余信息,在所述多个第二编码块中,所述冗余信息位于所述第二校验块之前或者之后。
结合第八方面,在第八方面的某些实现方式中,在所述多个第二编码块中,所述第二校验块位于一个或多个连续的编码块中。
结合第八方面,在第八方面的某些实现方式中,所述数据包含第二数据组,所述第二 数据组包含所述多个第二码字。
结合第八方面,在第八方面的某些实现方式中,所述装置还包括:
发送模块,用于发送对应所述第二数据组的反馈信息。
结合第八方面,在第八方面的某些实现方式中,所述多个第二码字包括编码码率不同的至少两个第二码字。
第九方面,提供了一种通信装置,所述通信装置包括:至少一个处理器和通信接口,所述通信接口用于所述通信装置与其它通信装置进行信息交互,当程序指令在所述至少一个处理器中执行时,使得所述通信装置实现上述第一方面至第四方面或第一方面至第四方面的任一种可能的实现方式所述的通信方法。
第十方面,提供了一种通信设备,包括用于执行上述第五方面至第八方面或第五方面至第八方面的任一种可能的实现方式所述的通信装置。
第十一方面,提供了一种计算机程序存储介质,所述计算机可读介质存储有程序代码,当所述计算机程序代码在计算机上运行时,使得计算机执行上述第一方面至第四方面或第一方面至第四方面的任一种可能的实现方式所述的通信方法。
第十二方面,提供了一种芯片***,所述芯片***包括至少一个处理器,当程序指令在所述至少一个处理器中执行时,使得上述第一方面至第四方面或第一方面至第四方面的任一种可能的实现方式所述的通信方法得以实现。
附图说明
图1是本申请实施例的一种通信场景的示意图。
图2是一种数据帧的示意性结构图。
图3是一种数据重传的示意性结构图。
图4是本申请实施例提供的一种通信方法的示意性流程图。
图5是本申请实施例提供的一种数据包的示意性结构图。
图6是本申请实施例提供的一种编码第一编码块的示意性结构图。
图7是本申请实施例提供的一种编码单个第二编码块的示意性结构图。
图8是本申请实施例提供的一种编码多个第二编码块的示意性结构图。
图9是本申请实施例提供的另一种编码多个第二编码块的示意性结构图。
图10是本申请实施例提供的另一种通信方法的示意性流程图。
图11是本申请实施例提供的另一种数据包的示意性结构图。
图12是本申请实施例提供的又一种通信方法的示意性流程图。
图13是本申请实施例提供的又一种数据包的示意性结构图。
图14是本申请实施例提供的一种通信装置的示意性结构图。
图15是本申请实施例提供的一种通信装置的示意性结构图。
具体实施方式
下面将结合附图,对本申请中的技术方案进行描述。
本申请实施例的技术方案可以应用于各种通信***,例如:全球移动通讯(global system of mobile communication,GSM)***、码分多址(code division multiple access, CDMA)***、宽带码分多址(wideband code division multiple access,WCDMA)***、通用分组无线业务(general packet radio service,GPRS)、长期演进(long term evolution,LTE)***、LTE频分双工(frequency division duplex,FDD)***、LTE时分双工(time division duplex,TDD)、通用移动通信***(universal mobile telecommunication system,UMTS)、全球互联微波接入(worldwide interoperability for Microwave Access,WiMAX)通信***、第五代(5th generation,5G)***或新无线(New Radio,NR)等毫米波通信***、第六代(6th generation,6G)***、现有的各种短距离通信***、未来演进的短距离通信***或者通用短距通信***等。
本申请实施例中的终端设备可以指通信节点,例如用户设备、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置、客户前置设备(sustomer premise equipment)。终端设备还可以是蜂窝电话、无绳电话、会话启动协议(session initiation protocol,SIP)电话、无线本地环路(wireless local loop,WLL)站、个人数字处理(personal digital assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备,5G网络中的终端设备或者演进的公用陆地移动通信网络(public land mobile network,PLMN)中的终端设备等,又如,可以为支持短距离通信的终端设备,本申请实施例对此并不限定。终端设备还可以指智能运输设备,例如车辆、无人机、车载芯片等。终端设备还可以指智能制造设备,例如工业制造***、电池管理***等。终端设备还可以指智能家居设备,例如电视、音响、摄像头、语音助手、智能窗帘、智能灯具等。终端设备还可以指智能终端设备,例如手机、平板电脑、耳机、手表、麦克风、车载设备等。
本申请实施例中的网络设备可以是用于与终端设备通信的设备,也可以称为通信节点,该通信节点可以是GSM***或CDMA中的基站(base transceiver station,BTS),也可以是WCDMA***中的基站(NodeB,NB),还可以是LTE***中的演进型基站(evolutional NodeB,eNB或eNodeB),还可以是云无线接入网络(cloud radio access network,CRAN)场景下的无线控制器,或者该网络设备可以为中继站、接入点、车载设备、可穿戴设备以及5G网络中的网络设备或者未来演进的PLMN网络中的网络设备。或者适用于6G等未来通信技术的通信设备等,又如,可以为支持短距离通信的通信设备,本申请实施例并不限定。网络设备还可以指智能运输设备,例如车辆、无人机、车载芯片等。网络设备还可以指智能制造设备,例如工业制造***、电池管理***等。网络设备还可以指智能家居设备,例如电视、音响、摄像头、语音助手、智能窗帘、智能灯具等。网络设备还可以指智能网络设备,例如手机、平板电脑、耳机、手表、麦克风、车载设备等。
在本申请实施例中,终端设备或网络设备包括硬件层、运行在硬件层之上的操作***层,以及运行在操作***层上的应用层。该硬件层包括中央处理器(central processing unit,CPU)、内存管理单元(memory management unit,MMU)和内存(也称为主存)等硬件。该操作***可以是任意一种或多种通过进程(process)实现业务处理的计算机操作***,例如,Harmony操作***、Linux操作***、Unix操作***、Android操作***、iOS操作***或windows操作***等。该应用层包含浏览器、通讯录、文字处理软件、即时通信软件等应用。并且,本申请实施例并未对本申请实施例提供的方法的执行主体的具体结构 特别限定,只要能够通过运行记录有本申请实施例的提供的方法的代码的程序,以根据本申请实施例提供的方法进行通信即可,例如,本申请实施例提供的方法的执行主体可以是终端设备或网络设备,或者,是终端设备或网络设备中能够调用程序并执行程序的功能模块。
另外,本申请的各个方面或特征可以实现成方法、装置或使用标准编程和/或工程技术的制品。本申请中使用的术语“制品”涵盖可从任何计算机可读器件、载体或介质访问的计算机程序。例如,计算机可读介质可以包括,但不限于:磁存储器件(例如,硬盘、软盘或磁带等),光盘(例如,压缩盘(compact disc,CD)、数字通用盘(digital versatile disc,DVD)等),智能卡和闪存器件(例如,可擦写可编程只读存储器(erasable programmable read-only memory,EPROM)、卡、棒或钥匙驱动器等)。另外,本文描述的各种存储介质可代表用于存储信息的一个或多个设备和/或其它机器可读介质。术语“机器可读介质”可包括但不限于,无线信道和能够存储、包含和/或承载指令和/或数据的各种其它介质。
图1是本申请一个通信***的示意图。图1中的通信***可以包括至少一个终端(例如终端10、终端20、终端30、终端40、终端50和终端60)和网络设备70。网络设备70用于为终端提供通信服务并接入核心网,终端可以通过搜索网络设备70发送的同步信号、广播信号等接入网络,从而进行与网络的通信。图1中的终端10、终端20、终端30、终端40和终端60可以与网络设备70进行上下行传输。例如,网络设备70可以向终端10、终端20、终端30、终端40和终端60发送下行信号,也可以接收终端10、终端20、终端30、终端40和终端60发送的上行信号。
此外,终端40、终端50和终端60也可以看作一个通信***,终端60可以向终端40和终端50发送下行信号,也可以接收终端40和终端50发送的上行信号。
需要说明的是,本申请实施例可以应用于包括一个或多个网络设备的通信***中,也可以应用于包括一个或多个终端的通信***中,本申请对此不进行限定。
应理解,该通信***中包括的网络设备可以是一个或多个。一个网络设备可以向一个或多个终端发送数据或控制信令。多个网络设备也可以同时向一个或多个终端发送数据或控制信令。
图2示出了一种数据帧的示意性结构图。图2所示的数据帧可以由发送设备发送至接收设备。在一个可能的示例中,发送设备和接收设备中的一个可以为终端设备,另一个可以为网络设备。在另一个可能的示例中,发送设备和接收设备均可以为终端设备。在又一个可能的示例中,发送设备和接收设备可以均为网络设备。
数据帧可以包括前导码、接入地址、数据单元(如协议数据单元(protocol data unit,PDU))、校验块(cyclic redundancy check,CRC)。前导码例如可以用于实行频率同步、符号时间同步(symbol timing estimation,STE)、自动增益控制(automatic gain control,AGC)等。接入地址例如可以指示接收设备的地址。数据单元例如可以包括报头和有效数据(或称为有效负载(payload))。报头例如可以用于指示数据单元的类型、发送数据的设备位址类型、接收数据的设备位址类型、有效数据的字节数等。校验块用于对数据单元校验。例如发送设备可以根据数据单元生成校验块。接收设备可以根据校验块校验数据单元是否有误。
可选的,数据帧还可以包括连接间隔(connection interval,CI)、算法结束符 (termination,TERM)等。
发送设备可以确定要向接收设备发送的信息。发送设备可以按照某个码率对该信息编码,得到编码后的码流。为匹配物理信道的承载能力,发送设备需要对编码后的码流进行速率匹配。由此可以看出,发送设备至少要包括编码模块和速率匹配模块,才可以向接收设备发送数据。
图3示出了对图2所示的数据帧重传的示意性结构图。
发送设备可以确定准备向接收设备发送的多个数据帧。数据帧可以是包含数据单元和校验块的一种数据结构。发送设备可以向接收设备发送多个数据帧。相应地,接收设备可以从发送设备接收多个数据帧,并对每个数据帧校验。
如果接收设备从发送设备正确接收数据帧,接收设备可以向发送设备发送确认消息(acknowledge character,ACK),确认消息可以指示接收设备正确接收发送设备发送的数据帧。发送设备接收到接收设备的确认消息,可以继续后续数据帧的发送。
如果接收设备从发送设备未正确接收数据帧,接收设备可以向发送设备发送否认消息(negative acknowledge character,NACK),否认消息可以指示接收设备未正确接收发送设备发送的数据帧。发送设备接收到接收设备的否认消息,可以重新发送错误传输的数据帧。
如果发送设备在一段时间内未接收到接收设备的确认消息或否认消息,发送设备可以重新向接收设备发送数据帧。
例如,如图3所示,发送设备可以确定准备向接收设备发送的多个数据帧,多个数据帧可以包括数据帧0、数据帧1、数据帧2、数据帧3、数据帧4。发送设备可以向接收设备发送数据帧0、数据帧1、数据帧2、数据帧3、数据帧4。接收设备可以从发送设备接收数据帧0、数据帧1、数据帧2、数据帧3、数据帧4,并对数据帧0、数据帧1、数据帧2分别进行校验。在图3所示的示例中,接收设备可以从发送设备正确接收数据帧0、数据帧1,错误接收数据帧2。由于数据帧2未正确接收,接收设备可以不对接收到的数据帧3、数据帧4进行校验。接收设备可以向发送设备发送针对数据帧0、数据帧1的确认消息,以及针对数据帧2的否认消息。发送设备可以根据针对数据帧2的否认消息,重新向接收设备发送数据帧2、数据帧3、数据帧4。
由图3所示的示例可以看出,接收设备可能正确接收数据帧3、数据帧4。在接收设备正确接收数据帧3、数据帧4的情况下,发送设备可以向接收设备发送至少两次数据帧3、数据帧4,导致通信效率相对较低。
图4是本申请实施例提供的一种通信方法400的示意性流程图。
401,发送设备生成数据包,所述数据包包含至少一个第一码字以及至少一个第二码字,所述第一码字的码长大于所述第二码字的码长,其中,所述至少一个第一码字是对至少一个第一编码块进行第一编码得到的,所述至少一个第一编码块中每个第一编码块包含第一信息块以及用于校验所述第一信息块的第一校验块,所述至少一个第二码字是对至少一个第二编码块进行至少一种第二编码得到的,所述至少一个第二编码块包含第二校验块,所述第二校验块用于校验所述至少一个第二编码块中的部分信息。
402,发送设备发送所述数据包。
相应地,接收设备从发送设备接收所述数据包。
403,接收设备对所述数据包中的所述至少一个第一码字进行第一解码,得到所述至少一个第一编码块;接收设备可以对所述数据包中的所述至少一个第二码字进行至少一种第二解码,得到所述至少一个第二编码块。
应理解,图4所示的方法可以由具有通信功能的电子设备执行。例如,发送设备可以为终端设备,接收设备可以为网络设备。又如,发送设备可以为网络设备,接收设备可以为终端设备。又如,发送设备可以为终端设备1,接收设备可以为终端设备2。
图5示出了一种数据包的结构。
在图5所示的示例中,数据包可以包括H个第一码字和M个第二码字。应理解,数据包可以包括数量更多或更少的第一码字,也可以包括数据更多或更少的第二码字。例如,数据包可以仅包括1个第一码字和1个第二码字。
可选的,发送设备获取至少一个第一信息块;发送设备生成所述至少一个第一编码块中的至少一个第一校验块,所述第一校验块与所述第一校验块所在的第一编码块中的第一信息块对应。生成至少一个第一编码块的方式例如可以包括校验编码,如循环冗余校验(cyclic redundancy check,CRC)编码。
可选的,所述第一编码块的第一信息块至少根据所述第一编码块中的第一校验块校验解码(如CRC解码)得到。在一个示例中,接收设备可以将第一信息块和第一校验块输入校验多项式。如果校验多项式的结果为零,则第一信息块校验成功。
可选的,第一编码块可以包括冗余信息(有关冗余信息的说明在下文详细阐述)。所述第一编码块的第一信息块可以通过去冗余操作,并根据所述第一编码块中的第一校验块校验解码(如CRC解码)得到。
例如,冗余信息可以位于第一校验块之后。在将第一编码块中的冗余信息去除后,接收设备可以将第一信息块和第一校验块输入校验多项式。如果校验多项式的结果为零,则第一信息块校验成功。
又如,冗余信息可以位于第一校验块之前。接收设备可以将第一信息块、冗余信息和第一校验块输入校验多项式,如果校验多项式的结果为零,则第一信息块和冗余信息校验成功。之后接收设备可以将冗余信息去除,得到第一信息块。
下面结合图6,阐述对第一编码块进行第一编码的一个示例。
如图6所示,发送设备可以获取第一编码块,第一编码块可以包括第一信息块和第一校验块。第一编码块中的第一信息块和第一校验块相互对应。具体的,第一校验块可以用于校验对应的第一信息块,即第一校验块可以用于校验第一校验块所在的第一编码块中的第一信息块。发送设备可以根据第一信息块,生成对应的第一校验块。发送设备可以对第一编码块进行第一编码,得到第一码字。
接收设备对数据包中的第一码字执行第一解码,可以得到第一编码块,第一编码块可以包括第一信息块和第一校验块。接收设备可以根据第一校验块,校验第一校验块所在的第一编码块中的第一信息块是否正确,从而确定向发送设备反馈确认消息或否认消息。发送设备可以根据接收设备的反馈,确定是否要重传第一码字。
数据包可以包括多个第一码字。在生成多个第一码字之前,发送设备可以获取多个第一信息块。发送设备可以对多个第一信息块中的每个第一信息块执行校验编码,得到多个第一校验块,多个第一校验块与多个第一信息块一一对应。任一第一校验块可以与对应的 第一信息块级联。任一第一校验块可以位于对应的第一信息块之后。任一第一校验块可以和对应的第一信息块构成第一编码块。多个第一信息块和多个第一校验块可以构成多个第一编码块,从而发送设备可以获取多个第一编码块。其中,上一级第一编码块中的第一校验块可以与下一级第一编码块中的第一信息块级联。下一级第一编码块中的第一信息块可以位于上一级第一编码块中的第一校验块之后。参照图6所示的示例,发送设备可以对多个第一编码块中的每个第一编码块可以执行第一编码(多个第一编码块可以同步或先后执行第一编码),进而得到多个第一码字。第一信息块的比特数量可以为K 1’,第一校验块的比特数量可以为K 1”。在一个示例中,第一编码块的比特数量可以为K 1,K 1≥K 1’+K 1”。对第一编码块进行第一编码,可以得到第一码字,第一码字的码长(或比特数量)可以为N 1。第一编码的码率可以为K 1/N 1
结合图5、图6,数据包可以包括多个第一码字。在生成多个第一码字之前,发送设备可以获取多个第一编码块,多个第一编码块可以与多个第一码字一一对应。发送设备可以对每个第一编码块执行第一编码。在一个示例中,每个第一码字的码长可以相同,每个第一编码块的比特数量可以相同。每个第一编码的码率可以相同。多个第一编码块可以经过相同类型的编码,生成多个第一码字。在一个可能的示例中,第一编码例如可以属于极化码(Polar码、Polar Code等)编码。多个第一码字的解码过程可以参照多个第一编码块的编码过程,在此不再赘述。
可选的,所述第二校验块是根据所述至少一个第二编码块中除所述第二校验块以外的至少部分信息生成。生成至少一个第二编码块的方式例如可以包括校验编码,如CRC编码。可选的,在至少一个第二编码块包括多个第二编码块的情况下,生成至少一个第二编码块的方式还可以包括数据分段,从而形成多个第二编码块。可选的,生成至少一个第二编码块的方式还可以包括加冗余操作,即至少一个第二编码块可以包括冗余信息。
可选的,所述至少一个第二编码块中除所述第二校验块以外的至少部分信息是根据所述第二校验块校验解码(如CRC解码)得到。在一个示例中,接收设备可以将至少一个第二编码块输入校验多项式。如果校验多项式的结果为零,则第一信息块校验成功。
可选的,至少一个第二编码块可以包括冗余信息。所述至少一个第二编码块中除所述第二校验块以外的至少部分信息可以通过去冗余操作,并根据所述第二校验块校验解码得到。
例如,冗余信息可以位于第二校验块之后。在将至少一个第二编码块中的冗余信息去除后,接收设备可以将至少一个第二编码块中除冗余信息以外的信息输入校验多项式。如果校验多项式的结果为零,则至少一个第二编码块中除所述第二校验块、冗余信息以外的信息校验成功。
又如,冗余信息可以位于第一校验块之前。接收设备可以将至少一个第二编码块中除所述第二校验块以外的信息(包括冗余信息)输入校验多项式,如果校验多项式的结果为零,则至少一个第二编码块中除所述第二校验块以外的信息校验成功。之后接收设备可以将冗余信息去除,得到至少一个第二编码块中除所述第二校验块、冗余信息以外的信息。
下面结合图7,阐述对至少一个第二编码块进行至少一种第二编码的一个示例。在图7所示的示例中,数据包可以包括单个第二码字。
发送设备可以获取单个第二编码块,单个第二编码块可以包括第二信息块和第二校验 块。其中,单个第二编码块中的第二信息块和第二校验块相互对应。第二校验块可以用于校验对应的第二信息块。发送设备可以根据第二信息块,生成对应的第二校验块。发送设备可以对单个第二编码块进行第二编码,得到单个第二码字。
接收设备对数据包中的单个第二码字执行第二解码,可以得到第二编码块,第二编码块可以包括第二信息块和第二校验块。接收设备可以根据第二校验块,校验与第二校验块对应的第二信息块是否正确,从而确定向发送设备反馈确认消息或否认消息。发送设备可以根据接收设备的反馈,确定是否要重传单个第二码字。
可选的,单个第二码字包含冗余信息,在单个第二码字中,所述冗余信息位于第二校验块之前或者之后。冗余信息位于第二校验块之前,则第二校验块可以用于校验冗余信息。冗余信息位于第二校验块之后,则第二校验块可以不用于校验冗余信息,例如第二校验块可以与冗余信息无关。
冗余信息可以指,除去传输信息时所需最小限度信息外的其他信息,可称为冗余信息。在一个示例中,冗余信息的全部信息位例如可以取值0或1。冗余信息位于第二校验块之前,可以指冗余信息在单个第二编码块中的位置位于第二校验块之前。冗余信息位于第二校验块之后,可以指冗余信息在单个第二编码块中的位置位于第二校验块之后。
第二信息块的比特数量可以为K 2’,第二校验块的比特数量可以为K 2”。在一个示例中,第二编码块的比特数量可以为K 2,K 2≥K 2’+K 2”。例如,第二编码块可以包括冗余信息,冗余信息的比特数量可以为K 2”’,K 2=K 2’+K 2”+K 2”’。对第二编码块进行第二编码,可以得到第二码字,第二码字的码长(或比特数量)可以为N 2。第二编码的码率可以为K 2/N 2
在数据包包括单个第二码字的情况下,单个第二码字的码长可以小于第一码字的码长。第二编码块的比特数量和第一编码块的比特数量可以不同。第一编码的码率和第二编码的码率可以相同或不同。
例如,第一编码块的比特数量为1000,第一码字的码长为1024,第一编码的码率可以为1000/1024。第二编码块的比特数量为400,第二码字的码长为512,第二编码的码率可以为400/512。
又如,第一编码块的比特数量为1000,第一码字的码长为1024,第一编码的码率可以为1000/1024。第二编码块的比特数量为500,第二码字的码长为512,第二编码的码率可以为500/512。
又如,第一编码块的比特数量为1000,第一码字的码长为1024,第一编码的码率可以为1000/1024。第二编码块的比特数量为60,第二码字的码长为128,第二编码的码率可以为60/128。
单个第二码字的解码过程可以参照单个第二编码块的编码过程,在此不再赘述。
下面结合图8、图9,阐述对至少一个第二编码块进行至少一种第二编码的另一个示例。在图8、图9所示的示例中,数据包可以包括多个第二码字。
发送设备可以获取多个第二编码块。如图8、图9所示,多个第二编码块可以包括第二编码块1、第二编码块2、……、第二编码块M-1、第二编码块M。多个第二编码块可以包括第二校验块。可选的,在所述至少一个第二编码块中,所述第二校验块位于一个或多个连续的编码块中。也就是说,第二校验块可以位于多个第二编码块中的一个编码块, 或者,第二校验块可以位于多个第二编码块中的多个连续的编码块。如图8、图9所示,第二校验块可以由填充有斜线的图案示出。多个连续的编码块可以指,多个编码块在位置上连续。例如多个连续的编码块包括K个编码块,分别为编码块1,编码块2,……,编码块K-1,编码块K,其中,编码块k在位置上与编码块k-1相邻,且编码块k在位置上与k+1相邻,k∈(1,K)。两个相邻的编码块可以级联。例如编码块k的头部可以与编码块k-1的尾部级联,编码块k的尾部可以与编码块k+1的头部级联。
在图8所示的示例中,第二校验块的第一部分可以属于第二编码块M-1,第二校验块的第二部分可以属于第二编码块M。第二编码块M-1和第二编码块M可以相邻。假设第二编码块M-1的比特数量可以为K 2,M-1,第二编码块M的比特数量可以为K 2,M,第二校验块的比特数量可以为K 2”,K 2,M≤K 2”≤K 2,M-1+K 2,M
在图9所示的示例中,第二校验块可以属于第二编码块M。假设第二编码块M的比特数量可以为K 2,M,第二校验块的比特数量可以为K 2”,K 2”≤K 2,M
第二校验块可以用于校验多个第二编码块中除第二校验块以外的至少部分信息。
可选的,所述至少一个第二编码块包含冗余信息,在所述至少一个第二编码块中,所述冗余信息位于所述第二校验块之前或者之后。
在图8所示的示例中,第二校验块可以用于校验多个第二编码块中除第二校验块以外的全部信息。也就是说,多个第二编码块中除第二校验块以外的全部信息可以位于第二校验块之间。第二校验块可以由发送设备根据多个第二编码块中除第二校验块以外的全部信息生成。相应地,通过对第二校验块校验,接收设备可以确定多个第二编码块中除第二校验块以外的全部信息是否正确接收,从而确定向发送设备反馈确认消息或否认消息。发送设备可以根据接收设备的反馈,确定是否要重传多个第二码字。
可选的,多个第二编码块中除第二校验块以外的全部信息可以包括冗余信息,冗余信息可以位于第二校验块之前。如图8所示,冗余信息可以由填充有菱形的图案示出。也就是说,在多个第二编码块还包括冗余信息的情况下,第二校验块可以用于校验冗余信息。冗余信息位于第二校验块之前,可以指冗余信息在多个第二编码块中的位置位于第二校验块之前。
在图9所示的示例中,第二校验块可以用于校验多个第二编码块中除第二校验块以外的部分信息。也就是说,多个第二编码块中除第二校验块以外的全部信息可以包括第一部分信息和第二部分信息,第一部分信息可以位于第二校验块之前,第二部分信息可以位于第二校验块之后。第二校验块可以用于校验该第一部分信息,且不用于校验该第二部分信息。第二校验块可以由发送设备根据该第一部分信息生成。第二校验块的生成可以不与该第二部分信息相关。相应地,通过对第二校验块校验,接收设备可以确定该第一部分信息是否正确接收,从而确定向发送设备反馈确认消息或否认消息。发送设备可以根据接收设备的反馈,确定是否要重传多个第二码字。
在一个可能的示例中,该第二部分信息可以是冗余信息。无论冗余信息是否正确接收,均不影响信息发送设备和接收设备之间的正常通信。
可选的,多个第二编码块中除第二校验块以外的全部信息可以包括冗余信息,冗余信息可以位于第二校验块之后。如图9所示,冗余信息可以由填充有菱形的图案示出。也就是说,第二校验块可以不用于校验位于所述第二校验块之后的冗余信息。冗余信息位于第 二校验块之后,可以指冗余信息在多个第二编码块中的位置位于第二校验块之后。
发送设备可以对多个第二编码块进行至少一种第二编码,得到多个第二码字。相应地,接收设备对数据包中的多个第二码字执行至少一种第二解码,可以得到多个第二编码块。可选的,所述至少一个第二码字包括编码码率不同的至少两个第二码字。下面通过一些示例,阐述多个第二编码块的编码过程。
假设多个第二编码块可以包括第二编码块i,第二编码块j。第二编码块i的比特数量可以为K 2,i,第二编码块j的比特数量可以为K 2,j。发送设备对多个第二编码块进行至少一种第二编码,可以得到多个第二码字。多个第二码字可以与多个第二编码块一一对应。多个第二码字可以包括第二码字i,第二码字j。第二码字i可以与第二编码块i对应,即第二码字i可以由第二编码块i经过第二编码得到。第二码字j可以与第二编码块j对应,即第二码字j可以由第二编码块j经过第二编码得到。第二码字i的码长可以为N 2,i,第二码字j的码长可以为N 2,j
在一个示例中,第二编码块i的比特数量K 2,i可以与第二编码块j的比特数量K 2,j相同。对第二编码块i,第二编码块j进行相同类型的第二编码,则第二码字i的码长N 2,i可以与第二码字j的码长N 2,j相同。该相同类型的第二编码的码率可以为K 2,i/N 2,i=K 2,j/N 2,j
在另一个示例中,第二编码块i的比特数量K 2,i可以与第二编码块j的比特数量K 2,j相同。对第二编码块i进行第二编码i,对第二编码块j进行第二编码j,第二编码i、第二编码j属于不同类型的编码。则第二码字i的码长N 2,i可以与第二码字j的码长N 2,j不同。第二编码i的码率可以为K 2,i/N 2,i,第二编码j的码率可以为K 2,j/N 2,j,K 2,i/N 2,i≠K 2,j/N 2,j
在又一个示例中,第二编码块i的比特数量K 2,i可以与第二编码块j的比特数量K 2,j不同。对第二编码块i进行第二编码i,对第二编码块j进行第二编码j,第二编码i、第二编码j属于不同类型的编码。则第二码字i的码长N 2,i与第二码字j的码长N 2,j可以相同或不同。第二编码i的码率可以为K 2,i/N 2,i,第二编码j的码率可以为K 2,j/N 2,j,K 2,i/N 2,i与K 2,j/N 2,j可以相同或不同。
多个第二码字的解码过程可以参照多个第二编码块的编码过程,在此不再赘述。
可选的,所述至少一个第一码字的码长相同。
结合图4至图9,数据包可以包括H个码长为N 1的第一码字以及M个第二码字,M个第二码字的码长可以分别为N 2,1、N 2,2、……、N 2,M-1、N 2,M
在一个示例中,N 1>N 2,1+N 2,2+……+N 2,M-1+N 2,M。例如,第一码字的码长N 1可以为1024,M个第二码字可以包括码长为64的1个第二码字和码长为128的1个第二码字。
在另一个示例中,N 1=N 2,1+N 2,2+……+N 2,M-1+N 2,M。例如,第一码字的码长N 1可以为1024,M个第二码字可以包括码长为512的1个第二码字和码长为256的2个第二码字。
在又一个示例中,N 1<N 2,1+N 2,2+……+N 2,M-1+N 2,M。例如,第一码字的码长N 1可以为1024,M个第二码字可以包括码长为512的2个第二码字和码长为256的1个第二码字。
可选的,所述至少一个第二码字的码长之和小于所述第一码字的码长。
可选的,多个第二码字可以按照码长大小顺序排列。例如,N 2,1>N 2,2>……>N 2,M-1>N 2,M,N 2,i可以为第二码字i的码长,i∈[1,M]。
可选的,发送设备可以对所述数据包中的多个码字进行分组。相应地,接收设备可以根据所述数据包的分组情况,向发送设备发送反馈消息。发送设备可以根据接收设备发送的反馈消息,确定是否重新发送所述数据包中的码字。数据包的分组数量可以由高层信令配置。高层信令例如可以是广播信息、***消息、高层配置信令、介质访问控制层信令等等中的一个或者多个。
下面阐述数据包的几种分组方案。
数据包可以包括H个第一码字、M个第二码字,H、M均可以为正整数。数据包可以被划分为L个数据组,L为大于1的整数。
可选的,所述数据包包含L个数据组,其中,所述L个数据组包含L 1个第一数据组和一个第二数据组,所述L 1个第一数据组中每个数据组包含n个所述第一码字,所述第二数据组包含所述至少一个第二码字,所述L 1、n大于或者等于1。
在一种可能的分组方案中,数据包中的H个第一码字可以被划分为L 1个第一数据组,M个第二码字可以被划分为第二数据组。
可选的,所述n满足n=ceil(H/(L-1)),其中H为所述至少一个第一码字的总数量。
在一个可能的示例中,mod(H,(L-1))=0,则数据包可以被划分为L 1个第一数据组和1个第二数据组,L 1=L-1。该L 1个第一数据组中的每个第一数据组包括n个第一码字,n=H/(L-1),该1个第二数据组可以包括M个第二码字。
例如,H=1,M=2,L=2,则数据包可以被划分为1个第一数据组和1个第二数据组,该1个第一数据组可以包括1个第一码字,该1个第二数据组可以包括2个第二码字。
又如,H=4,M=2,L=3,则数据包可以被划分为2个第一数据组和1个第二数据组,该2个第一数据组中的每个第一数据组可以包括2个第一码字,该1个第二数据组可以包括2个第二码字。
在另一种可能的分组方案中,数据包中的H个第一码字可以被划分为L 1个第一数据组和L 2个第三数据组,M个第二码字可以被划分为第二数据组。
可选的,在mod(H,(L-1))>0的情况下,所述L个数据组还包括L 2个第三数据组,所述L 2个第三数据组中的每个第三数据组包括p个所述第一码字,L 2为小于L-L 1的正整数,p满足p=floor(H/(L-1))。
可选的,L 1满足L 1=mod(H,(L-1)),L 2满足L 2=L-mod(H,(L-1))-1。
在一个可能的示例中,mod(H,(L-1))>0,则数据包可以被划分为L 1个第一数据组、1个第二数据组、L 2个第三数据组,L 1=mod(N,(L-1)),L 2=L-mod(N,(L-1))-1。该L 1个第一数据组中的每个第一数据组包括n个第一码字,n=ceil(N/(L-1));该1个第二数据组可以包括M个第二码字;该L 2个第三数据组可以包括p个第三码字,p=floor(N/(L-1))。
例如,H=5,M=2,L=4,则数据包可以被划分为2个第一数据组、1个第二数据组和1个第三数据组,该2个第一数据组中的每个第一数据组可以包括2个第一码字,该1个第二数据组可以包括2个第二码字,该1个第三数据组可以包括1个第一码字。
接收设备可以接收发送设备发送的数据包并对数据包进行解码,得到多个编码块。接收设备可以对多个编码块中的每个校验块校验。例如,接收设备可以根据H个第一编码块中的H个第一校验块,校验H个第一编码块中的H个第一信息块;接收设备可以根据M个第二编码块中的第二校验块,校验M个第二编码块中的至少部分信息。
由于数据包可以被划分为L个数据组,接收设备可以针对L个数据组向发送设备发送L个反馈信息。
可选的,发送设备接收对应所述数据包的L个反馈信息,所述L个反馈信息对应所述L个数据组。相应的,对于接收方,接收设备发送对应所述数据包的L个反馈信息,所述L个反馈信息对应所述L个数据组。
L 1个第一数据组中的目标第一数据组可以包括n个第一码字。接收设备对该n个第一码字解码可以得到n个第一编码块。如果n个第一编码块的n个第一校验块均校验成功,则接收设备可以针对目标第一数据组,向发送设备发送第一反馈信息,该第一反馈信息可以用于指示接收设备正确接收目标第一数据组中的数据。如果n个第一编码块的n个第一校验块中存在校验失败的校验块,则接收设备可以针对目标第一数据组,向发送设备发送第二反馈信息,该第二反馈信息可以用于指示接收设备错误接收目标第一数据组中的数据。相应地,发送设备可以向接收设备重新发送目标第一数据组中的至少部分数据。
L个数据组中的第二数据组可以包括M个第二码字。接收设备对该M个第二码字解码可以得到M个第二编码块。如果M个第二编码块的第二校验块校验成功,则接收设备可以针对第二数据组,向发送设备发送第三反馈信息,该第三反馈信息可以用于指示接收设备正确接收第二数据组中的数据。如果M个第二编码块的第二校验块校验失败,则接收设备可以针对第二数据组,向发送设备发送第四反馈信息,该第四反馈信息可以用于指示接收设备错误接收第二数据组中的数据。相应地,发送设备可以向接收设备重新发送第二数据组中的至少部分数据。
L 2个第三数据组中的目标第三数据组可以包括p个第一码字。接收设备对该p个第一码字解码可以得到p个第一编码块。如果p个第一编码块的p个第一校验块均校验成功,则接收设备可以针对目标第三数据组,向发送设备发送第五反馈信息,该第五反馈信息可以用于指示接收设备正确接收目标第三数据组中的数据。如果p个第一编码块的p个第一校验块中存在校验失败的校验块,则接收设备可以针对目标第三数据组,向发送设备发送第六反馈信息,该第六反馈信息可以用于指示接收设备错误接收目标第三数据组中的数据。相应地,发送设备可以向接收设备重新发送目标第三数据组中的至少部分数据。
图10是本申请实施例提供的又一种通信方法1000的示意性流程图。图10所示的通信方法1000与图4所示的通信方法400略有不同。以下结合图10、图11对通信方法1000进行阐述。
1001,发送设备生成数据包,所述数据包包含多个第二码字,所述多个第二码字是对多个第二编码块进行至少一种第二编码得到的,所述多个第二编码块包含第二校验块,所述第二校验块用于校验所述多个第二编码块中的至少部分信息。
图11示出了一种数据包的结构。图11所示的数据包可以为1001中发送设备生成的数据包。
在图11所示的示例中,数据包可以包括M个第二码字,M为大于1的整数。与图5所示的数据包不同,图11所示的数据包可以不包括第一码字。
可选的,所述第二校验块是根据所述至少一个第二编码块中除所述第二校验块以外的至少部分信息生成。生成至少一个第二编码块的方式例如可以包括校验编码,如CRC编码。
对多个第二编码块进行至少一种第二编码的具体实施方式可以参照图8、图9所示的示例,在此不再详细赘述。
1002,发送设备发送所述数据包。
相应地,接收设备从发送设备接收所述数据包。
1003,接收设备对所述多个第二码字进行至少一种第二解码,得到多个第二编码块,所述多个第二编码块包含第二校验块,所述第二校验块用于校验所述多个第二编码块中的部分信息。
接收设备对多个第二码字进行至少一种第二解码的具体实施方式可以参照图4至图9所示的示例,在此不再赘述。
可选的,所述至少一个第二编码块中除所述第二校验块以外的至少部分信息至少根据所述第二校验块校验解码得到。接收设备可以对至少一个第二编码块进行校验解码(如CRC解码),得到至少一个第二编码块中除所述第二校验块以外的至少部分信息。
应理解,图10所示的方法可以由具有通信功能的电子设备执行。例如,发送设备可以为终端设备,接收设备可以为网络设备。又如,发送设备可以为网络设备,接收设备可以为终端设备。又如,发送设备可以为终端设备1,接收设备可以为终端设备2。
可选的,所述多个第二编码块包含冗余信息,在所述多个第二编码块中,所述冗余信息位于所述第二校验块之前或者之后。冗余信息位于所述第二校验块之前的具体实施方式可以参照图8所示的示例,冗余信息位于所述第二校验块之后的具体实施方式可以参照图9所示的示例,在此不再详细赘述。
可选的,在所述多个第二编码块中,所述第二校验块位于一个或多个连续的编码块中。所述第二校验块位于多个连续的第二编码块的示例可以参照图8所示的示例,所述第二校验块位于单个第二编码块的示例可以参照图9所示的示例,在此不再详细赘述。
可选的,所述数据包含第二数据组,所述第二数据组包含所述多个第二码字。数据包含第二数据组的具体实施方式可以参照图4至图9所示的示例,在此不再详细赘述。
可选的,发送设备接收对应所述第二数据组的反馈信息。相应地,接收设备发送对应所述第二数据组的反馈信息。接收设备向发送设备发送针对第二数据组的反馈信息的具体实施方式可以参照图4至图9所示的示例,在此不再详细赘述。
可选的,所述多个第二码字包括编码码率不同的至少两个第二码字。多个第二码字包括编码码率不同的至少两个第二码字的具体实施方式可以参照图4至图9所示的示例,在此不再详细赘述。
图12是本申请实施例提供的另一种通信方法1200的示意性流程图。图12所示的通信方法1200与图4所示的通信方法400略有不同。以下结合图12、图13对通信方法1000进行阐述。
1201,发送设备生成数据包,所述数据包包含多个第一码字,所述多个第一码字是对多个第一编码块进行第一编码得到的,所述多个第一编码块中每个第一编码块包含第一信息块以及用于校验所述第一信息块的第一校验块。
图13示出了一种数据包的结构。图13所示的数据包可以为1201中发送设备生成的数据包。
在图13所示的示例中,数据包可以包括H个第一码字,H为大于1的整数。与图5 所示的数据包不同,图13所示的数据包可以不包括第二码字。
可选的,发送设备获取至少一个第一信息块;发送设备生成所述至少一个第一编码块中的至少一个第一校验块,所述第一校验块与所述第一校验块所在的第一编码块中的第一信息块对应。生成至少一个第一编码块的具体实施方式可以参照图4至图9所示的示例,在此不再赘述。
1202,发送设备发送所述数据包。
相应地,接收设备从发送设备接收所述数据包。
1203,接收设备对所述多个第一码字进行第一解码,得到多个第一编码块,所述多个第一编码块中每个第一编码块包含第一信息块以及用于校验所述第一信息块的第一校验块。
接收设备对多个第一码字进行第一解码的具体实施方式可以参照图4至图9所示的示例,在此不再赘述。
可选的,所述数据包包含L-1个数据组,其中,所述L-1个数据组包含L 1个第一数据组,所述L 1个第一数据组中每个数据组包含n个所述第一码字,所述L 1、n大于或者等于1。可选的,所述n满足n=ceil(H/(L-1)),其中H为所述至少一个第一码字的总数量。可选的,在mod(H,(L-1))>0的情况下,所述L-1个数据组还包括L 2个第三数据组,所述L 2个第三数据组中的每个第三数据组包括p个所述第一码字,L 2为小于L-L1的正整数,p满足p=floor(H/(L-1))。可选的,L 1满足L 1=mod(H,(L-1)),L 2满足L 2=L-mod(H,(L-1))-1。对H个第一码字划分为一个或多个数据组的具体实施方式可以参照图4至图9所示的示例,在此不再赘述。
可选的,发送设备接收与所述L-1个数据组一一对应的L-1个反馈信息。相应地,接收设备发送与所述L-1个数据组一一对应的L-1个反馈信息。接收设备向发送设备发送针对L-1个数据组的反馈信息的具体实施方式可以参照图4至图9所示的示例,在此不再详细赘述。
可选的,所述至少一个第一码字的码长相同。有关第一码字的码长的说明可以参照图4至图9所示的示例,在此不再赘述。
应理解,图12所示的方法可以由具有通信功能的电子设备执行。例如,发送设备可以为终端设备,接收设备可以为网络设备。又如,发送设备可以为网络设备,接收设备可以为终端设备。又如,发送设备可以为终端设备1,接收设备可以为终端设备2。
图14是根据本申请实施例提供的通信装置的结构示意图。该通信装置可以为终端设备或网络设备,也可以为可用于终端设备或网络设备的部件(例如芯片或者电路)。如图14所示,通信装置1400可以包括处理模块1401和收发模块1402。
在一个示例中,处理模块1401用于生成数据包,所述数据包包含至少一个第一码字以及至少一个第二码字,所述第一码字的码长大于所述第二码字的码长,其中,所述至少一个第一码字是对至少一个第一编码块进行第一编码得到的,所述至少一个第一编码块中每个第一编码块包含第一信息块以及用于校验所述第一信息块的第一校验块,所述至少一个第二码字是对至少一个第二编码块进行至少一种第二编码得到的,所述至少一个第二编码块包含第二校验块,所述第二校验块用于校验所述至少一个第二编码块中的部分信息。收发模块1402用于发送所述数据包。
在另一个示例中,收发模块1402用于接收数据包,所述数据包包含至少一个第一码字以及至少一个第二码字,所述第一码字的码长大于所述第二码字的码长。处理模块1401用于对所述至少一个第一码字进行第一解码,对所述至少一个第二码字进行至少一种第二解码,得到至少一个第一编码块、至少一个第二编码块,所述至少一个第一编码块中每个第一编码块包含第一信息块以及用于校验所述第一信息块的第一校验块,所述至少一个第二编码块包含第二校验块,所述第二校验块用于校验所述至少一个第二编码块中的部分信息。
在又一个示例中,处理模块1401用于生成数据包,所述数据包包含多个第二码字,所述多个第二码字是对多个第二编码块进行至少一种第二编码得到的,所述多个第二编码块包含第二校验块,所述第二校验块用于校验所述多个第二编码块中的至少部分信息。收发模块1402用于发送所述数据包。
在再一个示例中,收发模块1402用于接收数据包,所述数据包包含多个第二码字。处理模块1401用于对所述多个第二码字进行至少一种第二解码,得到多个第二编码块,所述多个第二编码块包含第二校验块,所述第二校验块用于校验所述多个第二编码块中的部分信息。
在再另一个示例中,处理模块1401用于生成数据包,所述数据包包含多个第一码字,所述多个第一码字是对多个第一编码块进行第一编码得到的,所述多个第一编码块中每个第一编码块包含第一信息块以及用于校验所述第一信息块的第一校验块。收发模块1402用于发送所述数据包。
在再又一个示例中,收发模块1402用于接收数据包,所述数据包包含多个第一码字。处理模块1401用于对所述多个第一码字进行第一解码,得到多个第一编码块,所述多个第一编码块中每个第一编码块包含第一信息块以及用于校验所述第一信息块的第一校验块。
处理模块1401可以由处理器实现。收发模块1402可以由接收器和/或发射器实现。处理模块1401和收发模块1402的具体功能和有益效果可以参见图4至图9所示的方法,在此就不再赘述。
一种可能的实施例中,还提供了一种通信装置,该通信装置可以为终端设备或网络设备、或者可以为用于终端设备或网络设备的部件(例如芯片或者电路等)。该通信装置可以包括收发器和处理器,可选的,还可以包括存储器。其中收发器可以用于实现对应于上述接收模块和发送模块的相应功能和操作,处理器可以用于实现上述处理模块的相应功能和操作。存储器可以用于存储执行指令或者应用程序代码,并由处理器来控制执行,实现本申请上述实施例提供的通信方法;和/或,也可以用于暂存一些数据和指令信息等。存储器可以独立于处理器存在,此时,存储器可以通过通信线路与处理器相连接。又一种可能的设计中,存储器也可以和处理器集成在一起,本申请实施例对此不作限定。
图15是根据本发明实施例提供的通信装置2000结构框图。该通信装置2000可以是终端设备或网络设备。如图15所示,通信装置2000包括处理器2001、存储器2002、射频电路、天线以及输入输出装置。处理器2001可以用于对通信协议以及通信数据进行处理,以及对通信装置2000进行控制,执行软件程序,处理软件程序的数据等。存储器2002主要用于存储软件程序和数据。射频电路主要用于基带信号与射频信号的转换以及对射频 信号的处理。天线主要用于收发电磁波形式的射频信号。输入输出装置,例如触摸屏、显示屏,键盘等主要用于接收用户输入的数据以及对用户输出数据。需要说明的是,有些种类的通信装置2000可以不具有输入输出装置。
当需要发送数据时,处理器2001对待发送的数据进行基带处理后,输出基带信号至射频电路,射频电路将基带信号进行射频处理后将射频信号通过天线以电磁波的形式向外发送。当有数据发送到通信装置2000时,射频电路通过天线接收到射频信号,将射频信号转换为基带信号,并将基带信号输出至处理器,处理器将基带信号转换为数据并对该数据进行处理。为便于说明,图15中仅示出了一个存储器和处理器。在实际的通信装置2000产品中,可以存在一个或多个处理器和一个或多个存储器。存储器也可以称为存储介质或者存储设备等。存储器可以是独立于处理器设置,也可以是与处理器集成在一起,本申请实施例对此不做限制。
在本申请实施例中,可以将具有收发功能的天线和射频电路视为通信装置2000的收发器2003,将具有处理功能的处理器视为通信装置2000的处理单元。收发器也可以称为收发单元、收发机、收发装置等。处理单元也可以称为处理器,处理单板,处理模块、处理装置等。可选的,可以将收发器2003中用于实现接收功能的器件视为接收单元,将收发器2003中用于实现发送功能的器件视为发送单元,即收发器2003包括接收单元和发送单元。接收单元有时也可以称为接收机、接收器、或接收电路等。发送单元有时也可以称为发射机、发射器或者发射电路等。
处理器2001、存储器2002和收发器2003之间通过内部连接通路互相通信,传递控制和/或数据信号
上述本发明实施例揭示的方法可以应用于处理器2001中,或者由处理器2001实现。处理器2001可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器2001中的硬件的集成逻辑电路或者软件形式的指令完成。
本申请各实施例所述的处理器可以是通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或者其它可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存取存储器(random access memory,RAM)、闪存、只读存储器(read-only memory,ROM)、可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的指令,结合其硬件完成上述方法的步骤。
可选的,在一些实施例中,存储器2002可以存储用于执行如图4至图13所示方法中发送设备或接收设备执行的方法的指令。处理器2001可以执行存储器2002中存储的指令结合其它硬件(例如收发器2003)完成如图4至图13所示方法中发送设备或接收设备执行的步骤,具体工作过程和有益效果可以参见图4至图13所示实施例中的描述。
本申请实施例还提供一种芯片,该芯片包括收发单元和处理单元。其中,收发单元可以是输入输出电路、通信接口;处理单元为该芯片上集成的处理器或者微处理器或者集成 电路。该芯片可以执行上述方法实施例中发送设备或接收设备侧的方法。
本申请实施例还提供一种终端设备,用于执行上述方法实施例中发送设备或接收设备侧的方法。在一个示例中,终端设备可以包括如图14或图15所示的通信装置。终端设备可以指通信节点本身或者通信节点所在的设备。终端设备还可以指智能运输设备,例如车辆、无人机、车载芯片等。终端设备还可以指智能制造设备,例如工业制造***、电池管理***等。终端设备还可以指智能家居设备,例如电视、音响、摄像头、语音助手、智能窗帘、智能灯具等。终端设备还可以指智能终端设备,例如手机、平板电脑、耳机、手表、麦克风、车载设备等。
本申请实施例还提供一种计算机可读存储介质,其上存储有指令,该指令被执行时执行上述方法实施例中发送设备或接收设备侧的方法。
本申请实施例还提供一种包含指令的计算机程序产品,该指令被执行时执行上述方法实施例中发送设备或接收设备侧的方法。
在本说明书中使用的术语“部件”、“模块”、“***”等用于表示计算机相关的实体、硬件、固件、硬件和软件的组合、软件、或执行中的软件。例如,部件可以是但不限于,在处理器上运行的进程、处理器、对象、可执行文件、执行线程、程序和/或计算机。通过图示,在计算设备上运行的应用和计算设备都可以是部件。一个或多个部件可驻留在进程和/或执行线程中,部件可位于一个计算机上和/或分布在2个或更多个计算机之间。此外,这些部件可从在上面存储有各种数据结构的各种计算机可读介质执行。部件可例如根据具有一个或多个数据分组(例如来自与本地***、分布式***和/或网络间的另一部件交互的二个部件的数据,例如通过信号与其它***交互的互联网)的信号通过本地和/或远程进程来通信。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的***、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的***、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个***,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (39)

  1. 一种通信方法,其特征在于,所述方法包括:
    生成数据包,所述数据包包含至少一个第一码字以及至少一个第二码字,所述第一码字的码长大于所述第二码字的码长;
    发送所述数据包;
    其中,所述至少一个第一码字是对至少一个第一编码块进行第一编码得到的,所述至少一个第一编码块中每个第一编码块包含第一信息块以及用于校验所述第一信息块的第一校验块,所述至少一个第二码字是对至少一个第二编码块进行至少一种第二编码得到的,所述至少一个第二编码块包含第二校验块,所述第二校验块用于校验所述至少一个第二编码块中的部分信息。
  2. 如权利要求1所述的通信方法,其特征在于,所述方法还包括:
    获取至少一个第一信息块;
    生成所述至少一个第一编码块中的至少一个第一校验块,所述第一校验块与所述第一校验块所在的第一编码块中的第一信息块对应。
  3. 如权利要求1或2所述的通信方法,其特征在于,所述第二校验块是根据所述至少一个第二编码块中除所述第二校验块以外的至少部分信息生成。
  4. 如权利要求1至3中任一项所述的通信方法,其特征在于,所述至少一个第二编码块包含冗余信息,在所述至少一个第二编码块中,所述冗余信息位于所述第二校验块之前或者之后。
  5. 如权利要求1至4中任一项所述的通信方法,其特征在于,在所述至少一个第二编码块中,所述第二校验块位于一个或多个连续的编码块中。
  6. 如权利要求1至5中任一项所述的通信方法,其特征在于,所述数据包包含L个数据组,其中,所述L个数据组包含L 1个第一数据组和一个第二数据组,所述L 1个第一数据组中每个数据组包含n个所述第一码字,所述第二数据组包含所述至少一个第二码字,所述L 1、n大于或者等于1。
  7. 如权利要求6所述的通信方法,其特征在于,所述方法还包括:
    接收对应所述数据包的L个反馈信息,所述L个反馈信息对应所述L个数据组。
  8. 如权利要求6或7所述的通信方法,其特征在于,所述n满足n=ceil(H/(L-1)),其中H为所述至少一个第一码字的总数量。
  9. 如权利要求8所述的通信方法,其特征在于,在mod(H,(L-1))>0的情况下,所述L个数据组还包括L 2个第三数据组,所述L 2个第三数据组中的每个第三数据组包括p个所述第一码字,L 2为小于L-L 1的正整数,p满足p=floor(H/(L-1))。
  10. 如权利要求9所述的通信方法,其特征在于,L 1满足L 1=mod(H,(L-1)),L 2满足L 2=L-mod(H,(L-1))-1。
  11. 如权利要求1至10中任一项所述的通信方法,其特征在于,所述至少一个第一码字的码长相同。
  12. 如权利要求1至11中任一项所述的通信方法,其特征在于,所述至少一个第二 码字包括编码码率不同的至少两个第二码字。
  13. 如权利要求1至12中任一项所述的通信方法,其特征在于,所述至少一个第二码字的码长之和小于所述第一码字的码长。
  14. 一种通信方法,其特征在于,所述方法包括:
    接收数据包,所述数据包包含至少一个第一码字以及至少一个第二码字,所述第一码字的码长大于所述第二码字的码长;
    对所述至少一个第一码字进行第一解码,对所述至少一个第二码字进行至少一种第二解码,得到至少一个第一编码块、至少一个第二编码块,所述至少一个第一编码块中每个第一编码块包含第一信息块以及用于校验所述第一信息块的第一校验块,所述至少一个第二编码块包含第二校验块,所述第二校验块用于校验所述至少一个第二编码块中的部分信息。
  15. 如权利要求14所述的通信方法,其特征在于,所述第一编码块的第一信息块是根据所述第一编码块的第一校验块校验解码得到。
  16. 如权利要求14或15所述的通信方法,其特征在于,所述至少一个第二编码块中除所述第二校验块以外的至少部分信息是根据所述第二校验块校验解码得到。
  17. 如权利要求14至16中任一项所述的通信方法,其特征在于,所述至少一个第二编码块包含冗余信息,在所述至少一个第二编码块中,所述冗余信息位于所述第二校验块之前或者之后。
  18. 如权利要求14至17中任一项所述的通信方法,其特征在于,在所述至少一个第二编码块中,所述第二校验块位于一个或多个连续的编码块中。
  19. 如权利要求14至18中任一项所述的通信方法,其特征在于,所述数据包包含L个数据组,其中,所述L个数据组包含L 1个第一数据组和一个第二数据组,所述L 1个第一数据组中每个数据组包含n个所述第一码字,所述第二数据组包含所述至少一个第二码字,所述L 1、n大于或者等于1。
  20. 如权利要求19所述的通信方法,其特征在于,所述方法还包括:
    发送对应所述数据包的L个反馈信息,所述L个反馈信息对应所述L个数据组。
  21. 如权利要求19或20所述的通信方法,其特征在于,所述n满足n=ceil(H/(L-1)),其中H为所述至少一个第一码字的总数量。
  22. 如权利要求21所述的通信方法,其特征在于,在mod(H,(L-1))>0的情况下,所述L个数据组还包括L 2个第三数据组,所述L 2个第三数据组中的每个第三数据组包括p个所述第一码字,L 2为小于L-L 1的正整数,p满足p=floor(H/(L-1))。
  23. 如权利要求22所述的通信方法,其特征在于,L 1满足L 1=mod(H,(L-1)),L 2满足L 2=L-mod(H,(L-1))-1。
  24. 如权利要求14至23中任一项所述的通信方法,其特征在于,所述至少一个第一码字的码长相同。
  25. 如权利要求14至24中任一项所述的通信方法,其特征在于,所述至少一个第二码字包括编码码率不同的至少两个第二码字。
  26. 如权利要求14至25中任一项所述的通信方法,其特征在于,所述至少一个第二码字的码长之和小于所述第一码字的码长。
  27. 一种通信方法,其特征在于,所述方法包括:
    生成数据包,所述数据包包含多个第二码字;
    发送所述数据包;
    其中,所述多个第二码字是对多个第二编码块进行至少一种第二编码得到的,所述多个第二编码块包含第二校验块,所述第二校验块用于校验所述多个第二编码块中的至少部分信息。
  28. 如权利要求27所述的通信方法,其特征在于,所述第二校验块是根据所述至少一个第二编码块中除所述第二校验块以外的至少部分信息生成。
  29. 如权利要求27或28所述的通信方法,其特征在于,所述多个第二编码块包含冗余信息,在所述多个第二编码块中,所述冗余信息位于所述第二校验块之前或者之后。
  30. 一种通信方法,其特征在于,所述方法包括:
    接收数据包,所述数据包包含多个第二码字;
    对所述多个第二码字进行至少一种第二解码,得到多个第二编码块,所述多个第二编码块包含第二校验块,所述第二校验块用于校验所述多个第二编码块中的部分信息。
  31. 如权利要求30所述的通信方法,其特征在于,所述至少一个第二编码块中除所述第二校验块以外的至少部分信息是根据所述第二校验块校验解码得到。
  32. 一种通信装置,其特征在于,包括:
    处理模块,用于生成数据包,所述数据包包含至少一个第一码字以及至少一个第二码字,所述第一码字的码长大于所述第二码字的码长;
    发送模块,用于发送所述数据包;
    其中,所述至少一个第一码字是对至少一个第一编码块进行第一编码得到的,所述至少一个第一编码块中每个第一编码块包含第一信息块以及用于校验所述第一信息块的第一校验块,所述至少一个第二码字是对至少一个第二编码块进行至少一种第二编码得到的,所述至少一个第二编码块包含第二校验块,所述第二校验块用于校验所述至少一个第二编码块中的部分信息。
  33. 一种通信装置,其特征在于,包括:
    接收模块,用于接收数据包,所述数据包包含至少一个第一码字以及至少一个第二码字,所述第一码字的码长大于所述第二码字的码长;
    处理模块,对所述至少一个第一码字进行第一解码,对所述至少一个第二码字进行至少一种第二解码,得到至少一个第一编码块、至少一个第二编码块,所述至少一个第一编码块中每个第一编码块包含第一信息块以及用于校验所述第一信息块的第一校验块,所述至少一个第二编码块包含第二校验块,所述第二校验块用于校验所述至少一个第二编码块中的部分信息。
  34. 一种通信装置,其特征在于,所述装置包括:
    处理模块,用于生成数据包,所述数据包包含多个第二码字;
    发送模块,用于发送所述数据包;
    其中,所述多个第二码字是对多个第二编码块进行至少一种第二编码得到的,所述多个第二编码块包含第二校验块,所述第二校验块用于校验所述多个第二编码块中的部分信息。
  35. 一种通信装置,其特征在于,所述装置包括:
    接收模块,用于接收数据包,所述数据包包含多个第二码字;
    处理模块,用于对所述多个第二码字进行至少一种第二解码,得到多个第二编码块,所述多个第二编码块包含第二校验块,所述第二校验块用于校验所述多个第二编码块中的部分信息。
  36. 一种通信装置,其特征在于,所述通信装置包括:至少一个处理器和通信接口,所述通信接口用于所述通信装置与其它通信装置进行信息交互,当程序指令在所述至少一个处理器中执行时,使得所述通信装置实现如权利要求1至31中任一项所述的通信方法。
  37. 一种终端设备,其特征在于,包括如权利要求32至35中任一项所述的通信装置。
  38. 一种计算机程序存储介质,其特征在于,所述计算机可读介质存储有程序代码,当所述计算机程序代码在计算机上运行时,使得计算机执行如权利要求1至31中任一项所述的通信方法。
  39. 一种芯片***,其特征在于,所述芯片***包括至少一个处理器,当程序指令在所述至少一个处理器中执行时,使得如权利要求1至31中任一项所述的通信方法得以实现。
PCT/CN2021/101080 2021-06-18 2021-06-18 通信方法和通信装置 WO2022261984A1 (zh)

Priority Applications (5)

Application Number Priority Date Filing Date Title
PCT/CN2021/101080 WO2022261984A1 (zh) 2021-06-18 2021-06-18 通信方法和通信装置
PCT/CN2021/105561 WO2022262030A1 (zh) 2021-06-18 2021-07-09 通信方法和通信装置
CN202180098967.6A CN117426060A (zh) 2021-06-18 2021-07-09 通信方法和通信装置
EP21945612.6A EP4351048A1 (en) 2021-06-18 2021-07-09 Communication method and communication apparatus
US18/543,647 US20240121031A1 (en) 2021-06-18 2023-12-18 Communication Method and Communication Apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/101080 WO2022261984A1 (zh) 2021-06-18 2021-06-18 通信方法和通信装置

Publications (1)

Publication Number Publication Date
WO2022261984A1 true WO2022261984A1 (zh) 2022-12-22

Family

ID=84526653

Family Applications (2)

Application Number Title Priority Date Filing Date
PCT/CN2021/101080 WO2022261984A1 (zh) 2021-06-18 2021-06-18 通信方法和通信装置
PCT/CN2021/105561 WO2022262030A1 (zh) 2021-06-18 2021-07-09 通信方法和通信装置

Family Applications After (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/105561 WO2022262030A1 (zh) 2021-06-18 2021-07-09 通信方法和通信装置

Country Status (4)

Country Link
US (1) US20240121031A1 (zh)
EP (1) EP4351048A1 (zh)
CN (1) CN117426060A (zh)
WO (2) WO2022261984A1 (zh)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106209302A (zh) * 2015-05-04 2016-12-07 中兴通讯股份有限公司 数据传输处理方法及装置
US20170149528A1 (en) * 2015-11-24 2017-05-25 Samsung Electronics Co., Ltd. Method and apparatus for channel encoding/decoding in a communication or broadcasting system
WO2017178264A1 (en) * 2016-04-15 2017-10-19 Alcatel Lucent Method and apparatus for forward error correction encoding
CN108631792A (zh) * 2017-03-24 2018-10-09 电信科学技术研究院 一种极化码编译码方法及装置
CN110622529A (zh) * 2017-06-14 2019-12-27 中兴通讯股份有限公司 广播信道的通信方法
CN111901065A (zh) * 2019-05-05 2020-11-06 华为技术有限公司 一种重传数据的发送方法、接收方法及装置
CN112825558A (zh) * 2019-11-20 2021-05-21 华为技术有限公司 一种编码方法、解码方法及设备

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2715523C1 (ru) * 2016-04-29 2020-02-28 Хуавей Текнолоджиз Ко., Лтд. Устройство и способ полярного кодирования и декодирования полярного кода
SG11201810437XA (en) * 2016-07-27 2019-02-27 Qualcomm Inc Design of hybrid automatic repeat request (harq) feedback bits for polar codes
CN108964834B (zh) * 2017-05-23 2020-10-23 华为技术有限公司 数据传输方法、芯片、收发机和计算机可读存储介质

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106209302A (zh) * 2015-05-04 2016-12-07 中兴通讯股份有限公司 数据传输处理方法及装置
US20170149528A1 (en) * 2015-11-24 2017-05-25 Samsung Electronics Co., Ltd. Method and apparatus for channel encoding/decoding in a communication or broadcasting system
WO2017178264A1 (en) * 2016-04-15 2017-10-19 Alcatel Lucent Method and apparatus for forward error correction encoding
CN108631792A (zh) * 2017-03-24 2018-10-09 电信科学技术研究院 一种极化码编译码方法及装置
CN110622529A (zh) * 2017-06-14 2019-12-27 中兴通讯股份有限公司 广播信道的通信方法
CN111901065A (zh) * 2019-05-05 2020-11-06 华为技术有限公司 一种重传数据的发送方法、接收方法及装置
CN112825558A (zh) * 2019-11-20 2021-05-21 华为技术有限公司 一种编码方法、解码方法及设备

Also Published As

Publication number Publication date
US20240121031A1 (en) 2024-04-11
EP4351048A1 (en) 2024-04-10
WO2022262030A1 (zh) 2022-12-22
CN117426060A (zh) 2024-01-19

Similar Documents

Publication Publication Date Title
EP3487097B1 (en) Information transmission method and sending end device
US8514927B2 (en) Compression code for transferring rate matched data between devices
US8543867B2 (en) Transmission of acknowledgement and negative acknowledgement in a wireless communication system
WO2018201831A1 (zh) 通信方法和装置
US11728931B2 (en) Communication method, network device, and terminal
CN112636879B (zh) 基于混合自动重传请求的码块处理的方法和装置
CN111133817B (zh) 通信方法和装置
WO2020224532A1 (zh) 一种重传数据的发送方法、接收方法及装置
CN109245860B (zh) 数据处理方法和数据处理装置
WO2017143837A1 (zh) 一种信息传输方法及装置
WO2018188637A1 (zh) 发送信息的方法及其装置和接收信息的方法及其装置
WO2018141291A1 (zh) 一种数据传输的方法和装置
EP3591865B1 (en) Communication method and apparatus
WO2014110812A1 (zh) 信息传输方法和设备
WO2022261984A1 (zh) 通信方法和通信装置
WO2022228467A1 (zh) 数据传输方法、装置及可读存储介质
US11239957B2 (en) Data processing method and data processing apparatus
US8132085B2 (en) Method and apparatus for frame control header decoding using cyclic shifting of bits
WO2018133001A1 (zh) 传输下行控制信息的方法、网络侧设备和终端设备
RU2748852C1 (ru) Способ и устройство
WO2023109733A1 (zh) 一种速率匹配的方法及装置
US20230327800A1 (en) Information processing device and decoding method
WO2022134987A1 (zh) 序列传输方法、接收方法、终端、网络设备和存储介质
WO2021062791A1 (zh) 一种上行控制信息的传输方法、装置及存储介质
WO2018171538A1 (zh) 数据传输方法、网络设备及终端设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21945567

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21945567

Country of ref document: EP

Kind code of ref document: A1