A device virtual circuit connectivity testing method based on virtual machine and related device

By simulating substation equipment through virtual machines and automatically detecting virtual loop connection information between equipment, it solves the problem of low efficiency in equipment interconnection detection in smart substations and achieves an efficient and automated detection process.

CN117749216BActive Publication Date: 2024-09-24ELECTRIC POWER RES INST CHINA SOUTHERN POWER GRID CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311737942.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-15
Publication Date
2024-09-24
Estimated Expiration
2043-12-15

AI Technical Summary

Technical Problem

In smart substations, the interconnection detection between equipment requires a lot of manpower and time, and it is easy to cause inaccurate testing due to human factors, affecting detection efficiency.

Method used

The device virtual loop connectivity test method based on virtual machines is adopted. Through the connection between the virtual machine and the object to be tested, test signals are sent and feedback signals are received to determine the correctness of the virtual loop connection information between devices and realize automated detection.

Benefits of technology

There is no need to manually trigger test signals and view feedback, and efficiently and automatically realize interconnection and interoperability detection between substation equipment, ensuring the correctness of communication signals and improving detection efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117749216B
    Figure CN117749216B
Patent Text Reader

Abstract

The present application discloses a virtual machine-based device virtual circuit connectivity test method and related devices, the method comprising: based on a device association configuration file pre-installed in the virtual machine, determining each associated device associated with the object to be tested, for each associated device, using the associated device as a signal sending identity, sending a test signal to the object to be tested through an optical fiber line, and receiving a feedback signal obtained by the object to be tested in response to each associated device corresponding to the test signal through a network cable, and determining the correctness of the virtual circuit between the object to be tested and the associated device corresponding to the feedback signal. It can be seen that by simulating the substation equipment associated with the object to be tested through the virtual machine, it is only necessary to connect the virtual machine to the object to be tested, and whether the virtual circuit between the object to be tested and the associated object simulated by the virtual machine is correctly designed can be determined according to the feedback signal of the object to be tested, and the correctness of the communication signal between the object to be tested and the associated object can be ensured without manually triggering the test signal and checking.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of substation equipment testing, and more specifically, to a method and related apparatus for testing virtual circuit connectivity of equipment based on a virtual machine. Background Art

[0002] With the continuous development of power technology, substations are an indispensable and important link in the power system, which undertakes the heavy task of power conversion and redistribution. Smart substations use advanced, reliable, integrated and environmentally friendly smart devices to realize the functions of power grid information collection, measurement, control, protection, metering and detection. It has become an important measure to conform to the development trend of plant and station digital technology and build a digital power grid.

[0003] In order to ensure the reliability of smart substation operation, the detection of smart substation secondary system is essential. The smart substation secondary system includes multiple substation equipment such as protection devices, measurement and control devices, smart terminals and other devices. In the detection work, in addition to the routine tests such as the function and performance of each device, the interconnection between devices must also be considered.

[0004] In smart substations, protection devices and measurement and control devices belong to process layer equipment. The signal acquisition and action commands between the measurement and control device and the intelligent terminal, the protection device and the intelligent terminal device, the protection device and the protection device, and the protection device and the measurement and control device are all transmitted in the form of process layer GOOSE network data. The equipment structure of the smart substation is as follows: Figure 1 As shown. By comprehensively testing the interconnectivity of process layer network devices, connectivity problems of devices can be discovered early, ensuring the normal operation of intelligent terminals, protection devices and other devices, and ensuring the safe operation of intelligent substations. In conventional testing, it is necessary to connect devices that are interconnected with protection devices or measurement and control devices, and to test interconnected signals through actual signal triggering. This operation requires all devices to be built into a test platform, and the signal to be tested needs to be triggered manually, and another tester needs to go to the associated device to check whether the signal is received correctly.

[0005] However, the conventional testing process requires a lot of manpower and time, and may also lead to inaccurate testing due to human factors, which is not conducive to improving the efficiency of interconnection testing and acceptance of process-layer equipment in smart stations.

[0006] How to conduct efficient and automated detection of the interconnection between substation equipment is an issue that requires attention. Summary of the invention

[0007] In view of the above problems, the present application provides a virtual machine-based equipment virtual circuit connectivity testing method and related devices to efficiently and automatically realize the interconnection detection between substation equipment.

[0008] In order to achieve the above objectives, the specific plan is proposed as follows:

