TB packaging method, TB analysis method, TB packaging device, TB analysis device and medium

By acquiring and utilizing the transmission capability information of the receiving node for TB packaging, the problem of reducing PDU and TB processing efficiency caused by TB packaging in the prior art is solved, and more efficient TB packaging and processing is achieved.

CN119629160APending Publication Date: 2025-03-14BEIJING HEFENG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411594172.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-08
Publication Date
2025-03-14

AI Technical Summary

Technical Problem

The transport block (TB) encapsulation method of the media media access control layer in the existing 4G and 5G protocol stacks leads to a reduced processing efficiency between the PDU and TB, mainly due to excessive redundancy overhead and the inability to effectively encapsulate PDUs of multiple receiving nodes.

Method used

By obtaining the TB information to be encapsulated, including the receiving node and its transmission capabilities, encapsulation processing is performed based on this information to generate the target TB. The target TB includes a header field and a load field, the header field is used to carry the identity of the sending node, and the load field is used to carry the PDU. The encapsulation process includes adjusting the size and preset transmission capabilities of the TB according to the transmission capabilities of the receiving node, and encapsulating the PDU into the TB when the conditions are met.

Benefits of technology

By directly performing encapsulation processing based on TB information, the processing efficiency of TB packaging is improved, redundant overhead is reduced, and PDUs of multiple receiving nodes can be effectively encapsulated, thereby improving the processing efficiency between PDUs and TBs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119629160A_ABST
    Figure CN119629160A_ABST
Patent Text Reader

Abstract

The invention relates to a TB packaging method, a TB analysis method, a TB analysis device and a medium, and the TB packaging method comprises the steps: obtaining to-be-packaged TB information, the TB information comprises at least one receiving node and the transmission capability of the receiving node, and the transmission capability is used for indicating the size of a correspondingly packaged target TB and the preset transmission capability; performing packaging processing based on the TB information to obtain the target TB; wherein the target TB comprises a header field and a load field, the header field is used for bearing the identifier of the sending node, and the load field is used for bearing the corresponding PDU. In this way, the technical problem that the processing efficiency between the PDU and the TB is reduced in the prior art can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of communication technology, and in particular to a TB encapsulation method, a TB parsing method, a device and a medium. Background Art

[0002] At present, the encapsulation of the transport block (TB) in the media access control (MAC) layer in the existing 4G (4th-Generation, 4G) and 5G (5th-Generation, 5G) protocol stacks is for multiple PDUs of the same receiving node, and each PDU needs to add a MAC subheader, which will introduce too much overhead. If the traditional mapping processing solution between PDU and transport block (TB) is adopted, on the one hand, only the PDUs of at most one receiving node can be encapsulated, and on the other hand, too much redundant overhead will reduce the processing efficiency between PDU and TB. Summary of the invention

[0003] In order to overcome the problems existing in the related art, the present disclosure provides a TB encapsulation method, a TB parsing method, a device, a medium and a chip to solve the technical problems existing in the above-mentioned related art such as reducing the processing efficiency between PDU and TB.

[0004] According to a first aspect of an embodiment of the present disclosure, a TB encapsulation method is provided, which is applied to a sending node. The method includes: Acquire TB information to be packaged, the TB information including at least one receiving node and a transmission capability of the receiving node, the transmission capability being used to indicate a size of a target TB corresponding to the package and a preset transmission capability; Perform packaging processing based on the TB information to obtain the target TB; The target TB includes a header field and a load field, the header field is used to carry the identifier of the sending node, and the load field is used to carry the corresponding PDU.

[0005] In some embodiments, performing encapsulation processing based on the TB information to obtain the target TB includes: When the transmission capacity of the target node is greater than or equal to the preset transmission capacity of the target TB, the target node is PDU encapsulated to obtain a target PDU corresponding to the target node; Update the encapsulation length of the target TB based on the length of the target PDU; When the encapsulation length of the target TB is equal to the size of the target TB, encapsulating the target PDU into the target TB to complete the encapsulation of the target TB; The target node is any receiving node in the TB information.

[0006] In some embodiments, the method further comprises: When the encapsulation length of the target TB is smaller than the size of the target TB, and / or the transmission capacity of the target node is smaller than the preset transmission capacity of the target TB, deleting the target node in the TB information; The next receiving node is updated to the target node, and the step of performing PDU encapsulation on the target node is repeated when the transmission capacity of the target node is greater than or equal to the preset transmission capacity of the target TB.

[0007] In some embodiments, the size of the target TB and the preset transmission capacity are determined according to the transmission capacity of the first receiving node among the target nodes.

[0008] In some embodiments, after completing the encapsulation processing corresponding to each of the receiving nodes, the method further includes: Determining whether the preset transmission capability of the target TB supports other transmission capabilities; When supporting the transmission of the other transmission capability, re-determine the size of the target TB corresponding to the other transmission capability, and perform encapsulation processing based on the encapsulation length of the target TB and the size of the target TB; When the other transmission capability transmission is not supported, encapsulation processing is performed based on the encapsulation length of the target TB and the size of the target TB.

[0009] In some embodiments, the encapsulation process based on the encapsulation length of the target TB and the size of the target TB includes: When the encapsulation length of the target TB is smaller than the size of the target TB, filling processing is performed on the target TB; or, When the encapsulation length of the target TB is greater than or equal to the size of the target TB, the encapsulation of the target TB is completed.

[0010] In some embodiments, the target TB further includes a filling area, and the filling data corresponding to the filling process is carried in the filling area of ​​the target TB.

[0011] According to a second aspect of an embodiment of the present disclosure, a TB parsing method is provided, which is applied to a receiving node, and the method includes: Obtain a target TB to be parsed, the target TB including a header field and a payload field, the header field is used to carry an identifier of a sending node, and the payload field is used to carry a corresponding PDU; Perform field analysis on the target TB.

[0012] In some embodiments, the performing field parsing on the target TB includes: Parsing the header field in the target TB to obtain the identifier of the sending node and the parsed length of the target TB; The payload field of the target TB is parsed based on the parsed length of the target TB.

[0013] In some embodiments, the parsing of the payload field of the target TB based on the parsed length header field length of the target TB includes: When the parsed length of the target TB is less than the length of the target TB, read the header field of the target PDU from the parsed length of the target TB, the header field of the target PDU at least including the receiving node corresponding to the target PDU; When determining that the length of the target PDU is a valid length, determining whether a receiving node corresponding to the target PDU and a receiving node corresponding to the target TB are the same, and obtaining a corresponding determination result; Based on the determination result, the payload field of the target TB is re-parsed.

[0014] In some embodiments, re-parsing the payload field of the target TB based on the determination result includes: When the determination result indicates that the receiving node corresponding to the target PDU is the same as the receiving node corresponding to the target TB, the target PDU is obtained by reading from the target TB according to the length of the target PDU; or When the determination result is used to indicate that the receiving node corresponding to the target PDU and the receiving node corresponding to the target TB are not the same, the parsing length of the target TB is updated based on the length of the target PDU, and the step of reading the header field of the target PDU starting from the parsing length of the target TB when the parsing length of the target TB is less than the length of the target TB is repeated.

[0015] In some embodiments, the method further comprises: When it is determined that the length of the target PDU is not a valid length, the target PDU is determined to be a padding PDU.

[0016] In some embodiments, the method further comprises: When the target PDU meets a preset condition, determining that the length of the target PDU is a valid length; or, When the target PDU does not meet a preset condition, determining that the length of the target PDU is not a valid length; The preset condition at least includes that the load field of the target PDU does not carry preset padding data.

[0017] In some embodiments, the header field of the target PDU includes a receiving node indication area, a sending sequence number indication area, and a length indication area, wherein: The receiving node indication area is used to indicate the receiving node corresponding to the target PDU; The sending sequence number indication area is used to indicate the sending sequence number corresponding to the target PDU; The length indication area is used to indicate the sum of the lengths of each SDU in the target PDU.

[0018] According to a third aspect of an embodiment of the present disclosure, a TB encapsulation device is provided, which is applied to a sending node, and the device includes: An acquisition module, configured to acquire TB information to be packaged, wherein the TB information includes at least one receiving node and a transmission capability of the receiving node, wherein the transmission capability is used to indicate a size of a target TB corresponding to the package and a preset transmission capability; A processing module, configured to perform packaging processing based on the TB information to obtain the target TB; The target TB includes a header field and a load field, the header field is used to carry the identifier of the sending node, and the load field is used to carry the corresponding PDU.

