Cloud technology-based service management method and cloud management platform

By creating mirror nodes of edge nodes in the cloud, reproducing and analyzing abnormalities, the problem of time-consuming and labor-intensive edge node abnormality analysis is solved, and the analysis efficiency and accuracy are improved.

WO2024222164A1PCT designated stage expired Publication Date: 2024-10-31HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD

Patent Information

Application Number
PCT/CN2024/077969
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-07-13
Filing Date
2024-02-21
Publication Date
2024-10-31

AI Technical Summary

Technical Problem

In business sites such as factory workshops, when edge nodes are abnormal, professionals need to go to the site for analysis, which results in time-consuming and labor-intensive detection and low detection efficiency, making it difficult to accurately discover the cause of the abnormality.

Method used

Adopt cloud technology-based business management methods to create mirror nodes of edge nodes in the cloud, reproduce abnormalities through the mirror nodes, and analyze the causes of abnormalities efficiently and accurately.

Benefits of technology

It improves the efficiency and accuracy of anomaly analysis, reduces on-site visits to edge nodes, and avoids the problem of incomplete resolution of anomalies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024077969_31102024_PF_FP_ABST
    Figure CN2024077969_31102024_PF_FP_ABST
Patent Text Reader

Abstract

A cloud technology-based service management method and a cloud management platform, which can be applied to the field of edge service management. The method comprises: a cloud management platform receives first data sent by an edge node, the first data comprising service data of a service device and / or operation data of the edge node; according to a set alerting rule, the cloud management platform determines whether the first data triggers an edge alert, the edge alert being used for indicating that the first data has an anomaly; when the first data triggers the edge alert, the cloud management platform acquires configuration information of the edge node; by using the configuration information, the cloud management platform creates a first mirror node of the edge node, the first mirror node being arranged on a cloud infrastructure; and the cloud management platform configures the first mirror node to receive edge data, the edge data comprising service data during triggering of the edge alert. The method can efficiently and accurately analyze reasons for anomalies.
Need to check novelty before this filing date? Find Prior Art

Description

Business management method and cloud management platform based on cloud technology

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on April 28, 2023, with application number 202310484092.4 and application name “An edge mirroring method and cloud management platform based on cloud-edge collaboration technology”, and the Chinese patent application filed with the State Intellectual Property Office of China on July 13, 2023, with application number 202310861120.X and application name “Business management method and cloud management platform based on cloud technology”, all contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of edge business management technology, and in particular to a business management method and cloud management platform based on cloud technology. Background Art

[0003] Edge nodes located at business sites, such as factory workshops, can monitor and control business equipment (e.g., machine tools) locally. For example, they can collect and analyze business data from business equipment to determine its operating status.

[0004] Because edge nodes are located at business sites, when an anomaly occurs, professionals are usually required to conduct on-site analysis to identify the cause. This is time-consuming and labor-intensive, and has low detection efficiency.

[0005] Summary of the Invention

[0006] The embodiments of the present application provide a business management method and a cloud management platform based on cloud technology, which can create a mirror node in the cloud when edge data is abnormal, and use the mirror node to efficiently and accurately analyze the cause of the abnormality.

[0007] In a first aspect, a business management method based on cloud technology is provided, which is applied to a cloud management platform, the cloud management platform is used to manage cloud infrastructure, the cloud infrastructure and edge nodes are connected through a network, the edge nodes are used to collect business data of business equipment, and the business equipment is used to execute business, the method comprising: the cloud management platform receives first data sent by the edge node, the first data includes business data of the business equipment and / or operation data of the edge node; the cloud management platform determines whether the first data triggers an edge alarm according to the set alarm rules, and the edge alarm is used to indicate that an abnormality occurs in the first data; when the first data triggers the edge alarm, the cloud management platform obtains configuration information of the edge node; the cloud management platform uses the configuration information to create a first mirror node of the edge node, and the first mirror node is set on the cloud infrastructure; the cloud management platform configures the first mirror node to receive edge data, and the edge data includes business data when the edge alarm is triggered.

[0008] In the business management method provided in the embodiment of the present application, the cloud management platform can obtain the edge data of the edge node when collecting business data, and determine whether the edge data is abnormal. Among them, when the edge data triggers an edge alarm, the edge data abnormality can be confirmed. The edge data reflects that an abnormality may occur in the edge node. When the cloud management platform determines that the edge data is abnormal, the cloud management platform obtains the node configuration information of the edge node, and uses the node configuration information to create a first mirror node of the edge node on the cloud infrastructure, and configures the first mirror node to receive business data. In this way. The first mirror node can be used to reproduce the abnormality of the edge node. By reproducing the abnormality, the cause of the abnormality can be discovered more accurately and comprehensively.

[0009] In one possible implementation, the edge alarm includes a business alarm, and determining whether the first data triggers the edge alarm is determined according to the set alarm rules, including: when the business data is outside a preset business data range, determining that the business data triggers a business alarm; or, the operating data of the edge node includes the operating parameters of the hardware of the edge node, the edge alarm includes a hardware alarm, and determining whether the first data triggers the edge alarm is determined according to the set alarm rules, including: when the operating parameters of the hardware are outside a preset operating parameter range, determining that the operating parameters of the hardware trigger a hardware alarm; or, the operating data of the edge node includes the operating status of the application of the edge node, the edge alarm includes an application alarm, and determining whether the first data triggers the edge alarm is determined according to the set alarm rules, including: when the operating status of the application is an abnormal operating status, determining that the application status of the application triggers an application alarm.

[0010] In this implementation, by determining whether the business data triggers a business alarm, it is possible to determine whether an abnormality has occurred in the business execution of the business device, thereby achieving abnormality location, and then purposefully analyzing the abnormality to improve the efficiency of abnormality analysis.

[0011] In this implementation, it is also possible to determine whether the hardware operation data of the edge node triggers a hardware alarm and whether an abnormality has occurred in the hardware of the edge node, thereby locating the abnormality. Then, the abnormality can be purposefully analyzed to determine whether the edge node is operating abnormally, thereby improving the efficiency of abnormality analysis.

[0012] In this implementation, it is also possible to determine whether an application alarm has been triggered by judging whether the application running status of the edge node has occurred, thereby determining whether an abnormality has occurred in the application of the edge node, and realizing abnormality location. Then, the abnormality can be purposefully analyzed to determine whether the edge node is running abnormally, thereby improving the efficiency of abnormality analysis.

[0013] In a possible implementation, the node configuration information includes one or any combination of hardware specifications, operating system versions, application versions, logs, and traffic model versions of the edge node.

[0014] In this implementation, the cloud management platform can obtain one or any combination of the edge node's hardware specifications, operating system version, application version, log, and traffic model version, so as to create one or any combination of the hardware specifications, operating system version, application version, log, and traffic model version that are the same as the edge node.

[0015] In one possible implementation, the cloud management platform configures the first mirror node to receive edge data, including: the cloud management platform adjusts the configuration of the first mirror node; wherein the adjusted first mirror node is used to collect business data of business equipment; the cloud management platform receives second data sent by the adjusted first mirror node, the second data including the business data of the business equipment and / or the operating data of the adjusted first mirror node; when the second data does not trigger an edge alarm, the cloud management platform records the node configuration information of the adjusted first mirror node, wherein the node configuration information of the adjusted first mirror node is used to adjust the configuration of the edge node.

[0016] In this implementation, the configuration of the first mirror node can be adjusted, and a determination can be made as to whether an anomaly occurs when the adjusted first mirror node collects service data. If no anomaly occurs, the adjusted configuration of the first mirror node effectively prevents the occurrence of anomalies. Based on the adjusted configuration, the configuration of the edge node is adjusted to prevent the occurrence of anomalies at the edge node, thereby effectively resolving the anomaly.

[0017] Moreover, configuration adjustments are made on the first mirror node in the cloud, eliminating the need to repeatedly adjust edge nodes at the business site to obtain a configuration that avoids exceptions.

[0018] In one possible implementation, the edge node runs multiple applications, and the method further includes: a cloud management platform receives first load information of the edge node from the edge node; when the first load information indicates that the load of the edge node is greater than a first load threshold, the cloud management platform uses the configuration information to create a second mirror node of the edge node, and the second mirror node is set on the cloud infrastructure; the cloud management platform instructs the second mirror node to take over the edge node to run at least one application among the multiple applications.

[0019] In this implementation, when the load on the edge node is large, a mirror node of the edge node can be created in the cloud. The created mirror node can share the load of the edge node, thereby ensuring the smooth execution of the functions or tasks of the edge node.

[0020] In one possible implementation, the method further includes: the cloud management platform receiving second load information of the edge node from the edge node; when the second load information indicates that the load of the edge node is less than a second load threshold, the cloud management platform instructs the edge node to resume running at least one application, wherein the second load threshold is less than or equal to the first load threshold.

[0021] In this implementation, when the load on the edge node is small, the edge node can be instructed to resume running the application run by the mirror node and whether to use the cloud resources occupied by the mirror node, thereby avoiding unnecessary occupation of cloud resources and reducing waste of cloud resources.

[0022] In one possible implementation, the business device includes a machine tool, and the business data includes at least one of the machine tool's production speed, current, tool speed, and tool temperature; or, the business device includes a sensor, and the business data includes data detected by the sensor.

