Service management method based on cloud technology and cloud management platform

By creating mirror nodes in the cloud to reproduce edge node anomalies, the problem of low edge node anomaly analysis efficiency in the existing technology is solved, efficient and accurate anomaly cause analysis is achieved, and the necessity of on-site adjustments is avoided.

CN118869433APending Publication Date: 2024-10-29HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310861120.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-04-28
Filing Date
2023-07-13
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

In the existing technology, when an abnormality occurs in an edge node, professionals are required to go to the site for analysis, which is time-consuming and labor-intensive and has low detection efficiency, making it difficult to accurately discover the cause of the abnormality.

Method used

Create a mirror node in the cloud, use the mirror node to reproduce the abnormality of the edge node, and analyze the cause of the abnormality efficiently and accurately.

Benefits of technology

Through the recurrence and analysis of mirror nodes, the causes of abnormalities can be quickly and comprehensively discovered, which improves the efficiency of abnormal analysis, avoids the need for on-site adjustments, and reduces costs and time consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118869433A_ABST
    Figure CN118869433A_ABST
Patent Text Reader

Abstract

The invention discloses a service management method based on a cloud technology and a cloud management platform, which can be applied to the field of edge service management. The method comprises the following steps: a cloud management platform receives first data sent by an edge node, wherein the first data comprises service data of service equipment and / or operation data of the edge node; the cloud management platform determines whether the first data triggers an edge alarm according to a set alarm rule, wherein the edge alarm is used for indicating that the first data is abnormal; when the first data triggers an edge alarm, the cloud management platform obtains configuration information of an edge node; the cloud management platform creates a first mirror image node of the edge node by using the configuration information, wherein the first mirror image node is arranged on the cloud infrastructure; the cloud management platform configures a first mirror node to receive edge data, wherein the edge data comprises service data when an edge alarm is triggered. The method can efficiently and accurately analyze the abnormal reason.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] Edge nodes located at business sites such as factory workshops can monitor and control business equipment (for example, machine tools) nearby. For example, they can collect and analyze business data of business equipment to determine the operating status of business equipment.

[0003] Since edge nodes are located at the business site, when an abnormality occurs at the edge node, professionals are usually required to go to the business site to analyze the edge node to find the cause of the abnormality. Going to the business site itself is time-consuming and labor-intensive, and the detection efficiency is low. Summary of the invention

[0004] 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.

[0005] 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 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, and the edge data includes business data when the edge alarm is triggered.

[0006] 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.

[0007] In one possible implementation, 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 a preset business data range, determining that the business data triggers the business alarm; or, the operating data of the edge node includes operating parameters of the hardware of the edge node, and the edge alarm includes a hardware alarm. Determining whether the first data triggers the edge alarm according to the set alarm rules 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; 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. 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.

[0008] In this implementation, by determining whether the service data triggers a service alarm, it is possible to determine whether an abnormality has occurred in the service execution of the service device, thereby locating the abnormality, and further analyzing the abnormality in a targeted manner, thereby improving the efficiency of abnormality analysis.

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

[0010] In this implementation, it is also possible to determine whether an application alarm is 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, thereby locating the abnormality, and then purposefully analyzing the abnormality to determine whether the edge node is running abnormally, thereby improving the efficiency of abnormality analysis.

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

[0012] 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 a mirror node with the same hardware specifications, operating system version, application version, log, and traffic model version as the edge node or any combination of them.

[0013] 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 includes the business data of the business equipment and / or the operation 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.

[0014] In this implementation, the configuration of the first mirror node can be adjusted, and it is determined whether an exception occurs when the first mirror node after the configuration is adjusted collects business data. If no exception occurs, it indicates that the adjusted configuration of the first mirror node effectively avoids the occurrence of the exception. Based on the adjusted configuration, the configuration of the edge node is adjusted so that the edge node can also avoid the occurrence of the exception, thereby effectively solving the exception.

[0015] Moreover, the configuration adjustment is performed on the first mirror node in the cloud, and there is no need to repeatedly adjust the edge node at the business site to obtain a configuration that can avoid abnormalities.

[0016] In one possible implementation, the edge node runs multiple applications, and the method also 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.

[0017] In this implementation, when the load of 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.

[0018] In one possible implementation, the method also includes: 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 at least one application, wherein the second load threshold is less than or equal to the first load threshold.

[0019] 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, so as to avoid unnecessary occupation of cloud resources and reduce waste of cloud resources.

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

[0021] 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, which facilitates the analysis and resolution of edge node anomalies in these business scenarios.

