CN113067833A - Collaborative configuration service method and related components - Google Patents
Collaborative configuration service method and related components Download PDFInfo
- Publication number
- CN113067833A CN113067833A CN202110341097.2A CN202110341097A CN113067833A CN 113067833 A CN113067833 A CN 113067833A CN 202110341097 A CN202110341097 A CN 202110341097A CN 113067833 A CN113067833 A CN 113067833A
- Authority
- CN
- China
- Prior art keywords
- configuration
- client
- cooperative
- collaborative
- clients
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/133—Protocols for remote procedure calls [RPC]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a collaborative configuration service method, which separates the front end and the back end of an engineer station and divides the front end and the back end into a configuration client and a configuration server, wherein the configuration client interacts with a user and receives an operation request of the user; the configuration server stores and manages all configuration data in the system in a centralized manner, and supports the updating of the configuration operation data by the multi-configuration client, so that different users can quickly know the overall configuration condition of the current system, the configuration operation communication cost among multiple users can be reduced, and the configuration efficiency is improved; meanwhile, the method prohibits the conflict operation of the multi-configuration client to the same configuration object by performing state setting and management on the configuration object, thereby greatly improving the efficiency and reliability of the cooperative configuration. The invention also discloses a cooperative configuration service system, a configuration server, computer equipment and a readable storage medium, and has corresponding technical effects.
Description
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to a method, an apparatus, a system, a configuration server, and a readable storage medium for collaborative configuration service.
Background
The DCS (distributed Control system) is a distributed Control system, and is mainly characterized by centralized management and distributed Control, and is widely applied to the industries of electric power, metallurgy, petrifaction and the like at present, the DCS provides a general system configuration and operation Control platform for users, and the application system needs to be generated by software configuration of an engineer station (an upper computer station of the DCS and used for completing system configuration, modification and downloading, wherein the software configuration comprises the configuration of a database, a graph, a Control algorithm, a report form, the configuration of process parameters and the configuration of an operator station and a Control station), namely modular functional units provided by the general system are combined according to certain logic to form the application system capable of completing specific requirements. The DCS configuration has many contents, including: operation station configuration, control station configuration, database configuration, algorithm configuration, graphic configuration, report configuration, user configuration, operation configuration, and the like.
With the increasing of the scale of the factory and the increasing of the field devices, the configuration workload is also increasing, the requirement of the engineering is difficult to be met by a single configuration (that is, the single configuration is operated and controlled by one engineer in one engineer stack), and the efficiency is improved by multi-person cooperative configuration (that is, two or more engineers are respectively operated and controlled by the respective engineer stacks).
At present, the DCS configuration is performed at an engineer station, and when multiple persons cooperate in configuration, each engineer performs configuration at the engineer station, and the configuration management and control method is not favorable for maintenance and unified management of data, and configuration conflicts are easily generated during the multiple persons configuration, thereby affecting configuration efficiency and stability.
In summary, how to improve the efficiency and reliability of the cooperative configuration and achieve unified maintenance and management is a technical problem that needs to be solved urgently by those skilled in the art.
Disclosure of Invention
The invention aims to provide a cooperative configuration service method, equipment, a system, a configuration server and a readable storage medium, which can improve the efficiency and reliability of cooperative configuration and realize unified maintenance and management.
In order to solve the technical problems, the invention provides the following technical scheme:
a method of collaborative configuration services, comprising:
after receiving a cooperative configuration operation request initiated by a configuration client in a system, a configuration server determines the operation of the request;
if the operation does not belong to the cooperative configuration conflict operation among the multi-configuration clients, calling a configuration database to respond to the operation;
if the operation belongs to the cooperative configuration conflict operation among the multi-configuration clients, determining whether the state of the configuration object corresponding to the operation is editing;
if not, setting the state of the configuration object to be edited, and calling the configuration database to respond to the operation;
if so, the operation is rejected.
Optionally, the configuration object is a configuration point.
Optionally, invoking the configuration database in response to the operation includes:
determining to call a pre-packaged functional plug-in corresponding to the operation in the configuration database;
and calling the functional module plug-in to respond to the operation.
Optionally, when the state of the configuration object corresponding to the operation is editing, the method further includes:
and outputting prompt information that the configuration object is being edited by other configuration clients to the configuration client.
Optionally, after feeding back, to the configuration client, prompt information that the configuration object is being edited by another configuration client, the method further includes:
outputting prompt information whether to continue the operation to the configuration client;
receiving an instruction which is fed back by the configuration client and used for indicating whether to continue operation;
if the instruction indicates to continue the operation, after waiting for a preset time length, executing the step of determining whether the state of the configuration object corresponding to the operation is edited;
and if the instruction indicates to finish the operation, exiting the current operation.
A configuration server, comprising:
the request receiving unit is used for determining the requested operation after receiving a cooperative configuration operation request initiated by a configuration client in the system; if the operation does not belong to the cooperative configuration conflict operation among the multi-configuration clients, triggering an operation response unit; if the operation belongs to the cooperative configuration conflict operation among the multi-configuration clients, triggering a state judgment unit;
the operation response unit is used for calling a configuration database to respond to the operation;
the state judgment unit is used for determining whether the state of the configuration object corresponding to the operation is editing; if not, triggering an editing unit; if yes, rejecting the operation;
the editing unit is used for setting the state of the configuration object to be edited and triggering the operation response unit.
Optionally, the operation response unit includes:
a plug-in determining subunit, configured to determine to call a pre-packaged functional plug-in corresponding to the operation in the configuration database;
and the plug-in calling subunit is used for calling the functional module plug-in to respond to the operation.
A computer device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the collaborative configuration service method when executing the computer program.
A collaborative configuration service system, comprising: two or more configuration clients and a configuration server;
each configuration client is connected to the configuration server, wherein the configuration client is used for outputting a collaborative configuration service interface, generating a collaborative configuration operation request according to an operation instruction after receiving the operation instruction of a user through the collaborative configuration service interface, and initiating the collaborative configuration operation request to the configuration server;
the configuration server is used for determining the operation of the request after receiving a cooperative configuration operation request initiated by a configuration client in the system; if the operation does not belong to the cooperative configuration conflict operation among the multi-configuration clients, calling a configuration database to respond to the operation; if the operation belongs to the cooperative configuration conflict operation among the multi-configuration clients, determining whether the state of the configuration object corresponding to the operation is editing; if not, setting the state of the configuration object to be edited, and calling the configuration database to respond to the operation; if so, the operation is rejected.
A readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the above-described collaborative configuration service method.
The method provided by the embodiment of the invention separates the front end and the back end of an engineer station into a configuration client and a configuration server, wherein the configuration client provides a collaborative configuration service interface and receives an operation request of a user; the configuration server realizes cooperative service among the multi-configuration clients, all configuration data in the system are stored and managed in the configuration server in a centralized manner, operation request data generated by each configuration client are transmitted to the configuration server, the configuration server unifies the problems of cooperation and data conflict management, and the configuration server supports the updating of the configuration operation data of the multi-configuration clients, so that different users can quickly know the overall configuration condition of the system at present, the configuration operation communication cost among multiple users can be reduced, and the configuration efficiency is improved; meanwhile, the method greatly improves the efficiency and reliability of the cooperative configuration by setting and managing the state of the configuration object and prohibiting the conflict operation of the multi-configuration client to the same configuration object.
Accordingly, embodiments of the present invention further provide a cooperative configuration service system, a configuration server, a computer device, and a readable storage medium corresponding to the cooperative configuration service method, which have the above technical effects and are not described herein again.
Drawings
In order to more clearly illustrate the embodiments of the present invention or technical solutions in related arts, the drawings used in the description of the embodiments or related arts will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a diagram of a conventional cooperative configuration;
FIG. 2 is a flowchart illustrating a method for implementing a collaborative configuration service according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a response process of a configuration server to a request sent by two configuration clients according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a configuration server according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating an overall architecture of a configuration server according to an embodiment of the present invention;
FIG. 6 is an overall architecture diagram of another configuration server according to an embodiment of the present invention;
FIG. 7 is a schematic structural diagram of a computer device according to an embodiment of the present invention;
fig. 8 is a connection diagram of a collaborative configuration service system according to an embodiment of the present invention.
Detailed Description
The core of the invention is to provide a cooperative configuration service method which can improve the efficiency and reliability of cooperative configuration and realize unified maintenance and management.
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
At present, DCS configuration is performed at an engineer station, when a plurality of persons perform cooperative configuration, each engineer performs configuration at the engineer station, configuration data (a database of an application system, a control operation program, a historical database, a monitoring flow chart, and various production management reports) generated after configuration is stored in a local engineer station, and after configuration is completed, each engineer station compiles and stores the configuration data in a file, and downloads the configuration data to configuration service equipment such as a corresponding operator historical station, a corresponding control station, and the like, as shown in fig. 1, a conventional cooperative configuration diagram is illustrated.
Under the cooperative configuration, each engineer performs configuration at an independent engineer station, and all configuration data (a database of an application system, a control operation program, a historical database, a monitoring flow chart and various production management reports) are stored in a local engineer station, so that the configuration data are stored dispersedly and distributed in a plurality of engineer stations, and the configuration data are not beneficial to maintenance and unified management of data; in addition, during configuration, engineers cannot quickly and conveniently know the configuration condition of the other side, so that extra communication cost is needed, the configuration efficiency is low, and different engineers cannot simultaneously configure the same equipment; in addition, configuration conflicts are easy to generate during multi-user configuration, extra time is needed for solving the conflicts and synchronizing data, and the efficiency is seriously influenced; when configuration data is downloaded, all nodes are loaded and updated, and the configuration coupling is large.
To avoid the above disadvantages, the present embodiment provides a cooperative configuration service method, please refer to fig. 2, where fig. 2 is a flowchart of a cooperative configuration service method according to an embodiment of the present invention, the method includes the following steps:
s101, after receiving a cooperative configuration operation request initiated by a configuration client in a system, a configuration server determines the operation of the request; if the operation does not belong to the cooperative configuration conflict operation among the multi-configuration clients, triggering S104; if the operation belongs to the operation of the cooperative configuration conflict among the multi-configuration clients, triggering S102;
in this embodiment, in order to implement unified collaborative configuration service for users, a new collaborative configuration service method is provided, in which front and back ends of an engineer station (divided into a configuration client and a configuration server) are separated, where the configuration client provides a collaborative configuration service interface to implement user interaction, and each engineer may use a configuration client corresponding to each engineer to perform configuration; the configuration server realizes cooperative service among the multiple configuration clients, configuration data (in a communication mode of Remote Procedure Call (RPC)) generated at each configuration client is transmitted to the configuration server, the configuration server is a service end of engineering configuration, stores all data information of the configuration, provides a configuration service function for the outside, and stores the configuration data in a centralized manner, thereby facilitating management and maintenance of the data. The configuration server supports simultaneous connection of a plurality of configuration clients and supports the plurality of configuration clients to carry out cooperative remote configuration. The configuration server unifies the problems of cooperation and data conflict management, and the efficiency and the reliability of cooperation configuration are greatly improved.
Specifically, after receiving a cooperative configuration operation request initiated by a certain configuration client in the system, the configuration server determines the operation of the request, and the operation may be divided into two types from the perspective of conflict, one is cooperative configuration conflict operation between multiple configuration clients, and the other may be referred to as cooperative configuration conflict operation between non-multiple configuration clients, or may be referred to as operation not belonging to cooperative configuration conflict between multiple configuration clients. In this embodiment, the operation of the collaborative configuration conflict between the multiple configuration clients refers to an operation that may cause a conflict in the collaborative configuration operation of the multiple configuration clients, such as deleting a point, editing certain configuration information, and the like; the operation that is not the cooperative configuration conflict operation between the multi-configuration clients or does not belong to the cooperative configuration conflict between the multi-configuration clients means that even if the plurality of configuration clients initiate the operation at the same time, no conflict is caused, such as adding a point, querying configuration information, and the like.
S102, determining whether the state of the configuration object corresponding to the operation is editing or not; if not, triggering S103; if yes, rejecting the operation;
in this embodiment, to avoid configuration conflicts, the state of an object of an operation that may cause conflicts is set, and if a certain configuration object is being executed by a certain configuration client to perform a collaborative configuration conflict operation between multiple configuration clients, the state of the certain configuration object is set to be editing to indicate that the object is being occupied by the client, so as to avoid operation responses of other configuration clients to the object. If the state of the configuration object currently requesting the operation is not being edited, the current operation can be normally executed, and thus step S103 can be directly triggered. If the state of the configuration object currently requesting the operation is editing, in order to avoid configuration conflict, the current operation cannot be executed simultaneously, and the operation needs to be rejected.
It should be noted that, after the operation is rejected, to further improve the user experience, the state of the configuration object may be continuously waited and queried until the state is not being edited, and then step S103 is triggered; the current operation may be abandoned or suspended according to the instruction of the user, or the state of the configuration object may be continuously waited according to the instruction of the user, and the like, and the corresponding setting may be performed according to the actual user usage requirement.
In order to optimize the user experience and improve the operation response speed and efficiency, when the state of the configuration object corresponding to the operation is being edited, the following steps may be further performed: and outputting prompt information that the configuration object is being edited by other configuration clients to the configuration client.
So as to improve the user's understanding of the current operation execution situation, and enable the user to perform operations such as withdrawal of the request according to the actual situation.
Further, after the prompt information that the configuration object is being edited by other configuration clients is fed back to the configuration client, the following steps can be further executed:
(1) outputting prompt information whether to continue operation to the configuration client;
(2) receiving an instruction which is fed back by the configuration client and used for indicating whether to continue operation;
(3) if the instruction indicates to continue the operation, after waiting for a preset time length, executing a step of determining whether the state of the configuration object corresponding to the operation is edited;
(4) and if the instruction indicates to finish the operation, exiting the current operation.
The steps provide an interface which can directly select whether the current process is executed or not for the user, and the user can conveniently execute and control the operation.
It should be noted that, in this embodiment, the "configuration object" is an object for executing the operation request, and the granularity of dividing the configuration object is not limited in this embodiment, and the configuration object may be divided in units of nodes and devices, or may be divided in other granularities, and the granularity of the configuration object may be divided according to the actual use requirement, such as configuration of point data, a flowchart, and a trend group. The configuration objects can be divided by taking configuration points (point data) as the granularity, so that the probability of configuration conflicts among the multi-configuration clients is reduced after the configuration objects are refined, and the request waiting time of the configuration clients is correspondingly reduced, thereby further improving the configuration efficiency among the clients.
In addition, it should be noted that, in this embodiment, only the operation type and the operation object are used to avoid the configuration conflict, and if a plurality of users do not initiate the operation of the collaborative configuration conflict between the plurality of configuration clients for the same object at the same time, for example, when the plurality of configuration clients respectively initiate the operation of the collaborative configuration conflict between the plurality of configuration clients or the operation of the collaborative configuration conflict between the non-plurality of configuration clients for different configuration objects, or when the plurality of configuration clients initiate the operation of the collaborative configuration conflict between the non-plurality of configuration clients for the same configuration object, the plurality of configuration clients (users) may simultaneously respond to the simultaneous operation of the plurality of clients (users), so as to improve the configuration response efficiency and improve the user experience.
S103, setting the state of the configuration object to be edited, and triggering S104;
if the configuration object requested to be operated by the current request has no other configuration clients operating the configuration object, the state of the configuration object is set to be edited before the object is edited to avoid the conflict of the cost request of other clients, and after the request is responded, if other clients also initiate the cooperative configuration conflict operation request among the multi-configuration clients for the configuration object, the other operations cannot be simultaneously performed on the editing configuration object, the configuration conflict during simultaneous configuration of multiple persons is avoided, and the additional workload brought by the configuration conflict and the synchronous data and the influence on the configuration service efficiency are also avoided.
S104, calling a configuration database response operation.
In this embodiment, the configuration server performs unified management and response on the requests of all the clients in the system, and the configuration server performs unified cooperative processing and unified data updating on the operation requests from all the configuration clients, integrally stores the configuration data in the configuration database, and performs centralized storage and management on the configuration data.
Specifically, the configuration server centrally manages and stores configuration data, and performs response of client operation according to the centrally managed system state, so that each configuration client performs configuration for the same configuration server, and executes service logic and configuration of each configuration client in the configuration server, so that configuration information for different configurations among the configuration clients can be embodied in the configuration information of the configuration server, data update among the configuration clients can be realized, and users applying different configuration clients can quickly know the configuration condition of the other side for the same service server, thereby reducing communication cost and improving configuration efficiency.
In order to facilitate maintenance and optimization of the configuration server, all the functional modules in the configuration server can be configured and packaged in a plug-in mode, namely all the functional modules in the configuration server are converted into functional plugs, and after the functional plugs are packaged in the plug-in mode, the functional plugs are low in coupling performance, easy to expand and easy to maintain, and maintenance cost and maintenance efficiency of the configuration server can be reduced. Accordingly, the process of invoking the configuration database response operation may specifically include the following two steps:
(1) determining a function plug-in which operation corresponds to a function package in a configuration database is called;
(2) and calling the functional module plug-in to respond to the operation.
It should be noted that, a specific implementation manner for performing plug-in encapsulation on a function module is not limited in this embodiment, and reference may be made to descriptions of related implementation manners, for example, a plug-in tool may be called to perform plug-in encapsulation on a function module, and details are not described herein again.
To further understand, a response process of two configuration clients (configuration client 1 and configuration client) sending a request to a configuration server is introduced, and fig. 3 is a response diagram of the process, specifically including the following steps:
(1) the configuration client 1 is connected with the configuration server, and the server returns connection information after the connection is successful;
(2) the configuration client 2 is connected with the configuration server, and the server returns connection information after the connection is successful;
(3) the configuration client 1 cooperates with the configuration, adds points to the project, and after the configuration service receives the request, adds corresponding points to a point table of the database and returns an adding result;
(4) the configuration client 2 updates the point information, the configuration service receives the request, queries the database, finds the point information added and stored by the client 1, returns the query result to the client 2, and can see the point added by the client 1 from the client 2;
(5) the configuration client 1 edits the point, and the configuration service receives the request and sets the point state in the database as being edited;
(6) the configuration client 2 wants to edit the same point, after receiving the request, the configuration service inquires the point state of the database, finds that the user is editing, returns the state to the client 2, and prompts the user that the point is editing;
(7) after the configuration client 1 finishes editing, storing an editing result, after the configuration service receives a request, storing the result in a database, setting the state of a point to be normal, and returning the storage result;
(8) after the dot state is set to normal, the client 2 can edit normally.
Points are introduced as operation granularity in the response process, and other operation granularities can also refer to the above introduction directly, and are not described herein again.
Based on the above introduction, the technical solution provided by the embodiment of the present invention separates the front end and the back end of the engineer station, and divides the engineer station into a configuration client and a configuration server, wherein the configuration client provides a collaborative configuration service interface and receives an operation request of a user; the configuration server realizes cooperative service among the multi-configuration clients, all configuration data in the system are stored and managed in the configuration server in a centralized manner, operation request data generated by each configuration client are transmitted to the configuration server, the configuration server unifies the problems of cooperation and data conflict management, and the configuration server supports the updating of the configuration operation data of the multi-configuration clients, so that different users can quickly know the overall configuration condition of the system at present, the configuration operation communication cost among multiple users can be reduced, and the configuration efficiency is improved; meanwhile, the method greatly improves the efficiency and reliability of the cooperative configuration by setting and managing the state of the configuration object and prohibiting the conflict operation of the multi-configuration client to the same configuration object.
Corresponding to the above method embodiments, the embodiment of the present invention further provides a configuration server, and the configuration server described below and the above collaborative configuration service method may be referred to correspondingly.
Referring to fig. 4, the server includes the following modules:
the request receiving unit 110 is mainly configured to determine a requested operation after receiving a cooperative configuration operation request initiated by a configuration client in a system; if the operation does not belong to the cooperative configuration conflict operation among the multi-configuration clients, the operation response unit 140 is triggered; if the operation belongs to the operation of the cooperative configuration conflict between the multi-configuration clients, the state judgment unit 120 is triggered;
the state determining unit 120 is mainly configured to determine whether the state of the corresponding configuration object is being edited; if not, triggering the editing unit 130; if so, rejecting the operation;
the editing unit 130 is mainly used for setting the state of the configuration object as being edited and triggering the operation response unit;
the operation response unit 140 is mainly used for invoking a configuration database response operation.
In an embodiment of the present invention, the operation response unit 140 may specifically include:
the plug-in determination subunit 141 is mainly configured to determine to call a function plug-in which a corresponding operation is pre-packaged in the configuration database;
the plug-in calling subunit 142 is mainly used for calling the functional module plug-in response operation.
In the above embodiment, the configuration servers are divided by functional units, and as shown in fig. 5, an overall architecture diagram of the configuration servers is shown, the diagram divides the configuration servers from a physical layer perspective, and the configuration servers are structurally divided into 4 layers, a communication layer, a service logic layer, a data encapsulation layer and a data layer. Reference may be made to fig. 5 for the physical architectural arrangement of the configuration server.
The communication layer comprises an RPC server and an RPC client, provides RPC communication service, and is used for receiving and processing requests of the configuration client and downloading configuration data to the nodes. For example, the sufficiently large client communicates with the configuration server through the RPC, and other communication methods can refer to this embodiment and are not described herein again.
The service logic layer is mainly used for processing specific service logic, and in order to facilitate maintenance and management, a plug-in design idea can be adopted to package each service function into a plug-in which is integrated into a framework of the server, and each plug-in is dynamically loaded to realize cooperative configuration in the service plug-in.
The data encapsulation layer is mainly used for encapsulating access of the configuration data, the business logic layer does not need to care about specific information of the database, coupling among modules is reduced, and change of the database is facilitated.
The data layer is mainly used for storing all data information of the configuration, including basic templates of projects, specific projects and related configuration information, and storing the data information in the database.
The communication layer, the service logic layer and the data encapsulation layer are combined in a service manner, and can be integrally and equivalently configured as a configuration service component, and the data layer is individually encapsulated and can be used as a configuration database, as shown in fig. 6.
Corresponding to the above method embodiment, an embodiment of the present invention further provides a computer device, and a computer device described below and a collaborative configuration service method described above may be referred to in correspondence.
The computer device includes:
a memory for storing a computer program;
the processor is configured to implement the steps of the cooperative configuration service method according to the above-described method embodiment when executing the computer program.
Specifically, referring to fig. 7, a specific structural diagram of a computer device provided in this embodiment is a schematic diagram, where the computer device may generate a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 322 (e.g., one or more processors) and a memory 332, where the memory 332 stores one or more computer applications 342 or data 344. Memory 332 may be, among other things, transient or persistent storage. The program stored in memory 332 may include one or more modules (not shown), each of which may include a sequence of instructions operating on a data processing device. Still further, the central processor 322 may be configured to communicate with the memory 332 to execute a series of instruction operations in the memory 332 on the computer device 301.
The computer device 301 may also include one or more power supplies 326, one or more wired or wireless network interfaces 350, one or more input-output interfaces 358, and/or one or more operating systems 341.
The steps in the collaborative configuration service method described above can be implemented by the structure of the computer device provided in this embodiment.
Corresponding to the above method embodiment, an embodiment of the present invention further provides a collaborative configuration service system, including: two or more configuration clients and a configuration server;
each configuration client is connected to the configuration server, wherein the configuration client is used for outputting a cooperative configuration service interface, generating a cooperative configuration operation request according to an operation instruction after receiving the operation instruction of a user through the cooperative configuration service interface, and initiating the cooperative configuration operation request to the configuration server;
the function and structure of the configuration server can refer to the introduction of the method and the server embodiment, and the configuration server is mainly used for determining the operation of the request after receiving a cooperative configuration operation request initiated by a configuration client in the system; if the operation does not belong to the cooperative configuration conflict operation among the multi-configuration clients, calling a configuration database to respond to the operation; if the operation belongs to the cooperative configuration conflict operation among the multi-configuration clients, determining whether the state of the configuration object corresponding to the operation is editing; if not, setting the state of the configuration object as being edited, and calling a configuration database to respond; if so, when the state of the configuration object is not being edited, the state of the configuration object is set to be editing, and the operation of responding the operation by the configuration database is called.
As shown in fig. 8, a connection diagram of a collaborative configuration service system is shown, and for example, a configuration client communicates with an attitude server through RPC, the configuration server is a server for engineering configuration, stores all data information of configuration, and provides a configuration service function to the outside, so that the configuration client can call the configuration server to implement collaborative configuration and remote configuration. The configuration server is positioned at the core of the network model, is composed of a configuration service and a configuration database, and is connected with nodes such as a configuration client, an operator station (an upper computer station of DCS for carrying out on-site monitoring and management), a history station, a control station and the like.
The collaborative configuration service system provided by this embodiment separates the configuration interface client from the server, and the configuration server centrally manages the configuration data, and the configuration data is stored in the database, and the configuration interface client accesses the database through the configuration service, thereby implementing collaborative configuration.
Corresponding to the above method embodiment, an embodiment of the present invention further provides a readable storage medium, and a readable storage medium described below and a collaborative configuration service method described above may be referred to correspondingly.
A readable storage medium, on which a computer program is stored, the computer program, when being executed by a processor, implementing the steps of the collaborative configuration service method of the above-mentioned method embodiment.
The readable storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and various other readable storage media capable of storing program codes.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
Claims (10)
1. A method for collaborative configuration services, comprising:
after receiving a cooperative configuration operation request initiated by a configuration client in a system, a configuration server determines the operation of the request;
if the operation does not belong to the cooperative configuration conflict operation among the multi-configuration clients, calling a configuration database to respond to the operation;
if the operation belongs to the cooperative configuration conflict operation among the multi-configuration clients, determining whether the state of the configuration object corresponding to the operation is editing;
if not, setting the state of the configuration object to be edited, and calling the configuration database to respond to the operation;
if so, the operation is rejected.
2. The collaborative configuration service method according to claim 1, wherein the configuration object is a configuration point.
3. The collaborative configuration service method according to claim 1, wherein invoking the configuration database in response to the operation comprises:
determining to call a pre-packaged functional plug-in corresponding to the operation in the configuration database;
and calling the functional module plug-in to respond to the operation.
4. The collaborative configuration service method according to claim 1, wherein when the state of the configuration object corresponding to the operation is editing, further comprising:
and outputting prompt information that the configuration object is being edited by other configuration clients to the configuration client.
5. The collaborative configuration service method according to claim 4, wherein after the feedback of the prompt message that the configuration object is being edited by other configuration clients to the configuration client, the method further comprises:
outputting prompt information whether to continue the operation to the configuration client;
receiving an instruction which is fed back by the configuration client and used for indicating whether to continue operation;
if the instruction indicates to continue the operation, after waiting for a preset time length, executing the step of determining whether the state of the configuration object corresponding to the operation is edited;
and if the instruction indicates to finish the operation, exiting the current operation.
6. A configuration server, comprising:
the request receiving unit is used for determining the requested operation after receiving a cooperative configuration operation request initiated by a configuration client in the system; if the operation does not belong to the cooperative configuration conflict operation among the multi-configuration clients, triggering an operation response unit; if the operation belongs to the cooperative configuration conflict operation among the multi-configuration clients, triggering a state judgment unit;
the operation response unit is used for calling a configuration database to respond to the operation;
the state judgment unit is used for determining whether the state of the configuration object corresponding to the operation is editing; if not, triggering an editing unit; if so, triggering an editing unit when the state of the configuration object is not being edited;
the editing unit is used for setting the state of the configuration object to be edited and triggering the operation response unit.
7. The configuration server of claim 6, wherein the operation response unit comprises:
a plug-in determining subunit, configured to determine to call a pre-packaged functional plug-in corresponding to the operation in the configuration database;
and the plug-in calling subunit is used for calling the functional module plug-in to respond to the operation.
8. A computer device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the collaborative configuration service method according to any one of claims 1 to 5 when executing the computer program.
9. A collaborative configuration service system, comprising: two or more configuration clients and a configuration server;
each configuration client is connected to the configuration server, wherein the configuration client is used for outputting a collaborative configuration service interface, generating a collaborative configuration operation request according to an operation instruction after receiving the operation instruction of a user through the collaborative configuration service interface, and initiating the collaborative configuration operation request to the configuration server;
the configuration server is used for determining the operation of the request after receiving a cooperative configuration operation request initiated by a configuration client in the system; if the operation does not belong to the cooperative configuration conflict operation among the multi-configuration clients, calling a configuration database to respond to the operation; if the operation belongs to the cooperative configuration conflict operation among the multi-configuration clients, determining whether the state of the configuration object corresponding to the operation is editing; if not, setting the state of the configuration object to be edited, and calling the configuration database to respond to the operation; if so, the operation is rejected.
10. A readable storage medium, having stored thereon a computer program which, when executed by a processor, performs the steps of the collaborative configuration service method according to any of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110341097.2A CN113067833A (en) | 2021-03-30 | 2021-03-30 | Collaborative configuration service method and related components |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110341097.2A CN113067833A (en) | 2021-03-30 | 2021-03-30 | Collaborative configuration service method and related components |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113067833A true CN113067833A (en) | 2021-07-02 |
Family
ID=76564766
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110341097.2A Pending CN113067833A (en) | 2021-03-30 | 2021-03-30 | Collaborative configuration service method and related components |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113067833A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114079614A (en) * | 2022-01-19 | 2022-02-22 | 浙江中控技术股份有限公司 | Application method for embedded equipment to serve as client and server simultaneously |
CN114997831A (en) * | 2022-06-14 | 2022-09-02 | 中国银行股份有限公司 | Collaborative management method and device for client |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070283049A1 (en) * | 2006-06-02 | 2007-12-06 | Google Inc. | Resolving Conflicts While Synchronizing Configuration Information Among Multiple Clients |
CN104134109A (en) * | 2014-06-24 | 2014-11-05 | 青岛海信网络科技股份有限公司 | Engineering configuration method and engineering configuration system integrating version management |
CN107341646A (en) * | 2017-05-31 | 2017-11-10 | 北京广利核系统工程有限公司 | Configuration software coordination management system and method |
CN107360237A (en) * | 2017-07-24 | 2017-11-17 | 南京国电南自维美德自动化有限公司 | A kind of graphical configuration system of the DCS of multiple-person cooperative work and method |
CN110442334A (en) * | 2019-07-15 | 2019-11-12 | 北京飞利信电子技术有限公司 | A kind of multi-person synergy graphic configuration method, electronic equipment and server |
CN110532021A (en) * | 2018-05-25 | 2019-12-03 | 北京东土科技股份有限公司 | The processing method and processing device of the configuration file of dcs |
-
2021
- 2021-03-30 CN CN202110341097.2A patent/CN113067833A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070283049A1 (en) * | 2006-06-02 | 2007-12-06 | Google Inc. | Resolving Conflicts While Synchronizing Configuration Information Among Multiple Clients |
CN104134109A (en) * | 2014-06-24 | 2014-11-05 | 青岛海信网络科技股份有限公司 | Engineering configuration method and engineering configuration system integrating version management |
CN107341646A (en) * | 2017-05-31 | 2017-11-10 | 北京广利核系统工程有限公司 | Configuration software coordination management system and method |
CN107360237A (en) * | 2017-07-24 | 2017-11-17 | 南京国电南自维美德自动化有限公司 | A kind of graphical configuration system of the DCS of multiple-person cooperative work and method |
CN110532021A (en) * | 2018-05-25 | 2019-12-03 | 北京东土科技股份有限公司 | The processing method and processing device of the configuration file of dcs |
CN110442334A (en) * | 2019-07-15 | 2019-11-12 | 北京飞利信电子技术有限公司 | A kind of multi-person synergy graphic configuration method, electronic equipment and server |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114079614A (en) * | 2022-01-19 | 2022-02-22 | 浙江中控技术股份有限公司 | Application method for embedded equipment to serve as client and server simultaneously |
CN114079614B (en) * | 2022-01-19 | 2022-05-17 | 浙江中控技术股份有限公司 | Application method for embedded equipment to serve as client and server simultaneously |
CN114997831A (en) * | 2022-06-14 | 2022-09-02 | 中国银行股份有限公司 | Collaborative management method and device for client |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103092698B (en) | Cloud computing application automatic deployment system and method | |
CN107172187B (en) | A kind of SiteServer LBS and method | |
CN111506412A (en) | Distributed asynchronous task construction and scheduling system and method based on Airflow | |
CN105553741A (en) | Automatic deployment method for application system based on cloud computing | |
CN111880902A (en) | Pod creation method, device, equipment and readable storage medium | |
CN106657314A (en) | Cross-data center data synchronization system and method | |
CN113067833A (en) | Collaborative configuration service method and related components | |
CN104579792A (en) | Architecture and method for achieving centralized management of various types of virtual resources based on multiple adaptive modes | |
CN111064626B (en) | Configuration updating method, device, server and readable storage medium | |
CN106814975A (en) | A kind of memory management method and its system for polymorphic type storage device | |
CN110308987B (en) | Method for updating connection parameters of distributed training tasks on container cloud | |
CN113742031A (en) | Node state information acquisition method and device, electronic equipment and readable storage medium | |
CN102891768A (en) | Method and network element for network management | |
CN111614729A (en) | Method and device for controlling kubernets container cluster and electronic equipment | |
CN106790084A (en) | A kind of heterogeneous resource integrated framework and its integrated approach based on ICE middlewares | |
CN112698925B (en) | Container mixed operation processing method of server cluster | |
CN112333065A (en) | Automatic opening method and device for IPRAN Ethernet private line | |
CN108829385A (en) | A kind of business flow processing method and middle-agent's layer | |
CN109788036B (en) | Distributed computing method and device based on cloud network and cloud server with distributed computing method and device | |
CN108259605B (en) | Data calling system and method based on multiple data centers | |
CN111177160A (en) | Service updating method, device, server and medium | |
CN100484014C (en) | Distributed cluster service management system and service management method in intelligent network | |
CN114301914A (en) | Cloud edge coordination method and device and storage medium | |
CN114640569A (en) | Dynamic message management apparatus, device, system, method, and storage medium | |
CN104598250A (en) | System management structure and management implementation method for same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210702 |