[0023] In this implementation, the business management method provided in the embodiment of the present application can be applied to business scenarios such as product production or environmental testing, facilitating the analysis and resolution of edge node anomalies in these business scenarios.

[0024] In a second aspect, a cloud management platform is provided, which is used to manage cloud infrastructure. The cloud infrastructure and edge nodes are connected through a network. The edge nodes are used to collect business data of business equipment, and the business equipment is used to execute business. The cloud management platform includes: a communication module for receiving first data sent by the edge node, the first data including business data of the business equipment and / or operation data of the edge node; an alarm module for determining whether the first data triggers an edge alarm according to the set alarm rules, and the edge alarm is used to indicate that an abnormality occurs in the first data; an acquisition module for acquiring configuration information of the edge node when the first data triggers the edge alarm; a creation module for creating a first mirror node of the edge node using the configuration information, and the first mirror node is set on the cloud infrastructure; a configuration module for configuring the first mirror node to receive edge data, and the edge data includes business data when the edge alarm is triggered.

[0025] In one possible implementation, the edge alarm includes a business alarm, and the alarm module is used to: when the business data is outside a preset business data range, determine that the business data triggers a business alarm; the operating data of the edge node includes the operating parameters of the hardware of the edge node, and the edge alarm includes a hardware alarm, and the alarm module is used to: when the operating parameters of the hardware are outside a preset operating parameter range, determine that the operating parameters of the hardware trigger a hardware alarm; or, the operating data of the edge node includes the operating status of the application of the edge node, and the edge alarm includes an application alarm, and the alarm module is used to: when the operating status of the application is an abnormal operating status, determine that the application status of the application triggers an application alarm.

[0026] In a possible implementation, the node configuration information includes one or any combination of hardware specifications, operating system versions, application versions, logs, and traffic model versions of the edge node.

[0027] In one possible implementation, the configuration module is further used to: adjust the configuration of the first mirror node on the cloud management platform; wherein the adjusted first mirror node is used to collect business data of the business equipment; the communication module is further used to: receive second data sent by the adjusted first mirror node, the second data including the business data of the business equipment and / or the operation data of the adjusted first mirror node; the acquisition module is further used to: when the second data does not trigger an edge alarm, record the node configuration information of the adjusted first mirror node, wherein the node configuration information of the adjusted first mirror node is used to adjust the configuration of the edge node.

[0028] In one possible implementation, the edge node runs multiple applications; the communication module is further used to: receive first load information of the edge node from the edge node; the creation module is further used to: when the first load information indicates that the load of the edge node is greater than a first load threshold, use the configuration information to create a second mirror node of the edge node, and the second mirror node is set on the cloud infrastructure; the communication module is further used to: instruct the second mirror node to take over the edge node to run at least one application among the multiple applications.

[0029] In one possible implementation, the communication module is further used to: receive second load information of the edge node from the edge node; and when the second load information indicates that the load of the edge node is less than a second load threshold, instruct the edge node to resume running at least one application, wherein the second load threshold is less than or equal to the first load threshold.

[0030] In a third aspect, a computing device cluster is provided, comprising at least one computing device, each computing device comprising a processor and a memory; the processor of at least one computing device is used to execute instructions stored in the memory of at least one computing device, so that the computing device cluster performs the method provided in the first aspect.

[0031] In a fourth aspect, a computer-readable storage medium is provided, comprising computer program instructions. When the computer program instructions are executed by a computing device cluster, the computing device cluster executes the method provided in the first aspect.

[0032] In a fifth aspect, a computer program product comprising instructions is provided. When the instructions are executed by a computer device cluster, the computer device cluster executes the method provided in the first aspect.

[0033] The beneficial effects of the second to fifth aspects can be referred to the above introduction to the beneficial effects of the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 is a schematic diagram of a cloud-edge-device network architecture;

[0035] FIG2 is a schematic diagram of a system architecture provided in an embodiment of the present application;

[0036] FIG3 is a flow chart of a service management method provided in an embodiment of the present application;

[0037] FIG4 is a flow chart of a service management method provided in an embodiment of the present application;

[0038] FIG5 is a flow chart of a service management method provided in an embodiment of the present application;

[0039] FIG6 is a flowchart of a service management method provided in an embodiment of the present application;

[0040] FIG7 is a schematic diagram of the structure of a cloud management platform provided in an embodiment of the present application;

[0041] FIG8 is a schematic diagram of the structure of a computing device provided in an embodiment of the present application;

[0042] FIG9 is a schematic diagram of the structure of a computing device cluster provided in an embodiment of the present application;

[0043] FIG10 is a schematic diagram of the structure of a computing device cluster provided in an embodiment of the present application. DETAILED DESCRIPTION

[0044] The following describes the solutions provided by the embodiments of the present application in conjunction with the accompanying drawings, wherein "multiple" refers to two or more than two.

[0045] As shown in Figure 1, the control center, located in the cloud, can perform edge computing, data access, and application execution through edge nodes, enabling local monitoring and control of business equipment at the field. The proper operation of edge nodes is crucial for the smooth functioning of business equipment. Therefore, when an edge node anomaly occurs, the cause must be promptly analyzed to identify a targeted solution.

[0046] In one solution, when an edge node anomaly is detected, cloud application performance management (APM) services are used to analyze the logs reported by the edge node to identify the cause of the anomaly. However, due to the large volume of log data reported by edge nodes, log analysis is inefficient and difficult to quickly locate the cause of the anomaly.

[0047] Another approach involves locally troubleshooting the edge node's hardware, operating system, applications, and traffic model at the business site to identify the cause of the anomaly. This approach requires professionals to travel to the business site, which is time-consuming and labor-intensive.

[0048] Furthermore, both of the aforementioned solutions rely on post-incident tracing, tracing the cause after an anomaly occurs. This makes it difficult to reproduce the anomaly and, consequently, accurately identify the root cause. Edge node anomalies can be caused by multiple factors, such as the node's hardware, applications, operating system, and the service's traffic model. Using post-incident tracing to identify the cause of an anomaly can miss one or more of these multiple causes, potentially preventing the anomaly from being fully resolved.

[0049] The embodiment of the present application provides a business management method based on cloud technology, which can create a mirror node of the edge node in the cloud when an edge alarm indicating an edge data anomaly is triggered. The mirror node can be used to analyze the cause of the anomaly of the edge node in the cloud, and realize efficient and accurate analysis of the cause of the anomaly. In addition, the anomaly of the edge node can also be reproduced by using the mirror node. For example, the mirror node can be used to simulate the tasks performed by the edge node (such as collecting business data, etc.) to reproduce the anomaly of the edge node in the mirror node, so as to analyze the cause of the anomaly.

[0050] Next, the cloud-based business management method provided in the embodiment of the present application is specifically introduced.

[0051] First, some of the terms and related technologies that may be involved in the embodiments of the present application are explained to facilitate understanding by those skilled in the art.

[0052] Cloud technology refers to the network, information, integration, management platform, and application technologies based on cloud computing. Cloud technology unifies hardware, software, and network resources within a wide or local area network (WAN) to provide managed services such as data computing, storage, processing, and sharing. Cloud resources can be organized into resource pools, which can be accessed on demand. Public cloud, a common type of cloud technology, refers to a cloud provided by a third-party provider for users to use. Public clouds are generally available online and may be free or low-cost. There are many instances of this type of cloud, providing services across open public networks.

[0053] Cloud infrastructure: The facilities that support cloud computing services include at least one data center, each of which includes multiple servers. The servers run computing instances such as virtual machines or containers to provide elastic cloud computing services. For example, when the infrastructure includes multiple data centers, the multiple data centers can be distributed in different geographical areas, and the data centers can be remotely connected through a backbone network.

[0054] Cloud management platform: A platform provided by cloud service providers for interaction with users. Users can use the cloud management platform to manage corresponding infrastructure or nodes, such as cloud infrastructure and edge nodes.

[0055] Cloud resources: refers to instances deployed in infrastructure for running public cloud services. These cloud instances are used to provide computing, network, or storage resources. Cloud instances include, but are not limited to, elastic cloud servers (ECS), containers, bare metal servers (BMS), object storage service (OBS) buckets, elastic load balancers (ELB), network address translation gateways (NAT Gateway), cloud caches, and other services. Compute instances can be implemented, for example, through virtual machines, containers, etc.

[0056] Business equipment refers to equipment used to perform business operations. For example, if the business involves manufacturing products, business equipment might include machine tools or production lines. For example, if the business involves monitoring production conditions, business equipment might include sensors such as cameras, temperature sensors, and humidity sensors.

[0057] Edge nodes refer to devices used to monitor and / or control business equipment. Specifically, edge nodes can collect business data from business equipment performing business, and analyze the operating status of the business equipment, the environmental conditions of the business equipment, etc. based on the collected results, or send the collected results to the cloud management platform for the cloud management platform to analyze the operating status of the business equipment, the environmental conditions of the business equipment, etc. The edge node can also send control instructions to the business equipment to control the operation of the business equipment. In some embodiments, the edge node can be a gateway for receiving business data sent by the business equipment to realize data collection, and send the collected data to the cloud management platform. In some embodiments, the edge node can be a server for receiving business data sent by the business equipment to realize data collection, and analyze the collected data, or send the collected data to the cloud management platform. In some embodiments, the edge node can communicate with business equipment through technologies such as wireless communication or wired communication to realize data collection.

