Relay protection simulation training method and system, electronic equipment and storage medium

By building a data interaction zone in the relay protection training system, data interaction between the simulation training system and the application of the relay protection device is realized, and the problem of poor training results in the existing technology is solved and deeper operation is achieved Training and more efficient training effects.

CN119400019APending Publication Date: 2025-02-07CYG SUNRI CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411340420.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-24
Publication Date
2025-02-07

AI Technical Summary

Technical Problem

The existing relay protection training system only simulates the appearance, ignoring the internal details, resulting in poor training and lack of operational training.

Method used

By building a data interaction zone in the simulation training system, data interaction between the simulation training system and the application program of the relay protection device is realized. The virtual equipment in the simulation training system can restore the working principle and function of the relay protection device. Technical personnel Interactive operation simulation can be performed.

Benefits of technology

The training depth has been improved, allowing technicians to conduct interactive operation simulation through relay-protected simulation training system, thereby effectively improving the training effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119400019A_ABST
    Figure CN119400019A_ABST
Patent Text Reader

Abstract

The invention discloses a relay protection simulation training method and system, electronic equipment and a storage medium. The simulation training method comprises the steps that after the simulation training system is started, the simulation training system of the relay protection device constructs a data interaction area based on interaction data information, and the data interaction area provides a basis for data interaction of the simulation training system and an application program of the relay protection device; in response to a simulation operation of a user on a to-be-operated virtual device in the simulation training system, writing the generated input data into the data interaction area; the input data is used for an application program to read and operate so as to write the output data corresponding to the input data into the data interaction area; reading output data corresponding to the input data from the data interaction area; and displaying the operation state of the to-be-operated virtual equipment in the simulation training interface of the simulation training system based on the output data, so that technicians can carry out vivid operation and inspection operation demonstration and interactive operation simulation on the relay protection device, and the training effect of relay protection is further improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of relay protection, and in particular relates to a simulation training method for relay protection, a simulation training system for relay protection, an electronic device and a computer-readable storage medium. Background Art

[0002] Relay protection is a key technology for power system safety. Related inspection, maintenance, fault elimination and other maintenance work are crucial. Due to the limitations of exposure to and experience with relay protection devices, there is still room for improvement in the efficiency, quality and safety of the work of relevant technical personnel.

[0003] In the relevant technologies, the training system of relay protection is used to train technical personnel, so that technical personnel have more opportunities to get in touch with and understand relay protection devices, so as to improve the efficiency, quality and reliability of on-site work and help improve the overall skill level.

[0004] However, the current training system only simulates the appearance of the relay protection device, such as the shape, human-machine interface and menu display, and ignores the internal structure of the relay protection training simulation system, so that the training is limited to contact and understanding the relay protection device, and there is still a lack of operational training for the relay protection device, resulting in poor training results. Summary of the invention

[0005] The present application provides a simulation training method for relay protection, a simulation training system for relay protection, an electronic device and a computer-readable storage medium, which can enable technical personnel to perform realistic operation and inspection demonstrations and interactive operation simulations of relay protection devices, thereby improving the training effect of relay protection.

[0006] In a first aspect, the present application provides a simulation training method for relay protection, comprising:

[0007] After the simulation training system is started, a data interaction area is constructed based on the interactive data information; the interactive data information is the data information interacted between the simulation training system and the application program of the relay protection device;

[0008] In response to the user's simulation operation on the virtual device to be operated in the simulation training system, the generated input data is written into the data interaction area; the input data is used for the application program to read and calculate, so as to write the output data corresponding to the input data into the data interaction area;

[0009] Read the output data corresponding to the input data from the data interaction area;

[0010] Based on the output data, the operation status of the virtual device to be operated is displayed in the simulation training interface of the simulation training system.

[0011] In a second aspect, the present application provides a simulation training system for relay protection, comprising:

