Automatic management method, device and equipment based on cloud edge collaboration and storage medium
By configuring the policy configuration files and data synchronization policies of edge devices on the cloud platform, automated deployment and data synchronization are achieved, and the complexity of equipment deployment and data management between group companies and subsidiaries is solved, reducing operation and maintenance costs, and improving production Efficiency and data management flexibility.
Patent Information
- Application Number
- CN202411014732.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2044-07-26
AI Technical Summary
In the context of industrial automation and informatization, the deployment and data management of production equipment between group companies and subsidiaries is complex, the operation and maintenance costs are high, and data synchronization lacks flexibility, making it difficult to achieve efficient unified deployment and overall data management at different levels.
Configure the policy configuration files, data synchronization policies and role management permission policies of edge devices through the cloud platform to realize automated deployment, data synchronization and permission management, determine data management permissions based on role information, and match target data for management.
It realizes the simplicity of remote batch deployment, reduces operation and maintenance costs, supports overall data management, flexible permission configuration, adapts to management needs of different roles and levels, and improves production efficiency and data management capabilities.
Smart Images

Figure CN118963856A_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] With the rapid development of industrial automation and informatization, the deployment, data management and administration of various production equipment between group companies and subsidiaries have become increasingly complex. For example, the deployment of applications requires operators from different companies or technicians to go to different companies to operate, which is cumbersome, with high operation and maintenance costs, and it is difficult to achieve efficient and unified deployment between different levels (such as groups, subsidiaries, factories, and production lines); data synchronization is usually limited to tables and independent synchronization of each company, lacking flexibility and not conducive to overall data management. Summary of the invention
[0003] The embodiments of the present application provide an automated management method, apparatus, device, and storage medium based on cloud-edge collaboration to solve at least one problem existing in the related art. The technical solution is as follows:
[0004] In a first aspect, an embodiment of the present application provides a management method based on cloud-edge collaboration, including:
[0005] Configure policy profiles, data synchronization policies, and role management permission policies for multiple edge devices through the cloud platform;
[0006] Automatically deploy the edge device through the policy configuration file;
[0007] According to the data synchronization strategy, synchronizing the data of the edge device to the cloud platform;
[0008] When a request is received, the data management authority is determined according to the role information of the request and the role management authority policy, and the target data is matched from the synchronized data according to the data management authority for management.
[0009] In one embodiment, configuring a policy configuration file for multiple edge devices through a cloud platform includes:
[0010] configuring applications, deployment times of applications, and upgrade strategies through the cloud platform;
[0011] 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.
[0012] In one implementation, the automatically deploying the edge device through the policy configuration file includes:
[0013] Determine a non-critical device from the plurality of edge devices according to the device information;
[0014] Within the deployment time, deploying the application to the non-critical device and performing a deployment test to obtain a deployment test result;
[0015] When the deployment test result indicates that the deployment is successful, the application is deployed to other edge devices except the non-critical device.
[0016] In one implementation, the automatically deploying the edge device through the policy configuration file further includes:
[0017] When the application needs to be updated, executing the upgrade strategy;
[0018] 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;
[0019] When the update test result indicates that the update is successful, the application programs of the remaining edge devices are updated.
[0020] In one embodiment, 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:
[0021] 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;
[0022] 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;
[0023] According to the data synchronization strategy, the data recorded in the second data model is synchronized to the first data model.
[0024] In one embodiment, when receiving the request, determining the data management authority according to the role information of the request and the role management authority policy includes:
[0025] When a request is received, the role information of the request is matched with the preset role in the role management authority policy to determine the target preset role;
[0026] According to the target preset role, the corresponding data management authority in the role management authority policy is determined.
[0027] In one embodiment, matching target data from synchronized data for management according to the data management authority includes:
[0028] 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;
[0029] 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;
[0030] 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.
[0031] In a second aspect, an embodiment of the present application provides an automated management device based on cloud-edge collaboration, including:
[0032] 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;
[0033] A deployment module, used to automatically deploy the edge device through the policy configuration file;
[0034] A synchronization module, used to synchronize the data of the edge device to the cloud platform according to the data synchronization strategy;
[0035] The management module is used to determine the data management authority according to the role information of the request and the role management authority policy when receiving a request, and match the target data from the synchronized data according to the data management authority for management.
[0036] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory, wherein the memory stores instructions, and the instructions are loaded and executed by the processor to implement a method in any one of the above-mentioned embodiments.
[0037] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed, the method in any one of the above-mentioned embodiments is implemented.
[0038] The beneficial effects of the above technical solution include at least:
[0039] Through the cloud platform, policy configuration files, data synchronization policies, and role management permission policies for multiple edge devices are configured. Through the policy configuration files, edge devices are automatically deployed to achieve remote batch deployment, making deployment simpler and more direct, and reducing operation and maintenance costs. According to the data synchronization policy, the data of edge devices are synchronized to the cloud platform, and the data synchronization policy is configured based on demand to achieve data synchronization of all edge devices, which is beneficial to overall data management. When a request is received, the data management permission is determined according to the role information of the request and the role management permission policy, and the target data is matched from the synchronized data for management according to the data management permission. Corresponding data management permissions are assigned to different roles based on the configured role management permission policy, making permission configuration and data management more flexible.
[0040] The above summary is for illustrative purposes only 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 be readily apparent by reference to the accompanying drawings and the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the multiple drawings represent the same or similar parts 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 This is a schematic diagram of the steps of an automated management method based on cloud-edge collaboration according to an embodiment of the present application;
[0043] Figure 2 This 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 This is a structural block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0045] In the following, only some exemplary embodiments are briefly described. As those skilled in the art will appreciate, the described embodiments may be modified in various ways without departing from the spirit or scope of the present application. Therefore, the drawings and descriptions are considered to be exemplary and non-restrictive in nature.
[0046] In related technologies, the deployment and version control of applications are cumbersome, the operation and maintenance costs are high, and it is difficult to achieve efficient and unified deployment between different levels (such as groups, subsidiaries, factories, and production lines); data synchronization is usually limited to synchronization between tables, lacks flexibility, cannot adapt to domain-driven design concepts, and is difficult to achieve data synchronization between models; permission management is not flexible and fine-grained enough, and cannot meet the needs of shared and independent permissions under a multi-level management model, resulting in low management efficiency.
[0047] Reference 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, through the cloud platform, configure policy configuration files, data synchronization policies, and role management permission policies for multiple edge devices.
[0049] Optionally, the edge device can be multiple devices such as industrial robots, sensors, PLC controllers, etc. distributed on different production lines in a smart manufacturing factory. These devices require unified management and maintenance. The embodiment of the present application implements automated deployment, data synchronization, and authority management of the device management system through a cloud platform to improve production efficiency and data management capabilities.
[0050] S200, automatically deploy edge devices through policy configuration files.
[0051] S300: Synchronize the data of the edge device to the cloud platform according to the data synchronization strategy.
[0052] S400: When a request is received, data management authority is determined according to the role information of the request and the role management authority policy, and target data is matched from the synchronized data for management according to the data management authority.
[0053] The technical solution of the embodiment of the present application configures policy configuration files, data synchronization policies and role management permission policies of multiple edge devices through a cloud platform, and automatically deploys edge devices through policy configuration files to achieve remote batch deployment, making deployment simpler and more direct, and reducing operation and maintenance costs; according to the data synchronization policy, the data of the edge device is synchronized to the cloud platform, and the data synchronization policy is configured based on demand to achieve data synchronization of all edge devices, which is beneficial to overall data management; when a request is received, the data management permission is determined according to the role information of the request and the role management permission policy, and the target data is matched from the synchronized data for management according to the data management permission, and corresponding data management permissions are assigned to different roles based on the configured role management permission policy, making permission configuration and data management more flexible.
[0054] In one embodiment, in step S100, policy configuration files of multiple edge devices are configured through a cloud platform, including steps S110-S120:
[0055] S110. Configure applications, application deployment time, and upgrade strategies through the cloud platform.
[0056] In the embodiment of the present application, the user can perform configuration operations in the cloud platform to configure the policy configuration files, data synchronization policies, role management permission policies, etc. of multiple edge devices. The data synchronization policies and role management permission policies 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, you can configure the applications that need to be deployed in batches on edge devices, the deployment time of the applications, and the upgrade strategy when the applications need to be upgraded. It should be noted that the deployment time can be scheduled for deployment in a certain time period, such as automatically deploying applications during non-production time (such as at night) to avoid affecting production.
[0057] S120: Determine device information of multiple edge devices on which the application is to be deployed, and generate policy configuration files for the multiple edge devices according to the device information, deployment time, and upgrade policy.
[0058] In an embodiment of the present application, device information of multiple edge devices on which the application is to be deployed can be collected in advance, including but not limited to serial number, ID, MAC address, and other information that can uniquely identify the corresponding edge device. Then, the cloud platform automatically generates policy configuration files for multiple edge devices based on the device information, deployment time, and upgrade strategy. The policy configuration file is used to automatically batch deploy and automatically upgrade the corresponding edge devices.
[0059] In an embodiment of the present application, in step S100, the data synchronization strategy 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 can be configured; then the cloud platform generates a data synchronization strategy based on the data range and synchronization frequency, and the execution of the data synchronization strategy is used to achieve data synchronization.
[0060] Optionally, the first data model and the second data model realize device twinning, and 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, and control instructions of the edge device, so the data of the second data model includes 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 one-hour intervals or real-time, etc. The data range of data synchronization can be used to configure which data in the second data model needs to be synchronized. Therefore, when data synchronization is actually required, the data synchronization strategy is executed. According to the data range and synchronization frequency in the data synchronization strategy, 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, thereby ensuring that the cloud can monitor and manage the status of the edge device in real time, conduct data analysis and optimize decisions, and at the same time, data accuracy and integrity are guaranteed.
[0061] In the embodiment of the present application, data models are used to store and synchronize data, which is more flexible than tables, adapts to domain-driven design concepts, and effectively realizes data synchronization between models.
[0062] In an embodiment of the present application, in step S100, the role management authority strategy of multiple edge devices is configured through the cloud platform. Specifically, in the embodiment of the present application, the three preset roles of system administrator, production manager, and operator are taken as examples, and other embodiments may include other role types. Optionally, the data management authority corresponding to the three preset roles of system administrator, production manager, and operator is configured separately through the cloud platform. For example, the data management authority of the system administrator is the highest authority, and can configure and manage all edge devices and data and modify the content of all configuration policies, such as role allocation, authority granting and revocation in the role management authority strategy; the data management authority of the production manager is to view and manage all edge devices and data on the production line for which he is responsible, but the policy cannot be modified; the data management authority of the operator is to operate and view the edge devices and data for which he is responsible, and cannot access other edge devices and data. Then, based on these preset roles and the corresponding configured data management authority, the role management authority strategy of multiple edge devices is generated.
[0063] In one embodiment, step S200 includes steps S210-S230:
[0064] S210. Determine a non-critical device from multiple edge devices according to the device information.
[0065] Optionally, edge devices can be set as critical devices or non-critical devices in advance on the cloud platform, or the cloud platform can automatically analyze non-critical devices among multiple edge devices based on device information; for example, edge devices that have little impact on production of the production line or on other edge devices are determined as non-critical devices.
[0066] S220: Within the deployment time, deploy the application to non-critical devices and perform deployment testing to obtain deployment test results.
[0067] S230. When the deployment test result indicates that the deployment is successful, the application is deployed to other edge devices except non-critical devices.
[0068] Optionally, during the deployment time, the cloud platform automatically deploys the application to non-critical devices and performs deployment tests to obtain deployment test results. If the deployment test results indicate that the deployment is successful, the application is then deployed to other edge devices other than the non-critical devices. In the embodiment of the present application, the deployment is tested on non-critical devices first, and then deployed to other devices in batches after confirmation, to ensure that the deployment process does not affect normal operations as much as possible.
[0069] In one implementation, step S200 further includes steps S240-S260:
[0070] S240: When the application needs to be updated, execute the upgrade strategy.
[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, and the cloud platform executes the upgrade strategy.
[0072] S250. Determine some edge devices from multiple edge devices, and update and test the application within the deployment time to obtain update test results.
[0073] S260: When the update test result indicates that the update is successful, the application programs of the remaining edge devices are updated.
[0074] Optionally, when executing the upgrade strategy, the cloud platform determines some edge devices from the multiple edge devices, and then updates and tests the application within the deployment time to obtain the update test results. Then, when the update test results indicate that the update is successful, the application programs of the remaining edge devices are updated, and a blue-green deployment or rolling upgrade strategy is adopted to first perform the upgrade test 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, the data of the edge device is determined based on a data synchronization strategy including a data range and a synchronization frequency. Specifically, the data that needs to be synchronized in the second data model of the edge device is determined based on the data range, and then based on the synchronization frequency, the data that needs to be synchronized is synchronized to the first data model of the cloud platform to achieve data synchronization.
[0076] In one embodiment, when a request is received in step S400, data management permissions are determined according to the role information of the request and the role management permission policy, including steps S410-S420:
[0077] S410: When a request is received, the role information of the request is matched with the preset role in the role management authority policy to determine the target preset role.
[0078] Optionally, when a user needs to manage data, the user can use the terminal to log in to the system through his or her 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, and the request can carry his or her role information. The sent request is received by the cloud platform, and the cloud platform matches the requested role information with the preset role in the role management authority policy to determine the target preset role corresponding to the role information.
[0079] S420: Determine the corresponding data management authority in the role management authority policy according to the target preset role.
[0080] Optionally, if the target preset role is a system administrator, determine the data management permissions corresponding to the system administrator in the role management permission policy; if the target preset role is a production manager, determine the data management permissions corresponding to the production manager in the role management permission policy; if the target preset role is an operator, determine the data management permissions corresponding to the operator in the role management permission policy.
[0081] In one embodiment, the step S400 matches the target data from the synchronized data according to the data management authority for management, including steps S430-S450:
[0082] S430: When the target preset role is a system administrator, all data are matched from the synchronized data as target data according to the data management authority for management.
[0083] Optionally, when the target preset role is a system administrator, since the system administrator's data management authority is the highest authority, he can configure and manage all edge devices and data and modify the contents of all configuration policies. Therefore, at this time, according to the data management authority, all data is matched from the synchronized data as the target data for user management.
[0084] S440. 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.
[0085] Optionally, when the target preset role is a production manager, since the production manager's data management authority is to view and manage all edge devices and data on the production line for which he is responsible, at this time, 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.
[0086] S450: When the target preset role is an operator, according to the data management authority, the data of the corresponding responsible edge device is matched from the synchronized data as the target data for management.
[0087] Optionally, when the target preset role is an operator, since the operator's data management authority is to operate and view the edge devices and data for which he is responsible, at this time, according to the data management authority, the data of the corresponding edge device is matched from the synchronized data as the target data for management.
[0088] Through the method of the embodiment of the present application, the cloud platform realizes automated application deployment and upgrading, supports batch deployment to multiple edge devices, and introduces timed deployment and smooth upgrade strategies to ensure that the deployment process does not affect normal operations, improve deployment efficiency, reduce human errors and operation and maintenance costs, and ensure system stability; it has a unified authority integrated SSO (single sign-on, SingleSignOn) function, establishes a multi-level authority management mode for different roles, supports the free allocation and fine-grained configuration of permissions, and ensures that users can flexibly configure permissions according to different management levels and business needs. In the multi-level management structure of group-subsidiary-factory-production line, the role-based allocation setting ensures that each level can collaborate efficiently while maintaining the independence of their respective permissions and data isolation; the data synchronization of the data model of the edge device and the cloud platform is realized through the data synchronization strategy, ensuring the accuracy and timeliness of the data, adapting to the rapidly changing business needs, improving the data management capabilities, and controlling the data delay at the millisecond level. In addition, the embodiment of the present application provides strong technical support for the transformation of enterprises in the fields of cloud computing and edge computing.
[0089] Reference Figure 2 , shows a structural block diagram of an automatic management device based on cloud-edge collaboration according to an embodiment of the present application, and the device may include:
[0090] 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;
[0091] The deployment module is used to automatically deploy edge devices through policy configuration files;
[0092] The synchronization module is used to synchronize the data of the edge device to the cloud platform according to the data synchronization strategy;
[0093] The management module is used to determine the data management authority according to the role information of the request and the role management authority policy when receiving a request, and match the target data from the synchronized data according to the data management authority for management.
[0094] The functions of each module in each device in the embodiments of the present application can be found in the corresponding description in the above method, and will not be repeated here.
[0095] Reference Figure 3 , 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, the memory 310 stores instructions that can be run on the processor 320, and the processor 320 loads and executes the instructions to implement the automatic management method based on cloud-edge collaboration in the above embodiment. The number of the memory 310 and the processor 320 can be one or more.
[0096] In one embodiment, the electronic device also includes a communication interface 330 for communicating with external devices and performing data exchange 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 mutual communication. 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 ease of representation, Figure 3 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only 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 communicate with each other through an internal interface.
[0098] An embodiment of the present application provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the automated management method based on cloud-edge collaboration provided in the above embodiment.
[0099] An embodiment of the present application also provides a chip, which includes a processor for calling and executing instructions stored in the memory from the memory, so that a communication device equipped with the chip executes the method provided by the embodiment of the present application.
[0100] An embodiment of the present application also provides a chip, including: an input interface, an output interface, a processor and a memory, wherein the input interface, the output interface, the processor and the memory are connected via an internal connection path, and the processor is used to execute the code in the memory. When the code is executed, the processor is used to execute the method provided in the embodiment of the application.
[0101] It should be understood that the processor may be a central processing unit (CPU), or 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 also 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 RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct rambus RAM (DR RAM).
[0103] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can 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 process or function according to the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can 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 description with reference to the terms "one embodiment", "some embodiments", "example", "specific example" or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. Moreover, the described specific features, structures, materials or characteristics may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification and the features of different embodiments or examples, unless they are contradictory.
[0105] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0106] Any process or method description in the flow chart or otherwise described herein can be understood to represent a module, fragment or portion of a code including one or more executable instructions for implementing the steps of a specific logical function or process. And the scope of the preferred embodiment of the present application includes other implementations, in which the functions may not be performed in the order shown or discussed, including in a substantially simultaneous manner or in a reverse order according to the functions involved.
[0107] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, which can be embodied 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 system that can fetch instructions from an instruction execution system, apparatus or device and execute instructions), or used in combination with these instruction execution systems, apparatuses or devices.
[0108] It should be understood that the various parts of the present application can be implemented with hardware, software, firmware or a combination thereof. In the above embodiments, multiple steps or methods can be implemented with software or firmware stored in a memory and executed by a suitable instruction execution system. All or part of the steps of the above embodiment method can be completed by instructing the relevant hardware through a program, which can be stored in a computer-readable storage medium, and when the program is executed, it includes one of the steps of the method embodiment or a combination thereof.
[0109] In addition, each functional unit in each embodiment of the present application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into one module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of a software functional module. If the above-mentioned integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. The storage medium can be a read-only memory, a disk or an optical disk, etc.
[0110] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. An automated management method based on cloud-edge collaboration, It is characterized in that include: Configure policy profiles, data synchronization policies, and role management permission policies for multiple edge devices through the cloud platform; Automatically deploy the edge device through the policy configuration file; According to the data synchronization strategy, synchronizing the data of the edge device to the cloud platform; When a request is received, the data management authority is determined according to the role information of the request and the role management authority policy, and the target data is matched from the synchronized data according to the data management authority for management.
2. According to the automated management method based on cloud-edge collaboration according to claim 1, Features: 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. According to the automated management method based on cloud-edge collaboration as claimed in claim 2, Features: The automatic deployment of the edge device through the policy configuration file includes: Determine a non-critical device from the plurality of edge devices according to the device information; Within the deployment time, deploying the application to the non-critical device and performing a deployment test to obtain a deployment test result; When the deployment test result indicates that the deployment is successful, the application is deployed to other edge devices except the non-critical device.
4. According to the automated management method based on cloud-edge collaboration as claimed in claim 3, Features: 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.
5. The automated management method based on cloud-edge collaboration according to any one of claims 1 to 4, Features: 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.
6. The automated management method based on cloud-edge collaboration according to any one of claims 1 to 4, Features: When receiving the request, determining the data management authority according to the role information of the request and the role management authority policy includes: When a request is received, the role information of the request is matched with the preset role in the role management authority policy to determine the target preset role; According to the target preset role, the corresponding data management authority in the role management authority policy is determined.
7. According to the automated management method based on cloud-edge collaboration according to claim 6, Features: 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.
8. An automated management device based on cloud-edge collaboration, It is 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; A synchronization module, used to synchronize the data of the edge device to the cloud platform according to the data synchronization strategy; The management module is used to determine the data management authority according to the role information of the request and the role management authority policy when receiving a request, and match the target data from the synchronized data according to the data management authority for management.
9. An electronic device, It is 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 7.
10. 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 7 is implemented.
Citation Information
Patent Citations
Automatic operation and maintenance deployment method and device for multi-cloud environment, equipment and storage medium
CN113242147A
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
Configurable process management method and device, computer equipment and storage medium
CN115879752A
Cited By
Log data management method of cloud edge collaboration platform and related equipment
CN119512651A
