Data packet processing method and device, storage medium and program product

By monitoring and managing the number of packets in the LTE system cache area, deleting expired packets and forwarding them in chronological order, the problems of CBTC system congestion and logical timeout caused by LTE system exceptions are solved, and driving safety is improved.

CN120238250APending Publication Date: 2025-07-01CHENGDU TD TECH LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311872883.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-29
Publication Date
2025-07-01

AI Technical Summary

Technical Problem

When the network interface of the LTE system recovers after abnormality occurs, the receiver receives a large number of retransmitted data packets in a short time, resulting in excess of the processing capacity of the CBTC system, causing system congestion or processing logic to time out, which triggers emergency stops and affects driving safety.

Method used

Monitor the number of packets in the cache area of ​​the LTE system, delete expired packets according to the time of packet dispatch, and forward packets in sequence in chronological order, limiting the number of packets and forwarding intervals to ensure the processing stability of the CBTC system.

Benefits of technology

By performing limited preprocessing and time-sequential forwarding of data packets, the system's instantaneous reception volume is avoided from exceeding the range, the data processing stability of the CBTC system is improved, and driving safety is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120238250A_ABST
    Figure CN120238250A_ABST
Patent Text Reader

Abstract

The invention provides a data packet processing method and device, a storage medium and a program product, and relates to the technical field of communication. The method comprises the steps of forwarding a data packet to a cache region of an LTE system in response to an issuing instruction of the data packet, and monitoring the number of cached data packets; if the number of the data packets cached in the cache region of the LTE system exceeds a first preset cache number, deleting the data packets with early issuing time identifiers according to the issuing time identifiers of the data packets, so that the number of the data packets cached in the cache region does not exceed the first preset cache number; and according to the issuing time identifier of the data packet and a first preset data packet forwarding interval, sequentially forwarding the data packets cached in the cache region of the LTE system to a target vehicle-mounted system. According to the method, the stability of data transmission and processing is improved, and then the driving safety is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technologies, and in particular, to a data packet processing method, device, storage medium, and program product. Background Art

[0002] The control signal system on which urban rail transit train operation depends, that is, the communication-based train control system (CBTC system), is used for train operation judgment and control of vehicles and is a system strongly related to train operation safety. The communication pipeline mainly relied on for information interaction between the vehicle and the ground controller in the CBTC system is the LTE system.

[0003] To reduce the packet loss rate, the LTE system itself has a certain fault tolerance guarantee mechanism, such as a retransmission mechanism to ensure the safe transmission of data packets. For example, hybrid automatic repeat request (HARQ) is adopted at the media access control (MAC) layer; or when an acknowledged mode, such as the AM mode, is adopted, there are also means such as retransmission and in-sequence delivery of protocol data unit (PDU) recombination at the radio link control (RLC) layer.

[0004] When the network interface of the above LTE system is abnormal, it will cause the data to be unable to be normally packetized at the receiving end. In order to reduce the packet loss rate, the retransmission mechanism will continuously retransmit the packets that are not normally received at the receiving end. However, when the network interface recovers instantaneously, the receiving end may receive a large number of retransmitted data packets in a short period of time and centrally deliver multiple data packets to the CBTC system of the lower-level device, which may cause the CBTC system to become congested and hang due to exceeding the processing capacity, or exceed the processing judgment logic time limit due to the long time interval for combined processing between multiple data packets, thereby causing the CBTC system to be abnormal and even triggering an emergency stop, bringing potential safety hazards to train operation. Summary of the Invention

[0005] This application provides a data packet processing method, device, storage medium, and program product to solve the problem that when the network interface of the LTE system recovers instantaneously after an abnormality, the receiving end receives a large number of retransmitted data packets in a short period of time and centrally delivers multiple data packets to the CBTC system of the lower-level device, which may cause the CBTC system to become congested and hang due to exceeding the processing capacity, or exceed the processing judgment logic time limit due to the long time interval for combined processing between multiple data packets, thereby causing the CBTC system to be abnormal and even triggering an emergency stop, bringing potential safety hazards to train operation.

[0006] In a first aspect, the present application provides a data packet processing method, including:

[0007] In response to a data packet distribution instruction, forward the data packet to the cache area of the LTE system and monitor the number of cached data packets; wherein, the distribution instruction includes at least one data packet to be distributed and a target vehicle-mounted system for receiving the data packet, and the data packet carries a distribution time identifier;

[0008] If the number of data packets cached in the cache area of the LTE system exceeds a first preset cache quantity, delete the data packets with earlier distribution time identifiers according to the distribution time identifiers of the data packets, so that the number of data packets cached in the cache area does not exceed the first preset cache quantity;

[0009] According to the distribution time identifier of the data packet and a first preset data packet forwarding interval, sequentially forward the data packets cached in the cache area of the LTE system to the target vehicle-mounted system.

[0010] In a possible design, it further includes:

[0011] If the number of data packets cached in the cache area of the LTE system does not exceed a second preset cache quantity, forward all the data packets cached in the cache area of the LTE system to the target vehicle-mounted system according to a second preset data packet forwarding interval; wherein, the second preset cache quantity is less than the first preset cache quantity, and the second preset data packet forwarding interval is greater than the first preset data packet forwarding interval.