[0012] A creation module is used to construct a data interaction area based on interactive data information after the simulation training system is started; the interactive data information is data information interacted between the simulation training system and the application program of the relay protection device;

[0013] The simulation module is used to respond to the user's training operation on the virtual device to be operated in the simulation training system, write the generated input data into the data interaction area; the input data is used for the application program to read and calculate, so as to write the output data corresponding to the input data into the data interaction area; and read the output data corresponding to the input data from the data interaction area;

[0014] The display module is used to display the operation status of the virtual device to be operated in the simulation training interface of the simulation training system based on the output data.

[0015] In a third aspect, the present application provides an electronic device comprising a memory, a processor, and a computer program for a simulation training system for relay protection stored in the memory and executable on the processor, wherein the processor implements the steps of the method in the first aspect when executing the computer program.

[0016] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for a simulation training system for relay protection, and when the computer program is executed by a processor, the steps of the method of the first aspect are implemented.

[0017] In a fifth aspect, the present application provides a computer program product, which includes a computer program. When the computer program is executed by one or more processors, it implements the steps of the method of the first aspect.

[0018] Compared with the prior art, the present application has the following beneficial effects: in order to restore the interactive operation process between the technician and the relay protection device, after the relay protection simulation training system is started, the present application can open up a data interaction area according to the interactive data information between the simulation training system and the application program of the relay protection device, so that the two originally independent systems can interact with each other, so that each virtual device in the simulation training system can restore the working principle and function of the relay protection device. Based on this, the simulation training system can monitor the user's simulation operation of the virtual device in the simulation training interface of the simulation training system, and write the corresponding input data into the data interaction area for the application program to read. The input data read is equivalent to the input data generated after the user performs the operation and inspection operation through the physical relay protection device, and the application program retains the complete relay protection logic and necessary functional modules of the relay protection device; thus, the application program can perform calculations through the input data to obtain the output data corresponding to the simulation operation, and the output data represents the operating state of the physical relay protection device after being operated. The application program writes the output data into the data interaction area, so that the simulation training system can display the operating state of the operated virtual device in the simulation training interface by reading the output data. This simulation training method improves the depth of training and allows technicians to conduct interactive operation simulation through the relay protection simulation training system, thereby effectively improving the training effect.

[0019] It can be understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0021] Figure 1 It is a schematic diagram of interactive data information between a simulation training system and an application program provided in an embodiment of the present application;

[0022] Figure 2 It is a flowchart of a simulation training method for relay protection provided in an embodiment of the present application;

[0023] Figure 3 It is a schematic diagram of shared memory area information corresponding to each logical device provided in an embodiment of the present application;

[0024] Figure 4 It is a structural diagram of a simulation training system for relay protection provided in an embodiment of the present application;

[0025] Figure 5 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0026] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0027] In the related art, the simulation training system of relay protection only simulates the appearance of the relay protection device, such as the shape, human-machine interface and menu display, but ignores the internal structure of the relay protection training simulation system, so that the training is limited to contact and understanding the relay protection device, and there is still a lack of operational training on the relay protection device, resulting in poor training results.

[0028] In order to solve this problem, this application further explored the real reason why the simulation of the training system is limited, and found that the reason why only the appearance is simulated is mainly because the developer of the traditional relay protection training system is not the manufacturer of the relay protection device, and the algorithm and code of the relay protection device are the trade secrets of the manufacturer of the relay protection device. Therefore, during the development process of the training system, it is difficult to achieve the linkage between the relay protection algorithm inside the relay protection device, the external input and the device output. The simulation and restoration of the relay protection device are relatively superficial, and cannot support the interactive operation process between the technicians and the physical relay protection device through the simulation training system.

[0029] Based on this discovery, this application proposes a simulation training method for relay protection, which can restore the working principle and function of the relay protection device through various virtual devices in the simulation training system under the premise of protecting the rights and interests of the manufacturers of the relay protection device, allowing technical personnel to perform interactive operation simulation through the simulation training system of relay protection, thereby effectively improving the training effect.