[0019] According to a fourth aspect of an embodiment of the present disclosure, a TB parsing device is provided, which is applied to a receiving node, and the device includes: An acquisition module is configured to acquire a target TB to be parsed, wherein the target TB includes a header field and a payload field, wherein the header field is used to carry an identifier of a sending node, and the payload field is used to carry a corresponding PDU; The processing module is configured to perform field analysis on the target TB.

[0020] For the contents not introduced or described in the embodiments of the present disclosure, please refer to the relevant introduction in the aforementioned method embodiments, and the embodiments of the present disclosure are not limited thereto.

[0021] According to a fifth aspect of an embodiment of the present disclosure, a communication device is provided, comprising: a processor; a memory for storing processor executable instructions; wherein the processor is configured to execute the executable instructions to implement the steps of the above-mentioned TB encapsulation method or the above-mentioned TB parsing method.

[0022] According to a sixth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the above-mentioned TB encapsulation method or the above-mentioned TB parsing method are implemented.

[0023] According to a seventh aspect of an embodiment of the present disclosure, a chip is provided, including: a processor and an interface; the processor is used to read instructions to execute the steps of the above-mentioned TB encapsulation method or the above-mentioned TB parsing method.

[0024] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: the sending node may obtain the TB information to be encapsulated, the TB information includes at least one receiving node and the transmission capability of the receiving node, the transmission capability is used to indicate the size and preset transmission capability of the corresponding encapsulated target TB; encapsulation processing is performed based on the TB information to obtain the target TB; wherein the target TB includes a header field and a load field, the header field is used to carry the identifier of the sending node, and the load field is used to carry the corresponding PDU. In this way, the corresponding target TB can be encapsulated directly according to the field format based on the TB information, which is conducive to improving the processing efficiency of TB encapsulation. Thereby solving the technical problems existing in the above-mentioned related technologies such as reducing the processing efficiency between PDU and TB.

[0025] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0027] Figure 1 The figure is a schematic diagram showing a flattening process of a protocol stack according to an exemplary embodiment.

[0028] Figure 2A It is a schematic diagram of a transmission format of a TB according to an exemplary embodiment.

[0029] Figure 2B The figure is a schematic diagram of a transmission format of a PDU according to an exemplary embodiment.

[0030] Figure 2C The figure is a schematic diagram of a transmission format of an SDU according to an exemplary embodiment.

[0031] Figure 3 It is a flowchart of a TB packaging method according to an exemplary embodiment.

[0032] Figure 4 It is a schematic diagram showing TB information according to an exemplary embodiment.

[0033] Figure 5The figure is a flowchart of a packaging process according to an exemplary embodiment.

[0034] Figure 6 The figure is a flowchart of another packaging process according to an exemplary embodiment.

[0035] Figure 7 The figure is a schematic diagram of a TB packaging process according to an exemplary embodiment.

[0036] Figure 8 It is a flowchart of a TB analysis method according to an exemplary embodiment.

[0037] Fig. 9 The figure is a flowchart of a field parsing according to an exemplary embodiment.

[0038] Fig.10 The figure is a flowchart of another field parsing according to an exemplary embodiment.

[0039] Fig.11 The figure is a flowchart of a TB analysis according to an exemplary embodiment.

[0040] Fig.12 It is a schematic structural diagram of a TB packaging device according to an exemplary embodiment.

[0041] Fig.13 It is a schematic structural diagram of a TB analysis device according to an exemplary embodiment.

[0042] Fig.14 It is a schematic structural diagram of a communication device according to an exemplary embodiment.

[0043] Fig.15 The figure is a schematic diagram showing the structure of a chip according to an exemplary embodiment. DETAILED DESCRIPTION

[0044] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0045] It should be noted that all actions of acquiring signals, information or data in the present disclosure are performed with the authorization given by the owner of the corresponding device.

[0046] At present, the 3GPP's fifth-generation mobile communication technology (5th-Generation, 5G) protocol stack solution is being promoted. It is proposed that the protocol stack function of the data link layer needs to process data packets with high efficiency and low latency, and requires the long-term evolution technology (Long Term Evolution, LTE) as the baseline. Among them, the data link layer includes three protocol layers: the packet data convergence protocol (Packet Data Convergence Protocol, PDCP) layer, the radio link control (Radio Link Control, RLC) layer, and the media access control (Medium Access Control, MAC) layer. Among them, each protocol layer has an independent data protocol unit PDU, and the way of forming PDU in each protocol layer is different, which increases the overall overhead of the data link layer. For example, PDCP does not have a cascading function. PDCP will allocate a PDCP sequence number (Serial, SN) for the data packet sent by the application layer, and after encryption and header compression to increase the PDCP header overhead, form a PDCP protocol data unit (PDU) and then forward it to RLC. RLC sends multiple PDCP PDUs in one RLC PDU to complete the packet cascading function. However, in the latest development of the fifth generation mobile communication technology, the RLC cascading capability has been reduced, that is, each RLC PDU can be cascaded to a maximum of 2 PDCP PDCs. Since a MAC PDU header overhead is required for each RLC PDU, more overhead will be generated, reducing the data transmission speed and the flexibility of business processing. If the traditional mapping processing solution between PDU and TB is used again, a TB can only encapsulate multiple MAC PDUs of the same receiving node. On the one hand, it cannot expand multi-node reception, and on the other hand, too much overhead will reduce the processing efficiency between PDU and TB.

[0047] In order to solve the above problems, the present disclosure provides a TB packaging method, a TB analysis method, a device, a medium and a chip. The following first introduces some applicable embodiments of the present disclosure.

[0048] See also Figure 1 FIG. 1 is a schematic diagram showing a flattening process of a protocol stack according to an exemplary embodiment. Figure 1As shown, the protocol stack involved in the wireless ad hoc network is similar to the top-down layered protocol stack architecture of 4G (LTE) / 5G users, and is flattened, which retains the transport layer, data link layer and physical layer. Among them, the transport layer is mainly responsible for constructing the raw data into a data service unit (SDU) that can be recognized by all nodes. The data link layer is mainly responsible for splicing the SDU into a protocol data unit (PDU) that can be recognized by neighboring nodes, where one PDU can include at least one SDU or part of the SDU, and this disclosure does not make too many restrictions and details. The physical layer (Physical Layer, PHY) is mainly responsible for providing a specific size of transport block (TB) to carry one or more complete PDUs of different receiving nodes, where one TB includes at least one PDU, and this disclosure does not make too many restrictions and details. Under the premise of ensuring transmission reliability, it is necessary to more simply and effectively implement SDU parsing, PDU multiplexing and demultiplexing (ie, PDU encapsulation and parsing), and mutual mapping between PDU and TB (ie, PDU to TB mapping, TB to PDU parsing). Based on this architecture, the user plane layered protocol architecture can be flattened while ensuring the stability of data service transmission and improving the effectiveness of data transmission.

[0049] See also Figure 2A FIG. 1 is a schematic diagram showing a transmission format of a TB according to an exemplary embodiment. Figure 2A The TB shown may include a header field 101 and a payload field 102. The header field 101 may refer to a header field with clear field content and fixed length.

[0050] The above-mentioned header field 101 may include a sending node indication area 1011, and the sending node indication area 1011 is used to indicate or carry the identifier of the sending node. That is, it indicates which sending node sends the TB. The above-mentioned load field 102 can be used to carry the corresponding PDU. Usually, one TB can carry one or several PDUs. The figure shows the example of carrying n PDUs, and n is a positive integer customized by the system or user according to actual conditions. Optionally, the above-mentioned load field 102 may also include a filling area, and the filling area is used to carry corresponding filling data. The filling data may be data content customized by the system, such as filling with data such as 0xFF or 0, etc., and the present disclosure does not make too many restrictions and details on this. The present disclosure does not limit the transmission format of the above-mentioned PDU. For example, the transmission format of the traditional PDU may be adopted, and the following may be adopted. Figure 2B The transmission format of the PDU shown, etc.

[0051] It can be seen that the above TB transmission format has the following advantages: the transmission block TB no longer serves one receiving node but can carry data of several receiving nodes that meet the transmission conditions and does not require too much redundant header overhead, which is beneficial to improving the performance of data transmission.