[0012] In a possible design, it further includes:

[0013] If the number of data packets cached in the cache area of the LTE system exceeds the second preset cache quantity but does not exceed the first preset cache quantity, forward the data packets cached in the cache area of the LTE system to the target vehicle-mounted system according to the distribution time identifier of the data packet and the first preset data packet forwarding interval; wherein, the second preset cache quantity is less than the first preset cache quantity.

[0014] In a possible design, after forwarding the data packet to the cache area of the LTE system, the method further includes:

[0015] Determine a first data packet and a second data packet in the cache area according to the distribution time identifier of the data packet; wherein, the first data packet is used to identify the data packet with the earliest distribution time identifier in the cache area, and the second data packet is used to identify the data packet with the latest distribution time identifier in the cache area;

[0016] Determine the transmission time difference between the first data packet and the second data packet according to the transmission time identifier corresponding to the first data packet and the transmission time identifier corresponding to the second data packet;

[0017] If the transmission time difference between the first data packet and the second data packet is greater than the preset cache time difference threshold, delete the first data packet, and determine the data packet with the earliest transmission time identifier among the remaining data packets in the buffer as the new first data packet.

[0018] In a second aspect, the present application provides a data packet processing device, including:

[0019] A transfer and storage module, configured to forward a data packet to the cache area of the LTE system in response to a data packet transmission instruction, and monitor the number of cached data packets; wherein, the transmission instruction includes at least one data packet to be transmitted and a target vehicle-mounted system for receiving the data packet, and the data packet carries a transmission time identifier.

[0020] A processing module, configured to, if the number of data packets cached in the cache area of the LTE system exceeds a first preset cache quantity, delete the data packets with earlier transmission time identifiers according to the transmission time identifiers of the data packets, so that the number of data packets cached in the cache area does not exceed the first preset cache quantity.

[0021] A sending module, configured to sequentially forward the data packets cached in the cache area of the LTE system to the target vehicle-mounted system according to the transmission time identifier of the data packet and a first preset data packet forwarding interval.

[0022] Further, the processing module may also be configured to, if the number of data packets cached in the cache area of the LTE system does not exceed a second preset cache quantity, trigger the sending module to forward all the data packets cached in the cache area of the LTE system to the target vehicle-mounted system according to a second preset data packet forwarding interval; wherein, the second preset cache quantity is less than the first preset cache quantity, and the second preset data packet forwarding interval is greater than the first preset data packet forwarding interval.

[0023] Further, the processing module may also be configured to, if the number of data packets cached in the cache area of the LTE system exceeds the second preset cache quantity but does not exceed the first preset cache quantity, trigger the sending module to sequentially forward the data packets cached in the cache area of the LTE system to the target vehicle-mounted system according to the transmission time identifier of the data packet and a first preset data packet forwarding interval; wherein, the second preset cache quantity is less than the first preset cache quantity.

[0024] Further, after the processing module forwards the data packet to the cache area of the LTE system, it determines the first data packet and the second data packet in the cache area according to the time stamp of the data packet for distribution; wherein, the first data packet is used to identify the data packet with the earliest time stamp for distribution in the cache area, and the second data packet is used to identify the data packet with the latest time stamp for distribution in the cache area;

[0025] Determine the time difference between the distribution of the first data packet and the second data packet according to the time stamp of the distribution corresponding to the first data packet and the time stamp of the distribution corresponding to the second data packet;

[0026] If the time difference between the distribution of the first data packet and the second data packet is greater than the preset cache time difference threshold, delete the first data packet, and determine the data packet with the earliest time stamp for distribution among the remaining data packets in the cache area as the new first data packet.

[0027] In a third aspect, the present application provides a locomotive access unit, including: a processor, and a memory communicatively connected to the processor;

[0028] The memory stores computer-executable instructions;

[0029] The processor executes the computer-executable instructions stored in the memory to implement the data packet processing method.

[0030] In a fourth aspect, the present application provides an LTE system, including the above locomotive access unit.

[0031] In a fifth aspect, the present application provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, they are used to implement the data packet processing method.

[0032] In a sixth aspect, the present application provides a computer program product, including a computer program, and when the computer program is executed by a processor, it implements the data packet processing method.

[0033] The data packet processing method, device, storage medium, and program product provided by this application respond to the data packet distribution instruction, forward the data packet to the cache area of the LTE system, and monitor the number of cached data packets. If the number of cached data packets in the cache area of the LTE system exceeds the first preset cache quantity, the data packets with earlier distribution time identifiers are deleted according to the distribution time identifiers of the data packets, so that the number of cached data packets in the cache area does not exceed the first preset cache quantity. According to the distribution time identifiers of the data packets and the first preset data packet forwarding interval, the data packets cached in the cache area of the LTE system are sequentially forwarded to the target vehicle-mounted system. Compared with the situation in the prior art where at the moment of recovery after an abnormality occurs in the network interface of the LTE system, the receiving end receives a large number of retransmitted data packets in a short period of time and centrally submits multiple data packets to the CBTC system of the downlink device, which may cause the CBTC system to be congested and hang due to exceeding the processing capacity, or exceed the processing judgment logic time limit due to the long time interval for combined processing between multiple data packets, thereby causing the CBTC system to be abnormal and even triggering an emergency stop, bringing potential safety hazards to train operation. This application performs limited preprocessing on the data packets to be distributed, and at the same time distributes the limited data packets in chronological order to ensure that the instantaneous reception volume of the receiving end system will not exceed the range during distribution, improve the stability of the CBTC system in processing data, and thus improve train operation safety. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the following drawings are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0035] Figure 1 It is a schematic diagram of the application scenario of data packet processing provided by an embodiment of this application;