[0030] In some embodiments, in order to implement the simulation training method, the simulation training system may be modeled first. In order to make the technician's simulation training operation as close as possible to the technician's actual operation of the physical relay protection device, the modeling method cannot only stay on the appearance of the relay protection device, but can perform fine-grained modeling to restore the internal details of the relay protection device and the connection relationship between the components.

[0031] Specifically, the panel cabinet drawings and device resource data list of the relay protection device can be obtained, which are generally provided by the manufacturer of the relay protection device. Among them, the panel cabinet drawings may include the panel cabinet drawings including the cabinet structure diagram, the chassis wiring diagram, the terminal block wiring diagram, etc.; the device resource data list includes a list of the acquisition channels of the relay protection device (AC quantity, open input contacts, open output contacts, etc.), a connection relationship table between the panel cabinet terminals and the internal acquisition channels of the relay protection device, and the interactive data of the human-machine operation of the relay protection device (such as buttons, signal lights and LCD image data, etc.).

[0032] Based on the panel cabinet drawings and device resource data lists, fine-grained modeling can be performed, so that the virtual devices in the simulation training system can restore the internal details and functions of their physical devices as much as possible, providing support for in-depth simulation training. Through 3D modeling, virtual relay protection devices, virtual panel cabinets, and virtual relay protection testers can be constructed.

[0033] In addition to constructing a three-dimensional model, in order to enable the virtual relay protection device in the simulation training system to respond to the user's interactive operations, this application proposes a method for implementing simulation training: the simulation training system provides a three-dimensional simulation training interface for user operation, and the application program of the virtual relay protection device implements the relay protection algorithm. By establishing a data interaction mechanism between these two independent software systems, the interactive operation and display linkage of the virtual relay protection device in the simulation training interface of the simulation training system are realized, and the equipment details, working principles and device functions of various relay protection devices are accurately restored, providing users with a more realistic relay protection device simulation training environment.

[0034] In order to facilitate data interaction between the two systems, it is also necessary to determine the interactive data information of the two systems based on the device resource data list.

[0035] For example, the logic devices corresponding to the simulation training system are virtual panel cabinets and virtual relay protection testers, and the application program corresponds to the virtual relay protection device. The interactive data between these two independent software systems includes the data corresponding to each logic device. For details, please refer to Figure 1 .

[0036] In addition, in the related art, the training system can only simulate fixed models of relay protection devices, but the models of relay protection devices produced by different manufacturers are different. Therefore, the traditional relay protection training system also has the problem of poor expansion flexibility.

[0037] In this regard, different manufacturers can encapsulate the embedded system application (Application, APP) of the relay protection devices they produce to obtain application programs for different models of relay protection devices. At the same time, in the modeling process, a unified modeling method can be used to standardize the modeling of different models of relay protection devices. Specifically, models of relay protection devices of different models can be constructed in the simulation training system, and users can select the corresponding relay protection three-dimensional model for simulation training by model. Correspondingly, the simulation training system constructs data information for the interaction between different three-dimensional models and corresponding applications based on the model, so that the subsequent simulation system can allow the corresponding three-dimensional model and application to interact through the model. This method enables the simulation training system to have the expansion capability of flexibly accessing the application programs of simulated relay protection devices of different models from different manufacturers.

[0038] Based on the constructed simulation training system, the simulation training method for relay protection proposed in this application will be described below through specific embodiments.

[0039] The simulation training method for relay protection provided in the embodiment of the present application can be applied to the simulation training system for relay protection. The electronic device can be used for simulation training for technicians under the premise of being loaded with the simulation training system. The electronic device may include a mobile phone, a tablet computer, a vehicle-mounted device, an augmented reality (AR) / virtual reality (VR) device, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), etc. The embodiment of the present application does not impose any restrictions on the specific type of the electronic device.

