Automatic file synchronization and version management method and system for urban rail intelligent operation and control system

By adopting the automatic file synchronization and version management method based on central server in the urban rail intelligent operation and control system, the problems of low software update efficiency and inconvenient version management in the existing technology are solved, and efficient and stable system update and version management are achieved.

CN119917135APending Publication Date: 2025-05-02CASCO SIGNAL LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411980070.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-05-02

AI Technical Summary

Technical Problem

The software update process of the existing urban rail intelligent operation and control system is inefficient, prone to human errors, and inconvenient version management.

Method used

The automatic file synchronization and version management method based on the central server are adopted, and the system status and file changes are monitored in real time through the backend monitoring service module, the file synchronization process is automatically triggered, and the version management is managed using git services.

Benefits of technology

It improves software update efficiency, reduces human operation errors, realizes version traceability and system stability, and ensures consistency and real-timeness of each site system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119917135A_ABST
    Figure CN119917135A_ABST
Patent Text Reader

Abstract

The invention discloses an urban rail intelligent operation control system file automatic synchronization and version management method and system, and the method is realized based on a central server, and the method comprises the steps: setting a background monitoring service module in each human-computer interface work station; when a background monitoring service module monitors that a file in a configuration directory of a current human-computer interface workstation is changed, a file synchronization process is automatically triggered, updated file information corresponding to the change is generated, and the updated file information is sent to the central server; and the background monitoring service module monitors the updated file information in the central server, and judges the update of the corresponding human-computer interface workstation according to the files under the corresponding configuration catalog. According to the method, the software updating efficiency of the urban rail intelligent operation and control system is effectively improved, manual operation errors are reduced, and version traceability and system stability are achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of rail transit technology, and in particular to a method and system for automatic file synchronization and version management of an urban rail intelligent operation and control system. Background Art

[0002] The intelligent operation and control system for urban rail and subway is mainly composed of key components such as human-machine interface (HMI), server and front-end processor (FEP). The system is usually deployed in each station and control center to ensure comprehensive monitoring and control of rail transportation. In order to improve the reliability and stability of the system, the system in each station and control center usually adopts a redundancy mode of one active and one standby or one active and multiple standby to effectively avoid system downtime due to single point failure.

[0003] The existing software update mechanism mainly relies on the manual operation of the system operation and maintenance personnel, that is, the software is updated through manual deployment on site. The existing automatic file synchronization and version management method of the urban rail intelligent operation and control system has the following problems: 1. The manual deployment process is cumbersome and time-consuming, especially when multiple sites are updated at the same time, the operation and maintenance personnel need to operate one by one, which is extremely inefficient. 2. Manual operation is prone to human errors, such as configuration errors, file omissions or version inconsistencies, which may cause system instability or even failure. 3. Manual deployment makes it difficult to effectively track and manage different versions of files and configurations, resulting in version confusion and difficulty in backtracing and troubleshooting. In order to solve the above problems, the present invention proposes a method for automatic file synchronization and version management based on git service. Summary of the invention

[0004] The purpose of the present invention is to provide a method and system for automatic synchronization and version management of files in an urban rail intelligent operation and control system, aiming to solve the problems of low efficiency, easy error in the update process, and inconvenience in version management in the existing system file update technology of the urban rail intelligent operation and control system.

[0005] To achieve the above object, the present invention is implemented through the following technical solutions:

[0006] On the one hand, the present invention provides a method for automatic file synchronization and version management of an urban rail intelligent operation and control system, which is implemented based on a central server, and the central server is respectively connected to a number of human-machine interface workstations at stations or control centers, and the method includes:

[0007] A background monitoring service module is provided in each of the human-machine interface workstations, and the background monitoring service module is used to monitor the status of the human-machine interface workstation and the status of the central server in real time;

[0008] When the background monitoring service module detects that a file under the configuration directory of the current human-machine interface workstation has changed, the file synchronization process is automatically triggered to generate updated file information corresponding to the change and send it to the central server;

[0009] The background monitoring service modules of other human-machine interface workstations except the current human-machine interface workstation monitor the updated file information in the central server, and judge the update of the corresponding human-machine interface workstation according to the files under the corresponding configuration directory, so as to realize automatic synchronization and version management of the urban rail intelligent operation and control system files.