[0022] 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 devices. The business devices are used to execute business. The cloud management platform includes: a communication module, which is used to receive first data sent by the edge node, and the first data includes business data of the business device and / or operation data of the edge node; an alarm module, which is used to determine 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, which is used to acquire configuration information of the edge node when the first data triggers the edge alarm; a creation module, which is used to create 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, which is used to configure the first mirror node to receive edge data, and the edge data includes business data when the edge alarm is triggered.

[0023] 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 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, 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.

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

[0025] In a possible implementation, the configuration module is also used for: 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 communication module is also used for: receiving second data sent by the adjusted first mirror node, the second data includes the business data of the business device and / or the operation data of the adjusted first mirror node; the acquisition module is also used for: when the second data does not trigger an edge alarm, recording 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.

[0026] In one possible implementation, 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 also 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 also used to: instruct the second mirror node to take over the edge node to run at least one application among the multiple applications.

[0027] In one possible implementation, the communication module is also used to: receive 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, 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.

[0028] 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 executes the method provided in the first aspect.

[0029] 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.

[0030] 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.

[0031] 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

[0032] Figure 1 A schematic diagram of a cloud-edge-end network architecture;

[0033] Figure 2 A schematic diagram of a system architecture provided for an embodiment of the present application;

[0034] Figure 3 A flowchart of a business management method provided in an embodiment of the present application;

[0035] Figure 4 A flowchart of a business management method provided in an embodiment of the present application;

[0036] Figure 5 A flowchart of a business management method provided in an embodiment of the present application;

[0037] Figure 6 A flowchart of a business management method provided in an embodiment of the present application;

[0038] Figure 7 A schematic diagram of the structure of a cloud management platform provided in an embodiment of the present application;

[0039] Figure 8 A schematic diagram of the structure of a computing device provided in an embodiment of the present application;

[0040] Fig. 9 A schematic diagram of the structure of a computing device cluster provided in an embodiment of the present application;

[0041] Fig.10 A schematic diagram of the structure of a computing device cluster provided in an embodiment of the present application. DETAILED DESCRIPTION

[0042] The scheme provided by the embodiment of the present application is described below in conjunction with the accompanying drawings. Wherein, "multiple" means two or more than two.

[0043] See also Figure 1 The control center located in the cloud can perform edge computing, data access, application operation and other actions through edge nodes, so as to realize the local monitoring and control of business equipment at the business site. Whether the edge node can operate normally is the key factor for whether the business equipment can perform business normally. Therefore, when an abnormality occurs in the edge node, it is necessary to timely analyze the cause of the abnormality of the edge node in order to obtain a targeted abnormality solution.

[0044] In one solution, when an edge node is found to be abnormal, the cloud application performance management (APM) service is used to analyze the logs reported by the edge node to find the cause of the abnormality. Due to the large amount of log data reported by the edge node, the efficiency of analyzing the logs is low, and it is difficult to quickly locate the cause of the abnormality.

[0045] In another solution, the hardware, operating system, application, and traffic model of the edge node are checked one by one at the edge node, that is, at the business site, to find the cause of the abnormality. This solution requires professionals to go to the business site, which is time-consuming and labor-intensive.

[0046] In addition, both of the above solutions are post-tracing solutions that trace the cause after the exception occurs, which makes it difficult to reproduce the exception and thus to accurately find the root cause of the exception. In particular, there may be multiple factors that cause the edge node exception. For example, the exception may be related to the edge node's hardware, application, operating system, and business traffic model. Finding the cause of the exception through post-tracing solutions may miss one or more of the multiple causes of the exception, resulting in the exception not being fundamentally resolved.

[0047] 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 the edge alarm indicating the abnormality of edge data is triggered. Among them, the mirror node can be used to analyze the causes of abnormalities in the edge node in the cloud, and realize efficient and accurate analysis of the causes of abnormalities. In addition, the abnormalities of the edge node can also be reproduced 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 abnormalities of the edge node in the mirror node, so as to analyze the causes of the abnormalities.

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

[0049] First, some 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.

[0050] Cloud technology refers to the general term for network technology, information technology, integration technology, management platform technology, and application technology based on cloud computing. Cloud technology can unify a series of resources such as hardware, software, and network in a wide area network or local area network to achieve managed services such as data computing, storage, processing, and sharing. The resources in cloud technology can form a resource pool, and the resources in the resource pool can be used on demand. Among them, public cloud is a common cloud technology, which refers to a cloud that a third-party provider provides to users. Public cloud is generally available through the Internet and may be free or low-cost. There are many instances of this cloud, which can provide services throughout the open public network.

[0051] Cloud infrastructure: The facilities that support cloud computing services include at least one data center. Each data center includes multiple servers. Computing instances such as virtual machines or containers run on the servers to achieve 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.

[0052] Cloud management platform: A platform provided by cloud service providers for interacting with users. Users can manage corresponding infrastructure or nodes, such as cloud infrastructure, edge nodes, etc. through the cloud management platform.