[0058] Traffic models, also known as task models, indicate the specific tasks to be performed by devices or applications. The traffic model for edge nodes instructs them to perform tasks such as data collection, data reporting, or data analysis. For example, the traffic model can instruct edge nodes on what data to collect, report, or analyze, as well as the frequency at which data should be collected, reported, or analyzed.

[0059] Operational data: Data that reflects or indicates the operational status of a device or component. For example, edge node operational data refers to data that reflects the operational status of the edge node, and may include the operating parameters of the edge node's hardware and the operating status of applications.

[0060] The above examples introduce some terms and related technologies that may be involved in the embodiments of the present application. Next, the present application provides a system architecture 100, which can be used to implement the service management method provided in the embodiments of the present application.

[0061] As shown in FIG2 , the system architecture 100 includes: an edge node 120 , a service device 130 , a cloud infrastructure, and a cloud management platform 110 for managing the cloud infrastructure.

[0062] The business device 130 is used to perform business operations. In one example, the business device 130 is a machine tool, used to perform the business of producing products. In another example, the business device 130 is a sensor, used to perform the business of detecting the environment. For example, the business device 130 may be a temperature sensor, used to perform the business of detecting the ambient temperature. In another example, the business device 130 may be a humidity sensor, used to perform the business of detecting the ambient humidity.

[0063] The data related to the business execution of the business device 130 can be called business data. Business data includes data that can reflect whether the business executed by the business device 130 is abnormal, and data including whether the operation of the business device 130 itself is abnormal. In one example, the business device 130 is a machine tool, and the business data includes the production rate and production parameters of the products produced by the machine tool. Among them, the production rate refers to the number of products produced per unit time, which can reflect whether the business execution of the machine tool is abnormal. The production parameters can reflect whether the operation of the machine tool itself is abnormal. Exemplarily, the production parameters include the current of the machine tool, the tool speed of the machine tool, the tool temperature of the machine tool, etc. In one example, the business device 130 is a sensor, and the business data includes the data detected by the sensor and the operating data of the sensor itself. The data detected by the sensor can reflect whether the environment detected by the sensor is abnormal, and the operating data of the sensor itself can reflect whether the sensor itself is abnormal.

[0064] The edge node 120 can collect business data of the business device 130 when executing the business and obtain a collection result. The edge node 120 can also send the collection result to the cloud management platform 100. The collection result refers to the business data collected by the edge node 120 from the business device 130.

[0065] In some embodiments, the edge node may be implemented as one or more gateways.

[0066] In some embodiments, the edge nodes may be implemented as one or more servers.

[0067] As shown in Figure 2, edge node 120 includes a hardware system 125 and an operating system 124. The hardware system 125 and operating system 124 support the edge node 120's traffic module 121, applications 122, and middleware 123. The traffic model 121 is used to instruct the edge node 120 on specific tasks to be performed, such as instructing the edge node 120 to collect service data from the service device 130, and instructing the edge node 120 to collect data at a preset collection frequency. Applications 122 are one or more applications. Applications 122 may include a data collection application for invoking relevant resources of edge node 120 (e.g., communication interfaces, processors, etc.) to collect service data. In one example, applications 122 also include a data analysis application for analyzing the collected service data. In one example of this embodiment, the data analysis application may be an application based on artificial intelligence (AI). In another example, applications 122 may also include a logging application for collecting and storing logs of various components or software of edge node 120. Middleware 123 is used for communication between edge node 120 and the outside world. For example, through middleware 123, edge node 120 can receive business data sent by business device 130 to achieve data collection. For another example, through middleware 123, edge node 120 can send edge data to cloud management platform 110. Edge data refers to data sent by edge nodes to the cloud, and can include the collection results of business data collected by edge nodes, and can also include the operating data of edge nodes. The operating data of edge nodes refers to data reflecting the operating status of edge nodes, and can include the operating parameters of the edge node's hardware, the operating status of applications, etc.

[0068] In some embodiments, the operating parameters of the hardware, such as the output voltage of the power supply module (e.g., voltage regulator module (VRM)) of the processor (e.g., central processing unit (CPU)), memory (memory) or disk, the computing frequency of the processor, the read and write speed of the memory or disk, etc.

[0069] In some embodiments, the operating state of an application can be divided into a normal operating state and an abnormal operating state. The normal operating state means that the application can perform the expected functions according to the relevant operations. Among them, the abnormal operating state is a state other than the normal operating state, for example, the abnormal operating state includes the application being stuck, certain functions failing, and the application crashing.

[0070] 2 , the cloud management platform 110 may include functional modules such as a communication module 111 , an alarm module 112 , an acquisition module 113 , a creation module 114 , and a configuration module 115 .

[0071] Among them, the communication module 111 is used to receive edge data. The alarm module 112 can issue an edge alarm to prompt the edge node 120 that an abnormality has occurred when the condition reflected by the edge data is an abnormal condition. In other words, edge data reflecting an abnormal condition can trigger an edge alarm. Specifically, the alarm module 112 can use preset alarm rules to determine whether the edge data from the edge node 120 reflects an abnormal condition. If an abnormal condition occurs, an edge alarm is issued. In other words, edge data reflecting an abnormal condition triggers an edge alarm. Among them, the preset alarm rules can also be referred to as set alarm rules. The alarm rules will be described in detail below and will not be repeated here.

[0072] When the alarm module 112 issues an edge alarm, the acquisition module 113 may acquire node configuration information of the edge node 120. The node configuration information of the edge node 120 includes description information of the hardware and software of the edge node 120.

[0073] After acquiring module 113 obtains the node configuration information of edge node 120, creation module 114 can create a mirror node 120' of edge node 120 on the cloud infrastructure based on the node configuration information of edge node 120. Specifically, created mirror node 120' is placed on the cloud infrastructure. The node configuration information of created mirror node 120' is identical to that of edge node 120. In short, mirror node 120' and edge node 120 are identical.

[0074] The configuration module 115 can configure the mirror node 120 ′ so that the mirror node 120 ′ can collect business data of the business device 130 , thereby enabling the cloud management platform 110 to obtain business data from the mirror node 120 ′.

[0075] Mirror node 120' can be used to analyze the cause of anomalies in edge node 120. For example, mirror node 120' can be used to perform scenario simulations. During the scenario simulation, the operating status of each hardware or software in mirror node 120' is monitored to identify any anomalies. In some embodiments, service data from the execution of services by service device 130 can be obtained, and mirror node 120' can be instructed to collect this service data to replicate the anomaly that occurred when edge node 120 collected the service data, thereby facilitating analysis of the cause of the anomaly.

[0076] Among them, the functions of the alarm module 112, the acquisition module 113, and the creation module 114 can also be implemented with reference to the method embodiment introduced below, and will not be repeated here.

[0077] In some embodiments, the functional modules in the cloud management platform 110 can be implemented in hardware. For example, the functional modules can be specifically one or more servers. The hardware device can run relevant program codes to implement the functions of the functional modules.

[0078] In some embodiments, the functional modules in the cloud management platform 110 may also be implemented in software. For example, the functional modules may be implemented as virtual devices such as virtual machines (VMs) and containers. The virtual devices may run relevant program code to implement the functions of the functional modules. For another example, the functional modules may be implemented as processes.

[0079] In some embodiments, different functional modules in the cloud management platform 110 may run on different hardware devices or virtual devices. For example, the alarm module 110 may run on one or more hardware devices or virtual devices, while the acquisition module 113 and / or creation module 114 may run on another one or more hardware devices or virtual devices. In some embodiments, different functional modules in the cloud management platform 110 may run on the same hardware device or virtual device.

[0080] The above examples introduce the functions and possible implementations of various parts in the system architecture 100. Next, the general process of the service management method provided in the embodiment of the present application is introduced.

[0081] 3 , the edge node 120 sends edge data to the cloud management platform 110 in step 201. When the edge data triggers an edge alarm, the cloud management platform 202 can create a mirror node of the edge node 120 to obtain a mirror node 120'.

[0082] In step 203, a scenario simulation can be performed on mirror node 120'. Scenario simulation involves using mirror node 120' to simulate the tasks performed by edge node 120, such as collecting business data and analyzing the collected results. Scenario simulation can replicate anomalies that occur on edge node 120 on mirror node 120'. For example, mirror node 120' can be instructed to collect business data from business devices 130 performing services, so that anomalies that occur on edge node 120 can be replicated on mirror node 120'. It can be understood that the edge data collected by edge node 120 when business devices 130 perform services triggers an edge alarm. In other words, the edge data collected by edge node 120 when business devices 130 perform services reflects an anomaly at the edge node. In other words, an anomaly occurred at the edge node when edge node 120 collected business data from business devices 130 performing services. Similar to edge node 120, mirror node 120' collects business data from business devices 130 performing services, and anomalies are likely to occur, thus replicating the anomaly. After the exception is reproduced, the cause of the exception can be easily analyzed.

[0083] In some embodiments, the configuration of mirror node 120' can be adjusted in step 204, for example, by adjusting the hardware specifications or application software versions of mirror node 120'. Scenario simulations can then be performed using the adjusted mirror node 120' to identify a preferred configuration, such as one that resolves an abnormal configuration. After the preferred configuration is identified, the node configuration information for the preferred configuration can be recorded, and in step 205, the configuration of edge node 120 can be adjusted based on the node configuration information.

