SDU analysis method and device, equipment and medium
By introducing length indication areas and other areas into the header field of the SDU in the wireless ad hoc network, the problem of not specifying the length when applied to the SDU construction technology in the SDU construction is solved, and data transmission efficiency and flexibility are improved.
Patent Information
- Application Number
- CN202411594161.8
- 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
In wireless ad hoc network, when the existing PDU construction technology is applied to the SDU construction of the transmission layer, the problem of unspecified length leads to an increase in the difficulty of subsequent RLC splicing processing, reducing the data transmission efficiency.
An SDU analysis method is provided, by introducing a length indication area, a synchronization indication area, an extended indication area and an integrity protection area into the header field of the SDU, ensuring that the length and service transmission information of the SDU can be clearly indicated, thereby improving the efficiency of subsequent communication processing.
By clarifying the length of the SDU and service transmission information, the flexibility of the SDU construction is increased, the subsequent splicing process is simplified, and the data transmission efficiency and performance are improved.
Smart Images

Figure CN119629263A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of communication technology, and in particular to an SDU parsing method, device, equipment and medium. Background Art
[0002] At present, the SDU structure involved in the transport layer in wireless ad hoc networks is similar to the protocol data unit (PDU) constructed in the 4G (4th-Generation, 4G) and 5G (5th-Generation, 5G) protocol stacks, which encapsulate the data packets entering the protocol stack into transmission data units that are suitable for communication nodes to recognize. However, problems will arise when the PDU construction technology in 4G / 5G is applied to the SDU construction of the transport layer in wireless ad hoc networks: for example, the length of the existing PDU is not specified, which will result in the need to indicate its length during the subsequent RLC splicing process, which will increase the difficulty of subsequent communication processing and reduce data transmission efficiency. Summary of the invention
[0003] In order to overcome the problems existing in the related art, the present disclosure provides an SDU parsing method, device, equipment and medium to solve the technical problems existing in the above-mentioned related art, such as increasing the difficulty of subsequent communication processing and reducing data transmission efficiency.
[0004] According to a first aspect of an embodiment of the present disclosure, there is provided an SDU parsing method, which is applied to a receiving node, and the method includes: Acquire a target SDU to be parsed, the target SDU comprising at least a header field and a payload field, the header field comprising a synchronization indication area, an extension indication area, a length indication area, and an integrity protection area, and the payload field is used to carry a corresponding data packet; Perform field parsing on the target SDU.
[0005] In some embodiments, The synchronization indication area is used to indicate the synchronization code position of the target SDU; The extension indication area is used to indicate whether the target SDU includes an extension field, and the extension field is used to carry at least one of a transmission sequence number, a priority, and a delay parameter of the target SDU; The length indication area is used to indicate the length of the target SDU; The integrity protection area is used to perform integrity legality judgment on the target SDU.
[0006] In some embodiments, the performing field parsing on the target SDU includes: When the destination information in the data packet is used to indicate that the receiving node is a destination node, if the extension field of the target SDU includes the sending sequence number of the target SDU, performing a first extension process on the target SDU based on the sending sequence number of the target SDU; or When the destination information in the data packet is used to indicate that the receiving node is a forwarding node, performing a second extension process on the target SDU; The first extended processing is different from the second extended processing, and the first extended processing includes packet loss detection and / or data packet sorting processing.
[0007] In some embodiments, performing the second extension processing on the target SDU includes: If the extension field of the target SDU includes the priority of the target SDU and / or the delay parameter of the target SDU, the target SDU is forwarded accordingly according to the priority and / or the delay parameter; or, If the target SDU does not include the delay parameter, the target SDU is forwarded accordingly according to the preset number of cache bytes and / or cache time.
[0008] In some embodiments, the performing corresponding forwarding processing on the target SDU according to the priority and / or the delay parameter includes: forwarding the target SDU according to the priority; and / or, According to the delay parameter, a scheduling period of resources required for forwarding the target SDU is determined, and corresponding resources are scheduled based on the scheduling period to forward the target SDU.
[0009] In some embodiments, the corresponding forwarding processing of the target SDU according to the preset cache byte number and / or cache time includes: Determine a scheduling period for resources required to forward the target SDU according to a preset number of cache bytes and / or cache time; The target SDU is forwarded based on the scheduling period and the corresponding resources are scheduled.
[0010] In some embodiments, the delay parameter is used to reflect the transmission delay corresponding to the target SDU.
[0011] According to a second aspect of an embodiment of the present disclosure, there is provided an SDU parsing device, applied to a receiving node, the device comprising: An acquisition module is configured to acquire a target SDU to be parsed, wherein the target SDU includes at least a header field and a payload field, wherein the header field includes a synchronization indication area, an extension indication area, a length indication area, and an integrity protection area, and the payload field is used to carry a corresponding data packet; The processing module is configured to perform field parsing on the target SDU.
[0012] 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.
[0013] According to a third aspect of an embodiment of the present disclosure, a receiving 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 SDU parsing method.
[0014] According to a fourth 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 SDU parsing method provided in the first aspect of the present disclosure are implemented.
[0015] According to a fifth 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 SDU parsing method.
[0016] The technical solution provided by the embodiment of the present disclosure may include the following beneficial effects: the receiving device obtains the target SDU to be parsed, the target SDU includes at least a header field and a load field, the header field includes a synchronization indication area, an extension indication area, a length indication area and an integrity protection area, and the load field is used to carry the corresponding data packet; the target SDU is subjected to field parsing. In this way, the SDU can indicate the length of the SDU through the length indication area, and indicate the corresponding information of the service transmission through the synchronization indication area, the extension indication area and the integrity protection area, which increases the flexibility of the SDU construction and improves the efficiency and performance of subsequent communication processing (such as subsequent splicing).
[0017] 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
[0018] 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.
[0019] Figure 1 The figure is a schematic diagram showing a flattening process of a protocol stack according to an exemplary embodiment.
[0020] Figure 2A The figure is a schematic diagram of a transmission format of an SDU according to an exemplary embodiment.
[0021] Figure 2B The figure is a schematic diagram of a transmission format of a PDU according to an exemplary embodiment.
[0022] Figure 3 The figure is a flowchart of an SDU parsing method according to an exemplary embodiment.
[0023] Figure 4 The figure is a flowchart of a forwarding process according to an exemplary embodiment.
[0024] Figure 5 The figure is a flowchart of another forwarding process according to an exemplary embodiment.
[0025] Figure 6 The figure is a schematic diagram of the structure of an SDU parsing device according to an exemplary embodiment.
[0026] Figure 7 The figure is a schematic diagram showing the structure of a receiving device according to an exemplary embodiment.
[0027] Figure 8 It is a schematic diagram of the structure of another receiving device according to an exemplary embodiment.
[0028] Fig. 9 The figure is a schematic diagram showing the structure of a chip according to an exemplary embodiment. DETAILED DESCRIPTION
[0029] 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.
[0030] 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.
[0031] The SDU structure involved in the transport layer in wireless ad hoc networks is similar to the PDU structure in 4G / 5G PDCP. However, applying the PDU structure to the above SDU structure will cause the following problems: (1) PDCP PDUs are constructed in different types according to different radio bearer (RB) types. When multiple short control PDUs need to be sent at the same time, they cannot be combined for transmission, which loses the flexibility of expansion.
[0032] (2) The length of the PDCP PDU is not indicated, which means that the length needs to be indicated when the RLC splices the PDCP PDU. When 4G RLC splices, the length of each PDU needs to be indicated, which results in the variable length of the RLC indicator header, increasing the difficulty of multiplexing and demultiplexing. Although the 5G RLC splices a maximum of two PDUs and has a fixed RLC indicator header length, it reduces the data transmission efficiency.
[0033] In order to solve the above problems, the present disclosure provides a SDU transmission format, an SDU parsing method, an apparatus, a device, a storage medium and a chip. Some applicable embodiments of the present disclosure are first introduced below.
[0034] See also Figure 1 FIG. 1 is a schematic diagram showing a flattening process of a protocol stack according to an exemplary embodiment. Figure 1 As 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, 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.
[0035] See also Figure 2A FIG. 1 is a schematic diagram showing a transmission format of an SDU according to an exemplary embodiment. Figure 2AThe SDU shown may include a header field 101 and a payload field 102, and may optionally include an extension field 103. The header field 101 may refer to a header field with clear field content and fixed length. The transport layer may receive corresponding data packets (e.g., Ethernet data packets) according to the header field 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 be simpler and faster.
[0036] The above-mentioned header field 101 may include a synchronization indication area 1011, an extension indication area 1012, a length indication area 1013 and an integrity protection area 1014. The above-mentioned synchronization indication area 1011 is used to indicate the synchronization code position of the SDU. That is, based on the synchronization indication area 1011, the synchronization code position can be found from the encapsulated corresponding PDU to determine the position of the SDU. According to the synchronization code position of the SDU, the data link layer can be assisted to reduce the difficulty of multiplexing and demultiplexing of the PDU, thereby improving robustness. The present disclosure does not limit the size and representation of the above-mentioned synchronization indication area 1011, for example, 1 byte content is usually represented by 0x55. The above-mentioned extension indication area 1012 is used to indicate whether the SDU includes the above-mentioned extension field 103. Usually, the extension field 103 is located in the tail area of the SDU, which can also be called the tail extension content field; the extension field 103 contains the transmission attributes of the target SDU in the wireless system, such as the transmission sequence number, priority, delay and other extensible attribute parameters of the SDU. One or more of the parameters. The present disclosure does not limit the size of the above-mentioned extended indication area 1012. For example, it can usually occupy 8 bits, and a bit mapping method can be used to determine whether to include 8 different transmission / transmission status indications. For example, the first bit indicates whether the SDU contains a transmission sequence number, the second bit indicates whether the SDU contains a priority for transmission in a wireless ad hoc network, and the third bit indicates whether the SDU contains a service delay, etc. The present disclosure does not limit the representation method 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 that the SDU only contains a transmission sequence number; when the value of the above-mentioned extended indication area is 0x02, it is used to indicate that the SDU only contains a priority; when the value of the above-mentioned extended indication area is 0x03, it is used to indicate that the SDU contains both a transmission sequence number and a priority. The above-mentioned length indication area 1013 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 length indication area 1013. For example, it can occupy 12 bits and can indicate 2048 bytes, which is larger than the length of a traditional Ethernet data packet (the length of an Ethernet data packet is usually less than 1600 bytes). The integrity protection area 1014 is used to perform integrity and legality judgment on the SDU. The present disclosure does not limit the size and representation of the integrity protection area 1014. 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 1011, the above-mentioned extension indication area 1012, the above-mentioned length indication area 1013 and the partial data packet as the load (such as the first few dozen bytes in the Ethernet data packet) as input, extract the data content of the last byte and match it with the check data carried in the above-mentioned integrity protection area 1014. 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.
[0037] The payload field 102 is used to carry a complete data packet, such as an Ethernet data packet.
[0038] The above-mentioned extension field 103 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 preferably 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 actual conditions, and this disclosure does not make too many restrictions and details on this.
[0039] 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 encapsulation and decapsulation. 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.
[0040] In practical applications, the above SDU is mainly used for subsequent PDU splicing and communication transmission. The present disclosure does not limit the transmission format of PDU. For example, it can adopt the traditional PDCP PDU, RLC PDU or MAC PDU transmission format. 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 the state of PDU demultiplexing and adjust and improve the synchronization detection efficiency of 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.
[0041] It can be seen that the transmission format of the above PDU has the following advantages: the construction based on the above SDU can not only indicate the transmission status of the service in the protocol through the extended field (increasing the construction flexibility), but also perfectly combine the synchronization mechanism with the PDU multiplexing and demultiplexing process. The introduction of the SDU synchronization header makes it no longer necessary to specify the number and length of spliced SDUs through a specific area when constructing the PDU. Therefore, when demultiplexing the PDU (retaining the advantages of 4G and 5G RLC PDU demultiplexing), the splicing performance is greatly improved on the basis of simplifying the process.
[0042] Based on the above examples, see Figure 3 FIG. 1 is a flow chart showing a method for SDU analysis according to an exemplary embodiment. Figure 3 The method shown can be applied to a receiving node, and the method may include the following implementation steps: S301. Obtain a target SDU to be parsed, wherein the target SDU includes at least a header field and a payload field, wherein the header field includes a synchronization indication area, an extension indication area, a length indication area, and an integrity protection area, and the payload field is used to carry a corresponding data packet.
[0043] In the present disclosure, the target SDU may refer to the SDU to be parsed, wherein the parsing of the SDU mainly involves the content of each field of the SDU, such as parsing the data packet (such as Ethernet data packet) carried in the SDU, parsing the extension field at the end of the SDU, etc. The present disclosure does not limit the implementation method for obtaining the target SDU, such as receiving the target SDU sent from the lower layer, etc. For the relevant introduction of each field or area in the target SDU, please refer to the above Figure 2A The specific introduction in the illustrated embodiment is not repeated here. The extension field involved in the present disclosure may also be referred to as a tail extension content field, which may include the transmission attributes of the target SDU in the wireless system, such as the transmission sequence number, priority, delay and one or more of other scalable attribute parameters of the SDU.
[0044] S302: Perform field analysis on the target SDU.
[0045] By implementing the embodiments of the present disclosure, a receiving node or receiving device can obtain a target SDU to be parsed, wherein the target SDU includes at least a header field and a load field, wherein the header field includes a synchronization indication area, an extension indication area, a length indication area, and an integrity protection area, and the load field is used to carry a corresponding data packet; and the target SDU is subjected to field parsing. In this way, the SDU can indicate the length of the SDU through the length indication area, and indicate the corresponding information of the service transmission through the synchronization indication area, the extension indication area, and the integrity protection area, which increases the flexibility of the SDU construction and improves the efficiency and performance of subsequent communication processing (such as subsequent splicing).
[0046] In step S302, the present disclosure does not limit the implementation method of the field parsing of the above-mentioned target SDU. For example, in one implementation, when the destination information in the above-mentioned data packet is used to indicate that the above-mentioned receiving node is the destination node, if the above-mentioned extended field in the target SDU includes the sending sequence number of the target SDU, then the above-mentioned target SDU is subjected to a first extended processing based on the sending sequence number of the target SDU, and the above-mentioned first extended processing includes packet loss detection and / or data packet sorting processing.
[0047] In a specific implementation, the present disclosure can read the destination information in the data packet from the payload field of the SDU. Taking the data packet as an Ethernet data packet as an example, the above-mentioned destination information is usually carried in the IP field of the Ethernet data packet. The above-mentioned destination information can be further analyzed. If the above-mentioned destination information is used to indicate that the above-mentioned receiving node is the destination node, that is, when the receiving node receives the target SDU, the present disclosure can perform content parsing on the extension field in the target SDU. If the above-mentioned extension field includes the sending sequence number of the target SDU, the present disclosure can perform such as packet loss detection, end-to-end data packet reordering processing or other customized extension processing according to the above-mentioned sending sequence number, and the present disclosure does not make too many limitations and details on this.
[0048] In yet another embodiment, when the destination information in the data packet indicates that the receiving node is a forwarding node, a second extension process is performed on the target SDU. The second extension process here is different from the first extension process.
[0049] The present disclosure does not limit the specific implementation of the second extension process. For example, in one implementation, the extension field in the target SDU includes a priority and / or a delay parameter. The present disclosure can perform corresponding forwarding processing on the target SDU according to the priority and / or the delay parameter. For details on the implementation, see, for example, Figure 4 FIG. 1 is a flow chart showing a forwarding process according to an exemplary embodiment. Figure 4 The process shown may include the following implementation steps: S401. Forward the target SDU according to the priority.
[0050] In a specific implementation, if the above-mentioned destination information is used to indicate that the above-mentioned receiving node is a forwarding node, that is, when the receiving node needs to forward the target SDU, the present disclosure can also perform content parsing on the extended field in the target SDU. If the above-mentioned extended field includes a priority, the present disclosure can insert the target SDU into the corresponding position in the First Input First Output (FIFO) queue according to the priority, so as to facilitate subsequent forwarding according to the priority. If the above-mentioned extended field does not include a priority or the above-mentioned target SDU does not include a priority, the present disclosure can add the target SDU to the tail of the FIFO queue according to the lowest priority, so as to facilitate subsequent forwarding in sequence, etc.
[0051] S402: Determine a scheduling period for resources required to forward the target SDU according to the delay parameter, and forward the target SDU by cooperating with the data link layer to compete and negotiate corresponding resources in a cross-layer assistance manner based on the scheduling period.
[0052] If the above extension field includes a delay parameter, the present disclosure can determine the scheduling period of resources required for forwarding the target SDU according to the above delay parameter. For example, if the above delay parameter is used to indicate that an SDU is sent once within 1 second, the above scheduling period can be 1s; if the above delay parameter is used to indicate that an SDU is sent twice within 1 second, the above scheduling period can be 500ms. After determining the above scheduling period, network resources can be scheduled according to the scheduling period to forward the above target SDU.
[0053] In another embodiment, the target SDU does not include a delay parameter, for example, the target SDU does not include an extension field, or the extension field in the target SDU does not include a delay parameter. The present disclosure can perform corresponding forwarding processing on the target SDU according to a preset number of cache bytes and / or cache time. In this way, the service characteristics can be combined with cross-layer resources for optimal configuration, thereby effectively improving network performance. The forwarding processing here can be, for example, referring to Figure 5 FIG. 1 is a flow chart showing another forwarding process according to an exemplary embodiment. Figure 5 The process shown may include the following implementation steps: S501. Determine a scheduling period for resources required to forward the target SDU according to a preset number of cache bytes and / or cache time.
[0054] In the present disclosure, the above-mentioned number of cache bytes may refer to the cache threshold of the receiving node, which is usually greater than a certain specified value. The above-mentioned cache time may refer to the time threshold of the receiving node, that is, there is a cache in the receiving node and the cache threshold is reached within a period of time. The above-mentioned number of cache bytes and the above-mentioned cache time may be parameters that the system automatically configures or updates in real time according to actual conditions, etc., and the present disclosure does not make too many restrictions and details on this.
[0055] S502: Forward the target SDU based on the resources corresponding to the scheduling period.
[0056] The present disclosure can determine the scheduling period of resources required for forwarding the target SDU according to the cache byte count and / or cache time. For example, when the actual cache byte count and / or actual cache time of the receiving node is greater than the corresponding threshold, the scheduling of network resources can be triggered to forward the target SDU.
[0057] 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. Among them, the above-mentioned 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 (Self-Driving), a wireless terminal device in remote medical surgery (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 a smart city (Smart City), a wireless terminal device in a smart home (Smart Home), etc.
[0058] The above-mentioned 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 or receiving device.
[0059] It can be seen that the above implementation scheme of the present disclosure has the following advantages: 1) The construction of the SDU can indicate the transmission status of the service in the protocol through the extended field, thereby increasing the flexibility of the construction. 2) The introduction of the SDU synchronization indication area eliminates the need to indicate the number and length of the spliced SDUs through a specific area during the subsequent PDU construction, thereby simplifying the process and greatly improving the performance of subsequent SDU splicing. 3) A header integrity and legality judgment mechanism is added to the SDU, thereby reducing the probability of misdetection of the SDU synchronization header and improving synchronization efficiency. 4) The data transmission protocol architecture is flatter, greatly reducing the complexity of the protocol implementation.
[0060] Based on the above examples, see Figure 6 FIG. 1 is a schematic diagram showing the structure of an SDU parsing device according to an exemplary embodiment. Figure 6 The apparatus shown can be applied to a receiving node or a receiving device, and the apparatus 600 may include an acquisition module 601 and a processing module 602. Among them: The acquisition module 601 is configured to acquire a target SDU to be parsed, wherein the target SDU includes at least a header field and a payload field, wherein the header field includes a synchronization indication area, an extension indication area, a length indication area, and an integrity protection area, and the payload field is used to carry a corresponding data packet; The processing module 602 is configured to perform field analysis on the target SDU.
[0061] In some embodiments, the synchronization indication area is used to indicate the synchronization code position of the target SDU; The extension indication area is used to indicate whether the target SDU includes an extension field, and the extension field is used to carry at least one of a transmission sequence number, a priority, and a delay parameter of the target SDU; The length indication area is used to indicate the length of the target SDU; The integrity protection area is used to perform integrity legality judgment on the target SDU.
[0062] In some embodiments, the processing module 602 is configured to: When the destination information in the data packet is used to indicate that the receiving node is a destination node, if the extension field of the target SDU includes the sending sequence number of the target SDU, performing a first extension process on the target SDU based on the sending sequence number of the target SDU; or When the destination information in the data packet is used to indicate that the receiving node is a forwarding node, performing a second extension process on the target SDU; The first extended processing is different from the second extended processing, and the first extended processing includes packet loss detection and / or data packet sorting processing.
[0063] In some embodiments, the processing module 602 is configured to: If the extension field of the target SDU includes the priority of the target SDU and / or the delay parameter of the target SDU, the target SDU is forwarded accordingly according to the priority and / or the delay parameter; or, If the target SDU does not include the delay parameter, the target SDU is forwarded accordingly according to the preset number of cache bytes and / or cache time.
[0064] In some embodiments, the processing module 602 is configured to: forwarding the target SDU according to the priority; and / or, According to the delay parameter, a scheduling period of resources required for forwarding the target SDU is determined, and corresponding resources are scheduled based on the scheduling period to forward the target SDU.
[0065] In some embodiments, the processing module 602 is configured to: Determine a scheduling period for resources required to forward the target SDU according to a preset number of cache bytes and / or cache time; The target SDU is forwarded based on the scheduling period and the corresponding resources are scheduled.
[0066] In some embodiments, the delay parameter is used to reflect the transmission delay corresponding to the target SDU.
[0067] For details not described or explained in the embodiments of the present disclosure, please refer to the aforementioned Figure 1-Figure 5 The relevant introduction in the embodiments will not be repeated here.
[0068] By implementing the embodiment of the present disclosure, the above-mentioned device can obtain the target SDU to be parsed, the target SDU includes at least a header field and a load field, the header field includes a synchronization indication area, an extension indication area, a length indication area and an integrity protection area, and the load field is used to carry the corresponding data packet; the target SDU is subjected to field parsing. In this way, the SDU can indicate the length of the SDU through the length indication area, and indicate the corresponding information of the service transmission through the synchronization indication area, the extension indication area and the integrity protection area, which not only increases the flexibility of the SDU construction, but also improves the efficiency and performance of subsequent communication processing (such as subsequent splicing).
[0069] The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon, and when the program instructions are executed by a processor, the steps of the SDU parsing method provided by the present disclosure are implemented.
[0070] See also Figure 7 is a schematic diagram of a receiving device according to an exemplary embodiment. For example, Figure 7 The receiving device 700 shown may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like.
[0071] Reference Figure 7 The receiving device 700 may include one or more of the following components: a processing component 702 , a memory 704 , a power component 706 , a multimedia component 708 , an audio component 710 , an input / output interface 712 , a sensor component 714 , and a communication component 716 .
[0072] The processing component 702 generally controls the overall operation of the receiving device 700, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 702 may include one or more processors 720 to execute instructions to complete all or part of the steps of the above-mentioned SDU parsing method. In addition, the processing component 702 may include one or more modules to facilitate the interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate the interaction between the multimedia component 708 and the processing component 702.
[0073] The memory 704 is configured to store various types of data to support operations on the receiving device 700. Examples of such data include instructions for any application or method operating on the receiving device 700, contact data, phone book data, messages, pictures, videos, etc. The memory 704 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.
[0074] The power supply component 706 provides power to the various components of the receiving device 700. The power supply component 706 can include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the receiving device 700.
[0075] The multimedia component 708 includes a screen that provides an output interface between the receiving device 700 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 708 includes a front camera and / or a rear camera. When the receiving device 700 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.
[0076] The audio component 710 is configured to output and / or input audio signals. For example, the audio component 710 includes a microphone (MIC), and when the receiving device 700 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 704 or sent via the communication component 716. In some embodiments, the audio component 710 also includes a speaker for outputting audio signals.
[0077] The input / output interface 712 provides an interface between the processing component 702 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.
[0078] The sensor assembly 714 includes one or more sensors for providing various aspects of status assessment for the receiving device 700. For example, the sensor assembly 714 can detect the open / closed state of the receiving device 700, the relative positioning of components, such as the display and keypad of the receiving device 700, and the sensor assembly 714 can also detect the position change of the receiving device 700 or a component of the receiving device 700, the presence or absence of user contact with the receiving device 700, the orientation or acceleration / deceleration of the receiving device 700, and the temperature change of the receiving device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 714 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 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0079] The communication component 716 is configured to facilitate wired or wireless communication between the receiving device 700 and other devices. The receiving device 700 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 716 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 716 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.
[0080] In an exemplary embodiment, the receiving device 700 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 SDU parsing method.
[0081] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 704 including instructions, and the instructions can be executed by the processor 720 of the receiving device 700 to complete the above-mentioned upper SDU 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.
[0082] 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 SDU parsing method. The executable instructions can be stored in the integrated circuit or chip, or can be obtained from other devices or equipment, for example, the integrated circuit or chip includes a processor, a memory, and an interface for communicating with other devices. The executable instruction may be stored in the memory, and when the executable instruction is executed by the processor, the above-mentioned SDU parsing method may be implemented; alternatively, the integrated circuit or chip may receive the executable instruction through the interface and transmit it to the processor for execution, so as to implement the above-mentioned SDU parsing method.
[0083] By implementing the embodiment of the present disclosure, the above-mentioned receiving device can obtain the target SDU to be parsed, the target SDU includes at least a header field and a load field, the header field includes a synchronization indication area, an extension indication area, a length indication area and an integrity protection area, and the load field is used to carry the corresponding data packet; the target SDU is subjected to field parsing. In this way, the SDU can indicate the length of the SDU through the length indication area, and indicate the corresponding information of the service transmission through the synchronization indication area, the extension indication area and the integrity protection area, which not only increases the flexibility of the SDU construction, but also improves the efficiency and performance of subsequent communication processing (such as subsequent splicing).
[0084] In another exemplary embodiment, a computer program product is further 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 SDU parsing method when executed by the programmable device.
[0085] See also Figure 8FIG. 1 is a schematic diagram showing the structure of another receiving device according to an exemplary embodiment. Figure 8 The receiving device 800 shown may be a network device such as a base station. Figure 8 As shown, the receiving device 800 may include a memory 801, a processor 802, a transceiver component 803, and a power supply component 806. The memory 801 is coupled to the processor 802, and can be used to store the programs and data necessary for the receiving device 800 to implement various functions. The processor 802 is configured to support the receiving device 800 to perform the corresponding functions in the above method, and this function can be implemented by calling the program stored in the memory 801. The transceiver component 803 can be a wireless transceiver, which can be used to support the receiving device 800 to receive signaling and / or data through a wireless air interface, and to send signaling and / or data. The transceiver component 803 can also be called a transceiver unit or a communication unit. The transceiver component 803 may include a radio frequency component 804 and one or more antennas 805, wherein the radio frequency component 804 may be a remote radio unit (RRU), which can be specifically used for the transmission of radio frequency signals and the conversion of radio frequency signals and baseband signals, and the one or more antennas 805 can be specifically used for the radiation and reception of radio frequency signals.
[0086] When the receiving device 800 needs to send data, the processor 802 can perform baseband processing on the data to be sent and output the baseband signal to the RF unit. The RF unit performs RF processing on the baseband signal and then sends the RF signal in the form of electromagnetic waves through the antenna. When data is sent to the receiving device 800, the RF unit receives the RF signal through the antenna, converts the RF signal into a baseband signal, and outputs the baseband signal to the processor 802. The processor 802 converts the baseband signal into data and processes the data.
[0087] By implementing the embodiment of the present disclosure, the above-mentioned receiving device can obtain the target SDU to be parsed, the target SDU includes at least a header field and a load field, the header field includes a synchronization indication area, an extension indication area, a length indication area and an integrity protection area, and the load field is used to carry the corresponding data packet; the target SDU is subjected to field parsing. In this way, the SDU can indicate the length of the SDU through the length indication area, and indicate the corresponding information of the service transmission through the synchronization indication area, the extension indication area and the integrity protection area, which not only increases the flexibility of the SDU construction, but also improves the efficiency and performance of subsequent communication processing (such as subsequent splicing).
[0088] See also Fig. 9 FIG. 1 is a schematic diagram showing the structure of a chip according to an exemplary embodiment. Fig. 9The chip 900 shown includes a processor 901 and an interface 902. Optionally, it may also include a memory 903. The number of the processor 901 may be one or more, and the number of the interface 902 may be more than one.
[0089] In one embodiment, for a case where a chip is used to implement the method embodiment of the present disclosure: The interface 902 is used to receive or output signals; The processor 901 is configured to execute part or all of the contents in the SDU parsing method embodiment.
[0090] 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.
[0091] 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.
[0092] 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.
[0093] 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.
[0094] 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 SDU parsing method, characterized in that: Applied to a receiving node, the method comprises: Acquire a target SDU to be parsed, the target SDU comprising at least a header field and a payload field, the header field comprising a synchronization indication area, an extension indication area, a length indication area, and an integrity protection area, and the payload field is used to carry a corresponding data packet; Perform field parsing on the target SDU.
2. The method according to claim 1, characterized in that The synchronization indication area is used to indicate the synchronization code position of the target SDU; The extension indication area is used to indicate whether the target SDU includes an extension field, and the extension field is used to carry at least one of a transmission sequence number, a priority, and a delay parameter of the target SDU; The length indication area is used to indicate the length of the target SDU; The integrity protection area is used to perform integrity legality judgment on the target SDU.
3. The method according to claim 1, characterized in that The performing field parsing on the target SDU includes: When the destination information in the data packet is used to indicate that the receiving node is a destination node, if the extension field of the target SDU includes the sending sequence number of the target SDU, performing a first extension process on the target SDU based on the sending sequence number of the target SDU; or When the destination information in the data packet is used to indicate that the receiving node is a forwarding node, performing a second extension process on the target SDU; The first extended processing is different from the second extended processing, and the first extended processing includes packet loss detection and / or data packet sorting processing.
4. The method according to claim 3, characterized in that The performing second extension processing on the target SDU comprises: If the extension field of the target SDU includes the priority of the target SDU and / or the delay parameter of the target SDU, the target SDU is forwarded accordingly according to the priority and / or the delay parameter; or, If the target SDU does not include the delay parameter, the target SDU is forwarded accordingly according to the preset number of cache bytes and / or cache time.
5. The method according to claim 4, characterized in that The performing corresponding forwarding processing on the target SDU according to the priority and / or the delay parameter includes: forwarding the target SDU according to the priority; and / or, According to the delay parameter, a scheduling period of resources required for forwarding the target SDU is determined, and corresponding resources are scheduled based on the scheduling period to forward the target SDU.
6. The method according to claim 4, characterized in that The performing corresponding forwarding processing on the target SDU according to the preset cache byte number and / or cache time includes: Determine a scheduling period for resources required to forward the target SDU according to a preset number of cache bytes and / or cache time; The target SDU is forwarded based on the scheduling period and the corresponding resources are scheduled.
7. The method according to claim 2, 4 or 5, characterized in that: The delay parameter is used to reflect the transmission delay corresponding to the target SDU.
8. An SDU parsing device, characterized in that: Applied to a receiving node, the device comprises: An acquisition module is configured to acquire a target SDU to be parsed, wherein the target SDU includes at least a header field and a payload field, wherein the header field includes a synchronization indication area, an extension indication area, a length indication area, and an integrity protection area, and the payload field is used to carry a corresponding data packet; The processing module is configured to perform field parsing on the target SDU.
9. A receiving 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 7.
10. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the steps of the method described in any one of claims 1 to 7 are implemented.