Distributed monitoring method and device, electronic equipment, storage medium and product

CN116319252BActive Publication Date: 2026-09-15APOLLO INTELLIGENT DRIVING (BEIJING) TECHNOLOGY CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211096829.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-08
Publication Date
2026-09-15
Estimated Expiration
2042-09-08

AI Technical Summary

Benefits of technology

[0013] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116319252B_ABST
    Figure CN116319252B_ABST
Patent Text Reader

Abstract

The present disclosure provides a distributed monitoring method and device, electronic equipment, storage medium and product, relates to the technical field of data monitoring, in particular to the technical field of data monitoring of distributed application programs. The specific implementation scheme is: based on the received trigger instruction, the first communication component is started; at least one second communication component of the distributed application program is acquired; the first communication component is connected with any second communication component; based on the second communication component connected with the first communication component successfully, the state data of the distributed application program is acquired, and the state data is monitored. Through the present disclosure, the development cost and maintenance cost can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of data monitoring technology, and more particularly to the field of data monitoring technology for distributed applications, specifically to a distributed monitoring method, apparatus, electronic device, storage medium, and product. Background Technology

[0002] Autonomous driving systems are generally distributed systems. These systems contain various types of devices, each capable of running applications with different functions. Data can be transferred between the processes of these applications to enable autonomous driving.

[0003] Obtaining the running status of each application process in an autonomous driving system is of great significance for analyzing potential problems in the system and improving its performance. Summary of the Invention

[0004] This disclosure provides a distributed monitoring method, apparatus, electronic device, storage medium, and product.

[0005] According to a first aspect of this disclosure, a distributed monitoring method is provided, the method comprising:

[0006] Based on the received trigger command, the first communication component is activated; at least one second communication component of the distributed application is obtained, and the first communication component is connected to any of the second communication components; based on the second communication component that is successfully connected to the first communication component, the status data of the distributed application is obtained, and the status data is monitored.

[0007] According to a second aspect of this disclosure, a distributed monitoring device is provided, the device comprising:

[0008] The system includes an activation module that activates a first communication component based on a received trigger command; an acquisition module that acquires at least one second communication component of the distributed application; a connection module that connects the first communication component to any of the second communication components; and a monitoring module that acquires the status data of the distributed application based on the second communication component that has successfully connected to the first communication component, and monitors the status data.

[0009] According to a third aspect of this disclosure, an electronic device is provided, comprising:

[0010] 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 to enable the at least one processor to perform the method of the first aspect.

[0011] According to a fourth aspect of this disclosure, a non-transitory computer-readable storage medium is provided storing computer instructions, wherein the computer instructions are configured to cause the computer to perform the method according to the first aspect.

[0012] According to a fifth aspect of this disclosure, a computer product is provided, including a computer program that, when executed by a processor, implements the method according to the first aspect.

[0013] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description

[0014] The accompanying drawings are provided to better understand this solution and do not constitute a limitation of this disclosure. Wherein:

[0015] Figure 1 This is a schematic diagram of the application environment according to an embodiment of the present disclosure;

[0016] Figure 2 A flowchart illustrating a distributed monitoring method provided in an embodiment of this disclosure is shown.

[0017] Figure 3 A flowchart illustrating a communication component connection method provided in an embodiment of this disclosure is shown;

[0018] Figure 4 A schematic diagram of a communication component connection method provided in an embodiment of this disclosure is shown;

[0019] Figure 5 A schematic flowchart of a state data acquisition method provided in an embodiment of this disclosure is shown;

[0020] Figure 6 A flowchart illustrating a state data acquisition method provided in an embodiment of this disclosure is shown.

[0021] Figure 7 A schematic diagram of the structure of a distributed monitoring device provided in an embodiment of this disclosure is shown;

[0022] Figure 8 A schematic block diagram of an example electronic device 800 that can be used to implement embodiments of the present disclosure is shown. Detailed Implementation

[0023] The exemplary embodiments of this disclosure are described below with reference to the accompanying drawings, including various details of the embodiments to aid understanding, and should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of this disclosure. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.

[0024] Autonomous driving systems are generally distributed systems. In the entire system, there are various devices, and each device runs various applications with different functions. Data is transmitted between the processes of these applications to realize the entire autonomous driving function.

[0025] Among these, real-time acquisition of the running status of each application process in the distributed environment is of great significance for analyzing potential problems in the system and improving system stability and performance.