[0036] Figure 2 It is a flowchart of the data packet processing method provided by an embodiment of this application Figure 1 ;

[0037] Figure 3 It is a flowchart of the data packet processing method provided by an embodiment of this application Figure 2 ;

[0038] Figure 4 It is a schematic diagram of the data packet processing state with normal network provided by an embodiment of this application;

[0039] Figure 5 It is a schematic diagram of the data packet processing state with abnormal network provided by an embodiment of this application

[0040] Figure 6 It is a schematic structural diagram of the data packet processing device provided by the embodiment of the present application;

[0041] Figure 7 It is a schematic hardware structure diagram of the locomotive access unit provided by the embodiment of the present application. Detailed implementation manners

[0042] Here, the exemplary embodiments will be described in detail, and the examples are shown in the drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present application. On the contrary, they are only examples of devices and methods consistent with some aspects of the present application, rather than all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0043] First, the relevant concepts or terms involved in the present application are explained:

[0044] Communication Based Train Control System (CBTC system): It refers to a system that uses a communication network to achieve two-way communication between trains and ground equipment, replaces the fixed track section block with a moving block that reports the train position in real time and calculates the movement authorization to achieve train operation control, and is used for train operation judgment and control, and is a system strongly related to train operation safety.

[0045] LTE (Long Term Evolution) system: It refers to a wireless communication technology with high speed, high capacity, low latency and high reliability, and is widely used in the field of mobile communication.

[0046] Media Access Control layer (MAC layer): It is an important part of a computer network, located above the data link layer, responsible for controlling media access and transmission, and realizing reliable data transmission and sharing by controlling media access and transmission.

[0047] Packet Data Convergence Protocol layer (PDCP layer): It is a protocol layer in the LTE system, located between the control plane and the user plane of the Radio Access Network (RAN). The main functions of the PDCP layer are to achieve packetization and fusion of data, and at the same time provide security and reliability guarantees for data. It can compress, encrypt, segment, reassemble, and control the transmission of data to ensure the security, reliability, and correctness of data.

[0048] Hybrid Automatic Repeat Request (HARQ): It is a data transmission protocol that combines Automatic Repeat Request (ARQ) and Forward Error Correction (FEC) technologies to improve the reliability and efficiency of data transmission. The basic principle is to achieve reliable data transmission through a feedback mechanism between the sender and the receiver.

[0049] Protocol Data Unit (PDU): It is the basic unit for transmitting data in a computer network. It contains a protocol header and a data part, and is used for communication and information exchange in the network. The structure and content of the protocol data unit depend on the protocol used. Common protocol data units include Ethernet frames, IP datagrams, TCP segments, and HTTP requests / responses, etc.

[0050] Radio Link Control layer (RLC layer): It is a protocol layer in the telecommunications protocol stack between the Medium Access Control (MAC) layer and the PDCP layer in 3G and 4G wireless networks. The RLC layer provides reliable and error-free data transmission between the sending entity and the receiving entity through the radio interface. It is responsible for packet segmentation and reassembly, error detection and correction, flow control, and congestion control. The RLC layer provides three different operating modes:

[0051] 1) Transparent mode: In this mode, the RLC layer does not provide any error detection or correction mechanism. It simply passes the data packet from the upper layer to the lower layer without any modification.

[0052] 2) Unacknowledged mode (UM): In this mode, the RLC layer provides error detection but does not provide error correction. It divides the data packet into smaller units and sends them without waiting for an acknowledgment from the receiving entity. If any error is detected, the RLC layer will discard the erroneous data packet.

[0053] 3) Acknowledged Mode (AM): In this mode, the RLC layer provides both error detection and error correction mechanisms. It ensures reliable data transmission by segmenting data packets, sending them to the receiver, and waiting for acknowledgments. If an acknowledgment is not received within the specified time, the RLC layer will retransmit the data packet.

[0054] Locomotive Access Unit (Tracking Area Update, TAU): It refers to the update message sent by a mobile device to the network when it switches to a new tracking area. The process initiated by the mobile device when switching to a new tracking area (TAU Connection Procedure, TAU CP) and the network's response process to the TAU request (TAU Accept Procedure, TAU AP) are two sub-processes related to the TAU process.

[0055] Vehicle On-Board Controller (VOBC): It is a locomotive access unit used for train control. It can control parameters such as the acceleration, braking, and speed of the train, and at the same time collect the train's operation data and transmit it to the ground control center.