[0052] See also Figure 2B FIG. 1 is a schematic diagram showing a transmission format of a PDU according to an exemplary embodiment. Figure 2B The PDU shown may include a header field 201 and a payload field 202. The above-mentioned header field 201 may refer to a header field with clear field content and fixed length. The above-mentioned header field 201 may include a receiving node indication area 2011, a sending sequence number indication area 2012 and a length indication area 2013. The above-mentioned receiving node indication area 2011 is used to indicate the receiving node corresponding to the PDU, that is, to indicate which receiving node can demultiplex the PDU. The above-mentioned sending sequence number indication area 2012 is used to indicate the sending sequence number corresponding to the PDU, that is, to indicate which PDU it is, so that it can quickly assist in the adjustment of the PDU demultiplexing state and improve the synchronization detection efficiency of the SDU under abnormal reception. Each receiving node maintains a separate sending sequence number (PDU_SN). The sending sequence number PDU_SN can be updated to (PDU_SN+1)%PDU_SN_MAX after each use, where PDU_SN_MAX refers to a preset PDU sequence number, such as the maximum sending sequence number of the PDU, which usually depends on the number of valid bits in the sending sequence number indication area. The above-mentioned length indication area 2013 is used to indicate the length of the load in the PDU, that is, the length of all or each SDU.

[0053] The payload field 202 may be used to carry the corresponding SDU. Usually, a PDU may include one or more SDUs, which is not limited or detailed in this disclosure. The transmission format of the SDU is not limited in this disclosure. For example, the following Figure 2C The transmission format of the SDU shown, etc.

[0054] It can be seen that the transmission format of the above PDU has the following advantages: 1) The header field of PDU no longer indicates the number of spliced ​​SDUs and their corresponding lengths, so the PDU does not need to calculate the header overhead before deciding the number of SDUs that can be multiplexed during the multiplexing process. It only needs to connect the SDUs one by one in the payload field, thereby simplifying the construction complexity; 2) The payload field of PDU can splice multiple SDUs, which greatly improves the multiplexing performance compared to the 5G RLC PDU, which can only splice 2 SDUs at most; 3) The payload field of PDU no longer has padding content, which is different from the 4G RLC PDU, which has padding content, and also improves the multiplexing performance; 4) Since there is a probability of false detection in the synchronization header, adding an integrity protection area to the header (which depends on part of the data content) effectively reduces the probability of false detection while also reducing the probability of attack on the constructed SDU.

[0055] See also Figure 2C FIG. 1 is a schematic diagram showing a transmission format of an SDU according to an exemplary embodiment. Figure 2C The SDU shown may include a header field 301 and a payload field 302, and may optionally include an extension field 303. The header field 301 may refer to a header field with clear field content and fixed length. The transport layer may receive a corresponding data packet (e.g., an Ethernet data packet) according to the offset address of the header length of the SDU to reduce the number of data copies, improve data transmission performance, and facilitate the subsequent multiplexing and demultiplexing process between the PDU and the SDU to become simpler and faster.

[0056] The above-mentioned header field 301 may include a synchronization indication area 3011, an extension indication area 3012, a length indication area 3013 and an integrity protection area 3014. The above-mentioned synchronization indication area 3011 is used to indicate the synchronization code position of the SDU. That is, based on the synchronization indication area 3011, the synchronization code position can be found from the encapsulated corresponding PDU to determine the position of the SDU. The present disclosure does not limit the size and representation of the above-mentioned synchronization indication area 3011, for example, 1 byte content is usually represented by 0x55, etc. The above-mentioned extension indication area 3012 is used to indicate whether the SDU includes the above-mentioned extension field 303, and usually the extension field 303 is located in the tail area of ​​the SDU. The present disclosure does not limit the size of the above-mentioned extension indication area 3012, for example, it can usually occupy 8 bits, and a bit mapping method can be used to determine whether to include 8 different transmission status indications. For example, the first bit indicates the transmission sequence number of the SDU, and the second bit indicates the priority of the SDU in the wireless ad hoc network. The present disclosure does not limit the representation of the above-mentioned extended indication area. For example, when the value of the above-mentioned extended indication area is 0x00, it is used to indicate that there is no extended content; when the value of the above-mentioned extended indication area is 0x01, it is used to indicate the transmission sequence number of the SDU; when the value of the above-mentioned extended indication area is 0x02, it is used to indicate the priority of the SDU; when the value of the above-mentioned extended indication area is 0x03, it is used to indicate that the transmission sequence number and priority of the SDU can be included at the same time. The above-mentioned length indication area 3013 is used to indicate the length of the entire SDU, and its purpose can be to quickly synchronize the next SDU. The present disclosure does not limit the size and representation of the above-mentioned length indication area 3013. For example, it can occupy 12 bits and can indicate 2048 bytes, which is larger than the traditional Ethernet data packet length (the Ethernet data packet length is usually less than 1600 bytes). The above-mentioned integrity protection area 3014 is used to make integrity and legal judgments on the SDU. The present disclosure does not limit the size and representation of the above-mentioned integrity protection area 3014. For example, it can occupy 1 byte. The present disclosure does not limit the specific implementation of the above-mentioned integrity legal judgment. For example, the present disclosure can use a preset algorithm (such as the checksum algorithm of the Internet Protocol (IP)) to calculate the result of 2 bytes by taking the above-mentioned synchronization indication area 3011, the above-mentioned extension indication area 3012, the above-mentioned length indication area 3013 and the partial data packet as the load (such as the first dozens of bytes in the Ethernet data packet) as input, extract the data content of the last 1 byte and match it with the check data carried in the above-mentioned integrity protection area 3014. If the match is successful, the result of the above-mentioned integrity legal judgment is legal; otherwise, the result of the above-mentioned integrity legal judgment is illegal.

[0057] The payload field 302 is used to carry a complete data packet, such as an Ethernet data packet.

[0058] The above-mentioned extension field 303 refers to an expandable field that can be located at the end of the SDU, which is mainly used to indicate the sending status of the transmission service in the protocol. For example, it may include but is not limited to any one or more of the following combinations: the sending sequence number, priority, delay parameter or other custom information of the SDU. The above-mentioned sending sequence number refers to the sending sequence number of the SDU, such as the sending number, etc. The above-mentioned priority refers to the priority of the SDU, which is convenient for the subsequent processing of the SDU according to the priority, such as forwarding the SDU according to the corresponding priority, etc. The above-mentioned delay parameter may refer to the minimum delay guarantee parameter required by the SDU, which is used to reflect the transmission delay of the SDU, such as the minimum transmission delay, etc. The length of each field or area involved in the above-mentioned SDU can be an integer number of bytes, and the length of the entire SDU can also be an integer number of bytes. The content settings of the above-mentioned fields can be customized in advance by the system or the user according to the actual situation, and this disclosure does not make too many restrictions and details on this.

[0059] It can be seen that the transmission format of the SDU disclosed above can have the following advantages: the header field of the SDU is not for service indication, but can be used for subsequent PDU multiplexing and demultiplexing. The SDU indicates the service attributes through the extension field at the end, which increases the flexibility of service transmission. Adding an integrity protection field to the SDU header field can improve the accuracy of synchronization. The integrity protection field includes part of the content of the Ethernet data packet, which can improve the effectiveness and reliability of the synchronization header. Because partial data can be received to quickly confirm whether the synchronization is valid, the effectiveness of the synchronization header is improved; once the data is incorrect or tampered with, it can be confirmed that the synchronization is invalid.

[0060] The sending node involved in the present disclosure may also be referred to as a sending end or a sending device, which is an entity for receiving or transmitting signals, such as a terminal device or a network device. The terminal device may also be referred to as a terminal device (terminal), a user equipment (UE), a mobile station (MS), a mobile terminal device (MT), etc. The terminal device may be a car with communication function, a smart car, a mobile phone (Mobile Phone), a wearable device, a tablet computer (Pad), a computer with wireless transceiver function, a virtual reality (Virtual Reality, VR) terminal device, an augmented reality (Augmented Reality, AR) terminal device, a wireless terminal device in industrial control (Industrial Control), a wireless terminal device in self-driving, a wireless terminal device in remote medical surgery, a wireless terminal device in smart grid (Smart Grid), a wireless terminal device in transportation safety (Transportation Safety), a wireless terminal device in smart city (Smart City), a wireless terminal device in smart home (Smart Home), etc. The network device is described in detail below and will not be elaborated here. The embodiments of the present disclosure do not limit the specific technology and specific device form adopted by the sending node.

