An automated management method, device, equipment, and storage medium based on cloud-edge collaboration
By configuring the policy configuration files, data synchronization policies and role management permission policies of edge devices on the cloud platform, the complexity of device deployment and data management between the group company and its subsidiaries is solved, efficient automated deployment and data synchronization is achieved, and operation and maintenance efficiency and data management flexibility are improved.
Patent Information
- Application Number
- CN202411014732.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2025-06-03
- Estimated Expiration
- 2044-07-26
AI Technical Summary
In the context of industrial automation and informatization development, production equipment deployment, data management and operation and maintenance between group companies and subsidiaries are costly, and it is difficult to achieve efficient and unified deployment between different levels; data synchronization is limited to tables, lacks flexibility, cannot adapt to the field-driven design concept, and is difficult to achieve data synchronization between models; permission management is not flexible enough to meet the sharing and independent authority requirements in the multi-level management mode.
Configure policy profiles, data synchronization policies and role management permission policies for multiple edge devices through the cloud platform to achieve automated deployment, data synchronization and permission management. The specific steps include: configuring applications and upgrade policies, automatically deploying applications, synchronizing edge device data to the cloud platform according to the data synchronization policy, determining data management permissions based on role information and permission policies, and matching target data for management.
Remote batch deployment is realized, operation and maintenance costs are reduced, overall data management is supported, data management permissions are flexibly configured, and management efficiency and data management capabilities are improved.
Smart Images