[0056] During the operation of urban rail transit trains, both vehicles and ground controllers will continuously generate various data. The data will be sent to the CBTC system in the form of data packets through the LTE system to achieve information interaction between the vehicle and the ground controller. Then, based on the content parsed from the data packets, the CBTC system will make train operation judgments and controls to improve train operation safety. Since the LTE system uses wireless communication technology, to avoid the risk of wireless communication interruption, the existing LTE system and CBTC system mainly adopt a dual red-blue network. That is, when there is a problem with the transmission of either network in the dual red-blue network, the other network can replace it for data transmission. Since the probability of both networks failing simultaneously is relatively low, it can largely avoid the abnormality of the CBTC system caused by communication interruption.

[0057] However, when any of the transmission networks between the CBTC system and the LTE system is abnormal, there will be a delay in the data packets received by the downstream CBTC system. The delay will cause the LTE system to trigger the retransmission mechanism. When the delay is long, the retransmission mechanism of the LTE system will continuously retransmit the data packets that have not been correctly received, resulting in a large number of retransmitted data packets being received and delivered to the devices such as VOBCs hung below at the moment when the other network transmission resumes, so that the CBTC system processes these large numbers of retransmitted data packets. However, due to the limitations of the processing capacity and processing logic of the CBTC system itself, these large numbers of retransmitted data packets processed by merging will exceed the processing judgment logic limit due to the large difference in the timestamps of the data packets, or these large numbers of retransmitted data packets processed by merging will exceed the processing capacity, resulting in system congestion and hanging, and further causing the dual-network protection to fail to achieve the effect of enhanced robustness, and the CBTC system will still be abnormal and trigger an emergency stop, affecting train operation safety.

[0058] Based on the above technical problems, the inventive concept of this application is as follows: cache the data packets that are about to be sent from the LTE system to the CBTC system, and perform over-discarding and timeout discarding on the cached data packets, and finally send the undiscarded data packets to the CBTC system in sequence, aiming to solve the above technical problems in the prior art.

[0059] The specific application scenario of this application is as follows:

[0060] Figure 1 It is a schematic diagram of the application scenario of the data packet processing method provided in the embodiment of this application. The CBTC system includes the CBTC system applied to the ground and the CBTC system applied to the vehicle. Their data transmission structures and principles are similar, but since the data packet transmission capacity of the LTE system is greater than the processing capacity of the vehicle, that is, the processing capacity of the vehicle limits the upper limit of data packet processing. The method of this application is described by taking the on-vehicle system side as an example. As Figure 1 shown, the on-vehicle system 101 includes an LTE system 102, an on-vehicle switch 103, and an on-vehicle signal system 104. The TAU device 105 of the LTE system 102 sends data packets to the on-vehicle switch 103 and the on-vehicle signal system 104 through the red-blue dual network 106. The data packets are processed inside the TAU device 105 to avoid a large number of retransmitted data accumulating in the on-vehicle switch 103 and the on-vehicle signal system 104 and being unable to be processed in time when any single network in the red-blue dual network 106 fails and the other network does not resume the transmission task in time, thereby affecting the normal operation of the CBTC system.

[0061] The technical solution of the present application and how the technical solution of the present application solves the above technical problems will be described in detail below with specific embodiments. These several specific embodiments below can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below with reference to the accompanying drawings.

[0062] Figure 2 Schematic flow of the data packet processing method provided by the embodiment of the present application Figure 1 . As Figure 2 shown, the method includes:

[0063] S201. In response to the data packet distribution instruction, forward the data packet to the cache area of the LTE system and monitor the number of cached data packets.

[0064] Among them, the distribution instruction includes at least one data packet to be distributed and the target vehicle-mounted system for receiving the data packet, and the data packet carries a distribution time identifier.

[0065] Specifically, various data will be generated during the operation of vehicles such as urban rail transit trains. After these data are packaged into data packets, they are sent to the CBTC system on the vehicle by different servers at different sending cycles. The CBTC system receives and forwards them to the vehicle-mounted switch or vehicle-mounted signal system through the LTE system. Since the data packets generated by the server may also be sent to non-CBTC systems, in order to ensure the correct transmission path of the data packets, it is necessary to set a distribution instruction. The distribution instruction needs to include the data packets to be transmitted and the transmission destination of the data packets. For example, the transmission destination in the vehicle-mounted system is the vehicle-mounted switch / vehicle-mounted signal system.

[0066] In addition, in order to avoid the problem of excessive data accumulation caused by network anomalies, it is necessary to set a data sending buffer module before network transmission, and limit the number of data packets sent each time in the buffer module not to exceed the processing task volume of the CBTC system, and the processing task volume of the CBTC system is limited by the vehicle-mounted switch / vehicle-mounted signal system. In order to avoid system crashes caused by overloading, it is necessary to limit the forwarding volume of data packets before the vehicle-mounted switch / vehicle-mounted signal system. Therefore, when the data packets are forwarded to the cache area of the LTE system, it is necessary to monitor the number of data packets in the cache area in real time.

[0067] In order to avoid the CBTC system being unable to process data normally after receiving the data packets due to time disorder, it is necessary to sort the cached data packets and send the data packets following the first-in, first-out principle. Here, the sorting can be based on the distribution time identifier carried by the data packet itself, or the time sequence identifier newly added during caching, so that multiple distribution instructions can send the data packets in sequence according to the time order.