[0053] Cloud resources: refers to instances deployed in the infrastructure for running public cloud services. The cloud instances are used to provide instances of computing, network, or storage resources. Cloud instances include but are not limited to services such as 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, etc., where computing instances can be implemented through virtual machines, containers, etc.

[0054] Business equipment refers to equipment used to perform business. For example, if the business is to produce products, the business equipment can be machine tools or production lines for producing products. For example, if the business is to monitor the conditions of product production sites, the business equipment can be sensors such as cameras, temperature sensors, and humidity sensors.

[0055] Edge nodes refer to devices used to monitor and / or control business equipment. Specifically, edge nodes can collect business data of business equipment performing business, and analyze the operating status of business equipment, the environmental conditions of 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 business equipment, the environmental conditions of 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 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 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.

[0056] The traffic model, also known as the task model, is used to indicate the specific tasks to be performed by the relevant equipment or application. Among them, the traffic model of the edge node is used to instruct the edge node to perform tasks such as data collection, data reporting or data analysis. For example, the traffic model can instruct the edge node which data to collect, report or analyze, and collect data, report data or analyze data according to a preset frequency.

[0057] Operational data: data that reflects or indicates the operating status of a device or component. For example, the operating data of an edge node refers to data that reflects the operating status of the edge node, which may include the operating parameters of the edge node's hardware, the operating status of the application, etc.

[0058] 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.

[0059] like Figure 2 As shown, the system architecture 100 includes: an edge node 120, a business device 130, a cloud infrastructure, and a cloud management platform 110 for managing the cloud infrastructure.

[0060] The business device 130 is used to perform business. In one example, the business device 130 is a machine tool, which is used to perform the business of producing products. In one example, the business device 130 is a sensor, which is used to perform the business of environmental detection. For example, the business device 130 can be a temperature sensor, which is used to perform the business of detecting environmental temperature. For another example, the business device 130 is a humidity sensor, which is used to perform the business of detecting environmental humidity.

[0061] The data related to the business executed by 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 executed by 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.

[0062] The edge node 120 can collect the business data of the business device 130 executing the business and obtain the 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.

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

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

[0065] like Figure 2As shown, the edge node 120 includes a hardware system 125 and an operating system 124. The hardware system 125 and the operating system 124 support the traffic module 121, application 122 and middleware 123 of the edge node 120. Among them, the traffic model 121 is used to indicate the specific tasks to be performed by the edge node 120, such as instructing the edge node 120 to collect business data of the business device 130 to perform the business, and instructing the edge node 120 to collect data according to the preset collection frequency. Application 122 is one or more applications. Among them, the application 122 may include a data collection application for calling the relevant resources (such as communication interface, processor, etc.) of the edge node 120 to collect business data. In an example, the application 122 also includes a data analysis application for analyzing the collected business data. In one example of this example, the data analysis application can be an application based on artificial intelligence (AI). In an example, the application 122 can also include a log application, which can be used to collect and store logs (log) of various components or software of the edge node 120. The middleware 123 is used for the edge node 120 to communicate with the outside world. For example, through the middleware 123, the edge node 120 can receive the business data sent by the business device 130 to realize data collection. For another example, through the middleware 123, the edge node 120 can send edge data to the cloud management platform 110. Among them, edge data refers to the data sent by the edge node to the cloud, which may include the collection results of the business data collected by the edge node, and may also include the operating data of the edge node. The operating data of the edge node refers to the data reflecting the operating status of the edge node, which may include the operating parameters of the hardware of the edge node, the operating status of the application, etc.

[0066] 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 or disk, the computing frequency of the processor, the read and write speed of the memory or disk, etc.

[0067] In some embodiments, the running state of the application can be divided into a normal running state and an abnormal running state. The normal running state means that the expected functions can be realized according to the relevant operations. Among them, the abnormal running state is a state other than the normal running state, for example, the abnormal running state includes the application stuck state, the state of several functional failures, the application flashing back, etc.

[0068] Continue reading Figure 2The 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 .

[0069] Among them, the communication module 111 is used to receive edge data. When the condition reflected by the edge data is an abnormal condition, the alarm module 112 can issue an edge alarm to prompt the edge node 120 that an abnormality has occurred. 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 specifically introduced below and will not be repeated here.

[0070] 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.

[0071] After the acquisition module 113 acquires the node configuration information of the edge node 120, the creation module 114 can create a mirror node 120' of the edge node 120 on the cloud infrastructure according to the node configuration information of the edge node 120. That is, the created mirror node 120' is set on the cloud infrastructure. The node configuration information of the created mirror node 120' is the same as the node configuration information of the edge node 120. In short, the mirror node 120' is the same as the edge node 120.