[0061] The receiving node involved in the present disclosure may also be referred to as a receiving end or a receiving device, which is an entity for receiving signals, such as a network device or a terminal device. For the introduction of the terminal device, reference may be made to the relevant introduction of the aforementioned content. The network device may be an evolved NodeB (eNB), a transmission point (TRP), a next generation NodeB (gNB) in an NR system, a base station in other future mobile communication systems, or an access node in a wireless fidelity (WiFi) system. The embodiments of the present disclosure do not limit the specific technology and specific device form adopted by the receiving node. When the above-mentioned receiving node is a network device, the network device may be composed of a centralized unit (CU) and a distributed unit (DU), wherein the CU may also be referred to as a control unit (Control Unit). The CU-DU structure may be used to split the protocol layer of a network device, such as a base station, and the functions of some protocol layers are placed in the CU for centralized control, and the functions of the remaining part or all of the protocol layers are distributed in the DU, and the DU is centrally controlled by the CU. The embodiments of the present disclosure do not limit the specific technology and specific device form adopted by the receiving node.

[0062] See also Figure 3 FIG. 1 is a flow chart of a TB packaging method according to an exemplary embodiment. Figure 3 The method shown can be applied to a sending node, and the method may include the following implementation steps: S301. Acquire TB information to be packaged, where the TB information includes at least one receiving node and a transmission capability of the receiving node, where the transmission capability is used to indicate a size of a target TB corresponding to the package and a preset transmission capability.

[0063] In the present disclosure, the above-mentioned TB information may refer to the relevant information used to describe the target TB to be packaged, which may include but is not limited to, for example, which receiving nodes (R i , i represents the i-th receiving node) communication, the transmission capacity of these receiving nodes (C i, i represents the i-th receiving node), the size of the target TB (TB_B), the encapsulation length of the target TB (TB_MB), the preset transmission capacity of the target TB (TB_C) or other custom information used to describe the target TB, etc., which are not limited or elaborated in this disclosure. The encapsulation length (TB_MB) of the above-mentioned target TB refers to the length of the current encapsulation of the above-mentioned target TB, and can also be understood as the encapsulation length of the above-mentioned target TB at the current moment. During initialization, the encapsulation length (TB_MB) of the above-mentioned target TB can be directly set to the fixed header length of the above-mentioned target TB. The above-mentioned transmission capability may refer to the transmission format of the receiving node, for example, it may include but is not limited to differential phase shift keying (DPSK), quadrature digital phase modulation (QPSK) or other transmission formats or methods, etc. The preset transmission capacity (TB_C) of the above-mentioned target TB can be directly set to the transmission capacity C1 of the first receiving node. The present disclosure may determine the size of the target TB based on the transmission capability of the corresponding receiving node. Usually, the size of the target TB is determined by the preset transmission capability of the target TB, and the present disclosure does not make too many limitations and details on this.

[0064] The present disclosure does not limit the implementation method for obtaining the above TB information. For example, the present disclosure may use a specific algorithm to calculate at least one receiving node (R i ), the transmission capacity of each receiving node (C i ). The above-mentioned specific algorithm may refer to an algorithm that is pre-defined by the system or the user according to the actual situation, which may include but is not limited to algorithms such as fairness, greed, priority, etc., which are not limited or detailed in this disclosure. For example, see Figure 4 FIG. 1 is a schematic diagram showing a TB information according to an exemplary embodiment. Figure 4 As shown, the sending node S currently supports communication with n receiving nodes, which are R1 to R n , and also gives the transmission capacity of each receiving node. For example, the transmission capacity C1 of the receiving node R1 can be 6, the transmission capacity C2 of the receiving node R2 can be 10, the transmission capacity C3 of the receiving node R3 can be 2, ..., the transmission capacity C1 of the receiving node R2 can be 10, the transmission capacity C2 of the receiving node R3 can be 2, ..., the transmission capacity C3 of the receiving node R n The transmission capacity of C n It can be 8 levels.

[0065] In an optional embodiment, the present disclosure may assign the identifier of the sending node to the sending node indication area of ​​the target TB. Figure 2A The relevant introduction in the embodiments will not be repeated here.

[0066] S302. Perform encapsulation processing based on the TB information to obtain the target TB; wherein the target TB includes a header field and a load field, the header field is used to carry the identifier of the sending node, and the load field is used to carry the corresponding PDU.

[0067] By implementing the embodiments of the present disclosure, the sending node can obtain the TB information to be encapsulated, the TB information includes at least one receiving node and the transmission capability of the receiving node, the transmission capability is used to indicate the size of the corresponding encapsulated target TB and its preset transmission capability; encapsulation processing is performed based on the TB information to obtain the target TB; wherein the target TB includes a header field and a load field, the header field is used to carry the identifier of the sending node, and the load field is used to carry the corresponding PDU. In this way, the corresponding target TB can be encapsulated directly according to the field format based on the TB information, which is conducive to improving the processing efficiency of TB encapsulation. Thereby solving the technical problems existing in the above-mentioned related technologies such as reducing the processing efficiency between PDU and TB.

[0068] In step S302, the present disclosure may sequentially traverse each receiving node in the above-mentioned at least one receiving node (also referred to as a receiving node set) to perform corresponding TB encapsulation processing. The present disclosure does not limit the specific implementation of the above-mentioned encapsulation processing. For example, the relevant content is described by taking the target node as an example, but it does not constitute a limitation. The target node is any one of the above-mentioned at least one receiving node. Please refer to Figure 5 FIG. 1 is a schematic diagram of a packaging process according to an exemplary embodiment. Figure 5 The process shown may include the following implementation steps: S501. When the transmission capacity of the target node is greater than or equal to the preset transmission capacity of the target TB, PDU encapsulation is performed on the target node to obtain a target PDU corresponding to the target node.

[0069] After obtaining the above-mentioned TB information, the present disclosure can traverse each receiving node in the receiving node set. The present disclosure takes the target node as an example to specifically introduce the TB encapsulation processing. The present disclosure can determine whether the transmission capacity of the above-mentioned target node is greater than or equal to the preset transmission capacity of the target TB. If it is determined that the transmission capacity of the above-mentioned target node is less than the preset transmission capacity of the target TB, step S504 can be executed; on the contrary, if it is determined that the transmission capacity of the above-mentioned target node is greater than or equal to the preset transmission capacity of the target TB, it indicates that the above-mentioned target TB can carry the PDU of other receiving nodes. The present disclosure can first perform PDU encapsulation on the above-mentioned target node, so as to encapsulate and obtain the target PDU corresponding to the above-mentioned target node. The present disclosure does not go into too much detail about the specific implementation method of PDU encapsulation, and it can correspond to the relevant embodiments involved in the PDU encapsulation method of the relevant case. The preset transmission capacity (TB_C) of the above-mentioned target TB refers to the transmission capacity value pre-defined by the system or the user, for example, it can usually be the transmission capacity C1 of the first receiving node, or it can be the default capacity value set by the system, etc., and the present disclosure does not make too many restrictions and details on this.

[0070] In some optional embodiments, after performing PDU decompression / encapsulation on the target node in the above-mentioned receiving node set, the present disclosure may assign and update the length of the corresponding target PDU, for example, PDU_TB=TB_B-TB_MB. The length of the above-mentioned target PDU (PDU_TB) refers to the total length of the target PDU, which may include the header field length (PDU_H) of the target PDU and the payload field length (PDU_PB) of the target PDU.

[0071] S502: Update the encapsulation length of the target TB based on the length of the target PDU.

[0072] The present disclosure may update or recalculate the encapsulation length (TB_MB) of the target TB according to the decompression / encapsulation result, and may specifically be updated according to the length of the target PDU, for example, it may be updated with reference to the following formula (1): Formula (1) Among them, TB_MB represents the encapsulation length of the above target TB, PDU_PB represents the payload field length of the above target PDU, and PDU_H represents the header field length of the above target PDU. The header field length (PDU_H) of the above target PDU and the payload field length (PDU_PB) of the target PDU together constitute the length of the above target PDU (PDU_TB).

[0073] S503. When the encapsulation length of the target TB is equal to the size of the target TB, encapsulate the target PDU into the target TB to complete the encapsulation of the target TB; wherein the target node is any receiving node in the TB information.

[0074] After updating the encapsulation length (TB_MB) of the target TB, the present disclosure can determine whether the encapsulation length (TB_MB) of the target TB is equal to the size (TB_B) of the target TB. If the encapsulation length (TB_MB) of the target TB is equal to the size (TB_B) of the target TB, it can be determined that the encapsulation of the entire target TB has been completed, and the process can be ended or exited. The target PDU is encapsulated in the target TB. On the contrary, if the encapsulation length (TB_MB) of the target TB is less than the size (TB_B) of the target TB, step S504 can be entered.

[0075] S504: Delete the target node in the TB information.