[0068] S202. If the number of data packets cached in the cache area of the LTE system exceeds the first preset cache number, delete the data packets with earlier delivery time identifiers according to the delivery time identifiers of the data packets, so that the number of data packets cached in the cache area does not exceed the first preset cache number.

[0069] Specifically, when the number of data packets exceeds the first preset cache number threshold, it indicates that the instantaneous number of data packets is greater than the upper limit of the processing capacity of the CBTC system at this time. And the retransmitted data packets usually take the latest data packets as the standard. In order to ensure that the processed data packets are fresh, it is necessary to eliminate the old data packets. Therefore, under the condition that the total number of fresh data packets is ensured to be within the first preset cache number and below, discard the redundant and old data packets.

[0070] Preferably, in addition to determining which data packets need to be discarded when the number of data packets exceeds the first preset cache number threshold, the delivery time identifier can also be used to determine the timeliness of the data packets. Due to the processing timeliness limit of the CBTC system for data packets, a preset cache time difference threshold needs to be set for the sent data packets, that is, if the cache time is greater than the preset cache time difference threshold, the data packet is determined to be an invalid data packet and needs to be discarded to avoid affecting the normal processing logic of the CBTC system. And the remaining data packets in the cache area that have not been discarded are the target data packets that can be normally processed.

[0071] S203. According to the delivery time identifier of the data packet and the first preset data packet forwarding interval, forward the data packets cached in the cache area of the LTE system to the target vehicle-mounted system in sequence.

[0072] Specifically, in order to further reduce the impact of the data packets piled up after network transmission congestion on the processing speed, set the data packet sending interval according to the processing speed of the CBTC system, that is, the first preset data packet forwarding interval, so that the piled-up data packets are forwarded to the target vehicle-mounted system in sequence at a rate faster than the original normal data packet forwarding rate, so as to realize the continuous consumption of the piled-up data packets in the cache area and finally realize the dynamic clearing of the data packets in the cache area.

[0073] The method provided in this embodiment forwards the data packet to the cache area of the LTE system in response to the data packet distribution instruction, and monitors the number of cached data packets. If the number of cached data packets in the cache area of the LTE system exceeds the first preset cache number, the data packets with earlier distribution time identifiers are deleted according to the distribution time identifiers of the data packets, so that the number of cached data packets in the cache area does not exceed the first preset cache number. By means of forwarding the cached data packets in the cache area of the LTE system to the target vehicle-mounted system in sequence according to the distribution time identifiers of the data packets and the first preset data packet forwarding interval, the data packets to be distributed are preprocessed with a limit, and the limited data packets are distributed in sequence according to the time order, so as to ensure that the instantaneous reception amount of the receiving-end system will not exceed the range during distribution, improve the stability of the CBTC system in processing data, and further improve the train operation safety.

[0074] Next, a specific embodiment is used to illustrate the data packet processing method of the present application in detail.

[0075] Figure 3 Schematic diagram of the data packet processing method provided in the embodiment of the present application Figure 2 As Figure 3 shown, the method includes:

[0076] S301. According to the data packet distribution instruction, forward the data packet to the cache area of the LTE system, and monitor the number of cached data packets.

[0077] Among them, the distribution instruction includes at least one data packet to be distributed and a target vehicle-mounted system for receiving the data packet, and the data packet carries a distribution time identifier.

[0078] The specific processing method of S301 is similar to that of S201, and will not be elaborated here in this embodiment.

[0079] S302. Determine the first data packet and the second data packet in the cache area according to the distribution time identifier of the data packet.

[0080] Among them, the first data packet is used to identify the data packet with the earliest distribution time identifier in the cache area, and the second data packet is used to identify the data packet with the latest distribution time identifier in the cache area.

[0081] Specifically, the CBTC system will merge the data packets in the same batch after receiving the data packets. However, if the time difference between two data packets exceeds the preset cache time difference threshold, it will cause the processing judgment logic to exceed the limit and it is impossible to confirm which data packet is used as the actual data for processing. Therefore, it is necessary to delete the old data packets that exceed the time limit. Therefore, it is necessary to obtain the time difference between the two data packets to determine whether the time difference exceeds the preset cache time difference threshold.

[0082] S303. Determine the time difference between the first data packet and the second data packet according to the delivery time identifier corresponding to the first data packet and the delivery time identifier corresponding to the second data packet.

[0083] Specifically, among the data packets in the same batch, the data packet that is most likely to exceed the time limit is the one that is stored in the buffer area earliest. Therefore, obtain the time difference between the earliest and latest data packets in the buffer area.

[0084] S304. If the time difference between the first data packet and the second data packet is greater than the preset buffer time difference threshold, delete the first data packet, and determine the data packet with the earliest delivery time identifier among the remaining data packets in the buffer area as the new first data packet.

[0085] Specifically, if the time difference is greater than the preset buffer time difference threshold, delete the data packet that is stored in the buffer area first, and continue to judge the data packet that is stored in the buffer area second. Using the same judgment method, therefore, update the data packet that is stored in the buffer area second as the first data packet, and loop to judge until the time difference is not greater than the preset buffer time difference threshold.