[0026] In related technologies, Qt or Web technologies are generally used to obtain real-time running status and corresponding status data of various application processes in a distributed environment. Qt is a cross-platform application and UI development framework; using Qt requires only one application development, without rewriting the source code, and can be deployed across different desktop and embedded operating systems. Web applications are applications accessed via the web; their biggest advantage is that users can easily access the application, requiring only a browser and no other software installation.

[0027] However, the main drawback of using web applications is their limited functionality. Due to security and other reasons, users cannot use local functions, such as manipulating local I / O files or opening local sockets.

[0028] Based on this, this disclosure provides a distributed monitoring method and apparatus. By developing plugins, a distributed application can open one or more communication components as needed. The communication component of the first plugin can connect to the second communication component corresponding to any of the second plugins, and obtain the status data of any other distributed application through this communication component, which is then displayed in the first plugin, achieving real-time monitoring of the distributed application. This method has relatively low development and maintenance costs, and because multiple different functions can be developed within a plugin, it cannot be used in conjunction with functions such as an editor.

[0029] The distributed monitoring method provided in this application can be applied to, for example... Figure 1In the application environment shown, terminal 101 communicates with server 102 via a network. Terminal 101 can be an autonomous driving system applying a distributed application, and server 102 is used to process the state data of the distributed application. Terminal 101 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, and portable wearable devices, and server 102 can be implemented as a standalone server or a server cluster consisting of multiple servers.

[0030] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.

[0031] The distributed monitoring method proposed in this disclosure can be applied to autonomous driving systems to monitor the state data of distributed applications within the autonomous driving system. The following embodiments will describe the distributed monitoring method and apparatus provided in this disclosure in conjunction with the accompanying drawings.

[0032] Figure 2 A flowchart illustrating a distributed monitoring method provided in an embodiment of this disclosure is shown, as follows: Figure 2 As shown, the method may include:

[0033] In step S210, the first communication component is activated based on the received trigger command.

[0034] In this embodiment, user-defined plugins can be developed within the VSCode environment. VSCode is a cross-platform source code editor that supports syntax highlighting, code auto-completion, code refactoring, and definition viewing, and includes built-in command-line tools and a Git version control system. Furthermore, VSCode provides plugin extension capabilities, allowing users to develop custom plugins and integrate them into the VSCode development environment.

[0035] In this disclosure, a first plugin and a second plugin can be developed according to the monitoring needs of a distributed application. The first plugin can be used to monitor and process the state data of the distributed application. The first plugin can be integrated into the VSCode development environment. A corresponding communication component can be developed for the first plugin; for ease of distinction, this disclosure refers to the communication component in the first plugin as the first communication component.

[0036] In this disclosure, the first plug-in includes a first communication component. Upon detecting a user's touch operation on the first plug-in, a trigger command is determined, thereby activating the first communication component in the first plug-in.

[0037] In step S220, at least one second communication component of the distributed application is obtained.

[0038] In this embodiment of the disclosure, the second plug-in provides a communication component to control the state of the distributed application, thereby acquiring different state data of the distributed application. The corresponding communication component of the second plug-in is referred to as the second communication component.

[0039] It should be noted that each distributed application includes a monitoring component. The distributed application loads and starts the monitoring component, thereby activating the corresponding secondary communication component.

[0040] In this disclosure, each distributed application corresponds to a second communication component.

[0041] In step S230, the first communication component is connected to any second communication component.

[0042] In this embodiment of the disclosure, after the first plugin is triggered and opened, the first plugin controls the first communication component to connect with any one of the second communication components. Multiple second communication components can be configured with the same parameters.

[0043] In step S240, based on the second communication component that has successfully connected with the first communication component, the status data of the distributed application is obtained and the status data is monitored.

[0044] In this embodiment, each distributed application can identify a second communication component that has successfully connected to the first communication component. It then sends its own status data to the distributed application corresponding to the second communication component that has successfully connected to the first communication component via communication transmission. The first plugin can obtain the corresponding status data of the distributed application, process and display the obtained status data, thereby achieving monitoring of the status data.

[0045] The distributed monitoring method provided in this disclosure connects the first communication component with any second communication component, eliminating the need for each application to connect with the first plugin, thereby reducing development costs and maintenance costs.

[0046] In this disclosure, the first plugin can be understood as a VSCode plugin, running in the VSCode integrated development environment. The second plugin can be a distributed monitoring plugin, running in an autonomous driving distributed environment.