[0040] In order to illustrate the technical solution proposed in this application, each embodiment will be described below using a simulation training system for relay protection as an execution subject.

[0041] Figure 2 A schematic flow chart of a simulation training method for relay protection provided by the present application is shown, and the simulation training method for relay protection includes:

[0042] Step 210: After the simulation training system is started, the simulation training system constructs a data interaction area based on the interaction data information.

[0043] After the simulation training system is started, in order to facilitate interaction with the application, the data interaction area can be determined according to the interactive data information determined during the modeling process. The data interaction area can be used for data interaction between the two systems, creating conditions for the linkage of the user's simulation operation (equivalent to the external input of the relay protection device), the relay protection algorithm, and the display of the virtual device in the simulation training system (equivalent to the output of the relay protection device).

[0044] Step 220: The simulation training system writes the generated input data into the data interaction area in response to the user's simulation operation on the virtual device to be operated in the simulation training system.

[0045] The simulation training system can provide a simulation training interface based on the constructed three-dimensional model. In the simulation training interface, each three-dimensional model, that is, each virtual device, has the structure, components and functions of its physical device, so the real operation of the physical device can be simulated in the simulation training interface. For example, for the virtual panel cabinet, which is a virtual device to be operated, its terminals can also be plugged with cables (such as the current and voltage output by the relay protection tester are connected to the relay protection device); its input nodes can be toggled to show the switch status, knife switch position, etc.

[0046] Thus, in the simulation training interface, the simulation training system can monitor the user's simulation operation on the virtual device to be operated, such as connecting a certain cable to a certain terminal in the virtual screen cabinet, and generate corresponding input data. Among them, when the virtual relay protection tester is connected to the terminal block of the virtual screen cabinet with a cable, the simulation training system will convert the former into the cable connection relationship between the virtual relay protection tester and the virtual relay protection device according to the cable connection relationship between the terminal block of the virtual screen cabinet and the plug-in terminal of the virtual relay protection device, and use it as the input data of the application program of the virtual relay protection device. Therefore, after the cable is connected, the virtual relay protection device can present what state it switches from the existing state to, which needs to be determined based on the relay protection algorithm. Therefore, the simulation training system can first write the input data into the data interaction area. It can be understood that in addition to the input data corresponding to the operation of the simulation training interface, the data interaction area also includes the current output data of the virtual device to be operated, so that when displaying the simulation results, the corresponding animation effect can be presented, thereby further improving the simulation training to be closer to the actual operation.

[0047] For the input data written into the data interaction area, the application program of the virtual relay protection device can perform a reading operation to obtain the output data corresponding to the input data, and write the output data into the data interaction area so that the simulation training system can read and display it.

[0048] Step 230: The simulation training system reads output data corresponding to the input data from the data interaction area.

[0049] Step 240: Display the operation status of the virtual device to be operated in the simulation training interface of the simulation training system based on the output data.

[0050] The simulation training system can read the output data in the data interaction area and make the virtual device to be operated present the corresponding simulation animation according to the output data. For example, through a certain operation, the application writes the image data of the LCD screen, and the simulation training system reads the image data of the LCD screen and displays the image in the corresponding area of ​​the virtual screen cabinet.

[0051] In this embodiment, in order to simulate and restore the relay protection device in depth, the simulation training system can create a data interaction area to allow data interaction between two independently running systems, namely, the simulation training system and the application program of the relay protection device. Based on this, the technician can simulate the operation of the virtual device to be operated through the simulation training interface of the simulation training system. The simulation operation is similar to the real operation when the user operates the physical relay protection device. After the simulation data corresponding to the simulation operation is written into the data interaction area by the simulation training system, it can be read and run by the application program to obtain the output data of the state presented by the physical relay protection device after the simulation operation; after the output data is written into the data interaction area by the application program, it can be read by the simulation training system. The simulation training system can make the virtual device to be operated present the corresponding state according to the output data, thereby simulating the real state of the physical relay protection device after being operated. This simulation training method improves the depth of training, allowing technicians to simulate interactive operations through the simulation training system of relay protection, thereby effectively improving the training effect.