[0072] 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 , and further enable the cloud management platform 110 to obtain business data from the mirror node 120 ′.

[0073] The mirror node 120' can be used to analyze the cause of the abnormality of the edge node 120. For example, the mirror node 120' is used to perform a scenario simulation. During the scenario simulation, the operating status of each hardware or software in the mirror node 120' is detected to find the abnormal hardware or software. In some embodiments, the business data of the business device 130 executing the business can be obtained, and the mirror node 120' is instructed to collect the business data to reproduce the abnormality of the edge node 120 when collecting business data, so that the cause of the abnormality can be easily analyzed.

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

[0075] 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.

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

[0077] 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 runs on one or more hardware devices or virtual devices, and the acquisition module 113 and / or creation module 114 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.

[0078] 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.

[0079] See also Figure 3 , the edge node 120 sends edge data to the cloud management platform 110 through 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'.

[0080] In step 203, a scenario simulation may be performed on the mirror node 120'. Scenario simulation refers to using the mirror node 120' to simulate the execution of tasks of the edge node 120, such as collecting business data, analyzing the collection results, etc. Scenario simulation can make the abnormality of the edge node 120 reappear on the mirror node 120'. Exemplarily, the mirror node 120' may be instructed to collect business data of the business device 130 performing the business, so that the abnormality of the edge node 120 can be reproduced on the mirror node 120'. It can be understood that the edge data when the edge node 120 collects the business data of the business device 130 performing the business triggers the edge alarm. In other words, the edge data when the edge node 120 collects the business data of the business device 130 performing the business reflects that the edge node has an abnormality. In other words, an abnormality occurs in the edge node when the edge node 120 collects the business data of the business device 130 performing the business. The mirror node 120' is the same as the edge node 120. When the mirror node 120' collects the business data of the business device 130 performing the business, an abnormality is likely to occur, thereby causing the abnormality to reappear. After the exception is reproduced, the cause of the exception can be easily analyzed.

[0081] In some embodiments, the configuration of the mirror node 120' may be adjusted in step 204, such as adjusting the hardware specifications of the mirror node 120' or the software version of the application. The adjusted mirror node 120' is then used to perform scenario simulation to find a better configuration, such as solving an abnormal configuration. After finding a better configuration, the node configuration information of the better configuration may be recorded, and in step 205, the configuration of the edge node 120 is adjusted according to the node configuration information.

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

[0083] 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 the applications in the multiple applications and the mirror node 120" may be deactivated to release the cloud resources occupied by the mirror node 120". This reduces the waste of cloud resources.

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

[0085] Figure 4 A business management method is shown, which includes the following steps.

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

[0087] During the period when the service device 130 performs the service, the edge node 120 collects the service data of the service device 130 performing the service through step 301a to obtain the collection result. In the following description, unless otherwise specified, the service data of the service device 130 performing the service can be referred to as service data or service data of the service device 130. The collection result is the service data collected by the edge node 120.

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

[0089] In some embodiments, the edge node 120 may send a data request to the service device 130 , and 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.

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

[0091] In an example of this embodiment, the traffic model 121 in the edge node 120 can control the frequency at which the data acquisition application sends data requests to the business device 130 and the data requested by the data requests. For example, the data acquisition application sends data requests at a frequency of sending one data request every 1 millisecond under the control of the traffic model 121. For another example, it can be assumed that the business device 130 is a machine tool, and the data acquisition application sends data requests for requesting production rate and production parameters (such as current, tool speed, tool temperature) under the control of the traffic model 121.

[0092] 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 .

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

[0094] 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 .

[0095] The cloud management platform 110 may execute step 303 to determine whether the edge data triggers an edge alarm according to the set alarm rules. As described above, when the edge side condition reflected by the edge data is an abnormal condition, the edge data triggers an edge alarm, and the edge alarm is used to prompt that an abnormality has occurred in the edge data. Step 303 may be executed by the alarm module 112 in the cloud management platform 110.

[0096] The alarm rules can be preset, that is, the alarm rules are pre-set. The alarm rules are used to determine whether the edge data triggers the edge alarm. When the edge data meets the alarm rules, it is confirmed that the edge data triggers the edge alarm.

[0097] 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 collected service data of the service device 130. When the collected service data of the service device 130 is abnormal, it can be determined that the service data (i.e., the collection result) of the service device 130 collected in step 301a triggers the edge alarm.

[0098] The business data range can be preset, and the business alarm rule can be set as: not within the business data range. That is, when the collection result is outside the business data range, the collection result triggers a business alarm. The business data range is an interval with an upper limit and a lower limit. If the collection result is less than the lower limit of the business data range, the collection result is outside the business data range; if the collection result is greater than the upper limit of the business data range, the collection result is outside the business data range.

