Distributed system and roadside system comprising same
Through the edge cloud collaboration platform and dynamic scheduling components of the distributed system, the remote deployment and operation and maintenance control of the roadside sensing system are realized, solving the problems of single point failure and response delay, and improving the safety and efficiency of the system.
Patent Information
- Application Number
- CN202310168559.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-24
- Publication Date
- 2024-08-27
AI Technical Summary
Existing roadside sensing systems suffer from hardware or software failures, high response delays, frequent manual intervention, and time-consuming problems due to single-point deployment, and there is a risk of single-point failure.
The edge cloud collaboration platform of the distributed system is used to realize remote distributed deployment and operation and maintenance control of application services by sending decision-making information from the platform control end to the working end. The dynamic scheduling component determines the scheduling strategy of application services between edge nodes and improves the system. Security and reliability.
It solves the problem of single point failure, improves system security and response speed, reduces manual deployment time, improves automation and deployment efficiency, and reduces the risk of single point failure of hardware and software.
Smart Images

Figure CN118555294A
Abstract
Description
Technical Field
[0001] The present application relates to the automotive field, and more particularly to a distributed system and a road-side system including the distributed system. The road-side system may be, for example, a road-side perception system. Background Art
[0002] In the scenario of autonomous driving, roadside-based application services can provide the vehicle with real-time information on the road traffic environment, facilitating the driver to make effective decisions. Among them, roadside perception is a key technology in application services, which aims to use a variety of sensors such as visual sensors, millimeter-wave radars, and lidars, combined with roadside edge computing devices, to achieve real-time acquisition of road traffic information and participant information. For example, using roadside perception, vehicle collision warnings, forward congestion reminders, traffic accident reminders, etc. can be provided to vehicle drivers. In addition, roadside perception can also be used to provide traffic departments with monitoring and prediction of the road traffic environment, such as traffic flow statistics, vehicle illegal parking detection, and vehicle interval speed measurement.
[0003] Currently, each roadside application is deployed and run on a single computing node or edge node. This approach requires frequent manual intervention, which consumes a lot of human resources and leads to high response delays. In addition, the single deployment of roadside applications will also lead to single point failure problems in hardware and software.
[0004] Therefore, it is hoped to provide an improved technical solution to solve the above problems in the prior art. Summary of the invention
[0005] In view of the above problems, the present application aims to propose a safe and reliable distributed system and a roadside system including the distributed system.
[0006] The distributed system may include: an edge cloud collaboration platform, including: a platform control terminal running on an edge node in the network, and multiple platform working terminals running on other edge nodes in the network. The platform control terminal may send decision information to the multiple platform working terminals, and the decision information includes the deployment scheme of the application service on the other edge nodes. Each platform working terminal can deploy the corresponding application service on the corresponding edge node according to the decision information it receives. By adopting the above-mentioned technical means of the present application, remote distributed deployment and operation and maintenance control of application services can be realized, rather than traditional single-point manual deployment. On the one hand, it solves the single-point failure problem of hardware or software that may be caused by single-point deployment, and improves the security and reliability of the system; on the other hand, the degree of automation, deployment efficiency and response timeliness are all improved, solving the problems of low efficiency of single-point manual deployment, frequent manual intervention, large amount of human resources, and untimely manual response. Compared with manual deployment, which takes minutes or hours, the time for remote deployment of application services by the present application is reduced to seconds or even shorter.
[0007] In one embodiment, the edge cloud collaboration platform may also include: a dynamic scheduling component running on any edge node in the network. The dynamic scheduling component can determine the dynamic scheduling strategy of the application service between each edge node. The platform control end and the platform working end can dynamically schedule the application service between each edge node according to the dynamic scheduling strategy. This is conducive to solving the problem of single point failure and improving the security of application services, especially for dynamic scheduling of application services with a higher security level.
[0008] In one embodiment, the dynamic scheduling component can also automatically determine the redundancy of the application service, or receive the redundancy of the application service specified by the user, and determine the optimized dynamic scheduling strategy of the application service between each edge node based on the redundancy. The platform control end and the platform working end can expand the application service according to the redundancy, and dynamically schedule the expanded application service between each edge node according to the optimized dynamic scheduling strategy. Through such intelligent scheduling, the security and availability of the application service are improved.
[0009] In one embodiment, the dynamic scheduling component can also decompose the application service into a group of microservices; for each microservice in the group of microservices, determine the redundancy quantity of each microservice to obtain a group of redundancy quantities corresponding to the group of microservices; based on the group of redundancy quantities, amplify the group of microservices to obtain a group of amplified microservices; and determine an optimized dynamic scheduling strategy for the group of amplified microservices among the multiple edge nodes. The platform control end and the platform working end can dynamically schedule the group of amplified microservices among the multiple edge nodes according to the optimized dynamic scheduling strategy.
[0010] In one embodiment, determining the number of redundancies of the microservice may include: determining a security level of the microservice; identifying a group of available edge nodes among the plurality of edge nodes; determining the number of nodes in the group of available edge nodes; obtaining a group of security scores corresponding to the group of available edge nodes; and determining the number of redundancies of the microservice based on the security level, the number of nodes, and the group of security scores. Thus, the number of redundancies of the microservice is flexibly and adaptively determined according to the security level of the microservice, thereby affecting the dynamic scheduling logic.
[0011] In one implementation, obtaining a set of security scores corresponding to the set of available edge nodes may include, for each available edge node in the set of available edge nodes: obtaining the security score of the available edge node by mathematical modeling.
[0012] In one implementation, obtaining the safety score of the available edge node by mathematical modeling may include: calculating the safety score of the available edge node based on at least one of a resource capacity, a resource usage rate, and a failure rate of the available edge node.
[0013] In one embodiment, the dynamic scheduling component determines the optimized dynamic scheduling strategy of the set of augmented microservices among the multiple edge nodes, which may include: determining the optimized dynamic scheduling strategy of the set of augmented microservices among the multiple edge nodes based on at least one of the security level of the microservice, the resource requirements of the microservice, a set of security scores corresponding to a set of available edge nodes, a set of available resources corresponding to a set of available edge nodes, and the communication delay between the microservice and related microservices.
[0014] By adopting the above-mentioned technical means of the present application, the dynamic scheduling component can provide redundancy for the application service, thereby solving the single point failure problem, which can ensure the security and availability of the application service.
[0015] In one embodiment, the application service may include: roadside perception service, navigation service, positioning service, vehicle control service, and / or route planning service. The roadside perception service may include target detection service and / or target tracking service. Thus, the distributed system of the present application can be applied to a variety of services, and remote deployment and operation and maintenance control of a variety of application services can be realized on multiple edge nodes.
[0016] In one embodiment, the plurality of edge nodes in the network may be located on a roadside. Each edge node may include: a roadside computing device. The plurality of roadside computing devices in the network may be interconnected via a roadside communication unit located in the network.
[0017] In one implementation, the roadside computing unit may process the data collected by the roadside sensing device by running the application service. The application service may include a roadside sensing service.
[0018] In one embodiment, the edge cloud collaboration platform can also be used for at least one of the following: updating or maintaining the code or version of the application service during the life cycle of the application service, the life cycle including the stage after the development of the application service is completed; monitoring the status, resource capacity, and / or resource utilization of the plurality of edge nodes; and repairing faulty edge nodes among the plurality of edge nodes. Thus, the resources of each edge node are used more efficiently and reasonably, and faults are solved in a timely manner.
[0019] In one embodiment, the platform working end of the edge cloud collaboration platform can also run a monitoring service. The monitoring service can obtain the observation data of the edge node. The observation data can include at least one of time series data, logs and tracking data.
[0020] In one embodiment, the distributed system may further include: a detection and diagnosis component, which runs on any one or more edge nodes in the network, and is used to detect abnormal events of the edge nodes based on the observation data, diagnose the causes of the abnormal events, and recommend actions for repairing the abnormal events. The above-mentioned technical means of the present application can improve the timeliness of fault detection, and the detection and diagnosis component can provide a fault-tolerant and automatic recovery mechanism, which can improve the accuracy and reliability of application services and shorten the time of fault recovery.
[0021] In one embodiment, the distributed system may further include: a data insight component, which runs on any one or more edge nodes in the network, and is used to obtain data insights from the observation data for enhancing the scalability of the application service.
[0022] In one embodiment, the data insights obtained from the observation data for enhancing the scalability of the application service may include: optimizing the operation of one or more components in the distributed system through reinforcement learning based on the observation data; or migrating knowledge learned in a target area of a deployed application service to other areas of the application service to be deployed through transfer learning based on the observation data, wherein the knowledge includes at least a machine learning model in one or more components in the distributed system.
[0023] By adopting the above technical means of the present application, the data insight component can enhance the scalability of application services.
[0024] In one implementation, each platform working end can deploy corresponding application services on corresponding edge nodes using container technology based on the control commands it receives.
[0025] The present application also proposes a roadside system, comprising: the above-mentioned distributed system; the application service; and a plurality of edge nodes located in the network, wherein the plurality of edge nodes include a plurality of roadside computing devices and / or roadside sensing devices.
[0026] In one embodiment, the application service includes: roadside perception service, navigation service, positioning service, vehicle control service, and / or route planning service. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The above and other aspects of the present application will be more fully understood from the detailed description below in conjunction with the following drawings. It should be noted that the scales of the drawings may be different for the purpose of clear description, but this will not affect the understanding of the present application. In the drawings:
[0028] Figure 1 An exemplary roadside system according to an embodiment of the present disclosure is shown.
[0029] Figure 2 An exemplary edge cloud collaboration platform according to an embodiment of the present disclosure is shown.
[0030] Figure 3 An exemplary process for dynamically scheduling application services to multiple edge nodes according to an embodiment of the present disclosure is shown.
[0031] Figure 4 An exemplary process for determining the number of redundancies of microservices according to an embodiment of the present disclosure is shown.
[0032] Figure 5 An exemplary process for performing detection and diagnosis operations according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0033] The present disclosure will now be discussed with reference to various exemplary embodiments. It should be understood that the discussion of these embodiments is only for enabling those skilled in the art to better understand and thereby implement the embodiments of the present disclosure, and does not teach any limitation on the scope of the present disclosure.
[0034] Various embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.
[0035] Figure 1 An exemplary roadside system 100 according to an embodiment of the disclosure is shown.
[0036] The roadside system 100 includes a plurality of edge nodes 120 located in a network. The network may be a communication network formed using, for example, communication technologies based on 5G and / or Cellular-Vehicle to Everything (C-V2X), so that the plurality of edge nodes can communicate. The plurality of edge nodes 120 may be located on the roadside. The plurality of edge nodes 120 include a plurality of roadside computing devices, roadside sensing devices, and the like. The roadside computing devices may include, for example, a roadside infrastructure computing unit (ICU), a roadside unit (RSU), a base station, a mobile edge computing (MEC) unit, and the like. The roadside sensing device may include one or more sensors such as visual sensors, millimeter wave radars, and lidars. These edge nodes may be geographically distributed, interconnected by wired or wireless networks, and close to intelligent connected vehicles. The resources of these edge nodes may be shared and may be dynamically allocated to application services 110 via virtualization technology and / or containerization technology. For example, multiple roadside computing devices and roadside sensing devices in a network can be interconnected through a roadside communication unit located in the network. The roadside communication unit may include a roadside unit (RSU) and a base station based on 5G and / or C-V2X. Some roadside computing devices may be located near the roadside sensing device and / or near the roadside communication unit. The roadside computing unit may process the data collected by the roadside sensing device by running the application service 110.
[0037] The roadside system 100 further includes a reliability distributed system 130 . The distributed system 130 includes an edge-cloud collaborative platform 140 . Figure 2 An exemplary edge cloud collaboration platform 200 according to an embodiment of the present disclosure is shown. The edge cloud collaboration platform 200 may correspond to Figure 1An implementation of the edge cloud collaboration platform 140.
[0038] The edge cloud collaboration platform 200 may include an application and node management component 210 for deploying and maintaining application services 110 and multiple edge nodes 120. The application and node management component 210 may include a platform control terminal 220 running on an edge node in the network, and multiple platform working terminals 230-1 to 230-N running on other edge nodes in the network, where N represents the number of platform working terminals. The network may be a communication network formed using communication technologies such as 5G and / or C-V2X. Figure 1 The multiple edge nodes 120 may include one edge node for running the platform control end 220 and other edge nodes for running multiple platform working ends 230-1 to 230-N.
[0039] The platform control terminal 220 can run on any edge node in the network. Multiple platform working terminals 230-1 to 230-N can run on other edge nodes in the network except the edge node running the platform control terminal 220. The platform control terminal 220 can send decision information to multiple platform working terminals 230-1 to 230-N. The decision information may include the deployment scheme of the application service in other edge nodes. For example, the platform control terminal 220 can make decisions based on the service requests of users using the edge cloud collaborative platform and send decision information. Specifically, the decision information can be sent to the platform working terminal in the form of a control command. Each platform working terminal can serve as an execution terminal, and according to the control command it receives, it can use, for example, container technology to locally deploy the corresponding application service on the corresponding edge node. Specifically, each platform working terminal can pull the software package of the application service in the image warehouse to the local to obtain the corresponding application service. Different application services, such as target detection services, target tracking services, etc., can be located in different containers in the platform working terminal to isolate each other.
[0040] In some embodiments, the platform control terminal may receive a user request from a platform terminal (including a platform control terminal or a platform working terminal) located at any edge node, and generate and send decision information according to the received user request. For example, the user request may be received by interacting with the user through a graphical user interface containing a dashboard running on the platform working terminal or the platform control terminal, or by receiving a command sent from a platform terminal located at any edge node. The platform control terminal may be deployed based on sending a control command to the platform working terminal.
[0041] In addition, the application and node management component 210 can also update or maintain the code or version of the application service 110 during the life cycle of the application service 110. The life cycle may include stages after the development of the application service 110 is completed. For example, the application and node management component 210 can update or maintain the code or version of the application service 110 during the deployment, operation, maintenance, learning, and other stages of the application service 110. This operation can be triggered by the user, and the platform control end 220 of the edge cloud collaboration platform 200 receives the user's update or maintenance request, and the platform control end 220 controls one or more platform working ends of the platform working ends 230-1 to 230-N to update or maintain the application services of the corresponding edge nodes, or the platform control end 220 can automatically control the update or maintenance of the application services of each edge node.
[0042] The application and node management component 210 can perform management operations on the plurality of edge nodes 120, such as monitoring the status, resource capacity, resource utilization, etc. of the plurality of edge nodes, and repairing faulty edge nodes among the plurality of edge nodes, etc. The above operations can be performed based on the observation data of the edge nodes.
[0043] The platform working terminals 230-1 to 230-N are also used to run monitoring services. The monitoring service can obtain observation data of edge nodes. The monitoring service can be an application service that comes with the platform working terminal of the edge cloud collaborative platform, or the platform control terminal can receive user requests and control the platform working terminal to deploy monitoring services on each edge node. Observation data may include time series data, logs, tracking data, etc. These observation data can provide measurements of various types of software, hardware, platforms, etc. including applications in the roadside system 100, and drive the operation of other components in the roadside system 100.
[0044] The edge cloud collaboration platform 200 also includes a dynamic scheduling component 240 running on any edge node in the network. The dynamic scheduling component 240 can determine the dynamic scheduling strategy of the application service 110 between each edge node. The platform control end 220 and multiple platform working ends 230-1 to 230-N can dynamically schedule the application service 110 between each edge node according to the dynamic scheduling strategy. The dynamic scheduling component 240 can also provide redundancy for the application service 110, thereby solving the single point failure problem, which can ensure the security and availability of the application service 110. For example, the dynamic scheduling component 240 can automatically determine the redundancy of the application service 110, or receive the redundancy of the application service 110 specified by the user, and determine the optimized dynamic scheduling strategy of the application service 110 between each edge node based on the redundancy. The platform control end 220 and multiple platform working ends 230-1 to 230-N can expand the application service 110 according to the redundancy, and dynamically schedule the expanded application service between each edge node according to the optimized dynamic scheduling strategy. Specifically, the control command for amplification may be sent by the platform control terminal 220. One or more of the plurality of platform working terminals 230-1 to 230-N may perform the amplification task. Figure 3 and Figure 4 240 to illustrate an exemplary process performed by the dynamic scheduling component 240.
[0045] Return to reference Figure 1 The distributed system 130 also includes a detection and diagnosis component 150 running on any one or more edge nodes in the network, which is used to detect abnormal events of edge nodes based on the observation data provided by the edge cloud collaboration platform 140, diagnose the root cause of the abnormal event, and recommend actions to repair the abnormal event. Abnormal events may include abnormalities in application services running in edge nodes, abnormalities in roadside computing devices, abnormalities in roadside sensing devices, etc. The detection and diagnosis component 150 can provide a fault-tolerant and automatic recovery mechanism, which can ensure the accuracy and reliability of the application service 110 and shorten the time for fault recovery. Detecting, diagnosing, and repairing abnormal events will help reconstruct the software and improve the functional safety of software and hardware. This will be discussed later in conjunction with Figure 5 1 to illustrate an exemplary process performed by the detection and diagnosis component 150.
[0046] The roadside system 100 can be deployed at multiple target areas, such as multiple target intersections, multiple target sections, etc. The edge cloud collaborative platform 140 and the detection and diagnosis component 150 can ensure the safety and reliability of the application service 110 in the multiple target areas. In order to enhance the scalability of the application service 110, the distributed system 130 may also include a data insight component 160 running on any one or more edge nodes in the network. The data insight component 160 can obtain data insights for enhancing the scalability of the application service 110 from the data provided by the edge cloud collaborative platform 140. For example, the data insight component 160 can optimize the operation of one or more components such as dynamic scheduling components, detection and diagnosis components, etc. in the distributed system through reinforcement learning based on the data obtained from the edge node, such as the decision made, specifically including optimizing the models in the dynamic scheduling components, detection and diagnosis components, etc. through reinforcement learning. In addition, in order to expand the application service 110 to other areas, the data insight component 160 can also migrate the knowledge learned in the target area where the application service has been deployed to other areas where the application service is to be deployed through transfer learning based on the observed data. The other areas may be areas different from the target area, such as other intersections, other road sections, etc. Alternatively, the other areas may be areas including the target area, such as the entire city, the entire country, etc. including the target intersection, the target road section, etc. The knowledge learned in the target area may include machine learning models in one or more components in the distributed system 130, such as the trained or optimized machine learning models used in the dynamic scheduling component, the detection and diagnosis component, and the application services deployed by each edge node, so that the models learned in the target area where the application service has been deployed are applied to other areas. Thus, the data insight component 160 can ensure the security and reliability of application services deployed in the target area and other areas.
[0047] As described above, the distributed system 130 according to the embodiment of the present disclosure may include an edge cloud collaboration platform 140, a detection and diagnosis component 150, and a data insight component 160. The distributed system 130 can be flexibly deployed in a plurality of edge nodes 120 at the target area in a remote manner. This can save human resources and reduce response delays. For example, the platform control end in the edge cloud collaboration platform 140 can be deployed on any edge node in the network, the platform working end in the edge cloud collaboration platform 140 can be deployed on other edge nodes in the network except for the edge node where the platform control end is deployed, the dynamic scheduling component in the edge cloud collaboration platform 140 can be deployed on any edge node in the network (for example, an edge node running the platform control end), the detection and diagnosis component 150 can be deployed on any one or more edge nodes in the network, the data insight component 160 can be deployed on any one or more edge nodes in the network, and so on. In addition, a computing device located at any location can be used to send a request for remote deployment of the distributed system 130, and the platform control end controls the platform working end to perform corresponding deployment. The operator can send a deployment request by interacting with the remote interface displayed on the computing device. Compared with several minutes or even several hours required for on-site deployment, remote deployment only takes several seconds or a short time.
[0048] In some embodiments, the roadside system 100 may further include one or more application services 110. The application service 110 may include software or programs that provide application services. As an example, the application service 110 may include roadside perception services, navigation services, positioning services, vehicle control services, route planning services, etc., and the roadside perception services may include, for example, target detection services, target tracking services, etc. It should be understood that although the foregoing discussion and the following discussion may involve an example in which the application service 110 is a roadside perception service, the embodiments of the present disclosure are not limited thereto, and the application service 110 may also include other types of services.
[0049] It should be understood that Figure 1 The roadside system 100 shown is only an example of a roadside system. Depending on the actual application requirements, the roadside system may have any other structure and may include more or fewer components. In addition, it should be understood that all components in the roadside system 100 may be implemented in various ways. These components may be implemented as hardware, software, or a combination thereof. Any of these components may be combined together, or further functionally divided into subcomponents, or the divided subcomponents may be combined together in other ways. In addition, it should be understood that Figure 1 The architecture of the roadside system 100 shown is independent of application services. In addition to the roadside sensing service, Figure 1The architecture of the roadside system 100 shown can also be applied to other services in V2X, such as navigation services, positioning services, vehicle control services, route planning services, etc.
[0050] Figure 3 FIG. 3 shows an exemplary process 300 for dynamically scheduling application services to multiple edge nodes according to an embodiment of the present disclosure. The process 300 may be performed by Figure 2 The dynamic scheduling component 240 in is executed.
[0051] At 302, the application service may be decomposed into a set of microservices. For example, the application service may be decomposed into a set of microservices according to the design principles of the microservice architecture. As an example, the roadside perception service may be decomposed into a target detection microservice, a target tracking microservice, a positioning microservice, etc. The decomposed microservices may be containerized and orchestrated by the edge cloud collaboration platform in a scalable manner.
[0052] At 304 , for each microservice in the set of microservices, a redundancy quantity for each microservice may be automatically determined to obtain a set of redundancy quantities corresponding to the set of microservices. Figure 4 An exemplary process 400 for automatically determining a redundant number of microservices according to an embodiment of the present disclosure is shown.
[0053] At 402, a safety level of a microservice may be determined. For example, an Automotive Safety Integration Level (ASIL) of the microservice may be determined.
[0054] At 404, a group of available edge nodes among the plurality of edge nodes may be identified. When resources of a computing device located at an edge node can support running a corresponding microservice, the edge node may be considered an available edge node.
[0055] At 406 , the number of nodes in the set of available edge nodes can be determined.
[0056] At 408, a set of security scores corresponding to the set of available edge nodes may be obtained. For example, for each available edge node in the set of available edge nodes, the security score of the available edge node may be obtained by mathematical modeling. For example, the security score of the available edge node may be calculated based on a model established based on parameters such as resource capacity, resource utilization, and failure rate of the available edge node.
[0057] At 410 , a redundancy number of the microservice can be determined based on a security level of the microservice, a number of nodes in the set of available edge nodes, a set of security scores corresponding to the set of available edge nodes, and the like.
[0058] Process 400 may be performed for each microservice in a set of microservices, thereby obtaining a set of redundancy quantities corresponding to the set of microservices.
[0059] Return to reference Figure 3 After obtaining a set of redundancy quantities corresponding to a set of microservices, at 306, the set of microservices may be augmented based on the determined set of redundancy quantities to obtain a set of augmented microservices. For example, for each microservice, one or more redundancies or backups corresponding to the microservice may be constructed based on its redundancy quantity, thereby obtaining a set of augmented microservices.
[0060] At 308, an optimized dynamic scheduling strategy for a set of amplified microservices between multiple edge nodes may be determined. For example, for each microservice in a set of amplified microservices, the microservice may be scheduled to one of the multiple edge nodes. In one embodiment, an optimized dynamic scheduling strategy for a set of amplified microservices between multiple edge nodes may be determined based on the security level of the microservice, the resource requirements of the microservice, a set of security scores corresponding to a set of available edge nodes, a set of available resources corresponding to a set of available edge nodes, a communication delay between the microservice and related microservices, etc. For a specific microservice, its related microservices may be microservices that have a dependency relationship with the specific microservice and need to communicate with each other. The platform control end and the platform working end may dynamically schedule a set of amplified microservices between multiple edge nodes according to the optimized dynamic scheduling strategy.
[0061] By combining the above Figure 3 to Figure 4 The intelligent dynamic scheduling process described can ensure the security and availability of application services during the deployment phase. In addition, the amount of data input to each microservice of the application service may change over time. Accordingly, the resource requirements of each microservice will also change. For example, the traffic volume during peak hours is usually large, so the amount of data will also be large. The above process can dynamically schedule the deployment of microservices on the computing devices of each edge node according to the resource requirements of the microservices, the resource capacity and resource utilization of the computing devices on each edge node, so as to ensure the security and availability of the application service in real time, improve the resource utilization of the computing devices, and improve the reasonable allocation of computing resources.
[0062] It should be understood that the above Figure 3 to Figure 4The process described for dynamically scheduling an application service to multiple edge nodes is exemplary only. The steps in the process for dynamically scheduling an application service may be replaced or modified in any manner according to actual application requirements, and the process may include more or fewer steps. In addition, the specific order or hierarchy of the steps in process 300 and process 400 is exemplary only, and the process for dynamically scheduling an application service may be performed in an order different from the order described.
[0063] Figure 5 An exemplary process 500 for performing detection and diagnostic operations according to an embodiment of the present disclosure is shown. The process 500 may be performed by Figure 1 The detection and diagnosis component 150 is executed.
[0064] At 502, abnormal events of the application service can be detected based on the observation data. For example, abnormal events of the application service 110 can be actively detected based on the observation data provided by the edge cloud collaboration platform 140. Abnormal events may include, for example, sensor failure, data loss of the application service, service unresponsiveness, performance degradation, etc. When a sensor fails, the data it provides to the application service 110 will be abnormal, resulting in an abnormal output result of the application service 110. Therefore, anomalies of hardware devices such as sensors can be indirectly detected through observation data. In one embodiment, abnormal events of the application service can be detected based on observation data through deep learning technology. By actively and in advance detecting abnormal events, errors can be avoided from propagating from upstream services (e.g., target detection services) to downstream services (e.g., fusion services), thereby improving the accuracy of the output results of the application service.
[0065] At 504, the root cause of the abnormal event may be diagnosed. For example, it may be diagnosed which sensor is faulty, which data is lost, which service is unresponsive, etc. In one embodiment, the root cause of the abnormal event may be diagnosed by causal inference technology.
[0066] At 506, an action for repairing the abnormal event may be recommended. In one embodiment, the action for repairing the abnormal event may be recommended by reinforcement learning technology.
[0067] The above process provides a fault-tolerant and automatic recovery mechanism, which can ensure the accuracy and reliability of application services during the operation or running phase and shorten the time for fault recovery.
[0068] It should be understood that the above Figure 5The described process for performing detection and diagnosis operations is only exemplary. According to actual application requirements, the steps in the process for performing detection and diagnosis operations can be replaced or modified in any manner, and the process can include more or fewer steps.
[0069] Those skilled in the art should understand that the various embodiments disclosed above may be subject to various modifications and variations without departing from the essence of the invention, and these modifications and variations should fall within the protection scope of the present invention, and the protection scope of the present invention should be defined by the claims.
Claims
1. A distributed system, comprising: The edge cloud collaboration platform includes: a platform control terminal running on an edge node in the network, and multiple platform working terminals running on other edge nodes in the network; Among them, the platform control end is used to send decision information to the multiple platform working ends, and the decision information includes the deployment plan of the application service on the other edge nodes. Each platform working end deploys the corresponding application service on the corresponding edge node according to the decision information it receives.
2. The distributed system according to claim 1, wherein: The edge cloud collaboration platform also includes: a dynamic scheduling component running on any edge node in the network, the dynamic scheduling component is used to: determine the dynamic scheduling strategy of application services between each edge node; The platform control end and the platform working end are used to dynamically schedule application services between various edge nodes according to the dynamic scheduling strategy.
3. The distributed system according to claim 2, wherein: The dynamic scheduling component is also used to: automatically determine the redundancy of the application service, or receive the redundancy of the application service specified by the user, and determine the optimized dynamic scheduling strategy of the application service between each edge node based on the redundancy; The platform control end and the platform working end are used to amplify the application service according to the redundancy, and dynamically schedule the amplified application service between each edge node according to the optimized dynamic scheduling strategy.
4. The distributed system according to claim 3, wherein: The dynamic scheduling component is also used to: Decomposing the application service into a set of microservices; For each microservice in the group of microservices, determining a redundancy quantity of each microservice to obtain a group of redundancy quantities corresponding to the group of microservices; Based on the set of redundant quantities, amplifying the set of microservices to obtain a set of amplified microservices; as well as Determining an optimized dynamic scheduling strategy for the set of augmented microservices among the plurality of edge nodes; The platform control end and the platform working end are used to dynamically schedule the set of expanded microservices among the multiple edge nodes according to the optimized dynamic scheduling strategy.
5. The distributed system according to claim 4, wherein: Determining the redundant number of the microservices includes: Determining a security level of the microservice; identifying a set of available edge nodes among the plurality of edge nodes; Determining the number of nodes in the set of available edge nodes; obtaining a set of security scores corresponding to the set of available edge nodes; and A redundancy number of the microservice is determined based on the security level, the number of nodes, and the set of security scores.
6. The distributed system according to claim 5, wherein: The obtaining a set of security scores corresponding to the set of available edge nodes comprises, for each available edge node in the set of available edge nodes: The security score of the available edge node is obtained by mathematical modeling.
7. The distributed system according to claim 6, wherein: The method of obtaining the security score of the available edge node by mathematical modeling includes: A safety score of the available edge node is calculated based on at least one of a resource capacity, a resource usage rate, and a failure rate of the available edge node.
8. The distributed system according to claim 4, wherein: The dynamic scheduling component determines an optimized dynamic scheduling strategy for the set of augmented microservices between the plurality of edge nodes, including: Determine an optimized dynamic scheduling strategy for the set of augmented microservices between the plurality of edge nodes based on at least one of a security level of the microservice, a resource requirement of the microservice, a set of security scores corresponding to a set of available edge nodes, a set of available resources corresponding to a set of available edge nodes, and a communication delay between the microservice and related microservices.
9. The distributed system according to claim 1, wherein: The application services include: roadside perception service, navigation service, positioning service, vehicle control service, and / or route planning service, and the roadside perception service includes target detection service and / or target tracking service.
10. The distributed system according to claim 1, wherein: The multiple edge nodes in the network are located on the roadside, and each edge node includes: a roadside computing device. The multiple roadside computing devices in the network are interconnected through a roadside communication unit located in the network.
11. The distributed system according to claim 10, wherein: The roadside computing unit processes the data collected by the roadside sensing device by running the application service, and the application service includes a roadside sensing service.
12. The distributed system according to claim 1, wherein: The edge cloud collaboration platform is also used for at least one of the following: During the life cycle of the application service, updating or maintaining the code or version of the application service, the life cycle including the stage after the development of the application service is completed; Monitoring the status, resource capacity, and / or resource utilization of the plurality of edge nodes; and Repairing a faulty edge node among the plurality of edge nodes.
13. The distributed system according to claim 1, wherein: The platform working end of the edge cloud collaboration platform is also used to run a monitoring service, which is used to obtain observation data of the edge node, and the observation data includes at least one of time series data, logs and tracking data.
14. The distributed system according to claim 13, wherein: The distributed system further comprises: A detection and diagnosis component, which runs on any one or more edge nodes in the network, is used to detect abnormal events of the edge nodes based on the observation data, diagnose the causes of the abnormal events, and recommend actions for repairing the abnormal events.
15. The distributed system according to claim 13, wherein: The distributed system further comprises: A data insight component runs on any one or more edge nodes in the network and is used to obtain data insights from the observation data for enhancing the scalability of the application service.
16. The distributed system according to claim 15, wherein: The obtaining of data insights from the observation data for enhancing the scalability of the application service includes: Based on the observation data, optimizing the operation of one or more components in the distributed system by reinforcement learning; or Based on the observation data, knowledge learned in the target area of the deployed application service is migrated to other areas of the application service to be deployed through transfer learning, and the knowledge at least includes machine learning models in one or more components in the distributed system.
17. The distributed system according to claim 1, wherein: Each platform working end deploys the corresponding application service on the corresponding edge node using container technology based on the control commands it receives.
18. A roadside system comprising: A distributed system according to any one of claims 1 to 17; as well as A plurality of edge nodes are located in the network, and the plurality of edge nodes include a plurality of roadside computing devices and / or roadside sensing devices.
19. The roadside system according to claim 18, further comprising: The application service is deployed on the edge node through the edge cloud collaboration platform.
20. The roadside system according to claim 19, wherein: The application services include: roadside perception service, navigation service, positioning service, vehicle control service, and / or route planning service.