[0052] In some embodiments, to facilitate data interaction between two systems, step 210 specifically includes:

[0053] Step A1: creating different shared memory areas based on different logical devices in the interactive data information.

[0054] The simulation training system and the application program both have corresponding logical devices. Different logical devices have different outputs of related interactive data, and the objects available for reading the related interactive data are also different. Therefore, different logical devices may correspond to different shared memory areas, which mainly store the related interactive data of the corresponding logical device, and the data in the shared memory area are correspondingly provided with data writing objects and data reading objects. It can be understood that the data writing object of the shared memory area is the corresponding logical device.

[0055] Exemplarily, the simulation training system may create each shared memory area by calling the CreateFileMapping function of the Win32 API, thereby ensuring that the simulation training system can provide an independent and sharable memory area for each logical device.

[0056] After the shared memory area is constructed, in order to access the shared memory area associated with it, the application can open the mapping file of the shared memory area during the startup of the application to map the shared memory area to the process address of the application based on the mapping file.

[0057] Exemplarily, the application can open the mapping file by calling the OpenFileMapping function of the Win32 API, which enables the application to access the relevant shared memory area created by the simulation training system. In order to actually use the relevant shared memory area, the MapViewOfFile function can be called to map the shared memory area to the process address based on the mapping file, so that the application can interact with the simulation training system.

[0058] In this embodiment, based on the data interaction area constructed by the shared memory area, the simulation training system and the application can interact with each other through the shared memory, thereby avoiding data duplication and additional overhead in the traditional inter-process communication method, and improving the efficiency of interaction and communication.

[0059] In some embodiments, the logic device includes a virtual panel cabinet and a virtual tester corresponding to the simulation training system, and a virtual relay protection device corresponding to the application program. Figure 3 , Figure 3 The shared memory areas divided according to the logical devices are shown, including a first shared memory area corresponding to the virtual panel cabinet, a second shared memory area corresponding to the virtual tester, and a third shared memory area corresponding to the virtual relay protection device.

[0060] Among them, the data writing object and data reading object corresponding to the first shared memory area are the virtual panel cabinet and the virtual relay protection device, respectively, which are used to store the first interactive data corresponding to the virtual panel cabinet; the data writing object and data reading object corresponding to the second shared memory area are the virtual tester and the virtual relay protection device, respectively, which are used to store the second interactive data corresponding to the virtual tester; the data writing object and data reading object corresponding to the third shared memory area are the virtual relay protection device and the virtual panel cabinet / virtual tester, respectively, which are used to store the third interactive data corresponding to the virtual relay protection device.

[0061] As can be seen from the figure, for each shared memory area, data transmission is unidirectional, that is, the data write object corresponding to the shared memory area is only responsible for writing the corresponding data into the shared memory area, and is not involved in reading data; correspondingly, the corresponding data read object is only responsible for reading the objects stored in the shared memory area, and is not involved in writing data.

[0062] In this embodiment, a shared memory area is configured for each logic device to facilitate data exchange between the logic device and other logic devices, so that the two systems can break the independent state and realize the linkage between input-relay protection algorithm-output in the simulation training process, making the training more realistic.

[0063] In some embodiments, the application and the program of the simulation training system can be run on different electronic devices or on the same electronic device. If the application and the program of the simulation training system are run on different electronic devices, a new communication protocol needs to be developed separately, and the efficiency and stability of the data interaction process are inferior to running on the same electronic device. Therefore, in order to improve the efficiency and stability of data interaction between the two, it is preferred that the application and the simulation training system run on the same electronic device, so that efficient and stable data interaction can be achieved based only on the functions of the Win32 API interface, so as to improve the reliability of simulation training.

