CN115080544B - Method and device for twinning and subscribing historical states of organization - Google Patents

Method and device for twinning and subscribing historical states of organization Download PDF

Info

Publication number
CN115080544B
CN115080544B CN202210767357.7A CN202210767357A CN115080544B CN 115080544 B CN115080544 B CN 115080544B CN 202210767357 A CN202210767357 A CN 202210767357A CN 115080544 B CN115080544 B CN 115080544B
Authority
CN
China
Prior art keywords
model
organization
sub
target
tissue
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.)
Active
Application number
CN202210767357.7A
Other languages
Chinese (zh)
Other versions
CN115080544A (en
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.)
Beijing Wellintech Co Ltd
Original Assignee
Beijing Wellintech 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 Beijing Wellintech Co Ltd filed Critical Beijing Wellintech Co Ltd
Priority to CN202210767357.7A priority Critical patent/CN115080544B/en
Publication of CN115080544A publication Critical patent/CN115080544A/en
Application granted granted Critical
Publication of CN115080544B publication Critical patent/CN115080544B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/21Design, administration or maintenance of databases
    • G06F16/211Schema design and management
    • G06F16/212Schema design and management with details for data modelling support
    • 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/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application provides a method and a device for twinning and subscribing historical states of organizations, which are used for achieving twinning of historical states of entity organizations through digital twinning technology. The method specifically comprises the following steps: respectively establishing a target organization model and at least one sub-organization model aiming at the target organization and at least one sub-organization belonging to the target organization; the target tissue model is used for describing the historical state of the target tissue, and the at least one sub-tissue model is used for describing the historical state of the at least one sub-tissue; the target tissue model and the at least one sub-tissue model each include a temporal attribute; setting the values of the time attributes in the target tissue model and the at least one sub-tissue model as historical time so as to indicate the time corresponding to the data in the target tissue model and the at least one sub-tissue model; a first association of the target tissue model with the at least one sub-tissue model is established, the first association being for associating the at least one sub-tissue model to the target tissue model.

Description