[0084] In some embodiments, the task performed by edge node 120 requires running multiple applications. Edge node 120 may also send load information to cloud management platform 110. When the load information indicates that the load of edge node 120 is greater than load threshold A1, cloud management platform 110 may create a mirror node 120", instruct mirror node 120 to run at least one of the multiple applications, and deactivate the at least one application on edge node 120. In other words, some of the multiple applications required for the task may run on mirror node 120", thereby reducing the load on edge node 120.

[0085] In addition, when the load of the edge node 120 is less than the load threshold A2, the edge node 120 may be instructed to run all of the multiple applications and deactivate the mirror node 120'' to release the cloud resources occupied by the mirror node 120'', thereby reducing the waste of cloud resources.

[0086] The above describes the general process of the service management method provided by the embodiment of the present application. Next, the service management method provided by the embodiment of the present application is specifically introduced in different embodiments.

[0087] FIG4 shows a service management method, which includes the following steps.

[0088] In step 300 , the service device 130 may execute a service.

[0089] While service device 130 is executing a service, edge node 120 collects service data from service device 130 in step 301a, obtaining a collection result. In the following description, unless otherwise specified, service data from service device 130 executing a service may be referred to as simply service data or service data of service device 130. The collection result is the service data collected by edge node 120.

[0090] The edge node 120 may obtain service data from the service device 130 , or receive service data sent by the service device 130 , and obtain a collection result.

[0091] In some embodiments, the edge node 120 may send a data request to the service device 130 . The service device 130 may respond to the data request and send service data to the edge node 120 . The edge node 120 receives the service data and obtains a collection result.

[0092] In one example of this embodiment, edge node 122 includes a data collection application. The data collection application is used to call hardware resources such as the communication interface of edge node 120 to send data requests and receive service data. The data collection application can identify service data from service device 130 from the data received by the communication interface and obtain collection results.

[0093] In one example of this embodiment, the traffic model 121 in the edge node 120 can control the frequency with which the data acquisition application sends data requests to the service device 130, as well as the data requested in the data requests. For example, under the control of the traffic model 121, the data acquisition application sends data requests at a frequency of one data request every 1 millisecond. For another example, assuming that the service device 130 is a machine tool, the data acquisition application, under the control of the traffic model 121, sends data requests for production rate and production parameters (e.g., current, tool speed, tool temperature).

[0094] In some embodiments, in step 302 , the edge node 120 includes the collection result obtained in step 301 a in the edge data, and sends the edge data to the cloud management platform 110 .

[0095] In some embodiments, when executing step 301a, that is, when the edge node 120 collects service data of the service device 130, the edge node 120 may execute step 301b to obtain the operating data of the edge node 120. In other words, the operating data obtained in step 301b is the operating data of the edge node 120 when the edge node 120 collects the service data of the service device.

[0096] In step 302 , the operating data obtained in step 301 b may be included in edge data, and the edge data may be sent to the cloud management platform 110 .

[0097] The cloud management platform 110 can execute step 303 to determine whether the edge data triggers an edge alarm based on the configured alarm rules. As described above, when the edge data reflects an abnormal edge condition, the edge data triggers an edge alarm. The edge alarm is used to indicate that an abnormality has occurred in the edge data. Step 303 can be executed by the alarm module 112 in the cloud management platform 110.

[0098] You can preset alarm rules. Alarm rules are used to determine whether edge data triggers an edge alarm. When edge data meets the alarm rules, it is confirmed that the edge data has triggered an edge alarm.

[0099] In some embodiments, the edge alarm includes a service alarm, and the edge data includes the collection result obtained in step 301a. As described above, the collection result is the service data collected from the service device 130. When the service data collected from the service device 130 is abnormal, it can be determined that the service data collected from the service device 130 in step 301a (i.e., the collection result) has triggered the edge alarm.

[0100] You can preset a business data range and set a business alarm rule as "out of range." This means that when a collection result falls outside the business data range, it triggers a business alarm. The business data range is a range with an upper and lower limit. If the collection result is less than the lower limit, it falls outside the business data range; if the collection result is greater than the upper limit, it falls outside the business data range.

[0101] In one example, the business data can be set as production rate, and the business data range can be set as a production rate range. When the production rate represented by the collection result is not within the production rate range, the confirmation collection result triggers a business alarm. In another example, the business data can be set as current, and the business data range can be set as a current range. When the current represented by the collection result is not within the current range, the confirmation collection result triggers a business alarm. And so on, and ...

[0102] In some embodiments, there are two possible scenarios in which a collection result triggers a service alarm. One possible scenario is that a service device 130 experiences an anomaly, resulting in an abnormal service data, which in turn causes the collection result to be an abnormal result that triggers a service alarm. Another possible scenario is that an edge node 120 experiences an anomaly, causing it to fail to correctly collect service data (e.g., the edge node 120 fails to correctly receive service data or correctly identify received service data), resulting in an erroneous collection result. Consequently, even though the service data is normal, the erroneous collection result triggers a service alarm.

[0103] The mirror node 120' of the edge node 120 can identify which of the two above-mentioned situations the collection result triggers the service alarm, which will be described in detail below and will not be repeated here.

[0104] In some embodiments, edge alarms include node alarms, and edge data includes the operating data of edge node 120 obtained in step 301b. When the operating data of edge node 120 indicates an abnormal operation of edge node 120, the operating data of edge node 120 triggers a node alarm. As described above, the operating data of edge node 120 is divided into hardware operating parameters and application operating status. Accordingly, node alarms are divided into hardware alarms and application alarms. The following describes these two scenarios separately.

[0105] For hardware alarms, hardware alarm rules can be preset. When the operating parameters of the hardware meet the hardware alarm rules, it is confirmed that the operating parameters of the application have triggered the hardware alarm. Among them, the operating parameter range can be preset, and the hardware alarm rule can be set to: not within the operating parameter range. That is to say, when the operating parameters of the hardware are outside the preset operating parameter range, the operating parameters trigger a hardware alarm. Among them, the operating parameter range is an interval with an upper limit and a lower limit. If the operating parameters of the hardware are less than the lower limit of the operating parameter range, the operating parameters of the hardware are outside the operating parameter range; if the operating parameters of the hardware are greater than the upper limit of the operating parameter range, the operating parameters of the hardware are outside the operating parameter range.

[0106] For application alarms, the application alarm rule is abnormal operating status. In other words, when the application's operating status is abnormal, the application's operating status meets the application alarm rule. When the application's operating status meets the application alarm rule, it is confirmed that the application's operating status has triggered the application alarm.

[0107] Continuing with FIG4 , after step 303, node configuration information of edge node 120 may be obtained in step 304. Step 304 may be performed by acquisition module 113 in cloud management platform 110. The node configuration information of edge node 120 includes descriptions of the hardware and software (applications, operating system, etc.) of edge node 120, including hardware specifications (processor specifications, memory specifications, disk specifications, network card specifications, etc.), operating system software version and settings, middleware software version and settings, application software version and settings, and traffic model software version and settings.

[0108] In the embodiments of this application, hardware specifications include the hardware model, capabilities, etc. Taking a processor as an example, the processor specifications include the number of computing cores, the operating frequency of the computing cores, the power, etc. Software settings refer to turning optional features in the software on or off, such as turning the software update function on or off. The software version of the operating system can be simply referred to as the operating system version, the software version of the middleware can be simply referred to as the middleware version, the software version of the application can be simply referred to as the application version, and the software version of the traffic model can be simply referred to as the traffic model version.

[0109] In some embodiments, the node configuration information of the edge node 120 may further include data generated during the operation of the edge node 120 , such as logs.

[0110] In some embodiments, relevant personnel may input the node configuration information of the edge node 120 into the cloud management platform 110, so that the cloud management platform 110 obtains the node configuration information of the edge node 120. In some embodiments, the cloud management platform 110 may query the node configuration information of the edge node 120 in a database storing the node configuration information, thereby obtaining the node configuration information of the edge node 120.

[0111] After obtaining the node configuration information of edge node 120, cloud management platform 110 can create a mirror node 120' of edge node 120 on the cloud infrastructure according to the node configuration information of edge node 120 in step 305. Specifically, created mirror node 120' is set up on the cloud infrastructure. Step 305 can be performed by creation module 114 in cloud management platform 110.

[0112] Specifically, the cloud infrastructure's cloud resources include hardware resources, such as processor resources, memory resources, disk resources, and network card resources. Referring to Figure 2 , the cloud management platform 110 can first select corresponding hardware resources from the cloud infrastructure's cloud resources based on the hardware specifications in the node configuration information, i.e., the hardware specifications of hardware system 125, to create hardware system 125'. For example, based on the processor specifications of hardware system 125, processor resources that meet the processor specifications of hardware system 125 can be selected from the processor resources provided by the cloud infrastructure to obtain the processor for hardware system 125'. For another example, based on the disk specifications of hardware system 125, disk resources that meet the disk specifications of hardware system 125 can be selected from the disk resources provided by the cloud infrastructure to obtain the disk for hardware system 125'. And so on.