[0099] In one example, the business data can be set as production rate, and the business data range can be set as production rate range. When the production rate represented by the collection result is not within the production rate range, the collection result is confirmed to trigger a business alarm. In another example, the business data can be set as current, and the business data range can be set as current range. When the current represented by the collection result is not within the current range, the collection result is confirmed to trigger a business alarm. And so on, which are not listed here one by one.

[0100] In some embodiments, there may be two situations in which the collection result triggers a service alarm. One possible situation is that an abnormality occurs in the service device 130, resulting in abnormal service data, which in turn causes the collection result to be an abnormal result that triggers a service alarm. Another possible situation is that an abnormality occurs in the edge node 120, resulting in the edge node 120 being unable to correctly collect service data (for example, the edge node 120 cannot correctly receive service data or correctly identify received service data, etc.), thereby generating an erroneous collection result, and thus, when the service data is normal, the erroneous collection result triggers a service alarm.

[0101] The mirror node 120' of the edge node 120 can identify which of the above two situations the collection result triggers the service alarm. The details will be introduced below and will not be repeated here.

[0102] In some embodiments, the edge alarm includes a node alarm, and the edge data includes the operating data of the edge node 120 obtained in step 301b. When the operating data of the edge node 120 indicates that the edge node 120 is operating abnormally, the operating data of the edge node 120 triggers the node alarm. As described above, the operating data of the edge node 120 is divided into the operating parameters of the hardware and the operating status of the application. Accordingly, the node alarm is divided into a hardware alarm and an application alarm. Next, these two situations are described respectively.

[0103] 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 as: 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 the 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.

[0104] For application alarms, the application alarm rule is abnormal running state. That is, when the running state of the application is abnormal running state, the running state of the application meets the application alarm rule. When the running state of the application meets the application alarm rule, it is confirmed that the running state of the application triggers the application alarm.

[0105] Continue reading Figure 4After step 303, in step 304, node configuration information of the edge node 120 may be obtained. Step 304 may be performed by the acquisition module 113 in the cloud management platform 110. The node configuration information of the edge node 120 includes description information of the hardware and software (application, operating system, etc.) of the edge node 120, including hardware specifications (processor specifications, memory specifications, disk specifications, network card specifications, etc.), software version and settings of the operating system, software version and settings of the middleware, software version and settings of the application, software version and settings of the traffic model, etc.

[0106] In the embodiments of the present application, the hardware specifications include the model and capability of the hardware. Taking the processor as an example, the specifications of the processor include the number of computing cores of the processor, the operating frequency and power of the computing cores, etc. Software settings refer to turning on or off optional functions in the software, such as turning on or off the software update function, etc. The software version of the operating system may be referred to as the operating system version, the software version of the middleware may be referred to as the middleware version, the software version of the application may be referred to as the application version, and the software version of the traffic model may be referred to as the traffic model version.

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

[0108] 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.

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

[0110] Specifically, cloud resources of cloud infrastructure include hardware resources, such as processor resources, memory resources, disk resources, network card resources, etc. Figure 2, the cloud management platform 110 can first select corresponding hardware resources from the cloud resources of the cloud infrastructure according to the hardware specifications in the node configuration information, that is, the hardware specifications of the hardware system 125, to create the hardware system 125'. For example, according to the processor specifications of the hardware system 125, a processor resource that meets the processor specifications of the hardware system 125 is selected from the processor resources provided by the cloud infrastructure to obtain the processor of the hardware system 125'. For another example, according to the disk specifications of the hardware system 125, a disk resource that meets the disk specifications of the hardware system 125 is selected from the disk resources provided by the cloud infrastructure to obtain the disk of the hardware system 125'. And so on.

[0111] After the hardware system 125' of the mirror node 120' is created, the operating system 124' can be installed in the mirror node 120' according to the version of the operating system in the node configuration information, that is, 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 set according to the settings of the operating system in the node configuration information, that is, 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.

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

[0113] The application 122' may be installed in the mirror node 120' according to the version of the application in the node configuration information, that is, the version of the application 122. The versions of the application 122' and the application 122 are the same, and the installation package of the application 122' may be a copy of the installation package of the application 122. The application 122' may also be set according to the settings of the application in the node configuration information, that is, the settings of the application 122, so that the settings of the application 122' are consistent with the settings of the application 122.

[0114] The traffic model 121' may be installed in the mirror node 120' according to the version of the traffic model in the node configuration information, that is, the version of the traffic model 121. The versions of the traffic model 121' and the traffic model 121 are the same, and the installation package of the traffic model 121' may be a copy of the installation package of the traffic model 121. The traffic model 121' may also be set according to the settings of the traffic model 121 in the node configuration information, that is, the settings of the traffic model 121, so that the settings of the traffic model 121' are consistent with the settings of the traffic model 121.