[0010] Preferably, several folders are set in the main branch of the central server, and the several folders correspond to several human-machine interface workstations one by one, so as to ensure that all human-machine interface workstations do not interfere with each other when the urban rail intelligent operation and control system files are automatically synchronized.

[0011] Preferably, all of the human-machine interface workstations include: a local warehouse of the central server, and the local warehouses in all of the human-machine interface workstations are deployed in isolation from the running directory of the background monitoring service module.

[0012] Preferably, the files under the configuration directory of each of the human-machine interface workstations configure the configuration items that need to be monitored and synchronized in real time in the human-machine interface workstation according to the corresponding requirements of each of the human-machine interface workstations, and the configuration items include: the status of the human-machine interface workstation, the address of the central server, and one of the local warehouses or any combination thereof.

[0013] Preferably, the file synchronization process includes: when a file in a configuration directory of the current human-machine interface workstation changes, the current human-machine interface workstation automatically synchronizes the updated file information to the local warehouse.

[0014] Preferably, each of the human-machine interface workstations is provided with a packaged interface, and after the local warehouse synchronizes the updated file information, the background monitoring service module automatically calls the corresponding packaged interface to send the updated file information to the central server.

[0015] Preferably, sending the updated file information to the central server comprises:

[0016] According to the updated file information, the configuration information in the corresponding human-machine interface workstation is determined, and the updated file information is automatically sent to the corresponding folder.

[0017] Preferably, the background monitoring service module of other human-machine interface workstations except the current human-machine interface workstation monitors the updated file information in the central server, and judges the update of the corresponding human-machine interface workstation according to the files in the corresponding configuration directory, including:

[0018] The configuration file in each of the human-machine interface workstations configures the monitoring directory and files corresponding to each of the human-machine interface workstations according to the corresponding requirements, and the background monitoring service module filters the updated file information monitored according to the corresponding monitoring directory and files;

[0019] When the updated file information corresponds to the corresponding monitoring directory and file, the corresponding background monitoring service module subscribes to the updated file information;

[0020] When the updated file information does not correspond to the corresponding monitoring directory and file, the corresponding background monitoring service module does not subscribe to the updated file information;

[0021] After the background monitoring service module subscribes to the updated file information, the corresponding human-machine interface workstation performs a pop-up window reminder, and determines the update of the corresponding human-machine interface workstation according to the pop-up window reminder.

[0022] Preferably, the updating of the corresponding human-machine interface workstation is determined according to the pop-up window reminder, including:

[0023] When automatic updating is performed according to the pop-up reminder, the background monitoring service module clones or updates the updated file information from the central server to the corresponding local warehouse, and after cloning or updating the updated file information to the corresponding local warehouse, automatically compares the updated file information with the status of the human-machine interface workstation, and performs update synchronization according to the comparison result;

[0024] When manual updating is performed according to the pop-up window reminder, the updated file information is manually compared with the status of the human-machine interface workstation, and the update synchronization is manually performed according to the comparison result.

[0025] Preferably, after updating and synchronizing according to the comparison results, it also includes: labeling the current update synchronization in the local repository, setting a version management interface in the background monitoring service module, recording each updated file information, and based on the label and the recorded file information of each update, viewing the version change content in the updated file information in the version management interface or performing a version rollback.

[0026] Preferably, the state of the human-machine interface workstation includes: one or any combination of software data, graphic files and configuration files of the human-machine interface workstation.

[0027] Preferably, the change includes: one or any combination of adding, deleting and modifying files in the configuration directory of the human-machine interface workstation.

[0028] On the other hand, the present invention also provides an automatic synchronization and version management system for urban rail intelligent operation and control systems, comprising:

[0029] A plurality of background monitoring service modules, each of which is arranged in correspondence with all human-machine interface workstations in each station and the control center, and is used to monitor the status of the human-machine interface workstations in real time;

[0030] A central server is connected to all human-machine interface workstations respectively, and several of the background monitoring service modules also monitor the status of the central server;

[0031] When the background monitoring service module detects that the files under the configuration directory of the current human-machine interface workstation have changed, the file synchronization process is automatically triggered, the updated file information corresponding to the change is generated, and sent to the central server; the background monitoring service modules of other human-machine interface workstations except the current human-machine interface workstation monitor the updated file information in the central server, and judge the update of the corresponding human-machine interface workstation according to the files under the corresponding configuration directory, so as to realize the automatic synchronization and version management of the urban rail intelligent operation and control system files.

