CN111611216A - Data sharing method, electronic device, and medium - Google Patents

Data sharing method, electronic device, and medium Download PDF

Info

Publication number
CN111611216A
CN111611216A CN202010350971.4A CN202010350971A CN111611216A CN 111611216 A CN111611216 A CN 111611216A CN 202010350971 A CN202010350971 A CN 202010350971A CN 111611216 A CN111611216 A CN 111611216A
Authority
CN
China
Prior art keywords
data
platform
activiti
view
user
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
Application number
CN202010350971.4A
Other languages
Chinese (zh)
Inventor
郝明立
黄玉标
陈宏海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Aspire Digital Technologies Shenzhen Co Ltd
Original Assignee
Aspire Digital Technologies Shenzhen Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Aspire Digital Technologies Shenzhen Co Ltd filed Critical Aspire Digital Technologies Shenzhen Co Ltd
Priority to CN202010350971.4A priority Critical patent/CN111611216A/en
Publication of CN111611216A publication Critical patent/CN111611216A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/176Support for shared access to files; File sharing support
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/178Techniques for file synchronisation in file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Computing Systems (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a data sharing method, electronic equipment and a medium, which are widely applied to the technical field of workflow, wherein the data sharing method creates an Activiti view according to a physical table of an identity module of an Activiti platform and changes the physical table; and setting a process node candidate group according to the first platform to update the Activiti view, and when the service identity module data of the first platform is updated, synchronously updating the database corresponding to the Activiti view. The user-defined identity model is used for replacing the identity model of the original Activiti platform, and the first platform and the Activiti platform are subjected to data fusion in a view mode, so that identity data sharing of the first platform and the Activiti platform is realized without adjusting the first platform and the Activiti platform, the cost is reduced, the operation complexity is reduced, and the sharing usability of the identity data is improved.

Description

Data sharing method, electronic device, and medium
Technical Field
The present invention relates to the field of software technologies, and in particular, to a data sharing method, an electronic device, and a medium.
Background
The Activiti is a Business Process Management (BPM) framework, covers the fields of business process management, workflow, service collaboration and the like, is an open-source, flexible and easily-extensible executable process language framework, and is used for constructing a lightweight workflow business management platform aiming at enterprise users, developers and system administrators from the basis.
In a complete service management platform system, an identity module for system management is indispensable. The existing Activiti platform and a first platform, such as a service management platform, have one set of identity module respectively, but it is not desirable from the viewpoint of cost and usability to maintain two sets of identity modules simultaneously, and for the two sets of identity modules, the existing identity data sharing method needs to modify the identity module of the existing first platform or adjust the identity data reading implementation mode of the Activiti platform, and the data sharing mode has complex operability and low expansibility. Therefore, a data sharing method capable of improving usability of data sharing between the active platform and the first platform and reducing cost is needed.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art. Therefore, the invention provides a data sharing method which can improve the usability of the data sharing between the Activiti platform and the first platform and reduce the cost.
The invention also provides electronic equipment corresponding to the data sharing method.
The invention also provides a computer readable storage medium corresponding to the data sharing method.
In a first aspect, a technical solution adopted by the present invention is a data sharing method, including: creating an Activiti view according to a physical table of an identity module of an Activiti platform, and changing the physical table; and updating the Activiti view according to the first platform set flow node candidate group, and synchronously updating the database corresponding to the Activiti view when the service identity module data of the first platform is updated.
Further, the creating an Activiti view according to a physical table of an identity module of an Activiti platform includes: generating a field structure of the Activiti view according to the data structure of the physical table, wherein the field structure comprises: field type and field constraints.
Further, the physical table includes: the user extension table, the user table, the group table and the relation table are used for changing the physical table, and the method comprises the following steps: and reserving the user expansion table and deleting the user table, the group table and the relation table.
Further, the service identity module includes: user data, role data, organization data, resource data and relationship data; the relationship data includes: user role relationship data, user organization relationship data, role resource relationship data, user resource relationship data, and role organization relationship data.
Further, establishing database data corresponding to the Activiti view according to the database data of the service identity module; the Activiti view includes: a user view, a group view, and a relationship view; the user view, including the user data; the group view comprises the organization data, the role data and the resource data; the relationship view comprises the user organization relationship data, the user role relationship data and the user resource relationship data.
Further, the updating the Activiti view according to the first platform set flow node candidate group further includes: setting the flow node candidate group, wherein the value of the flow node candidate group is selected as the ID field value of the group view, and the ID field value comprises an organization field, a role field and a resource field; the organization field is used for identifying the organization data; the role field is used for identifying the role data; the resource field is used for identifying the resource data.
Further, the updating the Activiti view according to the first platform set flow node candidate group includes: generating the flow node candidate group according to the data corresponding relation of the first platform; and updating the data corresponding relation in the Activiti view according to the process node candidate group.
Further, after the setting of the process node candidate group according to the service scenario, the method further includes: activiti performs authentication on the task; the Activiti performs task authentication, including: creating node identity information according to the flow node candidate group; searching a group view according to the node identity information; searching a user view according to the group view; and searching the task and executing authentication according to the user view.
In a second aspect, an adopted technical solution of the present invention is an electronic device, including: 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 to enable the at least one processor to perform a data sharing method as described in the first aspect.
In a third aspect, an adopted technical solution of the present invention is a computer-readable storage medium, including: the computer-readable storage medium stores computer-executable instructions for causing a computer to perform a data sharing method as described in the first aspect.
The invention has the beneficial effects that:
the invention provides a data sharing method, electronic equipment and a medium.A view of Activiti is created according to a physical table of an identity module of an Activiti platform, and the physical table is changed; and setting a process node candidate group according to the first platform to update the Activiti view, and when the service identity module data of the first platform is updated, synchronously updating the database corresponding to the Activiti view. The user-defined identity model is used for replacing the identity model of the original Activiti platform, and the first platform and the Activiti platform are subjected to data fusion in a view mode, so that identity data sharing of the first platform and the Activiti platform is realized without adjusting the first platform and the Activiti platform, the cost is reduced, the operation complexity is reduced, and the sharing usability of the identity data is improved.
Drawings
The accompanying drawings are included to provide a further understanding of the claimed subject matter and are incorporated in and constitute a part of this specification, illustrate embodiments of the subject matter and together with the description serve to explain the principles of the subject matter and not to limit the subject matter.
Fig. 1 is a flow chart of a data sharing method according to an embodiment of the present invention;
fig. 2 is a specific application scenario of the data sharing method according to an embodiment of the present invention;
fig. 3 is another specific application scenario of the data sharing method according to an embodiment of the present invention;
fig. 4 is another specific application scenario of the data sharing method according to an embodiment of the present invention;
FIG. 5 is another flowchart illustrating a data sharing method according to an embodiment of the present invention;
fig. 6 is a detailed flowchart of step S1300 in fig. 4.
Detailed Description
The concept and technical effects of the present invention will be clearly and completely described below in conjunction with the embodiments to fully understand the objects, features and effects of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments, and those skilled in the art can obtain other embodiments without inventive effort based on the embodiments of the present invention, and all embodiments are within the protection scope of the present invention.
In the description of the present invention, if an orientation description is referred to, for example, the orientations or positional relationships indicated by "upper", "lower", "front", "rear", "left", "right", etc. are based on the orientations or positional relationships shown in the drawings, only for convenience of describing the present invention and simplifying the description, but not for indicating or implying that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as limiting the present invention. If a feature is referred to as being "disposed," "secured," "connected," or "mounted" to another feature, it can be directly disposed, secured, or connected to the other feature or indirectly disposed, secured, connected, or mounted to the other feature.
In the description of the embodiments of the present invention, if "a number" is referred to, it means one or more, if "a plurality" is referred to, it means two or more, if "greater than", "less than" or "more than" is referred to, it is understood that the number is not included, and if "greater than", "lower" or "inner" is referred to, it is understood that the number is included. If reference is made to "first" or "second", this should be understood to distinguish between features and not to indicate or imply relative importance or to implicitly indicate the number of indicated features or to implicitly indicate the precedence of the indicated features.
According to the cognition of the technical personnel in the field, the first platform mentioned in the embodiment of the invention refers to each business system, and can be combined with an Activiti platform for use to realize business process management.
The embodiment of the invention provides a data sharing method, electronic equipment and a medium, wherein a user-defined identity model is used for replacing an identity model of an original Activiti platform, and data fusion is carried out on a first platform and the Activiti platform in a view mode, so that identity data sharing of the first platform and the Activiti platform is realized without adjusting the first platform and the Activiti platform, the cost is saved, and the operation complexity is reduced.
In a first aspect, an embodiment of the present invention provides a data sharing method. The data sharing method replaces the identity model of the original Activiti platform with the user-defined identity model, and performs data fusion on the first platform and the Activiti platform in a view mode, so that identity data sharing of the first platform and the Activiti platform is realized without adjusting the first platform and the Activiti platform, the cost is saved, and the operation complexity is reduced.
The embodiments of the present invention will be further explained with reference to the drawings.
Referring to fig. 1, a data sharing method provided in an embodiment of the present invention includes:
s1100, creating an Activiti view according to a physical table of an identity module of the Activiti platform, and changing the physical table;
s1200, updating the Activiti view according to the first platform setting process node candidate group.
In some embodiments, in step S1100, the physical table of identity modules of the activti platform includes, but is not limited to: the system comprises a USER expansion table (ACT _ ID _ INFO), a USER table (ACT _ ID _ USER), a GROUP table (ACT _ ID _ GROUP) and a relation table (ACT _ ID _ MEMBERSHIP), wherein the relation table is used for indicating the corresponding relation between the USER table and the GROUP table.
In some embodiments, the creating an Activiti view from a physical table of identity modules of the Activiti platform in step S1100 includes: generating a field structure of an Activiti view according to a data structure of a physical table of an identity module of an Activiti platform, wherein the field structure comprises: the field type and the field constraints, and the field structure of the activti view is consistent with the data structure of the physical table of the identity module, i.e., the field type is consistent and the field constraints are consistent. From the physical tables of the identity module of the activi platform, including but not limited to user tables, group tables, and relationship tables, an activi view is created, including but not limited to: the field structures of the user view, the group view and the relation view in the Activiti view are consistent with the data structure of the physical table of the identity module. For example, the field structure of each view in the Activiti view corresponds to the data structure of each physical table of the identity module of the Activiti platform one by one.
In some embodiments, the process of altering the physical table of the activti platform identity module comprises: in addition to maintaining the user expansion table in the activti platform identity module, other physical tables are deleted, including but not limited to: user table, group table, relationship table.
In some embodiments, the service identity module of the first platform includes, but is not limited to: user data, role data, organization data, resource data and relationship data; and relationship data includes, but is not limited to: user role relationship data, user organization relationship data, role resource relationship data, user resource relationship data, and role organization relationship data. The relationship data is used for storing the relationship of each data in the service identity module of the first platform, such as the relationship between user data and role data, the relationship between user data and organization data, the relationship between role data and resource data, the relationship between user data and resource data, and the relationship between role data and organization data.
In one possible embodiment, as shown in FIG. 2, the user table, group table, relationship table fields in the Activiti view are consistent with the data structure of the physical tables of the identity modules of the Activiti platform. The user table fields in the Activiti view include: ID _ (user ID), FIRST _ (LAST name), LAST _ (FIRST name), EMAIL _ (EMAIL box), PWD _ (login password), PICTURE _ ID, REV _ (optimistic group); the relationship table fields in the Activiti view include: USER _ ID _ (USER ID), GROUP _ ID _ (USER GROUP ID); the group table fields in the Activiti view include: ID _ (group ID), TYPE _ (group TYPE), NAME _ (group NAME), REV _ (optimistic lock).
With respect to the definition of "optimistic lock", the term "optimistic lock" is relative to the term "pessimistic lock", and the optimistic lock assumes that data will not conflict under normal circumstances, so that when data is submitted for updating, it is checked whether data conflicts exist. Recording the data version in the data record is the most common implementation manner of an optimistic lock, and this implementation manner is also used by the Activiti platform, because the data sharing method mentioned in the embodiment of the present invention is used to replace the corresponding physical table of the Activiti platform with a view, and in order to ensure the consistency of the data structure, this field is also reserved in the view, and since the data in the view is not generated by the Activiti, and the update operation of the data is not involved, this value may be null in practical applications.
In one possible embodiment, as shown in fig. 3, the physical table of the service identity module of the first platform includes but is not limited to: user data, role data, organization data and resource data; the user data fields include: ID (ID), ACCOUNT _ (ACCOUNT), NAME (NAME), EMAIL (EMAIL), MOBILE phone number, PASSWORD, ORG _ ID (organization ID); the role data fields include: id (id), CODE (CODE), NAME (NAME); the organization data field includes: ID (ID), CODE (CODE), NAME (NAME), PARTENTID (parent ID); the resource data field includes: ID (ID), code (code), TYPE (TYPE), URL (URL address).
As shown in fig. 4, the relationship among the data depends on the user role relationship data, the user organization relationship data, the role resource relationship data, the user resource relationship data, and the role organization relationship data in the relationship data to realize the index relationship.
In some embodiments, step S1200, updating the Activiti view according to the first platform setup process node candidate group, further includes, but is not limited to, the following steps:
s1210, generating the flow node candidate group according to the data corresponding relation of the first platform
And S1220, updating the data corresponding relation in the Activiti view according to the process node candidate group.
In step S1210, the data corresponding relationship of the first platform includes the user role relationship data, the user organization relationship data, the role resource relationship data, the user resource relationship data, and the role organization relationship data mentioned in the previous embodiment to implement an index relationship, and a process node candidate group is generated according to the data corresponding relationship.
In the definition of the "flow node candidate group", in practical application, the node refers to a user node, and a task generated by the user node needs to be processed by a user; the node candidate refers to a user who can process a task in a waiting state after the user node task is created, and is called a node candidate, but the task processing needs to be claimed first, and generally only one user can be claimed successfully, and the user can become a task executor after the task processing. The candidate group is a set of candidates, i.e. users, and one candidate group may contain multiple candidates, i.e. multiple users, and similar to the concept of a group in the authority system, this group may be an organization, a role, etc., and may be represented as a set of multiple users.
In step S1220, the data correspondence in the view of Activiti is updated according to the process node candidate group, as shown in fig. 2, the view relationship of the group is connected through the relationship view corresponding to the user view. When the data of the first platform is updated, the data in the Activiti view can be changed by setting the process node candidate group to correspond to the corresponding data in the Activiti view.
As can be seen by referring to fig. 2 and fig. 3, the Activiti view only includes a user view, a relationship view and a group view, and the identity module of the first platform includes user data, role data, organization data and resource data, and it is desirable that role data, organization data and resource data are added to the Activiti view, and in order to enable the Activiti view to support a process node candidate group, the organization data, the resource data and the role data need to be integrated into the group view of the Activiti view, and by modifying a primary key value format in the group view, a problem of primary key collision in the view is avoided, and a data correspondence relationship between the views is implemented, so that data sharing between the Activiti platform and the first platform is implemented, and only data of the first platform needs to be processed, and data of a database corresponding to the Activiti view is updated at the same time.
In some embodiments, setting the value of the candidate set of flow nodes corresponds to the field value of the group view in the Activiti view, including but not limited to: an ID field value, including but not limited to: an organization field, a role field, and a resource field. And the corresponding NAME _ field and TYPE _ field are also modified, so that the data consistency of the Activiti platform and the first platform is ensured, and the data sharing is realized.
In some embodiments, an organization field to identify organization data for the first platform identity module in an activit platform group view; a role field for identifying role data identifying the first platform identity module in the active platform group view; a resource field for identifying resource data identifying the first platform identity module in the activti platform group view, and is not limited to the above fields according to the knowledge of those skilled in the art. By extending and defining the ID field values in the group view and identifying the organization data, the role data and the resource data in the first platform by the ID field values such as the organization field, the role field and the resource field, the requirements of a candidate group are enriched, the actual requirements of services are met, and the problem of primary key conflict is avoided.
In some possible embodiments, the value formats of the primary key ID _ field of the group view in the activti view respectively correspond to role data, organization data, and resource data, which are specifically as follows: the field value format corresponding to the role data is 'role _ + code in the role data'; the field value format corresponding to the organization data is 'org _ + code in the organization data'; the field value format corresponding to the resource data is "res _ + code in the resource data". The values of other fields in the group view are also modified correspondingly, for example: the value in the NAME _ field includes: organization name/role name/resource name; taking values in the TYPE _ field includes: org/role/res.
In some embodiments, referring to fig. 5, step S1200 is further followed by step S1300, where the activti platform performs authentication on the process task.
In step S1300, the responsible person and/or the handler of each process node is determined according to the database corresponding to the first platform, and the process task is assigned to the corresponding responsible person and/or handler according to the process node candidate group according to the combined use of the activit platform and the first platform.
In some embodiments, as shown in fig. 6, step S1300 includes:
s1310, establishing a node corresponding relation according to the process node candidate group;
s1320, searching a group view according to the corresponding relation of the nodes;
s1330, searching for a corresponding user view according to the group view;
s1340, searching a flow task according to the user view and executing authentication;
in step S1310, a node correspondence relationship is formed according to the set process node candidate group mentioned in the previous embodiment and the resource data corresponding to the role, the role data corresponding to the user data, and the organization data corresponding to the user data are set in the existing identity module in the first platform.
In step S1320, the Activiti platform finds a group view corresponding to the node according to the node correspondence;
in step S1330, the activti platform finds, according to the found ID field in the group view, the corresponding relationship between the user ID in the corresponding relationship view and the user group ID, and finds the user data in the user view;
in step S1340, the Activiti platform searches for the process task issued by the Activiti platform according to the user data in the searched user view, proves that the searched user is a candidate and/or a handler of the process task, and performs authentication processing on the process task by the searched user.
On one hand, the user-defined identity model is used for replacing the identity model of the original Activiti platform, and the first platform and the Activiti platform are subjected to data fusion in a view mode, so that the identity data sharing of the first platform and the Activiti platform is realized without adjusting the first platform and the Activiti platform, the cost is saved, and the operation complexity is reduced.
In a second aspect, an embodiment of the present invention further provides an electronic device, including: at least one processor, and a memory communicatively coupled to the at least one processor;
wherein the processor is configured to execute the data sharing method mentioned in the first embodiment by calling a computer program stored in the memory.
The memory, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs and non-transitory computer executable programs, such as the data sharing method in the embodiments of the first aspect of the present invention. The processor implements the data sharing method in the above-described first embodiment by executing the non-transitory software program and the instructions stored in the memory.
The memory may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the stored data area may store data to perform the data sharing method in the embodiment of the first aspect described above. Further, the memory may include high speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory optionally includes memory located remotely from the processor, and these remote memories may be connected to the terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The non-transitory software programs and instructions required to implement the data sharing method in the first aspect embodiment described above are stored in a memory and, when executed by one or more processors, perform the data sharing method in the first aspect embodiment described above.
In a third aspect, embodiments of the present application further provide a computer-readable storage medium storing computer-executable instructions for: performing the data sharing method mentioned in the first aspect;
in some embodiments, the computer-readable storage medium stores computer-executable instructions, which are executed by one or more control processors, for example, by one of the processors in the electronic device of the second aspect, and may cause the one or more processors to perform the data sharing method of the first aspect.
The above described embodiments of the device are merely illustrative, wherein the units illustrated as separate components may or may not be physically separate, i.e. may be located in one place, or may also be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
One of ordinary skill in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
The embodiments of the present invention have been described in detail with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge of those skilled in the art without departing from the gist of the present invention. Furthermore, the embodiments of the present invention and the features of the embodiments may be combined with each other without conflict.

Claims (10)

1. A data sharing method is used for a first platform and an Activiti platform, and comprises the following steps:
creating an Activiti view according to a physical table of an identity module of an Activiti platform, and changing the physical table;
and updating the Activiti view according to the first platform set flow node candidate group, and synchronously updating the database corresponding to the Activiti view when the service identity module data of the first platform is updated.
2. The data sharing method according to claim 1, wherein the creating an Activiti view according to a physical table of identity modules of an Activiti platform comprises:
generating a field structure of the Activiti view according to the data structure of the physical table, wherein the field structure comprises: field type and field constraints.
3. A data sharing method according to claim 1, wherein the physical table comprises: the user extension table, the user table, the group table and the relation table are used for changing the physical table, and the method comprises the following steps:
and reserving the user expansion table and deleting the user table, the group table and the relation table.
4. The data sharing method according to claim 1, wherein the updating the Activiti view according to the first candidate set of platform-setting process nodes comprises:
generating the flow node candidate group according to the data corresponding relation of the first platform;
and updating the data corresponding relation in the Activiti view according to the process node candidate group.
5. The data sharing method according to claim 1, wherein the service identity module comprises: user data, role data, organization data, resource data and relationship data; the relationship data includes: user role relationship data, user organization relationship data, role resource relationship data, user resource relationship data, and role organization relationship data.
6. The data sharing method according to claim 5, comprising: establishing database data corresponding to the Activiti view according to the database data of the service identity module;
the Activiti view includes: a user view, a group view, and a relationship view;
the user view, including the user data;
the group view comprises the organization data, the role data and the resource data;
the relationship view comprises the user organization relationship data, the user role relationship data and the user resource relationship data.
7. The data sharing method according to claim 6, wherein the updating the Activiti view according to the first candidate set of platform-setting process nodes further comprises:
setting the flow node candidate group, wherein the value of the flow node candidate group is selected as the ID field value of the group view, and the ID field value comprises an organization field, a role field and a resource field;
the organization field is used for identifying the organization data;
the role field is used for identifying the role data;
the resource field is used for identifying the resource data.
8. The data sharing method according to claim 1, further comprising:
the activti platform performs authentication on the process task, including:
establishing a node corresponding relation according to the process node candidate group;
searching a group view according to the node corresponding relation;
searching a corresponding user view according to the group of views;
and searching the flow task according to the user view and executing authentication.
9. An electronic device, comprising: at least one processor for executing a program code for the 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 to enable the at least one processor to perform a data sharing method as claimed in any one of claims 1 to 8.
10. A computer-readable storage medium having stored thereon computer-executable instructions for causing a computer to perform a method of data sharing as claimed in any one of claims 1 to 8.
CN202010350971.4A 2020-04-28 2020-04-28 Data sharing method, electronic device, and medium Pending CN111611216A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010350971.4A CN111611216A (en) 2020-04-28 2020-04-28 Data sharing method, electronic device, and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010350971.4A CN111611216A (en) 2020-04-28 2020-04-28 Data sharing method, electronic device, and medium

Publications (1)

Publication Number Publication Date
CN111611216A true CN111611216A (en) 2020-09-01

Family

ID=72199737

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010350971.4A Pending CN111611216A (en) 2020-04-28 2020-04-28 Data sharing method, electronic device, and medium

Country Status (1)

Country Link
CN (1) CN111611216A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104125219A (en) * 2014-07-07 2014-10-29 四川中电启明星信息技术有限公司 Centralized identity and management method aiming at electric power information system
CN105991592A (en) * 2015-02-15 2016-10-05 阿里巴巴集团控股有限公司 Same-natural-person identity maintenance method and apparatus, and server
CN106325887A (en) * 2016-09-19 2017-01-11 深圳市彬讯科技有限公司 Service process management method based on Activiti
US20180349812A1 (en) * 2017-06-01 2018-12-06 Xerox Corporation Form generation and externaliziation in workflow execution
CN109787976A (en) * 2019-01-17 2019-05-21 深圳壹账通智能科技有限公司 Information updating method, device, computer equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104125219A (en) * 2014-07-07 2014-10-29 四川中电启明星信息技术有限公司 Centralized identity and management method aiming at electric power information system
CN105991592A (en) * 2015-02-15 2016-10-05 阿里巴巴集团控股有限公司 Same-natural-person identity maintenance method and apparatus, and server
CN106325887A (en) * 2016-09-19 2017-01-11 深圳市彬讯科技有限公司 Service process management method based on Activiti
US20180349812A1 (en) * 2017-06-01 2018-12-06 Xerox Corporation Form generation and externaliziation in workflow execution
CN109787976A (en) * 2019-01-17 2019-05-21 深圳壹账通智能科技有限公司 Information updating method, device, computer equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
闫洪磊, 北京:机械工业出版社 *

Similar Documents

Publication Publication Date Title
US11514076B2 (en) Cooperative naming for configuration items in a distributed configuration management database environment
US8700560B2 (en) Populating a multi-relational enterprise social network with disparate source data
US20180189371A1 (en) Updating sqlite database
US20120239620A1 (en) Method and system for synchronization mechanism on multi-server reservation system
US20020010766A1 (en) Input/output device information management system for multi-computer system
CN112217656B (en) Method and device for synchronizing configuration information of network equipment in SD-WAN (secure digital-to-Wide area network) system
US20110167041A1 (en) Method and device for maintaining a changelog in data synchronization
EP3376403A1 (en) Method of accessing distributed database and device providing distributed data service
CN106155775B (en) Message processing method, device and system
US20110296414A1 (en) Upgrading roles in a role-based access-based control model
EP3812917A1 (en) Data structure reading method and apparatus, data structure updating method and apparatus, and electronic device
CN111381820A (en) Method and device for automatically generating API based on GUI
CN111314333A (en) Account management method, account management device, account management equipment and computer readable storage medium
CN112988280B (en) Configuration data processing method and device
CN112395339B (en) Intersystem data admission verification method, device, computer equipment and storage medium
CN117349291A (en) Database primary key short ID generation method, electronic equipment and medium
CN111611216A (en) Data sharing method, electronic device, and medium
CN108536447B (en) Operation and maintenance management method
CN110489483A (en) Method of data synchronization, device, computer equipment and storage medium
CN116821232A (en) Data synchronization method and related device
CN114020797A (en) Block chain distributed account book and database-based chain uplink and downlink mixed storage method
Leung Update algorithm for replicated signaling databases in wireless and advanced intelligent networks
CN111580942A (en) Method and device for processing timing task of distributed system and storage medium
US10277735B2 (en) Individual telephone number assignment
CN108694219B (en) Data processing method and device

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: 20200901