[0086] S305. If the number of data packets cached in the buffer area of the LTE system exceeds the first preset buffer quantity, delete the data packets with earlier delivery time identifiers according to the delivery time identifiers of the data packets, so that the number of data packets cached in the buffer area does not exceed the first preset buffer quantity, and forward the data packets cached in the buffer area of the LTE system to the target vehicle-mounted system in sequence according to the delivery time identifiers of the data packets and the first preset data packet forwarding interval.

[0087] The specific processing method of S305 is similar to that of S202 - 203, and will not be elaborated here in this embodiment.

[0088] S306. If the number of data packets cached in the buffer area of the LTE system does not exceed the second preset buffer quantity, forward all the data packets cached in the buffer area of the LTE system to the target vehicle-mounted system according to the second preset data packet forwarding interval.

[0089] Among them, the second preset buffer quantity is less than the first preset buffer quantity, and the second preset data packet forwarding interval is greater than the first preset data packet forwarding interval.

[0090] Specifically, in the normal state without network congestion, the number of data packets sent from different servers to the buffer area remains relatively stable within the second preset data packet forwarding interval, and this relatively stable number can be processed simultaneously for the CBTC system. Therefore, at the termination moment of the second preset data packet forwarding interval, directly send all the data packets in the buffer area to the vehicle-mounted switching system / vehicle-mounted signal system of the target vehicle-mounted system at the same time.

[0091] S307. If the number of data packets cached in the cache area of the LTE system exceeds the second preset cache quantity but does not exceed the first preset cache quantity, the data packets cached in the cache area of the LTE system are forwarded to the target vehicle-mounted system in sequence according to the delivery time identifier of the data packets and the first preset data packet forwarding interval.

[0092] Wherein, the second preset cache quantity is less than the first preset cache quantity.

[0093] Specifically, when there is a backlog of data packets in the cache area, but the backlog has not reached the level where some data packets need to be discarded, since the number also exceeds the normal processing quantity of data packets, in order to further reduce the instantaneous backlog of data and affect the processing efficiency of the CBTC system, therefore, it is also necessary to dynamically clear and digest these backlogged data, that is, by reducing the data packet forwarding interval to avoid processing a large number of data packets instantaneously, and at the same time improving the forwarding speed of data packets, thereby avoiding the continuous backlog of data packets in the cache area.

[0094] The method provided in this embodiment forwards the data packets to the cache area of the LTE system according to the delivery instruction of the data packets and monitors the number of cached data packets; if the number of data packets cached in the cache area of the LTE system exceeds the first preset cache quantity, the data packets with earlier delivery time identifiers are deleted according to the delivery time identifiers of the data packets, so that the number of data packets cached in the cache area does not exceed the first preset cache quantity; according to the delivery time identifiers of the data packets and the first preset data packet forwarding interval, the data packets cached in the cache area of the LTE system are forwarded to the target vehicle-mounted system in sequence, so as to realize the limitation of the number of data packets in the cache area and the limitation of the forwarding speed after the excess, so that after the redundant and old data packets are discarded, the data packets in the cache area are consumed at the forwarding speed of the first preset data packet forwarding interval.

[0095] By means of if the number of data packets cached in the cache area of the LTE system does not exceed the second preset cache quantity, all the data packets cached in the cache area of the LTE system are forwarded to the target vehicle-mounted system according to the second preset data packet forwarding interval, the normal caching and forwarding of data packets from the cache area to the target vehicle-mounted system are realized, and further the dynamic clearing function of the cache area for data packets is realized.

[0096] By means that if the number of data packets cached in the cache area of the LTE system exceeds the second preset cache quantity but does not exceed the first preset cache quantity, the data packets cached in the cache area of the LTE system are forwarded to the target vehicle-mounted system in sequence according to the delivery time identifier of the data packets and the first preset data packet forwarding interval, the function of consuming the data packets in the cache area at the forwarding speed of the first preset data packet forwarding interval without discarding the data packets is realized.

[0097] By determining the first data packet and the second data packet in the cache area according to the delivery time identifier of the data packet; determining the delivery time difference between the first data packet and the second data packet according to the delivery time identifier corresponding to the first data packet and the delivery time identifier corresponding to the second data packet; if the delivery time difference between the first data packet and the second data packet is greater than the preset cache time difference threshold, deleting the first data packet, and determining the data packet with the earliest delivery time identifier among the remaining data packets in the cache area as the new first data packet, the timeliness of data packet processing is ensured, the normal processing of other data packets is prevented from being affected by out-of-time data packets, and at the same time, the number of transmitted data packets is further reduced, thereby reducing the data processing burden of the system.

[0098] Figure 4 It is a schematic diagram of the data packet processing state with normal network provided by the embodiment of the present application; Figure 5 It is a schematic diagram of the data packet processing state with abnormal network provided by the embodiment of the present application. Assume that the processing capacity limit of the vehicle-mounted signal system in the CBTC system is 20 packets / 100 ms (the combined red and blue double networks), then the single network is evenly allocated to 10 packets / 100 ms. Considering 50% redundancy protection, the first preset data packet forwarding interval can be set to 20 ms, the second preset data packet forwarding interval can be set to 100 ms, the first preset cache quantity can be set to 12 packets, and the second preset cache quantity can be set to 4 packets.