[0032] Preferably, a version management unit is provided in the background monitoring service module, and the version management unit records each updated file information for checking the version change content in the updated file information or performing version rollback.

[0033] An electronic device comprises a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the automatic synchronization and version management method of files of the urban rail intelligent operation and control system mentioned above is implemented.

[0034] A readable storage medium stores a computer program, and when the computer program is executed by a processor, the automatic synchronization and version management method of files of the urban rail intelligent operation and control system is realized.

[0035] Compared with the prior art, the present invention has the following beneficial effects:

[0036] 1. The present invention provides a method and system for automatic file synchronization and version management of an urban rail intelligent operation and control system based on a central server, which effectively improves the software update efficiency of the urban rail intelligent operation and control system, reduces human operation errors, and realizes version traceability and system stability;

[0037] 2. The automatic synchronization and version management method of the urban rail intelligent operation and control system files of the present invention can quickly synchronize the system file updates to all stations and workstations of the control center to ensure the consistency and real-time performance of the systems at each station;

[0038] 3. The automatic synchronization and version management method of the urban rail intelligent operation and control system files of the present invention is suitable for large-scale, multi-site system deployment, and can be easily expanded through configuration to support more stations and control centers;

[0039] 4. The present invention ensures that the system can be quickly restored under any circumstances through redundant deployment and automatic synchronization mechanism, thus reducing the system downtime caused by software updates;

[0040] 5. The present invention utilizes the version control function of the central server. All file updates and configuration changes will be recorded and a unique version number will be generated. When a rollback to a historical version is required, it can be quickly implemented through the central server interface to ensure the stability and recoverability of the system.

[0041] 6. The present invention ensures that only authorized personnel can update the central warehouse through the authority management function of the central server. At the same time, all data transmissions use encryption protocols to ensure data security. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the technical solution of the present invention, the following briefly introduces the drawings required for the description. Obviously, the drawings described below are an embodiment of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work:

[0043] Figure 1 An interactive schematic diagram of a method for automatic synchronization and version management of files in an urban rail intelligent operation and control system provided by an embodiment of the present invention;

[0044] Figure 2 A processing logic flow chart of a method for automatic file synchronization and version management of an urban rail intelligent operation and control system based on git service provided in one embodiment of the present invention. DETAILED DESCRIPTION

[0045] The following is combined with Figure 1-2The method and system for automatic synchronization and version management of files in the urban rail intelligent operation and control system proposed in the present invention are further described in detail with specific implementation methods. According to the following description, the advantages and features of the present invention will be clearer. It should be noted that the drawings are in a very simplified form and use non-precise proportions, which are only used to conveniently and clearly assist in explaining the purpose of the implementation methods of the present invention. In order to make the purposes, features and advantages of the present invention more obvious and easy to understand, please refer to the drawings. It should be noted that the structures, proportions, sizes, etc. illustrated in the drawings of this specification are only used to match the contents disclosed in the specification for people familiar with this technology to understand and read, and are not used to limit the limiting conditions for the implementation of the present invention, so they have no technical substantive significance. Any structural modification, change in proportional relationship or adjustment of size, without affecting the effects that can be produced by the present invention and the purposes that can be achieved, should still fall within the scope of the technical content disclosed by the present invention.

[0046] In view of the problems of low efficiency, easy error in the update process, and inconvenience in version management in the system file update technology of the existing urban rail intelligent operation and control system.

[0047] On the one hand, reference Figure 1-2 As shown, this embodiment provides a method for automatic file synchronization and version management of an urban rail intelligent operation and control system, which is implemented based on a central server, and the central server is respectively connected to a number of stations or human-machine interface workstations of a control center. In this embodiment, the central server is a gitlab server, and the method includes:

[0048] Step S1: A background monitoring service module is set in each of the human-machine interface workstations, and the background monitoring service module is used to monitor the status of the human-machine interface workstation and the status of the central server in real time. The status of the human-machine interface workstation in this embodiment includes: one or any combination of software data, graphic files and configuration files of the human-machine interface workstation. The method is applied to the HMI workstation in the urban rail intelligent operation and control system, and the background monitoring service module is deployed in all HMI workstations in each station and control center, and the background monitoring service module runs in the background in the form of system tray software.