[0047] In this disclosure, a second plugin may correspond to each distributed application. The configuration parameters of the second plugin for each application may be the same, partially the same, or different.

[0048] By using different plugins to establish communication connections, the status of an autonomous driving distributed system can be monitored in real time. Distributed applications can open one or more communication components as needed. The communication component of the first plugin can connect to the second communication component corresponding to any of the second plugins, and obtain status data from any other distributed application through that communication component, thus reducing development and maintenance costs.

[0049] In this disclosure, the following embodiments will illustrate the connection between the first plugin and the second plugin.

[0050] Figure 3 A flowchart illustrating a communication component connection method provided in an embodiment of this disclosure is shown, such as... Figure 3 As shown, the method may include:

[0051] In step S310, the monitoring component of the distributed application is controlled to load and start.

[0052] In step S320, in response to determining that the monitoring component has been successfully started by the distributed application, at least one second communication component is started.

[0053] In step S330, among the at least one activated second communication component, any one of the second communication components is selected and connected to the first communication component.

[0054] In this embodiment of the disclosure, the first plugin can be loaded and started through the VSCode integrated development environment, and the first plugin can include several functional modules to implement different functions, such as display functions and data processing functions.

[0055] Figure 4 A schematic diagram of a communication component connection method provided in an embodiment of this disclosure is shown, such as... Figure 4 As shown, the first plugin includes several different functional modules and a first communication component (i.e., communication plugin 1 in the figure). The IP address of the first communication component can be 192.168.0.1:33333.

[0056] In this disclosure, several different functions developed in the plugin can be used together with functions such as the editor during use.

[0057] In this embodiment, the user can touch the first plugin to load and launch it via the VSCode integrated development environment. The user can then control the distributed application to load and launch the second plugin. The second plugin includes a second communication component (i.e., communication plugin 2 in the figure).

[0058] like Figure 4 As shown, taking two distributed applications as an example, after the distributed monitoring component (e.g., component 1, component 2, etc.) is loaded and started by the distributed application, the distributed monitoring component will enable at least one second communication component of the second plugin. The IP addresses of the second communication components corresponding to the three distributed applications can be 192.168.0.2:33334 and 192.168.0.3:33334, respectively.

[0059] Furthermore, among the at least one activated second communication component, any one of the second communication components is selected to connect to the first communication component. That is, the first plugin can connect to the second communication component of one of the distributed applications as needed, and by connecting to the second communication component of any of the distributed applications, the first plugin can obtain the status data of any other distributed application.

[0060] For example, such as Figure 4 The first plugin connects to either communication component 1 or any communication component 2. This enables the connection between the first plugin and the second plugin, and consequently, the connection between the first plugin and the distributed application, thus allowing for the monitoring of the distributed application.

[0061] In this disclosure, a second communication component can generally be started. For example, a distributed application can start a second communication component as needed. Once the second communication component is successfully started, it automatically notifies the monitoring components of other distributed applications of its communication component information, thus preventing situations where the communication component is occupied and fails to start when other distributed application components come online. If the second communication component is already occupied, it attempts to start a new one. If the second communication component starts successfully, it notifies other distributed applications of the successful start via distributed communication. If it fails to start, it tries a new second communication component until it succeeds.

[0062] Figure 5 A flowchart illustrating a state data acquisition method provided in an embodiment of this disclosure is shown, as follows: Figure 5 As shown, the method may include:

[0063] In step S510, a second communication component that has successfully connected with the first communication component is determined, and in the distributed application, the first application corresponding to the successfully connected second communication component is determined.

[0064] In step S520, the first application is controlled to obtain the status data of other applications in the distributed application besides the first application.

[0065] In this embodiment of the disclosure, a first application corresponding to a second communication component that has successfully connected with the first communication component is determined. (See reference...) Figure 4 Each distributed application can load communication plugin 2. Distributed applications with communication plugin 2 can synchronize monitoring data in real time, and the data synchronization method is multicast communication. In other words, when one distributed application updates the monitoring data status, it only needs to broadcast the data once through multicast communication, and all other distributed applications can receive the monitoring data from that application.

[0066] In this process, distributed applications communicate with each other via multicast, for example, via 239.255.0.1. After a connection is established, each application in the distributed system broadcasts its own state data to the outside world in real time, so that the first application to establish the connection can obtain the state data of all distributed applications.

