Intelligent patrol system remote upgrading method based on cascade architecture
Through the remote upgrade method of intelligent patrol system based on cascading architecture, the problem of high labor cost and low efficiency of upgrade of substation intelligent patrol system is solved, efficient iteration and security upgrade of system version are achieved, and the reliability and security of the system are improved.
Patent Information
- Application Number
- CN202411697491.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-26
- Publication Date
- 2025-03-18
AI Technical Summary
The upgrade method of the existing substation intelligent patrol system has high labor costs, high operation difficulty and low efficiency, which affects the iteration and functional upgrade of the system version, and poses safety hazards.
The remote upgrade method of intelligent patrol system based on cascading architecture is adopted, and the remote upgrade of the system version is achieved through the steps of automated update package encryption construction and authorization, cascading transmission and decryption, cascading execution and rollback.
It greatly reduces labor costs, improves product iteration efficiency, improves system reliability, stability and security, reduces the risk of entering the site for updates, and avoids unnecessary security risks.
Smart Images

Figure CN119645451A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent patrol of substations, and in particular to a remote upgrading method of an intelligent patrol system based on a cascade architecture. Background Art
[0002] The current upgrade method of the remote intelligent patrol system of the substation is relatively simple. The debugging personnel enter the work area, use the intranet USB flash drive to upload the corresponding system version upgrade package to each patrol system server, and execute the update script for upgrade; if the patrol system server cannot be logged in due to the work area network being unavailable, it is necessary to apply for a job or issue a work ticket to enter the station for processing. If the system is updated in batches, it requires a large number of debugging personnel to enter various municipal companies at the same time to process and update. It is very inconvenient for operation and maintenance personnel to upgrade manually and has high security risks, resulting in high cost requirements, difficult operation, and low efficiency for this upgrade method. It is not conducive to the large-scale application stage of the current intelligent patrol system, and it is not conducive to the iteration of system versions and functional upgrades, which affects the progress of practical improvement.
[0003] In order to reduce the cost of system construction and maintenance, improve the system's operation and maintenance iteration efficiency, accelerate the large-scale application and practical improvement of intelligent patrols, and better ensure the inherent safety of equipment, it is necessary to design a remote upgrade method for intelligent patrol systems based on a cascade architecture. Summary of the invention
[0004] In order to solve the problems of difficulty in upgrading the smart patrol system, high system construction and maintenance costs, and the need to continuously iterate functions as the system becomes practical, the purpose of the present invention is to provide a remote upgrade method for the smart patrol system based on a cascade architecture, which greatly reduces labor costs, improves product iteration efficiency, and improves system reliability, stability and security.
[0005] To achieve the above object, the present invention adopts the following technical solution: a remote upgrade method of a smart patrol system based on a cascade architecture, the method comprising the following steps in order:
[0006] (1) Automated update package encryption construction and authorization: Build a unified update package, integrate, compress, and encrypt the file packages, configuration files, database scripts, update process scripts, and file verification codes that need to be upgraded, convert them into automated update packages, and name them according to the naming rules; conduct a complete test on the automated update packages, and authorize the automated update packages that have completed the test;
[0007] (2) Cascade transmission and decryption: The authorized automation update package is uploaded to the upper system. The upper system verifies the authorization code of the automation update package. Automation update packages that do not meet the requirements will be rejected. For automation update packages that meet the requirements, the system parses them according to the naming rules to determine which category the current automation update package is used for, such as upper level, lower level, or node. After completing the version classification, the automation update package is distributed.
[0008] (3) Cascade execution and rollback: When the system determines that the automated update package belongs to the current level system, it executes the upgrade operation of this automated update package to complete the version upgrade. If an error is encountered, it will roll back to ensure the normal operation of the system.
[0009] The step (1) specifically comprises the following steps in order:
[0010] (1a) Building an automated update package: Pull the code repository to the compilation server, read the version information and product information of the current code, use the compilation tool to compile and encrypt the source code on the compilation server, build an automated update package, filter the current stage change data by comparing the time, integrate and compress the service, configuration file, and database file and name them according to the naming rules, and then transmit the automated update package to the test environment. The naming rule is product model plus version number;
[0011] (1b) Testing the automated update package: After receiving the automated update package, the test environment will first execute the automated update package upgrade operation. After the upgrade is successful, the automated test script will be called to trigger the automated test process and output the test report.
[0012] (1c) Encrypt and authorize the automation update package, encrypt the upgraded automation update package according to the MD5 information of the current automation update package, and output a binary data file.
[0013] The step (2) specifically comprises the following steps in order:
[0014] (2a) Data upload: The encrypted and authorized automation update package is uploaded to the provincial platform or the remote intelligent patrol centralized monitoring system. The first stage of the upload process is verified to confirm whether the current file can be decrypted and whether the name can be parsed normally. For the successfully parsed automation update package, the parsed product model is used to determine whether it matches the current system. If it does not match, the automation update package before decryption is transmitted to the lower-level system. Otherwise, the upgrade operation is performed.
[0015] (2b) Remote data transmission: When the lower-level system has multiple regional or substation patrol systems, it first determines whether the lower-level system belongs to the substation intelligent patrol system or the supporting product under the edge node cascade architecture. If not, it skips and proceeds to the next judgment. Otherwise, the automation update package is transmitted to the file management server through the FTPS secure transmission protocol, and the file address is sent to the lower-level system. After receiving the automation update package, the lower-level system confirms whether the current file can be decrypted and whether the name can be parsed normally. For the automation update package that is parsed successfully, it determines whether it matches the current system based on the parsed product model. If not, the automation update package before decryption is transmitted to the lower-level system. Otherwise, the upgrade operation is performed.
[0016] In step (3), the upgrade operation of the automated update package includes data backup, service update, data update and configuration update.
[0017] It can be seen from the above technical scheme that the beneficial effects of the present invention are: First, the cascade architecture adopted in the present invention greatly reduces labor costs and improves the iteration efficiency of the product. Under the current policy background of large-scale application and practical improvement of intelligent patrols, user needs and on-site problems are increasing. Remote updates can effectively improve the response speed to demand, accelerate version iteration, enhance product usability, increase customer satisfaction, better provide services to customers, and help products improve competitiveness; second, remote upgrades reduce the risk of entering the station to update, avoid unnecessary safety hazards, and make the system upgrade operation process safe and controllable; third, the present invention can improve the reliability, stability and security of the system, thereby providing users with better services, realizing the transformation of substation operation and maintenance operation mode, and promoting professional and high-quality development. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 is a flow chart of the method of the present invention;
[0019] Figure 2 A flowchart of the automated update package encryption construction and authorization in the present invention;
[0020] Figure 3 It is a flow chart of cascade transmission and decryption in the present invention. DETAILED DESCRIPTION
[0021] like Figure 1 As shown, a remote upgrade method of a smart patrol system based on a cascade architecture includes the following steps in sequence:
[0022] (1) Automated update package encryption construction and authorization: Build a unified update package, integrate, compress, and encrypt the file packages, configuration files, database scripts, update process scripts, and file verification codes that need to be upgraded, convert them into automated update packages, and name them according to the naming rules; conduct a complete test on the automated update packages, and authorize the automated update packages that have completed the test;
[0023] (2) Cascade transmission and decryption: The authorized automation update package is uploaded to the upper system. The upper system verifies the authorization code of the automation update package. Automation update packages that do not meet the requirements will be rejected. For automation update packages that meet the requirements, the system parses them according to the naming rules to determine which category the current automation update package is used for, such as upper level, lower level, or node. After completing the version classification, the automation update package is distributed.
[0024] (3) Cascade execution and rollback: When the system determines that the automated update package belongs to the current level system, it executes the upgrade operation of this automated update package to complete the version upgrade. If an error is encountered, it will roll back to ensure the normal operation of the system.
[0025] like Figure 2 As shown, the step (1) specifically includes the following steps in order:
[0026] (1a) Building an automated update package: Pull the code repository to the compilation server, read the version information and product information of the current code, use the compilation tool to compile and encrypt the source code on the compilation server, build an automated update package, filter the current stage change data by comparing the time, integrate and compress the service, configuration file, and database file and name them according to the naming rules, and then transmit the automated update package to the test environment. The naming rule is product model plus version number;
[0027] (1b) Testing the automated update package: After receiving the automated update package, the test environment will first execute the automated update package upgrade operation. After the upgrade is successful, the automated test script will be called to trigger the automated test process and output the test report.
[0028] (1c) Encrypt and authorize the automation update package, encrypt the upgraded automation update package according to the MD5 information of the current automation update package, and output a binary data file.
[0029] like Figure 3 As shown, the step (2) specifically includes the following steps in order:
[0030] (2a) Data upload: The encrypted and authorized automation update package is uploaded to the provincial platform or the remote intelligent patrol centralized monitoring system. The first stage of the upload process is verified to confirm whether the current file can be decrypted and whether the name can be parsed normally. For the successfully parsed automation update package, the parsed product model is used to determine whether it matches the current system. If it does not match, the automation update package before decryption is transmitted to the lower-level system. Otherwise, the upgrade operation is performed.
[0031] (2b) Remote data transmission: When the lower-level system has multiple regional or substation patrol systems, it first determines whether the lower-level system belongs to the substation intelligent patrol system or the supporting product under the edge node cascade architecture. If not, it skips and proceeds to the next judgment. Otherwise, the automation update package is transmitted to the file management server through the FTPS secure transmission protocol, and the file address is sent to the lower-level system. After receiving the automation update package, the lower-level system confirms whether the current file can be decrypted and whether the name can be parsed normally. For the automation update package that is parsed successfully, it determines whether it matches the current system based on the parsed product model. If not, the automation update package before decryption is transmitted to the lower-level system. Otherwise, the upgrade operation is performed.
[0032] In step (3), the upgrade operation of the automated update package includes data backup, service update, data update and configuration update.
[0033] Figure 2 and Figure 3 The upgrade package here refers to the automatic update package.
[0034] The operation and maintenance personnel operate the superior system at the centralized control station or provincial side to update the single station or regional patrol system, without having to visit each substation site in person for manual updates. The operation and maintenance personnel upload the automated update package to the remote intelligent patrol centralized monitoring system, and then transfer the automated update package to the single station or regional patrol system through the secure file transfer protocol FTPS, run the script to execute the update, monitor the update process in real time, and record the update status; after the update, the operation and maintenance personnel immediately perform functional verification, check whether the system is working properly, and continuously monitor the system performance to ensure that the update does not introduce new performance problems. If major problems are found, immediately start the rollback plan and restore to the state before the update. For new functions or interface changes, the operation and maintenance personnel need to organize user training or provide online help, update system documents, including operation manuals, FAQs, and record detailed information on the update, including the content of the change, update time, and executor. The entire process should follow a strict change management process to ensure that every step is recorded and reviewed to meet the information security requirements of the power grid.
[0035] Through various mechanisms in the version execution process, the version upgrade process is guaranteed to ensure that the operation of the system version upgrade process is in a controllable state. In the event of an upgrade failure, the system can also perform a rollback operation to ensure that the system can provide services to customers normally. The system reports the update status and version information in a timely manner, which is conducive to remote version management and checking update errors, and has a vital impact on improving system stability.
[0036] In summary, the present invention solves the problems of high labor cost and low update efficiency of system version upgrade in substation. Take Anhui Province as an example: 76 substations, updated 12 times a year, update time 2 hours, round-trip substation journey 2 hours, labor 25 yuan / hour, business trip allowance 200 yuan / day, accommodation allowance 400 yuan / day, version upgrade using cascade architecture can save 638,400 yuan a year, greatly reducing labor costs. The present invention improves the iteration efficiency of the product. Under the current policy background of large-scale application and practical improvement of intelligent patrol, user needs and on-site problems are increasing. Remote update can effectively improve the demand response speed, speed up version iteration, enhance product usability, increase customer satisfaction, better provide services to customers, and help products improve competitiveness. The use of remote upgrade reduces the risk of entering the station update, avoids unnecessary safety hazards, and makes the system upgrade operation process safe and controllable. In short, the present invention can improve the reliability, stability and security of the system, thereby providing users with better services, realizing the transformation of substation operation and maintenance operation mode, and promoting professional high-quality development.
[0037] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The above embodiments and descriptions only describe the principles of the present invention. The present invention may be subject to various changes and improvements without departing from the spirit and scope of the present invention. These changes and improvements fall within the scope of the present invention. The scope of protection claimed by the present invention is defined by the attached claims and their equivalents.
Claims
1. A remote upgrade method for an intelligent patrol system based on a cascade architecture, characterized in that: The method comprises the following steps in order: (1) Automated update package encryption construction and authorization: Build a unified update package, integrate, compress, and encrypt the file packages, configuration files, database scripts, update process scripts, and file verification codes that need to be upgraded, convert them into automated update packages, and name them according to the naming rules; Conduct a complete test on the prepared automated update package, and authorize the automated update package that has completed the test; (2) Cascade transmission and decryption: The authorized automation update package is uploaded to the upper system. The upper system verifies the authorization code of the automation update package. Automation update packages that do not meet the requirements will be rejected. For automation update packages that meet the requirements, the system parses them according to the naming rules to determine which category the current automation update package is used for, such as upper level, lower level, or node. After completing the version classification, the automation update package is distributed. (3) Cascade execution and rollback: When the system determines that the automated update package belongs to the current level system, it executes the upgrade operation of this automated update package to complete the version upgrade. If an error is encountered, it will roll back to ensure the normal operation of the system.
2. The remote upgrade method of the intelligent patrol system based on the cascade architecture according to claim 1 is characterized in that: The step (1) specifically comprises the following steps in order: (1a) Building an automated update package: Pull the code repository to the compilation server, read the version information and product information of the current code, use the compilation tool to compile and encrypt the source code on the compilation server, build an automated update package, filter the current stage change data by comparing the time, integrate and compress the service, configuration file, and database file and name them according to the naming rules, and then transmit the automated update package to the test environment. The naming rule is product model plus version number; (1b) Testing the automated update package: After receiving the automated update package, the test environment will first execute the automated update package upgrade operation. After the upgrade is successful, the automated test script will be called to trigger the automated test process and output the test report. (1c) Encrypt and authorize the automation update package, encrypt the upgraded automation update package according to the MD5 information of the current automation update package, and output a binary data file.
3. The remote upgrade method of the intelligent patrol system based on the cascade architecture according to claim 1 is characterized in that: The step (2) specifically comprises the following steps in order: (2a) Data upload: Upload the encrypted and authorized automated update package to the provincial platform or the remote intelligent patrol centralized monitoring system. The first stage of the upload process is verified to confirm whether the current file can be decrypted and whether the name can be parsed normally; For the successfully parsed automated update package, determine whether it matches the current system based on the parsed product model. If it does not match, transfer the automated update package before decryption to the lower-level system. Otherwise, perform the upgrade operation. (2b) Remote data transmission: If the lower-level system has multiple regional or substation patrol systems, it will first determine whether the lower-level system belongs to the substation intelligent patrol system or the supporting product under the edge node cascade architecture. If not, it will skip and proceed to the next judgment; otherwise, the automation update package will be transmitted to the file management server through the FTPS secure transmission protocol, and the file address will be sent to the lower-level system. After receiving the automation update package, the lower-level system will confirm whether the current file can be decrypted and whether the name can be parsed normally; For the successfully parsed automated update package, determine whether it matches the current system based on the parsed product model. If it does not match, transfer the automated update package before decryption to the lower-level system. Otherwise, perform the upgrade operation.
4. The remote upgrade method of the intelligent patrol system based on the cascade architecture according to claim 1 is characterized in that: In step (3), the upgrade operation of the automated update package includes data backup, service update, data update and configuration update.