Data transmission method of railway equipment resume management system

By adopting a data transmission framework in the railway equipment history management system, automatic data synchronization between systems is achieved, problems such as complex manual operations and data insecurity in the existing technology are solved, ease of use and data security are improved, and the Data consistency and security.

CN119484551APending Publication Date: 2025-02-18CRSC COMM & INFORMATION GRP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411590478.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-08
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

The existing railway equipment history management system requires complicated manual operations during data transmission, and there are data insecurity problems.

Method used

Using the data transmission framework, the initiator node performs global routing search, generates routing information, and sends data to the target node in turn to the target node. The target node creates the executor to receive data and returns the result of the synchronization task execution. The framework is based on TCP protocol, non-blocking transmission and distributed transaction management to ensure the security and consistency of data transmission.

Benefits of technology

Automatic synchronization of data between systems is realized, easy-to-use and data security are improved, and data consistency and security are ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119484551A_ABST
    Figure CN119484551A_ABST
Patent Text Reader

Abstract

The invention relates to a data transmission method of a railway equipment resume management system, and the method comprises the steps: constructing a data transmission frame when a resume data synchronization task is executed, and the data transmission frame comprises an initiator node to be subjected to data synchronization and a target node to be subjected to data synchronization; the initiator node executes global routing search and generates a piece of routing information from the initiator node to a target node, and nodes in the routing information are all data nodes in the railway equipment resume management system; the initiator node sequentially sends data to be synchronized to a target node in a data node of the railway equipment resume management system according to the routing information from the initiator node to the target node; and the target node creates an executor corresponding to the resume data synchronization task, receives the data to be synchronized, and returns a synchronization task execution result to the initiator node after execution is completed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of history data management of a history management system for communication technology equipment in the field of railway transportation, and in particular to a data transmission method for a railway equipment history management system. Background Art

[0002] The railway communication technology equipment history management system is responsible for the collection, reporting and summary of communication equipment history data. It is an important archive material that records information such as railway communication operation and maintenance organization, equipment and equipment, and resource utilization. It is an important basis for formulating transportation enterprises to implement business management. The system adopts a multi-level deployment method, and the consistency of data between systems must be guaranteed.

[0003] The system has a huge number of nodes. Due to historical reasons, different units usually have different software development progress, and some units even have poor network conditions. When the resume data is synchronized, it is realized by manual operation, that is, the data of the node is manually exported and the data is packaged and transmitted to the target node.

[0004] It can be seen that the existing technology requires complicated manual operations during data transmission and has certain insecurity. Summary of the invention

[0005] The present invention provides a data transmission method for a railway equipment history management system, which ensures the consistency and security of data between system nodes.

[0006] To achieve the above object, the present invention adopts the following technical solutions:

[0007] In a first aspect, the present application provides a data transmission method for a railway equipment history management system, wherein the railway equipment history management system includes data nodes at several levels; the method includes:

[0008] When executing the history data synchronization task, a data transmission framework is constructed, wherein the data transmission framework includes an initiator node to be synchronized with data and a target node to be synchronized with data;

[0009] The initiator node performs a global routing search to generate one or more routing information from the initiator node to the target node, wherein the nodes in the routing information are all data nodes in the railway equipment history management system;

[0010] The initiator node sends the data to be synchronized to the target node in sequence in the data node of the railway equipment history management system according to the routing information from the initiator node to the target node;

[0011] The target node creates an executor corresponding to the historical data synchronization task, receives the data to be synchronized, and returns the synchronization task execution result to the initiator node after the execution is completed.

[0012] In one implementation, the global routing search is based on a recursive search of a tree structure;

[0013] Among them, a routing manager is deployed on each data node of the railway equipment history management system.

[0014] In one implementation, the data to be synchronized adopts the TCP protocol during data transmission, and uses a non-blocking transmission mode.

[0015] In one implementation, when the data to be synchronized is larger than a preset size, the data to be synchronized is divided into multiple segments, and the transmission of each segment is performed in the order of segmentation, and each segment is spliced ​​at the target node.

[0016] In one implementation, the data transmission framework completes the registration of each data node in advance based on a registration center.

[0017] In one implementation, the data transmission framework manages at least one historical data synchronization task based on a transaction manager.

[0018] The technical solution of the present invention has achieved the following beneficial effects:

[0019] 1. The synchronization method of data between systems has been changed from manual import and export of data package files to automatic synchronization between systems based on the network, which improves ease of use and data security.

[0020] 2. Build a full system route and support route forwarding. Through the set index, it is easy to quickly retrieve the target node, increasing the flexibility of synchronous data transmission.

[0021] 3. Provides support for distributed transactions to ensure data consistency. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 Schematic diagram of a data transmission method in an embodiment of the present invention. DETAILED DESCRIPTION

[0023] In order to make the purpose, technical solution and advantages of the embodiment of the present invention clearer, the technical solution of the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings of the embodiment of the present invention. Obviously, the described embodiment is a part of the embodiment of the present invention, not all of the embodiments. Based on the described embodiment of the present invention, all other embodiments obtained by ordinary technicians in this field belong to the scope of protection of the present invention.

[0024] In view of the defects and problems of the prior art, the present application provides a data transmission method for a railway equipment history management system, wherein the railway equipment history management system includes data nodes at several levels; the method includes:

[0025] When executing the history data synchronization task, a data transmission framework is constructed, wherein the data transmission framework includes an initiator node to be synchronized with data and a target node to be synchronized with data;