[0076] The present disclosure determines that the encapsulation length (TB_MB) of the target TB is smaller than the size (TB_B) of the target TB and / or the transmission capacity (C i ) is less than the preset transmission capacity (TB_C) of the target TB, the target node may be deleted from the at least one receiving node (ie, the receiving node set).

[0077] S505: Update the next receiving node to the target node, and repeat the above steps S501-S505.

[0078] The present disclosure may update the next receiving node in the at least one receiving node (i.e., the receiving node set) as the target node, and repeat the above Figure 5 The process shown in the figure ends until each receiving node in the at least one receiving node (ie, the receiving node set) is traversed.

[0079] Some optional embodiments of the present disclosure are described below.

[0080] See also Figure 6 FIG. 1 is a flow chart of another packaging process according to an exemplary embodiment. Figure 6 The flowchart shown may include the following implementation steps: S601: Determine whether the encapsulation length of the target TB supports transmission with other transmission capabilities, and the other transmission capabilities are smaller than the preset transmission capacity of the target TB.

[0081] After traversing each receiving node in the at least one receiving node, that is, when the receiving node set is empty, the present disclosure can judge / determine whether the encapsulation length (TB_MB) of the above target TB supports other lower transmission capacity transmission or carrying. If it is determined that the encapsulation length (TB_MB) of the above target TB supports other lower transmission capacity transmission, step S602 can be continued; conversely, if it is determined that the encapsulation length (TB_MB) of the above target TB does not support other lower transmission capacity transmission, step S603 can be continued. Among them, the above other transmission capacity must be less than the above preset transmission capacity.

[0082] S602: When supporting transmission with the other transmission capabilities, re-determine the size of the target TB corresponding to the other transmission capabilities, and perform encapsulation processing based on the encapsulation length of the target TB and the size of the target TB.

[0083] When the present disclosure determines that the encapsulation length (TB_MB) of the target TB supports other lower transmission capacity transmission, the transmission capacity can be reduced, the other transmission capacity can be determined, and the size of the target TB corresponding to the other transmission capacity can be recalculated. The calculation of the size of the target TB can be referred to above. Figure 3 The relevant introduction in the embodiment is not repeated here. Then, encapsulation processing is performed based on the encapsulation length (TB_MB) of the target TB and the size (TB_B) of the target TB, which may be described in detail below in this disclosure.

[0084] S603: When the other transmission capability transmission is not supported, encapsulation processing is performed based on the encapsulation length of the target TB and the size of the target TB.

[0085] When it is determined that the encapsulation length (TB_MB) of the target TB does not support transmission with other lower transmission capabilities, the present disclosure may perform encapsulation processing based on the encapsulation length (TB_MB) of the target TB and the size (TB_B) of the target TB. The present disclosure does not limit the specific implementation of the encapsulation processing, which is described in detail below.

[0086] In one implementation, when the encapsulation length (TB_MB) of the target TB is greater than or equal to the size (TB_B) of the target TB, it can be determined that the encapsulation of the entire target TB has been completed, and the process can be ended or exited.

[0087] In another embodiment, when the encapsulation length (TB_MB) of the target TB is smaller than the size (TB_B) of the target TB, the present disclosure may perform padding processing on the target TB, for example, padding with preset characters, such as 0xFF or 0, etc., which is not limited or detailed in the present disclosure. The padding data / padding content corresponding to the padding processing may be carried in the padding area of ​​the target TB, and the corresponding data may refer to the aforementioned Figure 2A The relevant introduction about the filling area in the above-mentioned embodiment will not be repeated here.

[0088] It can be seen that since the PDU includes a length indication area, all PDUs can be read by making corresponding offsets according to the length indicated in each area, and the receiving node will only parse the PDU sent to itself or other PDUs with broadcast attributes. It can be seen that the above TB encapsulation has the following advantages: 1) The TB can include PDUs of multiple receiving nodes that meet the transmission conditions; 2) The size of the TB transmission block can reversely determine the transmission capacity, thereby improving the reliability of data transmission.

[0089] By implementing the embodiments of the present disclosure, the present disclosure can obtain TB information to be encapsulated, wherein the TB information includes at least one receiving node and the transmission capability of the receiving node, and the transmission capability is used to indicate the size of the corresponding encapsulated target TB and the preset transmission capability; encapsulation processing is performed based on the TB information to obtain the target TB; wherein the target TB includes a header field and a load field, wherein the header field is used to carry the identifier of the sending node, and the load field is used to carry the corresponding PDU. In this way, the corresponding target TB can be encapsulated directly according to the field format based on the TB information, which is conducive to improving the processing efficiency of TB encapsulation. Thus, the technical problems existing in the above-mentioned related technologies, such as reducing the processing efficiency between PDU and TB, are solved.

[0090] To help better understand the embodiments of the present disclosure, the following examples are given. Figure 7 FIG. 1 is a flow chart of a TB packaging process according to an exemplary embodiment. Figure 7 The process shown can be applied to a sending node, and may specifically include the following implementation steps: S701. A sending node obtains physical layer PHY resources and prepares a target transmission block TB.

[0091] S702: Calculate the set of receiving nodes currently supporting transmission and the transmission capability of each receiving node according to a specific algorithm (such as fairness, greed, priority, etc.). The receiving node set may include at least one receiving node, R i represents the i-th receiving node, C iIndicates the transmission capacity of the i-th receiving node. Set the preset transmission capacity of the target TB, for example, C=C1. Calculate the size of the target TB (TB_B) by the preset transmission capacity of the target TB. Assign a value to the header field of the TB: assign the identifier of the sending node to the sending node indication area. Set the encapsulation length of the target TB TB_MB = fixed header length.

[0092] S703: Determine whether the receiving node set is empty.

[0093] When the present disclosure determines that the receiving node set is not empty, step S704 may be continued to be executed; otherwise, when the present disclosure determines that the receiving node set is empty, step S708 may be continued to be executed.

[0094] S704: Determine whether the transmission capacity of the target node is greater than a preset transmission capacity. The preset transmission capacity is a system-defined setting, such as C.

[0095] When the present disclosure determines that the transmission capacity of the target node is greater than the preset transmission capacity, step S705 may be continued to be executed; otherwise, step S707 may be continued to be executed.

[0096] S705. For the first receiving node in the receiving node set as the above-mentioned target node, perform PDU multiplexing and assign a value to the length of the multiplexed target PDU (PDU_TB), for example, PDU_TB=TB_B- TB_MB. Among them, TB_B is the size of the target TB, and TB_MB is the encapsulation length of the target TB. According to the multiplexing result, the target PDU recalculates the encapsulation length of the target TB TB_MB=TB_MB+PDU_PB+ PDU_H, where PDU_PB is the payload length of the target PDU and PDU_H is the header field length of the target PDU.

[0097] S706 , determining whether the encapsulation length TB_MB of the target TB is equal to the size TB_B of the target TB.

[0098] When the present disclosure determines that the encapsulation length TB_MB of the target TB is not equal to or less than the size of the target TB, step S707 may be continued to be executed; otherwise, when the encapsulation length TB_MB of the target TB is determined to be equal to the size of the target TB, the process may be terminated and exited directly.

[0099] S707: Delete the first receiving node in the receiving node set and its corresponding transmission capability.

[0100] S708: Determine whether the encapsulation length TB_MB of the target TB can be transmitted / carried using other lower transmission capabilities.

[0101] When the present disclosure determines that the encapsulation length TB_MB of the target TB can be transmitted using other lower transmission capabilities, the step S709 may be continued to be executed; otherwise, when the present disclosure determines that the encapsulation length TB_MB of the target TB cannot be transmitted using other lower transmission capabilities, the step S710 may be continued to be executed.

[0102] S709: Reduce the preset transmission capacity C, determine other transmission capacity, and recalculate the size TB_B of the target TB based on the other transmission capacity.

[0103] S710 , determine whether the encapsulation length TB_MB of the target TB is smaller than the size TB_B of the target TB.

[0104] When the present disclosure determines that the encapsulation length TB_MB of the target TB is smaller than the size TB_B of the target TB, the step S711 may be continued to be executed; otherwise, when the encapsulation length TB_MB of the target TB is determined to be not smaller than the size TB_B of the target TB, the process may be ended and exited directly.

[0105] S711, exit directly after filling processing.

[0106] For details not described in the embodiments of the present disclosure, please refer to the aforementioned Figures 3 to 6 The specific introduction in the embodiments will not be repeated here.