[0099] As Figure 4 shown, in the case of normal network, the system sends packets basically evenly, such as 2-3 packets within every 100 ms, far lower than the threshold of the first preset cache quantity of 12 packets.

[0100] As Figure 5 shown, in the case of abnormal network, there will be a period of time without data packet reception and caching. At the moment of recovery, a large number of retransmitted successful data packets will be instantaneously received. These large numbers of retransmitted successful data packets will not be directly sent to the CBTC system, but will first enter the cache area, and then data processing will be performed in the cache area. After deleting the data packets that exceed the first preset cache quantity and the old data packets, they will be forwarded to the CBTC system, thereby avoiding the instantaneous overloading collapse of the system.

[0101] Figure 6 It is a schematic diagram of the structure of the data packet processing device provided by the embodiment of the present application. AsFigure 6 As shown in the figure, the device includes:

[0102] A transfer module 601, configured to forward a data packet to a cache area of an LTE system in response to a data packet distribution instruction, and monitor the number of cached data packets; wherein, the distribution instruction includes at least one data packet to be distributed and a target vehicle-mounted system for receiving the data packet, and the data packet carries a distribution time identifier.

[0103] A processing module 602, configured to, if the number of data packets cached in the cache area of the LTE system exceeds a first preset cache number, delete the data packets with earlier distribution time identifiers according to the distribution time identifiers of the data packets, so that the number of data packets cached in the cache area does not exceed the first preset cache number.

[0104] A sending module 603, configured to sequentially forward the data packets cached in the cache area of the LTE system to the target vehicle-mounted system according to the distribution time identifiers of the data packets and a first preset data packet forwarding interval.

[0105] Furthermore, the processing module 602 may also be configured to, if the number of data packets cached in the cache area of the LTE system does not exceed a second preset cache number, trigger the sending module 603 to forward all the data packets cached in the cache area of the LTE system to the target vehicle-mounted system according to a second preset data packet forwarding interval; wherein, the second preset cache number is less than the first preset cache number, and the second preset data packet forwarding interval is greater than the first preset data packet forwarding interval.

[0106] Furthermore, the processing module 602 may also be configured to, if the number of data packets cached in the cache area of the LTE system exceeds the second preset cache number but does not exceed the first preset cache number, trigger the sending module 603 to sequentially forward the data packets cached in the cache area of the LTE system to the target vehicle-mounted system according to the distribution time identifiers of the data packets and the first preset data packet forwarding interval; wherein, the second preset cache number is less than the first preset cache number.

[0107] Furthermore, after the processing module 602 forwards a data packet to the cache area of the LTE system, it may also be configured to determine a first data packet and a second data packet in the cache area according to the distribution time identifier of the data packet; wherein, the first data packet is used to identify the data packet with the earliest distribution time identifier in the cache area, and the second data packet is used to identify the data packet with the latest distribution time identifier in the cache area;

[0108] Determine the distribution time difference between the first data packet and the second data packet according to the distribution time identifier corresponding to the first data packet and the distribution time identifier corresponding to the second data packet;

[0109] If the time difference between the issuing times of the first data packet and the second data packet is greater than a preset cache time difference threshold, delete the first data packet, and determine the data packet with the earliest issuing time identifier among the remaining data packets in the buffer as the new first data packet.

[0110] The data packet processing device provided in this embodiment can execute the data packet processing method of the foregoing embodiment. The implementation principle and technical effects are similar, and will not be elaborated here in this embodiment.

[0111] Embodiments of the present invention can divide function modules of a locomotive access unit or a master control device according to the above method examples. For example, each function module can be divided corresponding to each function, or two or more functions can be integrated into one processing unit. The above integrated unit can be implemented in the form of hardware or in the form of a software function module. It should be noted that the division of modules in the embodiments of the present invention is illustrative, only a logical function division, and there may be other division methods in actual implementation.

[0112] In the specific implementation of the foregoing data packet processing device, each module can be implemented as a processor, and the processor can execute computer execution instructions stored in the memory, so that the processor executes the above data packet processing method.

[0113] Figure 7 This is a schematic hardware structure diagram of the locomotive access unit provided in an embodiment of the present application. As Figure 7 shown, the locomotive access unit includes:

[0114] At least one processor 701 and a memory 702.

[0115] The locomotive access unit further includes a communication component 703. Among them, the processor 701, the memory 702, and the communication component 703 are connected through a bus 704.

[0116] In the specific implementation process, at least one processor 701 executes the computer execution instructions stored in the memory 702, so that at least one processor 701 executes the data packet processing method executed on the locomotive access unit side as above.

[0117] The specific implementation process of the processor 701 can refer to the above method embodiment. The implementation principle and technical effects are similar, and will not be elaborated here in this embodiment.

[0118] In the above embodiments, it should be understood that the processor may be a central processing unit (CPU for short), or other general-purpose processors, digital signal processors (DSP for short), application specific integrated circuits (ASIC for short), etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the method disclosed in combination with the invention can be directly implemented by the execution of the hardware processor, or implemented by the combination of hardware and software modules in the processor.

[0119] The memory may include high-speed RAM memory and may also include non-volatile storage NVM, such as at least one disk memory.