[0049] Step S1.1: Several folders are set in the main branch of the central server, and the folders correspond to the human-machine interface workstations one by one, so as to ensure that all human-machine interface workstations do not interfere with each other when the urban rail intelligent operation and control system files are automatically synchronized. The main branch of the gitlab server is managed in the form of one branch and multiple directories. Under the main branch of the gitlab server, multiple folders are created according to the naming format of occ_master, station_name1...station_nameN to ensure that when workstation files are added, deleted, or modified, all human-machine interface workstations can be updated to the corresponding directories without interfering with each other.

[0050] Step S1.2: All the human-machine interface workstations include: the local warehouse of the central server, and the local warehouses in all the human-machine interface workstations are deployed in isolation from the running directory of the background monitoring service module. They are kept independent and do not interfere with each other, so as to avoid unexpected errors in file synchronization that affect the normal operation of the urban rail.

[0051] Step S1.3: The files under the configuration directory of each of the human-machine interface workstations are configured according to the corresponding requirements of each of the human-machine interface workstations, and the configuration items that need to be monitored and synchronized in real time in the human-machine interface workstations are configured, and the configuration items include: the status of the human-machine interface workstation, the address of the central server, and one or any combination of the local warehouse. Each human-machine interface workstation allows the user to customize the configuration items such as the directory to be monitored and synchronized in real time, the address of the gitlab server, and the address of the local warehouse in the supporting XML configuration file according to their own needs, which improves the adaptability of the system in different scenarios and also reduces the time and cost required for software maintenance.

[0052] In this embodiment, the monitoring code of each human-machine interface workstation corresponding to the demand for real-time monitoring of the status of the human-machine interface workstation, the address of the central server and the local warehouse includes:

[0053] <? xmlversion="1.0"encoding="utf-8"? >

[0054] <ihmiupdatecfg> <header>

[0055] <regionkey="occ_master"region / >

[0056] < / header> <monitor>

[0057] <watchkey="project\tram;"project\dataSettings" / >

[0058] < / monitor> <git>

[0059] <serverurl="http: / / root:123@10.192.254.30 / irtcp / work.git" / ><repositorypath="D:tidas\repo\project_occ_master" / >

[0060] <branchname="main" / >< / git>

[0061] < / ihmiupdatecfg>