Method and device for twinning and subscribing historical states of organization
Technical Field
The application relates to the technical field of data processing, in particular to a method and a device for twinning and subscribing historical states of organizations.
Background
The organization refers to a group or a group formed by mutually cooperating and combining people to achieve a certain aim. In the industrial field, an organization may be a different company, a different department of the same company, a different team in a department, etc. Regardless of the size of the organization, the history state information needs to be grasped in order to perform the organization management. For such complex and huge information, it is difficult for a general processing method to effectively manage the information.
But this problem can be effectively solved by means of digital twinning techniques. The digital twin (DIGITAL TWIN, DT) is also called as "digital mapping" and "digital mirror image", and fully utilizes data such as a physical model, sensor update, operation history and the like, integrates simulation processes of multiple disciplines, multiple physical quantities, multiple scales and multiple probabilities, and completes mapping in a virtual space, thereby reflecting the full life cycle process of corresponding entity equipment. In short, digital twinning is the virtual "digital twins", "digital clones" of transactions in the real world in a virtual digital space. Digital twinning originates in the field of industrial manufacturing, and with industrial informatization, automation and rapid development of the internet of things, the digital twinning technology is continuously improved, and is considered as one of key technologies of everything interconnection.
Through digital twin technology, a digital model can be established for the actual organization so as to realize the control of the organization information. In the current digital twinning field, twinning schemes for tissue history states alone are very few.
Thus, there is a need for a method of twinning tissue history states to achieve digital twinning of tissue history states.
Disclosure of Invention
The application provides a method and a device for twinning and subscribing historical states of organizations, which are used for achieving twinning of historical states of entity organizations through digital twinning technology.
In a first aspect, the present application provides a method of twinning a historical state of tissue, the method comprising: respectively establishing a target organization model and at least one sub-organization model aiming at a target organization and at least one sub-organization belonging to the target organization; the target tissue model is used for describing the historical state of the target tissue, and the at least one sub-tissue model is used for describing the historical state of at least one sub-tissue; the target tissue model and the at least one sub-tissue model each include a temporal attribute; setting the values of the time attributes in the target tissue model and the at least one sub-tissue model as historical time, wherein the historical time is used for indicating the time corresponding to the data in the target tissue model and the at least one sub-tissue model; establishing a first association relationship between the target tissue model and the at least one sub-tissue model, wherein the first association relationship is used for associating the at least one sub-tissue model to the target tissue model.
In the scheme, each organization can be digitally twined according to the actual organization situation to obtain the corresponding organization model, so that the information of each organization is provided for a user through the creation of each organization model, and the digital management of the organization is realized. Meanwhile, the time corresponding to each historical data in the organization model is recorded through the time attribute, so that the information stored in the organization model is more accurate and comprehensive. And moreover, the association relationship between the organization models can be created according to the hierarchical relationship between the organizations in reality, so that the information of the relationship between the organizations in reality is provided for the user through the association relationship between the organization models, and the efficiency of the user on organization management is improved.
Optionally, the historical time is at least one time before the current time or at least one duration time period before the current time.
In the method, the user can acquire the time corresponding to each historical data through the time attribute in the organization model, so that the historical state of the organization corresponding to the organization model and the corresponding information of the organization are acquired more clearly, and the management of the organization information is enhanced.
Optionally, the first association is used to indicate that the target tissue model and the at least one sub-tissue model are parent-child relationships.
In the mode, through the first association relation, the association between the models is enhanced, and the model management efficiency is improved.
Optionally, the establishing a first association between the target tissue model and the at least one sub-tissue model includes: identifying the target organization model as a parent model and the at least one child organization model as a child model belonging to the parent model.
Optionally, the target tissue model and the at least one sub-tissue model further comprise spatial properties for describing one or more of the following information of the target tissue model and the at least one sub-tissue model: coordinate system information, spatial location information, geometry information, spatial range information.
In the method, the spatial attribute is added in the tissue model, so that the tissue information contained in the tissue model is more complete. Meanwhile, the association relation among the organization models is associated based on the spatial attributes, so that the association among the organization models is tighter, and the quick search and other management of the organization models can be realized.
Optionally, a spatial coordinate system is established in the target tissue model, and the origin of the spatial coordinate system and the position of the target tissue model are kept relatively fixed; determining position information of the at least one sub-tissue by taking the space coordinate system as a reference coordinate system of the at least one sub-tissue; assigning a value to the spatial attribute of the at least one sub-organization model according to the position information of the at least one sub-organization.
In the mode, the spatial attribute of the sub-organization model can be determined according to the sub-organization and the spatial coordinate system of the target organization associated with the sub-organization, so that the association relationship between the target organization and at least one sub-organization associated with the target organization is enhanced, and the management efficiency of the organization information is improved.
Optionally, the target organization model and the at least one sub-organization model further include a post attribute, where the post attribute is used to describe a post role in an organization corresponding to the target organization model and the at least one sub-organization model.
In the mode, by adding the post attribute, the information contained in the organization model is perfected, and the effectiveness of organization management is improved.
Optionally, the target tissue model and the at least one sub-tissue model further comprise a model identification for uniquely identifying the target tissue model and the at least one sub-tissue model.
Optionally, generating, by the target organization model and at least one child organization model, a parent object record of the target organization and at least one child object record of at least one child organization at least one time instant before the current time instant or at least one duration time period before the current time instant; the parent object record is used for describing attribute states of the target organization in at least one time before the current time or at least one duration period before the current time; the at least one sub-object record is used to describe a state of an attribute of the at least one sub-organization at least one time instant prior to the current time instant or at least one duration time period prior to the current time instant.
In the method, the corresponding object record is generated through the model, so that the user can obtain the same and standard historical state information about the entity, the use experience of the user is improved, and the complexity of obtaining the information is reduced.
Optionally, establishing a second association relationship between the parent object record and the at least one child object record; wherein each child object record of the at least one child object record has a unique parent object record, the parent object record and the at least one child object record each include a time range, and the time range of the child object record is within the time range of the parent object record.
In the method, the generated father object record and the son object record are connected, so that the association relation between organizations can be implemented, the association relation between the organizations and the information is enhanced, and the efficiency of organizing information management is improved.
Optionally, the target organization model and the at least one sub-organization model further include member attributes, where the member attributes are used to describe user-defined data.
In the method, the user can store the differentiated information of each organization in the organization model corresponding to the organization through the member attribute, so that modification of all organization models due to the specific information of the independent organization is avoided, and the suitability and the practicability of the method are improved.
In a second aspect, the present application provides a method for subscribing to a historical state of an organization, the method specifically comprising: respectively establishing a target organization model and at least one sub-organization model aiming at a target organization and at least one sub-organization belonging to the target organization; the target tissue model is used for describing the historical state of the target tissue, and the at least one sub-tissue model is used for describing the historical state of the at least one sub-tissue model; the target tissue model and the at least one sub-tissue model each include a temporal attribute; setting the values of the time attributes in the target tissue model and the at least one sub-tissue model as historical time, wherein the historical time is used for indicating the time corresponding to the data in the target tissue model and the at least one sub-tissue model; establishing a first association relationship between the target tissue model and the at least one sub-tissue model, wherein the first association relationship is used for associating the at least one sub-tissue model to the target tissue model; receiving a first request from a terminal device, wherein the first request is used for requesting to subscribe to the historical state of the target organization; in response to the first request, performing a subscription operation on the target organization model; and executing the subscription operation on the at least one sub-organization model according to the first association relation between the at least one sub-organization model and the target organization model.
In this solution, based on the first association relationship existing between the models, after subscribing to the target organization model, the same subscription operation may be performed on at least one sub-organization model associated to according to the association relationship in the target organization model. Therefore, the user can subscribe to the organization model associated with the target organization model at the same time by only sending out an instruction of subscribing to the target organization model, and the change information of the models can be obtained in time. The method can obtain more comprehensive information by simple operation, and improves the intelligent degree of subscription operation.
Optionally, the first request carries a subscription item, and the method further includes: generating subscription information matched with the subscription item when the target organization model and/or the at least one sub-organization model changes; and sending the subscription information to the terminal equipment.
In the method, the server sends the corresponding subscription information to the terminal equipment according to the subscription item carried in the first request, so that the subscription requirement of a user can be met, tracking of other model information is avoided, and fine management of entity information is realized.
Optionally, the subscription item includes: spatial properties, and/or member properties.
Optionally, the variation includes: and the sub-model change is used for representing the change of the quantity of the at least one sub-tissue model corresponding to the target tissue model.
In a third aspect, the present application provides an apparatus for twinning a historical state of tissue, the apparatus comprising: the creation module is used for respectively establishing a target organization model and at least one sub-organization model aiming at a target organization and at least one sub-organization affiliated to the target organization; the target tissue model is used for describing the historical state of the target tissue, and the at least one sub-tissue model is used for describing the historical state of at least one sub-tissue; the target tissue model and the at least one sub-tissue model each include a temporal attribute; the processing module is used for setting the values of the time attributes in the target tissue model and the at least one sub-tissue model as historical time, wherein the historical time is used for indicating the time corresponding to the data in the target tissue model and the at least one sub-tissue model; establishing a first association relationship between the target tissue model and the at least one sub-tissue model, wherein the first association relationship is used for associating the at least one sub-tissue model to the target tissue model.
Optionally, the historical time is at least one time before the current time or at least one duration time period before the current time.
Optionally, the first association is used to indicate that the target tissue model and the at least one sub-tissue model are parent-child relationships.
Optionally, the processing module is configured to, when establishing the first association between the target tissue model and the at least one sub-tissue model, specifically: identifying the target organization model as a parent model and the at least one child organization model as a child model belonging to the parent model.
Optionally, the target tissue model and the at least one sub-tissue model further comprise spatial properties for describing one or more of the following information of the target tissue model and the at least one sub-tissue model: coordinate system information, spatial location information, geometry information, spatial range information.
Optionally, the device is further configured to: the creation module is further used for creating a space coordinate system in the target tissue model, and the origin of the space coordinate system and the position of the target tissue model are kept relatively fixed; the processing module is further configured to determine location information of the at least one sub-tissue with the spatial coordinate system as a reference coordinate system of the at least one sub-tissue; assigning a value to the spatial attribute of the at least one sub-organization model according to the position information of the at least one sub-organization.
Optionally, the target organization model and the at least one sub-organization model further include a post attribute, where the post attribute is used to describe a post role in an organization corresponding to the target organization model and the at least one sub-organization model.
Optionally, the target tissue model and the at least one sub-tissue model further comprise a model identification for uniquely identifying the target tissue model and the at least one sub-tissue model.
Optionally, the processing module is further configured to: generating, by the target organization model and at least one sub-organization model, a parent object record of the target organization and at least one sub-object record of at least one sub-organization at least one time instant before the current time instant or at least one duration time period before the current time instant; the parent object record is used for describing attribute states of the target organization in at least one time before the current time or at least one duration period before the current time; the at least one sub-object record is used to describe a state of an attribute of the at least one sub-organization at least one time instant prior to the current time instant or at least one duration time period prior to the current time instant.
Optionally, the processing module is further configured to: establishing a second association relationship between the parent object record and the at least one child object record; wherein each child object record of the at least one child object record has a unique parent object record, the parent object record and the at least one child object record each include a time range, and the time range of the child object record is within the time range of the parent object record.
Optionally, the target organization model and the at least one sub-organization model further include member attributes, where the member attributes are used to describe user-defined data.
In a fourth aspect, the present application provides an apparatus for subscribing to a historical state of an organization, the apparatus comprising: the creation module is used for respectively establishing a target organization model and at least one sub-organization model aiming at a target organization and at least one sub-organization affiliated to the target organization; the target tissue model is used for describing the historical state of the target tissue, and the at least one sub-tissue model is used for describing the historical state of at least one sub-tissue; the target tissue model and the at least one sub-tissue model each include a temporal attribute; the processing module is used for setting the values of the time attributes in the target tissue model and the at least one sub-tissue model as historical time, wherein the historical time is used for indicating the time corresponding to the data in the target tissue model and the at least one sub-tissue model; establishing a first association relationship between the target tissue model and the at least one sub-tissue model, wherein the first association relationship is used for associating the at least one sub-tissue model to the target tissue model; a receiving module, configured to receive a first request from a terminal device, where the first request is used to request to subscribe to a history state of the target organization; the response module is used for responding to the first request and executing subscription operation on the target organization model; and executing the subscription operation on the at least one sub-organization model according to the first association relation between the at least one sub-organization model and the target organization model.
Optionally, the first request carries a subscription item, and the apparatus further includes: the sending module is used for generating subscription information matched with the subscription item when the target organization model and/or the at least one sub-organization model are changed; and sending the subscription information to the terminal equipment.
Optionally, the subscription item includes: spatial properties, and/or member properties.
Optionally, the variation includes: and the sub-model change is used for representing the change of the quantity of the at least one sub-tissue model corresponding to the target tissue model.
In a fifth aspect, there is provided an electronic device comprising: 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, by executing the instructions stored by the memory, causing the apparatus to perform the method of the first aspect or any of the alternative embodiments of the first aspect.
In a sixth aspect, a computer readable storage medium is provided for storing instructions that, when executed, cause a method as in the first aspect or any of the alternative embodiments of the first aspect to be implemented.
The technical effects or advantages of one or more technical solutions provided in the third, fourth, fifth, and sixth aspects of the embodiments of the present application may be correspondingly explained by the technical effects or advantages of the corresponding one or more technical solutions provided in the first aspect and the second aspect.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments will be briefly described below, it will be apparent that the drawings in the following description are only some embodiments of the present invention, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a possible organization structure according to an embodiment of the present application;
FIG. 2 is a flow chart of a method for twinning a historical state of a tissue according to an embodiment of the present application;
FIG. 3 is a method for assigning spatial attributes to sub-organizational models according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a relationship between tissue models according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a member structure according to an embodiment of the present application;
FIG. 6 is a flowchart of a method for subscribing to an organization history state according to an embodiment of the present application;
FIG. 7 is a flowchart of a method for querying an organization history state according to an embodiment of the present application;
FIG. 8 is a flowchart of a method for deleting a tissue history state according to an embodiment of the present application;
FIG. 9 is a diagram of an apparatus for providing historical status of a twin tissue according to an embodiment of the present application;
FIG. 10 is a diagram illustrating an apparatus for subscribing to historical states of an organization according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following detailed description of the technical solutions of the present application will be given by way of the accompanying drawings and specific embodiments, and it should be understood that the specific features of the embodiments and embodiments of the present application are detailed descriptions of the technical solutions of the present application, and not limiting the technical solutions of the present application, and that the embodiments and technical features of the embodiments of the present application may be combined with each other without conflict.
It should be appreciated that in the description of embodiments of the application, the words "first," "second," and the like are used merely for distinguishing between the descriptions and not for indicating or implying any relative importance or order. In the description of the embodiments of the present application, "plurality" means two or more.
The term "and/or" in the embodiment of the present application is merely an association relationship describing the association object, and indicates that three relationships may exist, for example, a and/or B may indicate: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
The "organization" in the embodiments of the present application includes two meanings: organization of entity properties and organization of abstract logic concepts. The organization of physical properties corresponds to the physical organization in the real world, such as "factory-shop-line", etc., each organization having a physical spatial extent; the organization of abstract logical concepts does not necessarily correspond one-to-one to the organization of entities in the real world, and more tends to logically and conceptually "organizational structures", such as "company-division-department", focusing on attribution relationships, may not have a spatial scope, and may have a logical spatial scope. In the embodiment of the present application, the kind of the tissue is not particularly limited.
The historical states of the organizations can be identified by the spatial information corresponding to past moments of each organization and other attributes of the organization. And (3) twining the information to generate a unified data structure, namely organizing historical data corresponding to each organization.
It should be noted that the embodiment of the present application is applicable to application scenarios of twinning various types of organizations, including factory workshops, company departments, project groups, and the like. Referring to fig. 1, a schematic diagram of a possible organization structure is provided in an embodiment of the present application. The organizational framework shown in FIG. 1 is divided into three stages, respectively: first-order: a head office; and (2) second-stage: company a, company b; three stages: department 1, department 2, department 3, department 4, department 5, department 6. Wherein the organizations in the hierarchy manage the respective organizations subordinate thereto in turn. It should be understood that the organization structure shown in fig. 1 is only one possible organization structure provided by the embodiments of the present application, and in real life, there may be a greater or lesser number of hierarchical structures, and in each organization structure, there may be a greater or lesser number of organizations, which is not a limitation of the present application.
Referring to fig. 2, a flowchart of a method for twinning a historical state of a tissue is provided according to an embodiment of the present application. The execution main body of the method can be various devices with a computing function, such as a notebook computer, a desktop computer, a server and the like, and can also be various mobile terminal devices, such as a mobile phone, a platform, other terminal devices capable of realizing the computing function and the like. It should be understood that the above-described apparatus are merely illustrative and that the present application is not limited thereto. The method comprises the following specific steps:
Step S201: and respectively establishing a target organization model and at least one sub-organization model aiming at the target organization and at least one sub-organization affiliated to the target organization.
Wherein, the target organization may be a company, a department, a factory, a workshop, etc., and the at least one sub-organization may be a sub-company, a sub-department, a workshop, a pipeline, etc. of the target organization corresponding to the subordinate, the application is not limited. For ease of explanation, the method will be described below taking the target organization as company a in fig. 1, and at least one organization as division 1,2, 3 of company a management in fig. 1 as an example.
The target tissue model corresponds to the target tissue and is used for describing the historical state of the target tissue; the at least one sub-tissue model corresponds to the at least one sub-tissue model for describing a historical state of the at least one sub-tissue model. The various tissue models each include a time attribute for describing a time corresponding to the data in the tissue model.
It should be noted that the existing forms of each of the created organization models may include different kinds. For example, the data may be stored in the form of a data table, may be stored in the form of an image, or may be stored in other possible data storage forms, and the present application is not limited thereto.
Step S202: the values of the temporal attributes in the target tissue model and the at least one sub-tissue model are set as historical times indicating times corresponding to the data in the target tissue and the at least one sub-tissue model.
Optionally, the time attribute in each type of tissue model is a time corresponding to the historical data used for describing the tissue model. For example, for company a, the first piece of history data may be data representing that company a is established, and the time corresponding to the data is the establishment time of company a (for example, 1 month and 1 day in 2020). For example, since one of the pieces of history data of the company a is used to indicate the replacement of the person at the position of the manager of the company, the time corresponding to the one piece of history data is the day (for example, 2021, 1 month, 1 day) when the manager's personal selection is changed.
Therefore, the user can acquire the time corresponding to each historical data through the time attributes in the tissue models, so that the historical state of the tissue corresponding to the tissue model and the information corresponding to the historical state are acquired more clearly, and the management of the tissue information is enhanced.
Alternatively, the historical time may be at least one time before the current time or at least one duration time period before the current time.
For example, the history time corresponding to the history data established by the record company may be recorded as a certain time of 1 month and 1 day in 2020, or may be recorded as the whole duration of 1 month and 1 day. The specific historical data can be selected according to the actual requirement, and the application is not limited.
Optionally, various organization models may also include data time attributes that describe when historical data in the organization model was recorded or modified.
Illustratively, the first piece of historical data of company a is also described as an example. Although the time attribute corresponding to the piece of history data of company a indicates that the company is established in 1 st 2020, because the creation of the organization model occurs in 1 st 2022, the value of the data time attribute corresponding to the piece of history data is 2022, 1 st. In addition, for some historical data, there may be error revision, for example, when some error survey is performed, it is found that there is an error in a value in one piece of historical data, and the value of the data time attribute corresponding to the piece of historical data is updated in time at this time, so as to represent the latest revision time of the piece of historical data.
In the method, the historical data can be displayed to the user more accurately through the data time attribute, and the updating condition of the historical data can be displayed, so that the user can manage the organization information more finely.
Step S203: a first association of the target tissue model with the at least one sub-tissue model is established, the first association being for associating the at least one sub-tissue model to the target tissue model.
For example, based on the association relation between the target organization and at least one sub-organization in reality, a first association relation between the target organization model and at least one sub-organization model is established, where the first association relation is used to associate the at least one sub-organization model to the target organization model.
Taking company first as an example in fig. 1, the company first manages three subordinate organizations, namely a division 1, a division 2 and a division 3, so after a target organization model corresponding to the company first, a sub-organization model 1 corresponding to the division 1, a sub-organization model 2 corresponding to the division 2 and a sub-organization model 3 corresponding to the division 3 are created, a first association relationship between the models can be created according to a top-bottom relationship in reality of the company first and the divisions 1, 2 and 3, and the first association relationship can be used for associating the sub-organization models 1, 2 and 3 to the target organization model.
Optionally, the first association may be used to indicate that the target organization model and at least one sub-organization model are parent-child relationships (or membership, etc.). The target organization model is identified as a father model, at least one child organization model is identified as a child model, the father-son relationship is used for indicating that the child model is subordinate to the father model, and the child organization is subordinate to the target organization when the father-son relationship corresponds to reality.
In the scheme, each organization can be digitally twined according to the actual organization situation to obtain the corresponding organization model, so that the information of each organization is provided for a user through the creation of each organization model, and the digital management of the organization is realized. Meanwhile, the time corresponding to each historical data in the organization model is recorded through the time attribute, so that the information stored in the organization model is more accurate and comprehensive. And moreover, the association relationship between the organization models can be created according to the hierarchical relationship between the organizations in reality, so that the information of the relationship between the organizations in reality is provided for the user through the association relationship between the organization models, and the efficiency of the user on organization management is improved.
Optionally, a post attribute may be further included in the target organization model and the at least one sub-organization model, where the post attribute is used to describe a post role in an organization of the target organization model corresponding to the at least one sub-organization model. For example, company A includes the post roles: company manager, department manager, accounting, etc., and thus, the post attributes in the target organization model include post roles of company manager, department manager, accounting, etc.
It should be understood that the post attributes in the target organization model and the at least one sub-organization model may be the same or different, and the specific values thereof are determined by specific post conditions in the real organization corresponding to the organization model. For example, the post attributes of the organization model corresponding to the head office may include a board length, a board, etc., while the post attributes of the organization model corresponding to each head office may not include the two post roles. For another example, all the post attributes of the organization model corresponding to each branch company include post roles such as accounting and administration.
Optionally, the above various tissue models further include a spatial attribute, where the spatial attribute is used to describe one or more of the following information in the various tissue models: coordinate system information, spatial location information, geometry information, spatial range information.
The coordinate system information is used for indicating information of a specific selected reference coordinate system of the tissue model, the spatial position information is used for indicating position information of a tissue corresponding to the tissue model, the geometric shape information is used for indicating information of a shape of a solid tissue corresponding to the tissue model, and the spatial range information is used for indicating information of an area or volume occupied by the tissue corresponding to the tissue model.
In the method, the spatial attribute is added in the tissue model, so that the tissue information contained in the tissue model is more complete. Meanwhile, the association relation among the organization models is associated based on the spatial attributes, so that the association among the organization models is tighter, and the quick search and other management of the organization models can be realized.
Optionally, the first association between the tissue models further includes a geometric relationship between tissue geometries at a past time, and a spatial relationship between spatial locations based on the information included in the spatial attributes.
The geometric relationship between the tissue geometric shapes is used for indicating the relationship of intersection, separation, contact and the like existing between the solid tissues, and can also indicate the data such as the distance between the tissues.
The spatial relationship between the spatial locations of the tissue is used to indicate that the corresponding tissue of the tissue model is spatially interrelated, for example: including, separated, contacted, etc., are also used to indicate that there is a certain spatial distance between the corresponding tissues of the tissue model.
By the mode, the spatial attribute is added in the tissue model, so that the tissue information contained in the tissue model is more complete. Meanwhile, the association relationship among the organization models also comprises a geometric relationship and a spatial relationship, so that the association among the organization models is tighter, and the quick search and other management of the organization models can be realized.
Alternatively, the spatial attribute values in the respective tissue models may be achieved in the following manner. Referring to fig. 3, a method for assigning a spatial attribute to a sub-organization model according to an embodiment of the present application is provided:
step S301: a spatial coordinate system is established in the target tissue model, the origin of which is kept relatively fixed to the position of the target tissue model.
The relative fixation of the origin of the spatial coordinate system established in the target tissue model and the position of the target tissue model means that the position of a fixed point is selected in the spatial range covered by the target tissue corresponding to the target tissue model, so that the distance between the position of the fixed point and the origin of the spatial coordinate system is kept fixed with the relative position relation, the position coordinate of the target tissue model is kept unchanged, and a subsequent user can determine the spatial position of a sub-tissue subordinate to the target tissue by taking the spatial position of the target tissue as a reference. For example, the simplest creation method uses the position of a fixed point in the target tissue as the position of the origin of the space coordinate system, so that the space position of the target tissue can be simply represented, and the space position of at least one sub-tissue subordinate to the target tissue can be more intuitively reflected.
Step S302: and determining the position information of at least one sub-tissue by taking the space coordinate system as a reference coordinate system of the at least one sub-tissue.
In the step, at least one sub-tissue takes a space coordinate system of the target tissue as a reference coordinate system, and the position information of the sub-tissue is determined, so that the space position relation between the sub-tissue and the target tissue can be effectively and intuitively displayed. For example, referring to fig. 4, a schematic diagram of a relationship between tissue models is provided in an embodiment of the present application. A point in one corner of a spatial range covered by the tissue model 1 is used as an origin of a spatial coordinate system, the spatial coordinate system is established, and the spatial position information of the tissue models 2 and 3 in the coverage of the tissue model 1 is determined according to the spatial coordinate system.
Step S303: and assigning a value to the spatial attribute of at least one sub-organization model according to the position information of the at least one sub-organization.
Taking the spatial relationship between the tissue model 1 and the tissue model 2 in fig. 4 as an example, according to the position information of the tissue model 2, a value can be assigned to the spatial attribute in the tissue model corresponding to the tissue model 2. For example, the coordinate system information of the spatial attribute of the tissue model 2 may be: the spatial coordinate system of the tissue model 1, the spatial position information may be: the coordinates of the center point of the tissue model 2 in the spatial coordinate system, and the spatial range information may be: the edge lines of the tissue model 2 are represented in coordinates of a spatial coordinate system. In this way, the spatial attribute of the corresponding model can be assigned according to the position information of the organization in the spatial coordinate system.
By the method, the spatial attribute of the sub-organization model can be determined according to the sub-organization and the spatial coordinate system of the target organization associated with the sub-organization, so that the association relationship between the target organization and at least one sub-organization associated with the target organization is enhanced, and the management efficiency of the organization information is improved.
Optionally, each of the created tissue models further includes a model identifier, where the model identifier is used to uniquely identify the corresponding tissue model.
The model identification may be, for example, a sequence of numbers having a fixed length. For example, each organization model may be uniquely identified by a 6-bit digital identification number (Identity document, ID), the unique identification of the target organization model corresponding to company a may be written 000010, the unique identification of the sub-organization model 1 corresponding to department 1 may be written 000110, the unique identification of the sub-organization model 2 corresponding to department 2 may be written 000210, and the unique identification of the sub-organization model 3 corresponding to department 3 may be written 000310; thus, each tissue model may have its unique corresponding model identification.
Optionally, when the target tissue or the historical state of at least one sub-tissue is twinned, the object record corresponding to each tissue model in at least one moment or at least one duration period before the current moment can be generated through the target tissue model or at least one sub-tissue model corresponding to the target tissue or at least one sub-tissue.
Wherein object records generated by the target tissue model may be marked as parent object records for describing the state of the property of the target tissue at least one time instant or at least one duration period before the current time instant. The object record generated by the at least one sub-organization model may be referred to as a sub-object record for describing the status of the property of the at least one sub-organization at least one time instant or at least one duration period prior to the current time instant.
Illustratively, by completing the history state contained in the established target organization model, a parent object record describing the history state is generated, where the record contains values of the respective attributes in the history state corresponding to the target organization model. For example, according to the historical state of establishment of the company first corresponding to the target organization model, a father object record is generated, and the father object record includes establishment time of the company first, a spatial position where the company first is located, post personnel included when the company first is established, and the like.
In the method, the corresponding object record is generated through the model, so that the user can obtain the same and standard historical state information about the entity, the use experience of the user is improved, and the complexity of obtaining the information is reduced.
Optionally, for the generated parent object record and at least one child object record, the following processing manner may also be performed: and establishing a second association relationship between the parent object record and at least one child object record, wherein the second association relationship is used for indicating that an organization model corresponding to the parent object record and at least one organization model corresponding to the at least one child object record have a first association relationship.
Each child object record in the at least one child object record has a unique parent object record, and the record includes an attribute of a time range, which is used for indicating a time range for which an attribute state corresponding to each record lasts. And, the time range of each of the at least one child object record is within the time range of the parent object record.
In the method, the generated father object record and the son object record are connected, so that the association relation between organizations can be implemented, the association relation between the organizations and the information is enhanced, and the efficiency of organizing information management is improved.
Optionally, each of the created organization models further includes a member attribute, where the member attribute is used to describe user-defined data.
In particular, the member attributes of the organizational model may include a number of members. The member refers to a data structure, and information of differentiated attributes of all organizations can be stored through the data structure and stored in an organization model corresponding to the organization.
Exemplary, referring to fig. 5, a schematic diagram of a member structure according to an embodiment of the present application is provided. In fig. 5, the members include various member information such as member ID, member name, member data type, and member value. Through such structured data information, users can add their corresponding member information to different organizational models. For example, in the target organization model corresponding to company a, member information describing the number of persons in the company may be added, or member information describing the partner of the company may be added. According to the member structure shown in fig. 5, member information for describing the number of persons of a company and member information for describing partners of the company can be represented as data shown in table 1.
TABLE 1
Member ID 0001 0002
Member name The number of companies Company partner
Member data type INT Character string
Member value 200 Zhang San (Zhang San)
In the method, the user can store the differentiated information of each organization in the organization model corresponding to the organization through the member attribute, so that modification of all organization models due to the specific information of the independent organization is avoided, and the suitability and the practicability of the method are improved.
The above describes a solution for achieving a twin tissue history state by building a tissue model, and several possible applications of the built tissue model are described below.
Application 1, subscription organization history state
Referring to fig. 6, a flowchart of a method for subscribing to an organization history state is provided in an embodiment of the present application. The method is performed by a computer, server, or the like, communicatively coupled to the terminal device. For convenience of explanation, specific implementation steps of the method will be described below by taking a terminal device and a server as examples.
Step S601: the server receives a first request from the terminal device requesting a historical status of the subscription target organization.
The first request may carry information for determining the target organization model, and the information may specifically be: model identification of the target tissue model; or values of one or more attributes in the target tissue model; or a model identification of the target tissue model and a value of one or more attributes in the target tissue model.
For example, when the terminal device needs to subscribe to the target organization model, a first request may be sent to the server, where the first request carries a model identifier (000010) of the target organization model, and after the server receives the first request, the subscription operation on the target organization model may be completed according to the model identifier.
In this way, the server can determine the target organization model from the several organization models through the information carried in the first request. The organization models are stored in the databases corresponding to the servers, and after the organization models are established, the organization models are stored in the databases corresponding to the servers, so that the reliability of subsequent information inquiry is ensured.
Step S602: the server performs a subscription operation on the target organization model in response to the first request.
For example, the subscription operation may be to store the identification information of the subscribed organization model in a corresponding subscription data table, where the identification information of all subscribed organization models is recorded.
Still taking the target organization model as an example, after receiving a first request for subscribing to the target organization model, the server responds to the first request and stores the model identification of the target organization model into a subscription data table so as to realize subscription to the target organization model.
Step S603: the method comprises the steps that a server determines at least one sub-organization model from a plurality of organization models, wherein the at least one sub-organization model and a target organization model have a first association relation; a subscription operation is performed on at least one sub-organizational model.
The server obtains, after determining the target tissue model, related information of a first association relationship between the target tissue model and at least one sub-tissue model from the target tissue model, determines the at least one sub-tissue model from a plurality of tissue models according to the information of the first association relationship, that is, the sub-tissue model 1, the sub-tissue model 2 and the sub-tissue model 3, and subscribes to the three tissue models. Similarly, when the first request received by the server is for subscribing to the sub-organization model 1, the server may determine the target organization model according to the first association relationship in the sub-organization model 1, and then subscribe to the target organization model according to the first association relationship. In other words, the server may determine and subscribe to the child model from the parent model according to the association relationship, or may determine and subscribe to the parent model from the child model according to the association relationship.
Step S604: and when the target tissue model and/or at least one sub-tissue model are changed, sending the change condition to the terminal equipment.
After the subscription of the target organization model and at least one sub-organization model is completed, the server detects the data conditions of the models, and once the data of the target organization model and/or the at least one sub-organization model are transformed or the sub-model is changed, the server immediately sends the change conditions to the terminal equipment. The sub-model change is used for indicating that the number of sub-organization models with a first association relationship with the target organization model changes, taking the case that the target organization model is company A as an example, when the departments under the company A are combined, split or abolish, the number of departments managed by the company A changes, at this time, the number of sub-organization models with the first association relationship with the target organization model also changes, and at this time, the sub-model change occurs.
In this solution, based on the first association relationship existing between the models, after subscribing to the target organization model, the same subscription operation may be performed on at least one sub-organization model associated to according to the association relationship in the target organization model. Therefore, the user can subscribe to the organization model associated with the target organization model at the same time by only sending out an instruction of subscribing to the target organization model, and the change information of the models can be obtained in time. The method can obtain more comprehensive information by simple operation, and improves the intelligent degree of subscription operation.
Optionally, when the server sends the change situation to the terminal device, the server may select the following manner to send:
When the target organization model and/or at least one sub-organization model changes, generating subscription information matched with a subscription item, wherein the subscription item is carried in a first request; and sending the subscription information to the terminal equipment.
The subscription item carried in the first request may be names of various attributes contained in the organization model, for example, a time attribute, a space attribute, a post attribute, or the like; it may also be part of the information in the organization model that the user needs to pay attention to, for example, the name of the member in the member attribute.
In this way, when the data in the organization model changes, the server may correspondingly generate subscription information according to the subscription item included in the first request, for example, the subscription item included in the first request includes only spatial attributes, and when the spatial attributes of the target organization model and/or the at least one sub-organization model change, the subscription information generated by the server may be subscription information only used to indicate the change of the spatial attributes of the target organization model and/or the at least one sub-organization model.
In the method, the server sends corresponding subscription information to the terminal equipment according to the subscription item carried in the first request, so that the subscription requirement of a user can be met, tracking of other model information is avoided, and fine management of organization information is realized.
Application 2, querying the historical state of an organization
Referring to fig. 7, a flowchart of a method for querying an organization history state is provided in an embodiment of the present application. The method comprises the following specific steps:
s701: the server receives a second request from the terminal device for querying the target organization model.
Similar to application 1, the second request may carry information for determining the target organization model, and the information may specifically be: model identification of the target tissue model; or values of one or more attributes in the target tissue model; or a model identification of the target tissue model and a value of one or more attributes in the target tissue model.
Step S702: the server determines a target organizational model from among the plurality of organizational models in response to the second request.
Step S703: and the server determines at least one sub-tissue model from the plurality of tissue models according to the information about the first association relationship in the target tissue model, wherein the tissue corresponding to the at least one sub-tissue model and the tissue corresponding to the target tissue model have the first association relationship.
Step S704: the server outputs information of the target organization model and at least one sub-organization model to the terminal device.
In this way, the server can determine the child model from the parent model according to the first association relationship between the target organization model and at least one child organization model, and simultaneously transmit the child model to the terminal device so as to complete the response to the second request.
In the mode, the method is used for acquiring the information of a plurality of organization models related to the organization model only by inputting the query information of one organization model, so that the query operation of a user is simplified, and the use experience of the user is improved.
Optionally, the second request may further carry a query term, so as to instruct the server to perform feedback according to the corresponding query term.
The query term may be a spatial attribute and/or a member attribute in the organization model, and the server determines information of the spatial attribute and/or the member attribute from the determined target organization model when receiving the second request including the query term, and generates corresponding query information to be sent to the terminal device.
In the mode, information in the organization model can be sent in a targeted mode through the limitation of the query term, so that the refinement degree of the organization model management is improved.
Application 3, deletion of historical state of organization
Referring to fig. 8, a flowchart of a method for deleting a tissue history state is provided in an embodiment of the present application. The method comprises the following specific steps:
S801: the server receives a third request from the terminal device for deleting the target organization model.
S802: in response to the third request, the server determines a target tissue model from the plurality of tissue models, and determines at least one sub-tissue model having a first association with the target tissue model according to information about the first association in the target tissue model.
S803: the target tissue model and the at least one sub-tissue model are deleted.
In the mode, through the first association relation between the target tissue model and the at least one sub-tissue model, after receiving the instruction for deleting the target tissue model, the at least one sub-tissue model with the first association relation with the target tissue model is deleted at the same time, so that the user operation is simplified, and the use experience for the user is improved.
The subscription, query and deletion operations performed based on the first association relationship between the target organization model and at least one sub-organization model are described above, but in actual use, the subscription, query and deletion operations of the organization models can be performed not only according to the first association relationship, but also according to the spatial relationship or the geometric relationship between the organization models or the designated post roles.
Taking the spatial attribute as an example, as shown in fig. 4, there are a tissue model 1, a tissue model 2, and a tissue model 3, wherein the spatial range of the tissue model 2, 3 is included in the tissue model 1, and at this time, the tissue model 1 has a spatial relationship between the inclusion and the inclusion of the tissue model 2, 3. Thus, when subscription, query, and deletion operations are performed, the server can determine the organization model 2 and the organization model 3 according to the spatial relationship of the organization model 1, and perform corresponding operations on the organization model 2 and the organization model 3.
Based on the same inventive concept, the embodiment of the application also provides a device for twinning the historical state of the tissue.
Referring to fig. 9, an apparatus for twinning historical states of an organization is provided for an embodiment of the present application, where the apparatus may be the server or a chip or an integrated circuit in the device, and the apparatus includes a module/unit/technical means for executing the method executed by the server in the method embodiment described above.
Illustratively, the apparatus 900 includes:
The creation module 901 is configured to respectively create a target organization model and at least one sub-organization model for a target organization and at least one sub-organization affiliated to the target organization; the target tissue model is used for describing the historical state of the target tissue, and the at least one sub-tissue model is used for describing the historical state of at least one sub-tissue; the target tissue model and the at least one sub-tissue model each include temporal attributes.
A processing module 902, configured to set a value of a time attribute in the target tissue model and the at least one sub-tissue model as a historical time, where the historical time is used to indicate a time corresponding to data in the target tissue model and the at least one sub-tissue model; and establishing an association relation between the target tissue model and the at least one sub-tissue model, wherein the association relation is used for associating the at least one sub-tissue model to the target tissue model.
As an embodiment, the apparatus discussed in fig. 9 may be used to perform the method described in the embodiment shown in fig. 2, and thus, the description of the functions that can be implemented by the functional modules of the apparatus and the like may refer to the embodiment shown in fig. 2, which is not repeated herein.
Based on the same inventive concept, the embodiment of the application also provides a device for subscribing the historical state of the organization.
Referring to fig. 10, an apparatus for subscribing to a historical state of an organization is provided for an embodiment of the present application, where the apparatus may be the server or a chip or an integrated circuit in the device, and the apparatus includes a module/unit/technical means for executing the method executed by the server in the method embodiment described above.
Illustratively, the apparatus 1000 includes:
A creation module 1001, configured to create a target organization model and at least one sub-organization model for a target organization and at least one sub-organization affiliated to the target organization, respectively; the target tissue model is used for describing the historical state of the target tissue, and the at least one sub-tissue model is used for describing the historical state of at least one sub-tissue; the target tissue model and the at least one sub-tissue model each include a temporal attribute;
A processing module 1002, configured to set a value of a time attribute in the target tissue model and the at least one sub-tissue model as a historical time, where the historical time is used to indicate a time corresponding to data in the target tissue model and the at least one sub-tissue model; establishing an association relationship between the target tissue model and the at least one sub-tissue model, wherein the association relationship is used for associating the at least one sub-tissue model to the target tissue model;
A receiving module 1003, configured to receive a first request from a terminal device, where the first request is used to request to subscribe to a history state of the target organization;
A response module 1004, configured to perform a subscription operation on the target organization model in response to the first request; and executing the subscription operation on the at least one sub-organization model according to the association relation between the at least one sub-organization model and the target organization model.
As an embodiment, the apparatus discussed in fig. 10 may be used to perform the method described in the embodiment shown in fig. 6, and thus, the description of the functions that can be implemented by each functional module of the apparatus and the like may refer to the embodiment shown in fig. 6, which is not repeated herein.
It should be noted that while several modules or sub-modules of the apparatus are mentioned in the detailed description above, such partitioning is merely exemplary and not mandatory. Indeed, the features and functions of two or more of the units described above may be embodied in one module in accordance with embodiments of the invention. Conversely, the features and functions of one module described above may be further divided into a plurality of modules to be embodied.
As one possible product form of the above apparatus, referring to fig. 11, an embodiment of the present application further provides an electronic device 1100, including:
At least one processor 1101; and a communication interface 1103 in communication connection with the at least one processor 1101; the at least one processor 1101, by executing instructions stored in the memory 1102, causes the electronic device 1100 to perform the method steps performed by any of the above-described method embodiments via the communication interface 1103.
Optionally, the memory 1102 is external to the electronic device 1100.
Optionally, the electronic device 1100 includes the memory 1102, where the memory 1102 is connected to the at least one processor 1101, and the memory 1102 stores instructions executable by the at least one processor 1101. Fig. 11 shows, in dashed lines, that memory 1102 is optional for electronic device 1100.
The processor 1101 and the memory 1102 may be coupled through an interface circuit, or may be integrated together, which is not limited herein.
The specific connection medium between the processor 1101, the memory 1102, and the communication interface 1103 is not limited to the above embodiments of the present application. In the embodiment of the present application, the processor 1101, the memory 1102 and the communication interface 1103 are connected through a bus 1104 in fig. 11, where the bus is indicated by a thick line in fig. 11, and the connection manner between other components is only schematically illustrated, and is not limited thereto. The buses may be classified as address buses, data buses, control buses, etc. For ease of illustration, only one thick line is shown in FIG. 11, but not only one bus or one type of bus. It should be understood that the processors mentioned in the embodiments of the present application may be implemented by hardware or may be implemented by software. When implemented in hardware, the processor may be a logic circuit, an integrated circuit, or the like. When implemented in software, the processor may be a general purpose processor, implemented by reading software code stored in a memory.
By way of example, the Processor may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (DIGITAL SIGNAL Processor, DSP), application SPECIFIC INTEGRATED Circuit (ASIC), off-the-shelf programmable gate array (Field Programmable GATE ARRAY, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It should be understood that the memory referred to in embodiments of the present application may be volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM) which acts as external cache memory. By way of example, and not limitation, many forms of RAM are available, such as static random access memory (STATIC RAM, SRAM), dynamic random access memory (DYNAMIC RAM, DRAM), synchronous Dynamic Random Access Memory (SDRAM), double data rate Synchronous dynamic random access memory (Double DATA EATE SDRAM, DDR SDRAM), enhanced Synchronous dynamic random access memory (ENHANCED SDRAM, ESDRAM), synchronous link dynamic random access memory (SYNCHLINK DRAM, SLDRAM), and Direct memory bus RAM (DR RAM).
It should be noted that when the processor is a general purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, the memory (storage module) may be integrated into the processor.
It should be noted that the memory described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
As another possible product form, embodiments of the present application also provide a computer-readable storage medium for storing instructions that, when executed, cause a computer to perform the method steps performed by any of the apparatus in the method examples described above.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present application without departing from the spirit or scope of the application. Thus, it is intended that the present application also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (28)