[0107] See also Figure 8 FIG. 1 is a flow chart of a TB analysis method according to an exemplary embodiment. Figure 8 The method shown can be applied to a receiving node, and the method may include the following implementation steps: S801. Obtain a target TB to be parsed, where the target TB includes a header field and a payload field. The header field is used to carry an identifier of a sending node, and the payload field is used to carry a corresponding PDU.

[0108] In the present disclosure, the target TB may refer to the TB to be parsed received by the receiving node. The parsing of the target TB mainly involves the content of each field of the target TB, such as mainly parsing the PDU carried in the target TB. The present disclosure does not limit the implementation method for obtaining the target TB, such as receiving the target TB from the sending node. For the introduction of the transmission format of the target TB, please refer to the above Figure 2A The specific introduction in the embodiments will not be repeated here.

[0109] S802: Perform field analysis on the target TB.

[0110] The present disclosure does not limit the implementation method of the field parsing of the target TB. For example, see Fig. 9 FIG. 1 is a flow chart showing a field parsing process according to an exemplary embodiment. Fig. 9 The process shown may include the following implementation steps: S901 , parse the header field in the target TB to obtain the identifier (rID) of the sending node and the parsed length (TB_RB) of the target TB.

[0111] The present disclosure can first parse the content of the header field of the target TB to obtain the identification of the sending node carried in the sending node indication area of ​​the header field and the parsing length of the target TB. The parsing length (TB_RB) of the target TB can be used to indicate the length currently supported for parsing the target TB. During initialization, it can be set to the header field length of the target TB, that is, the field content parsing of the target TB can be started from the end position of the header field length of the target TB.

[0112] S902: Parse the payload field of the target TB based on the parsing length (TB_RB) of the target TB.

[0113] The present disclosure does not limit the specific implementation of the above step S901. For example, see Fig.10 FIG. 1 is a flow chart showing another field parsing process according to an exemplary embodiment. Fig.10 The process shown may include the following implementation steps: S1001 . Determine whether the parsed length of the target TB (TB_RB) is greater than or equal to the length of the target TB (TB_B).

[0114] The present disclosure may compare the parsed length (TB_RB) of the target TB and the length (TB_B) of the target TB. If the parsed length of the target TB is greater than or equal to the length of the target TB, step S1005 may be continued to determine that the parsing of the target TB is completed, and the process may be terminated at this time. On the contrary, when the parsed length of the target TB is less than the length of the target TB, it may be determined that the parsing of the target TB is not completed, and step S1002 may be continued.

[0115] S1002. When the parsed length (TB_RB) of the target TB is less than the length (TB_B) of the target TB, read the header field of the target PDU starting from the parsed length of the target TB, wherein the header field of the target PDU at least includes a receiving node corresponding to the target PDU.

[0116] When the present disclosure determines that the parsed length of the target TB is less than the length of the target TB, it can start reading the header field of the target PDU from the position of the parsed length TB_RB of the target TB, thereby obtaining the receiving node indication area, the sending sequence number indication area and the length indication area in the header field of the target PDU. The receiving node indication area carries / includes the receiving node corresponding to the target PDU. For the introduction of the contents of each field or area in the target PDU, please refer to the above Figure 2B The relevant introduction in the embodiments will not be repeated here.

[0117] S1003. When it is determined that the length of the target PDU is a valid length, determine whether the receiving node corresponding to the target PDU and the receiving node corresponding to the target TB are the same, and obtain a corresponding determination result.

[0118] The present disclosure can judge / determine whether the length of the above-mentioned target PDU is a valid length. The present disclosure does not limit its specific implementation method. For example, in one possible implementation method, the present disclosure can judge whether the above-mentioned target PDU meets the preset conditions. The preset conditions can be conditions pre-customized and set by the system or the user, which are used to judge whether the length of the above-mentioned target PDU is a valid length; for example, the above-mentioned preset conditions can at least include that the payload field of the above-mentioned target PDU does not carry preset padding data (such as 0xFF), and optionally can also include that the length of the above-mentioned target PDU is a preset length. For example, when the length of the above-mentioned target PDU is 2 bytes and the target PDU is not 0xFF, it can be determined that the above-mentioned target PDU meets the preset conditions, and accordingly the length of the above-mentioned target PDU is a valid length.

[0119] When the present disclosure determines that the length of the target PDU is not a valid length, it can be determined that the target PDU is a padding PDU, that is, the target PDU includes preset padding data, such as 0xFF, etc. On the contrary, when it is determined that the length of the target PDU is a valid length, it can continue to determine whether the receiving node corresponding to the target PDU is the same as the receiving node corresponding to the target TB, and specifically, it can be determined whether the identifiers of the two receiving nodes are the same, thereby obtaining a corresponding determination result. The determination result is specifically used to indicate whether the receiving node corresponding to the target PDU is the same as the receiving node corresponding to the target TB.

[0120] S1004. Based on the determination result, re-parse the load field of the target TB.

[0121] The present disclosure does not limit the specific implementation of the above step S1004. For example, in one implementation, when the above determination result is used to indicate that the receiving node corresponding to the above target PDU is the same as the receiving node corresponding to the above target TB, the present disclosure can obtain the above target PDU by reading from the target TB according to the length of the above target PDU. Optionally, the entire content of the above target PDU, the length of the above target PDU, the sending sequence number corresponding to the above target PDU and other information can also be used as input to the above target PDU parsing process, and then the target PDU is parsed. No excessive limitations or details are given here.

[0122] In another embodiment, when the above determination result is used to indicate that the receiving node corresponding to the above target PDU and the receiving node corresponding to the above target TB are not the same, the present disclosure can update the parsing length TB_RB of the above target TB based on the length of the above target PDU, for example, TB_RB=TB_RB+PDU_HB+ PDU_PB. Among them, PDU_HB represents the header field length of the above target PDU, and PDU_PB represents the load field length of the above target PDU, and the sum of the two is equal to the length of the entire above target PDU. After updating the parsing length TB_RB of the above target TB, the present disclosure can repeat the above steps S1001-S1005 until the entire target TB is parsed.

[0123] S1005: Determine that the above target TB analysis is completed, and then end the process.

[0124] To help better understand the embodiments of the present disclosure, please refer to Fig.11 FIG. 1 is a flow chart showing a TB analysis process according to an exemplary embodiment. Fig.11 The process shown may include the following implementation steps: S1101. A receiving node receives a target transport block TB from a physical layer PHY.

[0125] S1102, obtain the identification ID of the sending node from the header field of the target TB, set and read the parsing length TB_RB=TB_HB of the target TB, wherein TB_HB represents the header field length of the target TB, which is the fixed header field length of the target TB during initialization.

[0126] S1103 , determining whether the parsed length TB_RB of the target TB is greater than or equal to the length TB_B of the target TB.

[0127] When it is determined that the parsed length TB_RB of the target TB is greater than or equal to the length TB_B of the target TB, the process may be exited and ended. Conversely, when it is determined that the parsed length TB_RB of the target TB is less than the length TB_B of the target TB, step S1104 may be continued.

[0128] S1104. Read the header field of the target PDU starting from the parsed length TB_RB position of the target TB, thereby obtaining information such as a receiving node indication area, a sending sequence number indication area, and a length indication area in the header field of the target PDU.

[0129] S1105. Determine whether the length of the target PDU is a valid length.

[0130] When it is determined that the length of the above-mentioned target PDU is a valid length, step S1106 can be continued to be executed; conversely, when it is determined that the length of the above-mentioned target PDU is not a valid length, that is, invalid, step S1109 can be continued to be executed to determine that the above-mentioned target PDU is a padding PDU, and at this time, you can exit and end the process.

[0131] S1106: Determine whether the receiving node corresponding to the target PDU is the same as the receiving node corresponding to the target TB, that is, determine whether the receiving node ID is its own ID.

[0132] When it is determined that the receiving node corresponding to the target PDU is the same as the receiving node corresponding to the target TB, step S1107 can be continued; otherwise, when it is determined that the receiving node corresponding to the target PDU is not the same as the receiving node corresponding to the target TB, step S1108 can be continued.

[0133] S1107, read the entire target PDU according to the length of the target PDU. The entire content of the target PDU, the length of the target PDU, the sending sequence number and other information are used as inputs of the PDU parsing process to perform corresponding parsing processing, which is not limited or detailed in this disclosure.

[0134] S1108, update the parsed length of the target TB TB_RB = TB_RB + PDU_HB + PDU_PB. Wherein, PDU_HB represents the header field length of the target PDU, and PDU_PB represents the payload field length of the target PDU, and the sum of the two equals the length of the entire target PDU. Repeat the above steps S1103-S1109.