[0115] In this way, a mirror node 120' of the edge node 120 can be created. The edge node 120 and the mirror node 120' are the same or substantially the same.

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

[0117] 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 by the mirror node 120'. More specifically, the mirror node 120' can be instructed to collect business data of the business device 130 executing the business, so that the abnormality reflected by the edge data that triggers the edge alarm in step 303 can be reproduced in 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.

[0118] When the mirror node 120' reproduces the abnormality of the edge node 120, relevant personnel can analyze the mirror node 120' to find the cause of the abnormality as soon as possible. For example, when the mirror node 120' collects business data, the performance or operating status of each component or software in the mirror node 120' is analyzed to find abnormal performance or abnormal operation of the component or software, thereby finding the cause of the abnormality. For another example, when the mirror node 120' reproduces the abnormality of the edge node 120, the cause of the abnormality is found through link tracing (tracinganalysis) and other methods.

[0119] 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 situations, which cause the collection result to trigger a business alarm. One possible situation is: an abnormality occurs in the business device 130, resulting in abnormal business data, which in turn causes the collection result to be an abnormal result that triggers a business alarm. Another possible situation is: 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 above two situations the collection result triggers the business alarm, as follows.

[0120] The mirror node 120' can be instructed to collect the service data of the service executed by 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, which will not be repeated here.

[0121] If the collection result obtained by the mirror node 120' through service data collection is consistent with the service data, it means that an abnormality occurs in the service device 130, that is, the abnormality causing the edge alarm occurs in the service device 130. If the collection result obtained by the mirror node 120' through service data collection is inconsistent with the service data, it means that an abnormality occurs in the edge node 120, that is, the abnormality causing the edge alarm occurs in the service device 130. In this way, the location of the abnormality on the edge side can be achieved, so that relevant personnel can identify the location of the abnormality, and then analyze the location to find the cause of the abnormality.

[0122] In some embodiments, the configuration of the mirror node 120' can be adjusted. The adjusted mirror node 120' is then used to perform scenario simulation to find a better configuration, such as resolving an abnormal configuration. After finding a better configuration, the configuration of the edge node 120 can be adjusted according to the found better configuration through step 205. This can be specifically achieved through the following steps.

[0123] Continue reading Figure 4, the cloud management platform 110 may perform step 306 to adjust the configuration of the mirror node 120'. Exemplarily, 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 in the cloud resources of the cloud infrastructure. Exemplarily, 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 follow other versions 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.

[0124] The adjusted mirror node 120' is used to collect the service data of the service device 120. In step 307, the adjusted mirror node 120' may be instructed to collect the service data of the service device 120 to obtain the collection result. Please refer to the above introduction for details, which will not be repeated here.

[0125] The mirror node 120' may execute step 307b to obtain the operation data of the mirror node 120' during the period of collecting service data. For details, please refer to the above introduction to step 301b, which will not be repeated here.

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

[0127] After acquiring the mirror edge data, if the cloud management platform 110 finds that the mirror edge data does not meet the edge alarm rule, 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, which will not be repeated here.

[0128] After step 309, the cloud management platform 110 may 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 may obtain the node configuration information of the adjusted mirror node 120'. The mirror edge node does not trigger an edge alarm, indicating that the adjusted mirror node 120' performs scenario simulation without abnormality, that is, the adjusted mirror node 120' overcomes the cause of the abnormality. The node configuration information of the adjusted mirror node 120' may be recorded so that the configuration of the edge node 120 may be adjusted using the node configuration information of the adjusted mirror node 120', so that the edge node 120 can also overcome the cause of the abnormality, thereby eliminating the abnormality.

[0129] 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 find and locate the cause of the exception as soon as possible. In addition, the mirror node can be used to delimit or locate the exception, so as to identify the location of the exception, and then analyze 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.

[0130] The present application also provides a service management method, such as Figure 5 As shown, the method includes the following steps.

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

[0132] During the execution of the service by the service setting device 130, the edge node 120 collects the service data through step 401 to obtain the collection result. Figure 4 The introduction and implementation of step 301a will not be repeated here.

[0133] The edge node 120 may execute step 402 and monitor the service device 130 using the collected results. In one example, the edge node 120 may analyze the collected results to obtain the efficiency of the service device 130 in actually executing the service, and use the obtained efficiency of executing the service to control the service device 130, such as increasing or decreasing the working 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 may be analyzed to obtain the operating status of the service device 130, and use the obtained operating status to control the service device 130. For example, by analyzing the collected results, if it is found that the temperature of the tool of the service device 130 is high, the service device 130 may be controlled to reduce the rotation speed of the tool, or replace the tool. And so on. The present application does not limit the specific operations of the edge node 120 in monitoring the service device 130.