[0009] A device virtual circuit connectivity test method based on a virtual machine is applied to a processing terminal, the processing terminal is equipped with a virtual machine, the processing terminal is connected to an object to be tested via an optical fiber line and communicates via a network cable;

[0010] The method includes:

[0011] Determine each associated device associated with the object to be tested based on a device association configuration file pre-installed on the virtual machine;

[0012] For each associated device, using the associated device as a signal sending identity, sending a test signal to the object to be tested through the optical fiber line, so that the object to be tested responds to the test signal;

[0013] Receiving, via the network cable, a feedback signal obtained by the object to be tested in response to a test signal corresponding to each associated device;

[0014] According to each feedback signal, the correctness of the virtual circuit connection information between the object to be tested and the associated device corresponding to the feedback signal is determined.

[0015] Optionally, determining, according to each feedback signal, correctness of virtual circuit connection information between the object to be tested and an associated device corresponding to the feedback signal includes:

[0016] For each feedback signal, the feedback signal is compared with a corresponding test signal to determine whether the object to be tested receives the process layer signal;

[0017] If yes, it is determined that a certain virtual circuit connection information between the object to be tested and the associated device corresponding to the feedback signal is correct;

[0018] If not, it is determined that a certain virtual circuit connection information between the object to be tested and the associated device corresponding to the feedback signal is wrong.

[0019] Optionally, for each associated device, using the associated device as a signal sending identity, sending a test signal to the object to be tested through the optical fiber line, so that the object to be tested responds to the test signal, includes:

[0020] For each associated device, based on the signal configuration information of the associated device in the device association configuration file, configure the GOOSE signal required for the associated device to perform a connection test;

[0021] For each associated device, the associated device is used as a signal sending identity, and a GOOSE signal required for connection test of the associated device is sent to the object to be tested through the optical fiber line, so that the object to be tested responds to the GOOSE signal of the associated device.

[0022] Optionally, the method further includes:

[0023] Determine virtual circuit connection information and virtual circuit signals of each associated device based on a device association configuration file pre-installed on the virtual machine;

[0024] Downloading configuration files of each associated device from the object to be tested;

[0025] Each associated device is instantiated according to the virtual circuit connection information and virtual circuit signal of each associated device and through the configuration files of each associated device.

[0026] A virtual machine-based device virtual circuit connectivity test device is applied to a processing terminal, the processing terminal is equipped with a virtual machine, the processing terminal is connected to a test object through an optical fiber line and communicates through a network cable;

[0027] The device includes:

[0028] An associated device determining unit, configured to determine each associated device associated with the object to be tested based on a device association configuration file pre-installed on the virtual machine;

[0029] A test signal sending unit, for each associated device, using the associated device as a signal sending identity, and sending a test signal to the object to be tested through the optical fiber line, so that the object to be tested responds to the test signal;

[0030] A feedback signal receiving unit, used for receiving, through the network cable, a feedback signal obtained by the object to be tested in response to a test signal corresponding to each associated device;

[0031] The connection status determination unit is used to determine the correctness of the virtual circuit connection information between the object to be tested and the associated device corresponding to the feedback signal according to each feedback signal.

[0032] Optionally, the connection status determining unit includes:

[0033] A process layer signal determination unit, for each feedback signal, compares the feedback signal with a corresponding test signal to determine whether the object to be tested receives the process layer signal, and if so, executes the normal connection determination unit, and if not, executes the disconnection determination unit;

[0034] The correct connection determination unit is used to determine that a certain virtual circuit connection information between the object to be tested and the associated device corresponding to the feedback signal is correct;

[0035] The wrong connection determination unit is used to determine that a certain virtual circuit connection information between the object to be tested and the associated device corresponding to the feedback signal is wrong.

[0036] Optionally, the test signal sending unit includes:

[0037] A signal configuration unit, configured to configure, for each associated device, a GOOSE signal required for the associated device to perform a connection test based on the signal configuration information of the associated device in the device association configuration file;

[0038] The GOOSE signal sending unit is used for sending the GOOSE signal required for the connection test of the associated device to the object to be tested through the optical fiber line for each associated device, using the associated device as the signal sending identity, so that the object to be tested responds to the GOOSE signal of the associated device.

[0039] Optionally, the device further comprises:

[0040] Determine virtual circuit connection information and virtual circuit signals of each associated device based on a device association configuration file pre-installed on the virtual machine;