[0064] The application program has no visual graphical interface and runs silently in the background independently of the training simulation system. During operation, the corresponding data obtained by the operation is written into the data interaction area, which is read by the training simulation system and displayed in real time in the three-dimensional interface of the training system.

[0065] In some embodiments, during the simulation process, it is assumed that the technician changes the cable connection between the virtual panel cabinet and the virtual relay protection tester through the simulation training interface (the simulation training system can convert it into a cable connection from the virtual relay protection tester to the virtual relay protection device in the background). In order to achieve the docking of channel data, the virtual panel cabinet or the virtual relay protection tester can generate input data according to the connection operation of the cable connection in the simulation training interface. The input data is specifically a "channel mapping table", and the data is written into the first / second shared memory area in real time; the real-time operation status of the virtual panel cabinet (such as the insertion and withdrawal of the protection pressure plate, the status of the device panel buttons) or the real-time operation status of the virtual relay protection tester (such as test commands and test configurations) can also be written into the first / second shared memory area in real time.

[0066] The virtual relay protection device reads the input data in the first / second shared memory area, and based on the mapping relationship between the first / second shared memory area and the process address of the application, the application can perform operations based on the input data through the relay protection algorithm to output corresponding output data, such as the opening contacts of the relay protection device (such as tripping outlets, remote tripping contacts, reclosing, starting failure points, signal opening contacts, etc.), real-time image data of the LCD display screen of the relay protection device panel, and real-time output data such as LED signal lights of the relay protection device panel. These data will be written into the third shared memory area corresponding to the virtual relay protection device by the application, so as to be read by the virtual panel cabinet or the virtual relay protection tester, and then displayed on the simulation training interface, for example, the opening contact status of the tripping outlet of the virtual relay protection device will be displayed on the LCD interface of the virtual tester; the virtual panel cabinet will display the LCD image and signal lights of the virtual relay protection device on the device panel.

[0067] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0068] Corresponding to the simulation training method of relay protection in the above embodiment, Figure 4 A structural block diagram of a relay protection simulation training system 4 provided in an embodiment of the present application is shown. For ease of explanation, only the parts related to the embodiment of the present application are shown.

[0069] Reference Figure 4 , the relay protection simulation training system 4 includes:

[0070] A creation module 41 is used to construct a data interaction area based on interactive data information after the simulation training system is started; the interactive data information is data information interacted between the simulation training system and the application program of the relay protection device;

[0071] The simulation module 42 is used to respond to the user's training operation on the virtual device to be operated in the simulation training system, write the generated input data into the data interaction area; the input data is used for the application program to read and operate, so as to write the output data corresponding to the input data into the data interaction area; and read the output data corresponding to the input data from the data interaction area;

[0072] The display module 43 is used to display the operation status of the virtual device to be operated in the simulation training interface of the simulation training system based on the output data.

[0073] Optionally, the creation module 41 is specifically used for:

[0074] Different shared memory areas are created based on different logical devices in the interactive data information; each shared memory area is used to store the interactive data corresponding to each corresponding logical device, and each shared memory area corresponds to different data writing objects and data reading objects;

[0075] During the startup of the application, the application maps the shared memory area to the process address of the application based on the mapping file of the shared memory area.

[0076] Optionally, the logical device includes a virtual panel cabinet and a virtual tester corresponding to the simulation training system, and a virtual relay protection device corresponding to the application program; the shared memory area includes a first shared memory area corresponding to the virtual panel cabinet, a second shared memory area corresponding to the virtual tester, and a third shared memory area corresponding to the virtual relay protection device;

[0077] The data writing object and the data reading object corresponding to the first shared memory area are respectively a virtual screen cabinet and a virtual relay protection device, which are used to store the first interactive data corresponding to the virtual screen cabinet;

