Visual control methods, devices, equipment, and media for message bus system processes
By dividing the message bus system process into sub-regions and displaying abnormal processes using abnormal indicator features, the cumbersome monitoring methods in existing technologies are solved, achieving efficient and intuitive process management and reducing management difficulty and cost.
Patent Information
- Application Number
- CN202310787658.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-29
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2043-06-29
AI Technical Summary
The existing methods for monitoring message bus system processes are cumbersome and inefficient, making it difficult to manage server processes effectively.
A visual control method for message bus system processes is provided. This method divides a preset area into sub-regions and displays each process, receives abnormal information, highlights abnormal processes using abnormal indicator features, and handles abnormal states through user input.
It enables efficient and intuitive process monitoring, reduces manual management costs, lowers the management threshold, and improves the efficiency of server process control.
Smart Images

Figure CN116827815B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of server applications, and in particular to a method, apparatus, device, and medium for visual control of message bus system processes. Background Technology
[0002] Currently, in the daily management of message bus system (Desktop Bus, D-Bus) processes, manual querying of server log records or process monitoring is usually used. However, this monitoring method is cumbersome and greatly reduces the efficiency of monitoring message bus system processes. Summary of the Invention
[0003] This invention provides a visual control method, apparatus, device, and medium for message bus system processes, to solve the technical problem that existing message bus system process monitoring methods are cumbersome and inefficient.
[0004] In a first aspect, the present invention provides a visual control method for processes in a message bus system, comprising:
[0005] The display interface includes the message bus system process displayed in all preset sub-regions of the preset area, and the message bus system process corresponding to each preset sub-region.
[0006] Receive process exception information, which is used to indicate that the target process is in a process hang state or in a message transmission failure state.
[0007] In response to the process error information, a process error interface is displayed in a preset sub-area corresponding to the target process. The display content of the process error interface includes process processing information carrying error indication characteristics. The process processing information is used to display the abnormal process processing interface.
[0008] According to the visual control method for message bus system processes provided by the present invention, the message bus system processes include sensor control processes, log recording processes, status monitoring processes, and intelligent platform management interface processes;
[0009] The display visualization interface includes:
[0010] The preset area is divided into a first sub-area corresponding to the sensor control process, a second sub-area corresponding to the log recording process, a third sub-area corresponding to the status monitoring process, and a fourth sub-area corresponding to the intelligent platform management interface process.
[0011] The visualization interface is displayed based on the first sub-region, the second sub-region, the third sub-region, and the fourth sub-region;
[0012] The shape of the preset sub-region is at least one of rectangle, circle, ellipse and rhombus.
[0013] According to the visual control method for message bus system processes provided by the present invention, before receiving process exception information, the method further includes:
[0014] At preset time intervals, the running status of each message bus system process is detected. If any of the message bus system processes is found to be in a process hang state, the message bus system process is identified as the target process, and process exception information corresponding to the target process is generated.
[0015] If it is determined that any of the message bus system processes cannot send information to other message bus system processes, the message bus system process is identified as the target process, and process exception information corresponding to the target process is generated.
[0016] According to the visual control method for message bus system processes provided by the present invention, the anomaly indication features include preset symbol features, preset color features, or font size features;
[0017] Displaying the process error interface within the preset sub-region corresponding to the target process includes:
[0018] The process processing information is generated based on the process content of the target process;
[0019] Add preset symbols to the process processing information, and / or adjust the display color of the process processing information to a preset color, and / or adjust the font size of the process processing information to generate process processing information carrying abnormal indication features;
[0020] Based on the process processing information carrying the abnormality indication characteristics, a process abnormality interface is displayed in the preset sub-area corresponding to the target process.
[0021] According to the visual control method for a message bus system process provided by the present invention, after determining that the target process is in a message transmission failure state and displaying a process exception interface in a preset sub-area corresponding to the target process, the method further includes:
[0022] Receive the user's first input regarding the process processing information;
[0023] In response to the first input, an abnormal process display interface is displayed. The content displayed on the abnormal process display interface is determined based on the target process, the pointer identifier of the target process pointing to other message bus system processes with transmission failures, and the other message bus system processes with transmission failures.
[0024] According to the visual control method for message bus system processes provided by the present invention, after displaying the abnormal process display interface, the method further includes:
[0025] Receive a second input from the user regarding the pointing identifier;
[0026] In response to the second input, the communication information sent by the target process to other message bus system processes that have a sending failure is displayed.
[0027] According to the visual control method for a message bus system process provided by the present invention, after displaying a process exception interface in a preset sub-region corresponding to the target process, the method further includes:
[0028] Receive a third input from the user regarding the process processing information;
[0029] In response to the third input, an abnormal process handling interface is displayed. The content displayed in the abnormal process handling interface includes a process control identifier displayed in the fifth sub-area, an information sending identifier displayed in the sixth sub-area, and an abnormal status identifier corresponding to the target process.
[0030] The process control identifier is used to instruct the restart of the target process;
[0031] The information transmission identifier is used to instruct the target process to send communication information again to other message bus system processes that have transmission failures.
[0032] Secondly, a visual control device for message bus system processes is provided, comprising:
[0033] The first display unit is used to display a visual interface. The display content of the visual interface includes the message bus system process corresponding to each preset sub-area, which is displayed in all preset sub-areas of the preset area.
[0034] A receiving unit is used to receive process exception information, which indicates that the target process is in a process hang state or in a message transmission failure state.
[0035] The second display unit is used to display a process exception interface in a preset sub-area corresponding to the target process in response to the process exception information. The display content of the process exception interface includes process processing information carrying exception indication features, and the process processing information is used to display the exception process processing interface.
[0036] Thirdly, the present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the visual control method for the message bus system process.
[0037] Fourthly, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a visual control method for a message bus system process as described above.
[0038] This invention provides a method, apparatus, device, and medium for visual control of message bus system processes. By visually displaying all message bus system processes in a preset area, and when a target process is in a suspended state or a message transmission failure state, a process abnormality interface is displayed in the preset sub-area corresponding to the target process. The abnormality indicator highlights the process processing information, thereby enabling staff to intuitively monitor processes in abnormal states and display the processing method of the target process through the abnormal process processing interface. The visualization interface of this invention is efficient and intuitive, enabling rapid monitoring of message bus system processes, reducing manual management costs, and lowering the management threshold. Attached Figure Description
[0039] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0040] Figure 1 This is one of the flowcharts illustrating the visual control method for message bus system processes provided by the present invention;
[0041] Figure 2 This is a flowchart illustrating the display of the visual interface provided by the present invention;
[0042] Figure 3 This is the second flowchart of the visual control method for message bus system processes provided by the present invention;
[0043] Figure 4 This is a flowchart illustrating the display of a process error interface provided by the present invention;
[0044] Figure 5 This is a schematic diagram of the visual interface provided by the present invention;
[0045] Figure 6This is the third flowchart of the visual control method for message bus system processes provided by the present invention;
[0046] Figure 7 This is a schematic diagram of the abnormal process display interface provided by the present invention;
[0047] Figure 8 This is the fourth flowchart of the visual control method for message bus system processes provided by the present invention;
[0048] Figure 9 This is a schematic diagram of the abnormal process handling interface provided by the present invention;
[0049] Figure 10 This is a schematic diagram of the structure of the visual control device for the message bus system process provided by the present invention;
[0050] Figure 11 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation
[0051] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0052] The D-Bus message bus system is a message bus system for inter-application communication, used for communication between processes. However, in current system management, process monitoring is typically achieved through various call command inputs, which is cumbersome and significantly reduces monitoring efficiency. To address these technical problems, this invention provides a method, apparatus, device, and medium for visual control of processes in a message bus system. Figure 1 This is one of the flowcharts illustrating a visual control method for message bus system processes provided by the present invention. The visual control method for message bus system processes includes:
[0053] Step 101: Display the visualization interface. The content displayed on the visualization interface includes the message bus system process displayed in all preset sub-areas of the preset area, corresponding to each preset sub-area.
[0054] In step 101, the present invention first determines all message bus system processes that need to be displayed, then divides the preset area according to the number of message bus system processes, determines a corresponding number of preset sub-areas, and establishes the correspondence between each message bus system process and each preset sub-area. Finally, at least according to the correspondence between each message bus system process and each preset sub-area, the display content of the visualization interface is determined, so as to display the visualization interface according to the display content of the visualization interface.
[0055] Step 102: Receive process exception information, which is used to indicate that the target process is in a process hang state or in a message transmission failure state.
[0056] In step 102, the present invention can monitor each message bus system process through a message bus system or an out-of-band monitoring system. If it is determined that any process in the message bus system is in a process hang state or a message transmission failure state, process exception information is generated. If the monitoring of each message bus system process is implemented through an out-of-band monitoring system, the process exception information is sent to the message bus system according to the out-of-band monitoring system. If the monitoring of each message bus system process is implemented through the monitoring module of the message bus system, the process exception information is sent to the central processing unit of the message bus system according to the monitoring module, and the central processing unit of the message bus system receives the process exception information.
[0057] Step 103: In response to the process abnormality information, display a process abnormality interface in a preset sub-area corresponding to the target process. The display content of the process abnormality interface includes process processing information carrying abnormality indication characteristics. The process processing information is used to display the abnormal process processing interface.
[0058] In step 103, after receiving process exception information, in response to the process exception information, a target process with an exception is determined. In order to better highlight the difference between the target process and other message bus system processes, the present invention can use exception indication features to process the basic information displayed by the target process, thereby generating the process processing information. The display content of the process exception interface is determined according to the process processing information carrying exception indication features, and then the process exception interface is displayed in the preset sub-area corresponding to the target process.
[0059] Optionally, the present invention can not only make the target process clearly distinguishable from other message bus system processes based on the abnormal indication characteristics, but also process the target process in the process abnormal interface according to further user input. For example, the process processing information is a jump link or a jump waiting interface. Based on the user's specific gesture or click input on the jump link or jump waiting interface, an abnormal process processing interface is displayed. The abnormal process processing interface is used to resolve the abnormality of the target process through visual display. The specific gesture can be any one of the following: single click gesture, swipe gesture, drag gesture, pressure recognition gesture, long press gesture, area change gesture, double press gesture, double click gesture; the click input can be single click input, double click input, or any number of click inputs, and can also be long press input or short press input.
[0060] This invention provides a method, apparatus, device, and medium for visual control of message bus system processes. By visually displaying all message bus system processes in a preset area, and when a target process is in a suspended state or a message transmission failure state, a process abnormality interface is displayed in the preset sub-area corresponding to the target process. The abnormality indicator highlights the process processing information, thereby enabling staff to intuitively monitor processes in abnormal states and display the processing method of the target process through the abnormal process processing interface. The visualization interface of this invention is efficient and intuitive, enabling rapid monitoring of message bus system processes, reducing manual management costs, and lowering the management threshold.
[0061] Figure 2 This is a flowchart illustrating the display and visualization interface provided by the present invention. The message bus system process includes a sensor control process, a log recording process, a status monitoring process, and an intelligent platform management interface process.
[0062] The display visualization interface includes:
[0063] Step 201: Divide the preset area into a first sub-area corresponding to the sensor control process, a second sub-area corresponding to the log recording process, a third sub-area corresponding to the status monitoring process, and a fourth sub-area corresponding to the intelligent platform management interface process.
[0064] In step 201, the present invention determines the number of sub-regions based on the number of message bus system processes. For example, if there are five message bus system processes, five sub-regions can be set within a preset area. Optionally, the message bus system processes involved in the present invention include sensor control processes, log recording processes, status monitoring processes, and intelligent platform management interface processes. However, more than one sensor control process, log recording process, status monitoring process, and intelligent platform management interface process can be set. In this case, different message bus system process names can be preset according to the different basic identification information, functions, models, and parameters of different message bus system processes, and a corresponding number of sub-regions can be set according to the different message bus system process names.
[0065] Optionally, the shape of the preset sub-region is at least one of rectangle, circle, ellipse and rhombus. The present invention can set the sensor control process, log recording process, status monitoring process and intelligent platform management interface process to the same region shape, or set them to different region shapes. The region shape of the preset sub-region can be flexibly set according to actual needs.
[0066] Step 202: Display the visualization interface according to the first sub-region, the second sub-region, the third sub-region, and the fourth sub-region;
[0067] The shape of the preset sub-region is at least one of rectangle, circle, ellipse and rhombus.
[0068] In step 202, the visualization interface is displayed according to the first sub-region, the second sub-region, the third sub-region, and the fourth sub-region. The present invention can display each sub-region in the form of blocks, or in the form of bar charts, pie charts, bubble charts, tables, etc. Any one or more sub-regions in the first sub-region, the second sub-region, the third sub-region, and the fourth sub-region can be set separately or attached together.
[0069] Figure 3 This is a second flowchart illustrating the visual control method for message bus system processes provided by the present invention. Before receiving process exception information, the method further includes:
[0070] Step 301: At each preset time interval, detect the running status of each message bus system process. If it is determined that any message bus system process is in a process hang state, determine the message bus system process as the target process and generate process exception information corresponding to the target process.
[0071] In step 301, the present invention can periodically detect the running status of each message bus system process. The preset time period can be 3 seconds, 1 minute or 5 minutes. If it is determined that any message bus system process is in a process hang state, it is determined that the message bus system process has an anomaly, the message bus system process is marked as the target process, and process anomaly information corresponding to the target process is generated.
[0072] Step 302: If it is determined that any of the message bus system processes cannot send information to other message bus system processes, the message bus system process is identified as the target process, and process exception information corresponding to the target process is generated.
[0073] In step 302, if any process in the message bus system process fails to send communication information when communicating with other message bus system processes; or if the other message bus system processes fail to receive the communication information; or if the communication information can be sent, but the sending delay exceeds a preset time; or if the communication information is successfully sent, but causes other processes in the message bus system process to malfunction, etc., all of these situations fall under the category of any message bus system process being unable to send information to other message bus system processes. In such cases, the message bus system process is determined to be the target process, and process exception information corresponding to the target process is generated.
[0074] Figure 4 This is a flowchart illustrating the display of an abnormal process interface provided by the present invention. The abnormal indication features include preset symbol features, preset color features, or font size features.
[0075] Displaying the process error interface within the preset sub-region corresponding to the target process includes:
[0076] Step 401: Generate the process processing information based on the process content of the target process.
[0077] In step 401, the present invention displays a visual interface based on the message bus system processes corresponding to each preset sub-region displayed in all preset sub-regions of the preset region. When a target process is determined, the present invention generates process processing information that can display an abnormal process processing interface based on the process content of the target process. The process processing information may be the same as or different from the name identifier of the target process. The process processing information can enable the jump display of the abnormal process processing interface, while other non-target processes cannot display the jump display of the abnormal process processing interface.
[0078] Step 402: Add preset symbols to the process processing information, and / or adjust the display color of the process processing information to a preset color, and / or adjust the font size of the process processing information to generate process processing information carrying abnormal indication features.
[0079] In step 402, the preset symbol can be a circle, triangle, rhombus, wavy line, or underline, etc. Figure 5 This is a schematic diagram of the visual interface provided by the present invention, such as... Figure 5 As shown, in the first sub-region, the process processing information "sensor control process" is generated based on the process content of the target process. A triangle symbol is added before "sensor control process," and optionally, it can also be added after "sensor control process." For the "log recording process" in the second sub-region, the "status monitoring process" in the third sub-region, and the "intelligent platform management interface process" in the fourth sub-region, they can only be called message bus system processes, and not the process content of the target process. Optionally, the process processing information can be "sensor control process," or it can be a specific sensor control process.
[0080] Optionally, the preset color can be red, green, purple, blue, etc. The present invention can adjust only the display color of the process processing information to the preset color, while keeping the colors of other message bus system processes unchanged. In other embodiments, different preset colors can be distinguished according to the different process types of different message bus system processes to more intuitively reflect the differences between different process types.
[0081] Optionally, the present invention can also adjust the font size of the process processing information, for example, enlarge or shrink the font of the process processing information. In other embodiments, the font type of the process processing information can also be changed, for example, changing "KaiTi" to "SongTi". The present invention can also distinguish different font sizes according to the different process types of different message bus system processes, so as to more intuitively reflect the differences between different process types.
[0082] Optionally, for any of the process processing information, the present invention may use one or more of the following methods to distinguish the process processing information: assigning a preset symbol to the process processing information, adjusting the display color of the process processing information to a preset color, and adjusting the font size of the process processing information.
[0083] Step 403: Based on the process processing information carrying the abnormal indication characteristics, display the process abnormal interface in the preset sub-area corresponding to the target process.
[0084] In step 403, the process processing information carrying the abnormality indication feature is a combination of a preset triangle symbol and the display of "sensor control process," such as... Figure 5 As shown, a process error interface is displayed in the first sub-area. Optionally, the present invention can not only distinguish the process processing information from other message bus system processes by processing the process processing information with error indication features, but also highlight the process processing information carrying error indication features in the process error interface by adjusting the background color of the process error interface and setting the background texture of the process error interface.
[0085] Figure 6 This is the third flowchart of the visual control method for message bus system processes provided by the present invention. After determining that the target process is in a message transmission failure state and displaying a process exception interface in a preset sub-area corresponding to the target process, the method further includes:
[0086] Step 601: Receive the user's first input on the process processing information.
[0087] In step 601, if it is determined that the target process is in a message transmission failure state, and a process abnormality interface is displayed in the preset sub-area corresponding to the target process, the present invention provides a method for displaying a detailed interface of the message transmission failure state. The first input can be double-clicking the process processing information, clicking the process processing information, or long-pressing the process processing information, etc.
[0088] Step 602: In response to the first input, display the abnormal process display interface. The abnormal process display interface can be displayed in the form of a floating window, pop-up window, or overlay. The display content of the abnormal process display interface is determined based on the target process, the pointer identifier of the target process pointing to other message bus system processes with transmission failures, and the other message bus system processes with transmission failures.
[0089] In step 602, Figure 7 This is a schematic diagram of the abnormal process display interface provided by the present invention, as shown below. Figure 7 As shown, the target process is the "Intelligent Platform Management Interface Process", and the pointer identifier is... Figure 7 The arrow in the image indicates that the other message bus system process experiencing a transmission failure is the "sensor control process".
[0090] Optionally, after displaying the abnormal process display interface, the method further includes:
[0091] Receive a second input from the user regarding the pointing identifier;
[0092] In response to the second input, the communication information sent by the target process to other message bus system processes that have a sending failure is displayed.
[0093] Optionally, the second input can be double-clicking the pointer, clicking the pointer, or long-pressing the pointer, etc. After receiving the user's second input on the pointer, in response to the second input, the communication information sent by the target process to other message bus system processes with sending failures is displayed in the form of a floating window or pop-up window.
[0094] Figure 8 This is a flowchart of the fourth step in the visual control method for message bus system processes provided by the present invention. After displaying the process exception interface in the preset sub-area corresponding to the target process, the method further includes:
[0095] Step 801: Receive the third input from the user regarding the process processing information.
[0096] In step 801, in this embodiment of the invention, the cause of the target process's abnormality is not limited. As long as it is determined that the target process is in a process hang or a message transmission failure state, the abnormal state of the target process can be handled by operating on the process processing information and then calling the abnormal process handling interface. The third input can also be double-clicking the process processing information, clicking the process processing information, or long-pressing the process processing information, etc.
[0097] Step 802: In response to the third input, display the abnormal process handling interface. The content displayed in the abnormal process handling interface includes the process control identifier displayed in the fifth sub-area, the information sending identifier displayed in the sixth sub-area, and the abnormal status identifier corresponding to the target process.
[0098] In step 802, in response to the third input, an abnormal process handling interface is displayed via a floating window or pop-up window. The process control identifier is used to instruct the target process to restart; the information sending identifier is used to instruct the target process to send communication information again to other message bus system processes that have sending failures. Figure 9 This is a schematic diagram of the abnormal process handling interface provided by the present invention, as shown below. Figure 9 As shown, in this embodiment of the invention, clicking the process control identifier can control the restart of the target process with abnormality, so as to achieve the normal operation of the target process. Clicking the information sending identifier can also send communication information to other message bus system processes with sending failures again, so that other message bus system processes with sending failures can receive the communication information.
[0099] Optionally, if the target process is in a message transmission failure state, the present invention can, in the display interface of the abnormal process handling interface, first click the process control identifier corresponding to the target process to instruct the target process to restart, and then click the message transmission identifier corresponding to the target process to instruct the target process to send communication information to other message bus system processes with transmission failures again. If the above steps still cannot resolve the abnormality problem of the target process, the present invention can also create an additional process corresponding to the target process and display the newly created process in the visualization interface to replace the target process and complete the communication information transmission of the newly created process to other message bus system processes with transmission failures. If the newly created process can successfully transmit communication information to other message bus system processes with transmission failures... When sending communication information, after the communication information is sent, the target process is forcibly closed, and a new process is created to replace the target process to complete subsequent process operation or communication information sending. This invention allows staff to intuitively view and handle abnormal statuses of target processes in a visual interface by clicking the process control icon corresponding to the target process, clicking the information sending icon corresponding to the target process, and creating a new process. Compared with the existing technology that requires separate code modification and version debugging, this invention can not only intuitively display the visual interface of the message bus system, but also solve the problems of disordered server process control and untimely monitoring of process anomalies, improve the efficiency of server process control and supervision, reduce the difficulty of user operation, lower the management threshold for operation and maintenance personnel, and reduce manual management costs.
[0100] Figure 10 This is a schematic diagram of the structure of the visual control device for the message bus system process provided by the present invention. The visual control device for the message bus system process includes a first display unit 1, which is used to display a visual interface. The display content of the visual interface includes the message bus system process corresponding to each preset sub-area, which is displayed in all preset sub-areas of the preset area. The working principle of the first display unit 1 can be referred to the aforementioned step 101, and will not be repeated here.
[0101] The visualization control device for the message bus system process also includes a receiving unit 2, which is used to receive process abnormal information. The process abnormal information is used to indicate that the target process is in a process hang state or in a message transmission failure state. The working principle of the receiving unit 2 can be referred to the aforementioned step 102, and will not be repeated here.
[0102] The visualization control device for the message bus system process further includes a second display unit 3. The second display unit is used to display a process abnormality interface in a preset sub-area corresponding to the target process in response to the process abnormality information. The display content of the process abnormality interface includes process processing information carrying abnormality indication characteristics. The process processing information is used to display the abnormal process processing interface. The working principle of the second display unit 3 can be referred to the aforementioned step 103, and will not be repeated here.
[0103] This invention provides a method, apparatus, device, and medium for visual control of message bus system processes. By visually displaying all message bus system processes in a preset area, and when a target process is in a suspended state or a message transmission failure state, a process abnormality interface is displayed in the preset sub-area corresponding to the target process. The abnormality indicator highlights the process processing information, thereby enabling staff to intuitively monitor processes in abnormal states and display the processing method of the target process through the abnormal process processing interface. The visualization interface of this invention is efficient and intuitive, enabling rapid monitoring of message bus system processes, reducing manual management costs, and lowering the management threshold.
[0104] Figure 11 This is a schematic diagram of the structure of the electronic device provided by the present invention. For example... Figure 11 As shown, the electronic device may include a processor 110, a communications interface 120, a memory 130, and a communication bus 140, wherein the processor 110, communications interface 120, and memory 130 communicate with each other via the communication bus 140. The processor 110 can call logical instructions in the memory 130 to execute a visual control method for message bus system processes. This method includes: displaying a visual interface, the display content of which includes message bus system processes corresponding to each preset sub-region displayed in all preset sub-regions of a preset area; receiving process exception information, the process exception information indicating that a target process is in a process hang state or a message transmission failure state; and responding to the process exception information by displaying a process exception interface in the preset sub-region corresponding to the target process, the display content of which includes process processing information carrying exception indication characteristics, the process processing information being used to display an exception process processing interface.
[0105] Furthermore, the logical instructions in the aforementioned memory 130 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0106] On the other hand, the present invention also provides a computer program product, the computer program product including a computer program, which can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute a visual control method for a message bus system process provided by the above methods. The method includes: displaying a visual interface, the display content of which includes a message bus system process corresponding to each preset sub-area displayed in all preset sub-areas of a preset area; receiving process exception information, the process exception information indicating that the target process is in a process hang state or in a message transmission failure state; and responding to the process exception information, displaying a process exception interface in the preset sub-area corresponding to the target process, the display content of which includes process processing information carrying exception indication characteristics, the process processing information being used to display an exception process processing interface.
[0107] In another aspect, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements a visual control method for a message bus system process provided by the methods described above. The method includes: displaying a visual interface, the display content of which includes a message bus system process corresponding to each preset sub-region displayed in all preset sub-regions of a preset area; receiving process exception information, the process exception information indicating that a target process is in a process hang state or a message transmission failure state; and, in response to the process exception information, displaying a process exception interface in the preset sub-region corresponding to the target process, the display content of which includes process processing information carrying exception indication features, the process processing information being used to display an abnormal process processing interface.
[0108] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0109] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0110] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for visually controlling processes in a message bus system, characterized in that, include: The display interface includes the message bus system process displayed in all preset sub-regions of the preset area, and the message bus system process corresponding to each preset sub-region. Receive process exception information, which is used to indicate that the target process is in a process hang state or in a message transmission failure state. In response to the process error information, a process error interface is displayed in a preset sub-area corresponding to the target process. The display content of the process error interface includes process processing information carrying error indication characteristics. The process processing information is used to display the abnormal process processing interface. After determining that the target process is in a message transmission failure state, and displaying a process error interface in a preset sub-area corresponding to the target process, the method further includes: Receive a first input from the user regarding the process processing information; the first input is double-clicking the process processing information, clicking the process processing information, or long-pressing the process processing information. In response to the first input, an abnormal process display interface is displayed. The content of the abnormal process display interface is determined based on the target process, the pointer identifier of the target process pointing to other message bus system processes with transmission failures, and the other message bus system processes with transmission failures. After displaying the abnormal process display interface, the method further includes: Receive a second input from the user regarding the pointing icon; the second input is double-clicking the pointing icon, clicking the pointing icon, or long-pressing the pointing icon. In response to the second input, the communication information sent by the target process to other message bus system processes that have a sending failure is displayed.
2. The visual control method for message bus system processes according to claim 1, characterized in that, The message bus system processes include sensor control processes, log recording processes, status monitoring processes, and intelligent platform management interface processes. The display visualization interface includes: The preset area is divided into a first sub-area corresponding to the sensor control process, a second sub-area corresponding to the log recording process, a third sub-area corresponding to the status monitoring process, and a fourth sub-area corresponding to the intelligent platform management interface process. The visualization interface is displayed based on the first sub-region, the second sub-region, the third sub-region, and the fourth sub-region; The shape of the preset sub-region is at least one of rectangle, circle, ellipse and rhombus.
3. The visual control method for message bus system processes according to claim 1, characterized in that, Before receiving process exception information, the method further includes: At preset time intervals, the running status of each message bus system process is detected. If any of the message bus system processes is found to be in a process hang state, the message bus system process is identified as the target process, and process exception information corresponding to the target process is generated. If it is determined that any of the message bus system processes cannot send information to other message bus system processes, the message bus system process is identified as the target process, and process exception information corresponding to the target process is generated.
4. The visual control method for message bus system processes according to claim 1, characterized in that, The anomaly indication features include preset symbol features, preset color features, or font size features; Displaying the process error interface within the preset sub-region corresponding to the target process includes: The process processing information is generated based on the process content of the target process; Add preset symbols to the process processing information, and / or adjust the display color of the process processing information to a preset color, and / or adjust the font size of the process processing information to generate process processing information carrying abnormal indication features; Based on the process processing information carrying the abnormality indication characteristics, a process abnormality interface is displayed in the preset sub-area corresponding to the target process.
5. The visual control method for message bus system processes according to claim 1, characterized in that, After displaying the process exception interface within a preset sub-region corresponding to the target process, the method further includes: Receive a third input from the user regarding the process processing information; In response to the third input, an abnormal process handling interface is displayed. The content displayed in the abnormal process handling interface includes a process control identifier displayed in the fifth sub-area, an information sending identifier displayed in the sixth sub-area, and an abnormal status identifier corresponding to the target process. The process control identifier is used to instruct the restart of the target process; The information transmission identifier is used to instruct the target process to send communication information again to other message bus system processes that have transmission failures.
6. A visual control device for a message bus system process, characterized in that, include: The first display unit is used to display a visual interface. The display content of the visual interface includes the message bus system process corresponding to each preset sub-area, which is displayed in all preset sub-areas of the preset area. A receiving unit is used to receive process exception information, which indicates that the target process is in a process hang state or in a message transmission failure state. The second display unit is used to display a process abnormality interface in a preset sub-area corresponding to the target process in response to the process abnormality information. The display content of the process abnormality interface includes process processing information carrying abnormality indication features. The process processing information is used to display the abnormal process processing interface. After determining that the target process is in a message transmission failure state and displaying a process error interface in the preset sub-area corresponding to the target process, the process further includes: Receive a first input from the user regarding the process processing information; the first input is double-clicking the process processing information, clicking the process processing information, or long-pressing the process processing information. In response to the first input, an abnormal process display interface is displayed. The content of the abnormal process display interface is determined based on the target process, the pointer identifier of the target process pointing to other message bus system processes with transmission failures, and the other message bus system processes with transmission failures. After displaying the abnormal process display interface, it also includes: Receive a second input from the user regarding the pointing icon; the second input is double-clicking the pointing icon, clicking the pointing icon, or long-pressing the pointing icon. In response to the second input, the communication information sent by the target process to other message bus system processes that have a sending failure is displayed.
7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the visual control method for the message bus system process as described in any one of claims 1-5.
8. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the visual control method for the message bus system process as described in any one of claims 1-5.
Citation Information
Patent Citations
Coupling and / or decoupling monitoring system, operation method, computer and storage medium
CN112631192A
