Diagnosis interface display method and device, equipment and storage medium
By obtaining the tag information of the topology graph node in the diagnostic interface display method, the problem of maintenance technicians cumbersome searching for vehicle system information is solved, and resource utilization and information acquisition efficiency is optimized.
Patent Information
- Application Number
- CN202411110811.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-13
- Publication Date
- 2024-11-26
AI Technical Summary
The process of searching for vehicle system information is cumbersome and cannot quickly determine the system type and function.
In the diagnostic interface display method, the topology graph node in the pre-drawn topology graph visual area is obtained, the tag information query request is sent to the server side, and the tag information of the topology graph node is obtained and displayed, simplifying the information acquisition process.
It effectively reduces unnecessary data transmission and processing, optimizes the utilization of server and client resources, and simplifies the process of repair technicians obtaining information.
Smart Images

Figure CN119025542A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle diagnosis technology, and in particular to a diagnostic interface display method, device, equipment and storage medium. Background Art
[0002] In vehicles, there are many classifications of systems. For example, the WCM system belongs to the anti-theft system + tire pressure system, the BCM system belongs to the anti-theft system + body system, the PCM system belongs to the engine system + gearbox system, and the ABS system belongs to the brake system + steering angle system, etc.
[0003] Currently, when maintenance technicians perform maintenance on vehicles, if they are not clear about the types of these systems and what special functions they can perform, they can only search one system at a time, which is a cumbersome process.
[0004] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention
[0005] The main purpose of the present application is to provide a diagnostic interface display method, device, equipment and storage medium, aiming to solve the technical problem that the current process of maintenance technicians searching for information is relatively cumbersome.
[0006] To achieve the above purpose, the present application proposes a diagnostic interface display method, which is applied to a diagnostic device, and the method includes:
[0007] Obtaining topology map nodes in a visible area of a pre-drawn topology map;
[0008] Sending a label information query request to a server based on a topology map node in a visible area of the topology map, so that the server obtains label information of the topology map node based on the label information query request;
[0009] Receiving tag information returned by the server;
[0010] In response to a click instruction of the topology map node, label information corresponding to the topology map node is displayed.
[0011] In one embodiment, the step of obtaining the topology map nodes in the visible area of the pre-drawn topology map includes:
[0012] Based on the topology template specified by the user, a system information query instruction is sent to the server;
[0013] Receiving system information returned by the server;
[0014] The topology map is drawn and displayed based on the system information and the topology map template.
[0015] In one embodiment, the step of drawing and displaying the topology map based on the system information and the topology map template includes:
[0016] A user interface is provided so that the user can implement at least one of a custom topology map operation, an add topology map node operation, a delete topology map node operation, and a modify topology map node operation through the user interface.
[0017] In one embodiment, the step of providing a user interface includes:
[0018] In response to the view switching instruction of the user, a system dependency graph is drawn and displayed based on the system information.
[0019] In one embodiment, applied to a server, the method includes:
[0020] Obtaining a label information query request sent by the diagnostic device based on a topology map node in a visible area of the topology map;
[0021] Querying and obtaining label information of the topology map node based on the label information query request;
[0022] The label information is returned to the diagnostic device end, so that the diagnostic device end displays the label information corresponding to the topology map node in response to a click instruction of the topology map node.
[0023] In one embodiment, the step of querying and obtaining the label information of the topology map node based on the label information query request includes:
[0024] Parsing the label information query request to obtain the ID of the topology map node;
[0025] Constructing a query statement based on the ID of the topology map node;
[0026] The query statement is used to query in a pre-built graph database to obtain label information of the topology graph nodes.
[0027] In one embodiment, the step of obtaining a tag information query request sent by the diagnostic device based on the topology map node in the visible area of the topology map includes:
[0028] Receiving a system information query instruction sent by the diagnostic device based on a topology template specified by a user;
[0029] Performing a query in the graph database based on the system information query instruction to obtain the system information;
[0030] The system information is returned to the diagnostic device.
[0031] In addition, to achieve the above-mentioned purpose, the present application also proposes a diagnostic interface display device, which is arranged in a diagnostic device, and the diagnostic interface display device comprises:
[0032] A data acquisition module, used for acquiring topology map nodes in a visible area of a pre-drawn topology map;
[0033] A request sending module, used to send a label information query request to a server based on a topology map node in a visible area of the topology map, so that the server obtains the label information of the topology map node through query based on the label information query request;
[0034] A data receiving module, used for receiving the tag information returned by the server;
[0035] The display module is used to display the label information corresponding to the topology map node in response to a click instruction of the topology map node.
[0036] In addition, to achieve the above-mentioned purpose, the present application also proposes a diagnostic interface display device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and the computer program is configured to implement the steps of the diagnostic interface display method described above.
[0037] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the diagnostic interface display method described above are implemented.
[0038] One or more technical solutions proposed in this application have at least the following technical effects:
[0039] The present application sends a label information query request to the server side based on the topology map nodes in the visible area of the topology map, so that the server side obtains the label information of the topology map nodes based on the label information query request, thereby obtaining the label information of the topology nodes in the visible area. By initiating a label information query request only for the nodes in the visible area instead of all the nodes in the entire topology map, unnecessary data transmission and processing can be effectively reduced, and the resource utilization of the server and the client can be optimized. Moreover, by obtaining the label information, when the maintenance technician clicks on the topology map node, the label information corresponding to the topology map node can be obtained, thereby simplifying the process of the maintenance technician obtaining information. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0041] 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, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0042] Figure 1 A flowchart of the first embodiment of the diagnostic interface display method of the present application is provided;
[0043] Figure 2 A flowchart of the second embodiment of the diagnostic interface display method of the present application is provided;
[0044] Figure 3 A topological diagram of the diagnostic interface display method of this application;
[0045] Figure 4 This is a schematic diagram of label information for the diagnostic interface display method of this application;
[0046] Figure 5 This is a schematic diagram of the module structure of the diagnostic interface display device according to an embodiment of the present application;
[0047] Figure 6 Schematic diagram of the device structure of the hardware operating environment involved in the diagnostic interface display method in the embodiment of the present application.
[0048] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0049] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0050] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0051] The main solution of the embodiment of the present application is: obtaining the topology map nodes in the visible area of the pre-drawn topology map; sending a label information query request to the server side based on the topology map nodes in the visible area of the topology map, so that the server side obtains the label information of the topology map nodes based on the label information query request; receiving the label information returned by the server side; and displaying the label information corresponding to the topology map node in response to a click instruction of the topology map node.
[0052] In this embodiment, for ease of description, the following description is made with the diagnosis interface display device as the execution subject.
[0053] Currently, when maintenance technicians repair vehicles, if they are not clear about the types of these systems and what special functions they can perform, they can only search one system at a time, which is a cumbersome search process.
[0054] Therefore, the present application provides a solution, which sends a label information query request to the server side based on the topology map nodes in the visible area of the topology map, so that the server side obtains the label information of the topology map nodes based on the label information query request, thereby obtaining the label information of the topology nodes in the visible area. By initiating a label information query request only for the nodes in the visible area, rather than all the nodes of the entire topology map, unnecessary data transmission and processing can be effectively reduced, and the resource utilization of the server and the client can be optimized. Moreover, by obtaining the label information, when the maintenance technician clicks on the topology map node, the label information corresponding to the topology map node can be obtained, thereby simplifying the process of the maintenance technician obtaining information.
[0055] It should be noted that the execution subject of this embodiment may be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a diagnostic interface display device, etc. The following takes the diagnostic interface display device as an example to illustrate this embodiment and the following embodiments.
[0056] Based on this, the embodiment of the present application provides a diagnostic interface display method, referring to Figure 1 , Figure 1 A flowchart diagram of the first embodiment of the diagnostic interface display method of the present application.
[0057] In this embodiment, applied to the diagnostic device, the diagnostic interface display method includes steps S60 to S90:
[0058] Step S60, obtaining topology map nodes in the visible area of the pre-drawn topology map;
[0059] It should be noted that when the diagnostic device is turned on, if the user needs to view the topology diagram of the vehicle system, the user can specify a topology diagram template, such as a tree diagram, a mesh diagram, a pie chart, etc. Based on the topology diagram template specified by the user, the diagnostic device sends a system information query instruction to the server, and the server returns the system information to the diagnostic device. The diagnostic device draws and displays the topology diagram based on the system information and the topology diagram template.
[0060] Reference Figure 3 , Figure 3 This is a topological diagram of the diagnostic interface display method of this application.
[0061] in, Figure 3It contains several English abbreviations, and the corresponding Chinese names of these English abbreviations are as follows
[0062] Table 1:
[0063]
[0064]
[0065] Table 1
[0066] Step S70, sending a label information query request to the server based on the topology map node in the visible area of the topology map, so that the server obtains the label information of the topology map node through query based on the label information query request;
[0067] It should be noted that if the topology map is too large and the current page cannot fully represent the topology map, the topology map nodes in the visible area can be loaded first. Specifically, a query request is sent to the server based on the topology map nodes in the visible area, so that the server obtains the label information of the topology map nodes based on the label information query request.
[0068] Specifically, the following methods can be used to obtain the topology map nodes in the visible area of the topology map:
[0069] 1. Get the coordinates of the visible area: Calculate the coordinate range of the visible area based on the scroll position, zoom level, and canvas size of the current view.
[0070] 2. Traverse nodes: Traverse all nodes in the topology map and check whether the coordinates of each node fall within the coordinate range of the visible area.
[0071] 3. Filter nodes: Collect the nodes that fall within the visible area and use them as targets for the query label information request.
[0072] You can also use the following methods to obtain the topology map nodes in the topology map visible area:
[0073] A. Using the graphics library API: Many graphics libraries (such as D3.js, Cytoscape.js, etc.) provide the function of directly obtaining the elements in the current view (visible area).
[0074] B. Query visible nodes: directly call these API functions to obtain all nodes in the current visible area.
[0075] C. Send request: Use the obtained node list to construct a label information query request.
[0076] In addition, the following methods can be used to obtain the topology map nodes in the topology map visible area:
[0077] ① Data-driven view: In a graphics library or application, a two-way binding between the data model and the view is implemented. When the view (visible area) changes, the data model is automatically updated to reflect the elements in the current visible area.
[0078] ②Maintain the visible node list: In the data model, maintain a special list of visible nodes, which is automatically updated according to the changes in the view.
[0079] ③ Direct acquisition: When you need to query label information, you can directly obtain the node from this visible node list without making spatial judgments or calling the graphics library API again.
[0080] Step S80, receiving the tag information returned by the server;
[0081] Step S90: in response to a click instruction of the topology map node, display label information corresponding to the topology map node.
[0082] When the user clicks on a topology map node, the diagnostic device displays label information corresponding to the topology map node in response to the click instruction.
[0083] Reference Figure 4 , Figure 4 This is a schematic diagram of the label information of the diagnostic interface display method of this application.
[0084] Among them, when the user clicks on the ABS node, the label information displayed is: ABS (anti-lock braking system)·brake system·steering angle system is a safety system that can prevent the vehicle from losing control and generally increase the braking distance to improve vehicle safety.
[0085] The present application sends a label information query request to the server side based on the topology map nodes in the visible area of the topology map, so that the server side obtains the label information of the topology map nodes based on the label information query request, thereby obtaining the label information of the topology nodes in the visible area. By initiating a label information query request only for the nodes in the visible area instead of all the nodes in the entire topology map, unnecessary data transmission and processing can be effectively reduced, and the resource utilization of the server and the client can be optimized. Moreover, by obtaining the label information, when the maintenance technician clicks on the topology map node, the label information corresponding to the topology map node can be obtained, thereby simplifying the process of the maintenance technician obtaining information.
[0086] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the first embodiment can be referred to the above introduction, and will not be repeated in the following. Figure 2 , step S60, before obtaining the topology map nodes in the visible area of the pre-drawn topology map, the diagnostic interface display method further includes steps S10 to S30:
[0087] Step S10, sending a system information query instruction to the server based on the topology template specified by the user;
[0088] It should be noted that users can specify the required topology diagram template, such as tree diagram, network diagram, circular diagram, etc.
[0089] Then, the diagnostic device sends a system information query instruction that conforms to the topology template to the server.
[0090] Step S20, receiving the system information returned by the server;
[0091] It should be noted that the server returns system information that conforms to the topology template to the diagnostic device. For example, if the user selects a tree diagram, the diagnostic device sends a system information query instruction that conforms to the tree diagram to the server, and the server searches the database for system information that conforms to the tree diagram and returns it to the diagnostic device.
[0092] Step S30: drawing and displaying the topology map based on the system information and the topology map template.
[0093] The diagnostic device draws and displays a topology map based on the system information and in accordance with the topology map template.
[0094] In an embodiment of the present application, the user can specify the required topology template by himself, thereby improving the user experience.
[0095] Based on the second embodiment of the present application, in the third embodiment of the present application, the same or similar contents as those in the second embodiment can be referred to the above description, and will not be repeated in the following. On this basis, before step S60, obtaining the topology map nodes in the visible area of the pre-drawn topology map, the diagnostic interface display method further includes step S40:
[0096] Step S40, providing a user interface so that the user can implement at least one of a custom topology map operation, a topology map node addition operation, a topology map node deletion operation, and a topology map node modification operation through the user interface.
[0097] The diagnostic device provides a user interface to the user, and the user can customize the structure of the topology map, and can also add topology map nodes, delete topology map nodes, and modify topology map nodes in the existing topology map.
[0098] The embodiment of the present application provides a user interface so that the user can use the user interface to implement at least one of the following operations: customizing the topology map, adding topology map nodes, deleting topology map nodes, and modifying topology map nodes. This can make the topology map more in line with the user's needs and enhance the user's experience.
[0099] Based on the third embodiment of the present application, in the fourth embodiment of the present application, the same or similar contents as those in the third embodiment can be referred to the above description, and will not be repeated in the following. On this basis, after providing the user interface in step S40, the diagnostic interface display method further includes step S50:
[0100] Step S50: In response to the view switching instruction of the user, a system dependency graph is drawn and displayed based on the system information.
[0101] The system dependency diagram shows the dependencies between systems, showing which systems depend on other systems and the degree of dependency. This helps users understand the overall architecture and operation of the system.
[0102] When the user clicks the view switching button, the diagnostic device responds to the user's view switching instruction and draws and displays a system dependency graph based on the system information.
[0103] As an implementation method, when a user clicks a data node in the system dependency graph, the page will also display label information corresponding to the data node.
[0104] The embodiment of the present application draws and displays a system dependency graph based on the system information in response to the user's view switching instruction, thereby helping the user to understand the overall architecture and operation of the system.
[0105] Based on this, the embodiment of the present application further provides a diagnostic interface display method, which is applied to the server side. In this embodiment, the diagnostic interface display method includes steps S130 to S150:
[0106] Step S130, obtaining a label information query request sent by the diagnostic device based on the topology map nodes in the visible area of the topology map;
[0107] It should be noted that when the diagnostic device is turned on, if the user needs to view the topology diagram of the vehicle system, the user can specify a topology diagram template, such as a tree diagram, a mesh diagram, a pie chart, etc. Based on the topology diagram template specified by the user, the diagnostic device sends a system information query instruction to the server, and the server returns the system information to the diagnostic device. The diagnostic device draws and displays the topology diagram based on the system information and the topology diagram template.
[0108] If the topology map is too large and the current page cannot fully represent the topology map, the diagnostic device can first load the topology map nodes in the visible area. Specifically, the diagnostic device sends a query request to the server based on the topology map nodes in the visible area, so that the server obtains the label information of the topology map nodes based on the label information query request.
[0109] Step S140, querying and obtaining label information of the topology map node based on the label information query request;
[0110] Step S150, returning the label information to the diagnostic device end, so that the diagnostic device end displays the label information corresponding to the topology map node in response to a click instruction of the topology map node.
[0111] When the user clicks on a topology map node, the diagnostic device displays label information corresponding to the topology map node in response to the click instruction.
[0112] The present application sends a label information query request to the server side based on the topology map nodes in the visible area of the topology map, so that the server side obtains the label information of the topology map nodes based on the label information query request, thereby obtaining the label information of the topology nodes in the visible area. By initiating a label information query request only for the nodes in the visible area instead of all the nodes in the entire topology map, unnecessary data transmission and processing can be effectively reduced, and the resource utilization of the server and the client can be optimized. Moreover, by obtaining the label information, when the maintenance technician clicks on the topology map node, the label information corresponding to the topology map node can be obtained, thereby simplifying the process of the maintenance technician obtaining information.
[0113] Based on the previous embodiment, step S140, querying and obtaining the label information of the topology map node based on the label information query request further includes steps S141 to S143:
[0114] Step S141, parsing the label information query request to obtain the ID of the topology map node;
[0115] The ID of a topology map node is a unique identifier used to accurately locate the node in a graph database or other data storage.
[0116] The process of parsing the tag information query request involves operations such as segmentation, conversion or matching of the request character string.
[0117] Step S142, constructing a query statement based on the ID of the topology map node;
[0118] For example, if the server is using the Neo4j graph database, then the query statements might be written using the Cypher query language. Cypher is a declarative graph query language that allows users to describe the information they want to retrieve from the graph in an intuitive way.
[0119] Step S143, querying the pre-built graph database through the query statement to obtain label information of the topology map node.
[0120] Among them, the graph database is a database system specifically used to store and query graph structure data. It provides a rich query interface and efficient query algorithm, allowing users to quickly retrieve the nodes, edges and their association information in the graph.
[0121] The result of the query operation will be the label information associated with the specified topology map node. This information may be displayed in the form of a list, set, or other data structure, and may contain details such as the node's name, type, attributes, associated labels, and relationships with other nodes.
[0122] The embodiment of the present application performs a query in a pre-built graph database through a query statement, so that the user can quickly retrieve the nodes, edges and the association information between them in the graph.
[0123] Based on the previous embodiment, before step S130, obtaining the tag information query request sent by the diagnostic device based on the topology map node in the topology map visible area, steps S100 to S120 are also included:
[0124] Step S100, receiving a system information query instruction sent by the diagnostic device based on a topology template specified by a user;
[0125] Step S110, querying the graph database based on the system information query instruction to obtain the system information;
[0126] Step S120, returning the system information to the diagnostic device.
[0127] Among them, the system information is stored in the graph database. When the server receives the system information query instruction sent by the diagnostic device based on the topology template specified by the user, it queries the graph database based on the system information query instruction, obtains the system information, and returns the system information to the diagnostic device.
[0128] The embodiment of the present application obtains the system information by querying the graph database based on the system information query instruction, so that the user can quickly retrieve the system information.
[0129] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the diagnostic interface display method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0130] The present application also provides a diagnostic interface display device, which is arranged at the diagnostic device end, please refer to Figure 5 , the diagnostic interface display device comprises:
[0131] The data acquisition module 10 is used to acquire the topology map nodes in the visible area of the pre-drawn topology map;
[0132] The request sending module 20 is used to send a label information query request to the server based on the topology map node in the visible area of the topology map, so that the server obtains the label information of the topology map node based on the label information query request;
[0133] The data receiving module 30 is used to receive the tag information returned by the server;
[0134] The display module 40 is used to display label information corresponding to the topology map node in response to a click instruction of the topology map node.
[0135] The diagnostic interface display device provided by the present application adopts the diagnostic interface display method in the above embodiment, which can solve the technical problem that the process of maintenance technicians searching for information is relatively cumbersome. Compared with the prior art, the beneficial effects of the diagnostic interface display device provided by the present application are the same as the beneficial effects of the diagnostic interface display method provided by the above embodiment, and the other technical features in the diagnostic interface display device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0136] The present application provides a diagnostic interface display device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the diagnostic interface display method in the above-mentioned embodiment one.
[0137] Reference below Figure 6 , which shows a schematic diagram of the structure of a diagnostic interface display device suitable for implementing an embodiment of the present application. The diagnostic interface display device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6 The diagnostic interface display device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0138] like Figure 6As shown, the diagnostic interface display device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the diagnostic interface display device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the diagnostic interface display device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a diagnostic interface display device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or provided alternatively.
[0139] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0140] The diagnostic interface display device provided by the present application adopts the diagnostic interface display method in the above embodiment, which can solve the technical problem that the process of maintenance technicians searching for information is relatively cumbersome. Compared with the prior art, the beneficial effects of the diagnostic interface display device provided by the present application are the same as the beneficial effects of the diagnostic interface display method provided by the above embodiment, and the other technical features in the diagnostic interface display device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0141] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0142] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0143] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the diagnostic interface display method in the above-mentioned embodiment.
[0144] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0145] The computer-readable storage medium may be included in the diagnostic interface display device; or may exist independently without being assembled into the diagnostic interface display device.
[0146] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the diagnostic interface display device, the diagnostic interface display device: obtains the topology map nodes in the visible area of the pre-drawn topology map; sends a label information query request to the server side based on the topology map nodes in the visible area of the topology map, so that the server side obtains the label information of the topology map nodes based on the label information query request; receives the label information returned by the server side; and displays the label information corresponding to the topology map node in response to a click instruction of the topology map node.
[0147] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0148] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0149] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0150] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned diagnostic interface display method, and can solve the technical problem that the process of maintenance technicians searching for information is relatively cumbersome. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the diagnostic interface display method provided by the above-mentioned embodiment, and will not be repeated here.
[0151] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A diagnostic interface display method, It is characterized in that Applied to the diagnostic device side, the method includes: Obtaining topology map nodes in a visible area of a pre-drawn topology map; Sending a label information query request to a server based on a topology map node in a visible area of the topology map, so that the server obtains label information of the topology map node based on the label information query request; Receiving tag information returned by the server; In response to a click instruction of the topology map node, label information corresponding to the topology map node is displayed.
2. The method according to claim 1, It is characterized in that The step of obtaining the topology map nodes in the visual area of the pre-drawn topology map includes: Based on the topology template specified by the user, a system information query instruction is sent to the server; Receiving system information returned by the server; The topology map is drawn and displayed based on the system information and the topology map template.
3. The method according to claim 2, It is characterized in that The step of drawing and displaying the topology map based on the system information and the topology map template includes: A user interface is provided so that the user can implement at least one of a custom topology map operation, an add topology map node operation, a delete topology map node operation, and a modify topology map node operation through the user interface.
4. The method as claimed in claim 3, It is characterized in that The step of providing a user interface then includes: In response to the view switching instruction of the user, a system dependency graph is drawn and displayed based on the system information.
5. A diagnostic interface display method, It is characterized in that Applied to the server side, the method includes: Obtaining a label information query request sent by the diagnostic device based on a topology map node in a visible area of the topology map; Querying and obtaining label information of the topology map node based on the label information query request; The label information is returned to the diagnostic device end, so that the diagnostic device end displays the label information corresponding to the topology map node in response to a click instruction of the topology map node.
6. The method according to claim 5, It is characterized in that The step of querying and obtaining the label information of the topology map node based on the label information query request includes: Parsing the label information query request to obtain the ID of the topology map node; Constructing a query statement based on the ID of the topology map node; The query statement is used to query in a pre-built graph database to obtain label information of the topology graph nodes.
7. The method according to claim 6, It is characterized in that The step of obtaining a label information query request sent by the diagnostic device based on the topology map node in the topology map visible area includes: Receiving a system information query instruction sent by the diagnostic device based on a topology template specified by a user; Performing a query in the graph database based on the system information query instruction to obtain the system information; The system information is returned to the diagnostic device.
8. A diagnostic interface display device, It is characterized in that Set at the diagnostic equipment end, the device includes: A data acquisition module, used for acquiring topology map nodes in a visible area of a pre-drawn topology map; A request sending module, used to send a label information query request to a server based on a topology map node in a visible area of the topology map, so that the server obtains the label information of the topology map node through query based on the label information query request; A data receiving module, used for receiving the tag information returned by the server; The display module is used to display the label information corresponding to the topology map node in response to a click instruction of the topology map node.
9. A diagnostic interface display device, It is characterized in that The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the diagnostic interface display method according to any one of claims 1 to 7.
10. A storage medium, It is characterized in that The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the diagnostic interface display method according to any one of claims 1 to 7 are implemented.