1. A method of twinning a historical state of a tissue, comprising:
Respectively establishing a target organization model and at least one sub-organization model aiming at a target organization and at least one sub-organization belonging to the target organization; the target tissue model is used for describing the historical state of the target tissue, and the at least one sub-tissue model is used for describing the historical state of at least one sub-tissue; the target organization model and the at least one sub-organization model each comprise a time attribute, a post attribute and a data time attribute;
Generating a parent object record of the target organization and at least one child object record of at least one child organization in at least one time before the current time or at least one duration period before the current time through the target organization model and at least one child organization model; the parent object record is used for describing attribute states of the target organization in at least one time before the current time or at least one duration period before the current time; the at least one sub-object record is used for describing attribute states of the at least one sub-organization at least one time before the current time or at least one duration time before the current time;
Setting the values of the time attributes in the target tissue model and the at least one sub-tissue model as historical time, wherein the historical time is used for indicating the time corresponding to the data in the target tissue model and the at least one sub-tissue model; the post attribute is used for describing the target organization model and a post role in an organization corresponding to the at least one sub-organization model; the data time attribute is used for describing the time when the historical data in the organization model is recorded or modified;
Based on the association relationship between the target organization and the at least one sub-organization, a first association relationship between the target organization model and the at least one sub-organization model is established, wherein the first association relationship is used for associating the at least one sub-organization model to the target organization model.
2. The method of claim 1, wherein the historical time is at least one time instant prior to a current time instant or at least one duration time period prior to a current time instant.
3. The method of claim 1, wherein the first association is to indicate that the target tissue model and the at least one child tissue model are parent-child relationships.
4. The method of any one of claims 1-3, wherein the establishing a first association of the target tissue model with the at least one sub-tissue model comprises:
Identifying the target organization model as a parent model and the at least one child organization model as a child model belonging to the parent model.
5. The method of claim 1, wherein the target tissue model and the at least one sub-tissue model further comprise spatial attributes describing one or more of the following information for the target tissue model and the at least one sub-tissue model:
Coordinate system information, spatial location information, geometry information, spatial range information.
6. The method of claim 5, wherein the method further comprises:
establishing a space coordinate system in the target tissue model, wherein the origin of the space coordinate system and the position of the target tissue model are kept relatively fixed;
determining position information of the at least one sub-tissue by taking the space coordinate system as a reference coordinate system of the at least one sub-tissue;
assigning a value to the spatial attribute of the at least one sub-organization model according to the position information of the at least one sub-organization.
7. The method of claim 1, wherein the target tissue model and the at least one sub-tissue model further comprise model identifications for uniquely identifying the target tissue model and the at least one sub-tissue model.
8. The method of claim 1, wherein the method further comprises:
Establishing a second association relationship between the parent object record and the at least one child object record; wherein each child object record of the at least one child object record has a unique parent object record, the parent object record and the at least one child object record each include a time range, and the time range of the child object record is within the time range of the parent object record.
9. The method of claim 1, wherein the target organization model and the at least one sub-organization model further comprise member attributes for describing user-defined data.
10. A method of subscribing to a historical state of an organization, comprising:
Respectively establishing a target organization model and at least one sub-organization model aiming at a target organization and at least one sub-organization belonging to the target organization; the target tissue model is used for describing the historical state of the target tissue, and the at least one sub-tissue model is used for describing the historical state of the at least one sub-tissue model; the target organization model and the at least one sub-organization model each comprise a time attribute, a post attribute and a data time attribute;
Generating a parent object record of the target organization and at least one child object record of at least one child organization in at least one time before the current time or at least one duration period before the current time through the target organization model and at least one child organization model; the parent object record is used for describing attribute states of the target organization in at least one time before the current time or at least one duration period before the current time; the at least one sub-object record is used for describing attribute states of the at least one sub-organization at least one time before the current time or at least one duration time before the current time;
Setting the values of the time attributes in the target tissue model and the at least one sub-tissue model as historical time, wherein the historical time is used for indicating the time corresponding to the data in the target tissue model and the at least one sub-tissue model; the post attribute is used for describing the target organization model and a post role in an organization corresponding to the at least one sub-organization model; the data time attribute is used for describing the time when the historical data in the organization model is recorded or modified;
establishing a first association relationship between the target tissue model and the at least one sub-tissue model based on the association relationship between the target tissue and the at least one sub-tissue, wherein the first association relationship is used for associating the at least one sub-tissue model to the target tissue model;
Receiving a first request from a terminal device, wherein the first request is used for requesting to subscribe to the historical state of the target organization;
In response to the first request, performing a subscription operation on the target organization model; and executing the subscription operation on the at least one sub-organization model according to the first association relation between the at least one sub-organization model and the target organization model.
11. The method of claim 10, wherein the first request carries a subscription item, the method further comprising:
Generating subscription information matched with the subscription item when the target organization model and/or the at least one sub-organization model changes;
and sending the subscription information to the terminal equipment.
12. The method of claim 11, wherein the subscription item comprises: spatial properties, and/or member properties.
13. The method of claim 11, wherein the varying comprises: and the sub-model change is used for representing the change of the quantity of the at least one sub-tissue model corresponding to the target tissue model.
14. An apparatus for twinning a historical state of tissue, comprising:
The creation module is used for respectively establishing a target organization model and at least one sub-organization model aiming at a target organization and at least one sub-organization affiliated to the target organization; the target tissue model is used for describing the historical state of the target tissue, and the at least one sub-tissue model is used for describing the historical state of at least one sub-tissue; the target organization model and the at least one sub-organization model each comprise a time attribute, a post attribute and a data time attribute; the post attribute is used for describing the post roles in the organizations corresponding to the target organization model and the at least one sub-organization model; the data time attribute is used for describing the time when the historical data in the organization model is recorded or modified;
A processing module, configured to generate, by using the target organization model and at least one sub-organization model, a parent object record of the target organization and at least one sub-object record of at least one sub-organization at least one time before a current time or at least one duration period before the current time; the parent object record is used for describing attribute states of the target organization in at least one time before the current time or at least one duration period before the current time; the at least one sub-object record is used for describing attribute states of the at least one sub-organization at least one time before the current time or at least one duration time before the current time;
the processing module is further configured to set a value of a time attribute in the target tissue model and the at least one sub-tissue model as a historical time, where the historical time is used to indicate a time corresponding to data in the target tissue model and the at least one sub-tissue model; based on the association relationship between the target organization and the at least one sub-organization, a first association relationship between the target organization model and the at least one sub-organization model is established, wherein the first association relationship is used for associating the at least one sub-organization model to the target organization model.
15. The apparatus of claim 14, wherein the historical time is at least one time instant prior to a current time instant or at least one duration time period prior to a current time instant.
16. The apparatus of claim 14, wherein the first association is to indicate that the target tissue model and the at least one child tissue model are parent-child relationships.
17. The apparatus according to any one of claims 14 to 16, wherein the processing module is configured to, when establishing the first association between the target tissue model and the at least one sub-tissue model, specifically:
Identifying the target organization model as a parent model and the at least one child organization model as a child model belonging to the parent model.
18. The apparatus of claim 14, wherein the target tissue model and the at least one sub-tissue model further comprise spatial attributes describing one or more of the following information for the target tissue model and the at least one sub-tissue model:
Coordinate system information, spatial location information, geometry information, spatial range information.
19. The apparatus of claim 18, wherein the apparatus is further configured to:
The creation module is further used for creating a space coordinate system in the target tissue model, and the origin of the space coordinate system and the position of the target tissue model are kept relatively fixed;
The processing module is further configured to determine location information of the at least one sub-tissue with the spatial coordinate system as a reference coordinate system of the at least one sub-tissue; assigning a value to the spatial attribute of the at least one sub-organization model according to the position information of the at least one sub-organization.
20. The apparatus of claim 14, wherein the target tissue model and the at least one sub-tissue model further comprise model identifications for uniquely identifying the target tissue model and the at least one sub-tissue model.
21. The apparatus of claim 14, wherein the processing module is further to:
Establishing a second association relationship between the parent object record and the at least one child object record; wherein each child object record of the at least one child object record has a unique parent object record, the parent object record and the at least one child object record each include a time range, and the time range of the child object record is within the time range of the parent object record.
22. The apparatus of claim 14, wherein the target organization model and the at least one sub-organization model further comprise member attributes for describing user-defined data.
23. An apparatus for subscribing to a historical state of an organization, comprising:
The creation module is used for respectively establishing a target organization model and at least one sub-organization model aiming at a target organization and at least one sub-organization affiliated to the target organization; the target tissue model is used for describing the historical state of the target tissue, and the at least one sub-tissue model is used for describing the historical state of at least one sub-tissue; the target organization model and the at least one sub-organization model each comprise a time attribute, a post attribute and a data time attribute; the post attribute is used for describing the post roles in the organizations corresponding to the target organization model and the at least one sub-organization model; the data time attribute is used for describing the time when the historical data in the organization model is recorded or modified;
A processing module, configured to generate, by using the target organization model and at least one sub-organization model, a parent object record of the target organization and at least one sub-object record of at least one sub-organization at least one time before a current time or at least one duration period before the current time; the parent object record is used for describing attribute states of the target organization in at least one time before the current time or at least one duration period before the current time; the at least one sub-object record is used for describing attribute states of the at least one sub-organization at least one time before the current time or at least one duration time before the current time;
The processing module is further configured to set a value of a time attribute in the target tissue model and the at least one sub-tissue model as a historical time, where the historical time is used to indicate a time corresponding to data in the target tissue model and the at least one sub-tissue model; establishing a first association relationship between the target tissue model and the at least one sub-tissue model based on the association relationship between the target tissue and the at least one sub-tissue, wherein the first association relationship is used for associating the at least one sub-tissue model to the target tissue model;
a receiving module, configured to receive a first request from a terminal device, where the first request is used to request to subscribe to a history state of the target organization;
the response module is used for responding to the first request and executing subscription operation on the target organization model; and executing the subscription operation on the at least one sub-organization model according to the first association relation between the at least one sub-organization model and the target organization model.
24. The apparatus of claim 23, wherein the first request carries a subscription item, the apparatus further comprising:
The sending module is used for generating subscription information matched with the subscription item when the target organization model and/or the at least one sub-organization model are changed; and sending the subscription information to the terminal equipment.
25. The apparatus of claim 24, wherein the subscription item comprises: spatial properties, and/or member properties.
26. The apparatus of claim 24, wherein the variation comprises: and the sub-model change is used for representing the change of the quantity of the at least one sub-tissue model corresponding to the target tissue model.
27. An electronic device, comprising:
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, by executing the instructions stored by the memory, causing the at least one processor to perform the method of any one of claims 1-13.
28. A computer readable storage medium for storing instructions that, when executed, cause the method of any one of claims 1-13 to be implemented.
CN202210767357.7A 2022-06-30 2022-06-30 Method and device for twinning and subscribing historical states of organization Active CN115080544B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210767357.7A CN115080544B (en) 2022-06-30 2022-06-30 Method and device for twinning and subscribing historical states of organization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210767357.7A CN115080544B (en) 2022-06-30 2022-06-30 Method and device for twinning and subscribing historical states of organization

