CN113779776A - Test profile modeling method, system, equipment and medium for power grid dispatching application - Google Patents

Test profile modeling method, system, equipment and medium for power grid dispatching application Download PDF

Info

Publication number
CN113779776A
CN113779776A CN202110969511.4A CN202110969511A CN113779776A CN 113779776 A CN113779776 A CN 113779776A CN 202110969511 A CN202110969511 A CN 202110969511A CN 113779776 A CN113779776 A CN 113779776A
Authority
CN
China
Prior art keywords
power grid
application
grid system
dispatching application
scene
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110969511.4A
Other languages
Chinese (zh)
Other versions
CN113779776B (en
Inventor
宫玲琳
李宇佳
陈宏福
徐鑫
刘芳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Electric Power Research Institute Co Ltd CEPRI
State Grid Shanghai Electric Power Co Ltd
Original Assignee
China Electric Power Research Institute Co Ltd CEPRI
State Grid Shanghai Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Electric Power Research Institute Co Ltd CEPRI, State Grid Shanghai Electric Power Co Ltd filed Critical China Electric Power Research Institute Co Ltd CEPRI
Priority to CN202110969511.4A priority Critical patent/CN113779776B/en
Publication of CN113779776A publication Critical patent/CN113779776A/en
Application granted granted Critical
Publication of CN113779776B publication Critical patent/CN113779776B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/04Constraint-based CAD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/08Probabilistic or stochastic CAD

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Economics (AREA)
  • Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Evolutionary Computation (AREA)
  • Computer Hardware Design (AREA)
  • Public Health (AREA)
  • Water Supply & Treatment (AREA)
  • General Health & Medical Sciences (AREA)
  • Geometry (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Supply And Distribution Of Alternating Current (AREA)

Abstract

The invention belongs to the field of power system automation, and discloses a test profile modeling method, a system, equipment and a medium for power grid dispatching application, which comprises the following steps: acquiring a plurality of elements influencing the operation of the power grid dispatching application and a service logic relation of the power grid dispatching application; obtaining an incidence relation among a plurality of elements according to a service logic relation of power grid dispatching application, and constructing a plurality of power grid system scenes according to the incidence relation among the plurality of elements; under each power grid system scene, obtaining a logical relation of the power grid system scene according to a service logical relation of power grid dispatching application; according to the logic relation of the power grid system scene, combining preset execution probability and constraint conditions to obtain a power grid system scene profile; and combining the power grid system scene sections of the power grid system scenes to obtain a test section of the power grid dispatching application. The method can better describe the work flow of the power grid dispatching application, and then provides an important basic role for the subsequent application reliability testing link.

Description

Test profile modeling method, system, equipment and medium for power grid dispatching application
Technical Field
The invention belongs to the field of power system automation, and relates to a test profile modeling method, a system, equipment and a medium for power grid dispatching application.
Background
The application reliability test is a test performed to guarantee and verify the application reliability, is one of random tests, adopts a test method for performing random tests on applications based on an application operation profile, and is mainly characterized in that the applications are tested according to the actual application use mode of a user. The key point of the application of the reliability test is that the fault which has a large influence on the reliability is searched by designing a test case, running the test and collecting failure data, and the requirement on the reliability is met in a short time. The key point for successfully realizing the reliability test is to design a case meeting the test requirement, and through test operation, the evaluation data capable of truly reflecting the reliability, safety and other aspects of the application operation and the like is obtained, so that a quantitative basis is provided for the reliability evaluation of the application.
The power grid dispatching automation real-time monitoring application is an integrated and intensive system oriented to dispatching production services, and is used for providing technical support for services such as monitoring, analysis, control, planning, evaluation, dispatching management and the like of power grid operation. The complex function and the distributed design of the system make the system have no obvious operation, have the main characteristics of system interactivity, environmental influence, activity time sequence and the like in the running process, and have special technical requirements when the system is applied to a reliability test section structure.
However, the conventional operation profile only describes the application from the perspective of a single operator, and does not relate to the influence of the external environment on the running process of the application, and in the process of describing the operation, only describes the sequence of the operation, and does not relate to the time relationship between the operations, so that the conventional operation profile does not have the factors described in the above technical requirements. The existing reliability testing technology is difficult to accurately and properly perform reliability testing profile description modeling on the power grid dispatching application.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a test profile modeling method, a test profile modeling system, a test profile modeling device and a test profile modeling medium for power grid dispatching application.
In order to achieve the purpose, the invention adopts the following technical scheme to realize the purpose:
in a first aspect of the present invention, a test profile modeling method for power grid dispatching application includes the following steps:
acquiring a plurality of elements influencing the operation of the power grid dispatching application and a service logic relation of the power grid dispatching application;
obtaining an incidence relation among a plurality of elements according to a service logic relation of power grid dispatching application, and constructing a plurality of power grid system scenes according to the incidence relation among the plurality of elements;
under each power grid system scene, acquiring all use modes contained in the power grid dispatching application, all functions contained in each use mode, incidence relations among the functions, all operations contained in each function and operation flows of each operation according to the service logic relations of the power grid dispatching application to obtain the logic relations of the power grid system scene;
under each power grid system scene, according to the logical relation of the power grid system scene, combining the execution probability and constraint condition preset by each use mode, the execution probability and constraint condition preset by each function and the execution probability and constraint condition preset by each operation to obtain a power grid system scene profile;
and combining the power grid system scene sections of the power grid system scenes to obtain a test section of the power grid dispatching application.
The test section modeling method for the power grid dispatching application is further improved in that:
the elements comprise one or more of user classification, operation mode, operation environment and use condition.
The power grid system scene comprises one or more of a power grid use scene, a power grid operation continuous scene and a power grid operation concurrent scene.
The execution probability preset by each use mode, the execution probability preset by each function and the execution probability preset by each operation are obtained according to the statistics of historical data of the same or similar applications or according to the statistics of user research data.
Further comprising: according to the power grid system scene section of each power grid system scene, using the use modes, the functions and the operations as nodes, using the incidence relations among the functions and the operation flows as paths among the nodes, using the execution probability preset by each use mode, the execution probability preset by each function and the execution probability preset by each operation as the weight of the paths, adding the start node and the end node, constructing a power grid system scene network diagram of each power grid system scene, and combining the power grid system scene network diagrams of each power grid system scene to obtain a test section network diagram of the power grid dispatching application.
Further comprising: and testing the test section of the power grid dispatching application to obtain a test result.
The specific method for testing the test profile of the power grid dispatching application to obtain the test result comprises the following steps:
checking whether the association relation among the plurality of elements is correct or not to obtain a first sub-checking result;
in each power grid system scene, checking whether all use modes contained in the power grid dispatching application, all functions contained in each use mode, incidence relations among the functions, all operations contained in each function and operation flows of the operations are correct or not to obtain a second sub-check result;
in each power grid system scene, checking whether the execution probability and the constraint condition preset by each use mode, the execution probability and the constraint condition preset by each function, the execution probability and the constraint condition preset by each operation are correct or not to obtain a third sub-check result;
when the first sub-inspection result, the second sub-inspection result and the third sub-inspection result are all correct, the inspection result is that the inspection is passed; otherwise, the test result is that the test is not passed.
In a second aspect of the present invention, a test profile modeling system for power grid dispatching application includes:
the data acquisition module is used for acquiring a plurality of elements influencing the operation of the power grid dispatching application and the service logic relationship of the power grid dispatching application;
the scene construction module is used for obtaining incidence relations among a plurality of elements according to the service logic relations of the power grid dispatching application and constructing a plurality of power grid system scenes according to the incidence relations among the plurality of elements;
the logic relationship determination module is used for acquiring all use modes contained in the power grid dispatching application, all functions contained in each use mode, the incidence relationship among the functions, all operations contained in each function and the operation flow of each operation according to the service logic relationship of the power grid dispatching application under each power grid system scene to obtain the logic relationship of the power grid system scene;
the profile construction module is used for obtaining a power grid system scene profile by combining the preset execution probability and constraint condition of each use mode, the preset execution probability and constraint condition of each function and the preset execution probability and constraint condition of each operation according to the logic relation of the power grid system scene under each power grid system scene;
and the combination module is used for combining the power grid system scene profiles of the power grid system scenes to obtain a test profile of the power grid dispatching application.
In a third aspect of the present invention, a computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor when executing the computer program implements the steps of the test profile modeling method of the grid dispatching application as described above.
In a fourth aspect of the present invention, a computer readable storage medium storing a computer program is provided, wherein the computer program, when being executed by a processor, implements the steps of the test profile modeling method for a grid dispatching application as described above.
Compared with the prior art, the invention has the following beneficial effects:
according to the test profile modeling method for the power grid dispatching application, the incidence relation among the elements is obtained by obtaining the elements influencing the operation of the power grid dispatching application and the service logic relation of the power grid dispatching application, and a plurality of power grid system scenes are constructed according to the incidence relation among the elements, so that the modeling of the whole environment and conditions of the operation of a power grid system is realized, the characteristics of system interactivity, environment influence and the like of the power grid dispatching application are fully considered, the constructed power grid system scenes are more consistent with the actual situation of the power grid dispatching application, and the use of the power grid dispatching application by a user is reflected more truly. And then under each power grid system scene, thinning each factor of the power grid system scene from top to bottom step by step, constructing a use mode, a function and an operation layer by layer to form a hierarchical system, distributing execution probability and constraint condition preset by each use mode, execution probability and constraint condition preset by each function and execution probability and constraint condition preset by each operation to obtain a power grid system scene section, and obtaining a test section of power grid dispatching application by combining the power grid system scene sections to better describe the working process of the power grid dispatching application.
Drawings
FIG. 1 is a block diagram of a test profile modeling method for grid dispatch applications of the present invention;
FIG. 2 is a schematic view of a SCADA system user scenario of the present invention;
FIG. 3 is a schematic diagram of a usage pattern and probability distribution scenario of the SCADA system of the present invention;
FIG. 4 is a scene diagram of the usage pattern of the SCADA system switch module of the present invention;
FIG. 5 is a schematic diagram of a telemetry control function scenario of the SCADA system of the present invention;
FIG. 6 is a schematic diagram of a telemetry control function scenario of the SCADA system of the present invention;
FIG. 7 is a schematic illustration of the probability distribution of errors of the present invention;
FIG. 8 is a schematic illustration of the correct probability distribution display of the present invention;
fig. 9 is a block diagram of a test profile modeling structure of a power grid dispatching application of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
First, the meaning of some terms related to the present invention is described:
testing a section: the test profile refers to a set of all possible operation processes and occurrence probabilities thereof under the combined action of a plurality of operators and participants. The method can reflect the possible branch processes and operation probability of the application under the common action of a plurality of operators or participants, and the influence and change generated by the interaction behavior of the application with other applications in the system under the condition of the functional requirement. The operating profile is the definition of the conditions of use of the system. I.e. the input values of the system are defined by their distribution over time or by their distribution of probability of occurrence over the range of possible inputs.
Scene: a scenario refers to a set of sequences of actions that a system implements a complete functional requirement specification, describing the interaction between a user, system components, and the environment to achieve a certain goal.
The invention is described in further detail below with reference to the accompanying drawings:
currently, the conventional test profile construction method for applying reliability test is generally the Musa operation profile. The construction method of the Musa operating profile is divided into two.
In the first method, the main use customers of the application product are firstly determined, and the probability of each customer is determined; secondly, determining the user type and the occurrence probability of each client; thirdly, defining a system operation mode and the occurrence probability of the system in the using process of each user; fourthly, determining the main function operation and the use probability of the system in each mode; and fifthly, fusing the information obtained in the previous four steps to determine the complete operation section of the whole application object. In the second method, the operating mode of the system is first determined, which is the same concept as the system mode in the first method of Musa, is a unique mode used by the system, and is a collection of environmental conditions that need to be tested separately. The second step determines the initiator of the operation, including the user of the system, the external systems and the control programs of the system itself. And selecting a representation method of the operation section, wherein the operation section can be represented by a table representation method or a graphic representation method. And fourthly, determining an operation list of each operation initiator based on each operation initiator, and determining each obviously different process as a different operation. Fifth, the occurrence rate of each operation is determined, the occurrence rate being the number of occurrences of the operation or attribute value per unit time, the occurrence rate preferably being determined using actual data. Such a measure of usage is often available from a log of the system. And sixthly, determining the occurrence probability of the operation, wherein the occurrence probability of the operation or the attribute value is calculated by the occurrence rate and can be obtained by dividing the occurrence frequency of the operation/attribute value by the total occurrence number of all the operation/attribute values.
However, the power grid dispatching application does not have obvious operation, has the main characteristics of system interactivity, environmental influence, activity time sequence and the like in the running process, and has special technical requirements when the application reliability test section structure is carried out on the power grid dispatching application.
Wherein, the system interactivity: for the interactivity of the application, on one hand, during the running process of the application, not only the operation process of a single operator is influenced, but also a running process of a certain activity of the application and a branch condition and a subsequent influence which may be generated by the running process may be jointly decided by a plurality of operation initiators or participants. On the other hand, the activity process of a certain application is not determined by the application itself, but in a real-time system where a certain function requirement is completed together, the interaction process of multiple applications may determine the respective possible operation process of each application together. Environmental impact: for the application, the application is often influenced by factors such as temperature, pressure, humidity and the like of the external environment of the system where the application is located in the operation process; when the system is applied to different operation modes, the system can enter different operation environments to form an operation process with a feedback loop. For the application of the dispatching automation master station system, various input circuit indexes of the dispatching automation master station system have different change rules along with different environmental seasons and different times of the day. Activity timing sequence: in the operation process, a certain operation process is not only a simple series relation of operation sequences, but also a limiting condition of a time factor. Different running processes may be generated under different time intervals between the application operations. Taking the application of the dispatching automation master station system as an example, due to the characteristic of long-time running monitoring, the complexity of activity timeliness is mainly reflected in the automatic data receiving and sending and automatic data processing processes and the manual operation which may be needed.
Therefore, the existing construction method of the Musa operation profile does not have all the factors described in the technical requirements, and cannot be applied to test profile modeling of power grid dispatching application.
Based on the above, referring to fig. 1, in an embodiment of the present invention, a method for modeling a test profile of a power grid dispatching application is provided, in which a modeling process of a power grid system scenario is added to a characteristic of the power grid dispatching application, and modeling is performed from two perspectives of the power grid system scenario and an application scenario by using extracted system characteristics, that is, a plurality of elements that affect the operation of the power grid dispatching application, so as to jointly form a test profile for an application reliability test. Specifically, the test profile modeling method for the power grid dispatching application comprises the following steps:
s1: and acquiring a plurality of elements influencing the operation of the power grid dispatching application and the service logic relationship of the power grid dispatching application.
Specifically, before modeling a test profile of a power grid dispatching application, a set of elements affecting the operation of the power grid system needs to be analyzed on the basis of the outside of the power grid system, and preferably, the elements include user classifications, different operation modes, different operation environments, different use conditions and the like.
When the test profile modeling of the power grid dispatching application is performed, a plurality of elements in a preset element set and a service logic relationship of the power grid dispatching application need to be obtained, wherein the service logic relationship of the power grid dispatching application is necessary content when the power grid dispatching application is constructed, and corresponding information can be obtained from a management system of the power grid dispatching application. Based on the service logic relationship of the power grid dispatching application, each element can be a condition relationship or an independent relationship, and a plurality of combinations can be divided according to the closeness degree of the relationship between the elements.
S2: obtaining an incidence relation among a plurality of elements according to a service logic relation of power grid dispatching application, and constructing a plurality of power grid system scenes according to the incidence relation among the plurality of elements.
Specifically, the association relationship between the plurality of elements is obtained according to the service logic relationship of the power grid dispatching application, for example, the power grid dispatching application includes different operation modes and different use conditions under different user classifications, and if the administrator has more application permissions than the users.
Referring to fig. 2, in the embodiment, a real-time monitoring and control (SCADA) system in an intelligent power grid dispatching control system is taken as an example to establish a power grid system scene. The SCADA system has three types of users, wherein a bidirectional relationship is established between a dispatcher, an operator and the SCADA system, namely the SCADA system provides information for the users, and the users have control authority over the SCADA system; the operation and maintenance personnel and the SCADA system have a one-way relationship and are responsible for operating and maintaining the SCADA system.
Referring to fig. 3, which represents a power grid system scenario modeling process for different operating modes of a power grid system, the SCADA system can be described as three usage modes, namely a switch module usage mode, a telemetry signal control module usage mode, and a disconnecting link module usage mode. From the perspective of different users, different types of users have different purposes for the use of the application, such as dispatchers and operators may be more concerned about the switch module usage pattern and the telemetry signal control module usage pattern, since they need to receive monitoring information and alarm information from the SCADA system.
Preferably, the power grid system scene includes one or more of a power grid use scene, a power grid operation continuous scene and a power grid operation concurrent scene.
The continuous power grid operation scene is used for describing the situation that some input variable changes continuously in the manual power grid operation, and can also be understood as the continuous operation of a power grid use scene, and the description of each variable in the continuous power grid operation scene is composed of coordinates of which the horizontal axis is time and the vertical axis is value size (Boolean type, floating point type, integer type) or character string (enumeration type). The power grid operation concurrency scene is used for representing the starting time and duration of power grid manual operation and the description mode of concurrency operation in the application running state, and can also be understood as continuous running of a plurality of power grid use scenes for representing the concurrency relation among the internal power grid use scenes. The manual operation of the power grid comprises each use mode, each function and each operation of the power grid dispatching application.
S3: in each power grid system scene, all usage modes contained in the power grid dispatching application, all functions contained in each usage mode, incidence relations among the functions, all operations contained in each function and operation flows of each operation are obtained according to the service logic relations of the power grid dispatching application, and the logic relations of the power grid system scenes are obtained.
Specifically, in each grid system scenario, how the grid system is used is described by modeling, taking into account the uses that can be implemented at the level of the grid system scenario, and the relationship between each use, which represents the use of the grid scheduling application by the user in a specific range, which is essentially a dynamic simulation of the use of the user. Firstly, all the use modes contained in the power grid dispatching application are obtained and used as a layer of structure, then all the functions contained in each use mode and the incidence relation among the functions are obtained and used as a next layer of structure, and finally all the operations contained in each function and the operation flow of each operation are obtained and used as a bottom layer structure, and the logical relation of a power grid system scene of a layered nested structure is formed.
In this embodiment, referring to fig. 4, a switch module usage mode of the SCADA system is taken as an example, and a logical relationship of a power grid system scene is constructed for the switch module usage mode. For the use mode of the switch module in the SCADA, the main functions of the switch module include setting a signboard, remote control inspection, remote control, preposition information, remote control test, alarm suppression/recovery, remote signaling blocking/releasing, point information refreshing, remote signaling contraposition, station remote signaling contraposition, interval remote signaling contraposition and the like, wherein a next-level nested structure is established for the functions of setting the signboard, the remote control inspection, the remote control, the preposition information and the like. Referring to fig. 5, taking the telemetry control function as an example, the main workflow is to perform login operation at an input window after a user selects a remote control reason and a monitoring type, perform remote control presetting and remote control execution operation after correct login, and cancel existing telemetry control with a certain probability in the execution process.
S4: and under each power grid system scene, according to the logical relation of the power grid system scene, combining the execution probability and the constraint condition preset by each use mode, the execution probability and the constraint condition preset by each function and the execution probability and the constraint condition preset by each operation to obtain a power grid system scene profile.
After establishing the logical relationship of the grid system scenarios, the probability of possible use, i.e. the execution probability, of each usage pattern, each function and each operation needs to be assigned, which is the possibility of using other or own grid manual operations after one grid manual operation, and is a relative probability.
In this embodiment, the execution probability of each usage pattern, the execution probability of each function, and the execution probability of each operation are set in advance. Preferably, the execution probability of each usage pattern, the execution probability of each function, and the execution probability of each operation are obtained by statistics according to historical data of the same or similar applications, or by statistics according to user research data. Specifically, the execution probability of each usage pattern includes a probability of directly executing the usage pattern, and an execution probability of continuing to execute the usage pattern after executing a higher-level usage pattern associated with the usage pattern. Similarly, the execution probability of each function and the execution probability of each operation respectively include the probability of directly executing the function or operation and the probability of continuing to execute the function or operation after executing the function or operation associated therewith. And, starting from one grid manual operation, the sum of the execution probabilities of all the grid manual operations which can be executed continuously is equal to 1.
After the logical relationship of the power grid system scenarios of each power grid system scenario is established, the constraint conditions of each usage mode, each function and each operation also need to be set. Specifically, the constraint condition is set based on a business logic relationship of the power grid dispatching application, and the implementation of each use mode, each function and each operation needs to be limited to prevent the application from running indefinitely. The constraint is another use determinant of grid manual operation, which is usually reflected in a precondition in grid manual operation. The source of the constraint condition may be the value of the previous input variable, time, or the output value of the tested system whose value is unknown.
Referring to fig. 6, in the present embodiment, taking an alarm suppression/recovery operation in the telemetry control function in the SCADA system as an example, in the alarm suppression/recovery operation, a user may initially click an alarm suppression button and an interval alarm suppression button. When the selected telemetering value is in the alarm suppression state, the user can select to click the alarm recovery button, when the selected telemetering value is in the interval alarm suppression state, the user can select the alarm recovery of the single telemetering value in the interval or the interval alarm recovery of the full interval, and if the alarm recovery of the single telemetering value is selected, the user can still continue to select the next alarm recovery button and the interval alarm recovery button until all the alarm suppression signals in the interval are reset.
And embedding the execution probability and the constraint condition preset by each use mode, the execution probability and the constraint condition preset by each function and the execution probability and the constraint condition preset by each operation into the logic relation of the power grid system scene to obtain the power grid system scene profile. A profile is understood to be a set of relationships.
S5: and combining the power grid system scene sections of the power grid system scenes to obtain a test section of the power grid dispatching application.
Specifically, power grid system scene profiles of the power grid system scenes are combined to obtain a test profile of the power grid dispatching application, wherein the test profile of the power grid dispatching application is a sequentially nested hierarchical structure and sequentially comprises the power grid system scene profiles, the use modes, the functions and the operations of the power grid system scenes.
In summary, according to the test profile modeling method for the power grid dispatching application, the incidence relation among the elements is obtained by obtaining the elements influencing the operation of the power grid dispatching application and the service logic relation of the power grid dispatching application, and the plurality of power grid system scenes are constructed according to the incidence relation among the elements, so that the modeling of the whole environment and conditions of the operation of the power grid system is realized, the characteristics of system interactivity, environment influence and the like of the power grid dispatching application are fully considered, and the constructed power grid system scenes are more consistent with the actual situation of the power grid dispatching application. And then under each power grid system scene, in the construction process, thinning each factor of the power grid system scene from top to bottom, constructing a use mode, functions and operations layer by layer to form a hierarchical system, distributing execution probability and constraint conditions preset by each use mode, execution probability and constraint conditions preset by each function and execution probability and constraint conditions preset by each operation to obtain a power grid system scene section, obtaining a test section of power grid dispatching application by combining the power grid system scene sections, better describing the working process of the power grid dispatching application, and generating a reliability test case more fitting the actual operation of the power dispatching application through the test section of the power grid dispatching application, thereby providing an important basis for the subsequent reliability test link.
In another embodiment of the present invention, a test profile modeling method for power grid dispatching application is provided, which includes all the contents in the previous embodiment, and further includes: according to the power grid system scene section of each power grid system scene, using the use modes, the functions and the operations as nodes, using the incidence relations among the functions and the operation flows as paths among the nodes, using the execution probability preset by each use mode, the execution probability preset by each function and the execution probability preset by each operation as the weight of the paths, adding the start node and the end node, constructing a power grid system scene network diagram of each power grid system scene, and combining the power grid system scene network diagrams of each power grid system scene to obtain a test section network diagram of the power grid dispatching application. The actual operation process of the power grid dispatching application is described in a networked manner through the test section network diagram of the power grid dispatching application, and a retrospectively understandable flow image is provided for testers to know the use of the power grid dispatching application.
In another embodiment of the present invention, a method for modeling a test profile of a power grid dispatching application is provided, which includes all the contents in the first embodiment: and testing the test section of the power grid dispatching application to obtain a test result. The test section applied to the power grid dispatching is checked, so that the accuracy of the test section applied to the power grid dispatching is guaranteed, and the validity of a test case generated according to the test section applied to the power grid dispatching is guaranteed.
Preferably, the specific method for testing the test profile of the power grid dispatching application to obtain the test result comprises the following steps: checking whether the association relation among the plurality of elements is correct or not to obtain a first sub-checking result; in each power grid system scene, checking whether all use modes contained in the power grid dispatching application, all functions contained in each use mode, incidence relations among the functions, all operations contained in each function and operation flows of the operations are correct or not to obtain a second sub-check result; in each power grid system scene, checking whether the execution probability and the constraint condition preset by each use mode, the execution probability and the constraint condition preset by each function, the execution probability and the constraint condition preset by each operation are correct or not to obtain a third sub-check result; when the first sub-inspection result, the second sub-inspection result and the third sub-inspection result are all correct, the inspection result is that the inspection is passed; otherwise, the test result is that the test is not passed.
In this embodiment, taking the SCADA system as an example, the test profile inspection of the SCADA system mainly takes the sum of probability distributions, all usage patterns included, all functions included in each usage pattern, the association relationship between the functions, all operations included in each function, and whether the operation flow of each operation is accurate or not as the main criteria. Taking interval alarm suppression/recovery as an example, see fig. 7, a test diagram of the sum of probability distributions. When the sum of the probabilities on all the communication paths from a certain node is not equal to 1, the first special color, such as a red dotted line, indicates that the test person is prompted that the probability value is not legal at the moment. When the sum of the probabilities is 1, a second special color, such as a dashed line of green (there is a probability value) or a solid line (direct connection), will be displayed.
And when the inspection result is that the inspection is passed, adding a preset inspection passing mark to the test profile of the power grid dispatching application, for example, displaying a folder of the test profile of the power grid dispatching application as a pattern with green hooks.
The test profile of the power grid dispatching application is a hierarchical network system taking power grid functions and operation as basic elements, the system not only contains information of operation and use probability thereof, but also comprises possible operation constraint and sequence information, and the system is a dynamic operation profile. The section is in the form of a hierarchical sub-grid section, and the possible use condition of the application is expressed by taking the function as an organization container of the sub-grid section. The test profile is composed of several used sub-grid profiles, each of which is present in functional form in the sub-grid profile of the upper level. The function has a precondition and a postcondition, and is essentially the constraint of the sub-grid section, namely the constraint condition. It must be emphasized that the operations and functions in the sub-grid section are not simple in combination, and they are connected by relationship elements, and special elements are used as assistance to jointly represent the logical meaning of the sub-grid section.
The following are embodiments of the apparatus of the present invention that may be used to perform embodiments of the method of the present invention. For details of non-careless mistakes in the embodiment of the apparatus, please refer to the embodiment of the method of the present invention.
Referring to fig. 9, in a further embodiment of the present invention, a test profile modeling system for power grid dispatching application is provided, which can be used to implement the test profile modeling method for power grid dispatching application described above, and specifically, the test profile modeling system for power grid dispatching application includes a data obtaining module, a scene constructing module, a logical relationship determining module, a profile constructing module, and a combination module.
The data acquisition module is used for acquiring a plurality of elements influencing the operation of the power grid dispatching application and the service logic relationship of the power grid dispatching application; the scene construction module is used for obtaining incidence relations among a plurality of elements according to the service logic relations of the power grid dispatching application and constructing a plurality of power grid system scenes according to the incidence relations among the plurality of elements; the logic relationship determination module is used for acquiring all use modes contained in the power grid dispatching application, all functions contained in each use mode, association relationship among the functions, all operations contained in each function and operation flows of the operations according to the service logic relationship of the power grid dispatching application in each power grid system scene to obtain the logic relationship of the power grid system scene; the profile construction module is used for obtaining a power grid system scene profile by combining the execution probability and constraint condition preset by each use mode, the execution probability and constraint condition preset by each function and the execution probability and constraint condition preset by each operation according to the logic relation of the power grid system scene under each power grid system scene; the combination module is used for combining the power grid system scene profiles of the power grid system scenes to obtain a test profile of the power grid dispatching application.
Preferably, the method further comprises the following steps: and the network diagram construction module is used for taking the use modes, the functions and the operations as nodes, taking the incidence relations among the functions and the operation flows as paths among the nodes, taking the execution probability preset by each use mode, the execution probability preset by each function and the execution probability preset by each operation as the weight of the paths, adding the starting node and the ending node, constructing the power grid system scene network diagram of each power grid system scene, and combining the power grid system scene network diagrams of each power grid system scene to obtain the test profile network diagram of the power grid dispatching application.
Preferably, the method further comprises the following steps: and the inspection module is used for inspecting the test section of the power grid dispatching application to obtain an inspection result. Specifically, the method is used for checking whether the association relation among a plurality of elements is correct or not to obtain a first sub-checking result; in each power grid system scene, checking whether all use modes contained in the power grid dispatching application, all functions contained in each use mode, incidence relations among the functions, all operations contained in each function and operation flows of the operations are correct or not to obtain a second sub-check result; in each power grid system scene, checking whether the execution probability and the constraint condition preset by each use mode, the execution probability and the constraint condition preset by each function, the execution probability and the constraint condition preset by each operation are correct or not to obtain a third sub-check result; when the first sub-inspection result, the second sub-inspection result and the third sub-inspection result are all correct, the inspection result is that the inspection is passed; otherwise, the test result is that the test is not passed.
In yet another embodiment of the present invention, a computer device is provided that includes a processor and a memory for storing a computer program comprising program instructions, the processor for executing the program instructions stored by the computer storage medium. The Processor may be a Central Processing Unit (CPU), or may be other general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable gate array (FPGA) or other Programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, etc., which is a computing core and a control core of the terminal, and is specifically adapted to load and execute one or more instructions in a computer storage medium to implement a corresponding method flow or a corresponding function; the processor provided by the embodiment of the invention can be used for operating the test profile modeling method for power grid dispatching application.
In yet 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 and is used for storing programs and data. It is understood that the computer readable storage medium herein can include both built-in storage media in the computer device and, of course, extended storage media supported by the computer device. The computer-readable storage medium provides a storage space storing an operating system of the terminal. Also, one or more instructions, which may be one or more computer programs (including program code), are stored in the memory space and are adapted to be loaded and executed by the processor. It should be noted that the computer-readable storage medium may be a high-speed RAM memory, or may be a non-volatile memory (non-volatile memory), such as at least one disk memory. One or more instructions stored in the computer-readable storage medium may be loaded and executed by a processor to implement the corresponding steps of the test profile modeling method for grid dispatch applications in the embodiments described above.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely application embodiment, or an embodiment combining application and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting the same, and although the present invention is described in detail with reference to the above embodiments, those of ordinary skill in the art should understand that: modifications and equivalents may be made to the embodiments of the invention without departing from the spirit and scope of the invention, which is to be covered by the claims.

Claims (10)

1. A test profile modeling method for power grid dispatching application is characterized by comprising the following steps:
acquiring a plurality of elements influencing the operation of the power grid dispatching application and a service logic relation of the power grid dispatching application;
obtaining an incidence relation among a plurality of elements according to a service logic relation of power grid dispatching application, and constructing a plurality of power grid system scenes according to the incidence relation among the plurality of elements;
under each power grid system scene, acquiring all use modes contained in the power grid dispatching application, all functions contained in each use mode, incidence relations among the functions, all operations contained in each function and operation flows of each operation according to the service logic relations of the power grid dispatching application to obtain the logic relations of the power grid system scene;
under each power grid system scene, according to the logical relation of the power grid system scene, combining the execution probability and constraint condition preset by each use mode, the execution probability and constraint condition preset by each function and the execution probability and constraint condition preset by each operation to obtain a power grid system scene profile;
and combining the power grid system scene sections of the power grid system scenes to obtain a test section of the power grid dispatching application.
2. The method of claim 1, wherein the factors include one or more of user classification, operation mode, operation environment, and usage conditions.
3. The method for modeling the test profile of the power grid dispatching application as claimed in claim 1, wherein the power grid system scenario comprises one or more of a power grid usage scenario, a power grid operation continuous scenario, and a power grid operation concurrent scenario.
4. The method according to claim 1, wherein the predetermined execution probability of each usage mode, the predetermined execution probability of each function, and the predetermined execution probability of each operation are obtained by statistics of historical data of the same or similar applications, or by statistics of user research data.
5. The method of modeling a test profile for a grid dispatch application as claimed in claim 1, further comprising: according to the power grid system scene section of each power grid system scene, using the use modes, the functions and the operations as nodes, using the incidence relations among the functions and the operation flows as paths among the nodes, using the execution probability preset by each use mode, the execution probability preset by each function and the execution probability preset by each operation as the weight of the paths, adding the start node and the end node, constructing a power grid system scene network diagram of each power grid system scene, and combining the power grid system scene network diagrams of each power grid system scene to obtain a test section network diagram of the power grid dispatching application.
6. The method of modeling a test profile for a grid dispatch application as claimed in claim 1, further comprising: and testing the test section of the power grid dispatching application to obtain a test result.
7. The method for modeling the test profile of the power grid dispatching application according to claim 6, wherein the specific method for testing the test profile of the power grid dispatching application to obtain the test result is as follows:
checking whether the association relation among the plurality of elements is correct or not to obtain a first sub-checking result;
in each power grid system scene, checking whether all use modes contained in the power grid dispatching application, all functions contained in each use mode, incidence relations among the functions, all operations contained in each function and operation flows of the operations are correct or not to obtain a second sub-check result;
in each power grid system scene, checking whether the execution probability and the constraint condition preset by each use mode, the execution probability and the constraint condition preset by each function, the execution probability and the constraint condition preset by each operation are correct or not to obtain a third sub-check result;
when the first sub-inspection result, the second sub-inspection result and the third sub-inspection result are all correct, the inspection result is that the inspection is passed; otherwise, the test result is that the test is not passed.
8. A test profile modeling system for a grid dispatch application, comprising:
the data acquisition module is used for acquiring a plurality of elements influencing the operation of the power grid dispatching application and the service logic relationship of the power grid dispatching application;
the scene construction module is used for obtaining incidence relations among a plurality of elements according to the service logic relations of the power grid dispatching application and constructing a plurality of power grid system scenes according to the incidence relations among the plurality of elements;
the logic relationship determination module is used for acquiring all use modes contained in the power grid dispatching application, all functions contained in each use mode, the incidence relationship among the functions, all operations contained in each function and the operation flow of each operation according to the service logic relationship of the power grid dispatching application under each power grid system scene to obtain the logic relationship of the power grid system scene;
the profile construction module is used for obtaining a power grid system scene profile by combining the preset execution probability and constraint condition of each use mode, the preset execution probability and constraint condition of each function and the preset execution probability and constraint condition of each operation according to the logic relation of the power grid system scene under each power grid system scene;
and the combination module is used for combining the power grid system scene profiles of the power grid system scenes to obtain a test profile of the power grid dispatching application.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor when executing the computer program implements the steps of the test profile modeling method of a grid scheduling application according to any of claims 1 to 7.
10. A computer-readable storage medium, having a computer program stored thereon, wherein the computer program, when being executed by a processor, is adapted to carry out the steps of a method for modeling a test profile of a grid dispatching application according to any of the claims 1 to 7.
CN202110969511.4A 2021-08-23 2021-08-23 Test profile modeling method, system, equipment and medium for power grid dispatching application Active CN113779776B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110969511.4A CN113779776B (en) 2021-08-23 2021-08-23 Test profile modeling method, system, equipment and medium for power grid dispatching application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110969511.4A CN113779776B (en) 2021-08-23 2021-08-23 Test profile modeling method, system, equipment and medium for power grid dispatching application

Publications (2)

Publication Number Publication Date
CN113779776A true CN113779776A (en) 2021-12-10
CN113779776B CN113779776B (en) 2024-01-30

Family

ID=78838941

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110969511.4A Active CN113779776B (en) 2021-08-23 2021-08-23 Test profile modeling method, system, equipment and medium for power grid dispatching application

Country Status (1)

Country Link
CN (1) CN113779776B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102033806A (en) * 2010-12-14 2011-04-27 北京航空航天大学 Method for generating reliability test data of real time embedded software
CN103914353A (en) * 2014-04-17 2014-07-09 北京航空航天大学 Combined test method for combining software reliability tests with hardware reliability tests
CN105204826A (en) * 2014-06-16 2015-12-30 深圳市雅都软件股份有限公司 Power grid service-oriented multi-scenario service information automatic sharing platform and method
CN109933047A (en) * 2019-03-22 2019-06-25 北京航空航天大学 A kind of joint reliability test sectional plane building method of software and hardware hybrid system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102033806A (en) * 2010-12-14 2011-04-27 北京航空航天大学 Method for generating reliability test data of real time embedded software
CN103914353A (en) * 2014-04-17 2014-07-09 北京航空航天大学 Combined test method for combining software reliability tests with hardware reliability tests
CN105204826A (en) * 2014-06-16 2015-12-30 深圳市雅都软件股份有限公司 Power grid service-oriented multi-scenario service information automatic sharing platform and method
CN109933047A (en) * 2019-03-22 2019-06-25 北京航空航天大学 A kind of joint reliability test sectional plane building method of software and hardware hybrid system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
WANG CAISHENG等: "《A load profile management integrated power dispatch using a Newton-like particle swarm optimization method》", 《SUSTAINABLE COMPUTERING:INFORMATICS AND SYSTEMS》, no. 8, pages 8 - 17 *
李宇佳等: "《电网调度自动化系统软件通用测试规范解读》", 《智能电网》, vol. 3, no. 2, pages 186 - 190 *

Also Published As

Publication number Publication date
CN113779776B (en) 2024-01-30

Similar Documents

Publication Publication Date Title
CN111078482B (en) Communication navigation equipment test system, method, equipment and readable storage medium
EP2778929B1 (en) Test script generation system
CN108959068A (en) Software interface testing method, device and storage medium
CN112052172B (en) Rapid test method and device for third-party channel and electronic equipment
CN109765447A (en) A kind of intelligent substation relay protection automatic test approach
CN100465918C (en) Automatic configuration of transaction-based performance models
Kang et al. Development of a Bayesian belief network model for software reliability quantification of digital protection systems in nuclear power plants
CN104461887A (en) Embedded software black-box test case generation method based on dynamic model
CN109032850A (en) Field device debugging system and field device adjustment method
CN109783260A (en) Intelligent IT whole process O&M method, apparatus, equipment and readable storage medium storing program for executing
CN109977012A (en) Joint debugging test method, device, equipment and the computer readable storage medium of system
CN111309581A (en) Application performance detection method and device in database upgrading scene
CN111782538B (en) Equipment testability demonstration analysis and simulation evaluation system
Guo et al. Nuclear safety-critical Digital Instrumentation and Control system software: Reliability demonstration
CN116991746B (en) Method and device for evaluating general quality characteristics of software
CN114238081A (en) Method and system suitable for small satellite batch test
CN110209469A (en) DCN architecture resources detection method, device, equipment and computer storage medium
CN110868341B (en) Method and device for testing intelligent management unit of in-situ protection
CN104394039A (en) Evaluation system and evaluation method for network performance maturity based on Sigmoid exponential model
CN113779776B (en) Test profile modeling method, system, equipment and medium for power grid dispatching application
CN116383061A (en) Method and related device for testing basic platform interface of substation control system
CN111026726A (en) Method and system for comparing different versions of SCD file of intelligent substation and storage medium
KR101403685B1 (en) System and method for relating between failed component and performance criteria of manintenance rule by using component database of functional importance determination of nuclear power plant
CN109783368A (en) Trapezoidal pattern programming software testing system and method
CN115794624A (en) Closed-loop testing method and system for single automation device of intelligent substation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant