Electrical circuit linkage display method, apparatus and device, and storage medium

CN118607240APending Publication Date: 2024-09-06ZHENGZHOU THINK FREELY HI TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410763632.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-13
Publication Date
2024-09-06

Smart Images

  • Figure CN118607240A
    Figure CN118607240A
Patent Text Reader

Abstract

The invention discloses an electric circuit linkage display method and device, equipment and a storage medium, and relates to the technical field of rail transit, and the method comprises the steps: determining a target simulation part and an operation state corresponding to an operation instruction for a rail transit locomotive; determining all electrical pipelines corresponding to the target simulation component, and determining pipeline state data corresponding to each electrical pipeline based on the operation state; editing the pipeline state data into an electrical circuit configuration file; and displaying the electrical circuit state of each electrical pipeline in a 2D electrical schematic diagram based on the electrical circuit configuration file to obtain a 2D electrical diagram, performing screen recording on the display process to obtain 2D screen recording data, and pushing the 2D screen recording data to a 3D electrical circuit display assembly so as to display the electrical circuit state of each electrical pipeline in a 3D electrical model based on the electrical circuit configuration file. And displaying the 2D electrical diagrams at the corresponding moments in the 3D electrical diagrams to obtain linkage display electrical diagrams. According to the invention, linkage display of a 2D electrical circuit and a 3D electrical circuit can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of rail transit technology, and in particular to an electrical circuit linkage display method, device, equipment and storage medium. Background Art

[0002] At present, in simulation systems, such as rail transit locomotive simulation systems, it is necessary not only to simulate the external visual effects of the object, but also to simulate its internal structure and function, so as to achieve the simulation effect. Among them, for the simulated objects involving electrical control, the electrical circuit structure of the simulated object is usually displayed in 2D (two-dimensional) mode. This static display mode is not intuitive and vivid enough for some application scenarios, such as simulation teaching, scientific research, and management of circuit working principle research and analysis, electrical layout installation position display, and detailed information display of electrical installation wiring. It is also necessary to meet the current display needs for dynamic display of real-time changes in electrical circuits, on-off conditions, electrical signal flow conditions, etc., so as to quickly troubleshoot faults. Summary of the invention

[0003] In view of this, the purpose of this application is to provide an electrical circuit linkage display method, device, equipment and storage medium, which can realize the linkage display of 2D electrical circuit and 3D electrical circuit, making the electrical circuit display more intuitive and vivid, meeting the diverse display needs of users, and suitable for various application scenarios such as simulation teaching, scientific research, and management. The specific scheme is as follows:

[0004] In a first aspect, the present application discloses an electrical circuit linkage display method, which is applied to a rail transit locomotive simulation system, comprising:

[0005] When an operation instruction for a target rail transit locomotive is monitored, determining a target simulation component corresponding to the operation instruction and an operation state of the target simulation component;

[0006] Determine all electrical pipelines corresponding to the target simulation component, and determine state data corresponding to each of the electrical pipelines based on the operation state to obtain pipeline state data;

[0007] Editing the pipeline status data into a file to obtain an electrical circuit configuration file;

[0008] Using a 2D electrical circuit display component and based on the electrical circuit configuration file, displaying the electrical circuit status of each electrical pipeline of the target simulation component in a 2D electrical schematic diagram to obtain a 2D electrical diagram, and recording the display process of the 2D electrical diagram to obtain 2D screen recording data, and then pushing the 2D screen recording data to a 3D electrical circuit display component;

[0009] The electrical circuit status of each electrical pipeline of the target simulation component is displayed in the 3D electrical model through the 3D electrical circuit display component and based on the electrical circuit configuration file to obtain a 3D electrical diagram, and the 2D electrical diagram at the corresponding time is displayed in the 3D electrical diagram to obtain a linked display electrical diagram.

[0010] Optionally, after determining the state data corresponding to each of the electrical conduits based on the operation state and obtaining the conduit state data, the method further includes:

[0011] Storing the pipeline status data corresponding to all the electrical pipelines into a preset database;

[0012] Accordingly, the pipeline state data is edited into a file to obtain an electrical circuit configuration file, including:

[0013] The pipeline status data in the preset database is edited into a file to obtain an electrical circuit configuration file.

[0014] Optionally, the using of a 2D electrical circuit display component and displaying the electrical circuit status of each electrical conduit of the target simulation component in a 2D electrical schematic diagram based on the electrical circuit configuration file to obtain a 2D electrical diagram includes:

[0015] Displaying the electrical circuit status of each of the electrical conduits of the target simulation component in a 2D electrical schematic diagram according to a preset cycle and using a 2D electrical circuit display component and based on the electrical circuit configuration file to obtain a 2D electrical diagram;

[0016] Accordingly, the electrical circuit status of each electrical conduit of the target simulation component is displayed in the 3D electrical model based on the electrical circuit configuration file through the 3D electrical circuit display component to obtain a 3D electrical diagram, including:

[0017] The electrical circuit status of each electrical conduit of the target simulation component is displayed in the 3D electrical model according to the preset cycle through the 3D electrical circuit display component and based on the electrical circuit configuration file to obtain a 3D electrical diagram.

[0018] Optionally, the step of pushing the 2D screen recording data to a 3D electrical circuit display component includes:

[0019] The 2D screen recording data is sent to a streaming server so that the 2D screen recording data can be pushed to a 3D electrical circuit display component through the streaming server.

[0020] Optionally, displaying the 2D electrical diagram at a corresponding time in the 3D electrical diagram to obtain a linked display electrical diagram includes:

[0021] The 2D electrical diagram is displayed in the 3D electrical diagram at the corresponding time according to a preset display position and display size, so as to obtain a linked display electrical diagram.

[0022] Optionally, the using of a 2D electrical circuit display component and displaying the electrical circuit status of each electrical conduit of the target simulation component in a 2D electrical schematic diagram based on the electrical circuit configuration file to obtain a 2D electrical diagram includes:

[0023] Determining whether the status data in the electrical circuit configuration file is the same as the status data for the target rail transit locomotive collected in the previous cycle;

[0024] If not, the electrical circuit status of each electrical conduit of the target simulation component is displayed in the 2D electrical schematic diagram using a 2D electrical circuit display component based on the electrical circuit configuration file to obtain a 2D electrical diagram.

[0025] Optionally, the determining all electrical conduits corresponding to the target simulation component includes:

[0026] All pipeline serial numbers corresponding to the target simulation component are obtained, and each electrical pipeline corresponding to the target simulation component is determined according to the pipeline serial numbers.

[0027] In a second aspect, the present application discloses an electrical circuit linkage display device, which is applied to a rail transit locomotive simulation system, comprising:

[0028] An operation state determination module, for determining a target simulation component corresponding to the operation instruction and an operation state of the target simulation component when an operation instruction for a target rail transit locomotive is monitored;

[0029] An electrical conduit determination module, used to determine all electrical conduits corresponding to the target simulation component;

[0030] A state data determination module, used to determine the state data corresponding to each of the electrical conduits based on the operation state, and obtain conduit state data;

[0031] A data editing module, used for editing the pipeline state data into a file to obtain an electrical circuit configuration file;

[0032] A 2D display module, for displaying the electrical circuit status of each of the electrical conduits of the target simulation component in a 2D electrical schematic diagram based on the electrical circuit configuration file by using a 2D electrical circuit display component, to obtain a 2D electrical diagram;

[0033] A screen recording module, used for recording the display process of the 2D electrical diagram to obtain 2D screen recording data;

[0034] A data push module, used for pushing the 2D screen recording data to the 3D electrical circuit display component;

[0035] A 3D display module, used to display the electrical circuit status of each electrical conduit of the target simulation component in a 3D electrical model based on the electrical circuit configuration file through the 3D electrical circuit display component to obtain a 3D electrical diagram;

[0036] The linkage display module is used to display the 2D electrical diagram at the corresponding time in the 3D electrical diagram to obtain a linkage display electrical diagram.

[0037] In a third aspect, the present application discloses an electronic device, comprising a processor and a memory; wherein, when the processor executes a computer program stored in the memory, the aforementioned electrical circuit linkage display method is implemented.

[0038] In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the aforementioned electrical circuit linkage display method is implemented.

[0039] It can be seen that the present application is applied to a rail transit locomotive simulation system. When an operation instruction for a target rail transit locomotive is monitored, the target simulation component corresponding to the operation instruction and the operation status of the target simulation component are first determined, and then all electrical pipelines corresponding to the target simulation component are determined, and the status data corresponding to each electrical pipeline is determined based on the operation status to obtain pipeline status data, and then the pipeline status data is edited into a file to obtain an electrical circuit configuration file, and the electrical circuit status of each electrical pipeline of the target simulation component is displayed in a 2D electrical schematic diagram based on the electrical circuit configuration file by using a 2D electrical circuit display component to obtain a 2D electrical diagram, and the display process of the 2D electrical diagram is recorded to obtain 2D screen recording data, and then the 2D screen recording data is pushed to a 3D electrical circuit display component, and finally, the electrical circuit status of each electrical pipeline of the target simulation component is displayed in a 3D electrical model based on the electrical circuit configuration file to obtain a 3D electrical diagram, and the 2D electrical diagram at the corresponding time is displayed in the 3D electrical diagram to obtain a linked display electrical diagram. This application records the display process of the 2D electrical diagram, and pushes the obtained 2D electrical diagram to a 3D electrical circuit display component in real time, and then combines the 3D electrical diagram with the 2D electrical diagram at the corresponding moment through the 3D electrical circuit display component, thereby realizing the linked display of the 2D electrical circuit and the 3D electrical circuit, making the electrical circuit display more intuitive and vivid, meeting the user's diverse display needs, and is suitable for various application scenarios such as simulation teaching, scientific research, and management. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, 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 embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0041] Figure 1 This is a flow chart of an electrical circuit linkage display method disclosed in this application;

[0042] Figure 2 A flow chart of a specific electrical circuit linkage display method disclosed in this application;

[0043] Figure 3 This is a schematic diagram of the structure of an electrical circuit linkage display device disclosed in this application;

[0044] Figure 4 This is a structural diagram of an electronic device disclosed in this application. DETAILED DESCRIPTION

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

[0046] The present application discloses an electrical circuit linkage display method, which is applied to a rail transit locomotive simulation system. Figure 1 As shown, the method includes:

[0047] Step S11: when an operation instruction for a target rail transit locomotive is monitored, a target simulation component corresponding to the operation instruction and an operation state of the target simulation component are determined.

[0048] It should be pointed out that the electrical circuit linkage display solution proposed in this application is applied to the rail transit locomotive simulation system. The system can be used as a simulation teaching system to show students the changes in the electrical circuit of the rail transit locomotive. It can also be applied to other scenarios, such as scientific research and practical training exercises and other application scenarios.

[0049] In this embodiment, when an operation instruction for a target rail transit locomotive is monitored, such as an operation instruction for a locomotive gate, all simulated electrical components (i.e., locomotive gates) corresponding to the operation instruction can be determined first, and the target simulated component can be obtained, and then the operation state of the target simulated component (such as the locomotive gate) can be determined, such as the open state or closed state of the brake valve, which can be monitored and collected by corresponding sensors and converted into corresponding electrical signals. Among them, the operation instruction can be an operation instruction issued by an operator operating a rail transit locomotive driving console, or a driving operation instruction issued by a virtual machine, etc.; the simulated electrical component is a pre-created simulated component corresponding to each component in an actual rail transit locomotive, including but not limited to all simulated components including simulated mechanical components, simulated electrical components, etc., specifically including axles, brakes, traction motors, transformers, air conditioning systems, signal systems, locomotive gates, push rods, buttons, gear levers, pedals, touch screens, etc. Specifically, the target simulation component and the operating status of the target simulation component can be located in the operation instruction in the form of Key-Value (key-value pair), where Key can refer to the currently operated locomotive gate, and Value is the operating status of the current locomotive gate, such as 0 for the closed state and 1 for the brake valve open state.

[0050] Step S12: determining all electrical conduits corresponding to the target simulation component, and determining state data corresponding to each of the electrical conduits based on the operation state to obtain conduit state data.

[0051] In this embodiment, after determining the target simulation component corresponding to the operation instruction and the operation state of the target simulation component, further, all electrical pipelines (pipelines) corresponding to the above target simulation component are determined, such as brake cylinder pipe, average pipe, main air connection pipe, train pipe, sand spreading pipe, dry sand pipe, parking brake pipe, etc., and then the state data corresponding to each electrical pipeline is determined based on the above operation state to obtain pipeline state data. For example, when the locomotive gate changes from the closed state to the brake valve open state, the corresponding three electrical pipelines are determined, and the state data of the three electrical pipelines can be red, yellow, and green, respectively, that is, the state of the electrical pipeline is identified by color.

[0052] In a specific implementation, the determining of all electrical conduits corresponding to the target simulation component may specifically include: obtaining all conduit serial numbers corresponding to the target simulation component, and determining each electrical conduit corresponding to the target simulation component according to the conduit serial number. That is, the electrical conduits corresponding to each simulation component are determined by the conduit serial number corresponding to each simulation component. For example, when the conduit serial numbers corresponding to the locomotive gate are 1, 2, and 3, the corresponding electrical conduits may be determined to be brake cylinder pipes, parking brake pipes, and train pipes.

[0053] Step S13: Edit the pipeline status data into a file to obtain an electrical circuit configuration file.

[0054] In this embodiment, the status data corresponding to each of the electrical pipelines is determined based on the operating status. Thereafter, the pipeline status data can be edited into a file using a pre-created electrical circuit principle editor to obtain a corresponding electrical circuit configuration file; wherein, the file format of the electrical circuit configuration file includes but is not limited to XML (Extensible Markup Language) format, JSON (JavaScript Object Notation, a lightweight data exchange format) format, etc.

[0055] Furthermore, after determining the status data corresponding to each of the electrical conduits based on the operation status and obtaining the conduit status data, the method may further include: storing the conduit status data corresponding to all the electrical conduits in a preset database; correspondingly, editing the conduit status data into a file to obtain an electrical conduit configuration file may specifically include: editing the conduit status data in the preset database into a file to obtain an electrical conduit configuration file. In this embodiment, in order to facilitate the unified management and call of status data, the conduit status data corresponding to the electrical conduits may be stored in a pre-created database, and when editing the conduit status data, the corresponding conduit status data may be first obtained from the database, and then edited to obtain an electrical conduit configuration file.

[0056] Step S14: Using a 2D electrical circuit display component and based on the electrical circuit configuration file, the electrical circuit status of each electrical pipeline of the target simulation component is displayed in a 2D electrical schematic diagram to obtain a 2D electrical diagram, and the display process of the 2D electrical diagram is recorded to obtain 2D screen recording data, and then the 2D screen recording data is pushed to the 3D electrical circuit display component.

[0057] In this embodiment, after the pipeline status data is edited into a file, a 2D electrical circuit display component (such as AutoCAD, PROTEL, Eplan and other drawing tools) can be used to display the electrical circuit status of each electrical pipeline of the above-mentioned target simulation component in a 2D electrical schematic diagram based on the above-mentioned electrical circuit configuration file to obtain a 2D electrical diagram. At the same time, it is necessary to record the display process of the 2D electrical diagram to obtain corresponding 2D screen recording data, and push the 2D screen recording data to a pre-created 3D electrical circuit display component (which can be created by corresponding software code).

[0058] Specifically, the use of a 2D electrical circuit display component and based on the electrical circuit configuration file to display the electrical circuit status of each electrical conduit of the target simulation component in a 2D electrical schematic diagram to obtain a 2D electrical diagram may include: displaying the electrical circuit status of each electrical conduit of the target simulation component in a 2D electrical schematic diagram according to a preset period and using a 2D electrical circuit display component and based on the electrical circuit configuration file to obtain a 2D electrical diagram. In this embodiment, the 2D electrical circuit display component can display the electrical circuit status of each electrical conduit corresponding to the above-mentioned target simulation component in a 2D electrical schematic diagram according to a preset time period and based on the generated electrical circuit configuration file, such as highlighting them in different colors, thereby obtaining a 2D electrical diagram that can reflect the changes in the electrical circuit. The changes in the electrical circuit include but are not limited to the on-off status, changes, signal flow status, etc. of each electrical component.

[0059] Specifically, the pushing of the 2D screen recording data to the 3D electrical circuit display component may include: sending the 2D screen recording data to a streaming server, so that the 2D screen recording data is pushed to the 3D electrical circuit display component through the streaming server. In this embodiment, when the 2D screen recording data is pushed to the 3D electrical circuit display component (GasFlowDisplay component), the 2D screen recording data may be first sent to the streaming server (Rtspsimpleserver), and then pushed to the 3D electrical circuit display component (GasFlowDisplay component) by the streaming server (Rtspsimpleserver), that is, the 2D screen recording data is pushed through the streaming server, which can improve the push efficiency and thereby ensure the real-time display of the electrical circuit linkage.

[0060] Step S15: The electrical circuit status of each electrical pipeline of the target simulation component is displayed in the 3D electrical model through the 3D electrical circuit display component and based on the electrical circuit configuration file to obtain a 3D electrical diagram, and the 2D electrical diagram at the corresponding moment is displayed in the 3D electrical diagram to obtain a linked display electrical diagram.

[0061] In this embodiment, after the 3D electrical circuit display component receives the above electrical circuit configuration file, it can display the electrical circuit status of each electrical pipeline of the corresponding target simulation component in the pre-created 3D electrical model based on the electrical circuit configuration file. It is also necessary to display the real-time changes, on-off conditions, and electrical signal flow conditions of the electrical circuit, so as to obtain a 3D electrical diagram, and display the above 2D electrical diagram at the corresponding time in the 3D electrical diagram, that is, integrate the two electrical diagrams into the same display screen for display, and ensure the time correspondence, thereby realizing the linkage display of the 2D electrical diagram and the 3D electrical diagram. Specifically, the display of the electrical diagram can be linked through a video output device.

[0062] Specifically, the display of the electrical circuit status of each electrical conduit of the target simulation component in the 3D electrical model based on the electrical circuit configuration file by the 3D electrical circuit display component to obtain the 3D electrical diagram may include: displaying the electrical circuit status of each electrical conduit of the target simulation component in the 3D electrical model according to the preset period by the 3D electrical circuit display component and based on the electrical circuit configuration file to obtain the 3D electrical diagram. That is, in the process of the 2D electrical circuit display component generating the 2D electrical diagram, the 3D electrical circuit display component will also obtain the electrical circuit configuration file and display the electrical circuit status of the corresponding electrical conduit in the 3D electrical model.

[0063] In a specific embodiment, the 2D electrical diagram at the corresponding moment is displayed in the 3D electrical diagram to obtain a linked display electrical diagram, which may specifically include: displaying the 2D electrical diagram in the 3D electrical diagram at the corresponding moment according to a preset display position and display size to obtain a linked display electrical diagram. In this embodiment, in order to make the linked display of electrical circuits more intuitive, vivid and flexible, the 2D electrical diagram can be displayed in the 3D electrical diagram at the corresponding moment according to a preset display position (such as the lower right corner of the screen) and display size (occupying 1 / 4 of the full screen). Of course, corresponding configurations can also be performed so that technicians can perform corresponding manipulations on the 2D electrical diagram and the 3D electrical diagram in the linked display electrical diagram, such as hiding, enlarging, and reducing the 2D electrical diagram in the linked display electrical diagram, or when it is detected that a mouse is clicked on an electrical pipeline, the corresponding parameter information, label information, etc. are displayed, which is more convenient for application scenarios such as simulation teaching.

[0064] It can be seen that the embodiment of the present application is applied to a rail transit locomotive simulation system. When an operation instruction for a target rail transit locomotive is monitored, the target simulation component corresponding to the operation instruction and the operation status of the target simulation component are first determined, and then all electrical pipelines corresponding to the target simulation component are determined, and the status data corresponding to each electrical pipeline is determined based on the operation status to obtain pipeline status data, and then the pipeline status data is edited into a file to obtain an electrical circuit configuration file, and the electrical circuit status of each electrical pipeline of the target simulation component is displayed in a 2D electrical schematic diagram based on the electrical circuit configuration file by using a 2D electrical circuit display component to obtain a 2D electrical diagram, and the display process of the 2D electrical diagram is recorded to obtain 2D screen recording data, and then the 2D screen recording data is pushed to a 3D electrical circuit display component, and finally, the electrical circuit status of each electrical pipeline of the target simulation component is displayed in a 3D electrical model based on the electrical circuit configuration file to obtain a 3D electrical diagram, and the 2D electrical diagram at the corresponding time is displayed in the 3D electrical diagram to obtain a linked display electrical diagram. The embodiment of the present application records the display process of the 2D electrical diagram, and pushes the obtained 2D electrical diagram to a 3D electrical circuit display component in real time, and then combines the 3D electrical diagram with the 2D electrical diagram at the corresponding moment through the 3D electrical circuit display component, thereby realizing the linked display of the 2D electrical circuit and the 3D electrical circuit, making the electrical circuit display more intuitive and vivid, meeting the diverse display needs of users, and being suitable for various application scenarios such as simulation teaching, scientific research, and management, and facilitating the rapid troubleshooting and timely handling of faults.

[0065] The present application discloses a specific electrical circuit linkage display method, which is applied to a rail transit locomotive simulation system, see Figure 2 As shown, the method includes:

[0066] Step S21: when an operation instruction for a target rail transit locomotive is monitored, a target simulation component corresponding to the operation instruction and an operation state of the target simulation component are determined.

[0067] Step S22: determining all electrical conduits corresponding to the target simulation component, and determining state data corresponding to each of the electrical conduits based on the operation state to obtain conduit state data.

[0068] Step S23: Edit the pipeline status data into a file to obtain an electrical circuit configuration file.

[0069] Step S24: Determine whether the status data in the electrical circuit configuration file is the same as the status data for the target rail transit locomotive collected in the previous cycle.

[0070] In this embodiment, after editing the pipeline status data into a file, it is possible to further determine whether the status data in the electrical circuit configuration file is the same as the status data for the target rail transit locomotive collected in the previous cycle, that is, to determine whether the status of each component in the current rail transit locomotive has changed.

[0071] Step S25: If not, the electrical circuit status of each electrical pipeline of the target simulation component is displayed in the 2D electrical schematic diagram using a 2D electrical circuit display component and based on the electrical circuit configuration file to obtain a 2D electrical diagram, and the display process of the 2D electrical diagram is recorded to obtain 2D screen recording data, and then the 2D screen recording data is pushed to the 3D electrical circuit display component.

[0072] In this embodiment, if the status data in the electrical circuit configuration file is different from the status data for the target rail transit locomotive collected in the previous cycle, the electrical circuit status of each electrical pipeline of the above-mentioned target simulation component is displayed in the 2D electrical schematic diagram based on the above-mentioned electrical circuit configuration file using a 2D electrical circuit display component, thereby obtaining a 2D electrical diagram, and during the display process, the display process of the 2D electrical diagram is recorded to obtain 2D screen recording data, and then the above-mentioned 2D screen recording data is pushed to the 3D electrical circuit display component.

[0073] Step S26: The electrical circuit status of each electrical pipeline of the target simulation component is displayed in the 3D electrical model through the 3D electrical circuit display component and based on the electrical circuit configuration file to obtain a 3D electrical diagram, and the 2D electrical diagram at the corresponding moment is displayed in the 3D electrical diagram to obtain a linked display electrical diagram.

[0074] For more specific processing procedures of the above steps S21 to S23 and S26, reference may be made to the corresponding contents disclosed in the above embodiments, which will not be described in detail here.

[0075] It can be seen that the embodiment of the present application edits the pipeline status data into a file, and after obtaining the electrical circuit configuration file, it is determined whether the status data in the electrical circuit configuration file is the same as the status data for the target rail transit locomotive collected in the previous cycle. If not, the electrical circuit status of each electrical pipeline of the target simulation component is displayed in the 2D electrical schematic diagram based on the electrical circuit configuration file using a 2D electrical circuit display component to obtain a 2D electrical diagram, and the display process of the 2D electrical diagram is recorded to obtain 2D screen recording data, and the 2D screen recording data is pushed to the 3D electrical circuit display component, so that the electrical circuit status of each electrical pipeline of the target simulation component is displayed in the 3D electrical model based on the electrical circuit configuration file through the 3D electrical circuit display component to obtain a 3D electrical diagram, and the 2D electrical diagram at the corresponding time is displayed in the 3D electrical diagram to obtain a linked display electrical diagram. In the embodiment of the present application, when the status data of the rail transit locomotive changes, the display process of the 2D electrical diagram is recorded, and the obtained 2D electrical diagram is pushed to the 3D electrical circuit display component in real time, and then the 3D electrical diagram is combined with the 2D electrical diagram at the corresponding moment through the 3D electrical circuit display component, thereby realizing the linked display of the 2D electrical circuit and the 3D electrical circuit, making the electrical circuit display more intuitive and vivid, meeting the user's diverse display needs, facilitating the rapid troubleshooting and timely handling of faults, and being able to more clearly display the on-off status, changes and signal flow of signals in the electrical circuit.

[0076] Correspondingly, the present application also discloses an electrical circuit linkage display device, which is applied to a rail transit locomotive simulation system, see Figure 3 As shown, the device comprises:

[0077] An operation state determination module 11 is used to determine a target simulation component corresponding to the operation instruction and an operation state of the target simulation component when an operation instruction for a target rail transit locomotive is monitored;

[0078] An electrical conduit determination module 12, used to determine all electrical conduits corresponding to the target simulation component;

[0079] A state data determination module 13, configured to determine state data corresponding to each of the electrical conduits based on the operation state, and obtain conduit state data;

[0080] A data editing module 14 is used to edit the pipeline state data into a file to obtain an electrical circuit configuration file;

[0081] A 2D display module 15, for displaying the electrical circuit status of each electrical conduit of the target simulation component in a 2D electrical schematic diagram based on the electrical circuit configuration file by using a 2D electrical circuit display component to obtain a 2D electrical diagram;

[0082] A screen recording module 16, used for recording the display process of the 2D electrical diagram to obtain 2D screen recording data;

[0083] A data push module 17, used to push the 2D screen recording data to the 3D electrical circuit display component;

[0084] A 3D display module 18, configured to display the electrical circuit status of each of the electrical conduits of the target simulation component in a 3D electrical model based on the electrical circuit configuration file through the 3D electrical circuit display component to obtain a 3D electrical diagram;

[0085] The linkage display module 19 is used to display the 2D electrical diagram at the corresponding time in the 3D electrical diagram to obtain a linkage display electrical diagram.

[0086] Among them, the specific working processes of the above-mentioned modules can refer to the corresponding contents disclosed in the aforementioned embodiments, which will not be repeated here.

[0087] It can be seen that the embodiment of the present application is applied to a rail transit locomotive simulation system. When an operation instruction for a target rail transit locomotive is monitored, the target simulation component corresponding to the operation instruction and the operation status of the target simulation component are first determined, and then all electrical pipelines corresponding to the target simulation component are determined, and the status data corresponding to each electrical pipeline is determined based on the operation status to obtain pipeline status data, and then the pipeline status data is edited into a file to obtain an electrical circuit configuration file, and the electrical circuit status of each electrical pipeline of the target simulation component is displayed in a 2D electrical schematic diagram based on the electrical circuit configuration file by using a 2D electrical circuit display component to obtain a 2D electrical diagram, and the display process of the 2D electrical diagram is recorded to obtain 2D screen recording data, and then the 2D screen recording data is pushed to a 3D electrical circuit display component, and finally, the electrical circuit status of each electrical pipeline of the target simulation component is displayed in a 3D electrical model based on the electrical circuit configuration file to obtain a 3D electrical diagram, and the 2D electrical diagram at the corresponding time is displayed in the 3D electrical diagram to obtain a linked display electrical diagram. The embodiment of the present application records the display process of the 2D electrical diagram, and pushes the obtained 2D electrical diagram to a 3D electrical circuit display component in real time, and then combines the 3D electrical diagram with the 2D electrical diagram at the corresponding moment through the 3D electrical circuit display component, thereby realizing the linked display of the 2D electrical circuit and the 3D electrical circuit, making the electrical circuit display more intuitive and vivid, meeting the diverse display needs of users, and being suitable for various application scenarios such as simulation teaching, scientific research, and management, and facilitating the rapid troubleshooting and timely handling of faults.

[0088] In some specific embodiments, after the state data determination module 13, the following may also be included:

[0089] A data storage unit, used for storing the pipeline status data corresponding to all the electrical pipelines in a preset database;

[0090] Accordingly, the data editing module 14 may specifically include:

[0091] The data editing unit is used to edit the pipeline status data in the preset database into a file to obtain an electrical circuit configuration file.

[0092] In some specific embodiments, the 2D display module 15 may specifically include:

[0093] A first 2D display unit is used to display the electrical circuit status of each electrical conduit of the target simulation component in a 2D electrical schematic diagram according to a preset period and using a 2D electrical circuit display component and based on the electrical circuit configuration file to obtain a 2D electrical diagram;

[0094] Accordingly, the 3D display module 18 may specifically include:

[0095] The 3D display unit is used to display the electrical circuit status of each electrical pipeline of the target simulation component in the 3D electrical model according to the preset period and through the 3D electrical circuit display component and based on the electrical circuit configuration file to obtain a 3D electrical diagram.

[0096] In some specific embodiments, the data push module 17 may specifically include:

[0097] The data push unit is used to send the 2D screen recording data to the streaming server so that the 2D screen recording data can be pushed to the 3D electrical circuit display component through the streaming server.

[0098] In some specific embodiments, the linkage display module 19 may specifically include:

[0099] The linkage display unit is used to display the 2D electrical diagram in the 3D electrical diagram at the corresponding time according to a preset display position and display size to obtain a linkage displayed electrical diagram.

[0100] In some specific embodiments, the 2D display module 15 may specifically include:

[0101] A judging unit, used to judge whether the state data in the electrical circuit configuration file is the same as the state data for the target rail transit locomotive collected in the previous cycle;

[0102] The second 2D display unit is used to display the electrical circuit status of each electrical conduit of the target simulation component in the 2D electrical schematic diagram based on the electrical circuit configuration file by using the 2D electrical circuit display component if the status data in the electrical circuit configuration file is different from the status data for the target rail transit locomotive collected in the previous cycle, so as to obtain a 2D electrical diagram.

[0103] In some specific embodiments, the electrical conduit determination module 12 may specifically include:

[0104] A serial number acquisition unit, used to acquire all pipeline serial numbers corresponding to the target simulation component;

[0105] The electrical conduit determination unit is used to determine each electrical conduit corresponding to the target simulation component according to the conduit serial number.

[0106] Furthermore, the present application also discloses an electronic device. Figure 4 This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content in the diagram cannot be regarded as any limitation on the scope of use of the present application.

[0107] Figure 4 A schematic diagram of the structure of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the electrical circuit linkage display method disclosed in any of the aforementioned embodiments. In addition, the electronic device 20 in this embodiment may specifically be an electronic computer.

[0108] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.

[0109] In addition, the memory 22, as a carrier for storing resources, can be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon can include an operating system 221, a computer program 222, etc., and the storage method can be temporary storage or permanent storage.

[0110] The operating system 221 is used to manage and control the hardware devices and computer programs 222 on the electronic device 20, which can be Windows Server, Netware, Unix, Linux, etc. In addition to including a computer program that can be used to complete the electrical circuit linkage display method performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include a computer program that can be used to complete other specific tasks.

[0111] Furthermore, the present application also discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the aforementioned disclosed electrical circuit linkage display method is implemented. The specific steps of the method can refer to the corresponding contents disclosed in the aforementioned embodiments, and will not be repeated here.

[0112] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0113] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may 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.

[0114] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0115] 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 sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0116] The above is a detailed introduction to an electrical circuit linkage display method, device, equipment and storage medium provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. An electrical circuit linkage display method, characterized in that: Applied to rail transit locomotive simulation system, including: When an operation instruction for a target rail transit locomotive is monitored, determining a target simulation component corresponding to the operation instruction and an operation state of the target simulation component; Determine all electrical pipelines corresponding to the target simulation component, and determine state data corresponding to each of the electrical pipelines based on the operation state to obtain pipeline state data; Editing the pipeline status data into a file to obtain an electrical circuit configuration file; Using a 2D electrical circuit display component and based on the electrical circuit configuration file, displaying the electrical circuit status of each electrical pipeline of the target simulation component in a 2D electrical schematic diagram to obtain a 2D electrical diagram, and recording the display process of the 2D electrical diagram to obtain 2D screen recording data, and then pushing the 2D screen recording data to a 3D electrical circuit display component; The electrical circuit status of each electrical pipeline of the target simulation component is displayed in the 3D electrical model through the 3D electrical circuit display component and based on the electrical circuit configuration file to obtain a 3D electrical diagram, and the 2D electrical diagram at the corresponding time is displayed in the 3D electrical diagram to obtain a linked display electrical diagram.