[0026] The initiator node performs a global routing search to generate a routing information from the initiator node to the target node, wherein the nodes in the routing information are all data nodes in the railway equipment history management system;

[0027] The initiator node sends the data to be synchronized to the target node in sequence in the data node of the railway equipment history management system according to the routing information from the initiator node to the target node;

[0028] The target node creates an executor corresponding to the historical data synchronization task, receives the data to be synchronized, and returns the synchronization task execution result to the initiator node after the execution is completed.

[0029] The above method is described below in a more detailed embodiment of the present invention in conjunction with more drawings.

[0030] In a more detailed embodiment of the present invention, the data transmission framework is mainly composed of functional modules such as data transmission, initiator node, target node (executor), registration center, routing manager, transaction manager, etc.

[0031] The detailed description of each module is as follows:

[0032] The first node of the route is the initiator. Each initiator manages multiple synchronization tasks. The synchronization task first searches for the target node in the global route through the specified index to form a route (from the initiator to the executor), and then sends the synchronization data and synchronization execution instructions according to the formed route. After the sending is completed, the synchronization task is in a waiting state, monitors the execution status, and collects the execution results.

[0033] The last node of the route is the executor. The executor creates an executor for each synchronization task of the initiator. The executor receives synchronization data, performs synchronization operations, and monitors the entire execution process of the synchronization operation. After the execution is completed, it returns the execution result to the synchronization task.

[0034] The registration center is responsible for the registration and authentication of the system. After the system is successfully registered, a connection channel is established.

[0035] The routing manager is distributed on each node, maintaining the global routing and building the branch routing. The routing manager listens to the registration and deregistration (access or disconnection) events of the system. When an event occurs, the routing manager rebuilds the routing branch and reports it to the superior system. The routing manager of the superior system merges the routing and reports it to the superior system again. The reports are made level by level, and finally a global routing with a tree structure is built at the root node (each tree node in the tree structure represents an access system). When the routing forms a full global routing at the root node, the root node triggers the top-down global routing synchronization operation.

[0036] The transaction manager provides distributed transaction support for the data transfer framework. Together with the initiator, it is responsible for the commit and rollback of multiple "synchronous tasks".

[0037] In a detailed embodiment of the present application, the data transmission process is described as follows:

[0038] Data transmission adopts TCP protocol, uses Java NIO (non-blocking I / O) technology, and realizes data transmission through codec.

[0039] The content of the data packet file is mainly business data, basic data and authorization data reported or sent between systems, and the size may exceed 100MB. The data transmission framework divides such large files into many small byte fragments during transmission, sends them in sequence, and reassembles them on the executor side.

[0040] Messages in the data transmission framework are transmitted in a routing manner. A route consists of multiple nodes, each node represents a deployed history system, and the message is forwarded between the nodes (systems) specified by the route, and will eventually be received and processed by the executor at the last node, and the processing result will be sent to the initiator through the reverse routing. In addition, the use of routing to transmit messages can solve cross-network problems. For example, there are three nodes A, B, and C. A and B, B and C are interconnected, but A and C are not interconnected. In this case, the message can be transmitted through the routing A->B->C.

[0041] During the data transmission process, a data protection mechanism is provided: the status of the route is monitored during transmission, and the initiator is notified when the "pipeline" is broken or an abnormality occurs, to ensure that the message can be processed correctly.

[0042] In summary, the data transmission framework of this embodiment is based on routing. On the basis of existing functions, the network is used as a carrier to ensure the consistency and security of data between systems through technical means such as distributed transactions and transmission encryption.

[0043] In the several embodiments provided by the present invention, it should be understood that the disclosed method can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0044] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (Processor) to perform some steps of the above-mentioned method of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program codes.

[0045] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A data transmission method for a railway equipment history management system, characterized in that: The railway equipment history management system includes data nodes at several levels; the method includes: When executing the resume data synchronization task, a data transmission framework is constructed, wherein the data transmission framework includes an initiator node to be synchronized with data and a target node to be synchronized with data; The initiator node performs a global routing search to generate routing information from the initiator node to the target node, wherein the nodes in the routing information are all data nodes in the railway equipment history management system; The initiator node sends the data to be synchronized to the target node in sequence in the data node of the railway equipment history management system according to the routing information from the initiator node to the target node; The target node creates an executor corresponding to the historical data synchronization task, receives the data to be synchronized, and returns the synchronization task execution result to the initiator node after the execution is completed.

2. The data transmission method of the railway equipment history management system according to claim 1, characterized in that: Global routing search, recursive retrieval based on tree structure; Among them, a routing manager is deployed on each data node of the railway equipment history management system.

3. The data transmission method of the railway equipment history management system according to claim 2, characterized in that: The data to be synchronized adopts the TCP protocol during data transmission, and uses a non-blocking transmission mode.

4. The data transmission method of the railway equipment history management system according to claim 3, characterized in that: When the data to be synchronized is larger than a preset size, the data to be synchronized is divided into multiple segments, and the transmission of each segment is performed in the order of segmentation, and each segment is spliced ​​at the target node.

5. The data transmission method of the railway equipment history management system according to claim 1, characterized in that: The data transmission framework completes the registration of each data node in advance based on the registration center.

6. The data transmission method of the railway equipment history management system according to claim 5, characterized in that: The data transmission framework manages at least one historical data synchronization task based on a transaction manager.