[0134] The edge node 120 runs multiple applications, that is, the application 122 may include multiple applications. Different applications in the multiple applications are used to implement different functions or perform different steps, and some applications are used to perform step 401, and some applications are used to perform step 402. For the convenience of description, the application used to perform step 401 can be called a data collection application, and the application used to perform step 402 can be called a data analysis application.

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

[0136] 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 the load information B1. Then, through step 403, the load information B1 is sent to the cloud management platform 110.

[0137] The load information is used to represent or reflect the load of the edge node 120. The load of the edge node 120 may include the utilization rate of the hardware resources of the edge node 120. Specifically, the load information may include at least one load indicator, such as the processor utilization, memory space utilization, disk space utilization, disk bandwidth utilization, etc. of the edge node 120. The load information may also include the running status of the application. For example, the running status of the application includes the response time of the application to the operation, the frequency of application downtime, etc. It can be understood that the running 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 time, the running status of the application is not good. Therefore, the running status of the application can reflect the load of the edge node 120.

[0138] The cloud management platform 110 may execute step 404 to determine whether the load of the edge node 120 is greater than the 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.

[0139] 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%), and an application response time threshold to an operation (e.g., 200% of the set response time), an application downtime frequency threshold (e.g., 1 time / minute), etc.

[0140] When all or part of the load indicators represented or reflected in the load information B1 are greater than the threshold of the corresponding load indicator in the load threshold A1, it can be confirmed that the load of the edge node 120 is greater than the load threshold A1 when executing steps 401 and 402. For example, when the processor utilization represented by the load information B1 is greater than 95%, the frequency of application downtime is greater than 1 time / minute, and the disk space utilization is greater than 90%, 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] When it is confirmed that the load of the edge node 120 when executing step 401 and step 402 is greater than the load threshold A1, the cloud management platform 110 can 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.

[0142] In some embodiments, step 405 and step 406 may refer to the above description of Figure 4 The relationship between the mirror node 120' and the edge node 120 can refer to the above description of the relationship between the mirror node 120' and the edge node 120. That is, in this embodiment, the hardware and software configurations of the mirror node 120' and the edge node 120 are the same.

[0143] In some embodiments, the hardware system of the mirror node 120" may be configured with reference to the method of configuring the hardware system 125' in 406, and the operating system of the mirror node 120" may be configured with reference to the method of 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 the operating system, such as the application 122 to be introduced below. Among them, 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.

[0144] 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.

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

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

[0147] 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.

[0148] 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 the 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" to run, thereby reducing the load of 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.

[0149] 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, and then, through step 408, the load information B2 is sent to the cloud management platform 110.

[0150] The cloud management platform 110 may execute step 409 to determine whether the load of the edge node 120 is less than the 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 confirmed that the load of the edge node 120 during the period when the mirror node 120" takes over the edge node 120 to run the application 122 is less than the load threshold A2.

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

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

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

[0154] 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.

[0155] 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 are smoothly executed.

[0156] Based on the service management method described above, the embodiment of the present application provides a service management method based on cloud technology. 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 through a network, the edge nodes are used to collect service data of service devices, and the service devices are used to execute services. Figure 6 As shown, the method includes the following steps.

[0157] Step 501: The cloud management platform receives first data sent by the edge node, where the first data includes the service data of the service device and / or the operation data of the edge node. Figure 4 The introduction and implementation of steps 301a, 301b and 302.

[0158] Step 502: The cloud management platform determines whether the first data triggers an edge alarm according to the set alarm rules. The edge alarm is used to indicate that the first data is abnormal. Figure 4 The introduction of step 303 is implemented.

[0159] Step 503: When the first data triggers the edge alarm, the cloud management platform obtains the configuration information of the edge node. Figure 4 The introduction of step 304 is implemented.

[0160] 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. Figure 4 The introduction of step 305 is implemented.

[0161] 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.

[0162] 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 rule includes: when the business data is outside the preset business data range, determining that the business data triggers the business alarm

[0163] In some embodiments, the operating data of the edge node includes 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 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;

[0164] In some embodiments, 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.

[0165] 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.

[0166] 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 description of Figure 3 The introduction and implementation of steps 306-310.

[0167] In some embodiments, 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 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 of the multiple applications. For details, please refer to the above Figure 5 The introduction and implementation of steps 403-407a and 407b.

[0168] In an example of this embodiment, the method further includes: 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. Figure 5 The introduction and implementation of steps 408 to 411.

[0169] 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. For details, please refer to the above introduction to the business device 130.

[0170] In some embodiments, the service device includes a sensor, and the service data includes data detected by the sensor. For details, please refer to the above introduction to the service device 130.