[0041] A configuration file downloading unit, used to download configuration files of each associated device from the object to be tested;

[0042] The instantiation unit is used to instantiate each associated device according to the virtual circuit connection information and virtual circuit signal of each associated device and through the configuration files of each associated device.

[0043] A device virtual circuit connectivity test device based on a virtual machine, comprising a memory and a processor;

[0044] The memory is used to store programs;

[0045] The processor is used to execute the program to implement the various steps of the device virtual circuit connectivity testing method based on a virtual machine as described above.

[0046] A storage medium stores a computer program, which, when executed by a processor, implements the various steps of the device virtual circuit connectivity testing method based on a virtual machine as described above.

[0047] By means of the above technical scheme, the present application determines each associated device associated with the object to be tested based on the device association configuration file pre-installed in the virtual machine, for each associated device, uses the associated device as a signal sending identity, sends a test signal to the object to be tested through the optical fiber line, so that the object to be tested responds to the test signal, receives the feedback signal obtained by the object to be tested in response to each associated device corresponding to the test signal through the network cable, and determines that a certain virtual circuit connection information between the object to be tested and the associated device corresponding to the feedback signal is correct according to each feedback signal. It can be seen that by simulating the substation equipment associated with the object to be tested through the virtual machine, it is only necessary to connect the virtual machine to the object to be tested, and whether the virtual circuit between the object to be tested and the associated object simulated by the virtual machine is correctly designed according to the feedback signal of the object to be tested. Before the actual substation is put into operation, it is only necessary to ensure that the optical fiber channel between the object to be tested and the associated object is normal, without manually triggering the test signal and checking, to ensure the correctness of the communication signal between the object to be tested and the associated object, and efficiently and automatically realize the interconnection and intercommunication detection between substation equipment. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] 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. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0049] Figure 1 A substation equipment structure diagram of a smart substation provided for this application;

[0050] Figure 2 A schematic diagram of a flow chart for implementing a virtual circuit connectivity test of a device based on a virtual machine provided in an embodiment of the present application;

[0051] Figure 3 A schematic diagram of the overall file configuration and downloading process of an SCD file provided in an embodiment of the present application;

[0052] Figure 4 A schematic diagram of a flow chart for implementing connection status determination provided in an embodiment of the present application;

[0053] Figure 5 A schematic diagram of the structure of a device for implementing a virtual circuit connectivity test of a device based on a virtual machine provided in an embodiment of the present application;

[0054] Figure 6 A structural diagram of a device for implementing a virtual circuit connectivity test of a device based on a virtual machine provided in an embodiment of the present application. DETAILED DESCRIPTION

[0055] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0056] The solution of the present application can be implemented based on a processing terminal with data processing capabilities, which can be a computer, a server, a cloud, etc. The processing terminal can be installed with a virtual machine, and the processing terminal can be connected to the object to be tested through an optical fiber line and communicate through a network cable to send signals to the object to be tested through the optical fiber and receive signals sent by the object to be tested through the network cable.

[0057] Before performing a connectivity test on the object to be tested through a virtual machine, you can first unplug the optical fiber cables and network cables that connect the object to be tested to other devices.

[0058] Next, combine Figure 2 The device virtual circuit connectivity testing method based on a virtual machine of the present application may include the following steps:

[0059] Step S110: Determine each associated device associated with the object to be tested based on the device association configuration file pre-installed in the virtual machine.

[0060] Among them, the device-associated configuration file can be an SCD (Substation Configuration Description) file. The SCD file is a special configuration file for the smart substation, which is configured by the ICD file and the SSD file on a special configuration tool. The ICD file describes the functional engineering capabilities of a specific IED (Intelligent Electronic Device), contains model self-description information, but does not contain the IED instance name and communication parameters. The ICD file can be provided by various manufacturers. The SSD file describes the wiring topology of the substation equipment, the substation functions, and the required logical nodes. The SSD file can be provided by the system integrator. The overall file configuration and download process of the SCD file is as follows: Figure 3 As shown, the downloaded file is the CID file, which is the actual configuration file of each substation equipment. It can be exported and generated from the SCD file. Manual modification is generally prohibited to avoid errors. It is unique in the substation. Each substation equipment has one and can be downloaded directly.