[0113] After creating the hardware system 125' of the mirror node 120', the operating system 124' can be installed in the mirror node 120' according to the operating system version in the node configuration information, i.e., the version of the operating system 124. The versions of the operating system 124 and the operating system 124' are the same, and the installation package of the operating system 124' can be a copy of the installation package of the operating system 124. The operating system 124' can also be configured according to the operating system settings in the node configuration information, i.e., the settings of the operating system 124, so that the settings of the operating system 124' are consistent with the settings of the operating system 124.

[0114] Middleware 123' can be installed in mirror node 120' according to the middleware version in the node configuration information, i.e., the version of middleware 123. The versions of middleware 123' and middleware 123 are the same, and the installation package of middleware 123' can be a copy of the installation package of middleware 123. Middleware 123' can also be configured according to the middleware settings in the node configuration information, i.e., the settings of middleware 123, so that the settings of middleware 123' are consistent with the settings of middleware 123.

[0115] Application 122' can be installed in mirror node 120' according to the application version in the node configuration information, i.e., the version of application 122. The versions of application 122' and application 122 are the same, and the installation package of application 122' can be a copy of the installation package of application 122. Application 122' can also be configured according to the application settings in the node configuration information, i.e., the settings of application 122, so that the settings of application 122' are consistent with the settings of application 122.

[0116] Traffic model 121' can be installed in mirror node 120' according to the version of the traffic model in the node configuration information, i.e., the version of traffic model 121. The versions of traffic model 121' and traffic model 121 are the same, and the installation package of traffic model 121' can be a copy of the installation package of traffic model 121. Traffic model 121' can also be configured according to the settings of traffic model 121 in the node configuration information, i.e., the settings of traffic model 121, so that the settings of traffic model 121' are consistent with those of traffic model 121.

[0117] In this way, a mirror node 120' can be created for the edge node 120. The edge node 120 and the mirror node 120' are identical or substantially identical.

[0118] In some embodiments, node configuration information also includes data generated during the operation of edge node 120, such as logs. When creating mirror node 120', the data generated during the operation of edge node 120 can also be imported into mirror node 120', so that mirror node 120' has the same data as edge node 120. This ensures that mirror node 120' and edge node 120 are identical in hardware, software, and data.

[0119] The mirror node 120' created by step 305 can be used to analyze the cause of the abnormality of the edge node 120. In some embodiments, the mirror node 120' can simulate the tasks performed by the edge node 120 to reproduce the abnormality of the edge node 120 on the mirror node 120'. Specifically, the mirror node 120' can be configured so that the mirror node 120' reports edge data to the cloud management platform 110. The edge data may include business data that triggers edge alarms. In this way, the abnormality of the edge node 120 can be reproduced through the mirror node 120'. More specifically, the mirror node 120' can be instructed to collect business data of the business device 130 performing the business, so that the abnormality reflected by the edge data that triggered the edge alarm in step 303 can be reproduced on the mirror node 120'. In one example of this example, the business data generated by the business device 130 in step 300 can be copied from the business device 130. Then, in the cloud, the mirror node 120' is instructed to collect the copied business data, for example, the copied business data is sent to the mirror node 120', so that the mirror node 120' can collect the business data.

[0120] When mirror node 120' replicates an anomaly of edge node 120, relevant personnel can analyze mirror node 120' to quickly identify the cause of the anomaly. For example, when mirror node 120' collects business data, the performance or operating status of each component or software in mirror node 120' can be analyzed to identify components or software with abnormal performance or operation, thereby identifying the cause of the anomaly. For another example, when mirror node 120' replicates an anomaly of edge node 120, the cause of the anomaly can be identified through methods such as link tracing analysis.

[0121] In some embodiments, as described above, the edge data includes the collection result obtained by step 301a, and the collection result triggers a business alarm. There are two possible scenarios that may cause the collection result to trigger a business alarm. One possible scenario is that an abnormality occurs in the business device 130, resulting in an abnormality in the business data, which in turn causes the collection result to be an abnormal result that triggers a business alarm. Another possible scenario is that an abnormality occurs in the edge node 120, resulting in the edge node 120 being unable to correctly collect business data, thereby generating an erroneous collection result, so that when the business data is normal, the erroneous collection result triggers a business alarm. The mirror node 120' can be used to identify which of the two aforementioned scenarios the collection result triggers the business alarm, as described below.

[0122] The mirror node 120' can be instructed to collect the service data of the service device 130 to obtain the collection result. The specific implementation method of the mirror node 120' collecting the service data can be referred to the above introduction and will not be repeated here.

[0123] If the service data collection results obtained by mirror node 120' are consistent with the service data, it indicates that an anomaly has occurred in service device 130, meaning that the anomaly that caused the edge alarm occurred in service device 130. If the service data collection results obtained by mirror node 120' are inconsistent with the service data, it indicates that an anomaly has occurred in edge node 120, meaning that the anomaly that caused the edge alarm occurred in service device 130. This allows edge-side anomaly location to be determined, allowing relevant personnel to identify the anomaly's location and conduct analysis at that location to determine the cause of the anomaly.

[0124] In some embodiments, the configuration of mirror node 120' can be adjusted. Scenario simulations can then be performed using the adjusted mirror node 120' to identify a preferred configuration, such as one that resolves an abnormal configuration. After the preferred configuration is identified, the configuration of edge node 120 can be adjusted in step 205 based on the found preferred configuration. This can be achieved specifically through the following steps.

[0125] Continuing with Figure 4, the cloud management platform 110 may execute step 306 to adjust the configuration of the mirror node 120'. For example, the hardware specifications of the mirror node 120' may be adjusted. The cloud management platform 110 may adjust the hardware specifications of the hardware system 125' of the mirror node 120' to other hardware specifications within the cloud resources of the cloud infrastructure. For example, the software version of the operating system or application of the mirror node 120' may be adjusted. For example, the cloud management platform 110 may install a different version of the operating system or application on the mirror node 120'. The cloud management platform 110 may also adjust the settings of the operating system, application, or traffic model, and so on.

[0126] The adjusted mirror node 120' is used to collect service data of the service device 120. In step 307, the adjusted mirror node 120' can be instructed to collect service data of the service device 120 to obtain a collection result.

[0127] The mirror node 120' may execute step 307b to obtain the operating data of the mirror node 120' during the period of collecting service data. Detailed descriptions of step 301b may be referred to above and will not be repeated here.

[0128] Mirror node 120' may execute step 308 to send mirror edge data to cloud management platform 110. In one example, the mirror edge data may include the collection results obtained in step 307a. In one example, the mirror edge data may include the operating data obtained in step 307b. In one example, the mirror edge data may include the collection results obtained in step 307a and the operating data obtained in step 307b.

[0129] After acquiring the mirror edge data, if the cloud management platform 110 finds that the mirror edge data does not meet the edge alarm rules, it can execute step 309 to confirm that the mirror edge data does not trigger the edge alarm. For details, please refer to the above introduction to step 303 and will not be repeated here.

[0130] After step 309, the cloud management platform 110 can record the node configuration information of the adjusted mirror node 120'. If step 306 is implemented through the cloud management platform 110, the cloud management platform 110 can obtain the node configuration information of the adjusted mirror node 120'. The mirror edge node did not trigger the edge alarm, indicating that the adjusted mirror node 120' did not have any abnormalities during the scenario simulation, that is, the adjusted mirror node 120' has overcome the cause of the abnormality. The node configuration information of the adjusted mirror node 120' can be recorded so that the node configuration information of the adjusted mirror node 120' can be used to adjust the configuration of the edge node 120, so that the edge node 120 can also overcome the cause of the abnormality, thereby eliminating the abnormality.

[0131] The business management method provided by the embodiment of the present application can create a mirror node of the edge node in the cloud when an exception occurs during business data collection at the edge node. The mirror node can be used to reproduce the exception, so as to facilitate the quick discovery and full identification of the cause of the exception. In addition, the mirror node can be used to delimit or locate the exception, thereby identifying the location of the exception, and then analyzing the cause of the exception at that location. In short, the embodiment of the present application provides a business management method that can efficiently and accurately analyze the cause of the exception.

[0132] The embodiment of the present application also provides a service management method, as shown in FIG5 , which includes the following steps.

[0133] At step 400 , the service device 130 may execute a service.

[0134] During the execution of the service by the service setting device 130, the edge node 120 collects service data and obtains a collection result in step 401. For details, please refer to the above description of step 301a in FIG4, which will not be repeated here.

[0135] The edge node 120 can execute step 402 and use the collected results to monitor the service device 130. In one example, the edge node 120 can analyze the collected results to obtain the efficiency of the service device 130 in actually executing the service, and use the obtained efficiency to control the service device 130, such as increasing or decreasing the operating rate of the service device 130 to increase or decrease the efficiency of the service device 130 in executing the service. In another example, the collected results can be analyzed to obtain the operating status of the service device 130, and the obtained operating status can be used to control the service device 130. For example, if the analysis of the collected results reveals that the temperature of the tool of the service device 130 is high, the service device 130 can be controlled to reduce the tool speed or replace the tool. Etc., this application does not limit the specific operations of the edge node 120 in monitoring the service device 130.

[0136] Among them, edge node 120 runs multiple applications, that is, application 122 may include multiple applications. Different applications in these multiple applications are used to implement different functions or perform different steps. Some applications are used to perform step 401, and some applications are used to perform step 402. For ease of description, the application used to perform step 401 can be referred to as a data collection application, and the application used to perform step 402 can be referred to as a data analysis application.

