Test method and device, equipment and storage medium
By obtaining fault configuration information, generating test communication messages and analyzing feedback information, the closed-loop testing of the valve control and maintenance device is realized, solving the problem of inefficient testing in the existing technology, and improving the testing efficiency and accuracy.
Patent Information
- Application Number
- CN202310637279.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-31
- Publication Date
- 2024-12-03
AI Technical Summary
In the prior art, the valve control and maintenance device testing process of high-pressure direct-hanging energy storage system requires the use of a variety of auxiliary devices, which leads to low testing efficiency and difficulty in achieving closed-loop testing.
By designing a test method and device, obtain fault configuration information, generate test communication messages, send them to the valve control and maintenance device, and analyze feedback information to achieve the integration of fault simulation, information transmission and result display, and reduce unnecessary auxiliary devices , improve testing efficiency.
The closed-loop testing of the valve control and maintenance device is realized, which reduces the complexity of the testing environment, improves the testing efficiency, simplifies the testing process, and ensures the convenience and accuracy of the testing.
Smart Images

Figure CN119064769A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of testing technology, and in particular, relates to a testing method, device, equipment and storage medium. Background Art
[0002] With the development of large-scale energy storage, high-voltage direct-mounted energy storage systems above 1,000 volts have gradually been widely used.
[0003] In the related art, the high-voltage direct-mounted energy storage system includes multiple cascaded energy storage valve submodules, each of which includes a power module and an energy storage unit, such as a battery module. The function of the valve control and protection device is to control, protect and monitor primary equipment such as power modules and battery modules to ensure the operation and protection of the primary equipment. In order to ensure the control and protection function of the valve control and protection device, it is necessary to simulate its external connection equipment including the primary equipment and perform functional testing.
[0004] However, since the external connection equipment has the characteristics of high voltage, large current, large size and high power, the test environment is not easy to build. During the test process, it is necessary to use oscilloscopes, recording systems, monitoring systems and other devices to implement test processing, and the test efficiency is low. Summary of the invention
[0005] The embodiments of the present application provide a testing method, device, equipment and storage medium to solve the problem in the prior art that the testing process of the valve control and protection device requires the use of additional devices, resulting in low testing efficiency.
[0006] A first aspect of an embodiment of the present application provides a testing method, which is applied to a testing device for a valve control device, and the method includes:
[0007] Get fault configuration information;
[0008] Based on the fault configuration information, a test communication message is generated, and the test communication message is sent to the valve control protection device;
[0009] Acquiring feedback information sent by the valve control and protection device based on the test communication message;
[0010] Analyze the feedback information, obtain the test analysis result and display it.
[0011] In this process, the test device generates a test communication message based on the acquired fault configuration information, sends the test communication message to the valve control protection device, and parses the feedback information sent by the valve control protection device based on the test communication message, obtains and displays the test analysis results, and integrates fault simulation, information transmission, test analysis and result display into one, realizes closed-loop testing, reduces unnecessary additional auxiliary devices, facilitates the construction of the test environment, and improves test efficiency.
[0012] In some embodiments, the test device includes a host computer and a test tool; the obtaining of fault configuration information includes:
[0013] The host computer determines the fault configuration information in response to a user input operation;
[0014] The step of analyzing the feedback information, obtaining and displaying the test analysis results includes:
[0015] The test tool analyzes the feedback information to obtain a test analysis result, and sends the test analysis result to the host computer;
[0016] The host computer displays data based on the test analysis results.
[0017] In this process, by setting up test tools and a host computer in the test device, human-computer interaction of data and functional allocation of valve control device fault testing within the test device are realized, which facilitates the distributed setting of the test device in a fault simulation test environment and ensures the convenient development and implementation of test operations.
[0018] In some embodiments, the fault configuration information includes at least one test item, and test data, communication protocol, message sending configuration data, and message receiving configuration data corresponding to the test item.
[0019] In this way, by standardizing the content contained in the fault configuration information, the configuration data is associated with different test items, so as to facilitate the orderly implementation of the fault test.
[0020] In some embodiments, the test data includes fault state simulation data; and the generating of the test communication message based on the fault configuration information includes:
[0021] The test communication message is generated based on the first fault state simulation data corresponding to the first test item and in accordance with the first communication protocol of the first test item.
[0022] This process, by directly setting the fault state simulation data, enables the test device to directly carry out fault testing on the valve control protection device according to the fault state simulation data in the fault configuration information, providing a static testing method that can directly and effectively test the functional realization and performance of the valve control protection device.
[0023] In some embodiments, the test data includes multi-state simulation data arranged in sequence, and the multi-state simulation data includes normal state simulation data, fault state simulation data and fault recovery state simulation data; the generating of the test communication message based on the fault configuration information includes:
[0024] Based on the multi-state simulation data corresponding to the second test item, respectively generate a normal state simulation message corresponding to the normal state simulation data, a fault state simulation message corresponding to the fault state simulation data, and a fault recovery state simulation message corresponding to the fault recovery state simulation data;
[0025] The normal state simulation message, the fault state simulation message and the fault recovery state simulation message are used as the test communication messages in sequence.
[0026] This process configures simulation data of the external connection equipment of the valve control protection device under various operating conditions in one test item, generates corresponding various test communication messages based on the multi-state simulation data in one test item, implements data simulation of the normal state, fault state and fault recovery state of the external connection equipment of the valve control protection device, and dynamically inserts the fault state data of the external connection equipment of the valve control protection device into the normal state data and the fault recovery state data to implement fault testing, providing a dynamic testing method to simulate the fault state interspersed in the normal state, improve the testability of transient faults, and improve the test effect and test comprehensiveness.
[0027] In some embodiments, the test device includes a plurality of information output ports, and different information output ports are configured to be connected to corresponding components to be tested in the valve control device; the message sending configuration data includes output port configuration data;
[0028] The step of sending the test communication message to the valve control protection device includes:
[0029] Determine a target output port matching the current test item from the plurality of information output ports;
[0030] The test communication message is sent to the target component to be tested in the valve control and protection device through the target output port.
[0031] This process enables a test device to simulate multiple external connection devices of the valve control protection device. By matching the ports, the test communication messages of different test items are sent to the target components to be tested in the valve control protection device, thereby simulating different external connection devices of the valve control protection device. The corresponding ports are used to transmit the messages to the target components to be tested corresponding to the test items, thereby realizing simulation testing of different components to be tested in the valve control protection device, ensuring the effectiveness and refinement of the fault simulation test, and making the test system easy to manage and reducing complexity.
[0032] In some embodiments, the test device includes a plurality of information receiving ports corresponding to the information output ports, different information receiving ports are configured to be connected to corresponding components to be tested in the valve control device, and the message receiving configuration data includes receiving port configuration data;
[0033] The step of analyzing the feedback information to obtain a test analysis result includes:
[0034] Determine a target receiving port that receives the feedback information;
[0035] Determine a target test item corresponding to the feedback information based on the target receiving port;
[0036] The feedback information is parsed based on the test pass criteria of the target test item to obtain the test parsing result.
[0037] In this way, the above process enables a test item to have a corresponding information output port, an information receiving port, and a group of components to be tested corresponding to it in the valve control protection device. Through the correspondence between the four and combined with the closed-loop test process of the test method, the test communication message corresponding to a certain test item can be accurately transmitted through the correct port to the corresponding group of components to be tested in the valve control protection device, and the feedback information matching the test item can be accurately obtained, so that when there are multiple test items, the orderly implementation of the fault simulation test can be ensured, and effective fault analysis and processing can be carried out.
[0038] In some embodiments, parsing the feedback information based on the test pass criteria of the target test item to obtain the test parsing result includes:
[0039] Based on the feedback information, first clock information and second clock information are acquired; the first clock information is the time when the test device receives the feedback information, and the second clock information is the time when the valve control device detects a fault based on the test communication message;
[0040] Determine a link delay based on the first clock information and the second clock information;
[0041] The link delay is compared with a link delay reference duration associated with the target test item to obtain the test analysis result.
[0042] This process, combined with the link delay test item, is based on a closed-loop fault simulation test process. The link delay is determined by the clock information associated with the feedback information, and the test analysis result is obtained based on the link delay reference duration associated with the test item, thereby completing the link delay test in the valve control protection device.
[0043] In some embodiments, the valve control protection device includes a protection chassis and a central control board; the test communication message includes a first fault state simulation message generated according to a fault current waveform or a fault voltage waveform set in the target test item, the first fault state simulation message is sent to the protection chassis, and the central control board outputs the feedback information;
[0044] The first clock information is the moment when the protection chassis detects that the current or voltage is greater than a set value based on the first fault state simulation message, and the second clock information is the moment when the test device receives the feedback information for controlling the switch tube to shut down.
[0045] The above process refines the application scenario of the test method into the fault simulation test of the line current / voltage. By generating a fault state simulation message according to the fault current waveform or fault voltage waveform set in the target test item, the function and link delay test of the protection chassis and the central control board in the valve control protection device is realized, thereby realizing accurate and effective testing of specific components to be tested in the valve control protection device.
[0046] In some embodiments, the valve control and protection device includes an expansion chassis and a main control chassis; the test communication message includes a second fault state simulation message for simulating a fault of an internal component of an external connection device of the valve control and protection device; the second fault state simulation message is sent to the expansion chassis, and the main control chassis outputs the feedback information;
[0047] The step of parsing the feedback information based on the test pass criteria of the target test item to obtain the test parsing result includes:
[0048] Acquiring feedback information sent by the main control chassis for indicating remote signal change information;
[0049] Based on the feedback information, the remote signal displacement information is compared with the expected value of the remote signal displacement associated with the target test item to obtain the test analysis result.
[0050] The above process, by simulating the faults of the internal components of the external connection equipment of the valve control protection device, realizes the fault insertion test of the expansion chassis and the main control chassis contained in the valve control protection device, thereby improving the comprehensiveness and test effect of the test.
[0051] In some embodiments, the valve control protection device includes a plurality of main control chassis; the test communication message includes a third fault state simulation message for simulating the main and standby control, and the third fault state simulation message is sent to each of the main control chassis;
[0052] The step of parsing the feedback information based on the test pass criteria of the target test item to obtain the test parsing result includes:
[0053] Acquire feedback information sent by each of the main control chassis and used to indicate the master / standby status in the main control chassis;
[0054] Based on the feedback information, the active / standby state is compared with an expected active / standby state associated with the target test item to obtain the test analysis result.
[0055] The above process realizes the fault insertion test of the master-slave switching function among multiple main control chassis contained in the valve control protection device, thereby improving the comprehensiveness and effect of the test.
[0056] A second aspect of an embodiment of the present application provides a testing device for a valve control device, comprising:
[0057] A controller, a plurality of information output ports connected to the controller, and a plurality of information receiving ports corresponding to the information output ports;
[0058] Wherein, different information receiving ports and information output ports are configured to be connected to corresponding components to be tested in the valve control and protection device;
[0059] The controller is used to determine a target output port matching the current test item from the plurality of information output ports, and send the test communication message generated based on the fault configuration information to the target component to be tested in the valve control and protection device through the target output port; and / or,
[0060] The controller is used to determine a target receiving port that receives feedback information from the multiple information receiving ports, determine a target test item corresponding to the feedback information based on the target receiving port, and parse the feedback information based on the test pass criteria of the target test item to obtain the test parsing result.
[0061] The above process enables a test item to have a corresponding information output port, an information receiving port, and a corresponding group of components to be tested in the valve control protection device. Through the correspondence between the four and combined with the closed-loop test process of the test method, the test communication message corresponding to a test item can be accurately transmitted through the correct port to the corresponding group of components to be tested in the valve control protection device, and the feedback information matching the test item can be accurately obtained, so that when there are multiple test items, the orderly implementation of the fault simulation test can be ensured, and effective fault analysis and processing can be carried out.
[0062] In some embodiments, the fault configuration information includes at least one test item, the test item corresponds to a communication protocol, and the information output port and the information receiving port are configured to support the set communication protocol;
[0063] The controller is used to determine a target output port matching the current test item from a plurality of the information output ports based on a set communication protocol supported by the information output port; and / or, the controller is used to determine the target test item corresponding to the feedback information received by the target receiving port based on a set communication protocol supported by the information receiving port.
[0064] In the above process, multiple information output ports and information receiving ports are set, and the communication protocol supported by their configuration is set, so that the test communication message corresponding to a certain test item can be accurately transmitted through the correct port to a group of components to be tested corresponding to it in the valve control protection device. When the feedback information of the valve control protection device on the test communication message is obtained, it is accurately matched to the corresponding test item to carry out effective fault analysis and processing, thereby realizing accurate and orderly simulation testing of the components to be tested in the valve control protection device.
[0065] A third aspect of an embodiment of the present application provides a testing device for a valve control device, comprising:
[0066] An acquisition module, used to acquire fault configuration information;
[0067] A processing module, configured to generate a test communication message based on the fault configuration information, and send the test communication message to the valve control protection device;
[0068] A receiving module, used for obtaining feedback information sent by the valve control and protection device based on the test communication message;
[0069] The display module is used to analyze the feedback information, obtain the test analysis results and display them.
[0070] The fourth aspect of an embodiment of the present application 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 is used to call computer instructions so that the computer device implements the steps of the method described in the first aspect when executing the computer program.
[0071] A fifth aspect of an embodiment of the present application 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 steps of the method described in the first aspect are implemented.
[0072] The sixth aspect of the present application provides a computer program product, including a computer-readable code, or a non-volatile computer-readable storage medium carrying a computer-readable code. When the computer-readable code is executed in an electronic device, a processor in the electronic device calls the computer-readable code to cause the electronic device to perform the steps in the method described in the first aspect.
[0073] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0074] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Moreover, the same reference numerals are used throughout the drawings to represent the same components. In the drawings:
[0075] Figure 1 is a flow chart of a testing method of some embodiments of the present application;
[0076] Figure 2 is a structural diagram of a test device in some embodiments of the present application;
[0077] Figure 3 is a flow chart of a testing method of some embodiments of the present application;
[0078] Figure 4 is a flow chart of a testing method of some embodiments of the present application;
[0079] Figure 5 is a schematic diagram of a configuration interface of some embodiments of the present application;
[0080] Figure 6 is a flow chart of a testing method of some embodiments of the present application;
[0081] Figure 7 is a flow chart of a testing method of some embodiments of the present application;
[0082] Figure 8 is a structural diagram of a valve control protection device of some embodiments of the present application;
[0083] Fig. 9 is a structural diagram of a valve control protection device of some embodiments of the present application;
[0084] Fig.10 is a flow chart of a testing method of some embodiments of the present application;
[0085] Fig.11 is a structural diagram of a valve control protection device of some embodiments of the present application;
[0086] Fig.12 is a flow chart of a testing method of some embodiments of the present application;
[0087] Fig.13 This is a structural diagram of a test device for a valve control protection device in some embodiments of the present application;
[0088] Fig.14 is another structural diagram of a test device for a valve control protection device in some embodiments of the present application;
[0089] Fig.15 It is a structural diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0090] The following embodiments of the technical solution of the present application are described in detail in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present application, and are therefore only used as examples, and cannot be used to limit the scope of protection of the present application.
[0091] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" in the specification and claims of this application and the above-mentioned figure descriptions and any variations thereof are intended to cover non-exclusive inclusions.
[0092] In the description of the embodiments of the present application, the technical terms "first", "second", etc. are only used to distinguish different objects, and cannot be understood as indicating or implying relative importance or implicitly indicating the number, specific order or primary and secondary relationship of the indicated technical features. In the description of the embodiments of the present application, the meaning of "multiple" is more than two, unless otherwise clearly and specifically defined.
[0093] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0094] In the description of the embodiments of the present application, the term "and / or" is only a description of the association relationship of the associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0095] Primary equipment refers to electrical equipment that is directly involved in production, transmission, distribution, and use. For example: power electronic devices (i.e. power modules), battery modules, generators, circuit breakers, disconnectors, transformers, power cables, etc.
[0096] The function of the valve control protection device is to control, protect and monitor primary equipment such as power modules and battery modules to ensure the operation protection of the primary equipment.
[0097] With the development of large-scale energy storage, high-voltage direct-mounted energy storage systems above 1,000 volts have gradually been widely used.
[0098] In the related art, the high-voltage direct-mounted energy storage system includes multiple cascaded energy storage valve submodules, each of which includes a power module and an energy storage unit, such as a battery module. The stable and effective operation of each energy storage valve submodule in the energy storage system requires the introduction of a valve control device to assist in achieving it.
[0099] Before the valve control and protection device is put into use, it needs to be tested to determine the function realization and performance of the valve control and protection device.
[0100] Specifically, in addition to the primary equipment connected to the outside of the valve control protection device, a secondary equipment such as a DC control protection device is also connected. The secondary equipment outputs a control signal to the valve control protection device to instruct the valve control protection device to control, protect or monitor the primary equipment.
[0101] During the testing process of the valve control protection system, a real-time simulation system is usually introduced to simulate the external connection equipment including primary equipment and secondary equipment connected to the valve control protection device, and the valve control protection device is directly connected for testing. However, the external connection equipment of the valve control protection device usually has the characteristics of high voltage, large current, large volume, and high power. The test environment is not easy to build. During the test process, auxiliary devices such as oscilloscopes, recording systems, and monitoring systems are required to implement the test process. A closed-loop test cannot be formed, the processing flow is cumbersome, and the test efficiency is low. In some cases, especially the testing of different fault conditions, it will also lead to low test coverage.
[0102] The purpose of the present application is to provide a testing method, which is applied to a testing device for a valve-controlled safety device, so as to solve the problem that when testing the existing valve-controlled safety device, other auxiliary devices are needed to implement the testing process, resulting in low testing efficiency.
[0103] The test device of the valve control device is used to simulate the external connection equipment of the valve control device, realize the construction of the test environment, and carry out functional testing on the valve control device. In one example, the valve control device is specifically an energy storage valve control device.
[0104] In order to illustrate the technical solution described in this application, a specific embodiment is provided below for illustration.
[0105] Combination Figure 1 As shown, in some embodiments, a testing method is proposed, comprising:
[0106] Step 101: Obtain fault configuration information.
[0107] Among them, the fault configuration information is the configuration information required by the test device to carry out fault simulation testing on the valve control protection device. The fault configuration information is used to simulate the occurrence of a set fault in the external connection device of the valve control protection device. The set fault is, for example, an overvoltage fault, an overcurrent fault, an abnormal communication link fault, etc.
[0108] The fault configuration information may be test case data based on the test case configuration.
[0109] The acquisition of the fault configuration information may be that the test device acquires the fault configuration information in real time based on the user's input operation, or that the test device acquires the fault configuration information by calling pre-set fault configuration information.
[0110] The fault configuration information is used to build different fault simulation environment states. The fault configuration information may include different test items and configuration data corresponding to the test items.
[0111] In an example, the fault configuration information includes at least one test item, and test data, communication protocol, message sending configuration data, message receiving configuration data, etc. corresponding to the test item.
[0112] Specifically, the test item is, for example, a power module fault test item, and the test content corresponding to the test item is, for example, a communication fault test of the power module, a power supply fault test, an IGBT (Insulated Gate Bipolar Transistor) fault test, etc.
[0113] Alternatively, the test item is, for example, a battery module fault test item, and the test content corresponding to the test item is, for example, a power-on / power-off test, a charge / discharge over-limit test, and the like.
[0114] Alternatively, the test item is, for example, a protection function test item, and the test content corresponding to the test item is, for example, an overvoltage protection test, an overcurrent protection test, etc.
[0115] Alternatively, the test item may be, for example, an active-standby switching test item, and the test content corresponding to the test item may be, for example, an active-standby switching test, a dual-active mode test, a dual-standby mode test, and other active-standby control function tests, or a communication failure test.
[0116] Among them, the test data corresponding to the test items are, for example, the current value, voltage value, power supply status, IGBT status, battery module status, valve cooling system status, set A status in the master-slave control (one setting for the operating status under the master-slave mode), set B status (another setting for the operating status under the master-slave mode), etc. under a test item.
[0117] The communication protocols corresponding to the test items are, for example, Ethernet protocol, FT3 protocol, etc.
[0118] The message sending configuration data is the configuration information required for the test device to send the test communication message to the valve control protection device.
[0119] The message sending configuration data corresponding to the test item includes, for example, an information output port number, a message sending communication rate, a message sending cycle, and the like.
[0120] The message receiving configuration data is the configuration information required by the test device to obtain feedback information from the valve control protection device.
[0121] The message receiving configuration data includes, for example, an information receiving port number, a message receiving communication rate, a message receiving cycle, and the like.
[0122] In this way, by standardizing the content contained in the fault configuration information, the configuration data is associated with different test items, so as to facilitate the orderly implementation of the fault test.
[0123] Step 102: Generate a test communication message based on the fault configuration information, and send the test communication message to the valve control protection device.
[0124] The test communication message is a communication message generated based on the fault configuration information for the test device to perform a fault simulation test on the valve control protection device.
[0125] After obtaining the fault configuration information, the test device may generate a corresponding test communication message based on the configuration content in the fault configuration information, and send the test communication message to the valve control protection device to realize fault simulation.
[0126] The test communication message may be generated based on the test data corresponding to each test item in the fault configuration information and in accordance with the communication protocol corresponding to the test item, and sent to the valve control protection device in accordance with the message sending configuration data corresponding to the test item.
[0127] In one example, if the fault configuration information contains multiple test items, the test device executes the fault simulation test processing corresponding to each test item in accordance with the configuration order of the test items, and generates a test communication message corresponding to a test item, and sends the test communication message to the valve control protection device.
[0128] Step 103: obtaining feedback information sent by the valve control and protection device based on the test communication message.
[0129] After the test device sends the test communication message to the valve control and protection device, it is necessary to collect feedback data from the valve control and protection device to obtain feedback information so as to carry out fault simulation analysis based on the feedback information.
[0130] In the process of obtaining feedback information sent by the valve control and protection device, information identification and reception can be achieved according to the message receiving configuration data corresponding to the test item.
[0131] Step 104, parse the feedback information, obtain the test parsing result and display it.
[0132] In addition to the fault simulation function, the test device also has the function of fault analysis and result display. After obtaining the feedback information sent by the valve control device based on the test communication message, the feedback information is analyzed and the analysis result process is output and displayed.
[0133] In the above implementation process, the test device generates a test communication message based on the acquired fault configuration information, sends the test communication message to the valve control protection device, and parses the feedback information sent by the valve control protection device based on the test communication message, obtains and displays the test analysis results, and integrates fault simulation, information transmission, test analysis and result display into one, realizes closed-loop testing, reduces unnecessary additional auxiliary devices, facilitates the construction of the test environment, and improves test efficiency.
[0134] In some embodiments, in combination Figure 2 As shown, the test device includes a host computer and a test fixture, and the two are communicatively connected and have a data transmission relationship.
[0135] Then, in this case, correspondingly, step 101 obtains fault configuration information, including:
[0136] The host computer responds to the user input operation and determines the fault configuration information.
[0137] Step 104, parsing the feedback information, obtaining and displaying the test parsing results, including:
[0138] The test tooling analyzes feedback information, obtains test analysis results, and sends the test analysis results to the host computer; the host computer displays data based on the test analysis results.
[0139] The test device interacts with the user through the host computer, obtains fault configuration information based on the user's input operations, and finally displays data to the outside based on the data analysis results of the test tooling.
[0140] Here, the fault configuration information may be obtained by the host computer in real time based on the user input operation, or the host computer may obtain the fault configuration information by reading preset configuration information from a specified location based on the user input operation.
[0141] The upper computer displays data based on the test analysis results, which can be a direct display of the test analysis results, or a display after further data processing based on the test analysis results. The data processing includes but is not limited to further analysis and processing of the data, graphical display processing of the data, etc.
[0142] The test tooling is responsible for connecting with the valve control and protection device. After the test communication message is generated, the test communication message is sent to the valve control and protection device, and the feedback information sent by the valve control and protection device based on the test communication message is obtained. The feedback information is analyzed, and after the test analysis results are obtained, they are sent to the host computer so that the host computer can display the results.
[0143] In an exemplary application process, the test tool is connected to the host computer through the Ethernet port on the one hand, and is bidirectionally connected to the corresponding port in the valve control device through transmission media such as optical fiber and network cable on the other hand. The user can select the corresponding test items and communication protocols in the host computer according to the test requirements, and configure the fault test data and control parameters. The test tool can send the corresponding fault or control communication message (i.e., test communication message) to the valve control device based on these configuration information.
[0144] After receiving the message, the valve control protection device generates a corresponding feedback signal, which is then transmitted back to the test fixture through the transmission medium for analysis. The analyzed results are displayed on the host computer, specifically displaying the telemetry information of the feedback signal or the changes in the telemetry information, displaying the control link or protection link delay time, etc. The host computer can also compare the analysis results of the test fixture with the set pass criteria to determine whether it passes, thereby completing the closed-loop test.
[0145] Among them, optionally, the host computer may provide menus such as test item selection and test item configuration, and may also provide an editing function for an operation data sequence for simulating external connection equipment of the valve control protection device in different operation states.
[0146] In this process, by setting up test tools and a host computer in the test device, human-computer interaction of data and functional allocation of valve control device fault testing within the test device are realized, which facilitates the distributed setting of the test device in a fault simulation test environment and ensures the convenient development and implementation of test operations.
[0147] In other embodiments, the testing device includes a testing tool, and the testing tool is directly used as the execution body to implement the processing of the testing method given in each embodiment of the present application.
[0148] During the specific application process, the test tooling obtains fault configuration information, generates a test communication message based on the fault configuration information, sends the test communication message to the valve control protection device, obtains feedback information sent by the valve control protection device based on the test communication message, parses the feedback information, obtains the test parsing result and displays it.
[0149] When the test tool obtains the fault configuration information, it may also determine the fault configuration information in response to the user input operation. That is, the test tool as a whole implements interaction with the user, obtains the fault configuration information based on the user's input operation, and finally displays the data externally based on the data analysis results of the test tool.
[0150] The above process is based on the acquisition of fault configuration information by a single device of the test tooling, and carries out fault simulation tests on the valve control protection device. Finally, the test tooling also displays the data to the outside based on the data analysis results. In the process of realizing closed-loop testing, it can ensure the convenient development and implementation of test operations.
[0151] Alternatively, in some more embodiments, the component structure of the testing device can be set according to actual needs, and the set components can also set their specific execution actions according to actual needs when executing different steps of the testing method.
[0152] In some embodiments, when the fault configuration information includes at least one test item, and test data, communication protocol, message sending configuration data, and message receiving configuration data corresponding to the test item, the aforementioned test data includes fault state simulation data.
[0153] The fault state simulation data is data for simulating the external connection equipment of the valve control and protection device under the fault operation state.
[0154] The fault state simulation data includes the simulated error data or abnormal data that may be caused when the external connection device of the valve control protection device fails. The fault state simulation data realizes the data simulation of the external connection device of the valve control protection device in the fault state by the test device.
[0155] Correspondingly, combined with Figure 3 As shown, step 102 generates a test communication message based on the fault configuration information, including:
[0156] Step 301 : Based on first fault state simulation data corresponding to a first test item, a test communication message is generated according to a first communication protocol of the first test item.
[0157] This step directly generates a corresponding test communication message based on the fault state simulation data in a test item, and implements the simulation of the fault state of the external connection equipment of the valve control and protection device.
[0158] The above process, by directly setting the fault state simulation data, enables the test device to directly carry out fault testing on the valve control protection device according to the fault state simulation data in the fault configuration information, thereby providing a static testing method that can directly and effectively test the functional realization and performance of the valve control protection device.
[0159] Differently, in other embodiments, when the fault configuration information includes at least one test item, and test data, communication protocol, message sending configuration data and message receiving configuration data corresponding to the test item, the aforementioned test data includes multi-state simulation data set in sequence, and the multi-state simulation data includes normal state simulation data, fault state simulation data and fault recovery state simulation data.
[0160] The multi-state simulation data refers to data that simulates the external connection equipment of the valve control and protection device under multiple operating states.
[0161] The normal state simulation data is the data simulating the external connection equipment of the valve control and protection device under normal operating state.
[0162] The fault recovery state simulation data is data that simulates the recovery of the external connection equipment of the valve control and protection device from an abnormal state to a normal state.
[0163] Among them, the normal state simulation data, the fault state simulation data and the fault recovery state simulation data are sequentially set data, and the order between the three can be set and adjusted according to actual needs. During execution, corresponding test communication messages need to be generated respectively according to the sequentially set order.
[0164] Combination Figure 4 As shown, step 102 generates a test communication message based on the fault configuration information, including:
[0165] Step 401 , based on the multi-state simulation data corresponding to the second test item, generate a normal state simulation message corresponding to the normal state simulation data, a fault state simulation message corresponding to the fault state simulation data, and a fault recovery state simulation message corresponding to the fault recovery state simulation data.
[0166] Among them, in the process of generating normal state simulation messages, fault state simulation messages and fault recovery state simulation messages, the normal state simulation data, fault state simulation data and fault recovery state simulation data are respectively used as test data corresponding to the second test item, and the normal state simulation message, fault state simulation message and fault recovery state simulation message are generated according to the communication protocol corresponding to the second test item.
[0167] Step 402, sequentially use the normal state simulation message, the fault state simulation message and the fault recovery state simulation message as test communication messages.
[0168] Here, “in sequence” refers to the order in which the normal state simulation data, the fault state simulation data, and the fault recovery state simulation data are arranged in the multi-state simulation data.
[0169] Therefore, when the normal state simulation message, the fault state simulation message and the fault recovery state simulation message are used as test communication messages in sequence, the order between the normal state simulation message, the fault state simulation message and the fault recovery state simulation message is consistent with the setting order between the normal state simulation data, the fault state simulation data and the fault recovery state simulation data.
[0170] In an exemplary implementation process, a normal-state simulation message corresponding to the normal-state simulation data can be first generated, and the normal-state simulation message can be used as a test communication message to perform subsequent processing steps. Then, a fault-state simulation message corresponding to the fault-state simulation data can be generated, and the fault-state simulation message can be used as a test communication message to perform subsequent processing steps. Then, a fault-reset state simulation message corresponding to the fault-reset state simulation data can be further generated, and the fault-reset state simulation message can be used as a test communication message to perform subsequent processing steps.
[0171] Alternatively, after respectively generating a normal state simulation message corresponding to the normal state simulation data, a fault state simulation message corresponding to the fault state simulation data, and a fault recovery state simulation message corresponding to the fault recovery state simulation data, the normal state simulation message, the fault state simulation message, and the fault recovery state simulation message can be used as test communication messages in the order of setting the normal state simulation data, the normal state simulation data, and the fault recovery state simulation data, and subsequent processing steps can be performed.
[0172] Through the above processing operations, the situation where a fault state occurs interspersed with a normal state is simulated, and the test scenario of a transient fault occurring during the normal operation of the equipment is simulated, thereby improving the testability of the transient fault, and improving the test effect and comprehensiveness of the test.
[0173] In a specific application process, a configuration interface can be provided to the user in the host computer. Figure 5 An optional configuration interface diagram is provided in Figure 5 As shown, the configuration bars for normal state, fault state and fault recovery state are displayed in the configuration interface.
[0174] Among them, the normal state configuration column is used to configure the normal state simulation data, the fault state configuration column is used to configure the fault state simulation data, and the fault recovery state configuration column is used to configure the fault recovery state simulation data.
[0175] The configuration data items in different configuration columns may be the same, and the data values corresponding to the same configuration data items may be different. Alternatively, the data items in different configuration columns may be partially the same and partially different. Alternatively, the total amount of data items in different configuration columns may be different.
[0176] There may be multiple configuration data items in the configuration column, and multiple data items form a configuration sequence of operation data. The number and timing of different configuration data items in the sequence can be adjusted. Exemplarily, the configuration data items in the configuration sequence may include current value, voltage value, power supply status, IGBT status, battery module status, valve cooling system status, A set status, B set status in the main and standby control, etc.
[0177] In the above process, simulation data of the external connection equipment of the valve control protection device under various operating conditions are configured in one test item, and corresponding multiple test communication messages are generated based on the multi-state simulation data in one test item, and data simulation of the normal state, fault state and fault recovery state of the external connection equipment of the valve control protection device is implemented, so that the fault state data of the external connection equipment of the valve control protection device is dynamically interspersed with the normal state data and the fault recovery state data to implement fault testing, providing a dynamic testing method to simulate the fault state interspersed in the normal state, improve the testability of transient faults, and improve the test effect and test comprehensiveness.
[0178] In some conventional technologies, a test board only simulates an external connection device of a valve-controlled protection device (such as a power module, a battery module, etc.). In actual projects, the number of external connection devices of valve-controlled protection devices is large. If all of them are simulated, many test boards need to be installed in the test device to achieve comprehensive fault detection of the valve-controlled protection device, which makes the test system difficult to manage and highly complex.
[0179] In response to the above situation, the present application proposes to set up multiple ports on a test device, establish a test correspondence between the multiple ports and different components to be tested in the valve control protection device, and establish a test correspondence between the multiple ports and different test items. Through the configuration of multiple ports, it is possible to simulate the external connection devices of multiple valve control protection devices in one test device, and by establishing a correspondence between the test items for different external connection devices and different ports, and a correspondence between different ports and the components to be tested in the valve control protection device, multiple types of ports are configured in one test device, and signal simulation is performed according to fault configuration information to generate test communication messages and select appropriate ports for information output, so as to realize fault simulation testing of different components to be tested according to corresponding test items.
[0180] In an implementation process, a sending module and a receiving module can be set in the test tooling. The sending module is provided with a cache inside, and outputs the corresponding communication message from the information output port according to the message sending configuration data; the receiving module receives the corresponding message from the information receiving port according to the message receiving configuration data.
[0181] Among them, the same information output port can be used in different test items, and can be reused between different test items as long as the communication protocol is the same; similarly, the same information receiving port can be used in different test items, and can be reused between different test items as long as the communication protocol is the same.
[0182] Specifically, in some embodiments, a targeted solution is proposed:
[0183] The test device includes a plurality of information output ports, and different information output ports are configured to be connected to corresponding components to be tested in the valve control and protection device; correspondingly, the message sending configuration data includes output port configuration data.
[0184] The output port configuration data is, for example, the communication protocol supported by the information output port, the information output port number, etc. Correspondingly, step 102 sends the test communication message to the valve control protection device, including:
[0185] Determine a target output port matching the current test item from a plurality of information output ports;
[0186] The test communication message is sent to the target component to be tested in the valve control protection device through the target output port.
[0187] Among them, determining the target output port matching the current test item from multiple information output ports can be, from multiple information output ports, selecting a port whose supported communication protocol is consistent with the communication protocol configured in the current test item, or selecting a port whose port number is consistent with the port number configured in the current test item from multiple information output ports.
[0188] This process enables a test device to simulate multiple external connection devices of the valve control protection device. By matching the ports, the test communication messages of different test items are sent to the target components to be tested in the valve control protection device, thereby simulating different external connection devices of the valve control protection device. The corresponding ports are used to transmit the messages to the target components to be tested corresponding to the test items, thereby realizing simulation testing of different components to be tested in the valve control protection device, ensuring the effectiveness and refinement of the fault simulation test, and making the test system easy to manage and reducing complexity.
[0189] Differently, in other embodiments of the present application, targeted solutions are proposed for the above situation:
[0190] The test device includes a plurality of information receiving ports, and different information receiving ports are configured to be connected to corresponding components to be tested in the valve control and protection device, and the message receiving configuration data includes receiving port configuration data.
[0191] The receiving port configuration data includes, for example, the communication protocol supported by the information receiving port, the information receiving port number, etc.
[0192] Here, there is a correspondence between the information receiving port and the information output port, which correspondence is, for example, a one-to-one correspondence between the port numbers of the set information receiving port and the information output port, or a correspondence between the information receiving port and the information output port supporting the same communication protocol.
[0193] There is a corresponding relationship between the information output port and different components to be tested in the valve-controlled protection device. The corresponding relationship is specifically a line connection relationship between the information output port and different components to be tested in the valve-controlled protection device, or a test corresponding relationship formed between the information output port and different components to be tested in the valve-controlled protection device.
[0194] There is a corresponding relationship between the information receiving port and different components to be tested in the valve control protection device. The corresponding relationship is specifically a line connection relationship between the information receiving port and different components to be tested in the valve control protection device, or a test corresponding relationship formed between the information receiving port and different components to be tested in the valve control protection device.
[0195] There is a correspondence between the information receiving port and different test items, which is specifically a correspondence between the communication protocol supported by the information receiving port and the communication protocol configured in the test item, or a correspondence between the port number of the information receiving port and the port number configured in the test item.
[0196] There is a correspondence between the information output port and different test items, which is specifically a correspondence between the communication protocol supported by the information output port and the communication protocol configured in the test item, or a correspondence between the port number of the information output port and the port number configured in the test item.
[0197] Correspondingly, combined with Figure 6 As shown, step 104 parses the feedback information to obtain the test parsing results, including:
[0198] Step 601: determine a target receiving port that receives feedback information.
[0199] Step 602: Determine a target test item corresponding to the feedback information based on the target receiving port.
[0200] Step 603: parse the feedback information based on the test pass criteria of the target test item to obtain a test parsing result.
[0201] The test passing criterion may be a set of pre-set judgment conditions.
[0202] More specifically, the test pass criterion may be a data reference range or a data reference threshold corresponding to the target test item, or a set of discrimination conditions corresponding to the data reference range or the data reference threshold.
[0203] When the feedback information is parsed, the feedback information may be parsed according to the communication protocol corresponding to the target test item to obtain the information content carried therein, and further conditionally judged on the information content based on the test pass criteria to obtain the test parsing result.
[0204] In this way, the above process enables a test item to have a corresponding information output port, an information receiving port, and a group of components to be tested corresponding to it in the valve control protection device. Through the correspondence between the four and combined with the closed-loop test process of the test method, the test communication message corresponding to a certain test item can be accurately transmitted through the correct port to the corresponding group of components to be tested in the valve control protection device, and the feedback information matching the test item can be accurately obtained, so that when there are multiple test items, the orderly implementation of the fault simulation test can be ensured, and effective fault analysis and processing can be carried out.
[0205] Based on the above implementation, in some embodiments, the target test item is specifically a link delay test.
[0206] Combination Figure 7 As shown, correspondingly, step 603 analyzes the feedback information based on the test pass criteria of the target test item to obtain a test analysis result, including:
[0207] Step 701, based on feedback information, obtain first clock information and second clock information.
[0208] The first clock information is the time when the test device receives the feedback information, and the second clock information is the time when the valve control device detects the fault based on the test communication message.
[0209] Step 702: Determine link delay based on the first clock information and the second clock information.
[0210] Here, in an optional implementation process, the first clock information is subtracted from the second clock information to obtain a time interval to determine the link delay, or based on the first clock information and the second clock information, the normal delay of data transmission in the data link is removed to obtain the link delay.
[0211] Step 703: compare the link delay with the link delay reference duration associated with the target test item to obtain a test analysis result.
[0212] The link delay reference duration is, for example, a duration interval less than 100 us. The link delay is compared with the duration interval, and if the link delay reference duration is greater than the maximum value of the duration interval, it is determined that link transmission is abnormal.
[0213] This process, combined with the link delay test item, is based on a closed-loop fault simulation test process. The link delay is determined by the clock information associated with the feedback information, and the test analysis result is obtained based on the link delay reference duration associated with the test item, thereby completing the link delay test in the valve control protection device.
[0214] Based on the above implementation, Figure 8 As shown, in some embodiments, the valve-controlled protection device includes a protection chassis and a central control board; the test communication message includes a first fault state simulation message generated according to a fault current waveform or a fault voltage waveform set in a target test item, and the first fault state simulation message is sent to the protection chassis, and feedback information is output by the central control board.
[0215] The first clock information is the moment when the protection chassis detects that the current or voltage is greater than a set value based on the first fault state simulation message, and the second clock information is the moment when the test device receives feedback information for controlling the switch tube to shut down.
[0216] The switch tube is, for example, a field effect tube, an IGBT, etc. The feedback information used to control the switch tube to be turned off is, for example, instruction information for controlling the IGBT upper tube to be turned off.
[0217] Among them, the link delay determined based on the first clock information and the second clock information is the delay from the moment when the protection chassis detects that the current or voltage is greater than the set value based on the first fault state simulation message to the moment when the test device receives the feedback information of the control switch tube shut down sent by the central control board, which is the protection link delay.
[0218] Furthermore, in one example, in combination Figure 8 As shown, the protection chassis in the valve control protection device can be multiple ( Figure 8 3 are shown in the figure), multiple protection chassis are connected to the test tooling through ports respectively, and the sending module thereby realizes sending the first fault state simulation message to the protection chassis, the protection chassis is connected to the three-out-of-two chassis, the three-out-of-two chassis is connected to the main control chassis, the main control chassis is connected to the expansion chassis, and the expansion chassis is connected to the central control board, and the central control board outputs feedback information to the receiving module of the test tooling, thereby realizing the link delay test in the valve control protection device.
[0219] In the specific implementation process, the protection function test items and FT3 communication protocol can be set in the host computer, and the test fixture generates a simulation message according to the fault current waveform or fault voltage waveform in the test case, and sends at least 3 messages to the protection chassis in the valve control protection device to carry out the link delay test of the valve control protection device. In this example, the time interval from the moment when the protection chassis detects that the current / voltage is greater than the set value to the moment when the test fixture receives the IGBT upper tube shutdown command issued by the central control board is the protection link delay. The host will compare this time interval with the set value set in advance by the system to determine whether the test passes.
[0220] The above fault current waveform or fault voltage waveform can be configured in the host computer according to the time sequence or the number of fault points. During the operation, the user can Figure 5 The configuration interface in the upper computer shown is used to sequence the simulation data in the normal state, fault state, and fault recovery state configuration columns to accurately control the insertion and recovery of the fault point.
[0221] The above process refines the application scenario of the test method into the fault simulation test of the line current / voltage. By generating a fault state simulation message according to the fault current waveform or fault voltage waveform set in the target test item, the function and link delay test of the protection chassis and the central control board in the valve control protection device is realized, thereby realizing accurate and effective testing of specific components to be tested in the valve control protection device.
[0222] In some embodiments, the target test item is specifically a fault test of internal components of an externally connected device of the valve control and protection device.
[0223] Combination Fig. 9 As shown, correspondingly, the valve control protection device includes an expansion chassis and a main control chassis; the test communication message includes a second fault state simulation message for simulating faults of internal components of an external connection device of the valve control protection device; the second fault state simulation message is sent to the expansion chassis, and feedback information is output by the main control chassis.
[0224] The external connection device of the valve control and protection device is, for example, a primary device such as a power module, a battery module, or a secondary device such as a DC control and protection device.
[0225] Internal components of the external connection equipment of the valve control protection device, for example, gate-level circuits, IGBTs, energy-taking power supplies in power modules; charging and discharging components in battery modules, etc.
[0226] Perform fault simulation on the internal components of the external connection equipment of the valve control protection device, for example, IGBT power supply fault simulation and gate-level undervoltage fault simulation inside the power module, power-on / off failure simulation and charge / discharge power over-limit simulation on the internal charge and discharge components of the battery module, etc.
[0227] Correspondingly, combined with Fig.10 As shown, step 603 parses the feedback information based on the test pass criteria of the target test item to obtain a test parsing result, including:
[0228] Step 1001, obtaining feedback information sent by the main control chassis for indicating remote signal change information;
[0229] Step 1002: Based on the feedback information, the remote signal displacement information is compared with the expected value of the remote signal displacement associated with the target test item to obtain a test analysis result.
[0230] The remote signal change information is the status change information of the equipment.
[0231] The remote signal change information carried in the feedback information sent by the main control box in the valve control protection device is used to indicate the state change of the external connection equipment of the valve control protection device detected by the valve control protection device.
[0232] Specifically, the internal components of the external connection equipment of the valve control and protection device generate corresponding displacement information after the action. The test device simulates the displacement process, generates a corresponding fault state simulation message and sends it to the expansion chassis in the valve control and protection device.
[0233] When it is detected that the telesignaling status of the external connection equipment of the valve control protection device has changed, the valve control protection device will need to send telesignaling position change information to the monitoring background. The test device can collect the telesignaling position change information generated in the process. Specifically, the telesignaling position change information carried in the feedback information output by the valve control protection device can be compared with the expected value of the telesignaling position change to verify whether the valve control protection device accurately detects the telesignaling position change associated with the external connection equipment of the valve control protection device, realize fault simulation of the internal components of the external connection equipment of the valve control protection device, and carry out refined function realization and performance testing of the valve control protection device.
[0234] Among them, the fault simulation of the internal components of the external connection equipment of the valve control and protection device is, for example:
[0235] To simulate an internal IGBT fault in a power module, specifically, enable information with a value of 1 may be inserted into a state bit corresponding to an IGBT power supply fault, desaturation fault, overcurrent fault, gate-level undervoltage fault, etc. inside the power module in a fault state simulation message.
[0236] To simulate an internal IGBT fault in a power module, specifically, in the fault state simulation message, the corresponding status bits of power-on / power-off failure in the battery module, allowed charge / discharge power exceeding the limit, battery charge / discharge SOX exceeding the limit, etc. can be inserted with an enable information of 1.
[0237] Furthermore, the fault data corresponding to the internal components of the externally connected equipment of the valve control protection device can be configured in the host computer according to the time sequence or the number of fault points. During the operation, the user can Figure 5 The configuration interface in the upper computer shown is used to sequence the simulation data in the normal state, fault state, and fault recovery state configuration columns to accurately control the insertion and recovery of the fault point.
[0238] The above process changes the current situation in which the commonly used technology only involves function trigger testing of the external connection equipment of the valve-controlled protection device. By simulating the faults of the internal components of the external connection equipment of the valve-controlled protection device, a fault insertion test of the expansion chassis and the main control chassis contained in the valve-controlled protection device is realized, thereby improving the comprehensiveness of the test and the test effect.
[0239] In some embodiments, the target test item is specifically a primary-standby control test.
[0240] Here, the active-standby control test specifically refers to the switching control test of the chassis between the active function mode and the standby function mode.
[0241] Combination Fig.11 As shown, correspondingly, the valve control protection device includes multiple main control chassis; the test communication message includes a third fault state simulation message for simulating active and standby control, and the third fault state simulation message is sent to each main control chassis.
[0242] The main control chassis can control itself to switch between the host mode and the standby mode based on the received fault state simulation message, so that the switching distribution of the host function and the standby function can be achieved among multiple main control chassis.
[0243] On this basis, combined with Fig.12 As shown, step 603 parses the feedback information based on the test pass criteria of the target test item to obtain a test parsing result, including:
[0244] Step 1201: Acquire feedback information sent by each master control chassis and used to indicate the active / standby status in the master control chassis.
[0245] Step 1202: Based on the feedback information, the active / standby status is compared with the active / standby expected status associated with the target test item to obtain a test analysis result.
[0246] In an exemplary implementation process, the host computer sets the master-slave control test items, and the test tool generates Ethernet communication messages (i.e., fault state simulation messages) for master-slave control according to the corresponding Ethernet communication protocol, and sends them to the host computer through the sending module. Fig.11The two main control chassis shown in the figure send the master-slave control message. After receiving and processing the master-slave control signal, the two main control chassis send the feedback signal to the receiving module. The test tool receives the feedback information of the corresponding main control chassis based on the fault state simulation message, and determines the execution result of each main control chassis on the master-slave control instruction based on the feedback information, and compares the master-slave status in the main control chassis indicated in the feedback information with the master-slave expected status associated with the current test item, realizes test analysis, obtains the test analysis result, and determines whether the test passes.
[0247] Among them, the fault state simulation message used for active-standby control can simulate the fault state switching control of the main control chassis in dual-active mode or dual-standby mode, and test the active-standby switching logic of the valve control protection device.
[0248] In one example, based on the feedback information, the active-standby status is compared with the expected active-standby status associated with the target test item to obtain the test analysis result. The test tooling can also parse the feedback information to obtain the information content when the feedback information indicates that the active-standby switching in the main control chassis is unsuccessful. Based on the information content, it is determined whether the valve control protection device triggers a protective tripping signal for the situation where the active-standby switching fails, thereby realizing a functional test of the valve control protection device.
[0249] The above process realizes the fault insertion test of the main and standby control functions between multiple main control chassis contained in the valve control protection device, thereby improving the comprehensiveness and effect of the test.
[0250] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0251] Based on the same inventive concept, the embodiment of the present application also provides a test device for a valve control and protection device. The test device for a valve control and protection device provided in the embodiment of the present application can implement each process of the embodiment of the above-mentioned test method and can achieve the same technical effect. Therefore, the specific limitations in the embodiments of the test device for one or more valve control and protection devices provided below can refer to the limitations on the test method above. To avoid repetition, they will not be repeated here.
[0252] In one embodiment, Fig.13 As shown, a test device for a valve control protection device is provided, comprising:
[0253] A controller, a plurality of information output ports (N in the figure) connected to the controller, and a plurality of information receiving ports (N in the figure) corresponding to the information output ports.
[0254] Among them, different information receiving ports and information output ports are configured to be connected to corresponding components to be tested in the valve control and protection device.
[0255] This structural arrangement integrates a plurality of information output ports and a plurality of information receiving ports having a corresponding relationship therewith in the test device.
[0256] The corresponding relationship, as described in the above embodiments, is, for example, a one-to-one corresponding relationship between the port numbers of the set information receiving port and the information output port, or a corresponding relationship between the information receiving port and the information output port supporting the same communication protocol.
[0257] In addition, the information output port has a corresponding relationship with different components to be tested in the valve control protection device, the information receiving port has a corresponding relationship with different components to be tested in the valve control protection device, the information output port has a corresponding relationship with different test items, and the information receiving port has a corresponding relationship with different test items.
[0258] These corresponding relationships have been described in the aforementioned method embodiments and will not be repeated here.
[0259] Among them, the same information output port can be used in different test items, and can be reused between different test items as long as the communication protocol is the same; similarly, the same information receiving port can be used in different test items, and can be reused between different test items as long as the communication protocol is the same.
[0260] In a specific application process, the test device includes a test fixture, and the controller, the information output port and the information receiving port are all located in the test fixture.
[0261] The above implementation method realizes one-to-one connection with different components to be tested in the valve control protection device through multiple interfaces with different functions, simulates external connection devices of different valve control protection devices through one test tool, and realizes effective closed-loop simulation test processing of different components to be tested in the valve control protection device according to corresponding test items.
[0262] It should be emphasized that the structural setting of the test device of the valve control and protection device, the functional implementation of the components and other related descriptions can all refer to the detailed description information in the aforementioned method embodiment. In order to avoid repetition, they will not be repeated here.
[0263] The above-mentioned device configuration structure enables a test item to have a corresponding information output port, an information receiving port, and a group of components to be tested corresponding to it in the valve control and protection device. Through the correspondence between the four, equipment support is provided for the closed-loop test process of the test method, so that in some test processes, the test communication message corresponding to a certain test item can be accurately transmitted through the correct port to the corresponding group of components to be tested in the valve control and protection device, and the feedback information matching the test item can be accurately obtained, thereby ensuring the orderly implementation of the fault simulation test.
[0264] Based on the structural configuration of the above test device, different data processing and interactive control functions of the controller can be realized.
[0265] In one example, the controller is used to determine a target output port matching the current test item from multiple information output ports, and send a test communication message generated based on the fault configuration information to a target component to be tested in the valve control protection device through the target output port.
[0266] Among them, determining the target output port matching the current test item from multiple information output ports can be, from multiple information output ports, selecting a port whose supported communication protocol is consistent with the communication protocol configured in the current test item, or selecting a port whose port number is consistent with the port number configured in the current test item from multiple information output ports.
[0267] The implementation process and implementation effects have been described in the aforementioned method embodiments and will not be repeated here.
[0268] Alternatively, in another example, the controller is used to determine a target receiving port that receives feedback information from multiple information receiving ports, determine a target test item corresponding to the feedback information based on the target receiving port, and parse the feedback information based on the test pass criteria of the target test item to obtain a test parsing result.
[0269] The test passing criterion may be a set of pre-set judgment conditions.
[0270] This content has been described in the aforementioned method embodiment and will not be repeated here.
[0271] In this process, when it is determined that a port has received feedback information, the corresponding relationship between the information receiving port and the test item can be used to determine which target test item the feedback information received by the port corresponds to, thereby implementing effective and correct parsing of the feedback information based on the configuration information of the target test item.
[0272] Alternatively, in one example, the controller is used to determine a target output port that matches the current test item from multiple information output ports, and send a test communication message generated based on the fault configuration information to the target component to be tested in the valve control protection device through the target output port; and is used to determine a target receiving port that receives feedback information from multiple information receiving ports, determine a target test item corresponding to the feedback information based on the target receiving port, and parse the feedback information based on the test pass criteria of the target test item to obtain a test parsing result.
[0273] In this process, the current test item and the target test item may be the same or different, so as to carry out orderly and coordinated implementation of different test items.
[0274] The above processing procedure enables a test item to have a corresponding information output port, an information receiving port, and a corresponding group of components to be tested in the valve control protection device. Through the correspondence between the four and combined with the closed-loop test process of the test method, the test communication message corresponding to a test item can be accurately transmitted through the correct port to the corresponding group of components to be tested in the valve control protection device, and the feedback information matching the test item can be accurately obtained, so that when there are multiple test items, the orderly implementation of the fault simulation test can be ensured, and effective fault analysis and processing can be carried out.
[0275] Furthermore, in some embodiments, the fault configuration information includes at least one test item, and the test item corresponds to a communication protocol.
[0276] Here, the description and examples of fault configuration information, test items, and communication protocols have been described in the aforementioned method embodiments and will not be repeated here.
[0277] The information output port and the information receiving port are configured to support the set communication protocol, thereby enabling orderly processing of different test items based on the information output port and the information receiving port.
[0278] Correspondingly, the controller is used to determine a target output port matching the current test item from a plurality of information output ports based on a set communication protocol supported by the information output port.
[0279] Alternatively, the controller is used to determine the target test item corresponding to the feedback information received by the target receiving port based on a set communication protocol supported by the information receiving port.
[0280] Alternatively, the controller is used to determine a target output port matching the current test item from multiple information output ports based on a set communication protocol supported by the information output port, and is used to determine the target test item corresponding to the feedback information received by the target receiving port based on a set communication protocol supported by the information receiving port.
[0281] The communication protocol supported by the target receiving port is the same as the communication protocol corresponding to the target test item.
[0282] Among them, the communication protocol supported by the target output port is the same as the communication protocol corresponding to the current test item.
[0283] In the above process, multiple information output ports and information receiving ports are set, and the communication protocol supported by their configuration is set, so that the test communication message corresponding to a certain test item can be accurately transmitted through the correct port to a group of components to be tested corresponding to it in the valve control protection device. When the feedback information of the valve control protection device on the test communication message is obtained, it is accurately matched to the corresponding test item to carry out effective fault analysis and processing, thereby realizing accurate and orderly simulation testing of the components to be tested in the valve control protection device.
[0284] In one embodiment, Fig.14 As shown, a testing device 14 for a valve control device is provided, comprising: an acquisition module 1401 , a processing module 1402 , a receiving module 1403 and a display module 1404 .
[0285] An acquisition module 1401 is used to acquire fault configuration information;
[0286] The processing module 1402 is used to generate a test communication message based on the fault configuration information, and send the test communication message to the valve control protection device;
[0287] The receiving module 1403 is used to obtain feedback information sent by the valve control and protection device based on the test communication message;
[0288] The display module 1404 is used to analyze the feedback information, obtain the test analysis result and display it.
[0289] In some embodiments, the test device includes a host computer and a test tool; the host computer determines the fault configuration information in response to a user input operation;
[0290] The test tool analyzes the feedback information to obtain a test analysis result, and sends the test analysis result to the host computer;
[0291] The host computer displays data based on the test analysis results.
[0292] In some embodiments, the fault configuration information includes at least one test item, and test data, communication protocols, message sending configuration data, and message receiving configuration data corresponding to each of the test items.
[0293] In some embodiments, the test data includes fault state simulation data; the processing module 1402 is specifically used to:
[0294] The test communication message is generated based on the first fault state simulation data corresponding to the first test item and in accordance with the first communication protocol of the first test item.
[0295] In some embodiments, the test data includes multi-state simulation data arranged in sequence, and the multi-state simulation data includes normal state simulation data, fault state simulation data and fault recovery state simulation data; the processing module 1402 is specifically used to:
[0296] Based on the multi-state simulation data corresponding to the second test item, respectively generate a normal state simulation message corresponding to the normal state simulation data, a fault state simulation message corresponding to the fault state simulation data, and a fault recovery state simulation message corresponding to the fault recovery state simulation data;
[0297] The normal state simulation message, the fault state simulation message and the fault recovery state simulation message are used as the test communication messages in sequence.
[0298] In some embodiments, the test device includes a plurality of information output ports, and different information output ports are configured to be connected to corresponding components to be tested in the valve control device; the message sending configuration data includes output port configuration data; the processing module 1402 is specifically used to:
[0299] Determine a target output port matching the current test item from the plurality of information output ports;
[0300] The test communication message is sent to the target component to be tested in the valve control and protection device through the target output port.
[0301] In some embodiments, the test device includes a plurality of information receiving ports corresponding to the information output ports, and different information receiving ports are configured to be connected to corresponding components to be tested in the valve control device, and the message receiving configuration data includes receiving port configuration data; the display module 1404 is specifically used to:
[0302] Determine a target receiving port that receives the feedback information;
[0303] Determine a target test item corresponding to the feedback information based on the target receiving port;
[0304] The feedback information is parsed based on the test pass criteria of the target test item to obtain the test parsing result.
[0305] In some embodiments, the display module 1404 is more specifically used to:
[0306] Based on the feedback information, first clock information and second clock information are acquired; the first clock information is the time when the test device receives the feedback information, and the second clock information is the time when the valve control device detects a fault based on the test communication message;
[0307] Determine a link delay based on the first clock information and the second clock information;
[0308] The link delay is compared with a link delay reference duration associated with the target test item to obtain the test analysis result.
[0309] In some embodiments, the valve control protection device includes a protection chassis and a central control board; the test communication message includes a first fault state simulation message generated according to a fault current waveform or a fault voltage waveform set in the target test item, the first fault state simulation message is sent to the protection chassis, and the central control board outputs the feedback information;
[0310] The first clock information is the moment when the protection chassis detects that the current or voltage is greater than a set value based on the first fault state simulation message, and the second clock information is the moment when the test device receives the feedback information for controlling the switch tube to shut down.
[0311] In some embodiments, the valve control and protection device includes an expansion chassis and a main control chassis; the test communication message includes a second fault state simulation message for simulating a fault of an internal component of an external connection device of the valve control and protection device; the second fault state simulation message is sent to the expansion chassis, and the main control chassis outputs the feedback information; the display module 1404 is more specifically used to:
[0312] Acquiring feedback information sent by the main control chassis for indicating remote signal change information;
[0313] Based on the feedback information, the remote signal displacement information is compared with the expected value of the remote signal displacement associated with the target test item to obtain the test analysis result.
[0314] In some embodiments, the valve control protection device includes a plurality of main control chassis; the test communication message includes a third fault state simulation message for simulating the main and standby control, and the third fault state simulation message is sent to each of the main control chassis;
[0315] The display module 1404 is more specifically used for:
[0316] Acquire feedback information sent by each of the main control chassis and used to indicate the master / standby status in the main control chassis;
[0317] Based on the feedback information, the active / standby state is compared with an expected active / standby state associated with the target test item to obtain the test analysis result.
[0318] Each module in the test device of the valve control device can be implemented in whole or in part by software, hardware and a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0319] In one embodiment, Fig.15 As shown, a computer device is provided. The computer device 15 of this embodiment includes: at least one processor 1500 ( Fig.15 Only one is shown in the figure), a memory 1501, and a computer program 1502 stored in the memory 1501 and executable on the at least one processor 1500, wherein the processor 1500 implements the steps of any of the above-mentioned method embodiments when executing the computer program 1502.
[0320] The computer device 15 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The computer device 15 may include, but is not limited to, a processor 1500 and a memory 1501. Those skilled in the art will appreciate that Fig.15 It is only an example of the computer device 15 and does not constitute a limitation of the computer device 15. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the computer device may also include input and output devices, network access devices, buses, etc.
[0321] The processor 1500 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 gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0322] The memory 1501 may be an internal storage unit of the computer device 15, such as a hard disk or memory of the computer device 15. The memory 1501 may also be an external storage device of the computer device 15, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the computer device 15. Further, the memory 1501 may also include both an internal storage unit of the computer device 15 and an external storage device. The memory 1501 is used to store the computer program and other programs and data required by the computer device. The memory 1501 may also be used to temporarily store data that has been output or is to be output.
[0323] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0324] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0325] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0326] In the embodiments provided in the present application, it should be understood that the disclosed apparatus / computer equipment and methods can be implemented in other ways. For example, the apparatus / computer equipment embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of the apparatus or unit, which can be electrical, mechanical or other forms.
[0327] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0328] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0329] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0330] The present application implements all or part of the processes in the above-mentioned embodiment methods, and may also be implemented through a computer program product. When the computer program product runs on a computer device, the computer device can implement the steps in the above-mentioned method embodiments when executing the computer program product.
[0331] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A test method, applied to a test device for a valve control protection device, characterized in that: The method comprises: Get fault configuration information; Based on the fault configuration information, a test communication message is generated, and the test communication message is sent to the valve control protection device; Acquiring feedback information sent by the valve control and protection device based on the test communication message; Analyze the feedback information, obtain the test analysis result and display it.
2. The method according to claim 1, characterized in that The test device includes a host computer and a test tool; the acquisition of fault configuration information includes: The host computer determines the fault configuration information in response to a user input operation; The step of analyzing the feedback information, obtaining and displaying the test analysis results includes: The test tool analyzes the feedback information to obtain a test analysis result, and sends the test analysis result to the host computer; The host computer displays data based on the test analysis results.
3. The method according to claim 1 or 2, characterized in that: The fault configuration information includes at least one test item, and test data, communication protocol, message sending configuration data and message receiving configuration data corresponding to the test item.
4. The method according to claim 3, characterized in that The test data includes fault state simulation data; and the generating of the test communication message based on the fault configuration information includes: The test communication message is generated based on the first fault state simulation data corresponding to the first test item and in accordance with the first communication protocol of the first test item.
5. The method according to claim 3, characterized in that: The test data includes multi-state simulation data arranged in sequence, and the multi-state simulation data includes normal state simulation data, fault state simulation data and fault recovery state simulation data; the generating of the test communication message based on the fault configuration information includes: Based on the multi-state simulation data corresponding to the second test item, respectively generate a normal state simulation message corresponding to the normal state simulation data, a fault state simulation message corresponding to the fault state simulation data, and a fault recovery state simulation message corresponding to the fault recovery state simulation data; The normal state simulation message, the fault state simulation message and the fault recovery state simulation message are used as the test communication messages in sequence.
6. The method according to claim 3, characterized in that: The test device comprises a plurality of information output ports, and different information output ports are configured to be connected to corresponding components to be tested in the valve control and protection device; The message sending configuration data includes output port configuration data; The step of sending the test communication message to the valve control protection device includes: Determine a target output port matching the current test item from the plurality of information output ports; The test communication message is sent to the target component to be tested in the valve control and protection device through the target output port.
7. The method according to claim 3, characterized in that The test device comprises a plurality of information receiving ports corresponding to the information output ports, different information receiving ports are configured to be connected to corresponding components to be tested in the valve control and protection device, and the message receiving configuration data comprises receiving port configuration data; The step of analyzing the feedback information to obtain a test analysis result includes: Determine a target receiving port that receives the feedback information; Determine a target test item corresponding to the feedback information based on the target receiving port; The feedback information is parsed based on the test pass criteria of the target test item to obtain the test parsing result.
8. The method according to claim 7, characterized in that The step of parsing the feedback information based on the test pass criteria of the target test item to obtain the test parsing result includes: Based on the feedback information, first clock information and second clock information are acquired; the first clock information is the time when the test device receives the feedback information, and the second clock information is the time when the valve control device detects a fault based on the test communication message; Determine a link delay based on the first clock information and the second clock information; The link delay is compared with a link delay reference duration associated with the target test item to obtain the test analysis result.
9. The method according to claim 8, characterized in that The valve control protection device includes a protection chassis and a central control board; the test communication message includes a first fault state simulation message generated according to the fault current waveform or the fault voltage waveform set in the target test item, the first fault state simulation message is sent to the protection chassis, and the central control board outputs the feedback information; The first clock information is the moment when the protection chassis detects that the current or voltage is greater than a set value based on the first fault state simulation message, and the second clock information is the moment when the test device receives the feedback information for controlling the switch tube to shut down.
10. The method according to claim 7, characterized in that The valve control and protection device includes an extension chassis and a main control chassis; the test communication message includes a second fault state simulation message for simulating a fault of an internal component of an externally connected device of the valve control and protection device; the second fault state simulation message is sent to the extension chassis, and the main control chassis outputs the feedback information; The step of parsing the feedback information based on the test pass criteria of the target test item to obtain the test parsing result includes: Obtaining feedback information sent by the main control chassis for indicating remote signal change information; Based on the feedback information, the remote signal displacement information is compared with the expected value of the remote signal displacement associated with the target test item to obtain the test analysis result.
11. The method according to claim 7, characterized in that The valve control protection device includes a plurality of main control chassis; the test communication message includes a third fault state simulation message for simulating the main and standby control, and the third fault state simulation message is sent to each of the main control chassis; The step of parsing the feedback information based on the test pass criteria of the target test item to obtain the test parsing result includes: Acquire feedback information sent by each of the main control chassis for indicating the master / standby status in the main control chassis; Based on the feedback information, the active / standby state is compared with an expected active / standby state associated with the target test item to obtain the test analysis result.
12. A test device for a valve control device, characterized in that: include: A controller, a plurality of information output ports connected to the controller, and a plurality of information receiving ports corresponding to the information output ports; Wherein, different information receiving ports and information output ports are configured to be connected to corresponding components to be tested in the valve control and protection device; The controller is used to determine a target output port matching the current test item from the plurality of information output ports, and send the test communication message generated based on the fault configuration information to the target component to be tested in the valve control and protection device through the target output port; and / or, The controller is used to determine a target receiving port that receives feedback information from the multiple information receiving ports, determine a target test item corresponding to the feedback information based on the target receiving port, and parse the feedback information based on the test pass criteria of the target test item to obtain the test parsing result.
13. The device according to claim 12, characterized in that The fault configuration information includes at least one test item, the test item corresponds to a communication protocol, and the information output port and the information receiving port are configured to support the set communication protocol; The controller is used to determine a target output port matching a current test item from a plurality of the information output ports based on a set communication protocol supported by the information output port; And / or, the controller is used to determine the target test item corresponding to the feedback information received by the target receiving port based on a set communication protocol supported by the information receiving port.
14. A test device for a valve control device, characterized in that: include: An acquisition module, used to acquire fault configuration information; A processing module, configured to generate a test communication message based on the fault configuration information, and send the test communication message to the valve control protection device; A receiving module, used for obtaining feedback information sent by the valve control and protection device based on the test communication message; The display module is used to analyze the feedback information, obtain the test analysis results and display them.
15. 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 is used to call computer instructions so that the computer device implements the steps of the method according to any one of claims 1 to 11 when executing the computer program.
16. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 11 are implemented.
17. A computer program product, characterized in that The invention comprises a computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code, wherein when the computer-readable code is executed in an electronic device, a processor in the electronic device calls the computer-readable code so that the electronic device executes the steps of the method described in any one of claims 1 to 11.