[0171] 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 find and locate the cause of the exception as soon as possible. In addition, the mirror node can be used to delimit or locate the exception, so as to identify the location of the exception, and then analyze 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.

[0172] 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. Figure 7 As shown, the cloud management platform 600 includes:

[0173] 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;

[0174] An alarm module 620, configured 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;

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

[0176] A creation module 640, 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;

[0177] The configuration module 650 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.

[0178] Among them, the communication module 610 and the creation module 620 can be implemented by software or by hardware. Exemplarily, the implementation of the communication module 610 is introduced below by taking 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.

[0179] As an example of a software functional unit, the communication module 610 may include code running on a computing instance. Among them, the computing instance may include at least one of a physical host (computing device), a virtual machine, and a container. Further, the above-mentioned 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 (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 a data center or multiple data centers with similar geographical locations. Among them, usually a region may include multiple AZs.

[0180] Similarly, multiple hosts / virtual machines / containers used to run the code can be distributed in the same virtual private cloud (VPC) or in multiple VPCs. Usually, a VPC is set up in a region. For cross-region communication between two VPCs in the same region and between VPCs in different regions, a communication gateway needs to be set up in each VPC to achieve interconnection between VPCs through the communication gateway.

[0181] As an example of a hardware functional unit, the communication module 610 may include at least one computing device, such as a server, etc. Alternatively, the communication module 610 may also be a device 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.

[0182] 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 computing devices such as servers, ASICs, PLDs, CPLDs, FPGAs, and GALs.

[0183] It should be noted that, in other embodiments, the communication module 610 can be used to execute Figure 6 In any step of the method shown, the alarm module 620 can be used to perform Figure 6 For any step in the method shown, the acquisition module 630 can be used to perform Figure 6 In any step of the method shown, the creation module 640 can be used to perform Figure 6 In any step of the method shown, the configuration module 650 can be used to perform Figure 6 The steps implemented by the communication module 610, the alarm module 620, the acquisition module 630, the creation module 640 and the configuration module 650 can be specified as needed, and the steps implemented by the communication module 610, the alarm module 620, the acquisition module 630, the creation module 640 and the configuration module 650 can be specified as needed. Figure 6 The different steps in the method shown implement the full functionality of the cloud management platform 600 .

[0184] The present application also provides a computing device 700. Figure 8 As shown, computing device 700 includes: bus 702, processor 704, memory 706 and communication interface 708. Processor 704, memory 706 and communication interface 708 communicate through 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.

[0185] The bus 702 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 The bus 702 may include a path for transmitting information between various components of the computing device 700 (eg, the memory 706, the processor 704, and the communication interface 708).

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

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

[0188] The memory 706 stores executable program codes, and the processor 704 executes the executable program codes to respectively implement the functions of the aforementioned communication module 610, the alarm module 620, the acquisition module 630, the creation module 640, and the configuration module 650, thereby implementing Figure 6 That is, the memory 706 stores the method for executing Figure 6 Instructions for the method shown.

[0189] 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 communication networks.

[0190] The embodiment of the present application also provides 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 smart phone.

[0191] like Fig. 9 As shown, 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 Figure 6 Instructions for the method shown.

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

[0193] It should be noted that the memory 706 in different computing devices 700 in the computing device cluster may store different instructions, which are respectively used to execute part 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 modules among the communication module 610, the alarm module 620, the acquisition module 630, the creation module 640 and the configuration module 650.

[0194] In some possible implementations, one or more computing devices in the computing device cluster may be connected via a network, which may be a wide area network or a local area network. Fig.10 A possible implementation is shown. Fig.10 As shown, 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. At the same time, 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.

[0195] It should be understood that Fig.10 The functions of the computing device 700A shown in FIG. 7 may also be completed by multiple computing devices 700. Similarly, the functions of the computing device 700B may also be completed by multiple computing devices 700.

[0196] The present application embodiment also provides another computing device cluster. The connection relationship between the computing devices in the computing device cluster can be similar to that of Fig. 9 and Fig.10 The difference is that the memory 706 in one or more computing devices 700 in the computing device cluster may store the same memory for executing Figure 6 Instructions for the method shown.

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

[0198] The present application also provides a computer program product including instructions. The computer program product may be software or a program product including 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 Figure 6 The method shown.

[0199] The present application also provides a computer-readable storage medium. The computer-readable storage medium may 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 may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk). The computer-readable storage medium includes instructions that instruct the computing device to execute Figure 6 The method shown.

[0200] 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 it. 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 cause the essence of the corresponding technical solutions to deviate from the protection scope of the technical solutions of the embodiments of the present application.

Claims

1. A cloud-based edge service management method, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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.