Business data transmission method and device, computer device and storage medium
By inserting a time identifier at the base station RLC layer and having the terminal determine the air interface transmission delay, the communication instability problem caused by the uncertainty of air interface delay in the prior art is solved, and delay determinism and communication stability are achieved.
Patent Information
- Application Number
- CN202310822092.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-05
- Publication Date
- 2026-02-03
- Estimated Expiration
- 2043-07-05
AI Technical Summary
Existing communication technologies cannot guarantee the determinism of air interface latency in the Industrial Internet, resulting in large downlink data latency jitter and low communication stability between devices.
After detecting service data at the base station RLC layer, a time stamp is inserted. The terminal determines the air interface transmission delay based on the time stamp and decides whether to submit it to the PDCP layer for processing.
It achieves deterministic latency in air interface data transmission from base station to terminal, ensuring a fixed latency for data packets from sender to receiver, and improving communication stability between devices.
Smart Images

Figure CN116887415B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a business data transmission method, apparatus, computer equipment, storage medium, and computer program product. Background Technology
[0002] With the development of communication technology, mobile communication technology is being used more and more widely in the industrial internet sector, and the current industrial internet business has increasingly higher requirements for certainty.
[0003] The communication technologies in the related technologies support three application modes: eMBB (Enhanced Mobile Broadband), MMTC (Massive Machine Type Communication), and URLLC (Ultra-reliable low latency communications). Neither eMBB nor MMTC modes impose special requirements on latency in their technical implementation. However, URLLC only reduces air interface latency by striving for timeliness and reliability in data transmission, and cannot guarantee the determinism of air interface latency.
[0004] Therefore, the application modes supported by the communication technologies in related technologies often cannot guarantee the determinism of air interface delay. In the downlink from the base station to the terminal, the lack of technical support for the determinism of air interface delay leads to large delay jitter in downlink data, resulting in low communication stability between devices. Summary of the Invention
[0005] Therefore, it is necessary to provide a business data transmission method, apparatus, computer equipment, computer-readable storage medium, and computer program product that can improve the communication stability between devices, in order to address the above-mentioned technical problems.
[0006] In a first aspect, this application provides a service data transmission method applied to a base station, the method comprising:
[0007] When it is detected that the base station RLC layer has received service data sent by the base station PDCP layer, a time identifier is inserted into the service data; the time identifier is used to characterize the arrival time of the service data to the base station RLC layer.
[0008] The service data carrying the time identifier is sent to the terminal; the terminal RLC layer is used to determine whether to submit the service data to the terminal PDCP layer based on the time identifier carried in the service data.
[0009] In one embodiment, the method further includes:
[0010] Obtain the segment identifier corresponding to the service data when it is transmitted at the RLC layer of the base station;
[0011] If the segment identifier is detected to be a preset segment identifier, the step of inserting a time identifier into the business data is performed.
[0012] In one embodiment, the preset segmentation identifier includes at least one of a header segmentation identifier or a non-segmentation identifier.
[0013] In one embodiment, inserting a time identifier into the business data includes:
[0014] Obtain the arrival time of the service data to the RLC layer of the base station;
[0015] Add the time identifier representing the arrival time to the end of the RLC header of the service data.
[0016] In one embodiment, the time identifier format includes at least one of a first identifier format or a second identifier format;
[0017] The first identifier format includes a system frame number, a subframe number, and a slot number; the second identifier format includes a system frame number, a subframe number, a slot number, and a symbol number.
[0018] Secondly, this application also provides a service data transmission method applied to a terminal, the method comprising:
[0019] When it is detected that the terminal RLC layer has received service data sent by the terminal MAC layer, the time identifier carried by the service data is parsed to determine the arrival time of the service data to the base station RLC layer as described above.
[0020] Obtain the system time at which the terminal receives the service data, and determine the air interface transmission delay of the service data based on the system time and the arrival time;
[0021] If the air interface transmission delay is detected to meet the target delay, the service data is submitted to the terminal PDCP layer.
[0022] In one embodiment, determining the air interface transmission delay of the service data based on the system time and the arrival time includes:
[0023] Calculate the time difference between the system time and the arrival time;
[0024] The time difference is determined as the air interface transmission delay.
[0025] In one embodiment, the method further includes:
[0026] If the air interface transmission delay is detected to be less than the target delay, the service data is cached and the caching time of the service layer data is recorded.
[0027] If the buffer time equals the target difference, the service data is submitted to the terminal PDCP layer; the target difference is equal to the difference between the target delay and the transmission delay.
[0028] In one embodiment, the method further includes:
[0029] If the air interface transmission delay is detected to be greater than the target delay, the service data is discarded, or an error reporting operation is performed on the service data.
[0030] Thirdly, this application also provides a service data transmission apparatus applied to a base station, the apparatus comprising:
[0031] A tagging module is used to insert a time identifier into the service data when the base station RLC layer detects that the base station RLC layer has received service data sent by the base station PDCP layer; the time identifier is used to characterize the arrival time of the service data to the base station RLC layer.
[0032] The sending module is used to send the service data carrying the time identifier to the terminal; the terminal RLC layer is used to determine whether to submit the service data to the terminal PDCP layer based on the time identifier carried in the service data.
[0033] Fourthly, this application also provides a business data transmission apparatus for use in a terminal, the apparatus comprising:
[0034] The parsing module is used to parse the time identifier carried by the service data when the terminal RLC layer detects that the terminal RLC layer has received service data sent by the terminal MAC layer, and to determine the arrival time of the service data to the base station RLC layer as described above.
[0035] The determination module is used to obtain the system time when the terminal receives the service data, and determine the air interface transmission delay of the service data based on the system time and the arrival time;
[0036] The submission module is used to submit the service data to the terminal PDCP layer when it is detected that the air interface transmission delay meets the target delay.
[0037] Fifthly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the above-described method.
[0038] Sixthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above-described method.
[0039] In a seventh aspect, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the above-described method.
[0040] The aforementioned service data transmission method, apparatus, computer equipment, storage medium, and computer program product, upon detecting that the base station RLC layer has received service data sent by the base station PDCP layer, inserts a time identifier into the service data. This time identifier characterizes the arrival time of the service data at the base station RLC layer, and the service data carrying the time identifier is sent to the terminal. The terminal RLC layer determines whether to submit the service data to the terminal PDCP layer based on the time identifier carried in the service data. In this way, the terminal side can perform time gating based on the time identifier carried in the service data, thereby determining whether the air interface transmission delay of the service data meets the submission conditions for submission to the terminal PDCP layer. If the submission conditions are met, the data is submitted to the terminal PDCP layer for further processing. This allows the terminal PDCP layer and SDAP layer to process service data whose air interface transmission delay meets the conditions, achieving deterministic delay of air interface data transmission from the base station to the terminal. This ensures that the delay from the sending end to the receiving end of the data packet is fixed, thereby ensuring the predictability of service data transmission time and improving the communication stability between devices. Attached Figure Description
[0041] Figure 1 This is an application environment diagram of a business data transmission method in one embodiment;
[0042] Figure 2 This is a flowchart illustrating a business data transmission method in one embodiment;
[0043] Figure 3 This is a schematic diagram of the air interface user plane protocol stack of a 5G system in one embodiment;
[0044] Figure 4(a) is a data format diagram of a type of business data in one embodiment;
[0045] Figure 4(b) is a data format diagram of another type of business data in one embodiment;
[0046] Figure 5(a) is a data format diagram of a type of business data in another embodiment;
[0047] Figure 5(b) shows a data format diagram of another type of business data in another embodiment;
[0048] Figure 6 This is a flowchart illustrating another business data transmission method in one embodiment;
[0049] Figure 7 This is a flowchart illustrating a business data transmission method in another embodiment;
[0050] Figure 8 This is another business data transmission method in another embodiment;
[0051] Figure 9 This is a flowchart of a business data transmission method in one embodiment;
[0052] Figure 10 This is a structural block diagram of a service data transmission device in one embodiment;
[0053] Figure 11 This is a structural block diagram of another service data transmission device in one embodiment;
[0054] Figure 12 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0055] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0056] The business data transmission method provided in this application embodiment can be applied to, for example... Figure 1In the application environment shown, terminal 102 communicates with base station 104. In practical applications, when base station 104 detects that its RLC layer has received service data sent by its PDCP layer, it inserts a time stamp into the service data. The time stamp represents the arrival time of the service data at the base station's RLC layer. Base station 104 sends the service data carrying the time stamp to terminal 102. When terminal 102 detects that its RLC layer has received service data sent by its MAC layer, it parses the time stamp carried in the service data to determine the arrival time of the service data at base station 104's RLC layer. Terminal 102 obtains the system time of the received service data and determines the air interface transmission delay of the service data based on the system time and the arrival time. When terminal 102 detects that the air interface transmission delay meets the target delay, it submits the service data to its PDCP layer. Terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, etc. Portable wearable devices can include smartwatches, smart bracelets, head-mounted devices, etc.
[0057] In one embodiment, such as Figure 2 As shown, a business data transmission method is provided, which is applied to... Figure 1 Taking a base station as an example, the explanation includes the following steps:
[0058] Step S202: When it is detected that the base station RLC layer has received service data sent by the base station PDCP layer, a time identifier is inserted into the service data.
[0059] The time stamp is used to characterize the arrival time of service data at the base station RLC layer.
[0060] For specific implementation details, please refer to [link / reference]. Figure 3 , Figure 3 A schematic diagram of the air interface user plane protocol stack of a 5G system is provided as an example; from Figure 3The process of sending service data can be seen as follows: Service data is processed by the SDAP (Service Data Adaptation Protocol), PDCP (Packet Data Convergence Protocol), RLC (Radio Link Control), and MAC (Multiple Access Control Protocol) layers at the base station side, and then sent to the terminal through the downlink physical channel. After receiving the data from the downlink physical channel, the terminal performs processing by the MAC, RLC, PDCP, and SDAP layers to restore the service data.
[0061] After the base station PDCP layer completes the processing of the service data, it sends the service data to the base station RLC layer. When the base station detects that the base station RLC layer has received the service data sent by the base station PDCP layer, it can determine the arrival time of the service data to the base station RLC layer and insert a time stamp representing the arrival time into the service data to obtain the marked service data.
[0062] Step S204: Send service data carrying a time identifier to the terminal.
[0063] The terminal RLC layer is used to determine whether to submit the service data to the terminal PDCP layer based on the time identifier carried by the service data.
[0064] In practice, after obtaining the identified service data, the base station RLC layer sends the identified service data (i.e., service data carrying a time identifier) to the terminal. Specifically, the identified service data is processed sequentially by the base station's MAC layer and PHY layer, and then the base station can transmit the processed service data to the terminal via air interface, allowing the terminal to receive the service data.
[0065] During the reception of the service data by the terminal, the data is processed sequentially by the terminal's PHY layer and MAC layer. The terminal's MAC layer then sends the service data, carrying a timestamp, to the terminal's RLC layer. The RLC layer then determines the air interface transmission delay of the service data based on the timestamp. The RLC layer compares this delay with preset upload conditions. If the air interface transmission delay meets the preset conditions, the RLC layer submits the service data to the terminal's PDCP layer for further processing by the PDCP and SDAP layers. If the RLC layer determines that the air interface transmission delay does not meet the preset conditions, it submits the service data to the terminal's PDCP layer. It should be noted that the working process of the terminal's RLC layer will be further defined below, but will not be elaborated upon here.
[0066] In the aforementioned service data transmission method, when the base station RLC layer detects that it has received service data sent by the base station PDCP layer, a time identifier is inserted into the service data. This time identifier is used to characterize the arrival time of the service data at the base station RLC layer, and the service data carrying the time identifier is sent to the terminal. The terminal RLC layer uses the time identifier carried by the service data to determine whether to submit the service data to the terminal PDCP layer. In this way, the terminal side can perform time gating based on the time identifier carried by the service data, thereby determining whether the air interface transmission delay of the service data meets the submission conditions for submission to the terminal PDCP layer. If the submission conditions are met, the data is submitted to the terminal PDCP layer for further processing. This allows the terminal PDCP layer and SDAP layer to process service data whose transmission delay meets the conditions, achieving delay determinism in air interface data transmission from the base station to the terminal. This ensures that the delay from the sending end to the receiving end of the data packet is fixed, thereby ensuring the predictability of service data transmission time and improving the communication stability between devices.
[0067] In another embodiment, the method further includes: obtaining the segment identifier corresponding to the service data when it is transmitted at the base station RLC layer; and if the segment identifier is detected to be a preset segment identifier, performing the step of inserting a time identifier into the service data.
[0068] The preset segmentation identifier includes at least one of a header segmentation identifier or a non-segmentation identifier.
[0069] In the 3GPP protocol, unsegmented RLC SDUs are identified by SI=00, while segmented RLC SDUs are identified by SI. The header segment of the SDU is identified by SI=01, the end segment by SI=10, and other segments by SI=11.
[0070] In practice, since the data packets SDU corresponding to the service data are transmitted in AM or UM mode at the RLC layer, there may be situations where the SDU is segmented. When the base station detects that the base station RLC layer has received the service data sent by the base station PDCP layer, the base station can obtain the segmentation identifier (i.e., SI) corresponding to the service data when it was transmitted at the base station RLC layer.
[0071] Then, the base station can determine whether the segmentation identifier of the service data is a header segmentation identifier or a non-segmentation identifier; if the segmentation identifier of the service data is a header segmentation identifier or a non-segmentation identifier (i.e., SI=00 or SI=01), the base station performs the step of inserting a time identifier into the service data, that is, adding a data arrival time identifier to the RLC SDU with SI=00 or SI=01, which represents the arrival time of the data arrival time identifier RLC SDU to the base station RLC layer.
[0072] The technical solution of this embodiment obtains the segmentation identifier corresponding to the service data when it is transmitted at the RLC layer of the base station, and inserts a time identifier into the service data when the segmentation identifier is detected to be a preset segmentation identifier. By inserting the time identifier into the service data with header segmentation identifier or no segmentation identifier, selective labeling of the service data is achieved, avoiding redundant labeling of service data that does not need to be labeled, reducing the data processing load of the base station, and improving the base station's processing efficiency of service data.
[0073] In another embodiment, inserting a time stamp into the service data includes: obtaining the arrival time of the service data to the base station RLC layer; and adding a time stamp representing the arrival time to the end of the RLC header of the service data.
[0074] The time identifier format may include at least one of a first identifier format or a second identifier format; wherein the first identifier format is an identifier format including a system frame number, a subframe number, and a slot number; and the second identifier format is an identifier format including a system frame number, a subframe number, a slot number, and a symbol number.
[0075] In practice, during the process of inserting a time stamp into the service data, the base station can obtain the arrival time of the service data to the base station's RLC layer; the base station can generate a time stamp representing the arrival time based on the arrival time according to a preset time stamp format; then, the base station adds the time stamp to the end of the RLC header of the service data.
[0076] To facilitate understanding by those skilled in the art, Figure 4 provides an example of a data format diagram for service data with a first identifier format; wherein, Figure 4(a) is a data format diagram for service data using UM transmission mode (SI = 00 or 01); Figure 4(b) is a data format diagram for service data using AM transmission mode (SI = 00 or 01);
[0077] Among them, SFN is the system frame number, which can range from 0 to 1023 (10 bits); SubFN is the subframe number, which can range from 0 to 9 (4 bits); SlotN is the slot number, which can range from 0 to 15 (4 bits).
[0078] In addition, Figure 5 provides an example of a data format diagram of service data with a second identifier format; wherein, Figure 5(a) is a data format diagram of service data using UM transmission mode (SI=00 or 01); Figure 5(b) is a data format diagram of service data using AM transmission mode (SI=00 or 01).
[0079] Among them, SFN is the system frame number, which can range from 0 to 1023 (10 bits); SubFN is the subframe number, which can range from 0 to 9 (4 bits); SlotN is the slot number, which can range from 0 to 15 (4 bits); SymbolN is the symbol number, which can range from 0 to 13 (4 bits).
[0080] The technical solution of this embodiment obtains the arrival time of service data to the RLC layer of the base station, and adds a time identifier representing the arrival time to the end of the RLC header of the service data according to a preset time identifier format. This enables the service data to be quickly and effectively marked with a time identifier corresponding to the time when the service data arrives at the RLC layer of the base station, which facilitates the subsequent determination of the air interface transmission delay of the service data by the terminal.
[0081] In another embodiment, such as Figure 6 As shown, a business data transmission method is provided, which is applied to... Figure 1 Taking base station 104 as an example, the explanation includes the following steps:
[0082] Step S602: When it is detected that the base station RLC layer receives service data sent by the base station PDCP layer, obtain the segment identifier corresponding to the service data when it is transmitted in the base station RLC layer.
[0083] Step S604: If the segmentation identifier is detected to be a preset segmentation identifier, a time identifier is inserted into the service data; the time identifier is used to characterize the arrival time of the service data to the base station RLC layer.
[0084] Step S606: Send service data carrying a time identifier to the terminal; The terminal RLC layer is used to determine whether to submit the service data to the terminal PDCP layer based on the time identifier carried in the service data.
[0085] It should be noted that the specific limitations of the above steps can be found in the specific limitations of a business data transmission method described above, and will not be repeated here.
[0086] In one embodiment, such as Figure 7 As shown, a business data transmission method is provided, which is applied to... Figure 1 Taking the terminal in the example, the explanation includes the following steps:
[0087] Step S702: When it is detected that the terminal RLC layer has received service data sent by the terminal MAC layer, the time identifier carried by the service data is parsed to determine the arrival time of the service data to the aforementioned base station RLC layer.
[0088] In practice, the terminal receives service data sent by the base station. This service data can be processed sequentially through the terminal's PHY layer and MAC layer. The terminal's MAC layer then sends the service data, carrying a time stamp, to the terminal's RLC layer. When the terminal detects that the terminal's RLC layer has received the service data sent by the terminal's MAC layer, the terminal can parse the time stamp carried in the service data to determine the arrival time of the service data at the aforementioned base station RLC layer.
[0089] Step S704: Obtain the system time when the terminal receives the service data, and determine the air interface transmission delay of the service data based on the system time and arrival time.
[0090] In specific implementation, after determining the arrival time of the service data at the aforementioned base station RLC layer, the terminal can obtain the system time at which the terminal RLC layer received the service data, and determine the air interface transmission delay of the service data based on the system time and the arrival time. Specifically, the terminal RLC layer can determine the air interface transmission delay (T1-T0) of the service data based on the difference between the system time T1 and the arrival time T0.
[0091] Where T1 is the time when the terminal-side RLC layer receives the data packet after air interface transmission. In the case of RLC SDU segmentation, T1 is the time when the last segment of the SDU (i.e., the PDU with SI=10) is received.
[0092] Step S706: If the air interface transmission delay is detected to meet the target delay, the service data is submitted to the terminal PDCP layer.
[0093] The target delay Tt can refer to the time relative to T0 when data is sent from the terminal's RLC layer to the upper layer.
[0094] In specific implementation, after determining the air interface transmission delay (T1-T0) of the service data, the terminal can determine whether the air interface transmission delay of the service data meets the target delay Tt. If the air interface transmission delay meets the target delay Tt, the terminal RLC layer submits the service data to the terminal PDCP layer for further processing by the terminal PDCP and SDAP layers.
[0095] If the terminal RLC layer determines that the air interface transmission delay is less than the target delay Tt, the terminal RLC layer can buffer the service data until the buffering time of the service data meets the preset buffering conditions, and then submit the service data to the terminal PDCP layer for further processing by the terminal PDCP and SDAP layers.
[0096] If the terminal RLC layer determines that the air interface transmission delay is greater than the target delay Tt, the terminal RLC layer can discard the service data or perform an error reporting operation on the service data.
[0097] The aforementioned service data transmission method, upon detecting that the base station RLC layer has received service data sent by the base station PDCP layer, inserts a time identifier into the service data. This time identifier represents the arrival time of the service data at the base station RLC layer, and the service data carrying the time identifier is sent to the terminal. The terminal RLC layer determines whether to submit the service data to the terminal PDCP layer based on the time identifier carried in the service data. In this way, the terminal side can perform time gating based on the time identifier carried in the service data, thereby determining whether the air interface transmission delay of the service data meets the submission conditions for submission to the terminal PDCP layer. If the submission conditions are met, the data is submitted to the terminal PDCP layer for further processing. This allows the terminal PDCP layer and SDAP layer to process service data whose air interface transmission delay meets the conditions, achieving deterministic delay of air interface data transmission from the base station to the terminal. This ensures that the delay from the sending end to the receiving end of the data packet is fixed, thereby guaranteeing the predictability of service data transmission time and improving the communication stability between devices.
[0098] In another embodiment, the method further includes: when the air interface transmission delay is detected to be less than the target delay, caching service data and recording the caching time of the service layer data; when the caching time is equal to the target difference, submitting the service data to the terminal PDCP layer; the target difference is equal to the difference between the target delay and the transmission delay.
[0099] In the specific implementation, when the terminal RLC layer detects that the air interface transmission delay is less than the target delay, the terminal caches the service data and records the caching time of the service layer data; when the caching time is equal to the target difference, the service data is submitted to the terminal PDCP layer; where the target difference is equal to the difference between the target delay and the transmission delay.
[0100] Specifically, while caching service data, the terminal RLC layer can also enable a timer. When the timer countdown ends, the terminal RLC layer submits the service data to the terminal PDCP layer. The timer countdown can be represented as Tt - (T1 - T0).
[0101] The technical solution of this embodiment enables the terminal PDCP layer and SDAP layer to process service data that meets the transmission delay conditions, realizes the delay determinism of data transmission from the base station to the terminal air interface, ensures that the delay of the data packet from the sending end to the receiving end is fixed, so as to ensure the time predictability of service data transmission and improve the communication stability between devices.
[0102] In another embodiment, such as Figure 8 As shown, a business data transmission method is provided, which is applied to... Figure 1 Taking terminal 102 as an example, the explanation includes the following steps:
[0103] Step S802: When it is detected that the terminal RLC layer has received service data sent by the terminal MAC layer, the time identifier carried by the service data is parsed to determine the arrival time of the service data to the base station RLC layer.
[0104] Step S804: Obtain the system time when the terminal receives the service data, and calculate the time difference between the system time and the arrival time.
[0105] Step S806: Determine the time difference as the air interface transmission delay.
[0106] Step S808: If the air interface transmission delay is found to meet the target delay, the service data is submitted to the terminal PDCP layer.
[0107] Step S810: If the air interface transmission delay is detected to be less than the target delay, cache the service data and record the caching time of the service layer data.
[0108] Step S812: If the buffer time is equal to the target difference, submit the service data to the terminal PDCP layer; the target difference is equal to the difference between the target delay and the transmission delay.
[0109] It should be noted that the specific limitations of the above steps can be found in the specific limitations of a business data transmission method described above, and will not be repeated here.
[0110] In another embodiment, such as Figure 9 The diagram illustrates a flow chart of a service data transmission method. Service data is processed by the SDAP and PDCP layers at the base station. The PDCP layer then transmits the service data to the RLC layer. Upon detecting that the RLC layer has received the service data from the PDCP layer, the base station determines the arrival time of the service data at the RLC layer and inserts a time stamp representing this arrival time into the service data, resulting in tagged service data. The tagged service data is then processed sequentially by the MAC and PHY layers of the base station. Finally, the base station transmits the processed service data to the terminal via air interface for the terminal to receive.
[0111] After the service data is processed sequentially by the terminal's PHY layer and MAC layer, the terminal's MAC layer sends the service data, carrying a time stamp, to the terminal's RLC layer. When the terminal detects that the RLC layer has received the service data sent by the MAC layer, it can parse the time stamp carried in the service data to determine the arrival time T1 corresponding to the service data reaching the aforementioned base station RLC layer. Simultaneously, the terminal can obtain the system time at which the RLC layer received the service data and, based on the difference between the system time T1 and the arrival time T0, determine the air interface transmission delay (T1-T0) of the service data.
[0112] After determining the air interface transmission delay (T1-T0) of the service data, the terminal can then determine whether the air interface transmission delay of the service data meets the target delay Tt. If the air interface transmission delay meets the target delay Tt, the terminal RLC layer submits the service data to the terminal PDCP layer for further processing by the terminal's PDCP and SDAP layers.
[0113] If the terminal RLC layer detects that the air interface transmission delay is less than the target delay, the terminal buffers the service data. At the same time, the terminal RLC layer can enable a timer. When the timer countdown ends, the terminal RLC layer submits the service data to the terminal PDCP layer. The timer countdown time can be represented as Tt-(T1-T0).
[0114] If the terminal RLC layer determines that the air interface transmission delay is greater than the target delay Tt, the terminal RLC layer can discard the service data or perform an error reporting operation on the service data.
[0115] The aforementioned service data transmission method, upon detecting that the base station RLC layer has received service data sent by the base station PDCP layer, inserts a time identifier into the service data. This time identifier represents the arrival time of the service data at the base station RLC layer, and the service data carrying the time identifier is sent to the terminal. The terminal RLC layer determines whether to submit the service data to the terminal PDCP layer based on the time identifier carried in the service data. In this way, the terminal side can perform time gating based on the time identifier carried in the service data, thereby determining whether the air interface transmission delay of the service data meets the submission conditions for submission to the terminal PDCP layer. If the submission conditions are met, the data is submitted to the terminal PDCP layer for further processing. This allows the terminal PDCP layer and SDAP layer to process service data whose air interface transmission delay meets the conditions, achieving deterministic delay of air interface data transmission from the base station to the terminal. This ensures that the delay from the sending end to the receiving end of the data packet is fixed, thereby guaranteeing the predictability of service data transmission time and improving the communication stability between devices.
[0116] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0117] Based on the same inventive concept, this application also provides a business data transmission apparatus for implementing the aforementioned business data transmission method. The solution provided by this apparatus is similar to the implementation described in the above method; therefore, the specific limitations of one or more embodiments of the business data transmission apparatus provided below can be found in the limitations of the business data transmission method described above, and will not be repeated here.
[0118] In one embodiment, such as Figure 10 As shown, a service data transmission device is provided, applied to a base station, comprising:
[0119] The marking module 1010 is used to insert a time identifier into the service data when the base station RLC layer detects that the base station RLC layer has received service data sent by the base station PDCP layer; the time identifier is used to characterize the arrival time of the service data to the base station RLC layer;
[0120] The sending module 1020 is used to send the service data carrying the time identifier to the terminal; the terminal RLC layer is used to determine whether to submit the service data to the terminal PDCP layer based on the time identifier carried in the service data.
[0121] In one embodiment, the apparatus is further configured to obtain the segment identifier corresponding to the service data when it is transmitted at the base station RLC layer; and if the segment identifier is detected to be a preset segment identifier, to perform the step of inserting a time identifier into the service data.
[0122] In one embodiment, the preset segmentation identifier includes at least one of a header segmentation identifier or a non-segmentation identifier.
[0123] In one embodiment, the marking module 1010 is specifically used to obtain the arrival time of the service data to the RLC layer of the base station; and to add the time identifier representing the arrival time to the end of the RLC header of the service data.
[0124] In one embodiment, the time identifier format includes at least one of a first identifier format or a second identifier format; wherein, the first identifier format is an identifier format including a system frame number, a subframe number, and a slot number; and the second identifier format is an identifier format including a system frame number, a subframe number, a slot number, and a symbol number.
[0125] In one embodiment, such as Figure 11 As shown, a business data transmission device is provided, applied to a terminal, comprising:
[0126] The parsing module 1110 is used to parse the time identifier carried by the service data and determine the arrival time of the service data to the base station RLC layer as described above when the terminal RLC layer detects that the terminal RLC layer has received service data sent by the terminal MAC layer.
[0127] The determining module 1120 is used to obtain the system time when the terminal receives the service data, and determine the air interface transmission delay of the service data based on the system time and the arrival time;
[0128] The submission module 1130 is used to submit the service data to the terminal PDCP layer when it is detected that the air interface transmission delay meets the target delay.
[0129] In one embodiment, the determining module 1120 is specifically used to calculate the time difference between the system time and the arrival time; and to determine the time difference as the air interface transmission delay.
[0130] In one embodiment, the apparatus is further configured to, when the air interface transmission delay is detected to be less than the target delay, cache the service data and record the caching time of the service layer data; and, when the caching time is equal to the target difference, submit the service data to the terminal PDCP layer; wherein the target difference is equal to the difference between the target delay and the transmission delay.
[0131] In one embodiment, the device is further configured to discard the service data or perform an error reporting operation on the service data if the air interface transmission delay is detected to be greater than the target delay.
[0132] Each module in the aforementioned business data transmission device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the operations corresponding to each module.
[0133] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 12 As shown, the computer device includes a processor, memory, communication interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a business data transmission method. The display screen can be an LCD screen or an e-ink screen. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad mounted on the computer device casing, or an external keyboard, touchpad, or mouse.
[0134] Those skilled in the art will understand that Figure 12The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0135] In one embodiment, a computer device is provided, including a memory and a processor. The memory stores a computer program, which, when executed by the processor, causes the processor to perform the steps of the aforementioned business data transmission method. The steps of this business data transmission method may be steps from one of the business data transmission methods described in the various embodiments above.
[0136] In one embodiment, a computer-readable storage medium is provided, storing a computer program that, when executed by a processor, causes the processor to perform the steps of the aforementioned business data transmission method. The steps of this business data transmission method may be steps from one of the business data transmission methods described in the various embodiments above.
[0137] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, causes the processor to perform the steps of the aforementioned business data transmission method. The steps of this business data transmission method may be steps from one of the business data transmission methods described in the various embodiments above.
[0138] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0139] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0140] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0141] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A method of transmitting service data, characterized by, The method applied to a base station comprises: In a case where it is detected that the base station RLC layer receives service data sent by the base station PDCP layer, inserting a time identifier into the service data, comprising: in a case where a segment identifier of a data packet SDU corresponding to the service data is a preset segment identifier, adding the time identifier to a tail of an RLC header in the service data; the time identifier is used to represent an arrival time of the service data to the base station RLC layer; the preset segment identifier comprises at least one of a header segment identifier or a non-segment identifier; Sending the service data carrying the time identifier to a terminal; the terminal RLC layer is used to acquire a system time at which the terminal receives the service data, and determine an air interface transmission time delay of the service data according to the system time and the time identifier carried by the service data; in a case where it is detected that the air interface transmission time delay meets a target time delay, submitting the service data to the terminal PDCP layer.
2. The method of claim 1, wherein, The inserting the time identifier into the service data comprises: Acquiring an arrival time of the service data to the base station RLC layer.
3. The method of claim 2, wherein, The time identifier format of the time identifier comprises at least one of a first identifier format or a second identifier format; The first identifier format is an identifier format comprising a system frame number, a subframe number and a Slot number; the second identifier format is an identifier format comprising a system frame number, a subframe number, a Slot number and a Symbol number.
4. A service data transmission method characterized by comprising: The method applied to a terminal comprises: In a case where it is detected that the terminal RLC layer receives service data sent by the terminal MAC layer, analyzing a time identifier carried by the service data, and determining an arrival time of the service data to a base station RLC layer; the base station is used to add the time identifier to a tail of an RLC header in the service data in a case where a segment identifier of a data packet SDU corresponding to the service data is a preset segment identifier; the preset segment identifier comprises at least one of a header segment identifier or a non-segment identifier; Acquiring a system time at which the terminal receives the service data, and determining an air interface transmission time delay of the service data according to the system time and the arrival time; In a case where it is detected that the air interface transmission time delay meets a target time delay, submitting the service data to the terminal PDCP layer.
5. The method of claim 4, wherein, The determining the air interface transmission time delay of the service data according to the system time and the arrival time comprises: Calculating a time difference value between the system time and the arrival time; Determining the time difference value as the air interface transmission time delay.
6. The method of claim 4, wherein, The method further comprises: In a case where it is detected that the air interface transmission time delay is less than the target time delay, buffering the service data, and recording a buffering time of the service data; In a case where the buffering time is equal to a target difference value, submitting the service data to the terminal PDCP layer; the target difference value is equal to a difference value between the target time delay and the transmission time delay.
7. The method of claim 4, wherein, The method further comprises: In a case where the air interface transmission delay is detected to be greater than the target delay, the service data is discarded, or an error reporting operation is performed on the service data.
8. A service data transmission apparatus characterized by comprising: The device applied to a base station comprises: A marking module is configured to insert a time identifier into the service data in a case where the base station RLC layer receives the service data sent by the base station PDCP layer, and comprises adding the time identifier to the tail of an RLC header in the service data in a case where the segmentation identifier of a data packet SDU corresponding to the service data is a preset segmentation identifier; the time identifier is used to represent the arrival time of the service data to the base station RLC layer; the preset segmentation identifier comprises at least one of a header segmentation identifier or a non-segmentation identifier; A sending module is configured to send the service data carrying the time identifier to a terminal; the terminal RLC layer is configured to acquire the system time at which the terminal receives the service data, determine the air interface transmission delay of the service data according to the system time and the time identifier carried by the service data, and submit the service data to the terminal PDCP layer in a case where the air interface transmission delay meets a target delay.
9. A service data transmission apparatus characterized by comprising: The device applied to a terminal comprises: An analysis module is configured to analyze the time identifier carried by the service data in a case where the terminal RLC layer receives the service data sent by the terminal MAC layer, and determine the arrival time of the service data to a base station RLC layer; the base station is configured to add the time identifier to the tail of an RLC header in the service data in a case where the segmentation identifier of a data packet SDU corresponding to the service data is a preset segmentation identifier; the preset segmentation identifier comprises at least one of a header segmentation identifier or a non-segmentation identifier; A determination module is configured to acquire the system time at which the terminal receives the service data, and determine the air interface transmission delay of the service data according to the system time and the arrival time; A submission module is configured to submit the service data to the terminal PDCP layer in a case where the air interface transmission delay meets a target delay. 10.A computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the computer device is configured to perform the method according to any one of claims 1-9. The processor executes the computer program to implement the steps of the method in any one of claims 1 to 7.
11. A computer readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method in any one of claims 1 to 7.
12. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method in any one of claims 1 to 7.
Citation Information
Patent Citations
Data transmission method, related equipment and communication system
CN110366258A
Time delay measurement method, device and equipment and computer readable storage medium
CN114978961A