[0135] S1109: Determine that the target PDU is a filling PDU, and then exit and end the process.

[0136] For details not introduced or described in the embodiments of the present disclosure, please refer to the aforementioned Figures 8 to 10 The relevant introduction in the embodiments will not be repeated here.

[0137] By implementing the embodiments of the present disclosure, the embodiments of the present disclosure can have the following advantages: 1) The TB transmission block no longer serves a neighbor receiving node but can carry multiple one-hop neighbor node data that meet the transmission conditions and one receiving node data is a complete PDU, which greatly improves the transmission performance. 2) The TB transmission block size can also be used as a selection factor for adaptive modulation and coding AMC (Adaptive Modulation and Coding) to improve transmission reliability. 3) The data transmission protocol architecture is more flat, which greatly reduces the complexity of protocol implementation.

[0138] Based on the above examples, see Fig.12 FIG. 1 is a schematic diagram showing a TB packaging device according to an exemplary embodiment. Fig.12 The device shown can be applied to a sending node, and the device may include an acquisition module 1201 and a processing module 1202. Among them: The acquisition module 1201 is configured to acquire TB information to be packaged, wherein the TB information includes at least one receiving node and a transmission capability of the receiving node, wherein the transmission capability is used to indicate a size of a target TB corresponding to the package and a preset transmission capability; The processing module 1202 is configured to perform encapsulation processing based on the TB information to obtain the target TB; wherein the target TB includes a header field and a load field, the header field is used to carry the identifier of the sending node, and the load field is used to carry the corresponding PDU.

[0139] In some embodiments, the processing module 1202 is configured to: When the transmission capacity of the target node is greater than or equal to the preset transmission capacity of the target TB, the target node is PDU encapsulated to obtain a target PDU corresponding to the target node; Update the encapsulation length of the target TB based on the length of the target PDU; When the encapsulation length of the target TB is equal to the size of the target TB, encapsulating the target PDU into the target TB to complete the encapsulation of the target TB; The target node is any receiving node in the TB information.

[0140] In some embodiments, the processing module 1202 is further configured to: When the encapsulation length of the target TB is smaller than the size of the target TB, and / or the transmission capacity of the target node is smaller than the preset transmission capacity of the target TB, deleting the target node in the TB information; The next receiving node is updated to the target node, and the step of performing PDU encapsulation on the target node is repeated when the transmission capacity of the target node is greater than or equal to the preset transmission capacity of the target TB.

[0141] In some embodiments, the size of the target TB is determined according to the transmission capability of the target node.

[0142] In some embodiments, after completing the encapsulation processing corresponding to each receiving node, the processing module 1202 is further configured to: Determine whether the encapsulation length of the target TB supports transmission with other transmission capabilities, where the other transmission capabilities are less than the preset transmission capacity of the target TB; When supporting the transmission of the other transmission capability, re-determine the size of the target TB corresponding to the other transmission capability, and perform encapsulation processing based on the encapsulation length of the target TB and the size of the target TB; When the other transmission capability transmission is not supported, encapsulation processing is performed based on the encapsulation length of the target TB and the size of the target TB.

[0143] In some embodiments, the processing module 1202 is configured to: When the encapsulation length of the target TB is smaller than the size of the target TB, filling processing is performed on the target TB; or, When the encapsulation length of the target TB is greater than or equal to the size of the target TB, the encapsulation of the target TB is completed.

[0144] In some embodiments, the target TB further includes a filling area, and the filling data corresponding to the filling process is carried in the filling area of ​​the target TB.

[0145] By implementing the embodiments of the present disclosure, the above-mentioned device can obtain the TB information to be encapsulated, wherein the TB information includes at least one receiving node and the transmission capability of the receiving node, and the transmission capability is used to indicate the size and preset transmission capability of the corresponding encapsulated target TB; encapsulation processing is performed based on the TB information to obtain the target TB; wherein the target TB includes a header field and a load field, wherein the header field is used to carry the identifier of the sending node, and the load field is used to carry the corresponding PDU. In this way, the corresponding target TB can be encapsulated directly according to the field format based on the TB information, which is conducive to improving the processing efficiency of TB encapsulation. Thus, the technical problems existing in the above-mentioned related technologies, such as reducing the processing efficiency between PDU and TB, are solved.

[0146] Based on the above examples, see Fig.13 FIG. 1 is a schematic diagram showing the structure of a TB analysis device according to an exemplary embodiment. Fig.13 The device shown can be applied to a receiving node, and the device may include an acquisition module 1301 and a processing module 1302. Among them: The acquisition module 1301 is configured to acquire a target TB to be parsed, wherein the target TB includes a header field and a payload field, wherein the header field is used to carry an identifier of a sending node, and the payload field is used to carry a corresponding PDU; The processing module 1302 is configured to perform field analysis on the target TB.

[0147] In some embodiments, the processing module 1302 is configured to: Parsing the header field in the target TB to obtain the identifier of the sending node and the parsed length of the target TB; The payload field of the target TB is parsed based on the parsed length of the target TB.

[0148] In some embodiments, the processing module 1302 is configured to: When the parsed length of the target TB is less than the length of the target TB, reading the header field of the target PDU starting from the parsed length of the target TB, the header field of the target PDU at least including the receiving node corresponding to the target PDU; When determining that the length of the target PDU is a valid length, determining whether a receiving node corresponding to the target PDU and a receiving node corresponding to the target TB are the same, and obtaining a corresponding determination result; Based on the determination result, the payload field of the target TB is re-parsed.

[0149] In some embodiments, the processing module 1302 is configured to: When the determination result indicates that the receiving node corresponding to the target PDU is the same as the receiving node corresponding to the target TB, the target PDU is obtained by reading from the target TB according to the length of the target PDU; or When the determination result is used to indicate that the receiving node corresponding to the target PDU and the receiving node corresponding to the target TB are not the same, the parsing length of the target TB is updated based on the length of the target PDU, and the step of reading the header field of the target PDU starting from the header field of the target TB is repeated when the parsing length of the target TB is less than the length of the target TB.

[0150] In some embodiments, the processing module 1302 is further configured to: When it is determined that the length of the target PDU is not a valid length, the target PDU is determined to be a padding PDU.

[0151] In some embodiments, the processing module 1302 is further configured to: When the target PDU meets a preset condition, determining that the length of the target PDU is a valid length; or, When the target PDU does not meet a preset condition, determining that the length of the target PDU is not a valid length; The preset condition at least includes that the load field of the target PDU does not carry preset padding data.

[0152] In some embodiments, the header field of the target PDU includes a receiving node indication area, a sending sequence number indication area, and a length indication area, wherein: The receiving node indication area is used to indicate the receiving node corresponding to the target PDU; The sending sequence number indication area is used to indicate the sending sequence number corresponding to the target PDU; The length indication area is used to indicate the sum of the lengths of each SDU in the target PDU.

[0153] For the contents not introduced or described in the embodiments of the present disclosure, please refer to the relevant description in the aforementioned method embodiments, which will not be repeated here.

[0154] The present disclosure also provides a computer-readable storage medium on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the TB encapsulation method or the TB parsing method provided by the present disclosure are implemented.

[0155] Fig.141 is a schematic diagram of a communication device according to an exemplary embodiment. For example, the communication device 500 may be a sending node or a receiving node. The communication device 500 may be a mobile phone, a computer, a digital broadcast terminal, a message transceiver, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0156] Reference Fig.14 , the communication device 500 may include one or more of the following components: a processing component 502 , a memory 504 , a power component 506 , a multimedia component 508 , an audio component 510 , an input / output interface 512 , a sensor component 514 , and a communication component 516 .

[0157] The processing component 502 generally controls the overall operation of the communication device 500, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 502 may include one or more processors 520 to execute instructions to complete all or part of the steps of the above-mentioned TB encapsulation method or TB parsing method. In addition, the processing component 502 may include one or more modules to facilitate the interaction between the processing component 502 and other components. For example, the processing component 502 may include a multimedia module to facilitate the interaction between the multimedia component 508 and the processing component 502.

[0158] The memory 504 is configured to store various types of data to support operations on the communication device 500. Examples of such data include instructions for any application or method operating on the communication device 500, contact data, phone book data, messages, pictures, videos, etc. The memory 504 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0159] The power supply component 506 provides power to the various components of the communication device 500. The power supply component 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the communication device 500.

