Power grid dispatching automatic control software quality control method, system, equipment and medium
By conducting quality verification and version consistency verification of the automatic grid scheduling control software and output quality control measures, the problem of lack of effective quality control in the existing technology is solved, the software quality and reliability are improved, and the safe and stable operation of the power grid is ensured.
Patent Information
- Application Number
- CN202411584483.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-07
- Publication Date
- 2025-01-14
AI Technical Summary
The existing automatic grid dispatching control software lacks an effective quality control system, which leads to increasingly prominent software quality defects, threatening the safe and stable operation of the power grid, and may even lead to large-scale power outages.
By obtaining software verification resource data, power grid resource data and version information, software quality verification, power grid simulation verification and version consistency verification, output quality control measures to ensure the quality control of the software at all stages of research and development, testing and operation.
It realizes quality control and evaluation of the entire process of automatic control software from R&D to operation, improves the overall quality and reliability of the software, promptly discovers and repairs defects, reduces operation and maintenance costs, and ensures the safe and stable operation of the power grid.
Smart Images

Figure CN119311595A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of power systems and automation thereof, and in particular to a method, system, equipment and medium for quality control of power grid dispatching automatic control software. Background Art
[0002] The high dependence of power grid dispatching operation highlights the extremely important role played by the power dispatching automation system in maintaining power grid security. This system has undergone decades of continuous exploration and evolution. From the initial start-up stage, by introducing and absorbing foreign advanced technologies, it has gradually transitioned to independent research and development, and has achieved a comprehensive catch-up with the international advanced level, and finally entered a new stage of development and improvement. This series of development processes has laid a solid foundation for the current AC / DC hybrid large power grid to achieve safe, stable, economical and efficient operation, as well as the effective consumption of new energy.
[0003] In recent years, the power dispatching automation system has ushered in an unprecedented period of rapid development, with a sharp increase in the number of software and a rapid expansion of code size. In this context, the power grid automatic control software, as the core component of the system, not only has an increasingly complex structure, but also has a wide variety of characteristics of the objects to be controlled, which undoubtedly puts more stringent requirements on the reliability of the software. Because any failure or instability at the software level may directly affect the safe operation of the power grid, causing immeasurable consequences.
[0004] At present, the foundation of power grid operation control under the new power system is undergoing profound changes, showing a series of new features such as diversified objects, differentiated characteristics, complex strategies and hidden risks. In terms of control objects, control strategies and control means, they are unprecedentedly complex, which puts higher challenges and requirements on power grid automatic control software. However, due to the lack of a complete software quality control system, software quality defects are becoming increasingly prominent and have become a major hidden danger restricting the safe and stable operation of the power grid. These defects may cause serious events such as failure of the core functions of the system and malfunction of the control function, which in turn threatens the overall safety of the power grid and may even lead to large-scale power outages.
[0005] In summary, the technical limitations of current power grid dispatching automatic control software, especially the lack of effective quality control and evaluation capabilities, have become a key bottleneck restricting its further development and application. Summary of the invention
[0006] The purpose of the present invention is to provide a power grid dispatching automatic control software quality control method, system, equipment and medium to solve the problem that the automatic control software lacking quality control causes the failure of the core functions of the system and the malfunction of the control function.
[0007] To achieve the above object, the present invention adopts the following technical solutions: In a first aspect, the present invention provides a method for quality control of power grid dispatching automatic control software, comprising: Obtain software verification resource data, power grid resource data and version information; Perform software quality verification, power grid simulation verification and version consistency verification on the acquired software verification resource data, power grid resource data and version information to obtain verification results; Upload the verification results to the preset evaluation unit and output quality control measures based on the evaluation results.
[0008] Furthermore, the acquisition of software verification resource data includes: acquiring multi-level scheduling master station and plant station operating environment resources and physical resources for physical machine / virtual machine operations required for software verification.
[0009] Furthermore, the power grid resource data includes obtaining dynamic and static data of power grid models, measurement models, control models, and planning and forecasting; The version information is software version information collected before and after the test through the main program running path of the automatic control software under test.
[0010] Furthermore, the software quality verification of the acquired software verification resource data includes: According to the multi-level dispatching master station and plant station operating environment resources required for software verification and the physical resources for physical machine / virtual machine operation, the hardware and software environment for power grid operation is built. Static testing is used to verify software source code defects, code structure, rule analysis, and vulnerability mining content. Dynamic testing is used to analyze the business logic and operating characteristics of the automatic control software based on functionality, performance, standard compliance, safety and reliability. All cascade scenarios are traversed, and starting from the vertical instruction chain, the strategies of the upstream and downstream of the instruction chain are sorted out.
[0011] Furthermore, the power grid simulation verification of the acquired power grid resource data includes: By simulating the actual power grid operation status, the power grid resource data is sent to the control system simulation. The control system simulation provides input data for the automatic control software under test and receives the output result data of the automatic control software under test. It simulates the data flow of the automatic control software under test, interacts with the plant simulation and the power grid simulation, and completes the simulation of the entire process of the automatic control software under test running in the control system. The specific process is: The control system simulation sends control commands, performs simulation, and feeds back plant information to the power grid simulation and control system simulation, completing the simulation interaction with the power grid simulation and control system simulation.
[0012] Furthermore, the obtained version information is verified for version consistency: Version consistency check includes hash check and abnormal alarm function; hash check parses, splits and compares the software version information identifier through the obtained on-site version information and the test version chain information to determine whether the versions are consistent, and generates verification records and response verification information; The abnormal alarm is to send a verification alarm message after locating the abnormal version file through verification records, and display the verification information and verification results.
[0013] Furthermore, uploading the verification results to a preset evaluation unit and outputting quality control measures according to the evaluation results include: The evaluation unit receives the verification results of software quality verification, power grid simulation verification and version consistency verification, conducts a comprehensive evaluation of the quality of the automatic control software under test according to the quality evaluation rules, and updates the quality control measures based on the evaluation results.
[0014] In a second aspect, the present invention provides a power grid dispatching automatic control software quality control system, comprising: A data acquisition module, used to acquire software verification resource data, power grid resource data and version information; A result verification module is used to perform software quality verification, power grid simulation verification and version consistency verification on the acquired software verification resource data, power grid resource data and version information to obtain verification results; The quality control module is used to upload the verification results to the preset evaluation unit and output quality control measures based on the evaluation results.
[0015] Further, the obtaining of software verification resource data includes: obtaining multi-level scheduling master station and plant station operating environment resources and physical resources for physical machine / virtual machine operation required for software verification; The power grid resource data includes dynamic and static data of power grid models, measurement models, control models, and planning forecasts.
[0016] Furthermore, the version information is software version information collected before and after the test through the main program running path of the automatic control software under test. Furthermore, the software quality verification of the acquired software verification resource data includes: According to the multi-level dispatching master station and plant station operating environment resources required for software verification and the physical resources for physical machine / virtual machine operation, the hardware and software environment for power grid operation is built. Static testing is used to verify software source code defects, code structure, rule analysis, and vulnerability mining content. Dynamic testing is used to analyze the business logic and operating characteristics of the automatic control software based on functionality, performance, standard compliance, safety and reliability. All cascade scenarios are traversed, and starting from the vertical instruction chain, the strategies of the upstream and downstream of the instruction chain are sorted out.
[0017] Furthermore, the power grid simulation verification of the acquired power grid resource data includes: By simulating the actual power grid operation status, the power grid resource data is sent to the control system simulation. The control system simulation provides input data for the automatic control software under test and receives the output result data of the automatic control software under test. It simulates the data flow of the automatic control software under test, interacts with the plant simulation and the power grid simulation, and completes the simulation of the entire process of the automatic control software under test running in the control system. The specific process is: The control system simulation sends control commands, performs simulation, and feeds back plant information to the power grid simulation and control system simulation, completing the simulation interaction with the power grid simulation and control system simulation.
[0018] Furthermore, the obtained version information is verified for version consistency: Version consistency check includes hash check and abnormal alarm function; hash check parses, splits and compares the software version information identifier through the obtained on-site version information and the test version chain information to determine whether the versions are consistent, and generates verification records and response verification information; The abnormal alarm is to send a verification alarm message after locating the abnormal version file through verification records, and display the verification information and verification results.
[0019] Furthermore, uploading the verification results to a preset evaluation unit and outputting quality control measures according to the evaluation results include: The evaluation unit receives the verification results of software quality verification, power grid simulation verification and version consistency verification, conducts a comprehensive evaluation of the quality of the automatic control software under test according to the quality evaluation rules, and updates the quality control measures based on the evaluation results.
[0020] In a third aspect, the present invention provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the power grid dispatching automatic control software quality control method when executing the computer program.
[0021] In a fourth aspect, the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the power grid dispatching automatic control software quality control method is implemented.
[0022] Compared with the prior art, the present invention has the following technical effects: The present invention provides a power grid dispatching automatic control software quality control and evaluation system, which realizes the quality control and evaluation of the automatic control software from research and development to operation by integrating multiple modules such as quality verification and evaluation, version control, and qualification certification, and covers various links such as research and development, testing, operation, and defect elimination of the automatic control software. Through the quality control of the whole process, defects in the software can be discovered and repaired in time, thereby improving the overall quality of the software.
[0023] The present invention systematically obtains software verification resource data, power grid resource data and version information, and performs corresponding software quality verification, power grid simulation verification and version consistency verification, and finally uploads the verification results to the evaluation unit to output quality control measures. This ensures that the power grid dispatching automatic control software can be fully quality controlled in all stages such as research and development, testing and operation, thereby improving the overall quality and reliability of the software.
[0024] The present invention provides a solid foundation for software quality verification by clearly obtaining the multi-level scheduling master station and plant station operating environment resources and physical resources for physical machine / virtual machine operations required for software verification, ensuring that the verification process can truly reflect the performance of the software in the actual operating environment, thereby improving the accuracy and effectiveness of the verification.
[0025] The specific content of the power grid resource data and version information of the present invention includes the dynamic and static data of the power grid model, measurement model, control model, plan forecast, and the collection and management method of version information. This provides a clear data basis for power grid simulation verification and version consistency verification, ensuring the accuracy and traceability of the verification process.
[0026] The present invention comprehensively verifies the source code, business logic and operation characteristics of the software by combining static testing and dynamic testing. Static testing can find defects and vulnerabilities in the code, while dynamic testing verifies the functionality, performance, standard compliance and security of the software. This comprehensive testing method ensures the stability and reliability of the software in various scenarios.
[0027] The present invention simulates the actual power grid operation state and uses the interaction of the control system simulation and the plant simulation to complete the simulation of the entire operation process of the automatic control software under test in the control system. This simulation verification method can accurately evaluate the performance of the software in the actual power grid environment, timely discover and repair potential problems, thereby improving the stability and reliability of the software in actual operation.
[0028] The present invention ensures the consistency of the test version and the field running version through hash verification and abnormal alarm functions. This avoids software failures caused by inconsistent versions and improves the quality and stability of the software. At the same time, the unique coding and unified management of version information also ensure the accuracy and traceability of version information.
[0029] The present invention uploads the verification results to a preset evaluation unit and outputs quality control measures according to the evaluation results. This method realizes comprehensive evaluation and control of the quality of automatic control software. This helps to timely discover and solve problems in the software, improve the quality and reliability of the software, and reduce operation and maintenance costs.
[0030] In summary, the present invention realizes the quality control and evaluation of the entire process of automatic control software from research and development to operation by integrating multiple modules such as quality verification and evaluation, version control, and qualification certification. This comprehensive quality control method not only improves the quality, stability and security of the software, but also provides strong support for the sustainable development of the power industry. In addition, the system also reduces the coupling between modules and improves the scalability and maintainability of the system by providing supporting resources such as model data, basic environment, and basic software. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 It is a flow chart of the present invention.
[0032] Figure 2 This is a logic block diagram of the quality control and evaluation of the power grid dispatching automatic control software of the present invention.
[0033] Figure 3 This is a specific structural diagram of the power grid dispatching automatic control software quality control and evaluation system of the present invention. DETAILED DESCRIPTION
[0034] The present invention is further described below in conjunction with the accompanying drawings: Example 1, please refer to Figure 1 The present invention provides a method for quality control of power grid dispatching automatic control software, comprising: Obtain software verification resource data, power grid resource data and version information; Perform software quality verification, power grid simulation verification and version consistency verification on the acquired software verification resource data, power grid resource data and version information to obtain verification results; Upload the verification results to the preset evaluation unit and output quality control measures based on the evaluation results.
[0035] The power grid dispatching automatic control software quality control method aims to ensure the high quality of the software, the accuracy of the power grid simulation and the consistency of the version information. The present invention first obtains software verification resource data, power grid resource data and version information, which are the basis for subsequent verification work. By fully obtaining these data, the comprehensiveness and accuracy of the verification work can be ensured.
[0036] Perform software quality verification on the acquired software verification resource data, including functional testing, performance testing, security testing, etc., to ensure that the software meets the predetermined quality standards and requirements.
[0037] Using grid resource data to conduct grid simulation verification can simulate the actual operation status of the grid and verify the adaptability and stability of the software in the grid. This helps to discover possible problems in the software during grid operation and repair them in a timely manner.
[0038] Verifying the consistency of version information can ensure consistency between different versions of the software and avoid software failures or compatibility issues caused by version differences.
[0039] Uploading the verification results to the preset evaluation unit helps to achieve centralized management and analysis of the verification results.
[0040] According to the evaluation results, the corresponding quality control measures are output. These measures can propose specific solutions and improvement suggestions for the problems found in the verification to ensure the continuous improvement of software quality.
[0041] Through multi-dimensional verification and timely quality control measures, the quality of the software can be significantly improved, ensuring the stability and reliability of the software in power grid dispatching.
[0042] Grid simulation verification can simulate the actual operation status of the grid and provide strong support for software optimization and improvement. At the same time, it also helps to improve the efficiency and safety of grid operation.
[0043] Version consistency verification can ensure that each version of the software is consistent, avoiding compatibility issues or software failures caused by version differences. This helps reduce maintenance costs and improve user satisfaction.
[0044] By uploading the verification results to the evaluation unit and realizing centralized management and analysis of the evaluation results, management efficiency can be improved. This helps to discover and solve problems in a timely manner and ensure the continuous improvement of software quality.
[0045] In summary, the power grid dispatching automatic control software quality control method can significantly improve the quality of the software, enhance the accuracy of power grid simulation, ensure version consistency and improve management efficiency by fully acquiring verification resources, conducting multi-dimensional verification, uploading verification results and outputting quality control measures. This is of great significance for ensuring the stability and reliability of power grid dispatching automatic control software.
[0046] Embodiment 2, the present invention provides a method for quality control of power grid dispatching automatic control software, specifically comprising: Data collection phase In the data collection stage, the present invention first constructs a complete basic support system, including resources such as model data, basic environment and basic software.
[0047] Basic support: Model data: responsible for managing graphic and numerical samples, providing accurate model and data support for the simulation environment, and ensuring the accuracy and effectiveness of simulation verification.
[0048] Basic environment: Build a multi-level dispatching master station and plant station operating environment to simulate the actual power grid operation scenario and provide the necessary environmental foundation for software quality verification.
[0049] Basic software: Provides basic resources such as physical machine / virtual machine operating system to ensure that the software can be verified in different operating system and hardware environments.
[0050] Data acquisition: Obtain the required data and resources from the basic support modules on demand to provide sufficient data support for the subsequent data processing stage.
[0051] Data processing stage In the data processing stage, the present invention mainly revolves around the quality verification and evaluation module, the version control module and the qualification authentication module.
[0052] Quality verification and evaluation module: Simulation service: Through power grid simulation, the operation status of the power grid is simulated to provide a data basis for quality verification; the control system simulation provides a basic platform and application function simulation for the software under test; the plant simulation accepts control commands and simulates the execution of instructions to ensure the stability and reliability of the software in actual operation.
[0053] Quality verification: Static testing is used to verify software source code defects, etc., and dynamic testing is used to analyze software business logic and operating characteristics, and to perform strategy verification. At the same time, test cases are managed throughout the entire cycle to ensure the comprehensiveness and effectiveness of verification.
[0054] Operational evaluation: Collect various indicators and conduct multi-dimensional analysis and evaluation to provide a strong basis for the continuous improvement of software quality.
[0055] Version control module: Version information collection: mark version information, achieve unified management, and ensure the accuracy and traceability of version information.
[0056] Consistency check: Verify version consistency through hash verification and other means to avoid software failures caused by version inconsistencies.
[0057] Version information management and control platform: provides functions such as evidence management and device management to ensure the integrity and security of version information.
[0058] Qualification certification module: Theoretical exam: enter questions, answer questions and score them online, and evaluate the theoretical knowledge level of the personnel.
[0059] Practical exam: automatically generate test scripts, conduct practical answering and scoring, and examine personnel's actual operational capabilities.
[0060] Certification management: Provides a qualification certification management portal to manage the examination process and certificates to ensure the legitimacy and validity of personnel qualifications.
[0061] Processing results stage In the result processing stage, the present invention uploads the test results, version information, examination results and other data generated by each module to the corresponding management module.
[0062] Result upload: Each module will upload the generated data to the management module to provide comprehensive data support for comprehensive evaluation.
[0063] Comprehensive evaluation: The operation evaluation module receives the result data forwarded by each module, and conducts a comprehensive evaluation based on the quality evaluation rules to ensure the objectivity and fairness of the evaluation.
[0064] Quality control: formulate targeted quality control measures based on the comprehensive evaluation results, continuously improve software quality, and ensure high-quality operation of power grid dispatching automatic control software.
[0065] This solution aims at the quality control of power grid dispatching automatic control software. Through the three major steps of data collection, data processing, and processing results and the collaborative work of four core modules, it realizes the comprehensive control and evaluation of software quality. Through the implementation of this solution, the quality level and reliability of automatic control software can be effectively improved to ensure the safe and stable operation of power grid dispatching.
[0066] Example 3, the module unit of the present invention, please refer to Figure 2 and Figure 3 : Basic support module The basic support includes model data, basic environment, basic software, environmental support and management software, which provide resource and service support for other application modules of the system. The model data module has functions such as graph-model-digital sample management and graph-model-digital integrated compilation, providing model and data support for the operation of the simulation environment; the basic environment builds a multi-level dispatching master station and plant station operation environment, supporting the testing and verification of automatic control software based on smart grid dispatching control system (D5000), new generation dispatching technical support system, power dispatching control cloud platform, etc.; the basic software provides basic resources such as physical machine / virtual machine operating system, relational database, MPP database, column database, etc. to support the basic operation of the software; the environment support has functions such as database synchronization, high availability, multi-path storage, distributed storage and computing virtualization; the management software supports the monitoring and allocation of resources.
[0067] Quality verification and evaluation module The quality verification and evaluation module includes simulation services, tested software, verification and evaluation, etc., supporting automatic control software testing verification and quality evaluation.
[0068] (1) Simulation service The simulation service includes power grid simulation, control system simulation, and plant simulation. The power grid simulation module simulates the actual power grid operation status and has the functions of transient simulation interaction, long-term operation section generation, long-term steady-state simulation, and long-term operation evaluation. It can send power grid resource data to the control system simulation and provide a data basis for the quality verification of the automatic control software under test.
[0069] The control system simulation provides a basic platform for the automatic control software under test and simulates its related application functions. It can provide input data for the automatic control software under test, receive output result data of the automatic control software under test, simulate the relevant data flow of the automatic control software under test, and can interact with plant simulation and power grid simulation to realize the simulation of the whole process of the automatic control software under test running in the control system.
[0070] The plant simulation accepts the control commands sent by the control system simulation and performs simulated execution of the commands. It can feed back the plant information to the power grid simulation and the control system simulation, and realize simulated interaction with the power grid simulation and the control system simulation.
[0071] (2) Quality verification and evaluation Quality verification includes functions such as static testing, dynamic testing, test verification management and operation evaluation.
[0072] Static testing verifies software source code defects, code structure, rule analysis, and vulnerability mining, and supports comprehensive evaluation of the quality of the software code being tested.
[0073] Based on routine functions, performance, standard compliance, safety and reliability, dynamic testing analyzes the business logic and operating characteristics of the automatic control software. Starting from the vertical instruction chain, it sorts out the strategies of the upstream and downstream of the instruction chain, and transforms the original single function verification into a strategy verification that can traverse all cascade scenarios, thereby improving the adequacy and effectiveness of the control strategy verification.
[0074] The verification management module has the ability to manage the entire quality verification cycle and compile test cases.
[0075] Operation evaluation supports functions such as recording, collecting, analyzing and evaluating indicators of the software under test. It collects indicators such as execution, control performance, and system availability of the automatic control software under test, and conducts multi-dimensional analysis and evaluation of the software operation status.
[0076] Version control module The version control module includes version information collection, version consistency verification and version information control platform, etc., which supports version information control of automatic control software.
[0077] (1) Version information collection Version information collection includes functions such as version information labeling and data management, generates a unique version information code, and uniformly manages software versions and codes.
[0078] Version information annotation has the function of annotating the verification version and the on-site running version. It can generate corresponding annotation files for executable files and code files. When deployed on the server where the application is located, annotation files can be generated manually or periodically and stored in a specified folder.
[0079] Version data management includes test verification version data management and field operation version data management functions, and performs statistical queries on test verification version information and field operation version information.
[0080] (2) Consistency check Version consistency verification includes functions such as hash verification and abnormal alarm. Hash verification verifies the consistency between the release status of the automatic control software version information and the on-site running version based on the hash value verification obtained through the on-site version information and the test version chain information. It determines whether the versions are consistent by parsing, splitting and comparing the software version information identifier, and can generate verification records and detailed verification information of the response.
[0081] After analyzing the causes of software version inconsistencies through detailed verification records and locating files with abnormal versions, the abnormal alarm quickly sends verification alarm information and displays the verification information and results.
[0082] (3) Version information management platform The version information management and control platform includes functions such as evidence management, equipment management, operation management and identity management, supporting efficient and reliable management of on-site running versions and test verification versions of different system nodes.
[0083] Evidence management supports customized and highly flexible business data on-chain, supports flexible and automated trusted evidence storage, and has functions such as home page query, evidence entity, on-chain tasks, and evidence log.
[0084] Device management supports the management of system nodes and has functions such as basic node information, logs, and operation monitoring.
[0085] Operation management covers all important operations of users by providing a security audit mechanism.
[0086] Identity management supports functions such as role management, account management, and account role review.
[0087] Qualification certification module (1) Theoretical examination It supports the input or import of objective questions and standard answers; it has the function of selecting questions from the question bank; it supports online answering and automatically stops the test after the timer ends; it can score online according to the standard answers and archive the test papers of candidates.
[0088] (2) Practical examination According to the test question settings, it supports automatic generation of test question running scripts to achieve automatic triggering of test questions.
[0089] It supports one-click control of student computers on the instructor's computer, including the distribution of practical test questions and restoration of the practical environment. It has a practical answering page that supports students uploading screenshots, logs and other process record files. For questions with fixed answers and easy-to-analyze results, automatic scoring can be achieved, and the practical answering records can be archived.
[0090] (3) Authentication management It provides a qualification certification management portal, publishes annual examination batches and examination results, supports candidate registration, admission ticket download and certificate download, and can archive and manage examination process materials and certificates.
[0091] The quality control and evaluation process of the above automatic control software: (1) According to the verification requirements of automatic control software, the platform layer obtains dynamic and static data such as power grid model, measurement model, control model, plan forecast, and environmental resources and physical resources required for software verification on demand. After obtaining the basic resources, each functional module of the application layer conducts functional verification separately and can share the result data with each other.
[0092] (2) Quality verification and evaluation module: After obtaining basic resources and data resources, the internal data flow of the simulation service module interacts through the internal communication bus. The control system simulation sends control instructions to the plant simulation, and the plant simulation forwards the instruction processing results to the power grid simulation. The power grid simulation forwards the simulation results to the control system simulation, realizing the closed-loop simulation of the power grid control master station and substation.
[0093] (3) Based on the acquired model data and simulation scenarios, static and dynamic testing methods are used to complete tests on software functions, performance, reliability, security, etc., and the test results are uploaded to the test verification management module.
[0094] (4) Version control module: The software version information is collected before and after the test through the main program running path of the automatic control software under test, and the collection results and consistency verification results are forwarded to the operation evaluation module through the version control platform.
[0095] (5) Qualification certification module: Based on the basic environment resources obtained, the examination environment is created, and theoretical examinations and practical examinations are conducted. The examination results are automatically sent to the certification management module, and the certification management module synchronizes the results to the operation evaluation module.
[0096] (6) Quality verification and evaluation module: The operation evaluation module receives the result data forwarded by the test verification management, version control platform, and certification management modules, and implements quality control and evaluation of the automatic control software under test based on the quality evaluation rules.
[0097] In yet another embodiment of the present invention, a power grid dispatching automatic control software quality control system is provided, which can be used to implement the above-mentioned power grid dispatching automatic control software quality control method. Specifically, the system includes: A data acquisition module, used to acquire software verification resource data, power grid resource data and version information; A result verification module is used to perform software quality verification, power grid simulation verification and version consistency verification on the acquired software verification resource data, power grid resource data and version information to obtain verification results; The quality control module is used to upload the verification results to the preset evaluation unit and output quality control measures based on the evaluation results.
[0098] The division of modules in the embodiments of the present invention is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional module in each embodiment of the present invention may be integrated into one processor, or may exist physically separately, or two or more modules may be integrated into one module. The above-mentioned integrated modules may be implemented in the form of hardware or in the form of software functional modules.
[0099] In another embodiment of the present invention, a computer device is provided, the computer device including a processor and a memory, the memory is used to store a computer program, the computer program includes program instructions, and the processor is used to execute the program instructions stored in the computer storage medium. The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc., which are the computing core and control core of the terminal, which are suitable for implementing one or more instructions, and are specifically suitable for loading and executing one or more instructions in a computer storage medium to implement the corresponding method flow or corresponding function; the processor described in the embodiment of the present invention can be used for the operation of the power grid dispatching automatic control software quality control method.
[0100] In another embodiment of the present invention, the present invention further provides a storage medium, specifically a computer-readable storage medium (Memory), which is a memory device in a computer device for storing programs and data. It is understandable that the computer-readable storage medium here may include both a built-in storage medium in a computer device and an extended storage medium supported by the computer device. The computer-readable storage medium provides a storage space, which stores the operating system of the terminal. In addition, one or more instructions suitable for being loaded and executed by a processor are also stored in the storage space, and these instructions may be one or more computer programs (including program codes). It should be noted that the computer-readable storage medium here may be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory. The processor may load and execute one or more instructions stored in the computer-readable storage medium to implement the corresponding steps of the method for quality control of power grid dispatching automatic control software in the above embodiment.
[0101] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0102] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0103] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0104] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0105] 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 above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A method for quality control of power grid dispatching automatic control software, characterized in that: include: Obtain software verification resource data, power grid resource data and version information; Perform software quality verification, power grid simulation verification and version consistency verification on the acquired software verification resource data, power grid resource data and version information to obtain verification results; Upload the verification results to the preset evaluation unit and output quality control measures based on the evaluation results.
2. The method for quality control of power grid dispatching automatic control software according to claim 1, characterized in that: The obtaining of software verification resource data includes: obtaining multi-level scheduling master station and plant station operating environment resources and physical resources for physical machine / virtual machine operation required for software verification.
3. The power grid dispatching automatic control software quality control method according to claim 1 is characterized in that: The power grid resource data includes power grid models, measurement models, control models, dynamic and static data of planning and forecasting; The version information is software version information collected before and after the test through the main program running path of the automatic control software under test.
4. The method for quality control of power grid dispatching automatic control software according to claim 2, characterized in that: The performing software quality verification on the acquired software verification resource data includes: According to the multi-level dispatching master station and plant station operating environment resources required for software verification and the physical resources for physical machine / virtual machine operation, the hardware and software environment for power grid operation is built. Static testing is used to verify software source code defects, code structure, rule analysis, and vulnerability mining content. Dynamic testing is used to analyze the business logic and operating characteristics of the automatic control software based on functionality, performance, standard compliance, safety and reliability. All cascade scenarios are traversed, and starting from the vertical instruction chain, the strategies of the upstream and downstream of the instruction chain are sorted out.
5. The method for quality control of power grid dispatching automatic control software according to claim 1, characterized in that: The power grid simulation verification of the acquired power grid resource data includes: By simulating the actual power grid operation status, the power grid resource data is sent to the control system simulation. The control system simulation provides input data for the automatic control software under test and receives the output result data of the automatic control software under test. It simulates the data flow of the automatic control software under test, interacts with the plant simulation and the power grid simulation, and completes the simulation of the entire process of the automatic control software under test running in the control system. The specific process is: The control system simulation sends control commands, performs simulation, and feeds back plant information to the power grid simulation and control system simulation, completing the simulation interaction with the power grid simulation and control system simulation.
6. The method for quality control of power grid dispatching automatic control software according to claim 1, characterized in that: The obtained version information is verified for version consistency: Version consistency check includes hash check and abnormal alarm function; hash check parses, splits and compares the software version information identifier through the obtained on-site version information and the test version chain information to determine whether the versions are consistent, and generates verification records and response verification information; The abnormal alarm is to send a verification alarm message after locating the abnormal version file through verification records, and display the verification information and verification results.
7. The method for quality control of power grid dispatching automatic control software according to claim 1, characterized in that: The verification results are uploaded to a preset evaluation unit, and quality control measures are output according to the evaluation results, including: The evaluation unit receives the verification results of software quality verification, power grid simulation verification and version consistency verification, conducts a comprehensive evaluation of the quality of the automatic control software under test according to the quality evaluation rules, and updates the quality control measures based on the evaluation results.
8. The power grid dispatching automatic control software quality control system is characterized by: include: A data acquisition module, used to acquire software verification resource data, power grid resource data and version information; A result verification module is used to perform software quality verification, power grid simulation verification and version consistency verification on the acquired software verification resource data, power grid resource data and version information to obtain verification results; The quality control module is used to upload the verification results to the preset evaluation unit and output quality control measures based on the evaluation results.
9. The power grid dispatching automatic control software quality control system according to claim 8, characterized in that: The obtaining of software verification resource data includes: obtaining multi-level scheduling master station and plant station operating environment resources and physical resources for physical machine / virtual machine operation required for software verification.
10. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method for quality control of power grid dispatching automatic control software as described in any one of claims 1 to 7 is implemented.
11. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method for quality control of power grid dispatching automatic control software as described in any one of claims 1 to 7 is implemented.