Data processing method based on internet-of-things technology, and related device
Through the data processing method based on IoT technology, the business processes and applications of edge nodes are dynamically adjusted, and the problem of fixed single business execution methods of traditional edge nodes is solved, achieving more efficient business execution and operation and maintenance management.
Patent Information
- Application Number
- PCT/CN2024/121779
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-02-27
- Filing Date
- 2024-09-27
- Publication Date
- 2025-06-26
AI Technical Summary
The business execution methods of traditional edge nodes are fixed and single, difficult to adjust, and cannot meet the needs of diversified application scenarios, resulting in poor business execution results.
Through a data processing method based on Internet of Things technology, the business processes and applications of edge nodes are dynamically adjusted, business models are generated and sent to edge nodes, and instructed to perform corresponding services.
It realizes dynamic adjustment of edge node business processes and applications, adapts to diversified application scenarios, and improves the effectiveness of business execution and operation and maintenance operations.
Smart Images

Figure CN2024121779_26062025_PF_FP_ABST
Abstract
Description
A data processing method based on Internet of Things technology and related equipment
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on December 18, 2023, with Chinese application number 202311743723.6 and application name “A method and device for adaptive business model management of edge operation and maintenance”, and claims priority to the Chinese patent application filed with the State Intellectual Property Office on February 27, 2024, with Chinese application number 202410217024.6 and application name “A data processing method and related equipment based on Internet of Things technology”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of Internet of Things technology, and in particular to a data processing method and related equipment based on Internet of Things technology. Background Art
[0003] With the rapid development of edge computing technology, edge nodes have been widely used in communication systems in many scenarios, and part of the computing power in communication systems has also been transferred to edge nodes.
[0004] Currently, edge nodes typically execute services based on fixed business processes and applications corresponding to those processes. This fixed and difficult-to-adjust service execution approach is unchanging. As business scenarios become increasingly diverse, traditional edge node service execution methods are no longer able to meet the needs of diverse application scenarios, resulting in poor service execution in edge nodes, such as a lack of efficiency improvement.
[0005] Summary of the Invention
[0006] The present invention provides a data processing method based on Internet of Things technology that can conveniently and dynamically adjust the services and execution methods of edge nodes to meet the needs of diverse application scenarios and improve the service execution effect of edge nodes. The present invention also provides corresponding devices, equipment, computer-readable storage media, and computer program products.
[0007] The first aspect of the present application provides a data processing method based on Internet of Things technology, which is applied to a cloud management platform, the cloud management platform is used to manage infrastructure, the infrastructure is connected to an edge node, wherein multiple applications are stored on the infrastructure, the edge node is connected to a business device, and the edge node is used to obtain business data generated by the business device during operation. The method includes: obtaining first business process information input by a user, the first business process information is used to indicate a first business process running on the edge node, the first business process is a process for processing business data, and the first business process includes a first sub-business process and a second sub-business process; obtaining first application information and second application information input by a user, the first application information is used to indicate a first application that executes the first sub-business process, and the second application information is used to indicate a second application that executes the second sub-business process, wherein multiple applications include a first application and a second application; generating a business model based on the first business process information, the first application information, and the second application information, the business model is used to indicate the first application to execute the first sub-business process on the edge node and the second application to execute the second sub-business process on the edge node; and sending the business model to the edge node.
[0008] In the first aspect, the business process of the edge node is decoupled from the application, so that the user can dynamically configure the business process of the edge node and the application to execute the business process through the cloud management platform, and send the business model to the edge node through the cloud management platform to instruct the edge node to execute the corresponding business according to the business model. It can be seen that in this method, the business process of the edge node and the execution method of the business process (such as the related application) can be dynamically adjusted according to the needs of the application scenario, which can adapt to the needs of diverse application scenarios, better cope with the rapid changes in user-side business, and ensure the execution effect of the edge node application in various application scenarios.
[0009] In a possible implementation of the first aspect, the first sub-business process includes a first sub-task, and the second sub-business process includes a second sub-task; the method also includes: obtaining a first execution rule and a second execution rule input by the user, the first execution rule is used to indicate the execution rule of the first sub-task, and the second execution rule is used to indicate the execution rule of the second sub-task; generating a business model based on the first business process information, the first application information, and the second application information, including: generating a business model based on the first business process information, the first application information, the second application information, the first execution rule and the second execution rule, the business model being used to indicate that the first application executes the first sub-business process at the edge node according to the first execution rule and the second application executes the second sub-business process at the edge node according to the second execution rule.
[0010] In this possible implementation, the first execution rule of the first subtask is used to indicate the execution method of the first subtask. For example, it can indicate the first execution condition of the first subtask (such as the first execution time, etc.), and can also indicate the first parameter involved in the first subtask, and can also indicate the first calculation rule (such as the relevant algorithm, etc.) set based on the first parameter. The second execution rule of the second subtask is used to indicate the method of the second subtask. For example, it can indicate the second execution condition of the second subtask (such as the second execution time, etc.), and can also indicate the second parameter involved in the second subtask, and can also indicate the second calculation rule set based on the second parameter, etc.
[0011] In this possible implementation, the first execution rule and the second execution rule can be flexibly set by the user according to the needs of the actual application scenario, and transmitted to the edge node through the business model.
[0012] In a possible implementation of the first aspect, the method also includes: obtaining first output policy information and / or second output policy information input by a user, the first output policy information is used to indicate the output policy of the first operation and maintenance data of the first application, the first operation and maintenance data includes the log of the first application, and the second output policy information is used to indicate the output policy of the second operation and maintenance data of the second application, the second operation and maintenance data includes the log of the second application; generating a business model based on the first business process information, the first application information, and the second application information, including: generating a business model based on the first business process information, the first application information, the second application information, and the first output policy information and / or the second output policy information, the business model is used to indicate the first application to execute the first sub-business process at the edge node and the second application to execute the second sub-business process at the edge node, and is used to indicate the output policy of the first operation and maintenance data and / or the output policy of the second operation and maintenance data.
[0013] In this possible implementation, the user may configure the first output strategy and the second output strategy through a client device and input the configurations into the cloud management platform, so that the generated business model includes the first output strategy and / or the second output strategy.
[0014] In this way, users can flexibly configure the output strategy of operation and maintenance data according to business needs, thereby improving the effectiveness of operation and maintenance operations and reducing the communication pressure caused by the transmission of operation and maintenance data in some scenarios.
[0015] In a possible implementation of the first aspect, after sending the business model to the edge node, the method further includes: obtaining third application information input by the user, the third application information being used to indicate a third application that executes the first sub-business process; and sending update information to the edge node, the update information being used to indicate an update to the business model so that the updated business model indicates the third application to execute the first sub-business process at the edge node.
[0016] In this possible implementation, because the business processes at the edge node are decoupled from the applications, the business processes within the business model and the applications that execute them can be flexibly adjusted without having to completely reconfigure the business model. This means that users can flexibly update the business processes and / or the applications that execute them within the business model as needed. This update operation is minimal, simple, and feasible, adapting to a variety of application scenarios, ensuring that the execution of business processes at the edge node can better meet customer needs.
[0017] In a possible implementation of the first aspect, sending the business model to the edge node includes: sending the business model and application deployment information to the edge node, where the application deployment information is used to instruct the edge node to deploy the first application and the second application.
[0018] In this possible implementation, there is no need to pre-deploy the first application and the second application in the edge node to reduce the occupation of limited resources in the edge node. Instead, when the cloud management platform sends the business model, it instructs the edge node to deploy the first application and the second application.
[0019] In a possible implementation manner of the first aspect, before sending the service model to the edge node, the method further includes: sending application deployment information to the edge node, where the application deployment information is used to instruct the edge node to deploy multiple applications.
[0020] In this possible implementation, before the business model is delivered, multiple applications may be pre-deployed on the edge node, where the multiple applications include a first application and a second application.
[0021] The second aspect of the present application provides a data processing method based on Internet of Things technology, which is applied to an edge node, the edge node is connected to a business device, the edge node is used to obtain business data generated by the business device during operation, the edge node is connected to the infrastructure, the infrastructure is managed by a cloud management platform, and multiple applications are stored on the infrastructure. The method includes: receiving a business model from the cloud management platform, the business model is used to instruct a first application to execute a first sub-business process at the edge node and a second application to execute a second sub-business process at the edge node, wherein the multiple applications include a first application and a second application, the first sub-business process and the second sub-business process are included in the first business process, and the first business process is a process for processing business data; parsing the business model, determining the first sub-business process and the first application for executing the first sub-business process, and the second sub-business process and the second application for executing the second sub-business process, wherein the first sub-business process includes a first subtask and the second sub-business process includes a second subtask; determining the operation mode of the first application according to the first execution rule of the first sub-business process and the first subtask, and determining the operation mode of the second application according to the second execution rule of the second sub-business process and the second subtask.
[0022] In the second aspect, the business processes of edge nodes are decoupled from applications, allowing users to dynamically configure the business processes of edge nodes and the applications that execute the business processes through the cloud management platform. The cloud management platform also sends a business model to the edge node to instruct the edge node to execute the corresponding business according to the business model. It can be seen that in this method, the business processes of edge nodes and the execution methods of business processes (such as related applications) can be dynamically adjusted according to the needs of the application scenario, which can adapt to the needs of diverse application scenarios, better cope with the rapid changes in user-side business, and ensure the execution effect of edge node applications in various application scenarios.
[0023] In a possible implementation of the second aspect, the first execution rule includes a first execution time, and the second execution rule includes a second execution time; the operation mode of the first application is determined according to the first execution rule of the first sub-business process and the first subtask, and the operation mode of the second application is determined according to the second execution rule of the second sub-business process and the second subtask, including: starting and stopping management of the first application according to the first execution time, and starting and stopping management of the second application according to the second execution time.
[0024] In this possible implementation, start-stop management refers to managing the startup and shutdown of applications, ensuring they remain in either running or stopped state. Edge nodes can dynamically detect business changes and manage the startup and shutdown of applications accordingly, minimizing inefficient application operations and reducing resource consumption.
[0025] In a possible implementation of the second aspect, the business model is used to instruct the first application to execute the first sub-business process at the edge node according to the first execution rule and the second application to execute the second sub-business process at the edge node according to the second execution rule.
[0026] In this possible implementation, the first execution rule and the second execution rule can be flexibly set by the user according to the needs of the actual application scenario, and transmitted to the edge node through the business model.
[0027] In a possible implementation of the second aspect, after parsing the business model and determining the first sub-business process and the first application for executing the first sub-business process, as well as the second sub-business process and the second application for executing the second sub-business process, the method further includes: determining a first monitoring method for the first application based on the first sub-business process and the first execution rule, and determining a second monitoring method for the second application based on the second sub-business process and the second execution rule.
[0028] In this possible implementation, the edge node can adaptively determine an appropriate operation and maintenance strategy based on the received business model to perform operation and maintenance operations such as application monitoring. For example, the edge node can determine the time period during which the first application and the second application generate valid data based on their respective operating modes. This allows the edge node to adaptively determine a first monitoring method for the first application and a second monitoring method for the second application, thereby improving the effectiveness of the edge node's application monitoring, enhancing operation and maintenance efficiency, and reducing resource consumption caused by useless operations.
[0029] In a possible implementation of the second aspect, the method further includes: when monitoring the first application according to the first monitoring method, collecting first operation and maintenance data of the first application; outputting the first operation and maintenance data according to the first output strategy of the first operation and maintenance data, the first operation and maintenance data including the log of the first application; and / or, the method further includes: when monitoring the second application according to the second monitoring method, collecting second operation and maintenance data of the second application; outputting the second operation and maintenance data according to the second output strategy of the second operation and maintenance data, the second operation and maintenance data including the log of the second application.
[0030] In this possible implementation, while monitoring applications, collecting their operational data can improve the effectiveness of operational data collection and reduce resource consumption by useless data. Furthermore, the output method for operational data can be determined based on the corresponding output policy, for example, determining whether and when the operational data should be output.
[0031] In a possible implementation manner of the second aspect, the first output strategy and / or the second output strategy are included in a business model.
[0032] In this possible implementation, the user may configure the first output strategy and the second output strategy through a client device and input the configurations into the cloud management platform, so that the generated business model includes the first output strategy and / or the second output strategy.
[0033] In this way, users can flexibly configure the output strategy of operation and maintenance data according to business needs, thereby improving the effectiveness of operation and maintenance operations and reducing the communication pressure caused by the transmission of operation and maintenance data in some scenarios.
[0034] In a possible implementation manner of the second aspect, the method further includes: determining the first output strategy and / or the second output strategy according to a resource usage status of the edge node.
[0035] In this possible implementation, the resource usage status may be determined by one or more status parameters, which may include at least one of parameters such as processor occupancy, memory occupancy, and application response status.
[0036] When the resource usage status indicates that the edge node is in a busy state, idle state or abnormal state, the output strategy of the first operation and maintenance data and / or the second operation and maintenance data in the edge node can be flexibly adjusted according to the resource usage status of the edge node to avoid ineffective consumption of the resources of the edge node and improve the effectiveness of the output operation and maintenance data.
[0037] In a possible implementation of the second aspect, after determining the operating mode of the first application according to the first sub-business process and the first execution rule of the first subtask, and determining the operating mode of the second application according to the second sub-business process and the second subtask, the method also includes: receiving update information from the cloud management platform, the update information is used to indicate an update to the business model so that the updated business model instructs the third application to execute the first sub-business process at the edge node; updating the business model according to the update information to obtain an updated business model; determining the operating mode of the third application according to the first sub-business process in the updated business model and according to the first execution rule of the first subtask.
[0038] In this possible implementation, because the business processes at the edge node are decoupled from the applications, the business processes within the business model and the applications that execute them can be flexibly adjusted without having to completely reconfigure the business model. This means that users can flexibly update the business processes and / or the applications that execute them within the business model as needed. This update operation is minimal, simple, and feasible, adapting to a variety of application scenarios, ensuring that the execution of business processes at the edge node can better meet customer needs.
[0039] In a possible implementation manner of the second aspect, before parsing the business model, the method further includes: receiving application deployment information from a cloud management platform, where the application deployment information is used to instruct the edge node to deploy the first application and the second application.
[0040] A third aspect of the present application provides a cloud management platform that has the functionality to implement the method of the first aspect or any possible implementation of the first aspect. This functionality can be implemented in hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the aforementioned functionality, such as an interface module and a processing module.
[0041] In a fourth aspect, the present application provides a computing device cluster, which includes at least one computing device, and the at least one computing device includes a processor and a memory. The memory of at least one computing device stores computer execution instructions that can be run on the processor. When the computer execution instructions are executed by the processor, the processor executes the method as described in the first aspect or any possible implementation of the first aspect.
[0042] In a fifth aspect, the present application provides a computer-readable storage medium storing one or more computer-executable instructions. When the computer-executable instructions are executed by a processor, the processor executes a method as described in the first aspect or any possible implementation of the first aspect.
[0043] In a sixth aspect, the present application provides a computer program product, which includes computer-executable instructions. When the computer-executable instructions are executed by a processor, the processor executes the method as described in the first aspect or any possible implementation of the first aspect.
[0044] In a seventh aspect, the present application provides a chip system, which includes a processor for supporting a cloud management platform to implement the functions involved in the first aspect or any possible implementation of the first aspect. In one possible design, the chip system may also include a memory for storing necessary program instructions and data. The chip system may be composed of a chip or may include a chip and other discrete devices.
[0045] In an eighth aspect, the present application provides an edge node having the functionality to implement the method of the second aspect or any possible implementation of the second aspect. This functionality can be implemented in hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the aforementioned functionality, such as an interface module and a processing module.
[0046] In a ninth aspect of the present application, a computing device cluster is provided, which includes at least one computing device, and the at least one computing device includes a processor and a memory, wherein the memory stores computer execution instructions that can be run on the processor, and when the computer execution instructions are executed by the processor, the processor executes the method as described in the second aspect or any possible implementation of the second aspect.
[0047] In the tenth aspect of the present application, a computer-readable storage medium is provided for storing one or more computer-executable instructions. When the computer-executable instructions are executed by a processor, the processor executes a method as described in the second aspect or any possible implementation of the second aspect.
[0048] In an eleventh aspect, the present application provides a computer program product, which includes computer-executable instructions. When the computer-executable instructions are executed by a processor, the processor executes the method as described in the second aspect or any possible implementation of the second aspect.
[0049] A twelfth aspect of the present application provides a chip system, which includes a processor for supporting an edge node in implementing the functions involved in the second aspect or any possible implementation of the second aspect. In one possible design, the chip system may also include a memory for storing necessary program instructions and data. The chip system may be composed of a chip or may include a chip and other discrete devices.
[0050] Among them, the technical effects brought about by the third to seventh aspects or any possible implementation methods thereof may refer to the technical effects brought about by the first aspect or the related possible implementation methods of the first aspect, and the technical effects brought about by the eighth to twelfth aspects or any possible implementation methods thereof may refer to the technical effects brought about by the second aspect or the related possible implementation methods of the second aspect, and they will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] FIG1 is an exemplary schematic diagram of a communication system provided in an embodiment of the present application;
[0052] FIG2 is an exemplary schematic diagram of a data center provided in an embodiment of the present application;
[0053] FIG3 is a schematic diagram of an embodiment of a data processing method based on Internet of Things technology provided in an embodiment of the present application;
[0054] FIG4 is an exemplary schematic diagram of a first sub-business process provided in an embodiment of the present application;
[0055] FIG5 is an exemplary schematic diagram of an execution rule for configuring subtask A provided in an embodiment of the present application;
[0056] FIG6 is a schematic diagram of an embodiment of a data processing method based on Internet of Things technology provided in an embodiment of the present application;
[0057] FIG7 is an exemplary schematic diagram of the interaction process between the cloud management platform and the edge node provided in an embodiment of the present application;
[0058] FIG8 is an exemplary schematic diagram of a monitoring interface provided in an embodiment of the present application;
[0059] FIG9 is an exemplary schematic diagram of a data processing device provided in an embodiment of the present application;
[0060] FIG10 is an exemplary schematic diagram of a data processing device provided in an embodiment of the present application;
[0061] FIG11 is a schematic structural diagram of an edge node provided in an embodiment of the present application;
[0062] FIG12 is a schematic diagram of a structure of a computing device provided in an embodiment of the present application;
[0063] FIG13 is a schematic diagram of a structure of a computing device cluster provided in an embodiment of the present application;
[0064] FIG14 is a schematic diagram of the structure of a computing device cluster provided in an embodiment of the present application. DETAILED DESCRIPTION
[0065] The following describes the embodiments of the present application in conjunction with the accompanying drawings. The terms used in the implementation methods of the present application are only used to explain the specific embodiments of the present application and are not intended to limit the present application.
[0066] Those skilled in the art will appreciate that, with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.
[0067] In this application, "at least one" means one or more, and "more" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchangeable where appropriate. This is merely a way of distinguishing objects with the same properties when describing them in the embodiments of this application. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, so that a process, method, system, product, or apparatus that comprises a list of elements is not necessarily limited to those elements but may include other elements not expressly listed or inherent to such process, method, product, or apparatus.
[0068] The embodiments of the present application relate to a communication system, which may include client devices, a cloud management platform, infrastructure, edge nodes, and service devices.
[0069] FIG1 is a schematic structural diagram of a communication system provided in an embodiment of the present application.
[0070] In the example shown in FIG1 , the communication system may include a cloud management platform and infrastructure. In addition, the communication system may also include one or more edge nodes disposed in the cloud. The one or more edge nodes may provide business services to users.
[0071] The following is an exemplary introduction to each device in the communication system.
[0072] Cloud management platform: It can manage the infrastructure and one or more edge nodes, and can also be open to users and respond to user requests. For example, the cloud management platform can provide various interfaces such as login interfaces, application deployment interfaces, and data processing interfaces for access by the user's client device (such as the terminal device used by the user or the browser on the terminal device used by the user, etc.). Among them, the cloud management platform can authenticate the user's client device through the login interface (such as the account and password input field on the login interface, etc.), and allow the user's client device to log in to the cloud management platform after verification. The cloud management platform can also allow the user's client device to upload a resource pool deployment request (the request can indicate the resource information required by the user) to the cloud management platform through the resource pool deployment interface (such as the computing power information input field on the computing power pool construction interface, etc.), so that the cloud management platform can connect to several edge nodes based on the request; in this way, these several edge nodes can constitute an edge node resource pool (also known as an edge node computing power pool). The cloud management platform can also allow the user's client device to transmit an application deployment request to the cloud management platform through the application deployment interface. In this way, the cloud management platform can deploy the application on the edge nodes based on the request, so that the edge nodes can execute services through the application. The applications deployed in different edge nodes can be the same or different. The cloud management platform can also allow the user's client device to send a data processing request to the cloud management platform through the data processing interface (the request can indicate the data that the user needs to process). The cloud management platform can send the data processing request to the edge node, so that the edge node can process the corresponding data based on the request.
[0073] In one example, the cloud management platform can be a public cloud platform. In this case, cloud service providers such as individuals or software developers with cloud resource development capabilities can provide cloud services to users. Users access cloud services through the Internet but do not own cloud computing resources. In other examples, the cloud management platform can also be other types of cloud management platforms.
[0074] Infrastructure: This refers to the hardware used by the cloud management platform to provide various cloud services. It can include multiple physical servers, each of which can be used to support various cloud services such as virtual machines (VMs), containers (Docker), bare metal servers, and cloud hard drives. In addition, the cloud management platform is connected to the infrastructure, so the cloud management platform can provide users with various cloud services supported by the infrastructure. For example, the infrastructure stores multiple applications that can be provided to users. Users can deploy one or more of these applications to edge nodes as needed to implement corresponding services.
[0075] FIG2 is a schematic diagram showing an exemplary structure of a cloud management platform and infrastructure.
[0076] In Figure 2, the cloud management platform exchanges information with one or more servers in the infrastructure (such as server 1 and server 2 in Figure 2) through an internal network. The server includes a hardware layer and a software layer. The hardware layer includes the hardware configured on the server, where PCI devices can be, for example, network cards, graphics processing units (GPUs), offload cards, and other devices that can be plugged into the peripheral component interconnect (PCI) or peripheral component interconnect express (PCIe) slots of the server. The software layer includes the operating system installed and running on the server (relative to the operating system of the virtual machine, it can be called the host operating system). The host operating system is equipped with a virtual machine manager (also known as a hypervisor). The role of the virtual machine manager is to implement computing virtualization, network virtualization, and storage virtualization of the virtual machine, and to manage the virtual machine. Among them, a virtual machine refers to a complete computer system with complete hardware system functions simulated by software and running in a completely isolated environment. In the system architecture shown in Figure 2, the server can be used to run virtual machines, and the specifications of each virtual machine can be the same or different. Among them, virtual machines can also be called cloud servers (elastic compute services, ECS), elastic instances, etc. Different cloud service providers may have different names.
[0077] Edge nodes: They can support the access of various business devices downward and connect to the infrastructure upward. They are usually presented in the form of hardware entities and can be regarded as data processing units with computing resources, storage resources and network resources. Due to different business focuses, edge nodes usually have various product forms: (1) Edge nodes can be edge gateways responsible for processing and converting network protocols. (2) Edge nodes can also be edge servers responsible for closed-loop control services. (3) Edge nodes can also be edge clouds responsible for large-scale data processing. Edge clouds can refer to physical servers close to the site (user side) or virtual machines (VMs) and containers (Docker) on physical servers close to the site. (4) Edge nodes can also be edge nodes responsible for small and medium-scale data processing, such as industrial computers close to the site. In these cases, the business devices connected to the edge nodes can be personal computers, laptops, smartphones, smart watches, smart bracelet sensors, electricity meters, water meters, gas meters, controllers (such as programmable logic controllers (PLCs)), host computers, control systems, and databases used by users on site.
[0078] Business equipment: Generates business data during operation. In different application scenarios, the specific types of business equipment can be various, and are not limited here. For example, the business equipment can be a terminal device, or it can be a server, server cluster, container, or virtual machine. The specific content of the business data can be determined according to the actual business scenario, and is not limited here. For example, when the communication system is applied to the field of Internet of Things, the business equipment can be a sensor, home smart facility, or industrial production equipment in the field of Internet of Things, and the business data can be one or more of the sensor data, control data, application data, and other data in the field of Internet of Things.
[0079] Currently, edge nodes typically execute services based on fixed business processes and applications corresponding to those processes. This fixed and difficult-to-adjust service execution approach is unchanging. As business scenarios become increasingly diverse, traditional edge node service execution methods are no longer able to meet the needs of diverse application scenarios, resulting in poor service execution in edge nodes, such as a lack of efficiency improvement.
[0080] Based on this, the embodiment of the present application provides a data processing method based on Internet of Things technology, which can conveniently and dynamically adjust the business and execution methods of edge nodes to meet the needs of diverse application scenarios, improve the business execution effect of edge nodes, and in some examples, adaptively determine appropriate operation and maintenance strategies based on dynamically adjusted business processes.
[0081] Specifically, the data processing method based on the Internet of Things technology may include one or more of the following processing stages:
[0082] Dynamic setting and operation and maintenance management of business models.
[0083] The following is an exemplary introduction to each processing stage.
[0084] 1. Dynamic setting of business model.
[0085] In an embodiment of the present application, the business process of the edge node is decoupled from the application, so that users can dynamically configure the business process of the edge node through the cloud management platform, and dynamically configure which application executes the business process, so as to realize the dynamic setting of the business model, meet the needs of different application scenarios, and improve the execution effect of the business.
[0086] Specifically, as shown in FIG3 , in some embodiments, the data processing method based on Internet of Things technology includes steps 301 - 307 .
[0087] Step 301: The cloud management platform obtains first business process information input by a user.
[0088] The first business process information is used to indicate a first business process running on the edge node. The first business process is a process for processing business data. The first business process includes a first sub-business process and a second sub-business process.
[0089] In the embodiment of the present application, the user can be considered as a tenant of the cloud platform, and can be identified by the account registered by the tenant on the cloud platform, or can be considered as a client device operated by the tenant or an application on the client device (such as a browser, etc.). In this way, the user can input the first business process information to the cloud management platform through the client device or the application on the client device based on the communication connection between the client device and the cloud management platform.
[0090] This service data is generated during the operation of service devices connected to edge nodes. For example, when the communication system is applied to the Internet of Things (IoT), the service devices may be sensors, smart home appliances, or industrial control equipment in the IoT field. The service data may be one or more of the following types of IoT data: sensor data, control data, and application data.
[0091] The first business process is a process for processing business data, wherein the business data processed by the first business process may be part of the business data or all of the business data generated by the business device.
[0092] The first business process includes a first sub-business process and a second sub-business process.
[0093] The first sub-business process may include one or more first sub-task processing flows, such as the execution time period and / or execution order of the one or more first sub-tasks. The first sub-task may be implemented by processing business data. The second sub-task process may include one or more second sub-task processing flows. The second sub-task may be implemented by processing business data.
[0094] Among them, there may be differences between the first sub-business process and the second sub-business process. Specifically, the business data processed may be different, or the business data processed may be the same but the processing procedures for the business data may be different, or the business data involved and the processing procedures for the business data may be different.
[0095] FIG4 is an exemplary schematic diagram of the first sub-business process.
[0096] Among them, the first sub-business process includes multiple first sub-tasks executed in sequence (in sequence: reading the power value, calculating the average power for 5 minutes, and judging whether it is greater than the threshold of 30W) and two parallel first sub-tasks (if so, generating an alarm message and if not, generating a normal prompt message).
[0097] The form of the second sub-business process can refer to the first sub-business process.
[0098] In some examples, the cloud management platform may provide a first configuration interface to the user, where the first configuration interface may be used to configure the first business process information. The first configuration interface may be displayed by a client device, so that the user can enter the first business process information through the first configuration interface by interacting with the client device.
[0099] The following is an exemplary description of the specific process of configuring the first sub-business process in the first business process through the first configuration interface. The specific process of configuring the second sub-business process through the first configuration interface can refer to the relevant example of configuring the first sub-business process.
[0100] For example, the first configuration interface may include multiple pre-set sub-business processes, which may be historically executed sub-business processes or pre-configured sub-business processes by a developer. The user may select a first sub-business process and a second sub-business process from the multiple sub-business processes as the first business process, thereby obtaining first business process information.
[0101] Alternatively, the first configuration interface may provide a customized business process configuration option, so that the user can customize the specific content of the first sub-business process and the second sub-business process.
[0102] For example, the first configuration interface may display multiple preset subtasks and configurable items corresponding to each preset subtask (eg, business data corresponding to each preset subtask, multiple preset processing rules for the corresponding business data, etc.).
[0103] The user can select one or more first subtasks in the first sub-business process from multiple preset subtasks displayed on the first configuration interface, and can also determine the execution process of one or more first subtasks in the first sub-business process (such as execution order, execution time period, etc.). In addition, in some examples, the configurable items of any subtask in the one or more first subtasks (such as the business data corresponding to the subtask, multiple preset processing algorithms for the corresponding business data, etc.) can be configured to configure the specific execution rules of the subtask, etc.
[0104] It can be seen that the user can flexibly configure the first sub-business process and the second sub-business process according to the needs of the current scenario through the first configuration interface, thereby achieving flexible setting of the business process.
[0105] Step 302: The cloud management platform obtains the first application information and the second application information input by the user.
[0106] The first application information is used to indicate a first application that executes a first sub-business process, and the second application information is used to indicate a second application that executes a second sub-business process, wherein the multiple applications include the first application and the second application.
[0107] In the embodiment of the present application, since the business process and application are decoupled, the user can flexibly configure the application that executes each business process according to actual needs, thereby improving the flexibility of the execution method of the business process and adapting to the needs of various application scenarios.
[0108] Specifically, the user may input first application information and second application information to the cloud management platform through a client device, etc., to indicate a first application to execute the first sub-business process and a second application to execute the second sub-business process, wherein the first application and the second application are different.
[0109] Exemplarily, the first application information may include an identifier of the first application and an identifier of the first sub-business process (e.g., the name or number of the first sub-business process), describing the correspondence between the first sub-business process and the first application, thereby indicating that the first sub-business process is executed through the first application; alternatively, the first application information may only include an identifier of the first application, but since the first application information and the first business process information are input through the same configuration interface, it can be determined that the first application is used to execute the first sub-business process. Exemplarily, the identifier of the first application may be an identifier such as a link to the first application (e.g., a uniform resource locator (URL) of the first application) or the number of the first application. The second application information may include an identifier of the second sub-business process and an identifier of the second application, describing the correspondence between the second sub-business process and the second application; alternatively, the second application information may only include an identifier of the second application, but since the second application information and the second business process information are input through the same configuration interface, it can be determined that the second application is used to execute the second sub-business process.
[0110] For example, after the user configures the first sub-business process through the first configuration interface, the first configuration interface can further display the configurable items about the application that executes the first sub-business process, and the user can select the identifier of the first application through the configurable items (for example, select the link to the first application or the name of the first application, etc.), so that the first sub-business process can be instructed to be executed by the first application. The number of the first applications can be one or more, which is not limited here. For example, the first sub-business process can include multiple first subtasks, so the user can configure the first application that executes each first subtask. Similarly, after the user configures the second sub-business process through the first configuration interface, the first configuration interface can further display the configurable items about the application that executes the second sub-business process, and the user can select the identifier of the second application through the configurable items, so that the second sub-business process can be instructed to be executed by the second application.
[0111] In step 303 , the cloud management platform generates a business model based on the first business process information, the first application information, and the second application information.
[0112] The service model is used to instruct the first application to execute a first sub-service process on the edge node and the second application to execute a second sub-service process on the edge node.
[0113] In an embodiment of the present application, the cloud management platform can obtain information about the first sub-business process and the second sub-business process through the first business process information, and obtain the identifier of the first application used to execute the first sub-business process through the first application information, and obtain the identifier of the second application used to execute the second sub-business process through the second application information. In the generated business model, the first sub-business process can be associated with the identifier of the first application (the link to the first application, the name or number of the first application, etc.), and the second sub-business process can be associated with the identifier of the second application, so that the business model can instruct the edge node how to execute the first sub-business process (specifically, instruct the execution of the first sub-business process through the first application) and how to execute the second sub-business process (specifically, instruct the execution of the second sub-business process through the second application).
[0114] Step 304: The cloud management platform sends the business model to the edge node.
[0115] Step 305: The edge node receives the business model from the cloud management platform.
[0116] In step 306 , the edge node parses the business model, determines a first sub-business process and a first application for executing the first sub-business process, and a second sub-business process and a second application for executing the second sub-business process.
[0117] The first sub-business process includes a first sub-task, and the second sub-business process includes a second sub-task.
[0118] After receiving the business model, the edge node can parse the business model to identify specific information in the business model, thereby determining the first sub-business process and the first application for executing the first sub-business process, as well as the second sub-business process and the second application for executing the second sub-business process.
[0119] In addition, in an embodiment of the present application, the edge node can also deploy a first application and a second application.
[0120] There are many situations for the deployment timing of the first application and the second application, which are described below with examples.
[0121] 1) Multiple applications are pre-deployed on edge nodes.
[0122] Specifically, in some embodiments, before step 304, the method further includes:
[0123] The cloud management platform sends application deployment information to the edge node, where the application deployment information is used to instruct the edge node to deploy multiple applications.
[0124] In an embodiment of the present application, multiple applications may be pre-deployed on the edge node before the business model is issued, and the multiple applications include a first application and a second application.
[0125] Among them, the application deployment information may carry the installation packages of the multiple applications, or the application deployment information may also carry the identifiers of the multiple applications, so that the edge node can obtain the installation packages of the multiple applications from the cloud management platform, the edge node local or other devices and install them according to the identifiers of the multiple applications.
[0126] 2) The edge node deploys the first application and the second application according to the business model.
[0127] Specifically, in some embodiments, step 304 includes:
[0128] The cloud management platform sends the business model and application deployment information to the edge node, where the application deployment information is used to instruct the edge node to deploy the first application and the second application.
[0129] In an embodiment of the present application, before executing step 304, the edge node does not need to pre-deploy the first application and the second application to reduce the occupation of limited resources in the edge node. Instead, when the cloud management platform issues the business model, the edge node is instructed to deploy the first application and the second application. In this example, the application deployment information may carry the installation packages of the first application and the second application, or the application deployment information may also carry the identifier of the first application and the identifier of the second application, so that the edge node obtains the installation packages of the first application and the second application from the cloud management platform, the local edge node, or other devices and installs them according to the identifier of the first application and the identifier of the second application.
[0130] In step 307 , the edge node determines the operation mode of the first application according to the first sub-business process and the first execution rule of the first sub-task, and determines the operation mode of the second application according to the second sub-business process and the second execution rule of the second sub-task.
[0131] In an embodiment of the present application, by parsing the business model, the edge node can determine the first subtask included in the first sub-business process and the execution process of the first subtask, and determine the second subtask included in the second sub-business process and the execution process of the second subtask.
[0132] In an embodiment of the present application, the first execution rule of the first subtask is used to indicate the execution method of the first subtask. For example, it can indicate the first execution condition of the first subtask (such as the first execution time, etc.), or it can indicate the first parameter involved in the first subtask, or it can indicate the first calculation rule set based on the first parameter (such as a related algorithm, etc.).
[0133] The second execution rule of the second subtask is used to indicate the method of the second subtask. For example, it can indicate the second execution condition of the second subtask (such as the second execution time, etc.), or it can indicate the second parameter involved in the second subtask, or it can indicate the second calculation rule set based on the second parameter, etc.
[0134] There are many ways to set the first execution rule and the second execution rule, which are exemplarily introduced below.
[0135] 1) The business model carries a first execution rule and a second execution rule.
[0136] Specifically, in some embodiments, the method further includes:
[0137] Obtaining a first execution rule and a second execution rule input by a user, wherein the first execution rule is used to indicate an execution rule for the first subtask, and the second execution rule is used to indicate an execution rule for the second subtask;
[0138] Step 303 includes:
[0139] A business model is generated based on the first business process information, the first application information, the second application information, the first execution rule and the second execution rule. The business model is used to instruct the first application to execute the first sub-business process at the edge node according to the first execution rule and the second application to execute the second sub-business process at the edge node according to the second execution rule.
[0140] Exemplarily, the cloud management platform can provide a second configuration interface for the first subtask in the first sub-business process, so that the user can configure the first execution rule of the first subtask on the second configuration interface through the client device, such as configuring the first calculation rule for the first parameter of the first subtask, etc.
[0141] For example, as shown in FIG5 , it is an exemplary schematic diagram of a user configuring the first execution rule of subtask A through the second configuration interface.
[0142] In the example shown in Figure 5, the first sub-business of the first sub-business process includes sub-business A. The user can configure the first execution rule of sub-task A on the second configuration interface, where the name of sub-task A is configured as power outage prediction temperature >= 30, the parameter involved is temperature, and the calculation rule involved is that the power outage operation is triggered when the temperature is not less than 30°C.
[0143] It can be seen that in the embodiment of the present application, the first execution rule and the second execution rule can be flexibly set by the user according to the needs of the actual application scenario, and transmitted to the edge node through the business model.
[0144] 2) The edge node is pre-configured with a first execution rule for the first subtask and a second execution rule for the second subtask.
[0145] In some scenarios, the execution methods of the first and second subtasks are relatively fixed. In this case, the first execution rule of the first subtask and the second execution rule of the second subtask can be pre-configured in the edge node. Alternatively, the edge node can store the historical execution rules of the first subtask (e.g., the most recent execution rule of the first subtask) as the first execution rule of the first subtask, and store the historical execution rules of the second subtask as the second execution rule of the second subtask.
[0146] In addition, in some examples, the first execution rule of the first subtask may be carried by the business model, while the second execution rule of the second subtask may be pre-configured by the edge node; or, the second execution rule of the second subtask may be carried by the business model, while the first execution rule of the first subtask may be pre-configured by the edge node, etc.
[0147] After obtaining the first execution rule, the edge node can determine the specific execution method of the first sub-business process based on the first execution rule of the first sub-business process and the first subtask. For example, it can determine the parameters and execution conditions (such as execution time) involved in the first subtask in the first sub-business process. In this way, the operation method of the first application can be determined based on the first execution rule of the first sub-business process and the first subtask, and the first application can be run using this operation method to execute the first sub-business process.
[0148] Furthermore, the edge node can determine the specific execution method of the second sub-business process based on the second execution rules of the second sub-business process and the second subtask. For example, it can determine the parameters and conditions involved in the second subtask in the second sub-business process. In this way, the second application's operation method can be determined based on the second execution rules of the second sub-business process and the second subtask, and the second application can be run using this operation method to execute the second sub-business process.
[0149] The operation mode of the first application is used to indicate the operation timing of the first application and / or the operation rules of the first application (such as operation parameters, adopted algorithms and resources, etc.), thereby implementing operation management of the first application, for example, implementing start and stop management of the first application. Similarly, the operation mode of the second application is used to indicate the operation timing of the second application and / or the operation rules of the second application, thereby implementing operation management of the second application, for example, implementing start and stop management of the second application.
[0150] In one embodiment, the first execution rule includes a first execution time, and the second execution rule includes a second execution time;
[0151] Step 307 includes:
[0152] The first application is started and stopped managed according to the first execution time, and the second application is started and stopped managed according to the second execution time.
[0153] In the embodiment of the present application, start-stop management refers to managing operations such as starting and stopping an application so that the application is in a running state or a stopped state.
[0154] For example, in one example, the first sub-business process includes a data analysis task, and the first execution rule of the data analysis task indicates that the data analysis task does not need to be executed between 00:00 and 06:00 every day. In this case, the business model can associate the identifier of the data analysis application with the data analysis task to indicate that the data analysis task in the first sub-business process is executed through the data analysis application. In this example, the data analysis application can serve as the first application, the data analysis task as the first sub-task, and the first execution condition in the first execution rule of the first sub-task indicates that the data analysis task does not need to be executed between 00:00 and 06:00.
[0155] After receiving and parsing the business model, the edge node can determine that the data analysis application does not need to be run during 00:00-06:00 every day, but runs between 06:00-24:00 every day.
[0156] In this way, based on the operation mode of the data analysis application, the edge node can manage the start and stop of the data analysis application. That is, the data analysis application can be controlled to stop running at 00:00 every day and start running at 06:00 through the application running engine.
[0157] In this way, edge nodes can dynamically perceive business changes and manage the start and stop of applications based on business changes, reducing ineffective application operation and resource consumption.
[0158] It can be seen that in the embodiment of the present application, the business process of the edge node is decoupled from the application, so that the user can dynamically configure the business process of the edge node through the cloud management platform, as well as which application executes the business process, and send the business model to the edge node through the cloud management platform to instruct the edge node to execute the corresponding business according to the business model. It can be seen that in this method, the business process of the edge node and the execution method of the business process (such as related applications) can be dynamically adjusted according to the needs of the application scenario, can adapt to the needs of diverse application scenarios, can better cope with the rapid changes in the business on the user side, and ensure the execution effect of the edge node application in various application scenarios.
[0159] In addition, in some embodiments, since the business process is decoupled from the application, the user can update the business model efficiently and conveniently as needed to conveniently adjust the execution mode of the business process, so that the execution mode of the business process can be conveniently adjusted dynamically.
[0160] The following is an example introduction to the operation of updating the business model.
[0161] In some embodiments, as shown in FIG6 , after the cloud management platform sends the business model to the edge node, the method further includes steps 308 - 3011 .
[0162] Step 308: The cloud management platform obtains the third application information input by the user.
[0163] The third application information is used to indicate a third application that executes the first sub-business process.
[0164] In the embodiment of the present application, since the business process is decoupled from the application, the cloud management platform can flexibly adjust the application of the business process in the business model after issuing the business model to the edge node through user configuration and other means.
[0165] Specifically, in an embodiment of the present application, after the cloud management platform sends the business model to the edge node, the user can use the client device to adjust the application that executes the first sub-business process from the first application to the third application on the relevant configuration interface.
[0166] Step 309: The cloud management platform sends update information to the edge node.
[0167] The update information is used to instruct to update the service model, so that the updated service model instructs the third application to execute the first sub-service process on the edge node.
[0168] The update information may include only the information of the second application and the service model update instruction, or may include the complete updated service model, wherein the complete updated service model further instructs the second application to execute the second sub-service process at the edge node.
[0169] Step 3010: The edge node updates the service model according to the update information and obtains the updated service model.
[0170] In step 3011 , the edge node determines an operation mode of the third application according to the first sub-business process in the updated business model and the first execution rule of the first sub-task.
[0171] The method for determining the running mode of the third application is similar to the method for determining the running mode of the first application. You can refer to the method for determining the running mode of the first application mentioned above, and will not be repeated here.
[0172] In an embodiment of the present application, the relevant update process of the first sub-business process in the business model is introduced as an example. In this example, the application that executes the second sub-business process in the business model can be updated or not. The relevant update process of the second sub-business process (for example, the application that executes the second sub-business process) can refer to the relevant update process of the first sub-business process, which will not be repeated here.
[0173] As can be seen, in the embodiments of the present application, since the business process is decoupled from the application, the execution method of the business process can be flexibly adjusted. After the cloud management platform sends the business model to the edge node, it can flexibly adjust the application that executes the business process in the business model through user configuration and other methods, so that the business process can flexibly select the more suitable application for execution.
[0174] In addition, in some embodiments, the sub-business processes in the business model may also be updated.
[0175] For example, in some embodiments, after the cloud management platform sends the business model to the edge node, the method further includes:
[0176] The cloud management platform obtains the sub-business process update information input by the user, where the sub-business process update information is used to indicate that the first sub-business process is changed to a third sub-business process;
[0177] The cloud management platform sends second update information to the edge node, where the second update information is used to instruct to update the business model so that the updated business model instructs the first application to execute the third sub-business process at the edge node.
[0178] In the embodiment of the present application, since the business process is decoupled from the application, the cloud management platform can flexibly adjust the business process in the execution business model through user configuration and other means after issuing the business model to the edge node.
[0179] Specifically, in an embodiment of the present application, after the cloud management platform sends the business model to the edge node, the user can use the client device to adjust the first sub-business process to the third sub-business process on the relevant configuration interface to update the business model, and instruct the edge node to update the business model through the cloud management platform. In this example, the third sub-business process can be executed by the first application, while in other examples, the application that executes the third sub-business process can also be adjusted from the first application to another application.
[0180] As can be seen, in the embodiments of the present application, because the business processes of edge nodes are decoupled from applications, the business processes in the business model and the applications that execute the business processes can be flexibly adjusted without having to completely reconfigure the business model. In other words, users can flexibly update the business processes and / or applications that execute the business processes in the business model as needed. This update operation is relatively small, simple, and feasible, and can adapt to the needs of various application scenarios, allowing the execution of business processes in edge nodes to better meet customer needs.
[0181] 2. Operation and maintenance management.
[0182] In traditional edge node operation and maintenance methods, edge nodes usually collect all logs and other data of each application and upload them to a cloud-based monitoring platform. The monitoring platform then analyzes the data to identify anomalies in the edge nodes.
[0183] In this traditional operation and maintenance method, due to the excessive amount of logs, a large amount of communication resources are required when transmitting information between the edge nodes and the monitoring platform, and the monitoring platform needs to process a large number of logs. Therefore, high requirements are placed on the communication performance and the processing performance of operation and maintenance data such as log data. The efficiency of locating anomalies from logs and other data is low.
[0184] Based on this, in some embodiments, a data processing method based on Internet of Things technology is provided, in which the edge node can adaptively determine a suitable operation and maintenance strategy based on the received business model to perform operation and maintenance operations such as application monitoring, data collection and / or operation and maintenance data output.
[0185] Specifically, in some embodiments, as shown in FIG3 , the method further includes step 3012 .
[0186] In step 3012 , the edge node determines a first monitoring mode for the first application according to the first sub-business process and the first execution rule, and determines a second monitoring mode for the second application according to the second sub-business process and the second execution rule.
[0187] The first monitoring method of the first application can indicate when to monitor the first application, and can also indicate a specific monitoring strategy when monitoring the first application, such as monitoring indicators (such as processor usage, memory occupancy), etc.
[0188] The edge node can determine the operating mode of the first application based on the first sub-business process and the first execution rule, thereby determining the first monitoring mode of the first application. For example, the edge node can determine the time period during which the first application generates valid data based on the operating mode of the first application, thereby adaptively determining the first monitoring mode for the first application, thereby improving the effectiveness of the edge node's application monitoring, improving operation and maintenance efficiency, and reducing the consumption of resources by useless operations. Similarly, the edge node can determine the time period during which the second application generates valid data based on the operating mode of the second application, thereby adaptively determining the second monitoring mode for the second application, thereby improving the effectiveness of the edge node's application monitoring, improving operation and maintenance efficiency, and reducing the consumption of resources by useless operations.
[0189] In addition, in some embodiments, the edge node can not only adaptively perform application monitoring according to the business model, but also perform operation and maintenance operations such as data collection and / or operation and maintenance data output according to the business model.
[0190] In some embodiments, after step 3012, the method further includes:
[0191] When monitoring the first application according to the first monitoring method, collecting first operation and maintenance data of the first application;
[0192] According to a first output strategy for first operation and maintenance data, first operation and maintenance data is output, where the first operation and maintenance data includes a log of a first application.
[0193] And / or, in some embodiments, the method further comprises:
[0194] When monitoring the second application according to the second monitoring method, collecting second operation and maintenance data of the second application;
[0195] According to the second output strategy of the second operation and maintenance data, the second operation and maintenance data is output, where the second operation and maintenance data includes a log of the second application.
[0196] The collection methods for the first and second operation and maintenance data can be the same or different, and the specific content and determination methods of the first and second output strategies can be the same or different. This is not limited in the present embodiment. The present embodiment is provided for illustrative purposes only and is not intended to be limiting. The following provides exemplary descriptions of the first and second operation and maintenance data, as well as the first and second output strategies.
[0197] In an embodiment of the present application, the first operation and maintenance data of the first application is used to identify anomalies of the first application. The first operation and maintenance data includes, but is not limited to, the log of the first application and, for example, may also include one or more of the operation data and hardware status data of the first application. The second operation and maintenance data of the second application is used to identify anomalies of the second application. The second operation and maintenance data includes, but is not limited to, the log of the second application and, for example, may also include one or more of the operation data and hardware status data of the second application.
[0198] The specific method for collecting the first operation and maintenance data can be various. For example, it can be collected by the first application, by another application that interacts with the first application, or by an application that monitors the first application. The specific method for collecting the second operation and maintenance data can also be various, and will not be detailed here.
[0199] In the embodiment of the present application, when monitoring an application, collecting the operation and maintenance data of the application can improve the effectiveness of the operation and maintenance data collection and reduce the consumption of resources by useless data.
[0200] In addition, in an embodiment of the present application, it can be determined whether to output operation and maintenance data based on the corresponding output strategy, for example, based on the first output strategy of the first operation and maintenance data, it can be determined whether to output the first operation and maintenance data, and / or, based on the second output strategy of the second operation and maintenance data, it can be determined whether to output the second operation and maintenance data.
[0201] The first output policy indicates whether to output the first operation and maintenance data. Furthermore, if the first operation and maintenance data is to be output, it can indicate how to output the first operation and maintenance data. For example, the first operation and maintenance data can be output at a scheduled time or after a specified size has been collected. The second output policy indicates whether to output the second operation and maintenance data. Furthermore, if the second operation and maintenance data is to be output, it can indicate how to output the second operation and maintenance data. For example, the second operation and maintenance data can be output at a scheduled time or after a specified size has been collected.
[0202] Among them, the first operation and maintenance data and / or the second operation and maintenance data can be output to the cloud management platform for subsequent data analysis and operation and maintenance operations; in addition, the first operation and maintenance data and / or the second operation and maintenance data can also be output to other devices (such as client devices), which is not limited in the embodiments of the present application.
[0203] The output strategy (the first output strategy and / or the second output strategy) may be determined in one or more of the following ways:
[0204] 1) The output policy is configured by the user.
[0205] In some embodiments, the method further comprises:
[0206] Obtaining first output policy information and / or second output policy information input by a user, where the first output policy information is used to indicate an output policy for first operation and maintenance data of a first application, where the first operation and maintenance data includes a log of the first application; and the second output policy information is used to indicate an output policy for second operation and maintenance data of a second application, where the second operation and maintenance data includes a log of the second application;
[0207] Step 303 includes:
[0208] A business model is generated based on the first business process information, the first application information, the second application information, and the first output strategy information and / or the second output strategy information. The business model is used to indicate that the first application executes the first sub-business process at the edge node and the second application executes the second sub-business process at the edge node, and is used to indicate the output strategy of the first operation and maintenance data and / or the output strategy of the second operation and maintenance data.
[0209] It can be seen that in the embodiment of the present application, the user can configure the first output strategy and / or the second output strategy through a client device and input it into the cloud management platform so that the generated business model includes the first output strategy and / or the second output strategy.
[0210] In this way, users can flexibly configure the output strategy of operation and maintenance data according to business needs, thereby improving the effectiveness of operation and maintenance operations and reducing the communication pressure caused by the transmission of operation and maintenance data in some scenarios.
[0211] 2) Determine the output strategy based on the resource usage status of the edge node.
[0212] In some embodiments, the method further comprises:
[0213] A first output strategy and / or a second output strategy is determined according to the resource usage status of the edge node.
[0214] In the embodiment of the present application, the output strategy of operation and maintenance data can be adaptively determined according to the resource usage status of the cloud management platform.
[0215] The resource usage status may be determined by one or more status parameters, which may include at least one of parameters such as processor occupancy, memory occupancy, and application response status.
[0216] When the resource usage status indicates that the edge node is in a busy state, an idle state, or an abnormal state, different operation and maintenance strategies can be determined according to different states.
[0217] The following example illustrates this.
[0218] A. The edge node is busy.
[0219] Exemplarily, if the processor occupancy and / or the memory occupancy is greater than a specified threshold, it can be determined that the edge node is in a busy state.
[0220] At this point, an operation and maintenance strategy can be determined to reduce the occupation of current resources of edge nodes by operation and maintenance operations.
[0221] For example, the first output strategy and / or the second output strategy can adopt strategies such as periodic output, delayed staggered output, and sampling output to reduce the real-time occupation of communication resources and data processing resources of edge nodes by operation and maintenance data, thereby reducing resource consumption.
[0222] B. The edge node is in idle state.
[0223] Exemplarily, if the processor occupancy rate and / or the memory occupancy rate is not greater than a specified threshold value, it can be determined that the edge node is in an idle state.
[0224] At this time, the operation and maintenance data can be output normally based on the collection status of the operation and maintenance data.
[0225] For example, the first output strategy and / or the second output strategy may adopt the output strategy configured by the user in the business model.
[0226] C. The edge node is in an abnormal state.
[0227] For example, if it is detected that the application (such as the first application and / or the second application) does not respond, the operation and maintenance data of the application (such as the first operation and maintenance data and / or the second operation and maintenance data) does not change, the edge node is down, etc., it can be determined that the edge node is in an abnormal state.
[0228] At this point, the operation and maintenance strategy can be determined to promptly issue alerts and analyze abnormal status of edge nodes.
[0229] For example, the first output strategy and / or the second output strategy may be to trigger the output operation of the corresponding operation and maintenance data (such as the first operation and maintenance data and / or the second operation and maintenance data) when it is detected that the edge node is in an abnormal state. In addition, alarm information may also be output to indicate that the edge node is in an abnormal state, so that the cloud management platform can perform operation and maintenance on the edge node in a timely manner.
[0230] It can be seen that in the embodiment of the present application, the first output strategy and / or the second output strategy in the edge node can be flexibly adjusted according to the resource usage status of the edge node to avoid ineffective consumption of the resources of the edge node and improve the effectiveness of the output operation and maintenance data.
[0231] It is understood that in the above examples, the specific content and determination methods of the first and second output policies can be the same or different. For example, the first output policy can be configured by the user through the client, included in the business model, and then transmitted to the edge node, while the second output policy can be determined based on the resource usage status of the edge node; or, both the first and second output policies can be determined based on the resource usage status of the edge node. Other scenarios are also possible and are not limited here.
[0232] The following example shown in FIG7 is used to illustrate a specific implementation of dynamically setting a business model and dynamically adjusting an operation and maintenance strategy.
[0233] For example, as shown in FIG7 , in one example, considering that production equipment is under maintenance from 00:00 to 06:00 every day, during which time no data analysis is required and data storage can be reduced, the interaction between the cloud management platform and the edge node may include the following steps:
[0234] 1. The cloud management platform deploys multiple applications to edge nodes. These applications include data analysis applications and data storage applications. In other examples, data analysis applications and data storage applications can also be transferred to edge nodes along with the business model and deployed.
[0235] 2. The user inputs the first business process information through the client device according to the maintenance status of the production equipment in the actual scenario.
[0236] The first sub-business process includes a data analysis task, and the first sub-business process indicates that the data analysis task does not need to be performed between 00:00 and 06:00 every day. The second sub-business process includes a data storage task, and the second sub-business process indicates that data storage for production equipment (e.g., logs and / or operating data of the production equipment do not need to be stored) does not need to be performed between 00:00 and 06:00 every day.
[0237] 3. The user instructs, through the client device, to execute the data analysis task in the first sub-business process through the data analysis application, and instructs to execute the data storage task in the second sub-business process through the data storage application.
[0238] In this way, the cloud management platform can generate a business model.
[0239] In the business model, the identifier of the data analysis application can be associated with the data analysis task to indicate that the data analysis task in the first sub-business process is executed through the data analysis application, and the data storage application can be associated with the data storage task to indicate that the data storage task in the second sub-business process is executed through the data storage application.
[0240] 4. The cloud management platform sends the business model to the edge node so that the edge node can parse the business model.
[0241] 5. The edge node starts and stops the data analysis application and the data storage application through the application runtime engine based on the first and second sub-business processes obtained after parsing.
[0242] In this example, after receiving and parsing the business model, the edge node can determine, based on the first sub-business process, that the data analysis application does not need to run between 00:00 and 06:00 every day, but runs between 06:00 and 24:00 every day, and according to the second sub-business process, determine that the data storage application remains running between 00:00 and 06:00 every day, but does not need to store data on the production equipment, but stores data on the production equipment between 06:00 and 24:00 every day.
[0243] In this way, based on the operation mode of the data analysis application, the edge node can control the data analysis application to stop running at 00:00 and start running at 06:00. For example, in the example shown in Figure 7, the data analysis application can obtain business data after data preprocessing and specified data processing from the data acquisition application, and perform data analysis on the processed business data from 06:00 to 24:00.
[0244] Furthermore, the edge node controls the data storage application to remain operational from 00:00 to 24:00, but does not store data for production equipment between 00:00 and 06:00. Instead, data is stored for production equipment between 06:00 and 24:00. For example, in the example shown in FIG7 , the data storage application can obtain business data from the data acquisition application after data preprocessing and specified data processing, and store the processed business data between 06:00 and 24:00.
[0245] 6. The edge node can determine the monitoring method of the data analysis application and the monitoring method of the data storage application based on the operation mode of the data analysis application and the operation mode of the data storage application, and collect operation and maintenance data.
[0246] Specifically, in this example, the edge node can monitor the data analysis application when the data analysis application is in the running state, and obtain operation and maintenance data such as the log of the data analysis application through the operation and maintenance data collection plug-in, and stop monitoring the data analysis application and operation and maintenance data collection when the data analysis application is in the stopped state, thereby reducing invalid monitoring of the data analysis application, improving the effectiveness of monitoring and operation and maintenance data collection, and reducing resource consumption.
[0247] In addition, if the data storage application is always running and does not need to store data on production equipment between 00:00 and 06:00, the edge node can reduce the frequency of monitoring the data storage application during the period from 00:00 to 06:00, and increase the frequency of monitoring the data storage application during the period from 06:00 to 24:00 relative to the period from 00:00 to 06:00, and can collect operation and maintenance data such as logs of the data storage application through the operation and maintenance data collection plug-in. Alternatively, in other examples, the data storage application can also stop running during the period from 00:00 to 06:00, and the edge node's monitoring method for the data storage application indicates that when the data storage application stops running, monitoring of the data storage application and collection of operation and maintenance data are stopped, thereby improving the effectiveness of monitoring and operation and maintenance data collection and reducing resource consumption.
[0248] 7. The edge node outputs operation and maintenance data according to the output strategy.
[0249] In this example, the edge node can also determine the first output strategy of the operation and maintenance data of the data analysis application and the second output strategy of the operation and maintenance data of the data storage application from the business model or based on the resource usage status of the edge node, and output the operation and maintenance data of the data analysis application according to the first output strategy, and output the operation and maintenance data of the data storage application according to the second output strategy.
[0250] The operation and maintenance data of the data analysis application and the operation and maintenance data of the data storage application can be output to the cloud management platform so that the cloud management platform can perform operation and maintenance management on the operation and maintenance data.
[0251] In addition, the cloud management platform can also open the operation and maintenance logs generated based on operation and maintenance data to third-party applications to perform subsequent operation and maintenance and other processing operations.
[0252] In addition, as shown in FIG8 , the edge node may also record the processing status of the first sub-business process and the second sub-business process in a list to facilitate timely determination of the execution status of the first sub-business process and the second sub-business process.
[0253] The list may record the status, location, description, running time, start time, name, serial number, and identifier (such as the universally unique identifier (UUID) shown in FIG8 ) of the first sub-business process and the second sub-business process.
[0254] It can be seen that in the embodiment of the present application, the edge node can adaptively determine the monitoring method for the first application based on the first sub-business process and the first execution rule, and adaptively determine the monitoring method for the second application based on the second sub-business process and the second execution rule, thereby improving the effectiveness of application monitoring and reducing the consumption of resources by useless operations.
[0255] The above describes the data processing method based on Internet of Things technology provided by the embodiment of the present application from multiple aspects. The following describes the cloud management platform and edge node of the embodiment of the present application in conjunction with the accompanying drawings.
[0256] As shown in FIG9 , an embodiment of the present application provides a cloud management platform 90. The cloud management platform is used to manage infrastructure. The infrastructure is connected to edge nodes. Multiple applications are stored on the infrastructure. The edge nodes are connected to business devices. The edge nodes are used to obtain business data generated by the business devices during operation. The cloud management platform 90 includes:
[0257] Interface module 901 is used to:
[0258] Obtaining first business process information input by a user, where the first business process information is used to indicate a first business process running on an edge node, where the first business process is a process for processing business data, and includes a first sub-business process and a second sub-business process;
[0259] Obtaining first application information and second application information input by a user, where the first application information is used to indicate a first application that executes a first sub-business process, and the second application information is used to indicate a second application that executes a second sub-business process, wherein the multiple applications include the first application and the second application;
[0260] Processing module 902 is configured to generate a business model based on the first business process information, the first application information, and the second application information, where the business model is configured to instruct the first application to execute a first sub-business process on the edge node and the second application to execute a second sub-business process on the edge node.
[0261] The interface module 901 is further configured to send the service model to the edge node.
[0262] Optionally, the first sub-business process includes a first sub-task, and the second sub-business process includes a second sub-task;
[0263] The interface module 901 is used to obtain a first execution rule and a second execution rule input by a user, wherein the first execution rule is used to indicate an execution rule for the first subtask, and the second execution rule is used to indicate an execution rule for the second subtask;
[0264] The processing module 902 is used to generate a business model based on the first business process information, the first application information, the second application information, the first execution rule and the second execution rule, where the business model is used to instruct the first application to execute the first sub-business process at the edge node according to the first execution rule and the second application to execute the second sub-business process at the edge node according to the second execution rule.
[0265] Optionally, the interface module 901 is configured to: obtain first output policy information and / or second output policy information input by a user, where the first output policy information is used to indicate an output policy for first operation and maintenance data of a first application, where the first operation and maintenance data includes a log of the first application; and the second output policy information is used to indicate an output policy for second operation and maintenance data of a second application, where the second operation and maintenance data includes a log of the second application.
[0266] The processing module 902 is used to generate a business model based on the first business process information, the first application information, the second application information, and the first output strategy information and / or the second output strategy information. The business model is used to indicate that the first application executes the first sub-business process at the edge node and the second application executes the second sub-business process at the edge node, and is used to indicate the output strategy of the first operation and maintenance data and / or the output strategy of the second operation and maintenance data.
[0267] Optionally, the interface module 901 is configured to:
[0268] Acquire third application information input by the user, where the third application information is used to indicate a third application that executes the first sub-business process;
[0269] Update information is sent to the edge node, where the update information is used to instruct to update the service model, so that the updated service model instructs the third application to execute the first sub-service process on the edge node.
[0270] Optionally, the interface module 901 is configured to send a service model and application deployment information to an edge node, where the application deployment information is used to instruct the edge node to deploy the first application and the second application.
[0271] Optionally, the interface module 901 is configured to send application deployment information to the edge node, where the application deployment information is used to instruct the edge node to deploy multiple applications.
[0272] As shown in FIG10 , an embodiment of the present application provides an edge node 100. The edge node is connected to a business device and is used to obtain business data generated by the business device during operation. The edge node is connected to an infrastructure, and the infrastructure is managed by a cloud management platform. Multiple applications are stored on the infrastructure. The edge node 100 includes:
[0273] Interface module 1001 is configured to: receive a business model from a cloud management platform, where the business model is configured to instruct a first application to execute a first sub-business process on an edge node and a second application to execute a second sub-business process on an edge node, wherein the plurality of applications includes the first application and the second application, the first sub-business process and the second sub-business process are included in the first business process, and the first business process is a process for processing business data;
[0274] The processing module 1002 is configured to:
[0275] Parsing the business model to determine a first sub-business process and a first application for executing the first sub-business process, and a second sub-business process and a second application for executing the second sub-business process, wherein the first sub-business process includes a first subtask and the second sub-business process includes a second subtask;
[0276] The operation mode of the first application is determined according to the first sub-business process and the first execution rule of the first sub-task, and the operation mode of the second application is determined according to the second sub-business process and the second execution rule of the second sub-task.
[0277] Optionally, the first execution rule includes a first execution time, and the second execution rule includes a second execution time;
[0278] The processing module 1002 is used to:
[0279] The first application is started and stopped managed according to the first execution time, and the second application is started and stopped managed according to the second execution time.
[0280] Optionally, the business model is used to instruct the first application to execute a first sub-business process at the edge node according to a first execution rule and the second application to execute a second sub-business process at the edge node according to a second execution rule.
[0281] Optionally, the processing module 1002 is configured to determine a first monitoring mode for the first application according to the first sub-business process and the first execution rule, and determine a second monitoring mode for the second application according to the second sub-business process and the second execution rule.
[0282] Optionally, the processing module 1002 is configured to:
[0283] When monitoring the first application according to the first monitoring method, collecting first operation and maintenance data of the first application;
[0284] Outputting the first operation and maintenance data according to a first output strategy for the first operation and maintenance data, where the first operation and maintenance data includes a log of the first application;
[0285] and / or, for:
[0286] When monitoring the second application according to the second monitoring method, collecting second operation and maintenance data of the second application;
[0287] According to the second output strategy of the second operation and maintenance data, the second operation and maintenance data is output, where the second operation and maintenance data includes a log of the second application.
[0288] Optionally, the first output strategy and / or the second output strategy are included in the business model.
[0289] Optionally, the processing module 1002 is configured to determine the first output strategy and / or the second output strategy according to the resource usage status of the edge node.
[0290] Optionally, the interface module 1001 is configured to: receive update information from the cloud management platform, where the update information is used to instruct an update to the business model, so that the updated business model instructs the third application to execute the first sub-business process at the edge node;
[0291] The processing module 1002 is used to:
[0292] Update the business model according to the updated information to obtain an updated business model;
[0293] An operating mode of the third application is determined according to the first sub-business process in the updated business model and according to the first execution rule of the first sub-task.
[0294] Optionally, the interface module 1001 is used to: receive application deployment information from the cloud management platform, where the application deployment information is used to instruct the edge node to deploy the first application and the second application.
[0295] In an embodiment of the present application, a module is used as an example of a software functional unit, and the data processing device may include code running on a computing instance. The computing instance may be at least one of a physical host (computing device), a virtual machine, a container, and other computing devices. Furthermore, the above-mentioned computing device may be one or more. For example, the data processing device 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 application may be distributed in the same region or in different regions. The multiple hosts / virtual machines / containers used to run the code may be distributed in the same available zone (AZ) or in different AZs, each AZ including one data center or multiple geographically close data centers. Typically, a region may include multiple AZs.
[0296] Similarly, the multiple hosts / virtual machines / containers used to run this code can be distributed within the same virtual private cloud (VPC) or across multiple VPCs. Typically, a VPC is located within a region. Cross-region communication between two VPCs within the same region, or between VPCs in different regions, requires a communication gateway within each VPC to interconnect the VPCs.
[0297] As an example of a hardware functional unit, a data processing device may include at least one computing device, such as a server. Alternatively, the data processing device may be implemented using an application specific integrated circuit (ASIC) or a programmable logic device (PLD). The PLD may be a complex PLD (CPLD), a field programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.
[0298] The multiple computing devices included in a data processing device can be distributed in the same region or in different regions. They can also be distributed in the same AZ or in different AZs. Similarly, they can be distributed in the same VPC or across multiple VPCs. The multiple computing devices can be any combination of servers, ASICs, PLDs, CPLDs, FPGAs, GALs, and other computing devices.
[0299] It should be noted that, in other embodiments, the interface module can be used to execute any step in the data processing method based on the Internet of Things technology, and the processing module can be used to execute any step in the data processing method based on the Internet of Things technology. The steps that the interface module and the processing module are responsible for implementing can be specified as needed. The full functions of the data processing device are realized by respectively implementing different steps in the data processing method based on the Internet of Things technology through the interface module and the processing module.
[0300] The present application also provides a computing device 110. As shown in FIG11 , computing device 110 includes a bus 112, a processor 114, a memory 116, and a communication interface 118. Processor 114, memory 116, and communication interface 118 communicate with each other via bus 112. Computing device 110 can be a server or a terminal device. It should be understood that this application does not limit the number of computing devices 110 or the number of processors and memories in computing device 110.
[0301] Bus 112 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, among others. Buses may be classified as address buses, data buses, control buses, and the like. For ease of illustration, FIG11 illustrates a single bus line, but this does not imply a single bus or type of bus. Bus 114 may include a path for transmitting information between various components of computing device 110 (e.g., memory 116, processor 114, and communication interface 118).
[0302] The processor 114 may include any one or more processors such as a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).
[0303] The memory 116 may include volatile memory, such as random access memory (RAM). The processor 114 may also include non-volatile memory, such as read-only memory (ROM), flash memory, a hard disk drive (HDD), or a solid state drive (SSD).
[0304] The memory 116 stores executable program code, and the processor 114 executes the executable program code to respectively implement the functions of the aforementioned interface module and processing module, thereby realizing the data processing method based on the Internet of Things technology applied to the edge node in the above-mentioned embodiment. That is, the memory 116 stores instructions for executing the data processing method based on the Internet of Things technology applied to the edge node in the above-mentioned embodiment.
[0305] The communication interface 118 uses a transceiver module such as, but not limited to, a network interface card or a transceiver to implement communication between the computing device 110 and other devices or a communication network.
[0306] The present application also provides a computing device 120. As shown in FIG12 , computing device 120 includes a bus 122, a processor 124, a memory 126, and a communication interface 128. Processor 124, memory 126, and communication interface 128 communicate with each other via bus 122. Computing device 120 may be a server or a terminal device. It should be understood that this application does not limit the number of processors and memories in computing device 120.
[0307] Bus 122 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, among others. Buses may be classified as address buses, data buses, control buses, and the like. For ease of illustration, FIG12 shows a single line, but this does not imply a single bus or type of bus. Bus 124 may include a path for transmitting information between various components of computing device 120 (e.g., memory 126, processor 124, and communication interface 128).
[0308] The processor 124 may include any one or more processors such as a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).
[0309] The memory 126 may include volatile memory, such as random access memory (RAM). The processor 124 may also include non-volatile memory, such as read-only memory (ROM), flash memory, a hard disk drive (HDD), or a solid state drive (SSD).
[0310] The memory 126 stores executable program code, and the processor 124 executes the executable program code to respectively implement the functions of the aforementioned acquisition module and training module, thereby realizing the data processing method based on Internet of Things technology applied to the cloud management platform in the above-mentioned embodiment. That is, the memory 126 stores instructions for executing the data processing method based on Internet of Things technology applied to the cloud management platform in the above-mentioned embodiment.
[0311] The communication interface 128 uses a transceiver module such as, but not limited to, a network interface card or a transceiver to implement communication between the computing device 120 and other devices or a communication network.
[0312] Embodiments of the present application also provide a computing device cluster. The computing device cluster includes at least one computing device. The computing device can be a server, such as a central server, an edge server, or a local server in a local data center. In some embodiments, the computing device can also be a terminal device such as a desktop computer, a laptop computer, or a smartphone.
[0313] As shown in Figure 13, the computing device cluster includes at least one computing device 120. The memory 126 in one or more computing devices 120 in the computing device cluster may store the same instructions for executing the data processing method based on the Internet of Things technology applied to the cloud management platform.
[0314] In some possible implementations, the memory 126 of one or more computing devices 120 in the computing device cluster may also store partial instructions for executing the data processing method based on the Internet of Things technology applied to the cloud management platform. In other words, the combination of one or more computing devices 120 can jointly execute instructions for executing the data processing method based on the Internet of Things technology applied to the cloud management platform.
[0315] It should be noted that the memory 126 in different computing devices 120 in the computing device cluster can store different instructions, each for executing a portion of the functions of the data processing method based on IoT technology. In other words, the instructions stored in the memory 126 in different computing devices 120 can implement the functions of one or more modules in the interface module and the processing module.
[0316] In some possible implementations, one or more computing devices in a computing device cluster may be connected via a network. The network may be a wide area network (WAN) or a local area network (LAN), etc. FIG14 shows a possible implementation. As shown in FIG14 , two computing devices 120A and 120B are connected via a network. Specifically, the connection to the network is made via a communication interface in each computing device. In this type of possible implementation, the memory 126 in the computing device 120A may store instructions for executing the functions of the interface module. At the same time, the memory 126 in the computing device 120B may store instructions for executing the functions of the processing module. Alternatively, the memory 126 in the computing device 120A may store instructions for executing part of the functions of the processing module. At the same time, the memory 126 in the computing device 120B may store instructions for executing another part of the functions of the processing module.
[0317] It should be understood that the functionality of the computing device 120A shown in FIG14 may also be performed by multiple computing devices 120. Similarly, the functionality of the computing device 120B may also be performed by multiple computing devices 120.
[0318] The present application also provides another computing device cluster. The connection relationship between the computing devices in this computing device cluster can be similar to the connection methods of the computing device clusters shown in Figures 13 and 14 . However, the memory 126 in one or more computing devices 120 in this computing device cluster can store the same instructions for executing the data processing method based on Internet of Things technology applied to the cloud management platform.
[0319] In some possible implementations, the memory 126 of one or more computing devices 120 in the computing device cluster may also store partial instructions for executing the data processing method based on the Internet of Things technology. In other words, the combination of one or more computing devices 120 can jointly execute the instructions for executing the data processing method based on the Internet of Things technology.
[0320] It should be noted that the memory 126 in different computing devices 120 in the computing device cluster can store different instructions for executing partial functions of the data processing method based on Internet of Things technology. In other words, the instructions stored in the memory 126 in different computing devices 120 can implement the functions of one or more modules in the interface module and the processing module.
[0321] 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 on any available medium. When the computer program product is run on at least one computing device, it causes the at least one computing device to execute a data processing method based on Internet of Things technology.
[0322] The present application also provides a computer-readable storage medium. The computer-readable storage medium can be any available medium that can be stored by a computing device or a data storage device such as a data center that contains one or more available media. The available medium can 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 drive). The computer-readable storage medium includes instructions that instruct the computing device to execute a data processing method based on Internet of Things technology.
[0323] The present application also provides a chip system, which includes a processor configured to implement the steps performed by the computing device cluster. In one possible design, the chip system may also include a memory configured to store necessary program instructions and data. The chip system may be composed solely of a chip or may include a chip and other discrete components.
[0324] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0325] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interface, device or unit, which can be electrical, mechanical or other forms.
[0326] Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0327] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0328] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
Claims
1. A data processing method based on Internet of Things technology, characterized in that: The method is applied to a cloud management platform, the cloud management platform is used to manage infrastructure, the infrastructure is connected to an edge node, wherein a plurality of applications are stored on the infrastructure, the edge node is connected to a business device, and the edge node is used to obtain business data generated by the business device during operation, the method comprising: Acquire first business process information input by a user, where the first business process information is used to indicate a first business process running on the edge node, where the first business process is a process for processing the business data, and the first business process includes a first sub-business process and a second sub-business process; Acquire first application information and second application information input by the user, wherein the first application information is used to indicate a first application that executes the first sub-business process, and the second application information is used to indicate a second application that executes the second sub-business process, wherein the multiple applications include the first application and the second application; Generate a business model according to the first business process information, the first application information, and the second application information, wherein the business model is used to instruct the first application to execute the first sub-business process at the edge node and the second application to execute the second sub-business process at the edge node; The service model is sent to the edge node.
2. The method according to claim 1, characterized in that The first sub-business process includes a first sub-task, and the second sub-business process includes a second sub-task; The method further comprises: Acquire a first execution rule and a second execution rule input by a user, wherein the first execution rule is used to indicate an execution rule of the first subtask, and the second execution rule is used to indicate an execution rule of the second subtask; The generating a business model according to the first business process information, the first application information and the second application information includes: The business model is generated according to the first business process information, the first application information, the second application information, the first execution rule and the second execution rule, wherein the business model is used to instruct the first application to execute the first sub-business process at the edge node according to the first execution rule, and the second application to execute the second sub-business process at the edge node according to the second execution rule.
3. The method according to claim 1 or 2, characterized in that: The method further comprises: Acquire first output policy information input by a user, where the first output policy information is used to indicate an output policy of first operation and maintenance data of the first application, where the first operation and maintenance data includes a log of the first application; The generating a business model according to the first business process information, the first application information and the second application information includes: The business model is generated based on the first business process information, the first application information, the second application information and the first output strategy information. The business model is used to indicate that the first application executes the first sub-business process at the edge node and the second application executes the second sub-business process at the edge node, and is used to indicate the output strategy of the first operation and maintenance data.
4. The method according to any one of claims 1 to 3, characterized in that: After sending the service model to the edge node, the method further includes: Acquire third application information input by a user, where the third application information is used to indicate a third application that executes the first sub-business process; Sending update information to the edge node, where the update information is used to instruct to update the service model, so that the updated service model instructs the third application to execute the first sub-service process at the edge node.
5. The method according to any one of claims 1 to 4, characterized in that: Sending the service model to the edge node includes: The business model and application deployment information are sent to the edge node, where the application deployment information is used to instruct the edge node to deploy the first application and the second application.
6. The method according to any one of claims 1 to 4, characterized in that: Before sending the service model to the edge node, the method further includes: Application deployment information is sent to the edge node, where the application deployment information is used to instruct the edge node to deploy the multiple applications.
7. A cloud management platform, characterized in that: The cloud management platform is used to manage infrastructure, the infrastructure is connected to an edge node, wherein a plurality of applications are stored on the infrastructure, the edge node is connected to a business device, and the edge node is used to obtain business data generated by the business device during operation. The cloud management platform includes: Interface modules for: Acquire first business process information input by a user, where the first business process information is used to indicate a first business process running on the edge node, where the first business process is a process for processing the business data, and the first business process includes a first sub-business process and a second sub-business process; Acquire first application information and second application information input by the user, wherein the first application information is used to indicate a first application that executes the first sub-business process, and the second application information is used to indicate a second application that executes the second sub-business process, wherein the multiple applications include the first application and the second application; A processing module, configured to: generate a business model according to the first business process information, the first application information, and the second application information, wherein the business model is used to instruct the first application to execute the first sub-business process at the edge node and the second application to execute the second sub-business process at the edge node; The interface module is also used to: send the service model to the edge node.
8. The cloud management platform according to claim 7, characterized in that: The first sub-business process includes a first sub-task, and the second sub-business process includes a second sub-task; The interface module is used to: obtain a first execution rule and a second execution rule input by a user, wherein the first execution rule is used to indicate a first execution rule of the first subtask, and the second execution rule is used to indicate a second execution rule of the second subtask; The processing module is used to generate the business model according to the first business process information, the first application information, the second application information, the first execution rule and the second execution rule, wherein the business model is used to instruct the first application to execute the first sub-business process at the edge node according to the first execution rule and the second application to execute the second sub-business process at the edge node according to the second execution rule.
9. The cloud management platform according to claim 7 or 8, characterized in that: The interface module is used to: obtain first output policy information input by a user, where the first output policy information is used to indicate an output policy of first operation and maintenance data of the first application, where the first operation and maintenance data includes a log of the first application; The processing module is used to generate the business model based on the first business process information, the first application information, the second application information and the first output strategy information, wherein the business model is used to instruct the first application to execute the first sub-business process at the edge node and the second application to execute the second sub-business process at the edge node, and to indicate the output strategy of the first operation and maintenance data.
10. The cloud management platform according to any one of claims 7 to 9, characterized in that: The interface module is used for: Acquire third application information input by a user, where the third application information is used to indicate a third application that executes the first sub-business process; Sending update information to the edge node, where the update information is used to instruct to update the service model, so that the updated service model instructs the third application to execute the first sub-service process at the edge node.
11. The cloud management platform according to any one of claims 7 to 10, characterized in that: The interface module is used to send the service model and application deployment information to the edge node, where the application deployment information is used to instruct the edge node to deploy the first application and the second application.
12. The cloud management platform according to any one of claims 7 to 10, characterized in that: Before sending the service model to the edge node, the interface module is used to: send application deployment information to the edge node, where the application deployment information is used to instruct the edge node to deploy the multiple applications.
13. A computing device cluster, characterized in that: comprising at least one computing device, the at least one computing device comprising a processor and a memory; The processor is used to execute instructions stored in the memory, so that the processor executes the method according to any one of claims 1-6.
14. A communication system, characterized in that: It includes a cloud management platform, an edge node and a business device, wherein the cloud management platform is used to manage the infrastructure, the infrastructure is connected to the edge node, wherein the infrastructure stores multiple applications, the edge node is connected to the business device, and the edge node is used to obtain the business data generated by the business device during operation; The cloud management platform is used for: Acquire first business process information input by a user, where the first business process information is used to indicate a first business process running on the edge node, where the first business process is a process for processing the business data, and the first business process includes a first sub-business process and a second sub-business process; Acquire first application information and second application information input by the user, wherein the first application information is used to indicate a first application that executes the first sub-business process, and the second application information is used to indicate a second application that executes the second sub-business process, wherein the multiple applications include the first application and the second application; Generate a business model according to the first business process information, the first application information, and the second application information, wherein the business model is used to instruct the first application to execute the first sub-business process at the edge node and the second application to execute the second sub-business process at the edge node; Sending the service model to the edge node; The edge node is used for: receiving a business model from the cloud management platform; Parsing the business model, determining the first sub-business process and a first application for executing the first sub-business process, and the second sub-business process and a second application for executing the second sub-business process, wherein the first sub-business process includes a first subtask, and the second sub-business process includes a second subtask; The operation mode of the first application is determined according to the first sub-business process and the first execution rule of the first sub-task, and the operation mode of the second application is determined according to the second sub-business process and the second execution rule of the second sub-task.
15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program runs on a processor, the processor is enabled to execute the method according to any one of claims 1 to 6.
16. A computer program product comprising instructions, characterized in that When the instructions are executed by a processor, the processor is caused to perform the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Data processing method based on Internet of Things technology and related equipment
CN120186148A
Service process arrangement method and device and readable medium
CN112583898A
Handshake of application execution between edge nodes
CN113424509A
Multi-service data processing method, device and system and computer equipment
CN116233242A
Method and system for realizing management of cloud native application instance management architecture
CN116450294A