[0137] It is understood that the execution of services by the service device 130 is a continuous process. Accordingly, during the execution of services by the service device 130, the data collection application continues to run, allowing the edge node 120 to continuously or repeatedly collect service data, and the data analysis application continues to run, allowing the edge node 120 to continuously or repeatedly execute step 402.

[0138] During the continuous operation of multiple applications such as data collection applications and data analysis applications on the edge node 120, the edge node 120 obtains the load of the edge node 120 and obtains load information B1. Then, through step 403, the load information B1 is sent to the cloud management platform 110.

[0139] Load information is used to represent or reflect the load of edge node 120. The load of edge node 120 may include the utilization rate of the hardware resources of edge node 120. Specifically, the load information may include at least one load metric, such as processor utilization, memory space utilization, disk space utilization, and disk bandwidth utilization of edge node 120. Load information may also include the operating status of the application. For example, the operating status of the application may include the application's response time to operations, the frequency of application downtime, and so on. It is understood that the operating status of the application is related to whether the hardware resources required by the application are sufficient. If the hardware resources required by the application are not supplied in a timely manner, the application's operating status is poor. Therefore, the operating status of the application can reflect the load of edge node 120.

[0140] The cloud management platform 110 may execute step 404 to determine whether the load of the edge node 120 is greater than a load threshold A1 based on the load information B1. When the load of the edge node 120 represented or reflected by the load information B1 is greater than the load threshold A1, it is confirmed that the load of the edge node 120 is greater than the load threshold A1 when executing steps 401 and 402.

[0141] The load threshold A1 may be a preset load threshold. Exemplarily, the load information includes at least one load indicator, and accordingly, the load threshold A1 may also include a threshold corresponding to the at least one load indicator, such as a preset processor utilization threshold (e.g., 95%), a memory space utilization threshold (e.g., 90%), a disk space utilization threshold (e.g., 90%), a disk bandwidth utilization threshold (e.g., 90%), an application response time threshold for an operation (e.g., 200% of a set response time), an application downtime frequency threshold (e.g., 1 time / minute), etc.

[0142] When all or some of the load indicators represented or reflected in load information B1 are greater than the thresholds of the corresponding load indicators in load threshold A1, it can be confirmed that the load of edge node 120 when executing steps 401 and 402 is greater than load threshold A1. For example, when load information B1 indicates that the processor utilization is greater than 95%, the application downtime frequency is greater than 1 time / minute, and the disk space utilization is greater than 90%, it is confirmed that the load of edge node 120 when executing steps 401 and 402 is greater than load threshold A1.

[0143] When it is confirmed that the load of the edge node 120 during the execution of steps 401 and 402 is greater than the load threshold A1, the cloud management platform 110 may execute step 405 to obtain the node configuration information of the edge node 120, and execute step 406 to create a mirror node 120 of the edge node 120 using the node configuration information of the edge node 120.

[0144] In some embodiments, steps 405 and 406 can be implemented with reference to the description of steps 304 and 305 in FIG. 4 , respectively. The relationship between mirror node 120″ and edge node 120 can be described with reference to the description of the relationship between mirror node 120′ and edge node 120. That is, in this embodiment, mirror node 120″ and edge node 120 have identical hardware and software configurations.

[0145] In some embodiments, the hardware system of the mirror node 120″ can be configured with reference to the method for configuring the hardware system 125′ in 406, and the operating system of the mirror node 120″ can be configured with reference to the method for configuring the operating system 124′ in 406. Then, the application that needs to be run by the mirror node 120″ is installed in the mirror node 120″ configured with the hardware system and operating system, such as the application 122 to be introduced below. The software version and settings of the application 122 installed in the mirror node 120″ and the application 122 installed in the edge node 120 are the same, so as to ensure that when the mirror node 120″ takes over the edge node 120 to run the application 122, the functions or tasks performed by the application 122 are not affected or are less affected.

[0146] After creating the mirror node 120", the cloud management platform 110 may instruct the mirror node 120 to take over the edge node 120 to run at least one application among the multiple applications included in the application 122, so that the mirror node 120 shares the load of the edge node 120 and reduces the load of the edge node 120. The specific implementation method may be as follows.

[0147] At least one application that the mirror node 120" takes over from the edge node 120 to run can be set to be application 1221 included in application 122. Referring to Figure 5, the cloud management platform 110 can instruct the mirror node 120" to run application 1221 through step 407a, and instruct the edge node 120 to deactivate application 1221 through step 407b. In step 407a, the cloud management platform 110 can send a control instruction for enabling application 1221 to the mirror node 120". The mirror node 120" can respond to the control instruction and start running application 1221. In step 407b, the cloud management platform 110 can send a control instruction for deactivating application 1221 to the edge node 120. The edge node 120 can respond to the control instruction and stop the cloud from running application 1221, for example, by using a safe start-stop method to shut down application 1221. In this way, the mirror node 120" can take over from the edge node 120 to run application 122.

[0148] In some embodiments, application 1221 is an application that has a high demand for one or more hardware resources among the multiple applications included in application 122. For example, application 1221 is an application that has the highest demand for processor resources among the multiple applications. For another example, application 1221 is an application that has the highest demand for disk resources among the multiple applications. And so on.

[0149] In this embodiment, the mirror node 120″ takes over the edge node 120 to run applications with high hardware resource requirements, thereby effectively reducing the load of the edge node 120.

[0150] In some embodiments, as described above, application 122 includes a data collection application and a data analysis application. Among them, the data collection application collects business data of the business device 130 performing business, and the distance between the edge node 120 and the business device 130 may affect the collection effect. The data analysis application is used for data analysis, and the functional implementation effect of the data analysis application has little or no relationship with the distance between the edge node 120 and the business device 130. Therefore, the data analysis application can be used as application 1221 and handed over to the mirror node 120" for operation, thereby reducing the load on the edge node 120 while reducing the impact of the mirror node 120" taking over the edge node 120 to run the application on the function of the edge node 120.

[0151] In some embodiments, when the mirror node 120″ takes over the edge node 120 to run the application 122, the load of the edge node 120 is obtained to obtain the load information B2. Then, in step 408, the load information B2 is sent to the cloud management platform 110.

[0152] The cloud management platform 110 may execute step 409 to determine whether the load of the edge node 120 is less than a load threshold A2 based on the load information B2. When the load of the edge node 120 represented or reflected by the load information B2 is less than the load threshold A2, it is determined that the load of the edge node 120 is less than the load threshold A2 during the period when the mirror node 120 takes over the execution of the application 122 from the edge node 120.

[0153] The implementation of the load threshold A2 can refer to the above introduction of the load threshold A1. The load threshold A2 is less than or equal to the load threshold A1.

[0154] When the load of edge node 120 is less than load threshold A2, it indicates that the load of edge node 120 is relatively light, and mirror node 120″ is no longer required to share the load of edge node 120. At this time, cloud management platform 110 can instruct edge node 120 to resume running application 1221, and instruct mirror node 120″ to deactivate application 1221, as follows.

[0155] In step 410a, the cloud management platform 110 may send a control instruction to the edge node 120 for enabling the application 1221. The edge node 120 may respond to the control instruction and resume running the application 1221. In step 410b, the cloud management platform 110 may send a control instruction to the mirror node 120″ for disabling the application 1221. The mirror node 120″ may respond to the control instruction and stop running the application 1221.

[0156] When or after the mirror node 120 ″ stops running the application 1221 , the cloud management platform 110 may execute step 411 to release the cloud resources occupied by the mirror node 120 ″, thereby avoiding unnecessary occupation of cloud resources and reducing waste of cloud resources.

[0157] The business management method provided in the embodiment of the present application can create a mirror node in the cloud when the edge node is heavily loaded, and the mirror node runs some applications of the edge node, so that the mirror node can share the burden of the edge node, thereby reducing the load of the edge node and ensuring that the functions undertaken or tasks performed by the edge node can be smoothly executed.

[0158] Based on the service management method described above, embodiments of the present application provide a cloud-based service management method. This method is applied to a cloud management platform, which manages cloud infrastructure. The cloud infrastructure is connected to edge nodes via a network. The edge nodes collect service data from service devices, which are used to execute services. As shown in Figure 6, this method includes the following steps.

[0159] In step 501, the cloud management platform receives first data sent by the edge node, wherein the first data includes the service data of the service device and / or the operation data of the edge node. For details, please refer to the above description of steps 301a, 301b, and 302 in FIG.

[0160] In step 502, the cloud management platform determines whether the first data triggers an edge alarm based on the configured alarm rules. The edge alarm is used to indicate that the first data is abnormal. For details, please refer to the above description of step 303 in FIG. 4 .

[0161] In step 503, when the first data triggers the edge alarm, the cloud management platform obtains the configuration information of the edge node. For details, please refer to the above description of step 304 in FIG.

[0162] In step 504, the cloud management platform uses the configuration information to create a first mirror node of the edge node, and the first mirror node is set on the cloud infrastructure. For details, please refer to the above description of step 305 in Figure 4.

[0163] Step 505: The cloud management platform configures the first mirror node to receive edge data, where the edge data includes business data when the edge alarm is triggered.