[0160] The multimedia component 508 includes a screen that provides an output interface between the communication device 500 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 508 includes a front camera and / or a rear camera. When the communication device 500 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0161] The audio component 510 is configured to output and / or input audio signals. For example, the audio component 510 includes a microphone (MIC), and when the communication device 500 is in an operation mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 504 or sent via the communication component 516. In some embodiments, the audio component 510 also includes a speaker for outputting audio signals.

[0162] The input / output interface 512 provides an interface between the processing component 502 and the peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0163] The sensor assembly 514 includes one or more sensors for providing various aspects of status assessment for the communication device 500. For example, the sensor assembly 514 can detect the open / closed state of the communication device 500, the relative positioning of components, such as the display and keypad of the communication device 500, and the sensor assembly 514 can also detect the position change of the communication device 500 or a component of the communication device 500, the presence or absence of user contact with the communication device 500, the orientation or acceleration / deceleration of the communication device 500, and the temperature change of the communication device 500. The sensor assembly 514 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 514 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 514 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0164] The communication component 516 is configured to facilitate wired or wireless communication between the communication device 500 and other devices. The communication device 500 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 516 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 516 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0165] In an exemplary embodiment, the communication device 500 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above-mentioned TB packaging method or TB parsing method.

[0166] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 504 including instructions, and the instructions can be executed by the processor 520 of the communication device 500 to complete the above-mentioned upper TB packaging method and TB parsing method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0167] In addition to being an independent electronic device, the above-mentioned device can also be a part of an independent electronic device. For example, in one embodiment, the device can be an integrated circuit (IC) or a chip, wherein the integrated circuit can be an IC or a collection of multiple ICs; the chip can include but is not limited to the following types: GPU (Graphics Processing Unit), CPU (Central Processing Unit), FPGA (Field Programmable Gate Array), DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), SOC (System on Chip, SoC), etc. The above-mentioned integrated circuit or chip can be used to execute executable instructions (or codes) to implement the above-mentioned TB packaging method and TB parsing method. The executable instructions can be stored in the integrated circuit or chip, or can be obtained from other devices or equipment, such as the integrated circuit or chip including a processor, a memory, and an interface for communicating with other devices. The executable instruction can be stored in the memory, and when the executable instruction is executed by the processor, the above-mentioned TB packaging method or TB parsing method is implemented; alternatively, the integrated circuit or chip can receive the executable instruction through the interface and transmit it to the processor for execution, so as to implement the above-mentioned TB packaging method or TB parsing method.

[0168] In another exemplary embodiment, a computer program product is also provided. The computer program product includes a computer program that can be executed by a programmable device. The computer program has a code portion for executing the above-mentioned TB packaging method or TB parsing method when executed by the programmable device.

[0169] See also Fig.15 FIG. 1 is a schematic diagram showing the structure of a chip according to an exemplary embodiment. Fig.15 The chip 600 shown includes a processor 601 and an interface 602. Optionally, it may also include a memory 603. The number of the processor 601 may be one or more, and the number of the interface 602 may be more than one.

[0170] In one embodiment, for a case where a chip is used to implement the method embodiment of the present disclosure: The interface 602 is used to receive or output signals; The processor 601 is used to execute part or all of the contents in the above-mentioned TB encapsulation method or TB parsing method embodiment.

[0171] It is understandable that the processor in the embodiment of the present disclosure can be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method embodiment can be completed by an integrated logic circuit of hardware in the processor or instructions in the form of software. The above processor can be a general-purpose processor, a digital signal processor (DigitalSignal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.

[0172] It is understandable that the memory in the embodiments of the present disclosure may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0173] It should be noted here that the description of the above storage medium, device and chip embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments. For technical details not disclosed in the storage medium, storage medium and device embodiments of the present disclosure, please refer to the description of the method embodiments of the present disclosure for understanding.

[0174] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the present disclosure. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0175] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A TB packaging method, characterized in that: Applied to a sending node, the method comprises: Acquire TB information to be packaged, the TB information including at least one receiving node and a transmission capability of the receiving node, the transmission capability being used to indicate a size of a target TB corresponding to the package and a preset transmission capability; Perform packaging processing based on the TB information to obtain the target TB; The target TB includes a header field and a load field, the header field is used to carry the identifier of the sending node, and the load field is used to carry the corresponding PDU.

2. The method according to claim 1, characterized in that: The encapsulation process is performed based on the TB information to obtain the target TB, comprising: When the transmission capacity of the target node is greater than or equal to the preset transmission capacity of the target TB, the target node is PDU encapsulated to obtain a target PDU corresponding to the target node; Update the encapsulation length of the target TB based on the length of the target PDU; When the encapsulation length of the target TB is equal to the size of the target TB, encapsulating the target PDU into the target TB to complete the encapsulation of the target TB; The target node is any receiving node in the TB information.

3. The method according to claim 2, characterized in that The method further comprises: When the encapsulation length of the target TB is smaller than the size of the target TB, and / or the transmission capacity of the target node is smaller than the preset transmission capacity of the target TB, deleting the target node in the TB information; The next receiving node is updated to the target node, and the step of performing PDU encapsulation on the target node is repeated when the transmission capacity of the target node is greater than or equal to the preset transmission capacity of the target TB.

4. The method according to any one of claims 1 to 3, characterized in that After completing the encapsulation processing corresponding to each of the receiving nodes, the method further includes: Determine whether the encapsulation length of the target TB supports transmission with other transmission capabilities, where the other transmission capabilities are less than the preset transmission capacity of the target TB; When supporting transmission with the other transmission capability, determining the size of the target TB corresponding to the other transmission capability, and performing encapsulation processing based on the encapsulation length of the target TB and the size of the target TB; When the other transmission capability transmission is not supported, encapsulation processing is performed based on the encapsulation length of the target TB and the size of the target TB.

5. The method according to claim 4, characterized in that The encapsulation process based on the encapsulation length of the target TB and the size of the target TB includes: When the encapsulation length of the target TB is smaller than the size of the target TB, filling processing is performed on the target TB; or, When the encapsulation length of the target TB is equal to the size of the target TB, it is determined that the encapsulation of the target TB has been completed.

6. The method according to claim 5, characterized in that The target TB also includes a filling area, and the filling data corresponding to the filling process is carried in the filling area of ​​the target TB.

7. A TB analysis method, characterized in that: Applied to a receiving node, the method comprises: Obtain a target TB to be parsed, the target TB including a header field and a payload field, the header field is used to carry an identifier of a sending node, and the payload field is used to carry a corresponding PDU; Perform field analysis on the target TB.

8. The method according to claim 7, characterized in that The performing field parsing on the target TB includes: Parsing the header field in the target TB to obtain the identifier of the sending node and the parsed length of the target TB; The payload field of the target TB is parsed based on the parsed length of the target TB.

9. The method according to claim 8, characterized in that The parsing of the payload field of the target TB based on the parsing length of the target TB includes: When the parsed length of the target TB is less than the length of the target TB, reading the header field of the target PDU starting from the parsed length of the target TB, the header field of the target PDU at least including the receiving node corresponding to the target PDU; When determining that the length of the target PDU is a valid length, determining whether a receiving node corresponding to the target PDU and a receiving node corresponding to the target TB are the same, and obtaining a corresponding determination result; Based on the determination result, the payload field of the target TB is re-parsed.

10. The method according to claim 9, characterized in that The re-parsing the payload field of the target TB based on the determination result includes: When the determination result indicates that the receiving node corresponding to the target PDU is the same as the receiving node corresponding to the target TB, the target PDU is obtained by reading from the target TB according to the length of the target PDU; or When the determination result is used to indicate that the receiving node corresponding to the target PDU and the receiving node corresponding to the target TB are not the same, the parsing length of the target TB is updated based on the length of the target PDU, and the step of reading the header field of the target PDU starting from the parsing length of the target TB when the parsing length of the target TB is less than the length of the target TB is repeated.

11. The method according to claim 9, characterized in that The method further comprises: When the target PDU meets a preset condition, determining that the length of the target PDU is a valid length; or, When the target PDU does not meet a preset condition, determining that the length of the target PDU is not a valid length; The preset condition at least includes that the load field of the target PDU does not carry preset padding data.

12. A communication device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the executable instructions to implement the steps of the method described in any one of claims 1 to 6; or the processor is configured to execute the executable instructions to implement the steps of the method described in any one of claims 7 to 11.

13. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by the processor, the steps of the method described in any one of claims 1 to 6 are implemented; or, when the computer program instructions are executed by the processor, the steps of the method described in any one of claims 7 to 11 are implemented.