[0061] It is understandable that after the SCD file is downloaded to the virtual machine, the test object can be determined as the object to be tested in the virtual machine, and the device association relationship in the SCD file can be parsed to determine each associated device associated with the object to be tested.

[0062] For example, when the object to be tested is a protection device, the virtual machine can simulate the intelligent terminal, the measurement and control device, and other interval protection devices associated with the protection device.

[0063] Step S120: For each associated device, use the associated device as a signal sending identity and send a test signal to the object to be tested through an optical fiber line, so that the object to be tested responds to the test signal.

[0064] Specifically, a test button may be provided in the virtual machine. When the user triggers the test button in the virtual machine, the virtual machine may send a test signal to the object to be tested. When the object to be tested receives the test signal, the object to be tested may respond to the test signal and generate a feedback signal to inform the virtual machine of the degree of response to the test signal.

[0065] Step S130: receiving, via a network cable, a feedback signal obtained by the object under test in response to a test signal corresponding to each associated device.

[0066] Specifically, after the object to be tested can respond to the test signal and generate a feedback signal, the feedback signal can be sent to the processing terminal through a network cable to transmit the feedback signal to the associated device simulated by the virtual machine.

[0067] Step S140: According to each feedback signal, determine the correctness of the virtual circuit connection information between the object to be tested and the associated device corresponding to the feedback signal.

[0068] Specifically, each feedback signal may be compared for consistency with a test signal corresponding to the feedback signal to verify the correctness of the signal, thereby determining whether the virtual circuit between the object to be tested and the associated device corresponding to the feedback signal is correctly connected.

[0069] For example, after determining that the object to be tested is protection device A, the virtual machine can determine that the associated devices associated with protection device A are smart terminal B, measurement and control device C, and protection device D. Then the virtual machine can simulate smart terminal B, measurement and control device C, and protection device D respectively, and use smart terminal B, measurement and control device C, and protection device D as signal sending identities respectively, to send a test signal to protection device A. For example, the test signal sent by the simulated smart terminal B to protection device A is b1, the test signal sent by the simulated smart terminal C to protection device A is c1, and the test signal sent by the simulated smart terminal D to protection device A is The test signal sent by A is d1, then the protection device will generate a feedback signal b2 in response to the test signal b1, generate a feedback signal c2 in response to the test signal c1, and generate a feedback signal d2 in response to the test signal d1. When the virtual machine receives the feedback signals b2, c2 and d2, it can compare b2 with b1 to determine whether the virtual circuit between the protection device A and the intelligent terminal B is correctly connected, and it can compare c2 with c1 to determine whether the virtual circuit between the protection device A and the measurement and control device C is correctly connected, and it can compare d2 with d1 to determine whether the virtual circuit between the protection device A and the protection device D is correctly connected.

[0070] The device connectivity test method based on a virtual machine provided in this embodiment determines each associated device associated with the object to be tested based on a device association configuration file pre-installed in the virtual machine, and for each associated device, uses the associated device as a signal sending identity, sends a test signal to the object to be tested through the optical fiber line, so that the object to be tested responds to the test signal, receives a feedback signal obtained by the object to be tested in response to each associated device corresponding to the test signal through the network cable, and determines the correctness of the virtual circuit connection information between the object to be tested and the associated device corresponding to the feedback signal according to each feedback signal. It can be seen that by simulating the substation equipment associated with the object to be tested through the virtual machine, it is only necessary to connect the virtual machine to the object to be tested, and whether the virtual circuit between the object to be tested and the associated object simulated by the virtual machine is correctly designed can be determined according to the feedback signal of the object to be tested. Before the actual substation is put into operation, it is only necessary to ensure that the optical fiber channel between the object to be tested and the associated object is normal, and there is no need to manually trigger the test signal and check, so as to ensure the correctness of the communication signal between the object to be tested and the associated object, and efficiently and automatically realize the interconnection and intercommunication detection between substation equipment.

[0071] In some embodiments of the present application, the process of determining the correctness of the virtual circuit connection information between the object to be tested and the associated device corresponding to the feedback signal according to each feedback signal in step S140 is introduced. Figure 4 As shown, the process may include:

[0072] Step S141, determine whether the object to be tested receives the process layer signal, if so, execute step S142, if not, execute step S143.

[0073] Specifically, for each feedback signal, the feedback signal may be compared with the corresponding test signal to determine whether the object to be tested receives the process layer signal. If so, step S142 is executed; if not, step S143 is executed.