[0164] In some embodiments, the edge alarm includes a business alarm, and determining whether the first data triggers the edge alarm according to the set alarm rules includes: when the business data is outside the preset business data range, determining that the business data triggers the business alarm

[0165] In some embodiments, the operating data of the edge node includes operating parameters of hardware of the edge node, the edge alarm includes a hardware alarm, and determining whether the first data triggers the edge alarm according to the set alarm rule includes: when the operating parameters of the hardware are outside a preset operating parameter range, determining that the operating parameters of the hardware trigger the hardware alarm;

[0166] In some embodiments, the operating data of the edge node includes the operating status of the application of the edge node, the edge alarm includes an application alarm, and determining whether the first data triggers the edge alarm according to the set alarm rules includes: when the operating status of the application is an abnormal operating status, determining that the application status of the application triggers the application alarm.

[0167] In some embodiments, the node configuration information includes one or any combination of hardware specifications, operating system version, application version, log, and traffic model version of the edge node.

[0168] In some embodiments, the cloud management platform configures the first mirror node to receive edge data, including: the cloud management platform adjusts the configuration of the first mirror node; wherein the adjusted first mirror node is used to collect business data of the business device; the cloud management platform receives second data sent by the adjusted first mirror node, wherein the second data includes the business data of the business device and / or the operation data of the adjusted first mirror node; when the second data does not trigger the edge alarm, the cloud management platform records the node configuration information of the adjusted first mirror node, wherein the adjusted node configuration information of the first mirror node is used to adjust the configuration of the edge node. For details, please refer to the above introduction to steps 306-310 in Figure 3.

[0169] In some embodiments, the edge node runs multiple applications, and the method further includes: the cloud management platform receiving first load information of the edge node from the edge node; when the first load information indicates that the load of the edge node is greater than a first load threshold, the cloud management platform using the configuration information to create a second mirror node for the edge node, the second mirror node being set on the cloud infrastructure; and the cloud management platform instructing the second mirror node to take over the execution of at least one of the multiple applications from the edge node. For details, please refer to the above description of steps 403-407a and 407b in Figure 5.

[0170] In one example of this embodiment, the method further includes: the cloud management platform receiving second load information of the edge node from the edge node; when the second load information indicates that the load of the edge node is less than a second load threshold, the cloud management platform instructing the edge node to resume running the at least one application, wherein the second load threshold is less than or equal to the first load threshold. For details, please refer to the above description of steps 408 to 411 in Figure 5.

[0171] In some embodiments, the business device includes a machine tool, and the business data includes at least one of the production speed, current, tool speed, and tool temperature of the machine tool.

[0172] In some embodiments, the service device includes a sensor, and the service data includes data detected by the sensor. Detailed implementation can be found in the above description of the service device 130 .

[0173] The business management method provided by the embodiment of the present application can create a mirror node of the edge node in the cloud when an exception occurs during business data collection at the edge node. The mirror node can be used to reproduce the exception, so as to facilitate the quick discovery and full identification of the cause of the exception. In addition, the mirror node can be used to delimit or locate the exception, thereby identifying the location of the exception, and then analyzing the cause of the exception at that location. In short, the embodiment of the present application provides a business management method that can efficiently and accurately analyze the cause of the exception.

[0174] The embodiment of the present application also provides a cloud management platform 600. The cloud management platform 600 is used to manage cloud infrastructure. The cloud infrastructure and edge nodes are connected via a network. The edge nodes are used to collect business data of business devices, and the business devices are used to execute business. As shown in Figure 7, the cloud management platform 600 includes:

[0175] The communication module 610 is configured to receive first data sent by the edge node, where the first data includes service data of the service device and / or operation data of the edge node;

[0176] an alarm module 620, configured to determine, based on a set alarm rule, whether the first data triggers an edge alarm, wherein the edge alarm is used to indicate that an abnormality occurs in the first data;

[0177] an acquisition module 630, configured to acquire configuration information of the edge node when the first data triggers the edge alarm;

[0178] A creation module 640 is configured to create a first mirror node of the edge node using the configuration information, where the first mirror node is set on the cloud infrastructure;

[0179] The configuration module 650 is configured to configure the first mirror node to receive edge data, where the edge data includes business data when the edge alarm is triggered.

[0180] The communication module 610 and the creation module 620 can be implemented in software or hardware. For example, the implementation of the communication module 610 will be described below using the communication module 610 as an example. Similarly, the implementation of the alarm module 620, the acquisition module 630, the creation module 640, and the configuration module 650 can refer to the implementation of the communication module 610.

[0181] As an example of a software functional unit, the communication module 610 may include code running on a computing instance. The computing instance may include at least one of a physical host (computing device), a virtual machine, and a container. Furthermore, the computing instance may be one or more. For example, the communication module 610 may include code running on multiple hosts / virtual machines / containers. It should be noted that the multiple hosts / virtual machines / containers used to run the code may be distributed in the same region or in different regions. Furthermore, the multiple hosts / virtual machines / containers used to run the code may be distributed in the same availability zone (AZ) or in different AZs, each AZ including one data center or multiple geographically close data centers. Typically, a region may include multiple AZs.

[0182] Similarly, multiple hosts / virtual machines / containers running the code can be distributed within the same virtual private cloud (VPC) or across multiple VPCs. Typically, a VPC is set up within a region. Cross-region communication between two VPCs within the same region, or between VPCs in different regions, requires a communication gateway within each VPC to interconnect the VPCs.

[0183] As an example of a hardware functional unit, the communication module 610 may include at least one computing device, such as a server. Alternatively, the communication module 610 may be implemented using an application-specific integrated circuit (ASIC) or a programmable logic device (PLD). The PLD may be a complex programmable logical device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.

[0184] The multiple computing devices included in the communication module 610 can be distributed in the same region or in different regions. The multiple computing devices included in the communication module 610 can be distributed in the same AZ or in different AZs. Similarly, the multiple computing devices included in the communication module 610 can be distributed in the same VPC or in multiple VPCs. The multiple computing devices can be any combination of servers, ASICs, PLDs, CPLDs, FPGAs, GALs, and other computing devices.

[0185] It should be noted that, in other embodiments, the communication module 610 can be used to execute any step in the method shown in FIG6 , the alarm module 620 can be used to execute any step in the method shown in FIG6 , the acquisition module 630 can be used to execute any step in the method shown in FIG6 , the creation module 640 can be used to execute any step in the method shown in FIG6 , and the configuration module 650 can be used to execute any step in the method shown in FIG6 . The steps that the communication module 610, the alarm module 620, the acquisition module 630, the creation module 640, and the configuration module 650 are responsible for implementing can be specified as needed. By having the communication module 610, the alarm module 620, the acquisition module 630, the creation module 640, and the configuration module 650 respectively implement different steps in the method shown in FIG6 , all functions of the cloud management platform 600 are realized.

[0186] The present application also provides a computing device 700. As shown in FIG8 , computing device 700 includes a bus 702, a processor 704, a memory 706, and a communication interface 708. Processor 704, memory 706, and communication interface 708 communicate with each other via bus 702. Computing device 700 can be a server or a terminal device. It should be understood that the present application does not limit the number of processors and memories in computing device 700.

[0187] Bus 702 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, among others. Buses may be classified as address buses, data buses, control buses, and the like. For ease of illustration, FIG8 illustrates a single bus line, but this does not imply a single bus or type of bus. Bus 702 may include a path for transmitting information between various components of computing device 700 (e.g., memory 706, processor 704, and communication interface 708).

[0188] The processor 704 may include any one or more processors such as a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).

[0189] The memory 706 may include volatile memory, such as random access memory (RAM), or non-volatile memory, such as read-only memory (ROM), flash memory, hard disk drive (HDD), or solid state drive (SSD).

[0190] The memory 706 stores executable program code, and the processor 704 executes the executable program code to respectively implement the functions of the aforementioned communication module 610, alarm module 620, acquisition module 630, creation module 640, and configuration module 650, thereby implementing the method shown in Figure 6. In other words, the memory 706 stores instructions for executing the method shown in Figure 6.

[0191] The communication interface 708 uses a transceiver module such as, but not limited to, a network interface card or a transceiver to implement communication between the computing device 700 and other devices or a communication network.

[0192] Embodiments of the present application also provide a computing device cluster. The computing device cluster includes at least one computing device. The computing device can be a server, such as a central server, an edge server, or a local server in a local data center. In some embodiments, the computing device can also be a terminal device such as a desktop computer, a laptop computer, or a smartphone.

[0193] As shown in Figure 9 , the computing device cluster includes at least one computing device 700. The memory 706 in one or more computing devices 700 in the computing device cluster may store the same instructions for executing the method shown in Figure 6 .

[0194] In some possible implementations, the memory 706 of one or more computing devices 700 in the computing device cluster may also respectively store some instructions for executing the method shown in Figure 6. In other words, the combination of one or more computing devices 700 can jointly execute the instructions for executing the method shown in Figure 6.

[0195] It should be noted that the memory 706 in different computing devices 700 in the computing device cluster may store different instructions, each for executing a portion of the functions of the cloud management platform 600. That is, the instructions stored in the memory 706 in different computing devices 700 may implement the functions of one or more of the communication module 610, the alarm module 620, the acquisition module 630, the creation module 640, and the configuration module 650.