[0078] The data writing object and the data reading object corresponding to the second shared memory area are respectively a virtual tester and a virtual relay protection device, and are used to store the second interactive data corresponding to the virtual tester;

[0079] The data writing object and the data reading object corresponding to the third shared memory area are respectively the virtual relay protection device and the virtual panel cabinet / virtual tester, and are used to store the third interactive data corresponding to the virtual relay protection device.

[0080] Optionally, the simulation training system creates each shared memory area by calling the CreateFileMapping function of the Win32 API; the application opens the mapping file and maps the shared memory area to the process address by calling the OpenFileMapping function and the MapViewOfFile function of the Win32 API.

[0081] Optionally, the application program is obtained by encapsulating the embedded program of the relay protection device into an APP, and the application program and the simulation training system run on the same electronic device.

[0082] It should be noted that the information interaction and execution process between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0083] Figure 5 This is a schematic diagram of the physical structure of an electronic device provided by an embodiment of the present application. Figure 5 As shown, the electronic device 5 of this embodiment includes: at least one processor 50 ( Figure 5 Only one processor is shown in the figure), a memory 51, and a computer program 52 of a relay protection simulation training system stored in the memory 51 and executable on at least one processor 50. When the processor 50 executes the computer program 52, the steps in any of the above relay protection simulation training method embodiments are implemented, such as Figure 2 Steps 210-240 are shown.

[0084] The processor 50 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.

[0085] In some embodiments, the memory 51 may be an internal storage unit of the electronic device 5, such as a hard disk or memory of the electronic device 5. In other embodiments, the memory 51 may also be an external storage device of the electronic device 5, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device 5.

[0086] Furthermore, the memory 51 may include both an internal storage unit of the electronic device 5 and an external storage device. The memory 51 is used to store operating means, application programs, boot loaders, data and other programs, such as program codes of computer programs, etc. The memory 51 may also be used to temporarily store data that has been output or is to be output.

[0087] 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 above-mentioned 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.

[0088] An embodiment of the present application further provides a computer-readable storage medium storing a computer program of a relay protection simulation training system. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.

[0089] An embodiment of the present application provides a computer program product. When the computer program product runs on an electronic device, the electronic device can implement the steps in the above-mentioned method embodiments when executing the computer program product.

[0090] If the integrated 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, which can be completed by instructing the relevant hardware through a computer program. The above-mentioned 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 above-mentioned computer program includes computer program code, and the above-mentioned computer program code can be in source code form, object code form, executable file or some intermediate form. The above-mentioned computer-readable medium may at least include: any entity or device that can carry the computer program code to the camera / electronic device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a disk or an optical disk.

[0091] 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.

[0092] 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.

[0093] In the embodiments provided in the present application, it should be understood that the disclosed devices / network equipment and methods can be implemented in other ways. For example, the device / network equipment embodiments described above are merely schematic. For example, the division of the above 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 devices or units, which can be electrical, mechanical or other forms.

[0094] The units described above 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.

[0095] The above embodiments 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, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These 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 simulation training method for relay protection, characterized in that: The simulation training method is applied to a simulation training system for relay protection, and the simulation training method comprises: After the simulation training system is started, a data interaction area is constructed based on the interactive data information; the interactive data information is the data information interacted between the simulation training system and the application program of the relay protection device; In response to the user's simulation operation on the virtual device to be operated in the simulation training system, the generated input data is written into the data interaction area; the input data is used for the application to read and calculate, so as to write the output data corresponding to the input data into the data interaction area; Reading the output data corresponding to the input data from the data interaction area; The operation status of the virtual device to be operated is displayed in the simulation training interface of the simulation training system based on the output data.

2. The simulation training method according to claim 1, characterized in that: The step of constructing a data interaction area based on the interactive data information includes: Different shared memory areas are created based on different logical devices in the interactive data information; each shared memory area is used to store the interactive data of the corresponding logical device, and each shared memory area is correspondingly provided with a data writing object and a data reading object; Wherein, during the process of starting the application, the application maps the shared memory area to the process address of the application based on the mapping file of the shared memory area.

