Method, system and device for autonomously identifying data transmission priority, and storage medium
By adding priority fields to the on-board signal equipment and sending them through a unique independent network card, the problem that on-board equipment cannot distinguish different data priorities is solved, and the effect of simplifying hardware design and improving installation and maintenance efficiency is achieved.
Patent Information
- Application Number
- CN202411621612.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-13
- Publication Date
- 2025-02-28
AI Technical Summary
Existing vehicle-mounted equipment cannot prioritize different data on the same network card, resulting in complex hardware design and is not conducive to installation and maintenance.
By adding a priority field to the on-board signal device to the data packet and sending it to the on-board wireless device through a unique independent network card, the on-board wireless device parses the priority and allocates the corresponding wireless resources to send data packets to the ground equipment.
It realizes the priority distinction between data packets based on a network card by vehicle equipment, simplifies hardware design, and improves the installation and maintenance efficiency of equipment.
Smart Images

Figure CN119545566A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of rail transit data transmission, and in particular to a method, system, device and storage medium for autonomously identifying data transmission priority. Background Art
[0002] At present, urban rail transit adopts the fourth-generation mobile communication technology standard (Long Term Evolution, LTE) to transmit vehicle-ground information. For the convenience of maintenance and construction, the signal system, passenger information system, integrated monitoring system, etc. all use LTE to transmit vehicle-ground information, which is called integrated bearer.
[0003] However, different services have different priorities, so the priorities of different services are divided. At the same time, different data in the same system also have different priorities. For example, signal system control data and maintenance data have different transmission delay requirements and priorities. If you want to distinguish the priorities of different data on the same device (such as the on-board signal control device VOBC), you can only add more independent network cards to the device, assign different network segments to the network cards of different data, and enable the LTE on-board wireless train access unit (TAU) to distinguish different priorities.
[0004] Therefore, in the existing design scheme, the same network card of the vehicle-mounted device cannot distinguish the priority of data, which makes the hardware design of the vehicle-mounted device complicated and is not conducive to the installation and maintenance of the vehicle-mounted device. Summary of the invention
[0005] The present invention provides a method, system, device and storage medium for autonomously identifying data transmission priority.
[0006] According to a first aspect of the present disclosure, a method for autonomously identifying data transmission priority is provided, the method comprising:
[0007] The vehicle-mounted signal equipment packages the generated application control data or maintenance data according to the interface format to obtain a corresponding data packet;
[0008] The vehicle-mounted signal device adds a corresponding priority field in front of the data packet according to the data type corresponding to the data packet, and sends the data packet with the added priority field to the vehicle-mounted wireless device through a unique independent network card arranged in the vehicle-mounted signal device;
[0009] The in-vehicle wireless device parses the data packet with the added priority field, and when the data packet with the added priority field is target protocol data, obtains the corresponding priority based on the priority field in the data packet;
[0010] The vehicle-mounted wireless device allocates wireless resources corresponding to the priority level of the data packet with the priority field added thereto, and sends the data packet to the ground device based on the allocated wireless resources.
[0011] In some implementations of the first aspect, when the data packet with the added priority field is non-target protocol data, the vehicle-mounted wireless device sends the corresponding data packet to the ground device through wireless transmission according to a preset priority order.
[0012] In some implementations of the first aspect, the vehicle-mounted signal device adds a corresponding priority field before the data packet according to the data type corresponding to the data packet, including:
[0013] When the data type corresponding to the data packet exists in the preset data type and priority correspondence table, the vehicle signal device determines the priority corresponding to the data packet based on the preset data type and priority correspondence table, and adds the corresponding priority field before the data packet;
[0014] When the data type corresponding to the data packet does not exist in the preset data type and priority correspondence table, the vehicle-mounted signal device adds a priority field corresponding to the preset low priority before the data packet.
[0015] In some implementations of the first aspect, the in-vehicle wireless device parses a data packet with a priority field added thereto, and when the data packet with the priority field added thereto is target protocol class data, obtains a corresponding priority based on the priority field in the data packet, including:
[0016] Initialize the wired network card of the vehicle-mounted wireless device and start the data receiving thread;
[0017] When the wired network card of the vehicle-mounted wireless device receives a data packet with a priority field added, the data packet with the priority field added is parsed, and when the data packet with the priority field added is target protocol data, a preset data type and priority correspondence table is searched based on the priority field in the data packet;
[0018] When the data type corresponding to the parsed priority exists in the preset data type and priority correspondence table, the vehicle-mounted wireless device records the priority and data type corresponding to the data packet in a log;
[0019] When the data type corresponding to the parsed priority does not exist in the preset data type and priority correspondence table, the vehicle-mounted wireless device marks the corresponding data packet as unknown type data and records it in the log.
[0020] In some implementations of the first aspect, the vehicle-mounted wireless device allocates wireless resources corresponding to the priority of the data packet with the priority field added thereto, and sends the wireless resources to the ground device based on the allocated wireless resources, including:
[0021] The in-vehicle wireless device allocates wireless resources corresponding to the priority of the data packet with the priority field added;
[0022] Based on the allocated wireless resources, data packets whose priorities meet the preset conditions are preferentially sent to the ground equipment, and the content of the data packets remains unchanged.
[0023] In some implementations of the first aspect, the method further includes:
[0024] After receiving the data packet with the added priority field, the ground equipment deletes the priority field, and parses and determines the security protocol of the data packet with the deleted priority field.
[0025] In some implementations of the first aspect, a unique independent network card disposed in the vehicle-mounted signaling device is connected to a wired network card of the vehicle-mounted wireless device, so as to be used for data interaction between the vehicle-mounted signaling device and the vehicle-mounted wireless device.
[0026] According to a second aspect of the present disclosure, a system for autonomously identifying data transmission priority is provided, the system comprising:
[0027] The vehicle-mounted signaling device is used to package the generated application control data or maintenance data according to the interface format to obtain a corresponding data packet;
[0028] The vehicle-mounted signaling device is further used to add a corresponding priority field in front of the data packet according to the data type corresponding to the data packet, and send the data packet with the added priority field to the vehicle-mounted wireless device through a unique independent network card arranged in the vehicle-mounted signaling device;
[0029] The vehicle-mounted wireless device is used to parse the data packet with the added priority field, and when the data packet with the added priority field is target protocol class data, obtain the corresponding priority based on the priority field in the data packet;
[0030] The vehicle-mounted wireless device is also used to allocate wireless resources corresponding to the priority level of the data packet with the added priority field, and send it to the ground device based on the allocated wireless resources.
[0031] According to a third aspect of the present disclosure, an electronic device is provided, the electronic device comprising: a memory and a processor, wherein a computer program is stored in the memory, and the above method is implemented when the processor executes the program.
[0032] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the method according to the first aspect of the present disclosure is implemented.
[0033] In the present disclosure, the vehicle-mounted signal device packages the generated application control data or maintenance data according to the interface format to obtain a corresponding data packet; the vehicle-mounted signal device adds a corresponding priority field in front of the data packet according to the data type corresponding to the data packet, and sends the data packet with the added priority field to the vehicle-mounted wireless device through the only independent network card arranged in the vehicle-mounted signal device; the vehicle-mounted wireless device parses the data packet with the added priority field, and when the data packet with the added priority field is target protocol class data, the corresponding priority is obtained based on the priority field in the data packet; the vehicle-mounted wireless device allocates wireless resources corresponding to the priority of the data packet with the added priority field, and sends it to the ground device based on the allocated wireless resources. The present disclosure identifies the priority of the data packet, so that the vehicle-mounted device can distinguish the priority of the data packet based on a network card, and then uses the vehicle-mounted wireless device to send the corresponding data packet to the ground device according to the priority, which simplifies the hardware design of the vehicle-mounted device and is conducive to the installation and maintenance of the vehicle-mounted device.
[0034] It should be understood that the contents described in the summary of the invention are not intended to limit the key or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, among which:
[0036] Figure 1 It is a flowchart of a method for autonomously identifying data transmission priority provided by an embodiment of the present disclosure;
[0037] Figure 2 It is a schematic diagram of a vehicle-mounted signal and wireless device connection and network card configuration provided by an embodiment of the present disclosure;
[0038] Figure 3 It is a schematic diagram of a vehicle signal equipment assembly process provided by an embodiment of the present disclosure;
[0039] Figure 4 It is a schematic diagram of a data packet processing flow of a vehicle-mounted wireless device provided by an embodiment of the present disclosure;
[0040] Figure 5 is a block diagram of a system for autonomously identifying data transmission priority provided by an embodiment of the present disclosure;
[0041] Figure 6 A block diagram of an exemplary electronic device capable of implementing embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0042] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.
[0043] In addition, the term "and / or" in this article is only a description of the association relationship between the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0044] In the present disclosure, in order to solve the above technical problems, a method, system, device and storage medium for autonomously identifying data transmission priority are disclosed. The vehicle-mounted signal device packages the generated application control data or maintenance data according to the interface format to obtain a corresponding data packet; the vehicle-mounted signal device adds a corresponding priority field in front of the data packet according to the data type corresponding to the data packet, and sends the data packet with the added priority field to the vehicle-mounted wireless device through a unique independent network card arranged in the vehicle-mounted signal device; the vehicle-mounted wireless device parses the data packet with the added priority field, and when the data packet with the added priority field is target protocol class data, the corresponding priority is obtained based on the priority field in the data packet; the vehicle-mounted wireless device allocates wireless resources corresponding to the priority of the data packet with the added priority field, and sends it to the ground device based on the allocated wireless resources. The present disclosure identifies the priority of the data packet, so that the vehicle-mounted device can distinguish the priority of the data packet based on a network card, and then uses the vehicle-mounted wireless device to send the corresponding data packet to the ground device according to the priority, which simplifies the hardware design of the vehicle-mounted device and is conducive to the installation and maintenance of the vehicle-mounted device.
[0045] Figure 1 A schematic diagram of a method for autonomously identifying data transmission priority according to an embodiment of the present disclosure is shown. Figure 1 As shown, the method 100 for autonomously identifying data transmission priority may include:
[0046] S101, the vehicle-mounted signal equipment packages the generated application control data or maintenance data according to the interface format to obtain a corresponding data packet.
[0047] S102, the vehicle signal device adds a corresponding priority field in front of the data packet according to the data type corresponding to the data packet, and sends the data packet with the added priority field to the vehicle wireless device through a unique independent network card arranged in the vehicle signal device.
[0048] Figure 2 is a schematic diagram of a vehicle-mounted signal and wireless device connection and network card configuration provided by an embodiment of the present disclosure, such as Figure 2 As shown, Internet Protocol (IP) addresses are allocated to the network cards of the vehicle-mounted signaling equipment and the vehicle-mounted wireless equipment. Specifically, an IP address and a gateway address are allocated to the network card of the vehicle-mounted signaling equipment, and the IP address of the wired network card of the vehicle-mounted wireless equipment is set to the gateway address of the network card of the vehicle-mounted signaling equipment, so as to achieve the purpose of forwarding data from the vehicle-mounted wireless equipment to the vehicle-mounted signaling equipment.
[0049] Figure 3 This is a schematic diagram of a vehicle signal device assembly process provided by an embodiment of the present disclosure, combined with Figure 3 The process of adding the corresponding priority field to form a packet in S102 is further described. After the vehicle-mounted signal device is powered on and initialized and generates corresponding application control data or maintenance data, the vehicle-mounted signal device in S102 adds the corresponding priority field in front of the data packet according to the data type corresponding to the data packet, which may specifically include:
[0050] When the data type corresponding to the data packet exists in the preset data type and priority correspondence table, the vehicle signal device determines the priority corresponding to the data packet based on the preset data type and priority correspondence table, and adds the corresponding priority field in front of the data packet, i.e., at the packet header position;
[0051] When the data type corresponding to the data packet does not exist in the preset data type and priority correspondence table, the on-board signal device adds a priority field corresponding to the preset low priority in front of the data packet, that is, at the packet header.
[0052] For example, a correspondence table between different data types and priorities is pre-configured in the on-board signal equipment. By searching the correspondence table, a 2-byte priority field is added to the front of the assembled data packet according to the data packet type (such as 0x00 01 for control data and 0x00 06 for maintenance data). If the data type does not exist in the table, the code corresponding to the lowest priority is directly filled in. At this point, the on-board signal equipment completes the data packet assembly work. It should be noted that the number of bytes of the above-mentioned priority field can also be adjusted according to actual conditions, and is not limited here.
[0053] In the above embodiment, by marking the priority of the data packets, the vehicle-mounted device can prioritize the data packets based on a network card, and then use the vehicle-mounted wireless device to send different data packets to the ground device according to the priority, thereby improving the sending efficiency.
[0054] In addition, the only independent network card arranged in the vehicle-mounted signal device is connected to the wired network card of the vehicle-mounted wireless device for data interaction between the vehicle-mounted signal device and the vehicle-mounted wireless device. In other words, the vehicle-mounted signal device can be provided with only one unique independent network card, and the network card can be connected to the wired network card of the vehicle-mounted wireless device using an M12 interface and a twisted pair cable to achieve accurate and efficient data interaction between the vehicle-mounted signal device and the vehicle-mounted wireless device.
[0055] Figure 4 is a schematic diagram of a vehicle-mounted wireless device data packet processing flow provided by an embodiment of the present disclosure, such as Figure 4 As shown, after the wired network card connected to the only independent network card of the vehicle-mounted wireless device is initialized and receives data, the data packet with the added priority field generated by the vehicle-mounted signal device is parsed and forwarded, that is, Figure 1 Therefore, combined with S103 and S104 Figure 4 ,right Figure 1 S103 and S104 are further described.
[0056] S103, the vehicle-mounted wireless device parses the data packet with the added priority field, and when the data packet with the added priority field is target protocol class data, obtains the corresponding priority based on the priority field in the data packet; wherein the target protocol class data may include Transmission Control Protocol / Internet Protocol (TCP / IP) class data.
[0057] In some embodiments, the process of S103 may specifically include initializing a wired network card of the vehicle-mounted wireless device and starting a data receiving thread;
[0058] When the wired network card of the vehicle-mounted wireless device receives a data packet with a priority field added, the data packet with the priority field added is parsed, and when the data packet with the priority field added is target protocol data, a preset data type and priority correspondence table is searched based on the priority field in the data packet;
[0059] When the data type corresponding to the parsed priority exists in the preset data type and priority correspondence table, the vehicle-mounted wireless device records the priority and data type corresponding to the data packet in a log;
[0060] When the data type corresponding to the parsed priority does not exist in the preset data type and priority correspondence table, the vehicle-mounted wireless device marks the corresponding data packet as unknown type data and records it in the log.
[0061] In the above embodiment, the data type corresponding to the priority obtained through analysis is recorded in a log to provide a basis for subsequent problem analysis.
[0062] In some embodiments, when the data packet with the added priority field is non-target protocol data, the on-board wireless device sends the corresponding data packet to the ground device by wireless transmission according to the preset priority order. The non-target protocol data may include broadcast data, multicast data, Simple Network Management Protocol (SNMP), Internet Control Message Protocol (ICMP) and other data, that is, the priority order of this type of data is not adjusted, and the actual data volume of this type of data is very small, so the on-board wireless device can send the corresponding data packet to the ground device by wireless transmission according to the inherent priority order preset before, without adjusting the sending order, thereby reducing additional computing resources, making the algorithm simpler, and improving transmission efficiency.
[0063] It should also be noted that, in order to improve processing efficiency, the above analysis may only parse the priority field of the first two bytes of the data packet, ie, the field corresponding to the packet header position.
[0064] In some embodiments, the vehicle-mounted wireless device determines the data type corresponding to the data packet based on the parsed priority, and when the data type corresponding to the parsed priority exists in the preset data type and priority correspondence table, the priority and data type corresponding to the data packet are recorded in the log. When the data type corresponding to the parsed priority does not exist in the preset data type and priority correspondence table, the vehicle-mounted wireless device marks the corresponding data packet as unknown type data and records it in the log.
[0065] S104, the vehicle-mounted wireless device allocates wireless resources corresponding to the priority level of the data packet with the priority field added thereto, and sends the data packet to the ground device based on the allocated wireless resources.
[0066] In some embodiments, the process of S104 may specifically include the in-vehicle wireless device allocating wireless resources corresponding to the priority level of the data packet with the added priority field;
[0067] Based on the allocated wireless resources, data packets whose priorities meet the preset conditions are preferentially sent to the ground equipment, and the content of the data packets remains unchanged.
[0068] It should be noted that, in the forwarding process of S104, the data packets with the above preset conditions can specifically be data packets with high priority, that is, data packets with high priority are forwarded first, and the content of the forwarded data packets is not changed, thereby ensuring the forwarding efficiency and accuracy of the data packets.
[0069] In some embodiments, after receiving a data packet with a priority field added, the ground device deletes the priority field, and parses and determines the security protocol of the data packet with the priority field deleted according to the agreed interface.
[0070] In the above embodiment, the ground equipment deletes the priority field when processing the received data before performing subsequent processing, so that the received data packets can be processed efficiently and accurately subsequently.
[0071] In the process of S101-S104, by marking the priority of the data packets, the on-board equipment can prioritize the data packets based on one network card, and then the on-board wireless device can be used to send the corresponding data packets to the ground device according to the priority, which simplifies the hardware design of the on-board equipment and is conducive to the installation and maintenance of the on-board equipment. In addition, based on the above solution, the same on-board equipment only needs to be configured with one network card and an IP address of a network segment, so that the transmission of multiple information with different priorities can be realized, which solves the problem of complex design and large size of multiple network cards of on-board equipment, and then solves the installation and maintenance problems of on-board equipment when the train space is limited.
[0072] The above is an introduction to the method embodiment. The following is a further explanation of the disclosed solution through a system embodiment.
[0073] Figure 5 A block diagram of a system for autonomously identifying data transmission priority according to an embodiment of the present disclosure is shown.
[0074] like Figure 5 As shown, the system 500 for autonomously identifying data transmission priority may include:
[0075] The vehicle-mounted signaling device 501 is used to package the generated application control data or maintenance data according to the interface format to obtain a corresponding data packet;
[0076] The vehicle signal device 501 is further used to add a corresponding priority field in front of the data packet according to the data type corresponding to the data packet, and send the data packet with the added priority field to the vehicle wireless device through the only independent network card arranged in the vehicle signal device;
[0077] The vehicle-mounted wireless device 502 is used to parse the data packet with the added priority field, and when the data packet with the added priority field is target protocol data, obtain the corresponding priority based on the priority field in the data packet;
[0078] The vehicle-mounted wireless device 502 is further used to allocate wireless resources corresponding to the priority level of the data packet with the priority field added thereto, and send the data packet to the ground device based on the allocated wireless resources.
[0079] In some embodiments, when the data packet with the added priority field is non-target protocol data, the vehicle-mounted wireless device 502 is further used to send the corresponding data packet to the ground device through wireless transmission according to a preset priority order.
[0080] The vehicle signal device 501 is further configured to determine the priority corresponding to the data packet based on the preset data type and priority correspondence table when the data type corresponding to the data packet exists in the preset data type and priority correspondence table, and add the corresponding priority field in front of the data packet;
[0081] When the data type corresponding to the data packet does not exist in the preset data type and priority correspondence table, the vehicle-mounted signal device adds a priority field corresponding to the preset low priority before the data packet.
[0082] In some embodiments, the in-vehicle wireless device 502 is further used to start a data receiving thread based on initialization of the in-vehicle wireless device wired network card;
[0083] When the wired network card of the vehicle-mounted wireless device receives a data packet with a priority field added, the data packet with the priority field added is parsed, and when the data packet with the priority field added is target protocol data, a preset data type and priority correspondence table is searched based on the priority field in the data packet;
[0084] When the data type corresponding to the parsed priority exists in the preset data type and priority correspondence table, the vehicle-mounted wireless device records the priority and data type corresponding to the data packet in a log;
[0085] When the data type corresponding to the parsed priority does not exist in the preset data type and priority correspondence table, the vehicle-mounted wireless device marks the corresponding data packet as unknown type data and records it in the log.
[0086] In some embodiments, the in-vehicle wireless device 502 is further configured to allocate wireless resources corresponding to the priority level of the data packet with the priority field added thereto;
[0087] Based on the allocated wireless resources, data packets whose priorities meet the preset conditions are preferentially sent to the ground equipment, and the content of the data packets remains unchanged.
[0088] In some embodiments, after receiving a data packet with a priority field added, the ground device deletes the priority field, and parses and determines the security protocol of the data packet with the priority field deleted.
[0089] In some embodiments, the only independent network card arranged in the vehicle-mounted signal device 501 is connected to the wired network card of the vehicle-mounted wireless device 502 for data interaction between the vehicle-mounted signal device and the vehicle-mounted wireless device.
[0090] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present disclosure is not limited by the order of the actions described, because according to the present disclosure, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present disclosure.
[0091] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the described module can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0092] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
[0093] Figure 6 A block diagram of an exemplary electronic device capable of implementing an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0094] The device 600 includes a computing unit 601, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 602 or a computer program loaded from a storage unit 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the device 600 can also be stored. The computing unit 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0095] A number of components in the device 600 are connected to the I / O interface 605, including: an input unit 606, such as a keyboard, a mouse, etc.; an output unit 607, such as various types of displays, speakers, etc.; a storage unit 608, such as a disk, an optical disk, etc.; and a communication unit 609, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0096] The computing unit 601 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 601 performs the various methods and processes described above, such as method 100. For example, in some embodiments, the method 100 may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 608. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 600 via the ROM 602 and / or the communication unit 609. When the computer program is loaded into the RAM 603 and executed by the computing unit 601, one or more steps of the method 100 described above may be performed.
[0097] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0098] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0099] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0100] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0101] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0102] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.
[0103] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of this disclosure can be achieved, and this document is not limited here.
[0104] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A method for autonomously identifying data transmission priority, characterized in that: The method comprises: The vehicle-mounted signal equipment packages the generated application control data or maintenance data according to the interface format to obtain a corresponding data packet; The vehicle signal device adds a corresponding priority field in front of the data packet according to the data type corresponding to the data packet, and sends the data packet with the added priority field to the vehicle wireless device through a unique independent network card arranged in the vehicle signal device; The in-vehicle wireless device parses the data packet with the added priority field, and when the data packet with the added priority field is target protocol data, obtains the corresponding priority based on the priority field in the data packet; The vehicle-mounted wireless device allocates wireless resources corresponding to the priority level of the data packet with the added priority field, and sends the data packet to the ground device based on the allocated wireless resources.
2. The method according to claim 1, characterized in that When the data packet with the added priority field is non-target protocol data, the on-vehicle wireless device sends the corresponding data packet to the ground device through wireless transmission according to the preset priority order.
3. The method according to claim 1, characterized in that The vehicle-mounted signal device adds a corresponding priority field before the data packet according to the data type corresponding to the data packet, including: When the data type corresponding to the data packet exists in the preset data type and priority correspondence table, the vehicle signal device determines the priority corresponding to the data packet based on the preset data type and priority correspondence table, and adds the corresponding priority field in front of the data packet; When the data type corresponding to the data packet does not exist in the preset data type and priority correspondence table, the vehicle-mounted signal device adds a priority field corresponding to a preset low priority in front of the data packet.
4. The method according to claim 1, characterized in that: The vehicle-mounted wireless device parses the data packet with the added priority field, and when the data packet with the added priority field is target protocol data, obtains the corresponding priority based on the priority field in the data packet, including: Initialize the wired network card of the vehicle-mounted wireless device and start the data receiving thread; When the wired network card of the vehicle-mounted wireless device receives a data packet with a priority field added, the data packet with the priority field added is parsed, and when the data packet with the priority field added is target protocol data, a preset data type and priority correspondence table is searched based on the priority field in the data packet; When the data type corresponding to the parsed priority exists in the preset data type and priority correspondence table, the vehicle-mounted wireless device records the priority and data type corresponding to the data packet in a log; When the data type corresponding to the parsed priority does not exist in the preset data type and priority correspondence table, the vehicle-mounted wireless device marks the corresponding data packet as unknown type data and records it in the log.
5. The method according to claim 1, characterized in that: The vehicle-mounted wireless device allocates wireless resources corresponding to the priority of the data packet with the added priority field, and sends the data packet to the ground device based on the allocated wireless resources, including: The in-vehicle wireless device allocates wireless resources corresponding to the priority level of the data packet with the added priority field; Based on the allocated wireless resources, data packets whose priorities meet preset conditions are preferentially sent to ground equipment, and the content of the data packets remains unchanged.
6. The method according to claim 1, characterized in that The method further comprises: After receiving the data packet with the added priority field, the ground equipment deletes the priority field, and parses and determines the security protocol of the data packet with the deleted priority field.
7. The method according to claim 1, characterized in that The only independent network card arranged in the vehicle-mounted signal device is connected to the wired network card of the vehicle-mounted wireless device, so as to be used for data interaction between the vehicle-mounted signal device and the vehicle-mounted wireless device.
8. A system for autonomously identifying data transmission priority, characterized in that: The system comprises: The vehicle-mounted signaling device is used to package the generated application control data or maintenance data according to the interface format to obtain a corresponding data packet; The vehicle-mounted signaling device is further used to add a corresponding priority field in front of the data packet according to the data type corresponding to the data packet, and send the data packet with the added priority field to the vehicle-mounted wireless device through a unique independent network card arranged in the vehicle-mounted signaling device; The vehicle-mounted wireless device is used to parse the data packet with the added priority field, and when the data packet with the added priority field is target protocol class data, obtain the corresponding priority based on the priority field in the data packet; The vehicle-mounted wireless device is also used to allocate wireless resources corresponding to the priority level of the data packet with the added priority field, and send it to the ground device based on the allocated wireless resources.
9. An electronic device, characterized in that: include: at least one processor; and a memory communicatively coupled to the at least one processor; It is characterized in that the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method according to any one of claims 1 to 7.
10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-7.