[0074] It can be understood that when the feedback signal is compared with the corresponding test signal and is consistent, it can indicate that the object under test has normally received the process layer signal. When the feedback signal is compared with the corresponding test signal and is inconsistent, it can indicate that the object under test has not received the process layer signal.

[0075] Step S142: Determine whether a certain virtual circuit connection information between the object to be tested and the associated device corresponding to the feedback signal is correct.

[0076] It can be understood that when the object under test receives the process layer signal, it can indicate that the object under test and the associated device corresponding to the feedback signal can be interconnected normally, so it can be determined that a certain virtual circuit connection information between the object under test and the associated device corresponding to the feedback signal is correct.

[0077] Step S143: determining that a certain virtual circuit connection information between the object to be tested and the associated device corresponding to the feedback signal is wrong.

[0078] It is understandable that when the object under test does not receive the process layer signal, it can indicate that the object under test and the associated device corresponding to the feedback signal cannot be interconnected normally, so it can be determined that a certain virtual circuit connection information between the object under test and the associated device corresponding to the feedback signal is wrong.

[0079] In some embodiments of the present application, the process of step S120, for each associated device, using the associated device as a signal sending identity, sending a test signal to the object to be tested through an optical fiber line, so that the object to be tested responds to the test signal, is introduced. The process may include:

[0080] S1. For each associated device, based on the signal configuration information of the associated device in the device association configuration file, configure the GOOSE signal required for the associated device to perform a connection test.

[0081] Among them, GOOSE is a Generic Object Oriented Substation Event, which is mainly used to realize information transmission between multiple IEDs, including transmission of tripping and closing signals / commands, and has a high probability of successful transmission.

[0082] It is understandable that the virtual machine can configure the GOOSE signal required for the connection test of a specific simulated associated device according to the configuration information of the SCD file.

[0083] S2. For each associated device, the associated device is used as a signal sending identity, and a GOOSE signal required for connection test of the associated device is sent to the object to be tested through an optical fiber line, so that the object to be tested responds to the GOOSE signal of the associated device.

[0084] Specifically, after completing the configuration of the GOOSE signals of the associated devices of the simulation, the virtual machine may send the test signals in sequence, and the order of sending the test signals may be based on the configuration generation time of the test signals.

[0085] In some embodiments of the present application, a process of instantiating each associated device by a virtual machine is introduced, and the process may include:

[0086] S1. Determine virtual circuit connection information and virtual circuit signals of each associated device based on a device association configuration file pre-installed in the virtual machine.

[0087] Specifically, after the SCD file of the smart substation is downloaded into the virtual machine, the virtual circuit connection information and virtual circuit signals of each connected device associated with the device under test can be obtained.

[0088] S2. Download configuration files of each associated device from the object to be tested.

[0089] Specifically, the configuration files of each associated device may be the actual configuration files of each substation device, such as CID files. It is understandable that since the CID file is unique in the substation, each substation device has one and can be directly downloaded, it can be downloaded from the object to be tested.

[0090] S3. Instantiate each associated device according to the virtual circuit connection information and virtual circuit signal of each associated device and through the configuration files of each associated device.

[0091] The following describes an apparatus for implementing a virtual machine-based device virtual circuit connectivity test provided in an embodiment of the present application. The apparatus for implementing a virtual machine-based device virtual circuit connectivity test described below and the method for implementing a virtual machine-based device virtual circuit connectivity test described above can refer to each other.

[0092] See also Figure 5 , Figure 5 A schematic diagram of the structure of an apparatus for implementing a virtual circuit connectivity test of a device based on a virtual machine disclosed in an embodiment of the present application.

[0093] like Figure 5As shown, the device may include:

[0094] An associated device determining unit 11 is used to determine each associated device associated with the object to be tested based on a device association configuration file pre-installed in the virtual machine;

[0095] A test signal sending unit 12 is used to send a test signal to the object to be tested through the optical fiber line for each associated device, using the associated device as a signal sending identity, so that the object to be tested responds to the test signal;

[0096] A feedback signal receiving unit 13, configured to receive, through the network cable, a feedback signal obtained by the object under test in response to a test signal corresponding to each associated device;

[0097] The connection status determination unit 14 is used to determine the correctness of the virtual circuit connection information between the object to be tested and the associated device corresponding to the feedback signal according to each feedback signal.

[0098] Optionally, the connection status determining unit includes:

