Comprehensive monitoring system upgrading method and device, electronic equipment and storage medium
Through the combination of transparent gateway and long-short-term memory model, the data consistency of the old and new comprehensive monitoring systems is automatically verified and upgraded, which solves the problems of outage risk and low verification efficiency during the upgrade process in the existing technology, and realizes the urban rail transit system. Safe and efficient upgrade.
Patent Information
- Application Number
- CN202410732086.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-09-06
AI Technical Summary
The existing urban rail transit comprehensive monitoring system upgrade method has the problems of outage risk and low data verification efficiency. In particular, a large amount of manual verification is required during the transition process between the old and new systems, resulting in a long cycle and high risks.
A transparent gateway with replication function is used to process data from the old integrated monitoring system and lower-level system hardware, and a new integrated monitoring system is introduced to automatically verify data consistency through the long and short-term memory model to achieve systematic and automated data verification and upgrades.
It improves the efficiency of data verification, reduces the risk of urban rail transit outages, ensures the safety and efficiency of system upgrades, and reduces the need for manual participation.
Smart Images

Figure CN118605907A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of urban rail transit, and in particular to a comprehensive monitoring system upgrading method, device, electronic equipment and storage medium. Background Art
[0002] With the rapid development of urban rail transit, the service life of the integrated monitoring system of existing lines has gradually increased, and problems such as aging equipment and backward technology have become increasingly prominent. In order to ensure the safe and efficient operation of urban rail transit, it is necessary to upgrade the integrated monitoring system of existing lines. However, in the actual operation process, the upgrade work faces many difficulties.
[0003] First, during the upgrade of the integrated monitoring system, existing services cannot be suspended. Rail transit is an important mode of transportation in the city. If the operation is interrupted, it will cause great inconvenience to citizens' travel, and may even cause traffic congestion, safety accidents and other problems. Therefore, during the upgrade process, it is necessary to ensure the normal operation of existing services, which puts higher requirements on the organization and implementation of the upgrade work. Secondly, there are many types of professional equipment and high operational safety requirements. Urban rail transit involves a wide variety of professional equipment, including driving dispatching system, power monitoring subsystem, environment and equipment monitoring subsystem, fire automatic alarm subsystem and access control subsystem. These equipment are highly professional and require corresponding technical knowledge and experience to be effectively monitored and managed. In addition, the operational safety requirements of urban rail transit are extremely high, and any minor faults may cause harm to passengers and equipment. Therefore, during the upgrade process, it is necessary to ensure the coordination between various professional equipment to improve the reliability and real-time response capability of the integrated monitoring system.
[0004] However, the existing integrated monitoring system upgrade method has two problems. In terms of the transition between the old and new integrated monitoring systems, once the rail transit is shut down, it will affect the travel of a large number of citizens, with serious consequences. Therefore, the upgrade of the existing system cannot be affected during the day and can only be implemented in steps after the nighttime shutdown. The whole process is long and risky. In terms of verification of the new integrated monitoring system, since the design contact information and equipment models of the old integrated monitoring system are outdated, it is often necessary to manually verify the new integrated monitoring system, which is time-consuming and labor-intensive, and the whole process makes data verification inefficient. In summary, the existing integrated monitoring system upgrade method has certain limitations, and there will be problems such as upgrades that easily cause shutdown risks and require a lot of manual verification. Summary of the invention
[0006] The present invention provides a comprehensive monitoring system upgrading method, device, electronic device and storage medium, which are used to solve the defects of the existing comprehensive monitoring system upgrading method, such as the risk of downtime caused by upgrading and the need for a large amount of manual verification. The present invention realizes processing of existing monitoring data, that is, data between an old comprehensive monitoring system and lower-level system hardware, through a transparent gateway with a copy function, and then introduces a new comprehensive monitoring system. In addition, the data can be systematically and automatically verified without manual intervention, which improves the efficiency of data verification and effectively reduces the risk of downtime of urban rail transit.
[0007] The present invention provides a comprehensive monitoring system upgrading method, comprising: S1. When the lower system hardware is connected to a transparent gateway, the transparent gateway collects the inlet data uploaded by the lower system hardware, and uploads the outlet data to the old integrated monitoring system through the transparent gateway; S2. When it is determined that the input data and the output data are verified to be consistent, obtaining a first analysis result, where the first analysis result is obtained by analyzing the output data by the old integrated monitoring system; S3, introducing the target data into the new integrated monitoring system through the transparent gateway, and obtaining a second analysis result, where the second analysis result is obtained by the new integrated monitoring system analyzing the target data, and the target data is determined based on the export data; S4. According to the first analysis result and the second analysis result, control the old integrated monitoring system to be upgraded to the new integrated monitoring system.
[0008] According to a comprehensive monitoring system upgrade method provided by the present invention, the target data is obtained by the new comprehensive monitoring system based on the following steps: inputting the export data into the long short-term memory model through the transparent gateway to obtain the target data output by the long short-term memory model; wherein the long short-term memory model is constructed based on the export data sample and the target data sample.
[0009] According to a comprehensive monitoring system upgrade method provided by the present invention, the first analysis result is obtained by the old comprehensive monitoring system based on the following steps: parsing and monitoring the export data to generate a first alarm result and a first event, the output form of the first alarm result and the first event is a first configuration monitoring screen and a first report; according to the first configuration monitoring screen and the first report, determining the first analysis result.
[0010] According to a comprehensive monitoring system upgrade method provided by the present invention, the old comprehensive monitoring system is controlled to be upgraded to the new comprehensive monitoring system according to the first analysis result and the second analysis result, including: determining the similarity between the first analysis result and the second analysis result; when the similarity is greater than a preset threshold, outputting a first prompt message, the first prompt message being used to prompt that the old comprehensive monitoring system has been successfully upgraded to the new comprehensive monitoring system, and prompting the dismantling of the old comprehensive monitoring system; when the similarity is less than or equal to the preset threshold, outputting a second prompt message, the second prompt message being used to prompt that the old comprehensive monitoring system has failed to be upgraded to the new comprehensive monitoring system; obtaining new target data corresponding to the export data, and repeating the above step S3 until the first prompt message is output.
[0011] According to a comprehensive monitoring system upgrade method provided by the present invention, determining the similarity between the first analysis result and the second analysis result includes: obtaining the first report corresponding to the first analysis result and the second report corresponding to the second analysis result; and determining the similarity based on the message corresponding to the first report and the message corresponding to the second report.
[0012] According to a comprehensive monitoring system upgrade method provided by the present invention, after step S1, the method also includes: when it is determined that the input data and the output data are inconsistent, reconnecting the lower system hardware to the transparent gateway, and repeating the above step S1 until it is determined that the input data finally obtained are consistent with the output data finally obtained.
[0013] According to a comprehensive monitoring system upgrade method provided by the present invention, the method also includes: when the similarity is greater than the preset threshold, sending the data of the new comprehensive monitoring system to the station where the lower system hardware is located through the transparent gateway.
[0014] According to a comprehensive monitoring system upgrade method provided by the present invention, the method also includes: in the event that the new comprehensive monitoring system fails, controlling the transparent gateway to switch the connection mode between the lower system hardware and the new comprehensive monitoring system to the connection between the lower system hardware and the old comprehensive monitoring system.
[0015] According to a comprehensive monitoring system upgrade method provided by the present invention, the transparent gateway is controlled to switch the connection mode between the lower system hardware and the new comprehensive monitoring system to the connection between the lower system hardware and the old comprehensive monitoring system, including: gradually switching the transparent gateway according to the station, switching the connection mode between the lower system hardware and the new comprehensive monitoring system to the connection between the lower system hardware and the old comprehensive monitoring system.
[0016] According to a comprehensive monitoring system upgrade method provided by the present invention, the determination that the input data is consistent with the output data includes: exporting a first message corresponding to the input data and a second message corresponding to the output data; and when the first message is the same as the second message, determining that the input data is consistent with the output data.
[0017] According to a comprehensive monitoring system upgrade method provided by the present invention, the new comprehensive monitoring system is installed in an industrial all-in-one device, and the industrial all-in-one device adopts a board-card plug-in design; the industrial all-in-one device installed with the new comprehensive monitoring system is located in the center and the renovated station machine room.
[0018] The present invention also provides a comprehensive monitoring system upgrading device, comprising: A data acquisition module is used for S1, when the lower system hardware is connected to a transparent gateway, collecting the inlet data uploaded by the lower system hardware through the transparent gateway, and uploading the export data to the old integrated monitoring system through the transparent gateway; a data processing module is used for S2, when it is determined that the inlet data is consistent with the export data, obtaining a first analysis result, the first analysis result is obtained by the old integrated monitoring system analyzing the export data; S3, introducing target data to the new integrated monitoring system through the transparent gateway, and obtaining a second analysis result, the second analysis result is obtained by the new integrated monitoring system analyzing the target data, and the target data is determined based on the export data; The system upgrade module is used for S4, controlling the old integrated monitoring system to be upgraded to the new integrated monitoring system according to the first analysis result and the second analysis result.
[0019] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the integrated monitoring system upgrade method described in any one of the above methods is implemented.
[0020] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the integrated monitoring system upgrade method as described in any one of the above is implemented.
[0021] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the integrated monitoring system upgrade method as described in any one of the above is implemented.
[0022] The integrated monitoring system upgrade method, device, electronic device and storage medium provided by the present invention, through S1, when the lower system hardware is connected to the transparent gateway, the entry data uploaded by the lower system hardware is collected through the transparent gateway, and the exit data is uploaded to the old integrated monitoring system through the transparent gateway; S2, when it is determined that the entry data is consistent with the exit data verification, the first analysis result is obtained, and the first analysis result is obtained by the old integrated monitoring system analyzing the exit data; S3, the target data is introduced to the new integrated monitoring system through the transparent gateway, and the second analysis result is obtained, and the second analysis result is obtained by the new integrated monitoring system analyzing the target data, and the target data is determined based on the exit data; S4, according to the first analysis result and the second analysis result, the old integrated monitoring system is controlled to upgrade to the new integrated monitoring system. The method processes the existing monitoring data, that is, the data between the old integrated monitoring system and the lower system hardware, through a transparent gateway with a copy function, and then introduces a new integrated monitoring system, and can systematically and automatically verify the data without manual participation, while improving the efficiency of data verification, it also effectively reduces the risk of suspension of urban rail transit. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0024] Figure 1 It is a structural schematic diagram of the industrial all-in-one device provided by the present invention.
[0025] Figure 2 It is a flow chart of the comprehensive monitoring system upgrading method provided by the present invention.
[0026] Figure 3 It is a scenario diagram of the comprehensive monitoring system upgrading method provided by the present invention.
[0027] Figure 4 It is a structural schematic diagram of the comprehensive monitoring system upgrading device provided by the present invention.
[0028] Figure 5 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0029] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0030] In order to better understand the embodiments of the present invention, the devices involved are first explained in detail: (1) Lower system hardware
[0031] The lower system hardware refers to the physical devices or components that constitute the lower system. Optionally, the lower system may include: environment and equipment monitoring system (Building Automation System, BAS) and public address (Public Address, PA) system, etc.
[0032] (2) Transparent Gateway
[0033] The transparent gateway has a replication function and provides an external entrance and exit for a network area. It can be used to transmit data between the lower system hardware and the old integrated monitoring system, or between the lower system hardware and the new integrated monitoring system. The transparent gateway is transparent and imperceptible to the old integrated monitoring system and will not have any additional impact.
[0034] (3) Integrated monitoring system
[0035] The integrated monitoring system is a large-scale computer integrated system based on modern computer technology, network technology, automation technology and information technology. It supports unified monitoring of lower-level system hardware and realizes information sharing and linkage control functions among various hardware.
[0036] Among them, the integrated monitoring system includes: the old integrated monitoring system and the new integrated monitoring system.
[0037] In some embodiments, the new integrated monitoring system is installed in an industrial all-in-one device, which adopts a board-type plug-in design; the industrial all-in-one device installed with the new integrated monitoring system is located in the center and the renovated station machine room.
[0038] The performance of a single board involved in the card-swappable design is equivalent to that of a single traditional industrial computer, but the size of the industrial all-in-one device is only one-tenth of that of a single traditional industrial computer. Combined with virtualization technology, an industrial all-in-one device with a height of only 4U can carry the operating resources of the comprehensive monitoring system of a single station, where 4U means that the height of the machine is 4 standard chassis units.
[0039] Optionally, the board-type plug-in design is a high-density board-type plug-in design.
[0040] like Figure 1 FIG. 1 is a schematic diagram of the structure of the industrial integrated device provided by the present invention. A new integrated monitoring system is installed in the industrial integrated device.
[0041] It should be noted that in the prior art, the integrated monitoring system of urban rail transit often has a preset equipment space, and the relevant servers need to be placed in the corresponding center or station equipment room. However, after years of use, the existing center or station equipment room is often very tight and insufficient to accommodate two sets of traditional servers and other equipment at the same time.
[0042] In order to solve the problem of space shortage in the installation and implementation of the new comprehensive monitoring system, in an embodiment of the present invention, a lightweight cloud platform can be installed on a high-density industrial all-in-one device, and the deployment and operation of the new comprehensive monitoring system can be supported in a virtualized manner, thereby greatly reducing the equipment room space required for the new comprehensive monitoring system and solving the problem of insufficient space in the existing machine room.
[0043] It should be noted that the execution subject involved in the embodiment of the present invention can be a comprehensive monitoring system upgrading device or an electronic device, which is not specifically limited here.
[0044] Among them, the electronic equipment is independent of the comprehensive monitoring system and is equipped with a transparent gateway.
[0045] Optionally, the electronic device may include: a computer, a mobile terminal, etc.
[0046] The embodiment of the present invention is further described below by taking an electronic device as an example.
[0047] like Figure 2 As shown, it is a flow chart of the integrated monitoring system upgrade method provided by the present invention, which may include: 201. When the lower system hardware is connected to the transparent gateway, the input data uploaded by the lower system hardware is collected through the transparent gateway, and the output data is uploaded to the old integrated monitoring system through the transparent gateway.
[0048] The ingress data and egress data refer to data transmitted through a transparent gateway, and the time difference between the ingress data and the egress data is within milliseconds and 100% loss-free.
[0049] The electronic device first identifies the interface type of the lower system hardware, and then connects the lower system hardware to the transparent gateway according to the interface type. At this time, the transparent gateway can realize data transmission between the lower system hardware and the old integrated monitoring system without affecting the old integrated monitoring system. Specifically, the transparent gateway collects the input data uploaded by the lower system hardware and uploads the output data to the old integrated monitoring system.
[0050] Optionally, the interface type of the lower system hardware can be a physical interface (such as a Registered Jack (RJ) 45 Ethernet interface, a Recommended Standard (RS) 232 serial port, etc.), or a communication protocol interface (such as Modbus, Transmission Control Protocol (TCP) / Internet Protocol (IP), User Datagram Protocol (UDP), etc.), which is not specifically limited here.
[0051] 202. When it is determined that the input data and the output data are verified to be consistent, a first analysis result is obtained, where the first analysis result is obtained by analyzing the output data by the old integrated monitoring system.
[0052] Optionally, the first analysis result may include a first alarm result, a first event, etc.
[0053] Among them, the first alarm result refers to some anomalies, faults, dangers or other situations that require attention found by the old integrated monitoring system when analyzing export data, and these situations have reached the level that requires an alarm; the first event usually refers to an action, state change or important data record that occurs in the old integrated monitoring system.
[0054] After obtaining the input data and output data, the electronic device needs to verify the consistency of the two data. If the two data are consistent, it means that the old integrated monitoring system is running stably according to the original mode. At this time, the old integrated monitoring system can analyze the output data, obtain the first analysis result, and transmit it to the electronic device. In this way, the electronic device can obtain the first analysis result in preparation for the subsequent upgrade of the old integrated monitoring system.
[0055] Optionally, the original mode may include: distributed operation or centralized operation.
[0056] In some embodiments, the first analysis result is obtained by the old integrated monitoring system based on the following steps: the old integrated monitoring system parses and monitors the export data, generates a first alarm result and a first event, and the output form of the first alarm result and the first event is a first configuration monitoring screen and a first report; the old integrated monitoring system determines the first analysis result based on the first configuration monitoring screen and the first report.
[0057] After parsing and monitoring the export data, the old integrated monitoring system can understand the operating status of the lower system hardware in real time, discover abnormal situations in time, and generate corresponding first alarm results and first events, which are then displayed and output in the form of a first configuration monitoring screen and a first report, thereby obtaining the first analysis result corresponding to the export data.
[0058] In some embodiments, the electronic device determines that the input data is consistent with the output data, which may include: the electronic device exports a first message corresponding to the input data and a second message corresponding to the output data; when the first message is the same as the second message, the electronic device determines that the input data is consistent with the output data.
[0059] Among them, a message is a formatted data structure that may include information such as sender, receiver, data type, and data content.
[0060] In the process of determining whether the input data and the output data are verified to be consistent, the electronic device can first export the first message corresponding to the input data and the second message corresponding to the output data from the transparent gateway; then, the electronic device compares and verifies the first message and the second message to determine whether the two messages are the same. If they are the same, it means that the input data and the output data are consistent, that is, the electronic device can determine that the input data and the output data are verified to be consistent.
[0061] It should be noted that the message comparison and verification process can effectively ensure the integrity and accuracy of the data.
[0062] In some embodiments, after step 201, the method may further include: when it is determined that the input data and the output data are inconsistent, the electronic device reconnects the lower system hardware to the transparent gateway, and repeats the above step 201 until it is determined that the input data finally obtained are consistent with the output data finally obtained.
[0063] During the process of verifying the input data and the output data, if the electronic device determines that the input data and the output data are inconsistent, it means that the old integrated monitoring system is not running stably in the original mode. At this time, the lower system hardware needs to be reconnected to the transparent gateway and the above step 201 is repeated until it is determined that the input data finally obtained is consistent with the output data finally obtained, that is, until it is determined that the old integrated monitoring system can run stably in the original mode to obtain the first analysis result.
[0064] Optionally, in the process of determining that the input data and the output data are inconsistent, the electronic device may compare and verify the first message and the second message, and determine that the input data and the output data are inconsistent if the two messages are different.
[0065] It should be noted that in the process of verifying the entry data and the exit data, the verification period of the first station corresponding to the lower-level system hardware is the first preset number of days, and the verification period of the corresponding subsequent stations is the second preset number of days, and the first preset number of days is greater than the second preset number of days.
[0066] Exemplarily, it is assumed that the first preset number of days is 7 days and the second preset number of days is 3 days.
[0067] 203. Introduce target data into the new integrated monitoring system through the transparent gateway, and obtain a second analysis result, where the second analysis result is obtained by analyzing the target data by the new integrated monitoring system, and the target data is determined based on the export data.
[0068] After the new integrated monitoring system is installed in the industrial all-in-one device, the electronic device can first analyze the export data through the transparent gateway to obtain the target data, and then introduce the target data to the new integrated monitoring system through the transparent gateway. At this time, the transparent gateway no longer sends the data of the new integrated monitoring system; after receiving the target data, the new integrated monitoring system can analyze the target data to obtain a second analysis result, and transmit the second analysis result to the electronic device. In this way, the electronic device can obtain the second analysis result in preparation for the subsequent combination with the above-mentioned first analysis result to realize the upgrade of the old integrated monitoring system.
[0069] It should be noted that the time difference between the first analysis result and the second analysis result is within millisecond level and 100% loss-free.
[0070] Optionally, the second analysis result is obtained by the new integrated monitoring system based on the following steps: the new integrated monitoring system parses and monitors the target data to generate a second alarm result and a second event, and the output form of the second alarm result and the second event is a second configuration monitoring screen and a second report; the new and old integrated monitoring systems determine the second analysis result based on the second configuration monitoring screen and the second report.
[0071] Among them, the second alarm result refers to some anomalies, faults, dangers or other situations that require attention discovered by the new integrated monitoring system when analyzing target data, and these situations have reached the level that requires an alarm; the second event usually refers to an action, state change or important data record that occurs in the new integrated monitoring system.
[0072] After parsing and monitoring the target data, the new integrated monitoring system can understand the operating status of the lower-level system hardware in real time, detect abnormal situations in a timely manner, and generate corresponding second alarm results and second events, which are then displayed and output in the form of a second configuration monitoring screen and a second report, thereby obtaining the second analysis result corresponding to the target data.
[0073] In some embodiments, the target data can be obtained by the new integrated monitoring system based on the following steps: the new integrated monitoring system inputs the export data into the Long Short-Term Memory (LSTM) model through a transparent gateway to obtain the target data output by the LSTM model.
[0074] Among them, the long short-term memory model is constructed based on export data samples and target data samples.
[0075] Since the data sent by the new and old integrated monitoring systems to the lower-level system hardware have differences in time and identifiers (ID), the corresponding messages of the data cannot be completely consistent. At this time, the long short-term memory model can be used for data timing processing, and the model training is based on the lower control data flow of the old integrated monitoring system and the feedback data flow of the lower-level system hardware. The lower control data flow of the new integrated monitoring system is used as the input of the trained model, and the feedback data flow of the lower-level system hardware is used as the predicted output. The predicted output is then imported into the new integrated monitoring system for simulated response and verification. Through one month of long-term data accumulation training, the prediction accuracy of the above-mentioned long short-term memory model can reach 90%, and with the help of manual proofreading, efficient and low-cost system verification can be achieved.
[0076] Based on the above-mentioned trained long short-term memory model, after obtaining the export data, the new integrated monitoring system can input it into the long short-term memory model, and the long short-term memory model outputs the target data corresponding to the export data.
[0077] 204. According to the first analysis result and the second analysis result, control the old integrated monitoring system to upgrade to the new integrated monitoring system.
[0078] After obtaining the first analysis result and the second analysis result, the electronic device can analyze the two analysis results to achieve the upgrade of the old integrated monitoring system to the new integrated monitoring system. The entire process does not require human participation, and can systematically and automatically verify the first analysis result and the second analysis result, thereby improving the verification efficiency of the analysis results.
[0079] Among them, the down-control message is the message sent by the integrated monitoring system to the lower-level system hardware.
[0080] In some embodiments, the electronic device controls the upgrade of the old integrated monitoring system to the new integrated monitoring system based on the first analysis result and the second analysis result, which may include: the electronic device determines the similarity between the first analysis result and the second analysis result; when the similarity is greater than a preset threshold, the electronic device outputs a first prompt message, and the first prompt message is used to prompt that the upgrade of the old integrated monitoring system to the new integrated monitoring system is successful, and prompts the dismantling of the old integrated monitoring system; when the similarity is less than or equal to the preset threshold, the electronic device outputs a second prompt message, and the second prompt message is used to prompt that the upgrade of the old integrated monitoring system to the new integrated monitoring system has failed; obtains new target data corresponding to the export data, and repeats the above step 203 until the first prompt message is output.
[0081] Optionally, the preset threshold may be set before the electronic device leaves the factory, or may be user-defined, which is not specifically limited here.
[0082] In the process of controlling the old integrated monitoring system to upgrade to the new integrated monitoring system, the electronic device may first obtain a third message corresponding to the first analysis result and a fourth message corresponding to the second analysis result; then, the electronic device compares and verifies the third message and the fourth message, that is, determines the similarity between the third message and the fourth message; then, the electronic device compares the similarity with a preset threshold: If the similarity is greater than the preset threshold, it means that the first analysis result and the second analysis result are relatively similar. At this time, the first prompt information can be output to achieve the upgrade of the old integrated monitoring system to the new integrated monitoring system.
[0083] If the similarity is less than or equal to the preset threshold, it means that the first analysis result and the second analysis result are not similar. At this time, the second prompt information can be output and the new target data corresponding to the export data can be obtained; further, the electronic device repeats the above step 203 until the above first analysis result and the above second analysis result are relatively similar, that is, until the first prompt information is output, so as to realize the upgrade of the old integrated monitoring system to the new integrated monitoring system.
[0084] It should be noted that during the verification process of the first analysis results and the second analysis results, the verification period of the first station corresponding to the lower-level system hardware is the third preset number of days, and the verification period of the corresponding subsequent stations is the fourth preset number of days, and the third preset number of days is greater than the fourth preset number of days.
[0085] Exemplarily, it is assumed that the third preset number of days is 30 days and the fourth preset number of days is 7 days.
[0086] In addition, in response to the first prompt information, the user dismantles the old integrated monitoring system according to the first prompt information, and completes the gradual upgrade, transformation and replacement of the new and old integrated monitoring systems. Optionally, after the new integrated monitoring system has been running smoothly for a preset period of time (such as 3 months to half a year), the user dismantles the old integrated monitoring system, and after the old equipment in the equipment room is vacated, the equipment room can be merged, and the free space can be used for other new businesses.
[0087] In some embodiments, an electronic device determines the similarity between a first analysis result and a second analysis result, including: the electronic device obtains a first report corresponding to the first analysis result and a second report corresponding to the second analysis result; the electronic device determines the similarity based on a message corresponding to the first report and a message corresponding to the second report.
[0088] In the process of verifying the first analysis result and the second analysis result, the business logic of alarms and events is verified by exporting the reports of the old and new integrated monitoring systems for comparison to determine the similarity, thereby realizing the verification of the two analysis results. Specifically, for the business logic verification of the lower control message, the old integrated monitoring system is used for first control to record the bidirectional data of the transparent gateway, which belongs to the first report, and then the new integrated monitoring system simulates the control and plays back the response data of the lower system hardware to the old integrated monitoring system, which belongs to the second report; by exporting the corresponding messages of the entry and exit data of the transparent gateway (i.e., the first report and the second report), the message-level data comparison and verification is performed to realize the verification of the first analysis result and the second analysis result.
[0089] In some embodiments, the method may further include: when the similarity is greater than a preset threshold, the electronic device sends the data of the new integrated monitoring system to the station where the lower-level system hardware is located through the transparent gateway.
[0090] When the similarity is greater than the preset threshold, it means that the first analysis result and the second analysis result are relatively similar. At this time, if there is no abnormality in the station, the station can be gradually switched to the transparent gateway, and the transparent gateway only sends the data of the new integrated monitoring system to the station where the lower-level system hardware is located.
[0091] In some embodiments, the method may further include: when a new integrated monitoring system fails, the electronic device controls the transparent gateway to switch the connection mode between the lower system hardware and the new integrated monitoring system to the connection between the lower system hardware and the old integrated monitoring system.
[0092] In this way, during the switching process, the lower-level system hardware still retains the data upload of the new integrated monitoring system and the old integrated monitoring system, but during the downward control process, only the data of the new integrated monitoring system is sent down. If there is a problem with the new integrated monitoring system and it cannot be temporarily solved, the old integrated monitoring system will be directly switched for downgrade control to effectively ensure the normal operation of the station.
[0093] In some embodiments, the electronic device controls the transparent gateway to switch the connection mode between the lower system hardware and the new integrated monitoring system to the connection mode between the lower system hardware and the old integrated monitoring system, which may include: the electronic device gradually switches the transparent gateway mode according to the station to switch the connection mode between the lower system hardware and the new integrated monitoring system to the connection mode between the lower system hardware and the old integrated monitoring system.
[0094] The overall risk can be reduced by gradually switching electronic equipment at each station. If a problem occurs during the switching process, it can be quickly located and repaired without affecting the entire lower-level system hardware, thereby effectively realizing the mechanism switching between the new integrated monitoring system and the old integrated monitoring system.
[0095] Optionally, after the stations are gradually switched to transparent gateways, the trial operation period of the first station is a first preset number of months, and the trial operation period of the corresponding subsequent stations is a second preset number of months, and the first preset number of months is greater than the second preset number of months.
[0096] Exemplarily, it is assumed that the first preset number of months is 3 months and the second preset number of months is 1 month.
[0097] In an embodiment of the present invention, when the lower system hardware is connected to a transparent gateway, the entry data uploaded by the lower system hardware is collected through the transparent gateway, and the exit data is uploaded to the old integrated monitoring system through the transparent gateway; when it is determined that the entry data and the exit data are verified to be consistent, the first analysis result is obtained, and the first analysis result is obtained by the old integrated monitoring system analyzing the exit data; the target data is introduced to the new integrated monitoring system through the transparent gateway, and the second analysis result is obtained, and the second analysis result is obtained by the new integrated monitoring system analyzing the target data, and the target data is determined based on the exit data; according to the first analysis result and the second analysis result, the old integrated monitoring system is controlled to upgrade to the new integrated monitoring system. This method processes the existing monitoring data, that is, the data between the old integrated monitoring system and the lower system hardware, through a transparent gateway with a copy function, and then introduces a new integrated monitoring system, and can systematically and automatically verify the data without human intervention, which improves the efficiency of data verification while effectively reducing the risk of suspension of urban rail transit.
[0098] To further understand the embodiments of the present invention, the application scenario of the comprehensive monitoring system upgrade method is described below: Figure 3 FIG. 1 is a schematic diagram of a scenario of a comprehensive monitoring system upgrade method provided by the present invention. Figure 3 It can be seen that the lower system hardware is connected to the old integrated monitoring system and the new integrated monitoring system through a transparent gateway.
[0099] The old integrated monitoring system first sends message a to the lower-level system hardware through the transparent gateway, wherein the message a in step 1 is the entry data of the transparent gateway, and the message a in step 2 is the exit data of the transparent gateway; the lower-level system hardware obtains a response message, i.e., message b, based on message a, and uploads message b to the old integrated monitoring system through the transparent gateway, wherein the message b in step 3 is the entry data of the transparent gateway, and the message b in step 4 is the exit data of the transparent gateway; the old integrated monitoring system determines the first analysis result based on message b.
[0100] At the same time, after the transparent gateway obtains message a and message b, it can be used as training data for the long short-term memory model. Message a is used as training input data, and message b is used as training output data to train the long short-term memory model, and a message c with a similarity greater than a preset threshold to message a and a message d with a similarity greater than a preset threshold to message b are obtained. Then, message d, i.e., target data, is uploaded to the new integrated monitoring system through the transparent gateway; the new integrated monitoring system determines the second analysis result based on the target data; finally, the verification control behavior is executed, specifically, according to the first analysis result and the second analysis result, the old integrated monitoring system is controlled to upgrade to the new integrated monitoring system.
[0101] The whole process has the advantages of smooth transition, less risk of downtime, and high degree of automation in system verification.
[0102] The integrated monitoring system upgrading device provided by the present invention is described below. The integrated monitoring system upgrading device described below and the integrated monitoring system upgrading method described above can be referenced to each other.
[0103] like Figure 4 As shown, it is a structural schematic diagram of the integrated monitoring system upgrade device provided by the present invention, which may include: a data acquisition module 401, which is used for S1, when the lower system hardware is connected to the transparent gateway, collecting the input data uploaded by the lower system hardware through the transparent gateway, and uploading the output data to the old integrated monitoring system through the transparent gateway; The data processing module 402 is used for S2, when it is determined that the input data is consistent with the output data, obtaining a first analysis result, the first analysis result being obtained by the old integrated monitoring system analyzing the output data; S3, introducing the target data to the new integrated monitoring system through the transparent gateway, and obtaining a second analysis result, the second analysis result being obtained by the new integrated monitoring system analyzing the target data, the target data being determined based on the output data; The system upgrade module 403 is used for S4, controlling the old integrated monitoring system to be upgraded to the new integrated monitoring system according to the first analysis result and the second analysis result.
[0104] Optionally, the target data is obtained by the new integrated monitoring system based on the following steps: the export data is input into the long short-term memory model through the transparent gateway to obtain the target data output by the long short-term memory model; wherein the long short-term memory model is constructed based on the export data samples and the target data samples.
[0105] Optionally, the first analysis result is obtained by the old integrated monitoring system based on the following steps: parsing and monitoring the export data to generate a first alarm result and a first event, the output form of the first alarm result and the first event is a first configuration monitoring screen and a first report; determining the first analysis result based on the first configuration monitoring screen and the first report.
[0106] Optionally, the system upgrade module 403 is specifically used to determine the similarity between the first analysis result and the second analysis result; when the similarity is greater than a preset threshold, a first prompt message is output, and the first prompt message is used to prompt that the old integrated monitoring system has been successfully upgraded to the new integrated monitoring system, and prompts the dismantling of the old integrated monitoring system; when the similarity is less than or equal to the preset threshold, a second prompt message is output, and the second prompt message is used to prompt that the old integrated monitoring system has failed to be upgraded to the new integrated monitoring system; new target data corresponding to the export data is obtained, and the above step S3 is repeated until the first prompt message is output.
[0107] Optionally, the system upgrade module 403 is specifically used to obtain the first report corresponding to the first analysis result and the second report corresponding to the second analysis result; and determine the similarity according to the message corresponding to the first report and the message corresponding to the second report.
[0108] Optionally, after step S1, the data processing module 402 is also used to reconnect the lower system hardware to the transparent gateway when it is determined that the input data is inconsistent with the output data, and repeat the above step S1 until it is determined that the input data finally obtained is consistent with the output data finally obtained.
[0109] Optionally, the system upgrade module 403 is further used to send the data of the new integrated monitoring system to the station where the lower system hardware is located through the transparent gateway when the similarity is greater than the preset threshold.
[0110] Optionally, the data processing module 402 is also used to control the transparent gateway to switch the connection mode between the lower system hardware and the new integrated monitoring system to the connection between the lower system hardware and the old integrated monitoring system when the new integrated monitoring system fails.
[0111] Optionally, the data processing module 402 is specifically used to switch the connection mode between the lower system hardware and the new integrated monitoring system to the connection mode between the lower system hardware and the old integrated monitoring system according to the way the station gradually switches the transparent gateway.
[0112] Optionally, the data processing module 402 is further used to export a first message corresponding to the inbound data and a second message corresponding to the outbound data; when the first message is identical to the second message, determine that the inbound data is verified to be consistent with the outbound data.
[0113] Optionally, the new integrated monitoring system is installed in an industrial all-in-one device, which adopts a board-type plug-in design; the industrial all-in-one device installed with the new integrated monitoring system is located in the center and the renovated station machine room.
[0114] like Figure 5As shown, it is a schematic diagram of the structure of the electronic device provided by the present invention, and the electronic device may include: a processor (processor) 510, a communication interface (Communications Interface) 520, a memory (memory) 530 and a communication bus 540, wherein the processor 510, the communication interface 520, and the memory 530 communicate with each other through the communication bus 540. The processor 510 can call the logic instructions in the memory 530 to execute the integrated monitoring system upgrade method, which includes: S1. When the lower system hardware is connected to a transparent gateway, the input data uploaded by the lower system hardware is collected through the transparent gateway, and the output data is uploaded to the old integrated monitoring system through the transparent gateway; S2. When it is determined that the input data is consistent with the output data, a first analysis result is obtained, and the first analysis result is obtained by the old integrated monitoring system analyzing the output data; S3. The target data is introduced into the new integrated monitoring system through the transparent gateway, and a second analysis result is obtained, and the second analysis result is obtained by the new integrated monitoring system analyzing the target data, and the target data is determined based on the output data; S4. According to the first analysis result and the second analysis result, the old integrated monitoring system is controlled to upgrade to the new integrated monitoring system.
[0115] In addition, the logic instructions in the above-mentioned memory 530 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product 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.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.
[0116] On the other hand, the present invention also provides a computer program product, which includes a computer program, which can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the integrated monitoring system upgrade method provided by the above methods, which method includes: S1. When the lower system hardware is connected to a transparent gateway, the input data uploaded by the lower system hardware is collected through the transparent gateway, and the output data is uploaded to the old integrated monitoring system through the transparent gateway; S2. When it is determined that the input data and the output data are consistent, a first analysis result is obtained, and the first analysis result is obtained by the old integrated monitoring system analyzing the output data; S3. Introducing target data to the new integrated monitoring system through the transparent gateway, and obtaining a second analysis result, the second analysis result is obtained by the new integrated monitoring system analyzing the target data, and the target data is determined based on the output data; S4. According to the first analysis result and the second analysis result, the old integrated monitoring system is controlled to upgrade to the new integrated monitoring system.
[0117] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the processor executes the integrated monitoring system upgrade method provided by the above-mentioned methods, the method comprising: S1, when the lower system hardware is connected to a transparent gateway, collecting the input data uploaded by the lower system hardware through the transparent gateway, and uploading the output data to the old integrated monitoring system through the transparent gateway; S2, when it is determined that the input data is consistent with the output data, obtaining a first analysis result, the first analysis result is obtained by the old integrated monitoring system analyzing the output data; S3, introducing target data to the new integrated monitoring system through the transparent gateway, and obtaining a second analysis result, the second analysis result is obtained by the new integrated monitoring system analyzing the target data, and the target data is determined based on the output data; S4, according to the first analysis result and the second analysis result, controlling the old integrated monitoring system to upgrade to the new integrated monitoring system.
[0118] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0119] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0120] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A comprehensive monitoring system upgrade method, characterized in that: include: S1. When the lower system hardware is connected to a transparent gateway, the transparent gateway collects the inlet data uploaded by the lower system hardware, and uploads the outlet data to the old integrated monitoring system through the transparent gateway; S2. When it is determined that the input data and the output data are verified to be consistent, obtaining a first analysis result, where the first analysis result is obtained by analyzing the output data by the old integrated monitoring system; S3, introducing the target data into the new integrated monitoring system through the transparent gateway, and obtaining a second analysis result, where the second analysis result is obtained by the new integrated monitoring system analyzing the target data, and the target data is determined based on the export data; S4. According to the first analysis result and the second analysis result, control the old integrated monitoring system to be upgraded to the new integrated monitoring system.
2. The method according to claim 1, characterized in that The target data is obtained by the new integrated monitoring system based on the following steps: Inputting the export data into the long short-term memory model through the transparent gateway to obtain the target data output by the long short-term memory model; Wherein, the long short-term memory model is constructed based on export data samples and target data samples.
3. The method according to claim 1, characterized in that The first analysis result is obtained by the old integrated monitoring system based on the following steps: Parsing and monitoring the export data to generate a first alarm result and a first event, wherein the output forms of the first alarm result and the first event are a first configuration monitoring screen and a first report; The first analysis result is determined according to the first configuration monitoring screen and the first report.
4. The method according to claim 1, characterized in that: According to the first analysis result and the second analysis result, controlling the old integrated monitoring system to upgrade to the new integrated monitoring system includes: determining a similarity between the first analysis result and the second analysis result; When the similarity is greater than a preset threshold, outputting a first prompt message, wherein the first prompt message is used to prompt that the old integrated monitoring system is successfully upgraded to the new integrated monitoring system, and prompting to dismantle the old integrated monitoring system; When the similarity is less than or equal to the preset threshold, a second prompt message is output, wherein the second prompt message is used to prompt that the upgrade of the old integrated monitoring system to the new integrated monitoring system has failed; new target data corresponding to the export data is obtained, and the above step S3 is repeated until the first prompt message is output.
5. The method according to claim 4, characterized in that The determining the similarity between the first analysis result and the second analysis result includes: Obtaining the first report corresponding to the first analysis result and the second report corresponding to the second analysis result; The similarity is determined according to a message corresponding to the first report and a message corresponding to the second report.
6. The method according to claim 1, characterized in that After step S1, the method further comprises: When it is determined that the inlet data is inconsistent with the outlet data, the lower system hardware is reconnected to the transparent gateway, and the above step S1 is repeated until it is determined that the final obtained inlet data is consistent with the final obtained outlet data.
7. The method according to claim 1 or 4, characterized in that: The method further comprises: When the similarity is greater than the preset threshold, the data of the new integrated monitoring system is sent to the station where the lower system hardware is located through the transparent gateway.
8. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: In the event that the new integrated monitoring system fails, the transparent gateway is controlled to switch the connection mode between the lower system hardware and the new integrated monitoring system to the connection between the lower system hardware and the old integrated monitoring system.
9. The method according to claim 8, characterized in that The controlling the transparent gateway to switch the connection mode between the lower system hardware and the new integrated monitoring system to the connection between the lower system hardware and the old integrated monitoring system includes: According to the way that the station gradually switches the transparent gateway, the connection mode between the lower system hardware and the new integrated monitoring system is switched to the connection between the lower system hardware and the old integrated monitoring system.
10. The method according to claim 1, characterized in that The determining that the input data is consistent with the output data includes: Exporting a first message corresponding to the ingress data and a second message corresponding to the egress data; In the case where the first message is identical to the second message, it is determined that the ingress data is consistent with the egress data.
11. The method according to any one of claims 1 to 6, characterized in that: The new integrated monitoring system is installed in an industrial all-in-one device, and the industrial all-in-one device adopts a board-card plug-in design; the industrial all-in-one device installed with the new integrated monitoring system is located in the center and the renovated station machine room.
12. A comprehensive monitoring system upgrade device, characterized in that: include: The data acquisition module is used for S1, when the lower system hardware is connected to the transparent gateway, collecting the input data uploaded by the lower system hardware through the transparent gateway, and uploading the output data to the old integrated monitoring system through the transparent gateway; The data processing module is used for S2, when it is determined that the input data and the output data are verified to be consistent, obtaining a first analysis result, wherein the first analysis result is obtained by the old integrated monitoring system analyzing the output data; S3, introducing the target data into the new integrated monitoring system through the transparent gateway, and obtaining a second analysis result, wherein the second analysis result is obtained by the new integrated monitoring system analyzing the target data, and the target data is determined based on the output data; The system upgrade module is used for S4, controlling the old integrated monitoring system to be upgraded to the new integrated monitoring system according to the first analysis result and the second analysis result.
13. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the integrated monitoring system upgrading method as described in any one of claims 1 to 11 is implemented.
14. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the integrated monitoring system upgrading method as described in any one of claims 1 to 11 is implemented.