3. The simulation training method according to claim 2, characterized in that: The logical device includes a virtual panel cabinet and a virtual relay protection tester corresponding to the simulation training system, and a virtual relay protection device corresponding to the application; the shared memory area includes a first shared memory area corresponding to the virtual panel cabinet, a second shared memory area corresponding to the virtual relay protection tester, and a third shared memory area corresponding to the virtual relay protection device; The data writing object and the data reading object corresponding to the first shared memory area are the virtual screen cabinet and the virtual relay protection device respectively, and are used to store the first interactive data corresponding to the virtual screen cabinet; The data writing object and the data reading object corresponding to the second shared memory area are the virtual relay protection tester and the virtual relay protection device respectively, and are used to store the second interactive data corresponding to the virtual relay protection tester; The data writing object and the data reading object corresponding to the first shared memory area are respectively the virtual relay protection device and the virtual panel cabinet / the virtual relay protection tester, and are used to store the third interactive data corresponding to the virtual relay protection device.

4. The simulation training method according to claim 2, characterized in that: The simulation training system creates each shared memory area by calling the CreateFileMapping function of Win32 API; the application opens the mapping file and maps the shared memory area to the process address by calling the OpenFileMapping function and the MapViewOfFile function of Win32 API.

5. The simulation training method according to any one of claims 1 to 4, characterized in that: The application program is obtained by encapsulating the embedded program of the relay protection device into an APP, and the application program and the simulation training system run on the same electronic device.

6. A simulation training system for relay protection, characterized in that: include: A creation module is used to construct a data interaction area based on the interaction data information after the simulation training system is started; The interactive data information is the data information interacted between the simulation training system and the application program of the relay protection device; The simulation module is used to write the generated input data into the data interaction area in response to the user's training operation on the virtual device to be operated in the simulation training system; the input data is used for the application to read and calculate, so as to write the output data corresponding to the input data into the data interaction area; Reading the output data corresponding to the input data from the data interaction area; A display module is used to display the operation status of the virtual device to be operated in the simulation training interface of the simulation training system based on the output data.

7. The simulation training system according to claim 6, characterized in that: The creation module is specifically used for: Different shared memory areas are created based on different logical devices in the interactive data information; each shared memory area is used to store the interactive data corresponding to each logical device, and each shared memory area corresponds to different data writing objects and data reading objects; Wherein, during the process of starting the application, the application maps the shared memory area to the process address of the application based on the mapping file of the shared memory area.

8. The simulation training system according to claim 7, characterized in that: The logical device includes a virtual panel cabinet and a virtual relay protection tester corresponding to the simulation training system, and a virtual relay protection device corresponding to the application; the shared memory area includes a first shared memory area corresponding to the virtual panel cabinet, a second shared memory area corresponding to the virtual relay protection tester, and a third shared memory area corresponding to the virtual relay protection device; The data writing object and the data reading object corresponding to the first shared memory area are the virtual screen cabinet and the virtual relay protection device respectively, and are used to store the first interactive data corresponding to the virtual screen cabinet; The data writing object and the data reading object corresponding to the second shared memory area are the virtual relay protection tester and the virtual relay protection device respectively, and are used to store the second interactive data corresponding to the virtual relay protection tester; The data writing object and the data reading object corresponding to the first shared memory area are respectively the virtual relay protection device and the virtual panel cabinet / the virtual relay protection tester, and are used to store the third interactive data corresponding to the virtual relay protection device.

9. An electronic device comprising a memory, a processor, and a computer program of a relay protection simulation training system stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the simulation training method for relay protection according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium storing a computer program of a relay protection simulation training system, characterized in that: When the computer program is executed by a processor, the simulation training method for relay protection according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Relay protection algorithm development method based on virtual platform, medium and system

    CN121348801A