[0099] A process layer signal determination unit, for each feedback signal, compares the feedback signal with a corresponding test signal to determine whether the object to be tested receives the process layer signal, and if so, executes the normal connection determination unit, and if not, executes the disconnection determination unit;

[0100] The correct connection determination unit is used to determine that a certain virtual circuit connection information between the object to be tested and the associated device corresponding to the feedback signal is correct;

[0101] The wrong connection determination unit is used to determine that a certain virtual circuit connection information between the object to be tested and the associated device corresponding to the feedback signal is wrong.

[0102] Optionally, the test signal sending unit includes:

[0103] A signal configuration unit, configured to configure, for each associated device, a GOOSE signal required for the associated device to perform a connection test based on the signal configuration information of the associated device in the device association configuration file;

[0104] The GOOSE signal sending unit is used for sending the GOOSE signal required for the connection test of the associated device to the object to be tested through the optical fiber line for each associated device, using the associated device as the signal sending identity, so that the object to be tested responds to the GOOSE signal of the associated device.

[0105] Optionally, the device further comprises:

[0106] Determine virtual circuit connection information and virtual circuit signals of each associated device based on a device association configuration file pre-installed on the virtual machine;

[0107] A configuration file downloading unit, used to download configuration files of each associated device from the object to be tested;

[0108] The instantiation unit is used to instantiate each associated device according to the virtual circuit connection information and virtual circuit signal of each associated device and through the configuration files of each associated device.

[0109] The apparatus for device connectivity testing based on a virtual machine provided in the embodiment of the present application can be applied to a device for device virtual circuit connectivity testing based on a virtual machine, such as a processing terminal. Figure 6 The hardware structure diagram of the device for virtual circuit connectivity test based on the virtual machine is shown. Figure 6 , the hardware structure of the device for virtual circuit connectivity test based on the virtual machine may include: at least one processor 1, at least one communication interface 2, at least one memory 3 and at least one communication bus 4;

[0110] In the embodiment of the present application, the number of the processor 1, the communication interface 2, the memory 3, and the communication bus 4 is at least one, and the processor 1, the communication interface 2, and the memory 3 communicate with each other through the communication bus 4;

[0111] The processor 1 may be a central processing unit CPU, or an application-specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present invention, etc.;

[0112] The memory 3 may include a high-speed RAM memory, and may also include a non-volatile memory, such as at least one disk memory;

[0113] The memory stores a program, and the processor can call the program stored in the memory, wherein the program is used to:

[0114] Determine each associated device associated with the object to be tested based on a device association configuration file pre-installed on the virtual machine;

[0115] For each associated device, using the associated device as a signal sending identity, sending a test signal to the object to be tested through the optical fiber line, so that the object to be tested responds to the test signal;

[0116] Receiving, via the network cable, a feedback signal obtained by the object to be tested in response to a test signal corresponding to each associated device;

[0117] According to each feedback signal, the correctness of the virtual circuit connection information between the object to be tested and the associated device corresponding to the feedback signal is determined.

[0118] Optionally, the detailed functions and extended functions of the program may refer to the above description.

[0119] The embodiment of the present application further provides a storage medium, which may store a program suitable for execution by a processor, wherein the program is used to:

[0120] Determine each associated device associated with the object to be tested based on a device association configuration file pre-installed on the virtual machine;

[0121] For each associated device, using the associated device as a signal sending identity, sending a test signal to the object to be tested through the optical fiber line, so that the object to be tested responds to the test signal;

[0122] Receiving, via the network cable, a feedback signal obtained by the object to be tested in response to a test signal corresponding to each associated device;

[0123] According to each feedback signal, the correctness of the virtual circuit connection information between the object to be tested and the associated device corresponding to the feedback signal is determined.

[0124] Optionally, the detailed functions and extended functions of the program may refer to the above description.

[0125] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0126] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The various embodiments can be combined as needed, and the same or similar parts can refer to each other.