[0067] In this disclosure, after the first plugin establishes a connection with the distributed application through a communication component, it can obtain and monitor the status data of the distributed application through the communication component. Specifically, the distributed application can periodically send status data to the first plugin for real-time display, or the first plugin can send specified commands to the distributed application to obtain specific status data as needed.

[0068] In this disclosure, the status data can be transmitted via TCP or UDP.

[0069] In this disclosure, the implementation method of sending a specified command to a distributed application to obtain specified state data through a first plugin as needed can be the following embodiment.

[0070] Figure 6 A flowchart illustrating a state data acquisition method provided in an embodiment of this disclosure is shown, as follows: Figure 6 As shown, the method may include:

[0071] In step S610, a monitoring command is sent to the monitoring component, and the state of the distributed application is controlled based on the monitoring command.

[0072] In step S620, the current process of the distributed application is controlled based on the state of the distributed application.

[0073] In step S630, the state data of the current process of the distributed application is obtained.

[0074] In this embodiment of the disclosure, specified instructions can be sent to the monitoring component of the distributed application to control the state of the monitoring component. The state of the monitoring component includes start, stop, pause, parameter acquisition, parameter setting, etc. The first plugin can control the process in which the monitoring component resides, and can also control other distributed processes through the process in which the monitoring component resides.

[0075] In this disclosure, monitoring commands can be sent to the monitoring component as needed to control the state of the distributed application and the corresponding process of the distributed application. Furthermore, given the determined state of the distributed application, the required state data of the current process of the application within the distributed application can be obtained.

[0076] In this embodiment, the status data can be processed based on the functional modules of the first plugin, and the processed status data can be displayed in the first plugin. This enables real-time acquisition and display of the running status data of each process in the distributed environment, which is of great significance for analyzing potential problems in the system and improving system stability and performance.

[0077] Based on and Figure 1 The method shown follows the same principle. Figure 7 A schematic diagram of the structure of a distributed monitoring device provided in an embodiment of this disclosure is shown, such as... Figure 7 As shown, the distributed monitoring device 700 may include:

[0078] The activation module 701 is used to activate the first communication component based on the received trigger command; the acquisition module 702 is used to acquire at least one second communication component of the distributed application; the connection module 703 is used to connect the first communication component with any of the second communication components; and the monitoring module 704 is used to acquire the status data of the distributed application based on the second communication component that has successfully connected to the first communication component, and to monitor the status data.

[0079] In this embodiment of the disclosure, the connection module 702 is used to control the distributed application to load and start the monitoring component of the distributed application; in response to determining that the monitoring component has been successfully started, at least one second communication component is opened; among the at least one opened second communication component, any one of the second communication components is selected to connect to the first communication component.

[0080] In this embodiment of the disclosure, the acquisition module 702 is further configured to determine a second communication component that has successfully connected with the first communication component, and to determine a first application corresponding to the second communication component; control the first application to acquire status data of other applications in the distributed application besides the first application.

[0081] In this embodiment of the disclosure, the other applications besides the first application broadcast their respective status data in a multicast manner.

[0082] In this embodiment of the disclosure, the acquisition module 702 is used to send monitoring instructions to the monitoring component and control the state of the distributed application based on the monitoring instructions; control the current process of the distributed application based on the state of the distributed application; and acquire the state data of the current process of the distributed application.

[0083] In this embodiment of the disclosure, the monitoring module 703 is used to process the acquired status data and display the processed status data.

[0084] The acquisition, storage, and application of user personal information involved in the technical solution disclosed herein comply with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0085] According to embodiments of this disclosure, this disclosure also provides an electronic device, a readable storage medium, and a computer program product.

[0086] Figure 8 A schematic block diagram of an example electronic device 800 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present disclosure described and / or claimed herein.

[0087] like Figure 8 As shown, device 800 includes a computing unit 801, which can perform various appropriate actions and processes based on a computer program stored in read-only memory (ROM) 802 or a computer program loaded from storage unit 808 into random access memory (RAM) 803. RAM 803 may also store various programs and data required for the operation of device 800. The computing unit 801, ROM 802, and RAM 803 are interconnected via bus 804. Input / output (I / O) interface 805 is also connected to bus 804.

