CN-122018751-A - Cloud collaborative configuration method, device, equipment and medium
Abstract
The application relates to the technical field of industrial automation and provides a cloud collaborative configuration method, device, equipment and medium, wherein the method comprises the steps of responding to a template selection instruction of a user, selecting a target function template corresponding to a target item from a preset function template library; the method comprises the steps of carrying out initial template combination according to a template combination rule, loading combined template resources into a user working space, constructing a multi-user real-time cooperation channel, carrying out concurrent control and conflict resolution on configuration editing operation initiated by multiple users aiming at the combined template, synchronizing editing modification of the template by any user to the user working space corresponding to all cooperation users in real time, synchronously recording operation logs and project version information, responding to a configuration editing completion instruction of the user, generating a configuration scheme file, testing, and storing the configuration scheme file into a preset database after the configuration scheme file passes the test. By the technical scheme, project delivery period is shortened, and expandability and cross-scene adaptation capability of the system are improved.
Inventors
- LI JINGXIN
- LV DAJUN
- ZHANG GUIJUAN
- LI YANTING
- WANG CHUNYAN
- Liu Kangya
- WANG HONGWEI
- AN PING
Assignees
- 国能智深控制技术有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20251209
Claims (10)
- 1. The cloud collaborative configuration method is characterized by comprising the following steps of: Responding to a template selection instruction of a user, and selecting a target function template corresponding to a target item from a preset function template library; according to the received template combination rule and the target function template, carrying out initial template combination, and loading the combined template resources into a user working space; Constructing a multi-user real-time collaboration channel, carrying out concurrency control and conflict resolution on configuration editing operations initiated by multiple users aiming at the combined templates, synchronizing editing and modifying of any user on the combined templates to user workspaces corresponding to all collaboration users in real time, and synchronously recording operation logs and project version information; Responding to a received configuration editing completion instruction of a user, and generating a configuration scheme file according to the combined template and configuration editing operation aiming at the combined template; And testing the configuration scheme file, and storing the configuration scheme file into a preset database after the test is passed.
- 2. The method according to claim 1, wherein the method further comprises: Monitoring the occupancy rate of computing resources, the utilization rate of storage resources, the data transmission rate and the number of concurrent users in the project configuration process in real time; And when any index of the resource occupancy rate, the storage resource utilization rate, the data transmission rate and the number of concurrent users exceeds a preset threshold value, automatically expanding the computing node or distributing the standby storage resources.
- 3. The method according to claim 1, wherein the method further comprises: The method comprises the steps of responding to a login request of a user to complete identity authentication, and distributing corresponding template selection permission, editing permission and data viewing permission according to the identity of the user; And initializing a corresponding user working space based on the project information created by the user, and realizing the isolation storage and access control of different project data.
- 4. The method according to claim 1, wherein the creating process of the preset function template library comprises: Based on the functional scene of the industrial automation system, disassembling to form a plurality of functional modules, and determining the functional boundary and interface requirement of each functional module; For each functional module, determining a parameterized configuration structure, presetting an adjustable parameter item, namely a parameter value range, and formulating a parameter verification rule; Setting a unified input/output interface, a data interaction format and a module calling protocol for all the function templates; and testing each functional template, classifying and storing the tested functional templates according to the functional types, the application scenes and the version numbers, establishing a template retrieval index, and inputting template attribute information to obtain the preset functional template library.
- 5. The method of claim 1, wherein the template combination rules include at least one of a template compatibility check rule, an interface matching rule, and a functional module combination priority rule, and the item version information includes a version number, a modification time, a modification user, and a modification content digest.
- 6. The method of claim 1, wherein the concurrency control and conflict resolution comprises: Performing time sequence sequencing on configuration editing operation of multiple users, and marking the template being edited by adopting an optimistic lock mechanism by adopting an optimistic lock; When a conflict operation is detected, the latest edit version is reserved, and a conflict initiating user is prompted to conduct differential comparison.
- 7. The method of claim 1, wherein the predetermined database employs a distributed storage architecture for encrypted storage and multi-copy backup of configuration files, template data, user operation data, and project version information.
- 8. The utility model provides a high in clouds configuration device in coordination which characterized in that includes: the selection module is used for responding to a template selection instruction of a user and selecting a target function template corresponding to a target item from a preset function template library; The combination module is used for carrying out initial template combination according to the received template combination rule and the target function template, and loading the combined template resources into a user working space; The processing module is used for constructing a multi-user real-time collaboration channel, carrying out concurrency control and conflict resolution on configuration editing operations initiated by multiple users aiming at the combined templates, synchronizing editing and modifying of any user on the combined templates to user working spaces corresponding to all collaboration users in real time, and synchronously recording operation logs and project version information; The generating module is used for responding to the received configuration editing completion instruction of the user, and generating a configuration scheme file according to the combined template and the configuration editing operation aiming at the combined template; And the storage module is used for testing the configuration scheme file and storing the configuration scheme file into a preset database after the test is passed.
- 9. A computer device comprises at least one processor, and a memory communicatively coupled to the at least one processor; Wherein the memory stores instructions executable by the at least one processor, the instructions being arranged to perform the method of any of the preceding claims 1 to 7.
- 10. A computer-readable storage medium having stored thereon computer-executable instructions, the computer executable instructions are for performing the method of any one of claims 1 to 7.
Description
Cloud collaborative configuration method, device, equipment and medium Technical Field The application relates to the technical field of industrial automation, in particular to a cloud collaborative configuration method, device, equipment and medium. Background In the field of industrial automation, the configuration technology is used as a core means for realizing the digital control of the production process, and is widely applied to the scenes of production line automation, equipment monitoring, flow optimization and the like. However, the configuration process of the conventional industrial automation system still has a plurality of technical pain points, and is difficult to adapt to the requirements of efficient, collaborative and flexible configuration of the current industrial digital transformation. First, conventional configuration modes are highly dependent on manual operations by specialized engineers and lack standardized, generalized template architecture support. Because of significant differences in process requirements, equipment configuration and control logic of different industrial scenes (such as chemical industry, automobile manufacturing and energy production), engineers need to design configuration flow and build functional modules from scratch for each project, a great amount of time is needed to carry out repeated development (such as repeated construction of similar basic configuration modules such as equipment monitoring and parameter acquisition in different production line projects), deviation of the configuration scheme in format uniformity and functional integrity is easily caused by subjectivity of manual operation, and labor cost and project risk are greatly increased. And secondly, the collaboration efficiency in the multi-person collaboration scene is low, and a version management and information synchronization mechanism is absent. The industrial automation configuration project often needs to participate in a team member (such as a process engineer, a control engineer and an operation and maintenance person) in a cross-professional and cross-regional mode, but in the traditional mode, the team member relies on local file transmission (such as mail and instant messaging tool sharing documents) to cooperate, so that the real-time synchronization of configuration editing operation cannot be realized, and the problems of 'multi-version file conflict', 'difficult operation record tracing', and the like are easy to occur. For example, the configuration parameters modified by a member are not synchronized to other members in time, so that subsequent development is performed based on old version files, finally, the logic contradiction of the whole configuration scheme is caused, additional time is needed to be input for checking and correcting, the project delivery period is seriously prolonged, and the project cost is increased. Furthermore, conventional local configuration approaches suffer from inadequate flexibility and extensibility, and are difficult to respond to rapidly changing market demands. Along with the promotion of industry 4.0, the industrial automation system needs to frequently adjust the configuration scheme (such as production line capacity upgrading and equipment iterative replacement) according to production requirements, while in a local configuration mode, configuration resources (such as templates and logic modules) are stored in local equipment, so that cross-project and cross-team resource multiplexing and quick calling cannot be realized, team members need to work on fixed equipment, the collaborative space flexibility is limited, the adjustment response speed of the configuration scheme is delayed, and the high requirement of industrial production on the configuration efficiency is difficult to meet. In summary, the conventional industrial automation configuration technology has the problems of poor universality, low cooperation efficiency, insufficient flexibility and the like, and becomes a key bottleneck for restricting efficient promotion of industrial automation projects and preventing industrial digital transformation processes. Disclosure of Invention The embodiment of the application provides a cloud collaborative configuration method, device, equipment and medium, which aim to solve the technical problems of poor generality, low collaboration efficiency, insufficient flexibility and the like in the related technology. In a first aspect, an embodiment of the present application provides a cloud collaborative configuration method, where the method includes: Responding to a template selection instruction of a user, and selecting a target function template corresponding to a target item from a preset function template library; according to the received template combination rule and the target function template, carrying out initial template combination, and loading the combined template resources into a user working space; Constructing a multi-u