[0120] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of convenience of representation, the buses in the drawings of this application are not limited to only one bus or one type of bus.

[0121] The functions implemented for the locomotive access unit and the master control device are described above for the solution provided by the embodiments of the present invention. It can be understood that in order to implement the above functions, the locomotive access unit or the master control device includes the corresponding hardware structures and / or software modules for executing each function. Combining the units and algorithm steps of each example described in the embodiments disclosed in the embodiments of the present invention, the embodiments of the present invention can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the technical solution of the embodiments of the present invention.

[0122] This application also provides an LTE system, including the locomotive access unit of the above embodiments.

[0123] The locomotive access unit in the LTE system provided in this embodiment can execute the packet processing method of the above embodiment, and its implementation principle and technical effects are similar, and will not be elaborated here in this embodiment.

[0124] The present application also provides a computer program product, including a computer program which, when executed by a processor, implements the data packet processing method.

[0125] The computer program product provided in this embodiment can execute the data packet processing method of the above embodiment. The implementation principle and technical effects are similar, and will not be elaborated here in this embodiment.

[0126] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When the processor executes the computer-executable instructions, the above data packet processing method is implemented.

[0127] The computer-readable storage medium provided in this embodiment can execute the data packet processing method of the above embodiment. The implementation principle and technical effects are similar, and will not be elaborated here in this embodiment.

[0128] The above computer-readable storage medium 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, a magnetic disk, or an optical disc. The readable storage medium can be any available medium accessible by a general-purpose or special-purpose computer.

[0129] An exemplary readable storage medium is coupled to the processor, enabling the processor to read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the readable storage medium can also exist as discrete components in a locomotive access unit or a master control device.

[0130] Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions. The foregoing program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps including the above method embodiments; and the foregoing storage medium includes various media that can store program codes, such as ROM, RAM, magnetic disks, or optical discs.

[0131] 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 for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Moreover, the collection, use, and processing of relevant data need to comply with relevant laws, regulations, and standards, and corresponding operation entrances are provided for users to choose to authorize or reject.

[0132] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some or all of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A data packet processing method, characterized in that, Including: In response to the packet sending instruction, forward the packet to the cache area of the LTE system and monitor the number of cached packets; wherein, the sending instruction includes at least one packet to be sent and the target vehicle-mounted system for receiving the packet, and the packet carries a sending time identifier; If the number of packets cached in the cache area of the LTE system exceeds the first preset cache number, delete the packets with earlier sending time identifiers according to the sending time identifiers of the packets, so that the number of packets cached in the cache area does not exceed the first preset cache number; According to the sending time identifier of the packet and the first preset packet forwarding interval, sequentially forward the packets cached in the cache area of the LTE system to the target vehicle-mounted system.

2. The method according to claim 1, wherein Also including: If the number of packets cached in the cache area of the LTE system does not exceed the second preset cache number, forward all the packets cached in the cache area of the LTE system to the target vehicle-mounted system according to the second preset packet forwarding interval; wherein, the second preset cache number is less than the first preset cache number, and the second preset packet forwarding interval is greater than the first preset packet forwarding interval.

3. The method according to claim 1, wherein Also including: If the number of packets cached in the cache area of the LTE system exceeds the second preset cache number but does not exceed the first preset cache number, forward the packets cached in the cache area of the LTE system to the target vehicle-mounted system according to the sending time identifier of the packet and the first preset packet forwarding interval; wherein, the second preset cache number is less than the first preset cache number.

4. The method according to claim 1, wherein After forwarding the packet to the cache area of the LTE system, the method further includes: Determine the first packet and the second packet in the cache area according to the sending time identifier of the packet; wherein, the first packet is used to identify the packet with the earliest sending time identifier in the cache area, and the second packet is used to identify the packet with the latest sending time identifier in the cache area; Determine the sending time difference between the first packet and the second packet according to the sending time identifier corresponding to the first packet and the sending time identifier corresponding to the second packet; If the sending time difference between the first packet and the second packet is greater than the preset cache time difference threshold, delete the first packet and determine the packet with the earliest sending time identifier among the remaining packets in the cache area as the new first packet.

5. A data packet processing device, characterized in that, Including: A transfer and storage module, configured to, in response to the packet sending instruction, forward the packet to the cache area of the LTE system and monitor the number of cached packets; wherein, the sending instruction includes at least one packet to be sent and the target vehicle-mounted system for receiving the packet, and the packet carries a sending time identifier; A processing module, configured to, if the number of packets cached in the cache area of the LTE system exceeds the first preset cache number, delete the packets with earlier sending time identifiers according to the sending time identifiers of the packets, so that the number of packets cached in the cache area does not exceed the first preset cache number; A sending module, configured to forward, in sequence, data packets cached in a cache area of the LTE system to a target vehicle-mounted system according to a delivery time identifier of the data packets and a first preset data packet forwarding interval.

6. A locomotive access unit, characterized in that, Comprising: a processor, and a memory communicatively connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 4.

7. An LTE system, characterized in that, Comprising a locomotive access unit according to claim 6.

8. A computer-readable storage medium, characterized in that, Computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are executed by a processor, they are used to implement the method according to any one of claims 1 to 4.

9. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the method according to any one of claims 1 to 4.