[0088] Multiple components in device 800 are connected to I / O interface 805, including: input unit 806, such as keyboard, mouse, etc.; output unit 807, such as various types of monitors, speakers, etc.; storage unit 808, such as disk, optical disk, etc.; and communication unit 809, such as network card, modem, wireless transceiver, etc. Communication unit 809 allows device 800 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0089] The computing unit 801 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 801 performs the various methods and processes described above, such as distributed monitoring methods. For example, in some embodiments, the distributed monitoring method may be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 808. In some embodiments, part or all of the computer program may be loaded and / or installed on device 800 via ROM 802 and / or communication unit 809. When the computer program is loaded into RAM 803 and executed by the computing unit 801, one or more steps of the distributed monitoring method described above may be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to perform distributed monitoring methods by any other suitable means (e.g., by means of firmware).

[0090] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0091] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0092] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0093] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0094] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with embodiments of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.

[0095] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact via communication networks. Client-server relationships are created by computer programs running on the respective computers and having a client-server relationship with each other. Servers can be cloud servers, servers in distributed systems, or servers incorporating blockchain technology.

[0096] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.

[0097] The specific embodiments described above do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.

Claims

1. A distributed monitoring method applied to an autonomous driving system to monitor the state data of a distributed application of the autonomous driving system, the method comprising: Based on the received trigger command, the first communication component is activated; Obtain at least one second communication component of the distributed application; wherein each distributed application corresponds to one second communication component, and each distributed application is provided with a monitoring component; Connect the first communication component to any of the second communication components; Based on the second communication component that has successfully connected with the first communication component, the status data of the distributed application is obtained, and the status data is monitored. The step of obtaining the state data of the distributed application includes: Send monitoring instructions to the monitoring component, and control the state of the distributed application based on the monitoring instructions; Based on the state of the distributed application, control the current process of the distributed application; Obtain the status data of the current process of the distributed application.

2. The method according to claim 1, wherein, The step of connecting the first communication component with any of the second communication components includes: Controls the loading and startup of the monitoring component of the distributed application; In response to determining that the monitoring component has been successfully started, at least one of the second communication components is started; Of the at least one activated second communication component, any one of the second communication components is selected and connected to the first communication component.

3. The method according to claim 1, wherein, The step of obtaining the state data of the distributed application includes: Identify the second communication component that has successfully connected with the first communication component, and within the distributed application, identify the first application corresponding to the successfully connected second communication component; Control the first application to obtain the status data of other applications in the distributed application besides the first application.

4. The method according to claim 3, wherein, The other applications besides the first application broadcast their respective status data via multicast.

5. The method according to claim 1, wherein, The monitoring of the status data includes: The acquired status data is processed, and the processed status data is displayed.

6. A distributed monitoring device, applied in an autonomous driving system, for monitoring the status data of a distributed application of the autonomous driving system, the device comprising: The module is activated, and the first communication component is activated based on the received trigger command; The acquisition module acquires at least one second communication component of the distributed application; wherein each distributed application corresponds to one second communication component, and each distributed application is provided with a monitoring component; A connection module is used to connect the first communication component to any of the second communication components; The monitoring module is used to acquire the status data of the distributed application based on the second communication component that has successfully connected with the first communication component, and to monitor the status data. The acquisition module is used for: Send monitoring instructions to the monitoring component, and control the state of the distributed application based on the monitoring instructions; Based on the state of the distributed application, control the current process of the distributed application; Obtain the status data of the current process of the distributed application.

7. The apparatus according to claim 6, wherein, The connection module is used for: Controls the loading and startup of the monitoring component of the distributed application; In response to determining that the monitoring component has been successfully started, at least one of the second communication components is started; Of the at least one activated second communication component, any one of the second communication components is selected and connected to the first communication component.

8. The apparatus according to claim 7, wherein, The acquisition module is also used for: Identify the second communication component that has successfully connected with the first communication component, and identify the first application corresponding to the second communication component; Control the first application to obtain the status data of other applications in the distributed application besides the first application.

9. The apparatus according to claim 8, wherein, The other applications besides the first application broadcast their respective status data via multicast.

10. The apparatus according to claim 6, wherein, The monitoring module is used for: The acquired status data is processed, and the processed status data is displayed.

11. An electronic device, comprising: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.

12. A non-transitory computer-readable storage medium storing computer instructions, wherein, The computer instructions are used to cause the computer to perform the method according to any one of claims 1-5.

13. A computer product comprising a computer program that, when executed by a processor, implements the method according to any one of claims 1-5.

Citation Information

Patent Citations

  • State monitoring method, device and system

    CN102118274A