[0127] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A device virtual circuit connectivity testing method based on a virtual machine, characterized in that: Applied to a processing terminal, the processing terminal is equipped with a virtual machine, the processing terminal is connected to the object to be tested via an optical fiber line and communicates via a network cable; The method includes: Determine each associated device associated with the object to be tested based on a device association configuration file pre-installed on the virtual machine; For each associated device, using the associated device as a signal sending identity, sending a test signal to the object to be tested through the optical fiber line, so that the object to be tested responds to the test signal; Receiving, via the network cable, a feedback signal obtained by the object to be tested in response to a test signal corresponding to each associated device; According to each feedback signal, determining the correctness of the virtual circuit connection information between the object to be tested and the associated device corresponding to the feedback signal; The determining, according to each feedback signal, the correctness of the virtual circuit connection information between the object to be tested and the associated device corresponding to the feedback signal comprises: For each feedback signal, the feedback signal is compared with a corresponding test signal to determine whether the object to be tested receives the process layer signal; If yes, it is determined that a certain virtual circuit connection information between the object to be tested and the associated device corresponding to the feedback signal is correct; If not, it is determined that a certain virtual circuit connection information between the object to be tested and the associated device corresponding to the feedback signal is wrong.

2. The method according to claim 1, characterized in that For each associated device, using the associated device as a signal sending identity, sending a test signal to the object to be tested through the optical fiber line, so that the object to be tested responds to the test signal, including: For each associated device, based on the signal configuration information of the associated device in the device association configuration file, configure the GOOSE signal required for the associated device to perform a connection test; For each associated device, the associated device is used as a signal sending identity, and a GOOSE signal required for connection test of the associated device is sent to the object to be tested through the optical fiber line, so that the object to be tested responds to the GOOSE signal of the associated device.

3. The method according to claim 1 or 2, characterized in that: Also includes: Determine virtual circuit connection information and virtual circuit signals of each associated device based on a device association configuration file pre-installed on the virtual machine; Downloading configuration files of each associated device from the object to be tested; Each associated device is instantiated according to the virtual circuit connection information and virtual circuit signal of each associated device and through the configuration files of each associated device.

4. A virtual circuit connectivity testing device for a device based on a virtual machine, characterized in that: Applied to a processing terminal, the processing terminal is equipped with a virtual machine, the processing terminal is connected to the object to be tested via an optical fiber line and communicates via a network cable; The device includes: An associated device determining unit, configured to determine each associated device associated with the object to be tested based on a device association configuration file pre-installed on the virtual machine; A test signal sending unit, for each associated device, using the associated device as a signal sending identity, and sending a test signal to the object to be tested through the optical fiber line, so that the object to be tested responds to the test signal; A feedback signal receiving unit, used for receiving, through the network cable, a feedback signal obtained by the object to be tested in response to a test signal corresponding to each associated device; A connection status determination unit, used to determine the correctness of the virtual circuit connection information between the object to be tested and the associated device corresponding to the feedback signal according to each feedback signal; The connection status determining unit includes: A process layer signal determination unit, for each feedback signal, compares the feedback signal with a corresponding test signal to determine whether the object to be tested receives the process layer signal, and if so, executes the normal connection determination unit, and if not, executes the disconnection determination unit; The normal connection determination unit is used to determine that a certain virtual circuit connection information between the object to be tested and the associated device corresponding to the feedback signal is correct; The disconnection determination unit is used to determine that a certain virtual circuit connection information between the object to be tested and the associated device corresponding to the feedback signal is wrong.

5. The device according to claim 4, characterized in that The test signal sending unit comprises: A signal configuration unit, configured to configure, for each associated device, a GOOSE signal required for the associated device to perform a connection test based on the signal configuration information of the associated device in the device association configuration file; The GOOSE signal sending unit is used for sending the GOOSE signal required for the connection test of the associated device to the object to be tested through the optical fiber line for each associated device, using the associated device as the signal sending identity, so that the object to be tested responds to the GOOSE signal of the associated device.

6. The device according to claim 4 or 5, characterized in that Also includes: Determine virtual circuit connection information and virtual circuit signals of each associated device based on a device association configuration file pre-installed on the virtual machine; A configuration file downloading unit, used to download configuration files of each associated device from the object to be tested; The instantiation unit is used to instantiate each associated device according to the virtual circuit connection information and virtual circuit signal of each associated device and through the configuration files of each associated device.

7. A virtual circuit connectivity test device based on a virtual machine, characterized in that: including memory and processor; The memory is used to store programs; The processor is used to execute the program to implement the various steps of the device virtual circuit connectivity testing method based on a virtual machine as described in any one of claims 1-3.

8. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, each step of the device virtual circuit connectivity testing method based on a virtual machine as described in any one of claims 1 to 3 is implemented.