2. The electrical circuit linkage display method according to claim 1, characterized in that: After determining the state data corresponding to each of the electrical conduits based on the operation state and obtaining the conduit state data, the method further includes: Storing the pipeline status data corresponding to all the electrical pipelines into a preset database; Accordingly, the pipeline state data is edited into a file to obtain an electrical circuit configuration file, including: The pipeline status data in the preset database is edited into a file to obtain an electrical circuit configuration file.

3. The electrical circuit linkage display method according to claim 1, characterized in that: The method of using a 2D electrical circuit display component and displaying the electrical circuit status of each electrical conduit of the target simulation component in a 2D electrical schematic diagram based on the electrical circuit configuration file to obtain a 2D electrical diagram includes: Displaying the electrical circuit status of each of the electrical conduits of the target simulation component in a 2D electrical schematic diagram according to a preset cycle and using a 2D electrical circuit display component and based on the electrical circuit configuration file to obtain a 2D electrical diagram; Accordingly, the electrical circuit status of each electrical conduit of the target simulation component is displayed in the 3D electrical model based on the electrical circuit configuration file through the 3D electrical circuit display component to obtain a 3D electrical diagram, including: The electrical circuit status of each electrical conduit of the target simulation component is displayed in the 3D electrical model according to the preset cycle through the 3D electrical circuit display component and based on the electrical circuit configuration file to obtain a 3D electrical diagram.

4. The electrical circuit linkage display method according to claim 1, characterized in that: The step of pushing the 2D screen recording data to the 3D electrical circuit display component includes: The 2D screen recording data is sent to a streaming server so that the 2D screen recording data can be pushed to a 3D electrical circuit display component through the streaming server.

5. The electrical circuit linkage display method according to claim 1, characterized in that: Displaying the 2D electrical diagram at the corresponding time in the 3D electrical diagram to obtain a linked display electrical diagram includes: The 2D electrical diagram is displayed in the 3D electrical diagram at the corresponding time according to a preset display position and display size, so as to obtain a linked display electrical diagram.

6. The electrical circuit linkage display method according to claim 1, characterized in that: The method of using a 2D electrical circuit display component and displaying the electrical circuit status of each electrical conduit of the target simulation component in a 2D electrical schematic diagram based on the electrical circuit configuration file to obtain a 2D electrical diagram includes: Determining whether the status data in the electrical circuit configuration file is the same as the status data for the target rail transit locomotive collected in the previous cycle; If not, the electrical circuit status of each electrical conduit of the target simulation component is displayed in the 2D electrical schematic diagram using a 2D electrical circuit display component based on the electrical circuit configuration file to obtain a 2D electrical diagram.

7. The electrical circuit linkage display method according to any one of claims 1 to 6, characterized in that: The determining of all electrical conduits corresponding to the target simulation component comprises: All pipeline serial numbers corresponding to the target simulation component are obtained, and each electrical pipeline corresponding to the target simulation component is determined according to the pipeline serial numbers.

8. An electrical circuit linkage display device, characterized in that: Applied to rail transit locomotive simulation system, including: An operation state determination module, for determining a target simulation component corresponding to the operation instruction and an operation state of the target simulation component when an operation instruction for a target rail transit locomotive is monitored; An electrical conduit determination module, used to determine all electrical conduits corresponding to the target simulation component; A state data determination module, used to determine the state data corresponding to each of the electrical conduits based on the operation state, and obtain conduit state data; A data editing module, used for editing the pipeline state data into a file to obtain an electrical circuit configuration file; A 2D display module, for displaying the electrical circuit status of each of the electrical conduits of the target simulation component in a 2D electrical schematic diagram based on the electrical circuit configuration file by using a 2D electrical circuit display component, to obtain a 2D electrical diagram; A screen recording module, used for recording the display process of the 2D electrical diagram to obtain 2D screen recording data; A data push module, used for pushing the 2D screen recording data to the 3D electrical circuit display component; A 3D display module, used to display the electrical circuit status of each electrical conduit of the target simulation component in a 3D electrical model based on the electrical circuit configuration file through the 3D electrical circuit display component to obtain a 3D electrical diagram; The linkage display module is used to display the 2D electrical diagram at the corresponding time in the 3D electrical diagram to obtain a linkage display electrical diagram.

9. An electronic device, characterized in that: It comprises a processor and a memory; wherein, when the processor executes the computer program stored in the memory, the electrical circuit linkage display method as described in any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium, characterized in that: Used to store computer programs; wherein, when the computer program is executed by a processor, the electrical circuit linkage display method as described in any one of claims 1 to 7 is implemented.