Publications (2)

Publication Number Publication Date
CN115080544A CN115080544A (en) 2022-09-20
CN115080544B true CN115080544B (en) 2024-05-03

Family

ID=83257270

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210767357.7A Active CN115080544B (en) 2022-06-30 2022-06-30 Method and device for twinning and subscribing historical states of organization

Country Status (1)

Country Link
CN (1) CN115080544B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106294888A (en) * 2016-10-24 2017-01-04 北京亚控科技发展有限公司 A kind of method for subscribing of object data based on space-time database
CN109933907A (en) * 2019-03-14 2019-06-25 北京五维星宇科技有限公司 A kind of method for building up and device of military equipment management business model
CN112818446A (en) * 2021-01-26 2021-05-18 西安交通大学 Construction method of intelligent workshop digital twin system
WO2021108680A1 (en) * 2019-11-25 2021-06-03 Strong Force Iot Portfolio 2016, Llc Intelligent vibration digital twin systems and methods for industrial environments
WO2021191754A1 (en) * 2020-03-23 2021-09-30 Tata Consultancy Services Limited Method and system for optimizing and adapting telecom organization in dynamic environment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210157312A1 (en) * 2016-05-09 2021-05-27 Strong Force Iot Portfolio 2016, Llc Intelligent vibration digital twin systems and methods for industrial environments
US10324951B1 (en) * 2017-12-29 2019-06-18 Apptio, Inc. Tracking and viewing model changes based on time
US11841854B2 (en) * 2018-07-24 2023-12-12 MachEye, Inc. Differentiation of search results for accurate query output
WO2022015806A1 (en) * 2020-07-15 2022-01-20 Endurica, LLC System and method for providing digital twin services from multiple digital twin providers

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106294888A (en) * 2016-10-24 2017-01-04 北京亚控科技发展有限公司 A kind of method for subscribing of object data based on space-time database
CN109933907A (en) * 2019-03-14 2019-06-25 北京五维星宇科技有限公司 A kind of method for building up and device of military equipment management business model
WO2021108680A1 (en) * 2019-11-25 2021-06-03 Strong Force Iot Portfolio 2016, Llc Intelligent vibration digital twin systems and methods for industrial environments
WO2021191754A1 (en) * 2020-03-23 2021-09-30 Tata Consultancy Services Limited Method and system for optimizing and adapting telecom organization in dynamic environment
CN112818446A (en) * 2021-01-26 2021-05-18 西安交通大学 Construction method of intelligent workshop digital twin system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Enabling technologies and tools for digital twin;Qinglin Qi等;《Journal of manufacturing system》;第58卷;3-21 *
基于数字孪生驱动的全面智慧创新管理新范式研究;陈奕延等;《科技管理研究 》;第40卷(第23期);230-238 *
面向智慧能源系统的数字孪生技术及其应用;李立浧等;《中国工程科学》;20200807;第22卷(第4期);111-121 *