[0196] In some possible implementations, one or more computing devices in a computing device cluster may be connected via a network. The network may be a wide area network (WAN) or a local area network (LAN), etc. FIG. 10 illustrates a possible implementation. As shown in FIG. 10 , two computing devices 700A and 700B are connected via a network. Specifically, the network is connected via a communication interface in each computing device. In this type of possible implementation, the memory 706 in the computing device 700A stores instructions for executing the functions of the communication module 610 and the alarm module 620. Simultaneously, the memory 706 in the computing device 700B stores instructions for executing the functions of the fetch module 630, the creation module 640, and the configuration module 650.

[0197] It should be understood that the functionality of the computing device 700A shown in FIG10 may also be implemented by multiple computing devices 700. Similarly, the functionality of the computing device 700B may also be implemented by multiple computing devices 700.

[0198] The present application also provides another computing device cluster. The connection relationship between the computing devices in this computing device cluster can be similar to the connection method of the computing device cluster described in Figures 9 and 10. However, the memory 706 in one or more computing devices 700 in this computing device cluster can store the same instructions for executing the method shown in Figure 6.

[0199] In some possible implementations, the memory 706 of one or more computing devices 700 in the computing device cluster may also respectively store some instructions for executing the method shown in Figure 6. In other words, the combination of one or more computing devices 700 can jointly execute the instructions for executing the method shown in Figure 6.

[0200] The present application also provides a computer program product comprising instructions. The computer program product may be software or a program product comprising instructions that can be run on a computing device or stored in any available medium. When the computer program product is run on at least one computing device, the at least one computing device executes the method shown in FIG6 .

[0201] The present application also provides a computer-readable storage medium. The computer-readable storage medium can be any available medium that can be stored by a computing device, or a host migration device such as a data center that includes one or more available media. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive). The computer-readable storage medium includes instructions that instruct the computing device to execute the method shown in FIG6 .

[0202] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the protection scope of the technical solutions of the embodiments of the present application.

Claims

1. A cloud-based edge business management method. It is characterized in that The method is applied to a cloud management platform, the cloud management platform is used to manage cloud infrastructure, the cloud infrastructure and edge nodes are connected via a network, the edge nodes are used to collect business data of business devices, the business devices are used to execute business, and the method includes: The cloud management platform receives first data sent by the edge node, where the first data includes business data of the business device and / or operation data of the edge node; The cloud management platform determines, according to a set alarm rule, whether the first data triggers an edge alarm, where the edge alarm is used to indicate that an abnormality occurs in the first data; When the first data triggers the edge alarm, the cloud management platform obtains configuration information of the edge node; The cloud management platform creates a first mirror node of the edge node using the configuration information, and the first mirror node is set on the cloud infrastructure; The cloud management platform configures the first mirror node to receive edge data, where the edge data includes business data when the edge alarm is triggered.

2. The method according to claim 1, It is characterized in that The edge alarm includes a service alarm, and the determining whether the first data triggers the edge alarm according to the set alarm rule includes: when the service data is outside a preset service data range, determining that the service data triggers the service alarm; or, The operation data of the edge node includes an operation parameter of the hardware of the edge node, the edge alarm includes a hardware alarm, and determining whether the first data triggers the edge alarm according to the set alarm rule includes: when the operation parameter of the hardware is outside a preset operation parameter range, determining that the operation parameter of the hardware triggers the hardware alarm; or, The running data of the edge node includes the running status of the application of the edge node, the edge alarm includes an application alarm, and determining whether the first data triggers the edge alarm according to the set alarm rules includes: when the running status of the application is an abnormal running status, determining that the application status of the application triggers the application alarm.

3. The method according to claim 1 or 2, It is characterized in that The node configuration information includes one or any combination of the hardware specifications, operating system version, application version, log, and traffic model version of the edge node.

4. The method according to any one of claims 1 to 3, It is characterized in that The cloud management platform configuring the first mirror node to receive edge data includes: The cloud management platform adjusts the configuration of the first mirror node; wherein the adjusted first mirror node is used to collect business data of the business device; The cloud management platform receives second data sent by the adjusted first mirror node, where the second data includes business data of the business device and / or operation data of the adjusted first mirror node; When the second data does not trigger the edge alarm, the cloud management platform records the adjusted node configuration information of the first mirror node, wherein the adjusted node configuration information of the first mirror node is used to adjust the configuration of the edge node.

5. The method according to any one of claims 1 to 4, It is characterized in that The edge node runs multiple applications, and the method further includes: The cloud management platform receives first load information of the edge node from the edge node; When the first load information indicates that the load of the edge node is greater than a first load threshold, the cloud management platform creates a second mirror node of the edge node using the configuration information, and the second mirror node is set on the cloud infrastructure; The cloud management platform instructs the second mirror node to take over the edge node to run at least one application among the multiple applications.

6. The method according to claim 5, It is characterized in that The method further comprises: The cloud management platform receives second load information of the edge node from the edge node; When the second load information indicates that the load of the edge node is less than a second load threshold, the cloud management platform instructs the edge node to resume running the at least one application, wherein the second load threshold is less than or equal to the first load threshold.

7. The method according to any one of claims 1 to 6, It is characterized in that The business equipment includes a machine tool, and the business data includes at least one of a production speed, a current, a tool rotation speed, and a tool temperature of the machine tool; or, The service device includes a sensor, and the service data includes data detected by the sensor.

8. A cloud management platform, It is characterized in that The cloud management platform is used to manage cloud infrastructure, the cloud infrastructure and edge nodes are connected via a network, the edge nodes are used to collect business data of business devices, the business devices are used to execute business, and the cloud management platform includes: A communication module, configured to receive first data sent by the edge node, wherein the first data includes service data of the service device and / or operation data of the edge node; an alarm module, used to determine whether the first data triggers an edge alarm according to a set alarm rule, wherein the edge alarm is used to indicate that the first data is abnormal; an acquisition module, configured to acquire configuration information of the edge node when the first data triggers the edge alarm; A creation module, configured to create a first mirror node of the edge node using the configuration information, wherein the first mirror node is set on the cloud infrastructure; A configuration module is used to configure the first mirror node to receive edge data, where the edge data includes business data when the edge alarm is triggered.

9. The cloud management platform according to claim 8, It is characterized in that The edge alarm includes a service alarm, and the alarm module is used to: when the service data is outside a preset service data range, determine that the service data triggers the service alarm; The operation data of the edge node includes the operation parameters of the hardware of the edge node, the edge alarm includes a hardware alarm, and the alarm module is used to: when the operation parameters of the hardware are outside a preset operation parameter range, determine that the operation parameters of the hardware trigger the hardware alarm; or, The running data of the edge node includes the running state of the application of the edge node, the edge alarm includes an application alarm, and the alarm module is used to: when the running state of the application is an abnormal running state, determine that the application state of the application triggers the application alarm.

10. The cloud management platform according to claim 8 or 9, It is characterized in that The node configuration information includes one or any combination of the hardware specifications, operating system version, application version, log, and traffic model version of the edge node.

11. The cloud management platform according to any one of claims 8 to 10, It is characterized in that The configuration module is also used for: the cloud management platform to adjust the configuration of the first mirror node; wherein the adjusted first mirror node is used to collect the business data of the business device; The communication module is further used to: receive second data sent by the adjusted first mirror node, where the second data includes service data of the service device and / or operation data of the adjusted first mirror node; The acquisition module is further used for: when the second data does not trigger the edge alarm, recording the adjusted node configuration information of the first mirror node, wherein the adjusted node configuration information of the first mirror node is used to adjust the configuration of the edge node.

12. The cloud management platform according to any one of claims 8 to 11, It is characterized in that The edge node runs multiple applications; The communication module is also used to: receive first load information of the edge node from the edge node; The creation module is further used to: when the first load information indicates that the load of the edge node is greater than a first load threshold, create a second mirror node of the edge node using the configuration information, wherein the second mirror node is set on the cloud infrastructure; The communication module is also used for: The second mirror node is instructed to take over the execution of at least one application among the plurality of applications by the edge node.

13. The cloud management platform according to claim 12, It is characterized in that The communication module is also used for: receiving second load information of the edge node from the edge node; When the second load information indicates that the load of the edge node is less than a second load threshold, the edge node is instructed to resume running the at least one application, wherein the second load threshold is less than or equal to the first load threshold.

14. A computing device cluster, It is characterized in that comprising at least one computing device, each computing device comprising a processor and a memory; The processor of the at least one computing device is configured to execute instructions stored in the memory of the at least one computing device, so that the computing device cluster executes the method according to any one of claims 1 to 7.

15. A computer-readable storage medium, It is characterized in that The method comprises computer program instructions, and when the computer program instructions are executed by a computing device cluster, the computing device cluster performs the method as claimed in any one of claims 1 to 7.

16. A computer program product comprising instructions, It is characterized in that When the instructions are executed by a computer device cluster, the computer device cluster executes the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Equipment access method, related platform and computer storage medium

    CN114448673A

  • System and method for automatically monitoring application process in edge device container

    CN115080338A

  • System operation and maintenance management method and device and electronic equipment

    CN115297124A

  • End-cloud cooperation system, method and device of Internet of Things platform and edge gateway

    CN115695470A

  • Performance tuning method for cloud service and cloud management platform

    CN115801575A

Cited By

  • Industrial production equipment abnormity tracing method and system based on cloud side-end cooperation

    CN119254596A