Organization architecture of large group and data sharing and isolating method thereof
1. An organization framework of a large-scale group is characterized by comprising a group, units, organizations and plates, wherein the group comprises all organizations, the organizations in the group are classified and recombined, the organizations with certain administrative superior-inferior relations are virtually combined together to form the units, the plates comprise all the organizations with certain business similarity in the group, the units and the organizations are in tree-shaped superior-inferior containment relations, the group, the units and the organizations are all nodes in tree-shaped superior-inferior containment relations, the group is used as a fixed top-level organization and is provided with a first organization field, the units and the organizations belong to subordinate nodes of the group, the units further comprise a plurality of secondary units, the units are used as subordinate nodes of the group and are provided with a second organization field, and all the corresponding organizations, the secondary units and all subordinate organizations of the secondary units share the second organization field, the organization is used as a lowest node and is provided with a third organization field, and the plate is provided with a fourth organization field.
2. A data sharing and isolating method for an organization structure of a large clique, which adopts the organization structure of a large clique of claim 1, comprising the steps of:
s1, acquiring basic data and a sharing mode corresponding to the basic data, wherein the sharing mode comprises an organization mode and a plate mode, and S2 is performed when the sharing mode corresponding to the basic data is the organization mode; when the sharing mode corresponding to the basic data is the plate mode, performing S3;
s2, sharing in a transverse mode, and sharing basic data according to an organization mode, a unit mode and a group;
and S3, performing sharing in a vertical mode, wherein the basic data penetrates through a horizontal unit system, and the multiple units are subjected to through sharing.
3. The method of claim 2, wherein the step S2 comprises the following steps:
and SA: sharing the organization mode: the basic data and the third organization field are bound and shared in the organization, and the basic data can only be visible and used in the organization;
SB: sharing unit modes: the basic data is shared in the unit and bound with the second organization field, and the basic data can only be visible and used in the unit, the lower level unit of the unit and the internal organization of the unit;
SC: sharing in a group mode: shared within the clique, the underlying data is bound to the first organizational field, where it can then be made visible and used by all units and organizations within the entire clique.
4. The method of claim 3, wherein the SB further comprises the steps of:
when the upper unit shares the data to the lower unit, the editability and the deletability of the basic data of the lower unit are controlled by adding constraints, and whether the lower unit has the authority of performing newly-added operation on the basic data can be controlled.
5. The method of claim 4, wherein the SB further comprises the steps of:
the process of the lower unit acquiring the basic data of the upper unit is as follows: and binding a second organization field on each basic data, judging a unit corresponding to the second organization field, binding the unit with the basic data, and receiving data shared by the upper unit by the lower unit of the unit through the unit where the organization is located.
6. The method of claim 4, wherein the step S3 comprises the following steps:
and binding a fourth organization field on each piece of basic data, judging a plate corresponding to the fourth organization field, binding the plate with the basic data, and sharing the basic data by organizations on the same plate.
Background
With the increase of the scale of enterprises in modern society, the range of enterprise operation tends to diversify; the amount and variety of the basic data of an enterprise are various, and in order to better manage and use the basic data, the enterprise needs to share or isolate the basic data, and the general method is to share and isolate the basic data according to the organization. At present, basic data are generally processed on software by isolation and sharing according to the dimension of organization, the basic data are used in a virtual container taking the organization as a unit, and when the basic data need to be used, visibility authority of the basic data needs to be possessed firstly.
In the existing software, a data processing mode is generally shared or isolated according to an organization dimension, all data records are provided with an organization field in a database, and the field is used for filtering out data private to the organization; for data needing centralized management and control, a lower organization can see the data in a global sharing mode, the value of an organization field of the data records is generally set to be 0, and the lower organization can see the data and is not allowed to modify or delete.
The technology is used for separating data of basic data of software according to organization, wherein the basic data is separated into two types, and private data and globally shared data are organized. I.e. a piece of basic data, can be used either only inside this organization or all organizations can be used.
The first problem that can exist is: if a plurality of organizations need to use the basic data, the basic data needs to be established in the plurality of organizations, so that the condition that the primary key of the same basic data is not unique exists, the final data is difficult to process, and the correct data statistical analysis is difficult to perform.
A second problem that can exist is: if the basic data is processed in a manner of establishing a mapping relationship between the basic data and an organization, dynamic maintenance of the mapping relationship can be a great workload, and difficulty in software design and implementation is increased. And every new organization needs to maintain the mapping relation of all basic data.
Disclosure of Invention
The invention solves the problems of non-uniqueness of the main keys of basic data of large group enterprises and redundancy of the basic data, provides an organization structure of a large group and a data sharing and isolating method thereof, the main keys are globally unified, a foundation is laid for statistical analysis of later report data, one piece of basic data can be shared to the needed organization to the maximum extent, maintenance work of the basic data is greatly simplified, certain maintenance amount of the basic data, characteristics of unit inheritance and characteristics of plate inheritance are simplified while redundancy is solved, and maintenance of the basic data is simplified to the maximum extent by combining the characteristics of sharing of the basic data.
In order to realize the purpose, the following technical scheme is provided:
an organization framework of a large-scale group comprises a group, units, organizations and a plate, wherein the group comprises all organizations, the organizations in the group are classified and recombined, the organizations with certain administrative superior-inferior relations are virtually combined together to form the units, the plate comprises all the organizations with certain service similarity in the group, the units and the organizations are in tree-shaped superior-inferior containing relations, the group, the units and the organizations are nodes in tree-shaped superior-inferior containing relations, the group is used as a fixed top-level organization and is provided with a first organization field, the units and the organizations belong to subordinate nodes of the group, the units further comprise a plurality of secondary units, the units are used as subordinate nodes of the group and are provided with a second organization field, and all the corresponding organizations, the secondary units and subordinate nodes of the secondary units share the second organization field, the organization is used as a lowest node and is provided with a third organization field, and the plate is provided with a fourth organization field.
After the relationships of cliques, units, organizations, and slabs are clarified, the underlying data can be shared in either an organizational mode or in a slab mode. When shared in organizational mode, the underlying data can only belong to an organization, unit, or group. And when the basic data is shared in the plate mode, the basic data can be shared to a plurality of plates. When the data is shared in the organization mode, the basic data sharing mode is a horizontal mode, the data is distributed from the group, and when the data reaches the next level unit, the data can be transversely shared in the subunit mode of the unit. When the basic data is shared in a plate mode, the basic data is shared in a longitudinal mode, the basic data can penetrate through a transverse unit system, and the basic data is shared throughout a plurality of units.
A data sharing and isolating method for an organization structure of a large group adopts the organization structure of the large group and comprises the following steps:
s1, acquiring basic data and a sharing mode corresponding to the basic data, wherein the sharing mode comprises an organization mode and a plate mode, and S2 is performed when the sharing mode corresponding to the basic data is the organization mode; when the sharing mode corresponding to the basic data is the plate mode, performing S3;
s2, sharing in a transverse mode, and sharing basic data according to an organization mode, a unit mode and a group;
and S3, performing sharing in a vertical mode, wherein the basic data penetrates through a horizontal unit system, and the multiple units are subjected to through sharing.
The key point of the invention is the weak association relationship and the clear and unique association relationship between the organization, the unit, the group, the plate and the basic data.
In the vertical per-cell sharing mode, data of an upper unit can be shared to a lower unit one level at one level. The unit data sharing strategy, the isolation strategy and the unit upper and lower level data control strategy are formed by the organization on the basic data, the unit where the organization is located and the upper and lower level relations of the unit.
In a horizontal board sharing mode, basic data created in the organization of the same board can be shared mutually, the upper and lower level relation in a unit sharing mode is broken through in the sharing mode, the data sharing is more flexible, and the data sharing isolation control of the unit makes up for the deficiency of each other.
Preferably, the S2 specifically includes the following steps:
and SA: sharing the organization mode: the basic data and the third organization field are bound and shared in the organization, and the basic data can only be visible and used in the organization; the sharing of the organization mode is private to the organization, and the private basic data of the organization can only be visible and usable in the organization after being created.
SB: sharing unit modes: the basic data is shared in the unit and bound with the second organization field, and the basic data can only be visible and used in the unit, the lower level unit of the unit and the internal organization of the unit;
SC: sharing in a group mode: shared within the clique, the underlying data is bound to the first organizational field, where it can then be made visible and used by all units and organizations within the entire clique. The group mode sharing is global sharing, basic data are maintained in a group or the following units, the group sharing is selected as the basic data to be maintained, and then the basic data for newly adding and maintaining can be seen by the whole group.
Preferably, the SB further comprises the steps of:
when the upper unit shares the data to the lower unit, the editability and the deletability of the basic data of the lower unit are controlled by adding constraints, and whether the lower unit has the authority of performing newly-added operation on the basic data can be controlled.
All the above operations are to add a creation organization on the basic data table, create a unit and set the editability, deletability and additive of the basic data on each layer of unit tree according to the upper and lower level relation of the unit tree level. After setup, the respective operator can only perform the constrained operation on the respective unit.
Preferably, the SB further comprises the steps of:
the process of the lower unit acquiring the basic data of the upper unit is as follows: and binding a second organization field on each basic data, judging a unit corresponding to the second organization field, binding the unit with the basic data, and receiving data shared by the upper unit by the lower unit of the unit through the unit where the organization is located.
The present invention is based on binding the underlying data to the units. Each basic data is provided with an organization field, the organization field corresponds to a certain unit, and the unit has a superior-subordinate relation. The lower unit can receive the data shared by the upper unit through the unit where the organization is located.
Preferably, the S3 specifically includes the following steps:
and binding a fourth organization field on each piece of basic data, judging a plate corresponding to the fourth organization field, binding the plate with the basic data, and sharing the basic data by organizations on the same plate.
Similar to data sharing on units, organization fields on basic data belong to a certain plate, so organizations on the same plate can be shared with each other without concerning the superior and inferior relations of the corresponding organizations. The plate thus breaks the vertical boundary of the tissue. The basic data created on the unit can be shared with the unit and the lower units of the unit, and the basic data can be seen by the unit or the organizations of the lower units of the unit, including the organizations newly added in the later period. The tile sharing is the same as the unit sharing, except that the tiles have no context.
The invention has the beneficial effects that: the method has the advantages of flexible sharing mode, less data redundancy, low maintenance cost, automatic inheritance of the basic data of a newly-built organization, convenience in operation and uniqueness in basic data coding.
Drawings
FIG. 1 is a tissue architecture diagram of example 1.
Detailed Description
Example (b):
this embodiment provides an organization structure of a large clique, referring to fig. 1, which includes a clique, units, organizations and a plate, where the clique includes all organizations, classifies and reorganizes the organizations in the clique, virtually combines the organizations with a certain administrative upper-lower level relationship together to form the units, the plate includes all organizations with a certain business similarity in the clique, the units and the organizations are tree-shaped upper-lower level inclusive relationships, the clique, the units and the organizations are all nodes of tree-shaped upper-lower level inclusive relationships, the clique is a fixed top-level organization and is provided with a first organization field, the units and the organizations belong to lower-level nodes of the clique, the units further include a plurality of secondary units, the units are the lower-level nodes of the clique and are provided with a second organization field, and all the organizations corresponding to the second organization field, the secondary units and all the lower-level organizations of the secondary units share the second organization field, the organization is used as a lowest node and is provided with a third organization field, and the plate is provided with a fourth organization field.
The group: a clique contains all organizations and is the largest area within the whole system. Dividing organizations within a group
The unit: the organization is classified and recombined, and the organizations with a certain administrative superior-subordinate relation are virtually combined together to form a unit. For example, the railway construction sub-group under the Chinese building, together with its subordinate organization, we refer to the railway construction sub-group as a unit.
The organization is as follows: typically a corporate entity. For example, Chinese architecture is a large-scale group enterprise. There are many subgroups under the Chinese building, many subsidiaries under the subgroups, and many companies under the subsidiaries. The various companies underlying the chinese architecture are organizations, of which a subset is in fact also a form of company, also an organization.
The plate is as follows: the organizations with certain business similarity are combined together to form a plate. For example, the subsidiaries of the commercial concrete are needed under the railway sub-group and the highway sub-group, and the subsidiaries of the commercial concrete are collectively called as plates, and the plates do not have the superior-inferior relation.
After the relationships of cliques, units, organizations, and slabs are clarified, the underlying data can be shared in either an organizational mode or in a slab mode. When shared in organizational mode, the underlying data can only belong to an organization, unit, or group. And when the basic data is shared in the plate mode, the basic data can be shared to a plurality of plates. When the data is shared in the organization mode, the basic data sharing mode is a horizontal mode, the data is distributed from the group, and when the data reaches the next level unit, the data can be transversely shared in the subunit mode of the unit. When the basic data is shared in a plate mode, the basic data is shared in a longitudinal mode, the basic data can penetrate through a transverse unit system, and the basic data is shared throughout a plurality of units.
The embodiment further provides a data sharing and isolating method for an organization architecture of a large group, and the method for sharing and isolating data by using the organization architecture of the large group includes the following steps:
s1, acquiring basic data and a sharing mode corresponding to the basic data, wherein the sharing mode comprises an organization mode and a plate mode, and S2 is performed when the sharing mode corresponding to the basic data is the organization mode; when the sharing mode corresponding to the basic data is the plate mode, performing S3;
s2, sharing in a transverse mode, and sharing basic data according to an organization mode, a unit mode and a group; preferably, the S2 specifically includes the following steps:
and SA: sharing the organization mode: the basic data and the third organization field are bound and shared in the organization, and the basic data can only be visible and used in the organization; the sharing of the organization mode is private to the organization, and the private basic data of the organization can only be visible and usable in the organization after being created.
SB: sharing unit modes: the basic data is shared in the unit and bound with the second organization field, and the basic data can only be visible and used in the unit, the lower level unit of the unit and the internal organization of the unit;
when the upper unit shares the data to the lower unit, the editability and the deletability of the basic data of the lower unit are controlled by adding constraints, and whether the lower unit has the authority of performing newly-added operation on the basic data can be controlled.
The process of the lower unit acquiring the basic data of the upper unit is as follows: and binding a second organization field on each basic data, judging a unit corresponding to the second organization field, binding the unit with the basic data, and receiving data shared by the upper unit by the lower unit of the unit through the unit where the organization is located.
SC: sharing in a group mode: shared within the clique, the underlying data is bound to the first organizational field, where it can then be made visible and used by all units and organizations within the entire clique. The group mode sharing is global sharing, basic data are maintained in a group or the following units, the group sharing is selected as the basic data to be maintained, and then the basic data for newly adding and maintaining can be seen by the whole group.
And S3, performing sharing in a vertical mode, wherein the basic data penetrates through a horizontal unit system, and the multiple units are subjected to through sharing. Preferably, the S3 specifically includes the following steps:
and binding a fourth organization field on each piece of basic data, judging a plate corresponding to the fourth organization field, binding the plate with the basic data, and sharing the basic data by organizations on the same plate.
The key point of the invention is the weak association relationship and the clear and unique association relationship between the organization, the unit, the group, the plate and the basic data.
In the vertical per-cell sharing mode, data of an upper unit can be shared to a lower unit one level at one level. The unit data sharing strategy, the isolation strategy and the unit upper and lower level data control strategy are formed by the organization on the basic data, the unit where the organization is located and the upper and lower level relations of the unit.
In a horizontal board sharing mode, basic data created in the organization of the same board can be shared mutually, the upper and lower level relation in a unit sharing mode is broken through in the sharing mode, the data sharing is more flexible, and the data sharing isolation control of the unit makes up for the deficiency of each other.
All the above operations are to add a creation organization on the basic data table, create a unit and set the editability, deletability and additive of the basic data on each layer of unit tree according to the upper and lower level relation of the unit tree level. After setup, the respective operator can only perform the constrained operation on the respective unit.
The present invention is based on binding the underlying data to the units. Each basic data is provided with an organization field, the organization field corresponds to a certain unit, and the unit has a superior-subordinate relation. The lower unit can receive the data shared by the upper unit through the unit where the organization is located.
Similar to data sharing on units, organization fields on basic data belong to a certain plate, so organizations on the same plate can be shared with each other without concerning the superior and inferior relations of the corresponding organizations. The plate thus breaks the vertical boundary of the tissue. The basic data created on the unit can be shared with the unit and the lower units of the unit, and the basic data can be seen by the unit or the organizations of the lower units of the unit, including the organizations newly added in the later period. The tile sharing is the same as the unit sharing, except that the tiles have no context. The basic data can be seen and used by all organizations in the plate block, the shared data can not be enjoyed by adjacent plates and the organizations in the plates, and when the plates expand and increase the organizations, the newly increased organizations automatically inherit the shared characteristic of the basic data unless the basic data is shared by another plate in a shared mode.
The operator is unique in the whole system, the operator belongs to the organization, one operator can own a plurality of organizations, but the operator can only log in one organization when logging in. When the operator logs in the system, the organization to which the operator logs in is simultaneously established, and one organization only belongs to one unit, so that the operator can only correspond to the corresponding unit through the organization when logging in. Although the operator can switch to other units by switching organizations at login, only one login can log in to a unique organization and unit.
After the administrator has set the control and sharing mode for the unit. When an operator logs in a system to maintain basic data, the system can judge which unit the operator belongs to, and then according to the relationship between the basic data and the units, whether the basic data can be newly added, modified and deleted in a certain unit is determined by an administrator of a superior unit, a corresponding relationship is established between the type of the specific basic data and the units, the basic data can only be operated by which units and has a corresponding table, so that the operator selects which organization to log in when logging in, the organization uniquely determines which unit belongs to, the unit is preset by the administrator to operate the adding and modifying actions of which basic data, and finally, whether the operator can perform the adding, modifying and deleting operations on the basic data is deduced.
The invention has the following advantages:
A) the sharing mode is flexible: the sharing can be carried out according to an organization mode or a plate mode.
B) The data redundancy is less: especially, when sharing according to an organization mode is adopted, basic data is shared on a unit, all organizations in the unit and all organizations in a lower unit of the unit share the basic data, other inventions need to establish a corresponding relation between the basic data and the organizations, and one data needs redundant basic data or redundant organization when a plurality of organizations share the basic data.
The basic data is unique in a main key in a sharing and isolating range, for example, the basic data shared by a group is unique in the whole group, the basic data shared by a unit is unique in the main key in the unit, the basic data is unique in the whole unit, the internal organization does not need to be created, the basic data shared by a plate is unique in the main key in the plate, the basic data is unique in the whole plate, and the internal organization does not need to be created.
C) Low maintenance cost: other models require that large amounts of basic data be copied from the original place or re-entered when an organization is newly added. The invention does not need to concern the situation of newly-built organization. Because the basic data is shared down, when the next unit, or sub-unit, or group, or board is newly built, then these newly built organizations automatically integrate the basic data shared in the unit, and the root does not need to care about adding the basic data or copying the basic data independently.
D) Automatically inheriting the basic data of the newly-built organization: first, our basic data sharing logic is that the basic data is shared on a unit or a group, the unit contains many organizations, and a newly created organization is built on the unit, so it inherits the basic data of the unit, because the shared basic data is not related to a specific organization, and is only related to the unit or the group.
E) The operation is convenient: the flexible sharing and isolation mechanism not only solves the problem of data redundancy, but also solves the problem of simplicity of operation. The business personnel for creating the basic data only need to normally create the basic data and give the basic data a sharing range. The organization mapping relation of the basic data is not required to be maintained, and when an organization is added into a plate, a group and a unit, the organization automatically integrates the shared basic data of the plate, the group and the unit according to the sharing characteristic of the basic data, so that the maintenance work of the basic data is greatly simplified.
F) Uniqueness: the basic data after the technology is adopted does not need to generate a plurality of basic data codes in a plurality of organizations, and the codes of all the basic data with the same business meaning in the whole system are unique, because only one basic data needs to be generated, and all the codes are also only one. This makes it very convenient to pull and count data from the system. Especially when statistical data are needed to be obtained from a plurality of units or blocks, one basic data can be shared in a plurality of blocks or units, so that one basic data can be quoted in different blocks or units, and the documents quoted are the same basic data, so that the basic data can be used for inquiring and correlating business data to obtain a final report when the final statistical data are obtained.
- 上一篇:石墨接头机器人自动装卡簧、装栓机
- 下一篇:表数据的关联方法、装置、终端设备及介质