[0062] Step S2: When the background monitoring service module detects that the files in the configuration directory of the current human-machine interface workstation have changed, the file synchronization process is automatically triggered to generate updated file information corresponding to the change (refer to Figure 1 In process 1, the updated file information corresponds to Figure 1) and sends it to the central server (the gitlab server in this embodiment, see Figure 1 The change includes: adding, deleting and modifying files in the configuration directory of the human-machine interface workstation, or any combination thereof.

[0063] Step S2.1: The file synchronization process includes: when a file in the configuration directory of the current human-machine interface workstation changes, the current human-machine interface workstation automatically synchronizes the updated file information to the local warehouse.

[0064] Step S2.2: Each of the human-machine interface workstations is provided with an encapsulated interface. After the local warehouse synchronizes the updated file information, the background monitoring service module automatically calls the corresponding encapsulated interface to send the updated file information to the central server. Specifically, after the local warehouse is updated, the background monitoring service module automatically calls the encapsulated gitAdd, gitCommit, and gitPush interfaces to push the file to the main branch of the central gitlab warehouse.

[0065] In this embodiment, sending the updated file information to the central server includes: determining the configuration information in the corresponding human-machine interface workstation according to the updated file information, and automatically sending the updated file information to the corresponding folder. The updated file information can be automatically sent to the directory of the corresponding station or control center name according to the region field configured in the configuration file.

[0066] Step S3: The background monitoring service modules of other human-machine interface workstations other than the current human-machine interface workstation monitor the updated file information in the central server (refer to Figure 1 In process 3), the corresponding human-machine interface workstation is updated according to the files in the corresponding configuration directory to realize automatic synchronization and version management of the urban rail intelligent operation and control system files. The method provides a user-friendly update prompt and operation interface for the human-machine interface workstation, and the background monitoring service module in the other human-machine interface workstation in the open running state will subscribe to the specific updated file information and generate a pop-up window at the computer tray position to remind the user whether to update.

[0067] Step S3.1: The configuration file in each of the human-machine interface workstations configures the monitoring directory and files corresponding to each of the human-machine interface workstations according to the corresponding needs, and the background monitoring service module filters the updated file information monitored according to the corresponding monitoring directory and files. Specifically, the background monitoring service module will automatically filter non-monitored file updates according to the monitoring directories and files configured in the local configuration file. That is, when the file updates for monitoring are not configured, the workstation will not subscribe to the file update information. When the updated file information corresponds to the corresponding monitoring directory and files, the corresponding background monitoring service module subscribes to the updated file information; when the updated file information does not correspond to the corresponding monitoring directory and files, the corresponding background monitoring service module does not subscribe to the updated file information.

[0068] Step S3.2: After the background monitoring service module subscribes to the updated file information, the corresponding human-machine interface workstation pops up a window to remind (refer to Figure 1 4-6 in the process), and determine the update of the corresponding human-machine interface workstation according to the pop-up reminder. After the background monitoring service module subscribes to the file update message, a pop-up window will be displayed to remind the user of the next operation, providing three options: "automatic update", "manual update", and "later reminder".

[0069] In this embodiment, the updating of the corresponding human-machine interface workstation is determined according to the pop-up window reminder, including:

[0070] When automatic updating is performed according to the pop-up reminder, the background monitoring service module clones or updates the updated file information from the central server to the corresponding local warehouse (refer to Figure 1 (as shown in process 7 in the figure), after cloning or updating the updated file information to the corresponding local warehouse, the updated file information is automatically compared with the status of the human-machine interface workstation, and the update synchronization is performed according to the comparison result. When the user selects "Automatic Update", the reminder pop-up window will be closed, and the background monitoring service module deployed by the workstation will automatically call the gitClone interface from the updated directory in the gitlab server to clone to the local git warehouse (that is, the local warehouse). If there is already a local warehouse, the gitPull interface will be called to update the changed files to the local git warehouse.

[0071] When manually updating according to the pop-up reminder, the updated file information is manually compared with the status of the human-machine interface workstation, and the update synchronization is manually performed according to the comparison result. After updating to the local git repository, it will automatically compare with the software running directory of the HMI workstation and then update and synchronize. This update will be marked with a tag number in the gitlab server. The background monitoring service module provides an interface version management interface, records each change information, allows users to view version changes and supports convenient version rollback function.

[0072] When the user selects "Remind later", the reminder pop-up window will close, but the background monitoring service module icon will continue to flash as a reminder.

[0073] After updating and synchronizing according to the comparison result, the method further includes: labeling the current update synchronization in the local warehouse, setting a version management interface in the background monitoring service module, recording each updated file information, and checking the version change content in the updated file information or performing a version rollback in the version management interface according to the label and the recorded each updated file information (reference Figure 1 8 in the process).

[0074] On the other hand, the present embodiment also provides an automatic synchronization and version management system for files of an urban rail intelligent operation and control system, comprising: a plurality of background monitoring service modules, which are respectively arranged in all human-machine interface workstations of each station and control center in a one-to-one correspondence, and are used to monitor the status of the human-machine interface workstations in real time; a central server, which is respectively connected to all human-machine interface workstations, and a plurality of the background monitoring service modules also monitor the status of the central server; when the background monitoring service module detects that a file under the configuration directory of the current human-machine interface workstation has changed, the file synchronization process is automatically triggered, and the updated file information corresponding to the change is generated and sent to the central server; the background monitoring service modules of other human-machine interface workstations except the current human-machine interface workstation detect the updated file information in the central server, and judge the update of the corresponding human-machine interface workstation according to the files under the corresponding configuration directory, so as to realize automatic synchronization and version management of files of the urban rail intelligent operation and control system.

[0075] In this embodiment, a version management unit is provided in the background monitoring service module, and the version management unit records each updated file information for checking the version change content in the updated file information or performing version rollback.

[0076] An electronic device comprises a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the automatic synchronization and version management method of files of the urban rail intelligent operation and control system mentioned above is implemented.

[0077] A readable storage medium stores a computer program, and when the computer program is executed by a processor, the automatic synchronization and version management method of files of the urban rail intelligent operation and control system is realized.

[0078] In summary, this embodiment proposes a method and system for automatic synchronization and version management of files in an urban rail intelligent operation and control system. The method and system for automatic synchronization and version management of files in an urban rail intelligent operation and control system based on a gitlab server can effectively improve the software update efficiency of the urban rail intelligent operation and control system, reduce human operation errors, and achieve version traceability and system stability. System file updates can be quickly synchronized to workstations in all stations and control centers to ensure the consistency and real-time performance of systems at each site. This method is suitable for large-scale, multi-site system deployment and can be easily expanded through configuration to support more stations and control centers. Through redundant deployment and automatic synchronization mechanisms, it is ensured that the system can be quickly restored in any case, reducing system downtime caused by software updates. Using the version control function of the gitlab server, all file updates and configuration changes will be recorded and a unique version number will be generated. When it is necessary to roll back to a historical version, it can be quickly implemented through the interface of the gitlab server to ensure the stability and recoverability of the system. Through the permission management function of the gitlab server, it is ensured that only authorized personnel can update the central warehouse. At the same time, all data transmissions use encryption protocols to ensure data security.

[0079] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0080] It should be noted that the devices and methods disclosed in the embodiments of this article can also be implemented in other ways. The device implementation described above is only schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of this article. In this regard, each box in the flowchart or block diagram can represent a part of a module, program or code, and the module, program segment or part of the code contains one or more executable instructions for implementing the specified logical function, and the module, program segment or part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented by a dedicated hardware-based system for performing a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.

[0081] In addition, the functional modules in the various embodiments of this document may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.

[0082] Although the content of the present invention has been described in detail through the above preferred embodiments, it should be appreciated that the above description should not be considered as a limitation of the present invention. After reading the above content, it will be apparent to those skilled in the art that various modifications and substitutions of the present invention will occur. Therefore, the protection scope of the present invention should be limited by the appended claims.

Claims

1. A method for automatic file synchronization and version management of an urban rail intelligent operation and control system, characterized in that: It is implemented based on a central server, which is respectively connected to several human-machine interface workstations at stations or control centers. The method includes: A background monitoring service module is provided in each of the human-machine interface workstations, and the background monitoring service module is used to monitor the status of the human-machine interface workstation and the status of the central server in real time; When the background monitoring service module detects that a file under the configuration directory of the current human-machine interface workstation has changed, the file synchronization process is automatically triggered to generate updated file information corresponding to the change and send it to the central server; The background monitoring service modules of other human-machine interface workstations except the current human-machine interface workstation monitor the updated file information in the central server, and judge the update of the corresponding human-machine interface workstation according to the files under the corresponding configuration directory, so as to realize automatic synchronization and version management of the urban rail intelligent operation and control system files.

2. The method for automatic file synchronization and version management of the urban rail intelligent operation and control system according to claim 1, characterized in that: A plurality of folders are arranged in the main branch of the central server, and the plurality of folders correspond to a plurality of human-machine interface workstations one by one, respectively, so as to ensure that all human-machine interface workstations do not interfere with each other when the files of the urban rail intelligent operation and control system are automatically synchronized.

3. The method for automatic file synchronization and version management of the urban rail intelligent operation and control system according to claim 2, characterized in that: All of the human-machine interface workstations include: a local warehouse of the central server, and the local warehouses in all of the human-machine interface workstations are deployed in isolation from the running directory of the background monitoring service module.

4. The method for automatic file synchronization and version management of the urban rail intelligent operation and control system according to claim 3, characterized in that: The files under the configuration directory of each of the human-machine interface workstations configure the configuration items that need to be monitored and synchronized in real time in the human-machine interface workstation according to the corresponding requirements of each of the human-machine interface workstations, and the configuration items include: the status of the human-machine interface workstation, the address of the central server, and one of the local warehouses or any combination thereof.

5. The method for automatic file synchronization and version management of the urban rail intelligent operation and control system according to claim 4, characterized in that: The file synchronization process includes: when a file under the configuration directory of the current human-machine interface workstation changes, the current human-machine interface workstation automatically synchronizes the updated file information to the local warehouse.

6. The method for automatic file synchronization and version management of the urban rail intelligent operation and control system according to claim 5, characterized in that: Each of the human-machine interface workstations is provided with a packaged interface. After the local warehouse synchronizes the updated file information, the background monitoring service module automatically calls the corresponding packaged interface to send the updated file information to the central server.

7. The method for automatic file synchronization and version management of the urban rail intelligent operation and control system according to claim 6, characterized in that: Sending the updated file information to the central server includes: According to the updated file information, the configuration information in the corresponding human-machine interface workstation is determined, and the updated file information is automatically sent to the corresponding folder.

8. The method for automatic file synchronization and version management of the urban rail intelligent operation and control system according to claim 7, characterized in that: The background monitoring service module of other human-machine interface workstations except the current human-machine interface workstation monitors the updated file information in the central server, and determines the update of the corresponding human-machine interface workstation according to the files in the corresponding configuration directory, including: The configuration file in each of the human-machine interface workstations configures the monitoring directory and files corresponding to each of the human-machine interface workstations according to the corresponding requirements, and the background monitoring service module filters the updated file information monitored according to the corresponding monitoring directory and files; When the updated file information corresponds to the corresponding monitoring directory and file, the corresponding background monitoring service module subscribes to the updated file information; When the updated file information does not correspond to the corresponding monitoring directory and file, the corresponding background monitoring service module does not subscribe to the updated file information; After the background monitoring service module subscribes to the updated file information, the corresponding human-machine interface workstation performs a pop-up reminder, and determines the update of the corresponding human-machine interface workstation according to the pop-up reminder.

9. The method for automatic file synchronization and version management of the urban rail intelligent operation and control system according to claim 8, characterized in that: The updating of the corresponding human-machine interface workstation according to the pop-up window reminder includes: When automatic updating is performed according to the pop-up reminder, the background monitoring service module clones or updates the updated file information from the central server to the corresponding local warehouse, and after cloning or updating the updated file information to the corresponding local warehouse, automatically compares the updated file information with the status of the human-machine interface workstation, and performs update synchronization according to the comparison result; When manual updating is performed according to the pop-up window reminder, the updated file information is manually compared with the status of the human-machine interface workstation, and the update synchronization is manually performed according to the comparison result.

10. The method for automatic file synchronization and version management of the urban rail intelligent operation and control system according to claim 9, characterized in that: After updating and synchronizing according to the comparison results, it also includes: labeling the current update synchronization in the local warehouse, setting a version management interface in the background monitoring service module, recording each updated file information, and checking the version change content in the updated file information in the version management interface or performing a version rollback based on the label and the recorded file information of each update.

11. The method for automatic file synchronization and version management of the urban rail intelligent operation and control system according to claim 1, characterized in that: The state of the human-machine interface workstation includes: one or any combination of software data, graphic files and configuration files of the human-machine interface workstation.

12. The method for automatic file synchronization and version management of the urban rail intelligent operation and control system according to claim 1, characterized in that: The change includes: one or any combination of adding, deleting and modifying files in the configuration directory of the human-machine interface workstation.

13. An automatic synchronization and version management system for urban rail intelligent operation and control systems, characterized in that: include: A plurality of background monitoring service modules, wherein the plurality of background monitoring service modules are respectively arranged in all human-machine interface workstations of each station and the control center, and are used for real-time monitoring of the status of the human-machine interface workstations; A central server is connected to all human-machine interface workstations respectively, and several of the background monitoring service modules also monitor the status of the central server; When the background monitoring service module detects that the files under the configuration directory of the current human-machine interface workstation have changed, the file synchronization process is automatically triggered, the updated file information corresponding to the change is generated, and sent to the central server; the background monitoring service modules of other human-machine interface workstations except the current human-machine interface workstation monitor the updated file information in the central server, and judge the update of the corresponding human-machine interface workstation according to the files under the corresponding configuration directory, so as to realize the automatic synchronization and version management of the urban rail intelligent operation and control system files.

14. The automatic synchronization and version management system for urban rail intelligent operation and control system as claimed in claim 13, characterized in that: The background monitoring service module is provided with a version management unit, and the version management unit records each updated file information, and is used to check the version change content in the updated file information or perform version rollback.

15. An electronic device, characterized in that: include: A processor and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the method for automatic file synchronization and version management of the urban rail intelligent operation and control system as described in any one of claims 1 to 12 is implemented.

16. A readable storage medium, characterized in that: The readable storage medium stores a computer program, and when the computer program is executed by the processor, the method for automatic file synchronization and version management of the urban rail intelligent operation and control system as described in any one of claims 1 to 12 is implemented.