Also Published As

Publication number Publication date
CN115080544A (en) 2022-09-20

Similar Documents

Publication Publication Date Title
CN110427434B (en) Multidimensional data query method and device
CN107545046B (en) Fusion method and device for multi-source heterogeneous data
CN110019540B (en) Implementation method, display method, device and equipment of enterprise atlas
US20120130940A1 (en) Real-time analytics of streaming data
Mateev Industry 4.0 and the digital twin for building industry
CN105556517A (en) Smart search refinement
CN105900121A (en) Methods for generating an activity stream
CN106296365A (en) A kind of purchase operates sharing method and device
CN112818048A (en) Hierarchical construction method and device of data warehouse, electronic equipment and storage medium
CN115129909B (en) Method and device for twinning and subscribing historical states of physical objects
CN115017139B (en) Method and device for twinning and subscribing historical states of personnel
CN115098471B (en) Method and device for twinning and subscribing historical states of events
CN115080544B (en) Method and device for twinning and subscribing historical states of organization
CN115543428A (en) Simulated data generation method and device based on strategy template
CN114153860A (en) Business data management method and device, electronic equipment and storage medium
CN106372121B (en) Server and data processing method
CN115270419A (en) Twin method, subscription method and system for real-time event current state
CN115017141A (en) Digital twinning method, device and equipment for event full life cycle
CN107291712B (en) Data generation method and device
CN111309749B (en) Method, device, equipment and medium for processing policy information
CN114691630A (en) Smart supply chain big data sharing method and system
CN112685557A (en) Visualized information resource management method and device
US20190392498A1 (en) Recommendation engine and system
CN105988822A (en) Method and system for helping user to perform service request
CN115145895A (en) Method and device for twinning and subscribing current state of organization

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
GR01 Patent grant
GR01 Patent grant