Figure CN118963856B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular, to an automated management method, device, equipment, and storage medium based on cloud-edge collaboration. Background Art
[0002] In the context of the rapid development of industrial automation and informatization, the deployment, data management, and management of various production equipment involved between group companies and subsidiaries have become increasingly complex. For example, the deployment of application programs requires operators or technicians from different companies to operate in different companies, which is cumbersome, has high operation and maintenance costs, and it is difficult to achieve efficient and unified deployment between different levels (such as groups, subsidiaries, factories, production lines); data synchronization is usually limited to tables and independent synchronization of each company, lacking flexibility and being unfavorable for overall data management. Summary of the Invention
[0003] Embodiments of the present application provide an automated management method, device, equipment, and storage medium based on cloud-edge collaboration to solve at least one problem existing in the related art. The technical solutions are as follows:
[0004] In a first aspect, embodiments of the present application provide a method for management based on cloud-edge collaboration, including:
[0005] Configuring policy configuration files, data synchronization policies, and role management permission policies for multiple edge devices through a cloud platform;
[0006] Automatically deploying the edge devices through the policy configuration files;
[0007] Synchronizing the data of the edge devices to the cloud platform according to the data synchronization policy;
[0008] When a request is received, determining data management permissions according to the role information of the request and the role management permission policy, and matching target data from the synchronized data for management according to the data management permissions.
[0009] In an implementation manner, configuring policy configuration files for multiple edge devices through a cloud platform includes:
[0010] Configuring application programs, deployment times of the application programs, and upgrade policies through the cloud platform;
[0011] Determining device information of multiple edge devices to which the application programs are to be deployed, and generating policy configuration files for the multiple edge devices according to the device information, the deployment time, and the upgrade policy.
[0012] In one implementation, the automated deployment of the edge devices through the policy configuration file includes:
[0013] Determine non-critical devices from multiple edge devices according to the device information;
[0014] During the deployment time, deploy the application to the non-critical devices and conduct deployment tests to obtain deployment test results;
[0015] When the deployment test results indicate successful deployment, deploy the application to other edge devices except the non-critical devices.
[0016] In one implementation, the automated deployment of the edge devices through the policy configuration file further includes:
[0017] When the application needs to be updated, execute the upgrade policy;
[0018] Determine some edge devices from multiple edge devices, and during the deployment time, update the application and conduct update tests to obtain update test results;
[0019] When the update test results indicate successful update, update the application on the remaining edge devices.
[0020] In one implementation, configuring a data synchronization policy for multiple edge devices through a cloud platform, and synchronizing the data of the edge devices to the cloud platform according to the data synchronization policy includes:
[0021] Configure a first data model in the cloud platform and a second data model for each edge device through the cloud platform;
[0022] Configure the data range and synchronization frequency of data synchronization, and generate a data synchronization policy according to the data range and the synchronization frequency;
[0023] Synchronize the data recorded in the second data model to the first data model according to the data synchronization policy.
[0024] In one implementation, when receiving a request, determining data management permissions according to the role information of the request and the role management permission policy includes:
[0025] When receiving a request, match the role information of the request with the preset roles in the role management permission policy to determine the target preset role;
[0026] Determine the corresponding data management permissions in the role management permission policy according to the target preset role.
[0027] In one implementation, the matching of target data from the synchronized data for management according to the data management permissions includes:
[0028] When the target preset role is the system administrator, match all data from the synchronized data as target data according to the data management permissions for management;
[0029] When the target preset role is the production manager, match the data of all edge devices in the corresponding production line from the synchronized data as target data according to the data management permissions for management;
[0030] When the target preset role is the operator, match the data of the corresponding responsible edge device from the synchronized data as target data according to the data management permissions for management.
[0031] In a second aspect, an embodiment of the present application provides an automated management device based on cloud-edge collaboration, including:
[0032] A configuration module for configuring the policy configuration file, data synchronization policy, and role management permission policy of multiple edge devices through the cloud platform;
[0033] A deployment module for automatically deploying the edge devices through the policy configuration file;
[0034] A synchronization module for synchronizing the data of the edge devices to the cloud platform according to the data synchronization policy;
[0035] A management module for determining data management permissions according to the role information of the request and the role management permission policy when receiving a request, and matching target data from the synchronized data according to the data management permissions for management.
[0036] In a third aspect, an embodiment of the present application provides an electronic device, including: a processor and a memory, where instructions are stored in the memory, and the instructions are loaded and executed by the processor to implement the method in any one of the above aspects.
[0037] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed, the method in any one of the above aspects is implemented.
[0038] The beneficial effects in the above technical solutions at least include:
[0039] Through the cloud platform, configure the policy configuration files, data synchronization policies, and role management permission policies of multiple edge devices. Through the policy configuration files, automate the deployment of edge devices to achieve remote batch deployment, making the deployment simpler and more direct, and reducing the operation and maintenance costs; according to the data synchronization policy, synchronize the data of edge devices to the cloud platform, and configure the data synchronization policy based on requirements to achieve the data synchronization of all edge devices, which is beneficial to overall data management; when a request is received, determine the data management permission according to the role information of the request and the role management permission policy, and match the target data from the synchronized data for management according to the data management permission. Assign corresponding data management permissions to different roles based on the configured role management permission policy, making the permission configuration and data management more flexible.
[0040] The above summary is only for the purpose of the specification and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments, and features described above, further aspects, embodiments, and features of the present application will become apparent by reference to the drawings and the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In the drawings, unless otherwise specified, the same reference numerals throughout the several views represent the same or similar components or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings only depict some embodiments disclosed in the present application and should not be regarded as limiting the scope of the present application.
[0042] Figure 1 It is a schematic diagram of the step flow of an automated management method based on cloud-edge collaboration according to an embodiment of the present application;
[0043] Figure 2 It is a structural block diagram of an automated management device based on cloud-edge collaboration according to an embodiment of the present application;
[0044] Figure 3 It is a structural block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0045] In the following, only some exemplary embodiments are briefly described. As those skilled in the art can recognize, the described embodiments can be modified in various different ways without departing from the spirit or scope of the present application. Therefore, the drawings and the description are considered to be exemplary in nature and not restrictive.
[0046] In the related art, the deployment and version control of application programs are cumbersome, with high operation and maintenance costs, and it is difficult to achieve efficient and unified deployment among different levels (such as groups, subsidiaries, factories, production lines); data synchronization is usually limited to the synchronization between tables, lacking flexibility, unable to adapt to the concept of domain-driven design, and it is difficult to achieve data synchronization between models; the permission management is not flexible and fine-grained enough to meet the needs of shared and independent permissions in the multi-level management mode, resulting in low management efficiency.
[0047] Referring to Figure 1 , a flowchart of an automated management method based on cloud-edge collaboration according to an embodiment of the present application is shown. The automated management method based on cloud-edge collaboration may at least include steps S100-S400:
[0048] S100. Configure the policy configuration file, data synchronization policy, and role management permission policy of multiple edge devices through the cloud platform.
[0049] Optionally, the edge devices may be devices such as industrial robots, sensors, PLC controllers, etc. distributed on different production lines in an intelligent manufacturing factory. These devices need to be uniformly managed and maintained. In the embodiment of the present application, the automated deployment, data synchronization, and permission management of the device management system are realized through the cloud platform to improve production efficiency and data management capabilities.
[0050] S200. Automatically deploy the edge devices through the policy configuration file.
[0051] S300. Synchronize the data of the edge devices to the cloud platform according to the data synchronization policy.
[0052] S400. When a request is received, determine the data management permission according to the role information of the request and the role management permission policy, and match the target data from the synchronized data according to the data management permission for management.
[0053] The technical solution of the embodiment of the present application configures the policy configuration file, data synchronization policy, and role management permission policy of multiple edge devices through the cloud platform, and automatically deploys the edge devices through the policy configuration file to achieve remote batch deployment, which is more simple and direct and reduces operation and maintenance costs; synchronize the data of the edge devices to the cloud platform according to the data synchronization policy, and configure the data synchronization policy based on requirements to achieve the data synchronization of all edge devices, which is beneficial to overall data management; when a request is received, determine the data management permission according to the role information of the request and the role management permission policy, and match the target data from the synchronized data according to the data management permission for management, and allocate corresponding data management permissions for different roles based on the configured role management permission policy, and the permission configuration and data management are more flexible.
[0054] In one implementation, in step S100, the policy configuration files of multiple edge devices are configured through the cloud platform, including steps S110 - S120:
[0055] S110. Configure the application, the deployment time of the application, and the upgrade policy through the cloud platform.
[0056] In the embodiments of the present application, the user can perform configuration operations in the cloud platform, configure the content such as the policy configuration files of multiple edge devices, the data synchronization policy, and the role management permission policy, etc. The data synchronization policy and the role management permission policy can also be saved in the form of data synchronization policy files and role management permission policy files. Specifically, when configuring the policy configuration file, the application that needs to be batch - deployed on the edge device, the deployment time of the application, and the upgrade policy when the application needs to be upgraded can be configured. It should be noted that the deployment time can be scheduled for deployment during a certain period, for example, automatically deploy the application during non - production time (such as at night) to avoid affecting production.
[0057] S120. Determine the device information of multiple edge devices for the application to be deployed, and generate the policy configuration files of multiple edge devices according to the device information, the deployment time, and the upgrade policy.
[0058] In the embodiments of the present application, the device information of multiple edge devices for the application to be deployed can be collected in advance, including but not limited to information such as serial number, ID, MAC address, etc. that can uniquely identify the corresponding edge device. Then the cloud platform automatically generates the policy configuration files of multiple edge devices according to the device information, the deployment time, and the upgrade policy. The policy configuration file is used for automatic batch deployment and automatic upgrade of the corresponding edge device.
[0059] In the embodiments of the present application, in step S100, the data synchronization policy of multiple edge devices is configured through the cloud platform. Specifically, the first data model in the cloud platform and the second data model of each edge device can be configured through the cloud platform, and the data range and synchronization frequency of data synchronization are configured; then the cloud platform generates a data synchronization policy according to the data range and synchronization frequency, and the execution of the data synchronization policy is used to achieve data synchronization.
[0060] Optionally, the first data model and the second data model implement device twinning. The second data model can store data in the same form as the first data model. The second data model is used to describe the operating status, production data, control instructions, etc. of the edge device. Therefore, the data of the second data model includes data such as the operating status, production data, and control instructions of the edge device. Among them, the data range and synchronization frequency can be set based on actual needs. For example, the synchronization frequency can be once an hour or in real time, etc. The data range for data synchronization can configure which data in the second data model needs to be synchronized. Therefore, when data synchronization is actually required, the data synchronization policy is executed. According to the data range and synchronization frequency in the data synchronization policy, the data that needs to be synchronized recorded in the second data model is synchronized to the first data model to ensure data consistency between the cloud and the edge device, so as to ensure that the cloud can monitor and manage the status of the edge device in real time, perform data analysis and optimization decisions, and at the same time, data accuracy and integrity are guaranteed.
[0061] In the embodiments of the present application, using data models to store and synchronize data is more flexible than using tables, adapts to the domain-driven design concept, and effectively realizes data synchronization between models.
[0062] In the embodiments of the present application, in step S100, the role management permission policies of multiple edge devices are configured through the cloud platform. Specifically, in the embodiments of the present application, the three preset roles of system administrator, production manager, and operator are taken as examples. Other embodiments may include other role types. Optionally, the data management permissions corresponding to the three preset roles of system administrator, production manager, and operator are respectively configured through the cloud platform. For example, the data management permission of the system administrator is the highest permission, and all edge devices and data can be configured, managed, and the content of all configuration policies can be modified. For example, role assignment, permission granting, and revocation in the role management permission policy can be performed; the data management permission of the production manager is to view and manage all edge devices and data on the production line for which he is responsible, but modification of the policy is not allowed; the data management permission of the operator is to operate and view the edge devices and data he is responsible for and cannot access other edge devices and data. Then, according to these preset roles and the corresponding configured data management permissions, role management permission policies for multiple edge devices are generated.
[0063] In one implementation, step S200 includes steps S210 - S230:
[0064] S210. Determine non-critical devices from multiple edge devices according to device information.
[0065] Optionally, the edge devices can be set as critical or non-critical devices in the cloud platform in advance, or the cloud platform automatically analyzes the non-critical devices among multiple edge devices based on device information; for example, the edge devices with little impact on the production of the production line or other edge devices are determined as non-critical devices.
[0066] S220. During the deployment time, deploy the application to the non-critical devices and conduct deployment tests to obtain deployment test results.
[0067] S230. When the deployment test results indicate successful deployment, deploy the application to other edge devices except the non-critical devices.
[0068] Optionally, during the deployment time, the cloud platform automatically deploys the application to the non-critical devices and conducts deployment tests to obtain deployment test results. If the deployment test results indicate successful deployment, then deploy the application to other edge devices except the non-critical devices. In the embodiments of the present application, first conduct test deployment on the non-critical devices, and then batch deploy to other devices after confirmation to ensure that the deployment process does not affect normal operations as much as possible.
[0069] In one implementation manner, step S200 further includes steps S240 - S260:
[0070] S240. When the application needs to be updated, execute the upgrade policy.
[0071] Optionally, when there is an updated version of the application in the cloud platform, the application on the edge device needs to be updated. At this time, the cloud platform executes the upgrade policy.
[0072] S250. Determine some of the edge devices from multiple edge devices, and during the deployment time, update the application and conduct update tests to obtain update test results.
[0073] S260. When the update test results indicate successful update, update the applications of the remaining edge devices.
[0074] Optionally, when executing the upgrade policy, the cloud platform determines some of the edge devices from multiple edge devices, and then during the deployment time, updates the application and conducts update tests to obtain update test results. Then, when the update test results indicate successful update, update the applications of the remaining edge devices, and adopt the blue-green deployment or rolling upgrade strategy. First conduct upgrade tests on some devices, and then gradually expand to other devices after confirmation to ensure the stability of the system.
[0075] In one embodiment, in step S300, according to the data synchronization policy including the data range and synchronization frequency of data synchronization, the data of the edge device is determined. Specifically, the data to be synchronized in the second data model of the edge device is determined according to the data range, and then based on the synchronization frequency, the data to be synchronized is synchronized to the first data model of the cloud platform to achieve data synchronization.
[0076] In one embodiment, in step S400, when a request is received, according to the role information of the request and the role management permission policy, the data management permission is determined, including steps S410 - S420:
[0077] S410. When a request is received, the role information of the request is matched with the preset roles in the role management permission policy to determine the target preset role.
[0078] Optionally, when a user needs to perform data management, the user can use the terminal to log in to the system through their own role information, such as name, ID, password, biometric information (such as face, fingerprint), etc., connect to the cloud platform, and send a request to the cloud platform. The request can carry its role information. Among them, the sent request is received by the cloud platform, and the cloud platform matches the role information of the request with the preset roles in the role management permission policy to determine the target preset role corresponding to the role information.
[0079] S420. According to the target preset role, determine the data management permission corresponding to the role management permission policy.
[0080] Optionally, if the target preset role is the system administrator, determine the data management permission corresponding to the system administrator in the role management permission policy; if the target preset role is the production manager, determine the data management permission corresponding to the production manager in the role management permission policy; if the target preset role is the operator, determine the data management permission corresponding to the operator in the role management permission policy.
[0081] In one embodiment, in step S400, according to the data management permission, target data is matched from the synchronized data for management, including steps S430 - S450:
[0082] S430. When the target preset role is the system administrator, according to the data management permission, match all the data from the synchronized data as the target data for management.
[0083] Optionally, when the target preset role is the system administrator, since the data management permission of the system administrator is the highest permission, all edge devices and data can be configured and managed, and the content of all configuration policies can be modified. Therefore, at this time, according to the data management permission, all the data from the synchronized data is matched as the target data for the user to manage.
[0084] S440. When the target preset role is the production manager, according to the data management authority, match the data of all edge devices in the corresponding production line from the synchronized data as the target data for management.
[0085] Optionally, when the target preset role is the production manager, since the production manager's data management authority is to view and manage all edge devices and data on the corresponding production line under his / her responsibility, at this time, according to the data management authority, match the data of all edge devices in the corresponding production line from the synchronized data as the target data for management.
[0086] S450. When the target preset role is the operator, according to the data management authority, match the data of the corresponding responsible edge device from the synchronized data as the target data for management.
[0087] Optionally, when the target preset role is the operator, since the operator's data management authority is to operate and view the edge device and data under his / her responsibility, at this time, according to the data management authority, match the data of the corresponding responsible edge device from the synchronized data as the target data for management.
[0088] Through the method of the embodiments of the present application, the cloud platform is used to achieve automated application deployment and upgrade, support batch deployment to multiple edge devices, and at the same time introduce timed deployment and smooth upgrade strategies to ensure that the deployment process does not affect normal operation, improve deployment efficiency, reduce human errors and operation and maintenance costs, and ensure system stability; it has a unified permission integrated SSO (Single Sign-On) function, establishes a multi-level permission management mode for different roles, supports free allocation and fine-grained configuration of permissions, ensures that users can flexibly configure permissions according to different management levels and business requirements, and in a multi-level management structure such as group - subsidiary - factory - production line, based on role-based assignment settings, ensure that all levels can cooperate efficiently while maintaining the independence of their respective permissions and data isolation; through the data synchronization strategy, the data models of edge devices and the cloud platform are synchronized to ensure the accuracy and timeliness of data, adapt to rapidly changing business needs, improve data management capabilities, and control data latency within milliseconds. In addition, the embodiments of the present application provide strong technical support for the transformation of enterprises in the fields of cloud computing and edge computing.
[0089] Refer to Figure 2 , which shows the structural block diagram of an automated management device based on cloud-edge collaboration according to an embodiment of the present application. The device may include:
[0090] A configuration module, configured to configure the policy configuration file, data synchronization policy, and role management permission policy of multiple edge devices through the cloud platform;
[0091] A deployment module for automatically deploying edge devices through a policy configuration file;
[0092] A synchronization module for synchronizing the data of edge devices to a cloud platform according to a data synchronization policy;
[0093] A management module for determining data management permissions based on the role information of a request and a role management permission policy when receiving the request, and matching target data from the synchronized data for management according to the data management permissions.
[0094] For the functions of the modules in each device of the embodiments of the present application, reference may be made to the corresponding descriptions in the above methods, which will not be elaborated here.
[0095] Refer to Figure 3 , which shows a structural block diagram of an electronic device according to an embodiment of the present application. The electronic device includes: a memory 310 and a processor 320. Instructions that can run on the processor 320 are stored in the memory 310. The processor 320 loads and executes the instructions to implement the automated management method based on cloud-edge collaboration in the above embodiments. Among them, the number of the memory 310 and the processor 320 can be one or more.
[0096] In one implementation, the electronic device further includes a communication interface 330 for communicating with external devices and performing data interaction and transmission. If the memory 310, the processor 320, and the communication interface 330 are implemented independently, the memory 310, the processor 320, and the communication interface 330 can be interconnected through a bus and complete communication with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of representation, Figure 3 only a thick line is used to represent it in, but it does not mean that there is only one bus or one type of bus.
[0097] Optionally, in a specific implementation, if the memory 310, the processor 320, and the communication interface 330 are integrated on a chip, the memory 310, the processor 320, and the communication interface 330 can complete communication with each other through an internal interface.
[0098] The embodiments of the present application provide a computer-readable storage medium that stores a computer program, and when the computer program is executed by a processor, it implements the automated management method based on cloud-edge collaboration provided in the above embodiments.
[0099] An embodiment of the present application further provides a chip, which includes a processor for calling and running instructions stored in a memory, so that a communication device installed with the chip executes the method provided by the embodiment of the present application.
[0100] An embodiment of the present application further provides a chip, including: an input interface, an output interface, a processor, and a memory. The input interface, the output interface, the processor, and the memory are connected through an internal connection path. The processor is configured to execute code in the memory. When the code is executed, the processor is configured to execute the method provided by the embodiment of the application.
[0101] It should be understood that the above-mentioned processor may be a central processing unit (CPU), or may also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. It is worth noting that the processor may be a processor supporting the advanced RISC machines (ARM) architecture.
[0102] Further, optionally, the above-mentioned memory may include a read-only memory and a random access memory, and may further include a non-volatile random access memory. The memory may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may include a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may include a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available. For example, static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchlink dynamic random access memory (SLDRAM), and direct rambus random access memory (DR RAM).
[0103] In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions according to the present application are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
[0104] In the description of this specification, the descriptions referring to terms such as "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. mean that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of this application. Moreover, the specific features, structures, materials, or characteristics described can be combined in a suitable manner in any one or more embodiments or examples. In addition, without contradiction, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples.
[0105] In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include at least one of such features. In the description of this application, "a plurality of" means two or more unless otherwise specifically defined.
[0106] Any process or method description represented in the flowchart or described in other ways herein can be understood to represent a module, segment, or part of code including one or more executable instructions for implementing a specific logical function or process. And the scope of the preferred embodiments of this application includes additional implementations, where the functions can be executed in a substantially simultaneous manner or in the reverse order according to the involved functions, rather than in the order shown or discussed.
[0107] The logic and / or steps represented in the flowchart or described in other ways herein, for example, can be considered as a sequenced list of executable instructions for implementing a logical function, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other systems that can fetch and execute instructions from the instruction execution system, apparatus, or device), or in combination with these instruction execution systems, apparatus, or devices.
[0108] It should be understood that each part of this application can be implemented by hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. All or part of the steps of the method in the above embodiments can be completed by a program instructing relevant hardware. This program can be stored in a computer-readable storage medium. When this program is executed, it includes one or a combination of the steps of the method embodiment.
[0109] In addition, each functional unit in various embodiments of the present application may be integrated into a processing module, may exist independently as individual units physically, or two or more units may be integrated into one module. The above integrated module may be implemented in the form of hardware or in the form of a software functional module. If the above integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium. The storage medium may be a read-only memory, a magnetic disk, an optical disc, or the like.
[0110] As described above, the above are only specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of various changes or substitutions, and these should all be covered within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. An automated management method based on cloud-edge collaboration, characterized in that: include: Configure policy profiles, data synchronization policies, and role management permission policies for multiple edge devices through the cloud platform; The edge device is automatically deployed through the policy configuration file, including: determining a non-critical device from a plurality of edge devices according to the device information of the policy configuration file, deploying the application to the non-critical device within the application of the policy configuration file and the deployment time of the application, and performing a deployment test to obtain a deployment test result, and when the deployment test result indicates that the deployment is successful, deploying the application to other edge devices except the non-critical device; According to the data synchronization strategy, the data of the edge device is synchronized to the cloud platform, wherein the data synchronization strategy includes a configured data range for data synchronization, the cloud platform has a second data model, the edge device has a first data model, the first data model and the second data model realize device twinning, and the data is stored in the same form when synchronizing data; When a request is received, according to the role information of the request and the role management authority policy, including: when a request is received, matching the role information of the request with the preset role in the role management authority policy to determine a target preset role, and determining the corresponding data management authority in the role management authority policy according to the target preset role, wherein the target preset role includes a system administrator, a production manager, and an operator; The data management authority is determined, and target data is matched from the synchronized data for management according to the data management authority.
2. The automated management method based on cloud-edge collaboration according to claim 1 is characterized in that: Through the cloud platform, policy profiles for multiple edge devices are configured, including: configuring applications, deployment times of applications, and upgrade strategies through the cloud platform; Determine device information of the plurality of edge devices on which the application is to be deployed, and generate policy configuration files for the plurality of edge devices according to the device information, the deployment time, and the upgrade policy.
3. The automated management method based on cloud-edge collaboration according to claim 2 is characterized in that: The step of automatically deploying the edge device through the policy configuration file further includes: When the application needs to be updated, executing the upgrade strategy; Determine some edge devices from the plurality of edge devices, and update and test the application within the deployment time to obtain an update test result; When the update test result indicates that the update is successful, the application programs of the remaining edge devices are updated.
4. The automated management method based on cloud-edge collaboration according to any one of claims 1 to 3, characterized in that: Configuring a data synchronization strategy for multiple edge devices through a cloud platform, and synchronizing the data of the edge devices to the cloud platform according to the data synchronization strategy includes: By means of the cloud platform, configuring a first data model in the cloud platform and a second data model of each of the edge devices; Configure the data range and synchronization frequency of data synchronization, and generate a data synchronization strategy according to the data range and the synchronization frequency; According to the data synchronization strategy, the data recorded in the second data model is synchronized to the first data model.
5. The automated management method based on cloud-edge collaboration according to claim 1 is characterized in that: The matching of target data from synchronized data for management according to the data management authority includes: When the target preset role is a system administrator, all data is matched from the synchronized data as target data for management according to the data management authority; When the target preset role is a production manager, according to the data management authority, the data of all edge devices in the corresponding production line are matched from the synchronized data as target data for management; When the target preset role is an operator, the data of the corresponding responsible edge device is matched from the synchronized data according to the data management authority as the target data for management.
6. An automated management device based on cloud-edge collaboration, characterized in that: include: The configuration module is used to configure policy configuration files, data synchronization policies, and role management permission policies for multiple edge devices through the cloud platform; A deployment module, used to automatically deploy the edge device through the policy configuration file, including: determining a non-critical device from a plurality of edge devices according to the device information of the policy configuration file, deploying the application to the non-critical device within the application of the policy configuration file and the deployment time of the application, and performing a deployment test to obtain a deployment test result, and when the deployment test result indicates that the deployment is successful, deploying the application to other edge devices except the non-critical device; A synchronization module, configured to synchronize the data of the edge device to the cloud platform according to the data synchronization strategy, wherein the data synchronization strategy includes a configured data range for data synchronization, the cloud platform has a second data model, the edge device has a first data model, the first data model and the second data model realize device twinning, and the data is stored in the same form when synchronizing data; A management module is used for, when receiving a request, according to the role information of the request and the role management authority policy, including: when receiving a request, matching the role information of the request with the preset role in the role management authority policy, determining the target preset role, and determining the corresponding data management authority in the role management authority policy according to the target preset role, wherein the target preset roles include system administrator, production manager and operator; determining data management authority, and matching the target data from the synchronized data according to the data management authority for management.
7. An electronic device, characterized in that: include: A processor and a memory, wherein the memory stores instructions, and the instructions are loaded and executed by the processor to implement the method according to any one of claims 1 to 5.
8. A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed, the method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Power edge heterogeneous deployment method based on cloud edge collaboration
CN114024951A
Cloud-edge collaborative large screen visualization method and system
CN115296889A
Real-time data calculation method and system based on side cloud collaboration in Internet of Things environment
CN115834711A