CN115270213B - Twinning method, subscribing method and system for current state of entity - Google Patents

Twinning method, subscribing method and system for current state of entity Download PDF

Info

Publication number
CN115270213B
CN115270213B CN202210760272.6A CN202210760272A CN115270213B CN 115270213 B CN115270213 B CN 115270213B CN 202210760272 A CN202210760272 A CN 202210760272A CN 115270213 B CN115270213 B CN 115270213B
Authority
CN
China
Prior art keywords
model
entity model
target
entity
space
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
CN202210760272.6A
Other languages
Chinese (zh)
Other versions
CN115270213A (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 CN202210760272.6A priority Critical patent/CN115270213B/en
Publication of CN115270213A publication Critical patent/CN115270213A/en
Priority to PCT/CN2023/104171 priority patent/WO2024002294A1/en
Application granted granted Critical
Publication of CN115270213B publication Critical patent/CN115270213B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/04Manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Geometry (AREA)
  • Manufacturing & Machinery (AREA)
  • Economics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Analysis (AREA)
  • Computational Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Pure & Applied Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application relates to the technical field of digital twinning, in particular to a twinning method, a subscription method and a system for the current state of an entity, wherein the twinning method comprises the following steps: respectively establishing a target entity model and at least one part entity model aiming at a currently existing target physical entity and at least one part physical entity forming the target physical entity, wherein the target entity model and the part entity model both comprise time attributes; setting time attribute values in the target solid model and at least one part solid model as the current moment; and establishing an association relation between the target entity model and at least one part entity model. The method solves the technical problems that the existing digital twin method is complex and is not suitable for industrialized application.

Description

Twinning method, subscribing method and system for current state of entity
Technical Field
The application relates to the technical field of digital twinning, in particular to a twinning method, a subscription method and a system of the current state of an entity.
Background
Digital twinning is an over-the-counter concept as an important way to realize industrial digital transformation and promote intelligent upgrading. At present, the digital twin is driven by a multidimensional virtual model and fusion data, actual functional services and application requirements such as monitoring, simulation, prediction, optimization and the like are realized through virtual-real closed loop interaction, and the construction of the digital twin model is an actual basis for realizing the data twin.
The existing method for constructing the digital twin model can be generally transmitted to a full three-dimensional geometric model defined by a product through parameters of a simulation analysis model, then transmitted to a digital production line to be processed into a real physical product, reflected to the product definition model through an online digital detection/measurement system, and further fed back to the simulation analysis model. All data models can be communicated in two directions by means of digital twinning, so that the state and parameters of a real physical product are fed back to the digital models, the digital models of all links of the life cycle are kept consistent, and the current and future functions and performances of the system can be dynamically and real-time estimated. The construction of the digital twin model requires the generation or extraction of the model in each scene, then the construction of an action library, and the construction of the digital twin scene together with each scene and the corresponding model and corresponding action.
In the process of implementing the present application, the inventor finds that at least the following problems exist in the prior art: in actual production or application, the digital twin method combining multiple modes and multiple scenes needs to occupy a large amount of system resources, increases the operation load of the system, further increases the production cost and is not beneficial to industrialized application.
Disclosure of Invention
Therefore, the embodiment of the application provides a twinning method, a subscription method and a system for the current state of an entity, which can solve the technical problems that the existing digital twinning method is complex and not suitable for industrialized application, and the specific technical scheme comprises the following steps:
in a first aspect, embodiments of the present application provide a twinning method of a current state of a physical object, the method including:
respectively establishing a target physical model and at least one part physical model aiming at a currently existing target physical entity and at least one part physical entity forming the target physical entity, wherein the target physical model and the part physical model both comprise time attributes;
setting time attribute values in the target solid model and at least one part solid model as the current moment;
and establishing an association relation between the target entity model and at least one part entity model.
Further, the association relationship is a father-son relationship, the target entity model with the father-son relationship is a father model, and the part entity model is a son model.
Further, the target solid model in the parent-child relationship is the only parent model of the part solid model.
Further, the target solid model and the part solid model each include a spatial attribute describing a spatial size of the target solid model or the part solid model.
Further, the spatial attribute is described by a spatial range, and the spatial range describes a geometric range formed by coordinate values of the target entity model or the part entity model in a coordinate system;
the spatial range of the part entity model of the part physical entity with the parent-child relationship is smaller than or equal to the spatial range of the target entity model of the target physical entity.
Further, the target entity model and the part entity model further comprise unique identifiers, and the unique identifiers are used for uniquely mapping the corresponding target entity model or part entity model.
Further, the method further comprises:
establishing a first coordinate system in a target entity model of a target physical entity, wherein the spatial position of an origin of the first coordinate system relative to the target entity model is kept fixed, the spatial attribute value of a part entity model of a part physical entity adopts the first coordinate system as a reference coordinate system,
when the target entity model moves, the part entity model with the father-son relationship with the target entity model moves along with the target entity model.
Further, the method further comprises:
a first coordinate system is established in a target entity model of a target physical entity, the space position of an origin of the first coordinate system relative to the target entity model is kept fixed, a second coordinate system corresponding to the part entity model is established according to the first coordinate system, a relative position relation exists between the first coordinate system and the second coordinate system,
And according to the spatial range of the part entity model and the second coordinate system with the relative position relationship, when the target entity model moves, the part entity model with the father-son relationship with the target entity model moves along with the target entity model.
Further, the part solid model further includes a location attribute describing a spatial range of the part solid model excluding any one of other part solid models outside the spatial range of the part solid model within the spatial range of the target solid model having the parent-child relationship.
Further, when the part entity model is moved, the position attribute value of the part entity model is modified to be the unique identifier of the other part entity model corresponding to the space range to be moved.
Further, the method further comprises:
the target solid model and the part solid model comprise shape information and gesture information, and the shape information is coordinate data of a description shape of the target solid model in a first coordinate system or the part solid model in a second coordinate system; the gesture information describes data describing rotation of the target solid model or the part solid model in a first coordinate system or a second coordinate system of the target solid model or the part solid model.
Further, the method further comprises:
after deleting the target entity model, the part entity model with the father-son relationship with the target entity model is disassociated with the target entity model; or alternatively, the first and second heat exchangers may be,
and when the part entity model moves out of the spatial range of the target entity model, the association relation with the target entity model is released.
Further, the target entity model and the part entity model both further comprise member information, and the member information describes difference information of the target entity model or the part entity model.
In a second aspect, the present application discloses a subscription method for a current state of an entity, including:
respectively establishing a target physical model and at least one part physical model aiming at a currently existing target physical entity and at least one part physical entity forming the target physical entity, wherein the target physical model and the part physical model both comprise time attributes;
setting time attribute values in the target solid model and at least one part solid model as the current moment;
establishing an association relationship between the target entity model and at least one part entity model;
when the state of the part entity model changes, the subscriber receives the change information of the part entity model associated with the target entity model.
Further, the method further comprises the following steps:
after the at least one part entity model associated with the target entity model is built, the subscriber receives the building information of the part entity model associated with the target entity model.
Further, when the state of the part entity model changes, the subscriber receiving the change information of the part entity model associated with the target entity model includes:
inquiring whether a subscription item of a target entity model with an association relation with the part entity model exists or not when the state of the part entity model changes;
and if so, releasing the change information of the part entity model.
Further, the change of the state of the part entity model includes any one of the following situations: and modifying the attribute of the part entity model, and deleting the part entity model from the associated target entity model.
Further, the method further comprises:
aiming at a target entity model, acquiring all incidence relations existing in the target entity model, and inquiring all part entity models associated with the target entity model by utilizing all incidence relations;
and aiming at one part entity model, acquiring all incidence relations existing in the part entity model, and inquiring a target entity model associated with the part entity model and other part entity models associated with the target entity model by utilizing all incidence relations.
In a third aspect, the present application discloses a subscription method for a current state of an entity, including:
respectively establishing a target physical model and at least one part physical model aiming at a currently existing target physical entity and at least one part physical entity forming the target physical entity, wherein the target physical model and the part physical model at least comprise a space range, and the space range is used for describing a range formed by coordinate values of the target physical model or the part physical model in a coordinate system;
when the space range of the part entity model and the space range of the target entity model overlap, the subscriber receives the change information of the part entity model.
Further, the method further comprises:
when the spatial range of the part solid model and the spatial range of the target solid model are overlapped for the first time, the subscriber receives the moving-in information of the part solid model in the target solid model.
Further, when the spatial range of the part entity model and the spatial range of the target entity model overlap, the receiving, by the subscriber, the change information of the part entity model in the target entity model includes:
when the part entity model changes, inquiring the space ranges of the target entity models corresponding to all the space range subscription items, and judging whether the space ranges of the part entity model overlap with the space ranges of the target entity models corresponding to the space range subscription items;
And if the parts overlap, releasing the change information of the part entity model.
Further, the change may include any of the following: the attribute of the part solid model in the space range of the target solid model is modified, and the part solid model is moved out of the space range of the target solid model.
Further, the method further comprises:
aiming at a target entity model, inquiring all part entity models in the space range of the target entity model according to the space range of the target entity model;
and inquiring a target solid model of which the space range comprises the space range of the part solid model and/or other part solid models of which the space range comprises aiming at one part solid model according to the space range of the part solid model.
In a fourth aspect, the present application discloses a twinning system for a current state of a physical object, the system comprising:
the model building module is used for building a target entity model and at least one part entity model respectively aiming at a currently existing target physical entity and at least one part physical entity forming the target physical entity, wherein the target entity model and the part entity model both comprise time attributes;
The attribute setting module is used for setting time attribute values in the target entity model and at least one part entity model as the current moment;
and the association relation establishment model is used for establishing the association relation between the target entity model and at least one part entity model.
In a fifth aspect, the present application discloses a subscription system for a current state of an entity, the system comprising:
the model building module is used for building a target entity model and at least one part entity model aiming at a currently existing target physical entity and at least one part physical entity associated with the target physical entity respectively;
the attribute setting module is used for setting time attribute values in the target entity model and at least one part entity model as the current moment;
the association relation establishing model is used for establishing the association relation between the target entity model and at least one part entity model;
the first distribution module is used for receiving the change information of the part entity model associated with the target entity model by the subscriber when the state of the part entity model changes.
In a sixth aspect, the present application discloses a subscription system for a current state of an entity, the system comprising:
The third query module is used for respectively establishing a target entity model and at least one part entity model aiming at a currently existing target physical entity and at least one part physical entity forming the target physical entity, wherein the target entity model and the part entity model at least comprise a space range, and the space range is used for describing a range formed by coordinate values of the target entity model or the part entity model in a coordinate system;
and the second publishing module is used for receiving the change information of the part entity model by the subscriber when the space range of the part entity model and the space range of the target entity model are overlapped.
In a seventh aspect, the present application discloses a computer readable storage medium storing a computer program which, when executed by a processor, implements the steps of the twinning method of the current state of a physical object according to any one of the preceding claims.
In an eighth aspect, the present application discloses a computer readable storage medium storing a computer program, which when executed by a processor implements the steps of the subscription method for the current state of an entity of any one of the preceding claims.
In summary, compared with the prior art, the technical scheme provided by the embodiment of the application has the beneficial effects that at least:
1. the physical model is described through the attribute in the physical model data structure, the current time of the physical model check is called through the time attribute value description, the correlation between the physical entity in the industrialized production is described through the correlation between the target physical model and the part physical model, the coupling between the physical entities is realized, the digital twin of the physical objects is realized without establishing multiple models and multiple scenes, the requirements of the industrialized production can be met, the occupied system resources are reduced, the operation load of the system is reduced, the production cost is further reduced, the method is suitable for the digital twin under the configuration of various devices, the twin process is simplified, and the complexity of the digital twin is reduced;
2. subscribing a part entity model or a target entity model associated model by an association relationship, and when a subscribed physical entity changes, acquiring the influence of the change of the physical entity on other associated physical entities by the association relationship to meet the requirement of industrialized production;
3. the related relation is used for inquiring the model related to the part entity model or the target entity model, so that a certain model and other models related to the certain model can be quickly inquired, the influence of the change of a certain physical entity on other production elements can be timely known in the industrial application, and the requirements of the industrial production application are met.
Drawings
Fig. 1 is a flow chart of a twinning method of a current state of a physical object according to an embodiment of the present application.
Fig. 2 is a flow chart of a twinning method of a current state of a physical object according to another embodiment of the present application.
Fig. 3 is a second flowchart of a twinning method of a current state of a physical object according to another embodiment of the present disclosure.
Fig. 4 is a flowchart of a subscription method for a current state of an entity according to an embodiment of the present application.
Fig. 5 is a flowchart of a subscription method for a current state of an entity according to another embodiment of the present application.
Fig. 6 is a second flowchart of a subscription method for a current state of an entity according to another embodiment of the present application.
Fig. 7 is a third flowchart of a subscription method for a current state of an entity according to another embodiment of the present application.
Fig. 8 is a flowchart of a subscription method for a current state of an entity according to another embodiment of the present application.
Fig. 9 is a flowchart of a subscription method for a current state of an entity according to another embodiment of the present application.
Detailed Description
The present embodiment is merely illustrative of the present application and is not intended to be limiting, and those skilled in the art, after having read the present specification, may make modifications to the present embodiment without creative contribution as required, but is protected by patent laws within the scope of the claims of the present application.
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
In addition, the term "and/or" in this application is merely an association relationship describing an 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 this application, unless otherwise specified, the term "/" generally indicates that the associated object is an "or" relationship.
Embodiments of the present application are described in further detail below with reference to the drawings attached hereto.
Referring to fig. 1, in one embodiment of the present application, a twinning method of a current state of a physical object is provided, and main steps of the method are described as follows:
S1: respectively establishing a target entity model and at least one part entity model aiming at a currently existing target physical entity and at least one part physical entity forming the target physical entity, wherein the target entity model and the part entity model both comprise time attributes;
s2: setting time attribute values in the target solid model and at least one part solid model as the current moment;
s3: and establishing an association relation between the target entity model and at least one part entity model.
Digital twinning has many applications in industrialization, such as production process simulation, digital production line, key index monitoring, process capability assessment, etc., and physical entities are described by virtual numbers. In this embodiment, the concept of space is proposed, the physical entity is abstracted into a description by space, a physical model corresponding to the physical entity is established (in the current and following descriptions, both refer to a target physical model and a part physical model), and the spatial position relationship between the physical entities is described through the association relationship between the physical models, so that the description of the association between different physical entities in the actual industrialized application is realized, and the construction requirement of a large-scale industrial line is met.
Physical objects, i.e. physical entities present in reality, such as generating equipment, plants, products, etc. The embodiment provides a concept of an object, namely a space, namely, during modeling, the external appearance form, geometric texture and the like of a physical entity are not concerned, the physical entity is expressed in space, and the relation between objects is simplified into a relation between space and space; when modeling the physical entity, the physical entity is mapped according to the actual space range of the physical entity to model the physical entity, the physical entity is described in space, the shape of the space can be any shape, the modeling of the application does not pay attention to the external appearance form of the space, and a simple structure is adopted to describe the physical entity, so that a simple method for realizing digital twin of the physical entity, which is suitable for industrialized production, is provided, and the twin of different physical entities in industrialized production is suitable for.
When digital twinning is carried out, the physical entity can be twinned according to the concept that the physical entity is a physical space, and the physical entity is directly modeled without constructing an intermediate model of the physical entity. In factory application, physical entities in any scene such as factory-workshop-production line-equipment and the like are used for constructing entity models, a target entity model corresponding to the factory is constructed according to the relation between the physical entities and the physical entities of the parts attached to the physical entities, then a target entity model corresponding to the workshop is established, and the relation between physical entities in the factory is described by establishing the association relation between the target entity model corresponding to the factory and the target entity model corresponding to the workshop. In the association relation between the target entity model corresponding to the factory and the target entity model corresponding to the workshop, the target entity model corresponding to the workshop is a part entity model of the target entity model corresponding to the factory. In the relation between workshops and production lines, the production lines are parts of the affiliated workshops, namely, the target solid models corresponding to the production lines are part solid models associated with the target solid models corresponding to the workshops.
In this embodiment, the association relationship between the physical entities and the physical entities of the part may be any one or two or more of a management relationship, a space containing relationship, and the like, which may be established between the physical entities, which is not described herein; in this embodiment, the method for establishing the association relationship sets a label association between the target solid model and the part solid model, and in other embodiments of the present application, other implementation manners may also be available, for example, a coordinate system is constructed, and a space of the parent model in the coordinate system includes a space of the child model, etc., which will not be described herein.
And establishing an association relation between the target entity model and at least one part entity model, for example, more than two workshops are arranged under a factory, digital twin is carried out on the workshops, and the part entity model of the workshops with auxiliary association with the factory is established with the corresponding target entity model of the factory.
For a directly constructed entity model, in this embodiment, the entity model is a computer data structure for mapping data in physical entity reality, and different data elements (such as attributes) in the data structure are adopted to describe the physical entity; the data in the physical entity may be acquired by a sensor or maintained by a technician, etc., and will not be described in detail herein.
The data elements of the entity model contain time attributes, and the current time of the entity model is described, wherein the time attribute value is the current time. In this embodiment, the physical entity is described by a time attribute, and in the industrial application, various states of the physical entity can be known at the current time when the physical entity in the industrial application is applied, such as monitoring.
Specifically, in this embodiment, when the user invokes the entity model, the entity model obtains the current time of the computer as the time attribute value, and in other embodiments of the present application, other ways may be adopted to obtain the current time of the entity model, for example, by a background technician, etc., which are not described herein.
In this embodiment, the data elements of the solid model may be added according to the requirements of the application industry, for example, spatial attribute, location attribute, coordinate information, gesture information, unique identifier, etc., which are not described herein.
In this embodiment, the method for constructing the association relationship between the target solid model and the part solid model at least includes:
1. adding data elements describing the part entity model with the association relation into a computer data structure of the target entity model and/or adding data elements describing the target entity model with the association relation into a computer data structure of the part entity model;
2. And establishing a coordinate system, wherein the space range formed by the coordinate values of the target solid model in the coordinate system comprises the space range formed by the coordinate values of the part solid model in the same coordinate system.
According to the method, the target entity model is abstracted into a space to establish a computer data structure, when the data twinning is established, the information such as the shape, the texture and the like of the physical entity is not required to be focused, the logic of the physical entity twinning is simplified, and the method is suitable for all-round object twinning; the association relation between the target entity model and the part entity model is established, and the association relation describes the relation between the physical entities, so that the linkage and the coupling between the physical entities are realized, and the method is suitable for industrial production; by setting the time attribute, the purpose of monitoring the physical entity and acquiring the real-time state of the physical entity in the industrial production is achieved.
According to the method, multiple models and multiple scenes are not required to be established to realize digital twin of the entity, the entity model is described through the data elements of the entity model, the requirement of industrial production is met, the system resources required to be occupied by the model are reduced, the operation load of the system is reduced, the production cost is further reduced, the method is suitable for digital twin under multiple conditions, and the digital twin process is simplified. The twinning method is more visual, and a user can directly twine the relation between the target entity models in reality according to the space actual relation of the corresponding physical entities.
Optionally, in another embodiment, the association relationship is a parent-child relationship, the target entity model with the parent-child relationship is a parent model, and the part entity model is a child model.
In particular, in the parent-child relationship, the child may inherit some characteristics of the parent, i.e., the child may inherit some properties and methods of the parent. The method is embodied on the level of a software program, and the code quantity can be greatly reduced by adopting the parent-child relationship; the parent-child relationship is a two-way one-to-many relationship, and is suitable for the situation that the relationship between the physical entity and at least one part physical entity associated with the physical entity is needed to be embodied in production application.
In the present embodiment, assuming that the relationship between the physical entity and the part physical entity is a spatial inclusion relationship, the part physical model having a parent-child relationship inherits the spatial position of the parent model, and the child model is within the spatial range of the parent model; in another embodiment, if the part solid model a is managed by another part solid model B, a child model having a parent-child relationship with a is managed by a and inherits the attribute managed by B; in other embodiments, there are other parent-child relationship embodiments, which are not described in detail herein.
Optionally, in another embodiment, the target solid model in the parent-child relationship is the only parent model of the part solid model.
Optionally, in another embodiment, the target solid model and the part solid model are both provided with a spatial attribute, where the spatial attribute describes a spatial range of the target solid model or the part solid model, and the spatial range describes a range formed by coordinate values of the target solid model or the part solid model in a coordinate system;
the spatial range of the part entity model of the part physical entity with the parent-child relationship is smaller than or equal to the spatial range of the target entity model of the target physical entity.
Specifically, in this embodiment, for the industrialized application, according to the "object, i.e. space", the target physical model is simplified to occupy space description in the established coordinate system, space ranges are set for both the target physical model and the part physical model, the space ranges occupied by the corresponding target physical model or part physical model in the coordinate system are described by the space ranges, and the space range value is the coordinate value of the target physical model or the part physical model in the coordinate system.
The spatial attribute is used for describing that the spatial range of the target entity model which is positioned in the same coordinate system and has the father-son relationship comprises the spatial range of the part entity model, the association relationship between the father model and the child model can be intuitively embodied based on the concept of the space which is the object provided by the application, and the child model is positioned in the spatial range of the father model by utilizing the inheritance of the father-son relationship.
Further, in another embodiment, the target entity model and the part entity model further include unique identifiers, where the unique identifiers are used to uniquely map the corresponding target entity model or part entity model, and optionally, when the association relationship is established between the target entity model and the part entity model, the parent-child association may be implemented by setting the spatial attribute value of the part entity model to the unique identifier of the target entity model having the parent-child relationship. In this embodiment, different physical entities are distinguished by setting a unique identifier. The unique identifier is arranged on the target entity model or the part entity model.
Specifically, when an association relationship is established between the target entity model and the part entity model, the spatial attribute value of the entity model may be set as the unique identifier of the parent model or the coordinate value range or the unique identifier of the child model, and in this embodiment, the spatial attribute value of the parent model is set as the unique identifier of the child model by way of example: the spatial attribute value contains unique identifications of all child models associated with the parent model, indicating that the spatial extent of the child model is within the spatial extent of the parent model under the same coordinate system. When a user calls the target entity model to view the related information of the target entity, the spatial inclusion relation between the father model and the child model can be intuitively known by the spatial attribute value, the current state of one physical entity can be described by the spatial attribute and the time attribute, and the factory model is constructed, so that the requirement of industrial production is met.
In the embodiment, the space attribute value of the child model with the father-son relationship is set as the unique identifier of the father model, when a certain part entity model is called for viewing, the father model can be directly found out by the space attribute value, so that the searching is convenient, and the space attribute value is set as the unique identifier, thereby the space inclusion relationship between the father model and the child model is established, the expression form of the inclusion relationship between the father model and the child model is simplified, the actual relative positions of the father model and the child model are not required to be concerned in the process of establishing the digital model of the industrial production line, the modeling process is simplified, and the method is suitable for more digital twin scenes.
Optionally, in another embodiment, the part solid model further includes a location attribute, where the location attribute describes a spatial range of the part solid model except for a spatial range of any other part solid model of the part solid model within a spatial range of a target solid model having a parent-child relationship.
Specifically, in this embodiment, a coordinate system is established, the target solid model and the part solid model having a parent-child relationship are both in the same coordinate system, the target solid model is a space formed by coordinates in the coordinate system, the part solid model is a space formed by corresponding coordinates in the coordinate system, and the space range of the target solid model includes the space range of the part solid model.
The method for realizing the movement of the part entity model in the space range of the father model comprises the following steps: and modifying the position attribute value of the part entity model into the unique identification of any one other part entity model in the space range of the parent model. In the industrialized production, the movement logic of the entity model is simplified, the movement of the part entity model in the father model can be described without calculating the difference between the coordinates of the entity model to be moved and the coordinates of the moved position, and the movement logic of the entity model is simplified.
For example, in the production of a certain product in a factory, the product needs to be processed by different production lines in the same workshop, in a digital model of the factory, the movement of a part entity model corresponding to the product in the space range of a parent model can be realized by modifying the position attribute of the part entity model into the unique identification of the part entity model corresponding to the production line, and the relation between the product and processing equipment in the processing is expressed through a simple position attribute value. In addition, the method can be applied to other situations, and the details are not repeated here.
In another embodiment, in a preset modeling space, all the movable positions in the modeling space are represented by all the unique identifiers, other spaces except the movable positions represented by the unique identifiers are ignored, the position attribute value is modified to be the unique identifiers of other part entity models except the position attribute value in the space range of the father model, the movement of the positions is realized, and the movement logic of the entity model is simplified. In other embodiments, other implementations are possible and are not described herein.
Referring to fig. 2, optionally, in another embodiment, the method further comprises:
s4: establishing a first coordinate system in a target entity model of a target physical entity, wherein the spatial position of an origin of the first coordinate system relative to the target entity model is kept fixed, the spatial attribute value of a part entity model of a part physical entity adopts the first coordinate system as a reference coordinate system,
when the target entity model moves, the part entity model with the father-son relationship with the target entity model moves along with the target entity model, and the relative position relationship between the part entity model and the target entity model is unchanged.
Specifically, a first coordinate system of a target entity model is established, and the target entity model is positioned in the first coordinate system; the part solid model is located in a first coordinate system of its parent model.
When the target solid model is moved in the first coordinate system, the child model of the target solid model also adopts a reference coordinate system with the first coordinate system of the parent model as a spatial range value, namely, the spatial range value of the part solid model is a coordinate value in the first coordinate system of the parent model of the part solid model. Through the arrangement of the embodiment, the relative spatial position association relationship between the target entity model and the part entity model can be quickly established. When a father model with father-son relation moves, the son model moves along with the father model, and coordinate values of the target entity model and the son model in a first coordinate system are unchanged; when the sub model of the target entity model moves, sun Moxing of the sub model moves along with the sub model, and coordinate values of the sub model and the grandchild model in the first coordinate system change accordingly.
It should be noted that, from the foregoing, the part solid model may be a parent model of another part solid model, that is, a part solid model B that is a child model of the target solid model a, or a parent model of the part solid model C, and from the parent-child relationship of the part solid model C, B is the target solid model. In the application of the present embodiment, only the coordinate system of the parent model is focused on in a set of parent-child relationships, the coordinate system of the child model is ignored, and the spatial position of the child model associated with the parent model is quickly moved by moving the spatial position of the target solid model according to the constraint relationship between the parent model and the child model.
Referring to fig. 3, optionally, in another embodiment, the method further comprises:
s5: a first coordinate system is established in a target entity model of a target physical entity, the space position of an origin of the first coordinate system relative to the target entity model is kept fixed, a second coordinate system corresponding to the part entity model is established according to the first coordinate system, a relative position relation exists between the first coordinate system and the second coordinate system,
and according to the spatial range of the part entity model and the second coordinate system with the relative position relationship, when the target entity model moves, the part entity model with the father-son relationship with the target entity model moves along with the target entity model, and the relative position relationship between the part entity model and the target entity model is unchanged.
Establishing a first coordinate system of the target solid model, establishing a second coordinate system of the part solid model, and setting a relative position relation between the first coordinate system of the target solid model with a father-son relation and the second coordinate system of the part solid model; when the father model with the father-son relationship moves, the son model moves along with the father model, at the moment, the coordinate value of the father model relative to the first coordinate system is unchanged, the coordinate value of the son model relative to the second coordinate system is also unchanged, and the relative positions of the first coordinate system and the second coordinate system are unchanged; when the parent model with the parent-child relationship is not moved and the child model moves, the coordinate value of the child model relative to the second coordinate system is unchanged, and the relative position relationship between the first coordinate system and the second coordinate system changes along with the movement of the child model. Through the arrangement of the embodiment, the sub-model can be moved along with the relative relation between the coordinate systems, in practical application, taking factory modeling as an example, a workshop is moved, and a production line in the workshop also moves along with the movement, so that the effects of moving and deleting the model can be rapidly realized.
Further, a first coordinate system of a target entity model and a second coordinate system of a part entity model are established, the target entity model and the part entity model also comprise shape information, the shape information is coordinate data of a description shape of the target entity model in the corresponding first coordinate system or the corresponding second coordinate system, and the shape information of the entity model is described by the coordinate information in the established coordinate system; if only the envelope information is of interest, the envelope information may be set, and if specific shape information is of interest, accurate shape data within the coordinate system of the solid model may be set.
Further, a first coordinate system of the target entity model and a second coordinate system of the part entity model are established; the target entity model and the part entity model also comprise gesture information, wherein the gesture information describes the rotation gesture of the entity model in the coordinate system of the entity model, and the gesture information can be specifically represented by a coordinate difference value; in other embodiments, the rotation axis may be provided on the solid model, and the rotation direction and the rotation angle of the rotation axis may be indicated, which will not be described herein.
Optionally, in another embodiment, the solid model adopts a unified data structure, that is, the target solid model and the part solid model both adopt unified data structures.
The setting of the embodiment is suitable for digital twin of physical entities in most industries at present through unifying the data structure of the entity model. In the production application, unified and rapid physical object digital twinning is realized, and the method is suitable for all-round object twinning.
Further, the data elements in the unified data structure of the entity model at least further comprise member information.
The member information is used for describing the difference information of different entity models, the entity models contain zero or at least one member information, and the data structure of the member information is provided with one data element or two data elements or a plurality of data elements according to the requirements of the entity models.
For example, in one example of the present embodiment, the data structure of the member information is set to include a member ID, a member name, a member data type, and a member value. Taking an automobile as an example, the color, the material, the weight and the like of the automobile can be represented by member information, wherein in member information 1, the member ID is 1, the name of the member is color, and the type of the member data is enumeration; in the member information 2, the member ID is 2, the member name is a material, and the member data type is enumeration; in the member information 3, the member ID is 3, the member name is weight, the member data type is a floating point type, and the like.
The member information is used for describing the difference of different entity models so as to meet the requirements of different application scenes, so that the data structure of the unified entity model meets the digital twin requirements of physical entities with difference information, the application range of the entity model of the unified data structure is increased, and the method is further suitable for all-round object twin.
Optionally, in another embodiment, after deleting the target entity model, the part entity model with the parent-child relationship is disassociated with the target entity model and is associated with the entity model of another physical entity; or when the part entity model moves out of the space range of the target entity model, the association relation with the target entity model is released.
In this embodiment, the manner of establishing the parent-child relationship between the part solid model whose parent-child relationship is released and the target solid model whose spatial range includes the part solid model may be: and when the target entity model for removing the father-son relationship is not deleted, inheriting the spatial attribute value of the father model of the part entity model before removing the father-son relationship, wherein the spatial attribute value of the father model is the unique identifier of the target entity model containing the father model, and the spatial range of the target entity model necessarily contains the spatial range of the part entity model. When the target entity model with the father-son relation removed is deleted, searching and identifying all entity models with the space scope containing the father-son relation, establishing a tree diagram according to the father-son relation among the entity models, finding out the father model of the target entity model with the father-son relation removed from the tree diagram, and establishing the father-son relation between the father model and the part entity model with the father-son relation removed from the tree diagram. In other embodiments, other methods may be employed, and are not described in detail herein.
Optionally, in another embodiment, the target entity model and the part entity model further include types, where the types are used for describing the types of the entity model, for example, the type of the part entity model a is a vehicle door, the type of the part entity model B is a vehicle cover, and the types are set, so that a user can know the types of the entity model in reality according to the types of the entity model.
Optionally, in another embodiment, the data structures of the target entity model and the part entity model at least include unique identifier, type, time attribute, spatial attribute, position attribute, coordinate information, shape information, gesture information and multiple member information, and by setting in this embodiment, the entity model is applicable to entity twinning in most scenes, and the application range of the data structure in this embodiment is wider, and can reflect the characteristics of different industries, and meet the requirements of industrialized production.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present invention.
Referring to fig. 4, in one embodiment of the present application, a subscription method for a current state of an entity is provided, including the following steps:
s10: respectively establishing a target physical model and at least one part physical model aiming at a currently existing target physical entity and at least one part physical entity which forms the association of the target physical entity, wherein the target physical model and the part physical model both comprise time attributes;
S11: setting time attribute values in the target solid model and at least one part solid model as the current moment;
s12: establishing an association relationship between the target entity model and at least one part entity model;
s13: when the state of the part entity model changes, the subscriber receives the change information of the part entity model associated with the target entity model.
Specifically, in this embodiment, an association relationship between the target entity model and the part entity model is established, and the entity model is subscribed by the association relationship, so that an effect of accurately subscribing the entity model with association can be achieved. In the industrialized production, there is a relationship of adherence cooperation between physical entities, the corresponding entity model is subscribed by the association relationship, and when the entity model with association changes, the change of other entity models related to the changed entity model can be known at the first time.
In this embodiment, the change of the state of the part solid model includes any one of the following situations: modifying the attribute of the part entity model, and deleting the part entity model from the associated target entity model; in other embodiments of the present application, new construction of part entity models may be further included, and details are not described herein; when the state of the part entity model changes, based on the association relation, the subscriber can receive the change information of the sub model in the target entity model.
Furthermore, the association relationship is data for reflecting the relationship between the entity models, and specific implementation can be unique identification, spatial attribute, position attribute and the like in the attribute of the entity model.
Referring to fig. 5, optionally, in another embodiment, the method further includes:
s14: after the at least one part entity model associated with the target entity model is built, the subscriber receives the building information of the part entity model associated with the target entity model.
Through the arrangement of the embodiment, newly-built information of the part entity model can be received, the life cycle of a target entity or the part entity can be monitored, for example, by taking industrial production as an example, a product processed in a certain workshop is a part entity model with a father-son relationship of the target entity model of the workshop, and when the product is transported to the workshop for processing, a subscriber receives information of a newly-added product in the workshop, so that the production rate, the yield, the processing state and other information of the product can be monitored in real time, and the industrial requirement can be met.
Referring to fig. 6, optionally, in another embodiment, S13 includes:
s131: inquiring whether a subscription item of a target entity model with an association relation with the part entity model exists or not when the state of the part entity model changes;
S132: and if so, releasing the change information of the part entity model.
At the time of subscription, according to different subscription information, a plurality of items of subscription items are included in the subscription information, and certain subscription information subscribes to the change information of the associated part entity model conforming to the target entity model of the subscription item.
Specifically, in this embodiment, the entity model is subscribed by the association relationship, so that an effect of accurately subscribing the entity model with association can be achieved. In the industrialized production, there is a relationship of adherence cooperation between physical entities, the corresponding entity model is subscribed by the association relationship, and when the entity model with association changes, the change of other entity models related to the changed entity model can be known at the first time.
Optionally, in another embodiment, S22 is further included: and generating subscription information by the association relation or association relation of the target entity model and/or the part entity model and other at least one attribute value, and subscribing the target entity model and/or the part entity model of the corresponding attribute value.
Specifically, in this embodiment, other attributes refer to other data elements in the data structure of the entity model, such as time attributes, shape information, and the like, except for the association relationship.
Receiving subscription content set by a subscriber and storing the subscription content as a subscription item, such as a unique identifier, when subscription information is constructed; subscription information, such as spatial attributes, may also be generated from attributes of the part solid model that are considered to be from the perspective; subscription information, such as unique identification + location attributes, may also be formed from the attributes of the target solid model and the part solid model, respectively.
Further, a filtering condition is set, and after the subscription content is obtained, the subscription content is filtered according to the filtering condition.
Further, the subscription item of the subscription information at least comprises a unique identifier, when the spatial attribute value of a part entity model is modified, the subscription item with the same value as the spatial attribute modified value is queried, and a part entity model change event is issued;
querying the subscription item with the same value as the space attribute before modification, and publishing the part entity model disassociation event.
An example of this embodiment is: the part entity model 1 moves into the target entity model 3 from the target entity model 2, the query attribute value is a subscription item of the target entity model 3, and if the query exists, the information that the part entity model 1 moves into the target entity model 3 is released; and querying the subscription item with the unique identifier being the target entity model 2, and if the subscription item is queried, publishing the information that the part entity model 1 moves out of the target entity model 2.
Optionally, in another embodiment, the subscription information adopts a unified data structure, and the content of the subscription items in the subscription information is set according to actual production conditions.
Further, the subscription information includes unique identification, spatial attribute, location attribute, type and filtering condition, and the embodiment is applicable to most of industrialized applications, and needs for subscription.
Further, in one example, when a subscription item in the subscription information includes a unique identification, when the attribute of the mockup is modified, all subscription items whose unique identifications are unique identifications of the mockup are queried. And if the subscription item is inquired, publishing the change information of the entity model. If the entity model is deleted, the process of publishing is modified and the entity model deletion event is published.
Further, in one example, when a subscription item of subscription information includes a spatial attribute and a filter term. When the part entity model is added to the target entity model, the part entity model needs to be bound to the target entity model, namely, the space attribute value of the part entity model is set as the unique identifier of the target entity model, and all subscription items of the space attribute value of the part entity model are inquired. If the subscription item is inquired, the entity model corresponding to the subscription item can perceive that the part entity model is added; if the subscription information corresponding to the subscription item is queried to have a filtering condition and the field is not empty, judging whether the added part entity model meets the filtering condition, if so, publishing the unique identification and the name information of the added part entity model, and if not, not publishing; if no filtering condition exists in the subscription information corresponding to the subscription item, directly publishing the unique identification and the name information of the added part entity model. When the part entity model is deleted and the attribute of the part entity model is modified, for example, the content of member information is modified, and the process of releasing the change information of the part entity model is the same as the release process when the part entity model is added.
Further, in one example, the subscription items of the subscription information at least further include a location attribute, when the location attribute value of a part entity model is modified, all the subscription items with the same location attribute value as the modified location attribute value are queried, and the event of moving into the part entity model is issued; querying all subscription items with the same position attribute value before modification, and issuing an event of moving out of the part entity model.
When the subscription item information includes location attributes and filtering conditions. After the position attribute value of the part entity model is modified, querying all subscription items with all position attributes being the current position attribute value of the entity model. If the subscription information of the queried subscription item has a filtering condition, judging whether the object meets the filtering condition, if so, publishing the unique identification and name information of the part entity model moved in by the new position and the part entity model moved in, and if not, not publishing; if the filtering condition of the subscription information in the subscription item is null, directly publishing. Querying all subscription items with all position attribute values being old position attribute values of the part entity model; if the subscription information corresponding to the subscription item is queried to have the filtering condition, judging whether the part entity model meets the filtering condition, if so, publishing the information of the part entity model shifted out from the old position, and if not, not publishing the unique identification and the name information of the shifted part entity model; if the filtering condition is empty, the method is directly released.
Further, in one example, the subscription items of subscription information include at least spatial attributes, types, and filtering conditions. When the part entity model is added to the target entity model, the part entity model needs to be bound to the target entity model, namely, the space attribute value of the part entity model is set as the unique identifier of the target entity model. All subscriptions whose spatial attributes are the spatial attribute values of the added part solid model are queried. If the subscription item is queried, and the type of the newly added part entity model is different from the type in the subscription information corresponding to the subscription item, not publishing; if the types are the same, judging whether the part entity model meets the filtering conditions in the queried subscription information, if so, issuing and creating the unique identification and the name information of the part entity model, and if not, not issuing. When deleting the part entity model and modifying the attribute of the part entity model, such as modifying member information and the like, the process of releasing the change information of the part entity model is simultaneously released in the adding process.
Further, in one example, the subscription items of subscription information include at least location attributes, types, and filtering conditions. And after the part entity model modifies the position attribute, querying all subscription items with all position attributes being the current position attribute value of the part entity model. If the subscription items are queried, and the types of the part entity models with the modified position attributes are different from the types in the subscription information corresponding to the queried subscription items, not publishing the subscription items; if the types are the same, and the subscription items of the subscription information have filtering conditions, judging whether the part entity model modified by the position attribute meets the filtering conditions, if so, publishing the unique identification and name information of the part entity model moved in by the new position, and if not, not publishing. Querying all subscription items with all position attributes being old position attribute values of the part entity model modified by the position attributes; if the subscription item is queried, and the subscription information corresponding to the queried subscription item has a filtering condition, judging whether the part entity model meets the filtering condition of the subscription information, if so, publishing the unique identification and name information of the part entity model shifted out from the old position and the shifted out part entity model, and if not, not publishing.
Further, in one example, the subscription items of subscription information include at least a unique identification, a spatial scope, and a filtering condition. When the part entity model is added to the target entity model, the part entity model needs to be bound to the target entity model, namely, the space attribute value of the part entity model is set as the unique identifier of the target entity model. When a part solid model is added to a target solid model, all subscription items uniquely identified as spatial attribute values of the part solid model are queried. If the subscription item is queried, obtaining a father model of the part entity model, namely a target entity model; in order to compare the relation between the shape information of the part entity model and the space range, the shape information of the part entity model needs to be converted into the coordinate system of the target entity model, then the coordinate system is compared with the space range of the target entity model, and if the shape information of the part entity model does not meet the space range, the coordinate system is not issued; if the shape information of the part entity model meets the space range, judging whether the added part entity model meets the filtering condition in the subscription item, if so, publishing and creating the unique identification and the name information of the part entity model, and if not, not publishing. And when deleting the part entity model and modifying the attribute of the part entity model, such as modifying member information and the like, releasing the change information of the part entity model and adding the change information.
Further, the subscription items of subscription information include at least a unique identification, a spatial range, a type, and a filtering condition. When the part entity model is added to the target entity model, the part entity model needs to be bound to the target entity model, namely, the space attribute value of the part entity model is set as the unique identifier of the target entity model. When the part entity model is added, querying all subscription items uniquely identified as the space attribute value of the part entity model; if the subscription item exists, a target entity model is obtained, and the coordinate system of the space range is the coordinate system of the target entity model; judging whether the part entity model accords with the type of subscription information corresponding to the subscription item, and if not, not publishing the part entity model; if yes, in order to compare the relation between the shape information of the part solid model and the space range, the shape information of the part solid model needs to be converted into the coordinate system of the target solid model, then the coordinate system is compared with the space range, and if the shape information of the part solid model does not meet the space range, the coordinate system is not released; if the shape information of the part entity model meets the spatial range, judging whether the part entity model meets the filtering condition in the subscription item, if so, issuing and creating the unique identification and the name information of the part entity model, and if not, not issuing. When deleting the part entity model and modifying the attribute of the part entity model, such as modifying member information and the like, the process of releasing the change information of the part entity model is simultaneously released in the adding process.
Referring to fig. 7, optionally, in another embodiment, the method further comprises:
s15: aiming at a target entity model, acquiring all incidence relations existing in the target entity model, and inquiring all part entity models associated with the target entity model by utilizing all incidence relations;
s16: and aiming at one part entity model, acquiring all incidence relations existing in the part entity model, and inquiring a target entity model associated with the part entity model and other part entity models associated with the target entity model by utilizing all incidence relations.
Specifically, in this embodiment, an association relationship is established between a target entity model and a part entity model, and a related part entity model can be queried by querying the association relationship of a certain target entity model.
In one example of this embodiment, after the association relationship is established, a label is set for the parent model, a label associated with the parent model is set for the child model, the association relationship is established by using label association, a certain target entity model is queried, the label on which the association relationship is represented is obtained, and all part entity models conforming to the label are queried by the label, so that the effect of rapid query is achieved.
If the label is aimed at a certain part entity model, the label representing the association relation on the part entity model is inquired, and then the target entity model associated with the label and the part entity model associated with the target entity model can be inquired.
In this embodiment, the method for establishing the association relationship is not limited to the tag, and may be established in a spatial position containing manner, which is not the focus of this embodiment and will not be described herein.
Through the setting of the method, the entity model can be queried according to the association relation, so that a required entity model can be queried rapidly, and other models related to a certain entity model can be queried.
Optionally, in another embodiment, an index is established based on the association relationship or association relationship of the target entity model and/or the part entity model and other at least one attribute value, and the target entity model and/or the part entity model corresponding to the attribute value is queried.
Other attributes of the target solid model and the part solid model are data elements in the data structure except the association relation, such as time attributes, shape information and the like.
In the embodiment, the index is built in a simple way, intermediate data conversion is not needed, the user can conveniently inquire, multiple inquiry requirements are met, only key-value inquiry is not supported singly, compared with sql inquiry, the user does not need to relate what the sql sentence is written, and the user can directly inquire in a fixed way.
And establishing an index by the association relation, and directly inquiring all the associated entity models according to the association relation.
And establishing indexes by the association relation and other attributes, and inquiring the associated entity models with the same attributes.
Further, filtering conditions are set, and after the query result is obtained, the query result is filtered according to the filtering conditions.
Specifically, through setting up the filter condition, can satisfy user's diversified demand, realize accurate inquiry.
The filter term supports filtering of all attributes and member information fields. For example, a target solid model "factory" is created first, and then a part solid model "production line" is created. When the production lines are created, the yield of the production lines is the yield of the member information, and each production line continuously updates the yield of the member information in real time in the production process. To find all production lines in the plant for which the current production is greater than 1000, then the filter condition may be written as "production >1000". After all production lines under the factory are searched according to the index, whether the real-time value of the member of the "yield" in all the searched production lines meets the condition of more than 1000 is compared. After comparison, returning all production lines meeting the condition, and if not, returning the number of the production lines to be 0.
Further, in one example, indexing is performed by the spatial attribute values to provide a model of a type of part within the query target model.
The space attribute value of the part entity model is the unique identifier of the target entity model bound by the part entity model, and all the part entity models with the same space attribute value are searched by the space attribute value. And filtering all the queried part entity models according to the filtering conditions. And finally organizing and sorting data according to attribute fields required by the user, and returning the data to the final result of the user.
Further, in one example, indexing is performed by the spatial attribute values and types to provide a model of a certain type of part within the query target model.
The space attribute value of the part entity model is the unique identification of the target entity model bound with the space attribute value, a joint index is established according to the space attribute and the type, and all the part entity models with the same space attribute value and type are searched according to the space attribute and the type. And filtering all the queried part entity models according to the filtering conditions. And finally organizing and sorting data according to attribute fields required by the user, and returning the data to the final result of the user.
Further, in one example, indexing is performed by the location attribute values to provide a part mockup at the location of the query target mockup.
The position attribute value of the part entity model is the unique identification of the part entity model at the position of the part entity model, namely the position attribute value can also inquire the related entity model with the association relation, an index is established according to the position attribute value, and all the part entity models positioned on the same part entity model are searched according to the position attribute. And filtering all the queried part entity models according to the filtering conditions. And finally organizing and sorting data according to attribute fields required by the user, and returning the data to the final result of the user.
Further, in one example, indexing is performed by the location attribute value and type to provide a model of a type of part at the location of the query target model.
The position attribute value of the part entity model is the unique identification of the part entity model at the position of the part entity model, a joint index is established according to the position attribute plus type, and all the part entity models which are on the same part entity model and have the same type are searched according to the position attribute plus type. And filtering all the queried part entity models according to the filtering conditions. And finally organizing and sorting data according to attribute fields required by the user, and returning the data to the final result of the user.
Further, in one example, indexing is performed by the unique identifier+spatial range to provide a part mockup within a spatial range within the query target mockup. The spatial range is a geometric range composed of specific coordinate values on the coordinate system of the target solid model.
The unique identifier is the space attribute value of the part entity model associated with the target entity model, the unique identifier establishes index inquiry, namely, the association relation establishes index, and the coordinate system of the inquiry range is the coordinate system of the target entity model; the query range and the queried part entity model need to be under the same coordinate system so as to use the Z space curve index technology, so that the shape information of the part entity model in the coordinate system of the target entity model is converted into the coordinate system of the target entity model, and then the shape information and/or envelope information of the part entity model is converted into a Z space curve index range value and stored in the data structure of the part entity model. And establishing a joint index of the unique identifier and the Z curve index range value of the target entity model. The query range is converted to a query range value under the Z-space curve. And then retrieving all part entity models meeting the conditions according to the unique identification and query range. And filtering all the queried part entity models according to the filtering conditions. And finally organizing and sorting data according to attribute fields required by the user, and returning the data to the final result of the user.
Further, in one example, an index is created from the unique identifier, the spatial range, and the type, and a part solid model of a type within a spatial range within the target solid model is queried, where the spatial range is a spatial range composed of specific coordinate values on the coordinate system of the target solid model.
The coordinate system of the query range is the coordinate system of the target entity model; the space range of the query and the queried part entity model are needed to be in the same coordinate system, so that the Z space curve indexing technology is convenient to use, and the shape information of the part entity model is converted into the coordinate system of the target entity model. And converting the shape information and/or the envelope information of the part solid model into Z space curve index range values, and storing the Z space curve index range values into a data structure of the part solid model. And establishing a joint index of the unique identification+type+Z curve index range value of the target entity model. The query range is converted to a query range value under the Z-space curve. And then retrieving all part entity models meeting the conditions according to the unique identification, the type and the query range. And filtering all the queried part entity models according to the filtering conditions. And finally organizing and sorting data according to attribute fields required by the user, and returning the data to the final result of the user.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present invention.
Referring to fig. 8, in one embodiment of the present application, a subscription method for a current state of an entity is provided, including the following steps:
s20: respectively establishing a target physical model and at least one part physical model aiming at a currently existing target physical entity and at least one part physical entity forming the target physical entity, wherein the target physical model and the part physical model at least comprise a space range, and the space range is used for describing a range formed by coordinate values of the target physical model or the part physical model in a coordinate system;
s21: when the space range of the part entity model and the space range of the target entity model overlap, the subscriber receives the change information of the part entity model.
Specifically, in this embodiment, a coordinate system is pre-established, and the manner of establishing the coordinate system may be: 1. establishing a first coordinate system of a target solid model, wherein the spatial range value of the target solid model is a coordinate value in the first coordinate system, and the spatial range value of the part solid model refers to the first coordinate system; 2. and establishing a first coordinate system of the target solid model, and establishing a second coordinate system of the part solid model, wherein the first coordinate system and the second coordinate system have a relative position relationship, and the relative position relationship in the embodiment is that the coordinates in the first coordinate system can be converted into the second coordinate system.
When the part solid model moves into or is newly built in the target solid model, the space range of the part solid model is partially overlapped with the target solid model or the space range of the target solid model comprises the space range of the part solid model, and the relation between the space range of the part solid model and the space range of the target solid model is judged, so that the part solid model and the target solid model need to be converted into the same coordinate system.
Through the arrangement of the embodiment, the relationship between the spatial ranges of the part entity model and the target entity model enables the part entity model to be associated with the target entity model, and the change information of the part entity model with the association relationship with the target entity model can be rapidly subscribed by the association.
Referring to fig. 9, optionally, in another embodiment, the method further includes:
s22: when the spatial range of the part solid model and the spatial range of the target solid model are overlapped for the first time, the subscriber receives the moving-in information of the part solid model in the target solid model.
Optionally, in another embodiment, S21 further includes:
s211: when the part entity model changes, inquiring the space ranges of the target entity models corresponding to all the space range subscription items, and judging whether the space ranges of the part entity model overlap with the space ranges of the target entity models corresponding to the space range subscription items;
S212: and if the parts overlap, releasing the change information of the part entity model.
In this embodiment, the change of the part solid model includes any one of the following cases: the attribute of the part solid model in the space range of the target solid model is modified, and the part solid model is moved out of the space range of the target solid model.
Optionally, in another embodiment, the method further comprises:
s23: aiming at a target entity model, inquiring all part entity models in the space range of the target entity model according to the space range of the target entity model;
s24: and inquiring a target solid model of which the space range comprises the space range of the part solid model and/or other part solid models of which the space range comprises aiming at one part solid model according to the space range of the part solid model.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present invention.
In one embodiment of the present application, a twinning system of a current state of an entity is provided, where the twinning system of the current state of the entity corresponds to the twinning method of the current state of the entity in the above embodiment one by one. The twinning system of the current state of the entity comprises:
The model building module is used for building a target entity model and at least one part entity model respectively aiming at a currently existing target physical entity and at least one part physical entity forming the target physical entity, wherein the target entity model and the part entity model both comprise time attributes;
the attribute setting module is used for setting time attribute values in the target entity model and at least one part entity model as the current moment;
and the association relation establishment model is used for establishing the association relation between the target entity model and at least one part entity model.
Optionally, in another embodiment, the association relationship is a parent-child relationship, the target entity model with the parent-child relationship is a parent model, and the part entity model is a child model.
Optionally, in another embodiment, the target solid model in the parent-child relationship is the only parent model of the part solid model.
Optionally, in another embodiment, the target solid model and the part solid model each include a spatial attribute, and the spatial attribute describes a spatial size of the target solid model or the part solid model.
Optionally, the spatial attribute is described by a spatial range, and the spatial range describes a geometric range formed by coordinate values of the target solid model or the part solid model in a coordinate system;
The spatial range of the part entity model of the part physical entity with the parent-child relationship is smaller than or equal to the spatial range of the target entity model of the target physical entity.
Optionally, in another embodiment, the target entity model and the part entity model further include unique identifiers, and the unique identifiers are used for uniquely mapping the corresponding target entity model or the part entity model.
Optionally, in another embodiment, a first coordinate system is established in the target entity model of the target physical entity, the spatial position of the origin of the first coordinate system relative to the target entity model is kept fixed, the spatial attribute value of the part entity model of the part physical entity adopts the first coordinate system as a reference coordinate system, wherein,
when the target entity model moves, the part entity model with the father-son relationship with the target entity model moves along with the target entity model.
Optionally, in another embodiment, a first coordinate system is established in the target entity model of the target physical entity, the spatial position of the origin of the first coordinate system relative to the target entity model is kept fixed, a second coordinate system corresponding to the part entity model is established according to the first coordinate system, and a relative position relationship exists between the first coordinate system and the second coordinate system,
And according to the spatial range of the part entity model and the second coordinate system with the relative position relationship, when the target entity model moves, the part entity model with the father-son relationship with the target entity model moves along with the target entity model.
Optionally, in another embodiment, the part entity model further includes a location attribute, and the part entity model further includes a location attribute, where the location attribute describes a spatial range of the part entity model except for any one of other part entity models outside a spatial range of the part entity model in a spatial range of a target entity model having a parent-child relationship.
Optionally, in another embodiment, when moving the part solid model, the position attribute value of the part solid model is modified to be the unique identification of the other part solid model of the spatial position to which the part solid model needs to be moved.
Optionally, in another embodiment, the target solid model and the part solid model each include shape information and posture information, where the shape information is coordinate data of a description shape of the target solid model in a first coordinate system or the part solid model in a second coordinate system; the gesture information describes data describing rotation of the target solid model or the part solid model in a first coordinate system or a second coordinate system of the target solid model or the part solid model.
Optionally, in another embodiment, after deleting the target entity model, the part entity model with the parent-child relationship is disassociated with the target entity model; or alternatively, the first and second heat exchangers may be,
and when the part entity model moves out of the spatial range of the target entity model, the association relation with the target entity model is released.
Optionally, in another embodiment, the target entity model and the part entity model each further include member information, and the member information describes difference information of the target entity model or the part entity model.
The above-mentioned respective modules of the twin system of the current state of the physical object may be implemented in whole or in part by software, hardware, and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In an embodiment of the present application, a subscription system for a current state of an entity is provided, where the query system for the current state of the entity corresponds to the subscription method for the current state of the entity in the foregoing embodiment one by one. The subscription system of the current state of the entity comprises:
The model building module is used for building a target entity model and at least one part entity model respectively aiming at a currently existing target physical entity and at least one part physical entity forming the target physical entity, wherein the target entity model and the part entity model both comprise time attributes;
the attribute setting module is used for setting time attribute values in the target entity model and at least one part entity model as the current moment;
the association relation establishing model is used for establishing the association relation between the target entity model and at least one part entity model;
the first distribution module is used for receiving the change information of the part entity model associated with the target entity model by the subscriber when the state of the part entity model changes.
Further, in another embodiment, the first distribution module is further configured to receive, by the subscriber, creation information of the part mockup associated with the target mockup after the creation of the at least one part mockup associated with the target mockup is completed.
Further, in another embodiment, the first distribution module is further configured to query whether there is a subscription item of a target entity model having an association relationship with the part entity model when a state of the part entity model changes; and if so, releasing the change information of the part entity model.
Further, in another embodiment, the changing the state of the part solid model includes any one of the following situations: and modifying the attribute of the part entity model, and deleting the part entity model from the associated target entity model.
Further, in another embodiment, the system further includes a first query module, configured to obtain, for a target entity model, all association relationships existing in the target entity model, and query, using all the association relationships, all part entity models associated with the target entity model;
the second query module is used for acquiring all incidence relations existing in the part entity model aiming at one part entity model, and querying a target entity model associated with the part entity model and other part entity models associated with the target entity model by utilizing all incidence relations.
The above-mentioned subscription system modules of the current state of the entity can be implemented in whole or in part by software, hardware and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In an embodiment of the present application, a subscription system for a current state of an entity is provided, where the subscription system for the current state of the entity corresponds to the subscription method for the current state of the entity in the foregoing embodiment one by one. The subscription system of the current state of the entity comprises:
the third query module is used for respectively establishing a target entity model and at least one part entity model aiming at a currently existing target physical entity and at least one part physical entity forming the target physical entity, wherein the target entity model and the part entity model at least comprise a space range, and the space range is used for describing a range formed by coordinate values of the target entity model or the part entity model in a coordinate system;
and the second publishing module is used for receiving the change information of the part entity model by the subscriber when the space range of the part entity model and the space range of the target entity model are overlapped.
Further, in another embodiment, the second publishing module is further configured to receive, by the subscriber, information of an ingress of the part solid model into the target solid model when the spatial range of the part solid model and the spatial range of the target solid model overlap for the first time.
Further, in another embodiment, the second publishing module is further configured to query a spatial range of a target entity model corresponding to all the spatial range subscription items when the part entity model changes, and determine whether the spatial range of the part entity model overlaps with the spatial range of the target entity model corresponding to the spatial range subscription item; and if the parts overlap, releasing the change information of the part entity model.
Further, in another embodiment, the changing of the part solid model includes any one of the following cases: the attribute of the part solid model in the space range of the target solid model is modified, and the part solid model is moved out of the space range of the target solid model.
Further, in another embodiment, the system further comprises:
the fourth query module is used for querying all part entity models in a space range of a target entity model according to the space range of the target entity model;
and a fifth query module, configured to query, for a part solid model, a target solid model whose spatial range includes the spatial range of the part solid model and/or other part solid models included in the spatial range of the target solid model according to the spatial range of the part solid model.
The above-mentioned subscription system modules of the current state of the entity can be implemented in whole or in part by software, hardware and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment of the present application, a computer readable storage medium is provided, which stores a computer program, which when executed by a processor, implements the twinning method steps of the current state of the entity described in the above embodiments. The computer readable storage medium includes ROM (Read-Only Memory), RAM (Random-Access Memory), CD-ROM (Compact Disc Read-Only Memory), magnetic disk, floppy disk, and the like.
In one embodiment of the present application, a computer readable storage medium is provided, where a computer program is stored, where the computer program is executed by a processor to implement the steps of the subscription method for the current state of the entity in the embodiment described above. The computer readable storage medium includes ROM (Read-Only Memory), RAM (Random-Access Memory), CD-ROM (Compact Disc Read-Only Memory), magnetic disk, floppy disk, and the like.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the system described in the present application is divided into different functional units or modules to perform all or part of the above-described functions.

Claims (24)

1. A twinning method of the current state of a physical object is characterized in that,
respectively establishing a target entity model and at least one part entity model aiming at a currently existing target physical entity and at least one part physical entity forming the target physical entity, wherein the target entity model and the part entity model comprise time attributes, space attributes and unique identifiers;
setting time attribute values in the target solid model and at least one part solid model as the current moment;
establishing an association relation between a target entity model and at least one part entity model, wherein the association relation is a father-son relation, the target entity model with the father-son relation is a father model, and the part entity model is a child model; the target entity model in the father-son relationship is the unique father model of the part entity model;
The target entity model and the part entity model with the father-son relationship are both in the same coordinate system, the target entity model is a space formed by coordinates in the coordinate system, and the part entity model is a space formed by corresponding coordinates in the coordinate system;
the space attribute is used for describing that the space range of the target entity model which is positioned in the same coordinate system and has the father-son relationship comprises the space range of the part entity model so as to indicate the space father-son relationship existing between the target entity model and the part entity model, and the part entity model is positioned in the space range of the target entity model by utilizing the inheritance of the space father-son relationship;
the space attribute value of the space attribute comprises unique identifiers of all part entity models related to the target entity model and father and son thereof, and the space attribute value is used for indicating that a space containing relationship exists between the target entity model and the part entity model which are positioned in the same coordinate system and have father-son relationship; the unique identifier is used for uniquely mapping a corresponding target entity model or part entity model.
2. The method of claim 1, wherein the spatial attributes describe a spatial size of a target solid model or a part solid model.
3. The method of claim 2, wherein the spatial attributes are described by a spatial range describing a geometric range formed by coordinate values of the target solid model or the part solid model in a coordinate system;
the spatial range of the part entity model of the part physical entity with the parent-child relationship is smaller than or equal to the spatial range of the target entity model of the target physical entity.
4. A twin method as defined in claim 3, in which the method further comprises:
establishing a first coordinate system in a target entity model of a target physical entity, wherein the spatial position of an origin of the first coordinate system relative to the target entity model is kept fixed, the spatial attribute value of a part entity model of a part physical entity adopts the first coordinate system as a reference coordinate system,
when the target entity model moves, the part entity model with the father-son relationship with the target entity model moves along with the target entity model.
5. A twin method as defined in claim 3, in which the method further comprises:
a first coordinate system is established in a target entity model of a target physical entity, the space position of an origin of the first coordinate system relative to the target entity model is kept fixed, a second coordinate system corresponding to the part entity model is established according to the first coordinate system, a relative position relation exists between the first coordinate system and the second coordinate system,
And according to the spatial range of the part entity model and the second coordinate system with the relative position relationship, when the target entity model moves, the part entity model with the father-son relationship with the target entity model moves along with the target entity model.
6. The method of claim 2, wherein the part solid model further comprises a location attribute describing a spatial extent of the part solid model within a spatial extent of a target solid model having a parent-child relationship excluding a spatial extent of any other part solid model of the part solid model.
7. The method of claim 6, wherein when moving the part solid model, modifying the position attribute value of the part solid model to be a unique identifier of the other part solid model corresponding to the spatial range to be moved.
8. A method of twinning a current state of an entity according to claim 3, the method further comprising:
the target solid model and the part solid model comprise shape information and gesture information, and the shape information is coordinate data of a description shape of the target solid model in a first coordinate system or the part solid model in a second coordinate system; the gesture information describes data describing rotation of the target solid model or the part solid model in a first coordinate system or a second coordinate system of the target solid model or the part solid model.
9. The method of twinning a current state of an entity of claim 1, further comprising:
after deleting the target entity model, the part entity model with the father-son relationship with the target entity model is disassociated with the target entity model; or alternatively, the first and second heat exchangers may be,
and when the part entity model moves out of the spatial range of the target entity model, the association relation with the target entity model is released.
10. The method of claim 1, wherein the target solid model and the part solid model each further comprise member information, and the member information describes difference information of the target solid model or the part solid model.
11. A subscription method for a current state of an entity, comprising:
respectively establishing a target entity model and at least one part entity model aiming at a currently existing target physical entity and at least one part physical entity forming the target physical entity, wherein the target entity model and the part entity model comprise time attributes, space attributes and unique identifiers;
setting time attribute values in the target solid model and at least one part solid model as the current moment;
Establishing an association relation between a target entity model and at least one part entity model, wherein the association relation is a father-son relation, the target entity model with the father-son relation is a father model, and the part entity model is a child model;
the target entity model and the part entity model with the father-son relationship are both in the same coordinate system, the target entity model is a space formed by coordinates in the coordinate system, and the part entity model is a space formed by corresponding coordinates in the coordinate system;
the space attribute is used for describing that the space range of the target entity model which is positioned in the same coordinate system and has the father-son relationship comprises the space range of the part entity model so as to indicate the space father-son relationship existing between the target entity model and the part entity model, and the part entity model is positioned in the space range of the target entity model by utilizing the inheritance of the space father-son relationship;
the space attribute value of the space attribute comprises unique identifiers of all part entity models related to the target entity model and father and son thereof, and the space attribute value is used for indicating that a space containing relationship exists between the target entity model and the part entity model which are positioned in the same coordinate system and have father-son relationship; the unique identifier is used for uniquely mapping a corresponding target entity model or part entity model;
When the state of the part entity model changes, the subscriber receives the change information of the part entity model associated with the target entity model.
12. The subscription method of claim 11, further comprising:
after the at least one part entity model associated with the target entity model is built, the subscriber receives the building information of the part entity model associated with the target entity model.
13. The subscription method according to claim 11 or 12, wherein the subscriber receives change information of the part entity model associated with the target entity model when the state of the part entity model changes, comprising:
inquiring whether a subscription item of a target entity model with an association relation with the part entity model exists or not when the state of the part entity model changes;
and if so, releasing the change information of the part entity model.
14. The subscription method of claim 11, wherein the change in the state of the part entity model comprises any one of: and modifying the attribute of the part entity model, and deleting the part entity model from the associated target entity model.
15. The subscription method of claim 11, wherein the method further comprises:
aiming at a target entity model, acquiring all incidence relations existing in the target entity model, and inquiring all part entity models associated with the target entity model by utilizing all incidence relations;
and aiming at one part entity model, acquiring all incidence relations existing in the part entity model, and inquiring a target entity model associated with the part entity model and other part entity models associated with the target entity model by utilizing all incidence relations.
16. A subscription method for a current state of an entity, comprising:
respectively establishing a target entity model and at least one part entity model aiming at a currently existing target physical entity and at least one part physical entity forming the target physical entity, wherein the target entity model and the part entity model at least comprise spatial attributes and unique identifiers; the spatial attribute is described by a spatial range, and the spatial range is used for describing a range formed by coordinate values of the target entity model or the part entity model in a coordinate system;
When the space range of the part entity model and the space range of the target entity model are overlapped, the subscriber receives the change information of the part entity model;
the target entity model and the part entity model with the father-son relationship are both in the same coordinate system, the target entity model is a space formed by coordinates in the coordinate system, and the part entity model is a space formed by corresponding coordinates in the coordinate system; the target entity model in the father-son relationship is the unique father model of the part entity model;
the space attribute is used for describing that the space range of the target entity model which is positioned in the same coordinate system and has the father-son relationship comprises the space range of the part entity model so as to indicate the space father-son relationship existing between the target entity model and the part entity model, and the part entity model is positioned in the space range of the target entity model by utilizing the inheritance of the space father-son relationship;
the space attribute value of the space attribute comprises unique identifiers of all part entity models related to the target entity model and father and son thereof, and the space attribute value is used for indicating that a space containing relationship exists between the target entity model and the part entity model which are positioned in the same coordinate system and have father-son relationship; the unique identifier is used for uniquely mapping a corresponding target entity model or part entity model.
17. The method according to claim 16, wherein the receiving, by the subscriber, the change information of the part solid model in the target solid model when the spatial range of the part solid model and the spatial range of the target solid model overlap includes:
when the spatial range of the part solid model and the spatial range of the target solid model are overlapped for the first time, the subscriber receives the moving-in information of the part solid model in the target solid model.
18. The subscription method according to claim 16 or 17, wherein the subscriber receiving the change information of the part solid model in the target solid model when the spatial range of the part solid model and the spatial range of the target solid model overlap comprises:
when the part entity model changes, inquiring the space ranges of the target entity models corresponding to all the space range subscription items, and judging whether the space ranges of the part entity model overlap with the space ranges of the target entity models corresponding to the space range subscription items;
and if the parts overlap, releasing the change information of the part entity model.
19. The subscription method of claim 18, wherein the part entity model changes include any one of the following: the attribute of the part solid model in the space range of the target solid model is modified, and the part solid model is moved out of the space range of the target solid model.
20. The subscription method of claim 16, wherein the method further comprises:
aiming at a target entity model, inquiring all part entity models in the space range of the target entity model according to the space range of the target entity model;
and inquiring a target solid model of which the space range comprises the space range of the part solid model and/or other part solid models of which the space range comprises aiming at one part solid model according to the space range of the part solid model.
21. A twinning system for a current state of a physical object, the system comprising:
the model building module is used for building a target entity model and at least one part entity model respectively aiming at a currently existing target physical entity and at least one part physical entity forming the target physical entity, wherein the target entity model and the part entity model comprise time attributes, space attributes and unique identifiers;
the attribute setting module is used for setting time attribute values in the target entity model and at least one part entity model as the current moment;
the method comprises the steps of establishing a model by using an association relation, wherein the association relation is used for establishing an association relation between a target entity model and at least one part entity model, the association relation is a father-son relation, the target entity model with the father-son relation is a father model, and the part entity model is a child model; the target entity model in the father-son relationship is the unique father model of the part entity model;
The target entity model and the part entity model with the father-son relationship are both in the same coordinate system, the target entity model is a space formed by coordinates in the coordinate system, and the part entity model is a space formed by corresponding coordinates in the coordinate system;
the space attribute is used for describing that the space range of the target entity model which is positioned in the same coordinate system and has the father-son relationship comprises the space range of the part entity model so as to indicate the space father-son relationship existing between the target entity model and the part entity model, and the part entity model is positioned in the space range of the target entity model by utilizing the inheritance of the space father-son relationship;
the space attribute value of the space attribute comprises unique identifiers of all part entity models related to the target entity model and father and son thereof, and the space attribute value is used for indicating that a space containing relationship exists between the target entity model and the part entity model which are positioned in the same coordinate system and have father-son relationship; the unique identifier is used for uniquely mapping a corresponding target entity model or part entity model.
22. A subscription system for a current state of an entity, the system comprising:
The model building module is used for building a target entity model and at least one part entity model respectively aiming at a currently existing target physical entity and at least one part physical entity forming the target physical entity, wherein the target entity model and the part entity model comprise time attributes, space attributes and unique identifiers;
the attribute setting module is used for setting time attribute values in the target entity model and at least one part entity model as the current moment;
the method comprises the steps of establishing a model by using an association relation, wherein the association relation is used for establishing an association relation between a target entity model and at least one part entity model, the association relation is a father-son relation, the target entity model with the father-son relation is a father model, and the part entity model is a child model; the target entity model in the father-son relationship is the unique father model of the part entity model;
the target entity model and the part entity model with the father-son relationship are both in the same coordinate system, the target entity model is a space formed by coordinates in the coordinate system, and the part entity model is a space formed by corresponding coordinates in the coordinate system;
the space attribute is used for describing that the space range of the target entity model which is positioned in the same coordinate system and has the father-son relationship comprises the space range of the part entity model so as to indicate the space father-son relationship existing between the target entity model and the part entity model, and the part entity model is positioned in the space range of the target entity model by utilizing the inheritance of the space father-son relationship;
The space attribute value of the space attribute comprises unique identifiers of all part entity models related to the target entity model and father and son thereof, and the space attribute value is used for indicating that a space containing relationship exists between the target entity model and the part entity model which are positioned in the same coordinate system and have father-son relationship; the unique identifier is used for uniquely mapping a corresponding target entity model or part entity model;
the first distribution module is used for receiving the change information of the part entity model associated with the target entity model by the subscriber when the state of the part entity model changes.
23. A subscription system for a current state of an entity, the system comprising:
the third query module is used for respectively establishing a target entity model and at least one part entity model aiming at a currently existing target physical entity and at least one part physical entity forming the target physical entity, wherein the target entity model and the part entity model at least comprise a space attribute and a unique identifier; the spatial attribute is described by a spatial range, and the spatial range is used for describing a range formed by coordinate values of the target entity model or the part entity model in a coordinate system;
The second publishing module is used for receiving the change information of the part entity model by the subscriber when the space range of the part entity model and the space range of the target entity model are overlapped;
the target entity model and the part entity model with the father-son relationship are both in the same coordinate system, the target entity model is a space formed by coordinates in the coordinate system, and the part entity model is a space formed by corresponding coordinates in the coordinate system; the target entity model in the father-son relationship is the unique father model of the part entity model;
the space attribute is used for describing that the space range of the target entity model which is positioned in the same coordinate system and has the father-son relationship comprises the space range of the part entity model so as to indicate the space father-son relationship existing between the target entity model and the part entity model, and the part entity model is positioned in the space range of the target entity model by utilizing the inheritance of the space father-son relationship;
the space attribute value of the space attribute comprises unique identifiers of all part entity models related to the target entity model and father and son thereof, and the space attribute value is used for indicating that a space containing relationship exists between the target entity model and the part entity model which are positioned in the same coordinate system and have father-son relationship; the unique identifier is used for uniquely mapping a corresponding target entity model or part entity model.
24. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, implements the steps of the method of any one of claims 1 to 20.
CN202210760272.6A 2022-06-30 2022-06-30 Twinning method, subscribing method and system for current state of entity Active CN115270213B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210760272.6A CN115270213B (en) 2022-06-30 2022-06-30 Twinning method, subscribing method and system for current state of entity
PCT/CN2023/104171 WO2024002294A1 (en) 2022-06-30 2023-06-29 Twinning method for current state of target object, subscription method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210760272.6A CN115270213B (en) 2022-06-30 2022-06-30 Twinning method, subscribing method and system for current state of entity

Publications (2)

Publication Number Publication Date
CN115270213A CN115270213A (en) 2022-11-01
CN115270213B true CN115270213B (en) 2024-03-01

Family

ID=83762407

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210760272.6A Active CN115270213B (en) 2022-06-30 2022-06-30 Twinning method, subscribing method and system for current state of entity

Country Status (1)

Country Link
CN (1) CN115270213B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024002294A1 (en) * 2022-06-30 2024-01-04 北京亚控科技发展有限公司 Twinning method for current state of target object, subscription method and system

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101149843A (en) * 2007-10-10 2008-03-26 深圳先进技术研究院 Succession type automatic generation and real time updating method for digital city
CN105447520A (en) * 2015-11-23 2016-03-30 盐城工学院 Sample classification method based on weighted PTSVM (projection twin support vector machine)
CN106294887A (en) * 2016-10-24 2017-01-04 北京亚控科技发展有限公司 The object that objective world is existed based on space-time and the description method of event
CN110658795A (en) * 2019-10-10 2020-01-07 北京航空航天大学 Accurate fusion method and system for digital twin data
CN110766790A (en) * 2019-10-21 2020-02-07 中国铁路设计集团有限公司 Parameter-driven self-adaptive multi-level three-dimensional visualization method for high-speed railway bridge
CN111562769A (en) * 2019-02-14 2020-08-21 罗克韦尔自动化技术公司 AI extension and intelligent model validation for industrial digital twinning
CN112068495A (en) * 2019-06-10 2020-12-11 费希尔-罗斯蒙特系统公司 Publish/subscribe protocol for real-time process control
CN113378011A (en) * 2021-06-17 2021-09-10 北京卫星环境工程研究所 Method and system for constructing complex product final assembly digital twin body
CN113806940A (en) * 2021-09-18 2021-12-17 中国科学技术大学 Method for representing and naming a number twin
CN113837586A (en) * 2021-09-17 2021-12-24 许昌许继软件技术有限公司 Virtual-real synchronous operation method and device of digital twin transformer substation
CN114067234A (en) * 2021-10-12 2022-02-18 国网福建省电力有限公司 Power grid digital twin body data embedding method and system
CN114299390A (en) * 2021-12-27 2022-04-08 烟台杰瑞石油服务集团股份有限公司 Method and device for determining maintenance component demonstration video and safety helmet

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101149843A (en) * 2007-10-10 2008-03-26 深圳先进技术研究院 Succession type automatic generation and real time updating method for digital city
CN105447520A (en) * 2015-11-23 2016-03-30 盐城工学院 Sample classification method based on weighted PTSVM (projection twin support vector machine)
CN106294887A (en) * 2016-10-24 2017-01-04 北京亚控科技发展有限公司 The object that objective world is existed based on space-time and the description method of event
CN111562769A (en) * 2019-02-14 2020-08-21 罗克韦尔自动化技术公司 AI extension and intelligent model validation for industrial digital twinning
CN112068495A (en) * 2019-06-10 2020-12-11 费希尔-罗斯蒙特系统公司 Publish/subscribe protocol for real-time process control
CN110658795A (en) * 2019-10-10 2020-01-07 北京航空航天大学 Accurate fusion method and system for digital twin data
CN110766790A (en) * 2019-10-21 2020-02-07 中国铁路设计集团有限公司 Parameter-driven self-adaptive multi-level three-dimensional visualization method for high-speed railway bridge
CN113378011A (en) * 2021-06-17 2021-09-10 北京卫星环境工程研究所 Method and system for constructing complex product final assembly digital twin body
CN113837586A (en) * 2021-09-17 2021-12-24 许昌许继软件技术有限公司 Virtual-real synchronous operation method and device of digital twin transformer substation
CN113806940A (en) * 2021-09-18 2021-12-17 中国科学技术大学 Method for representing and naming a number twin
CN114067234A (en) * 2021-10-12 2022-02-18 国网福建省电力有限公司 Power grid digital twin body data embedding method and system
CN114299390A (en) * 2021-12-27 2022-04-08 烟台杰瑞石油服务集团股份有限公司 Method and device for determining maintenance component demonstration video and safety helmet

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
区域多能源系统数字孪生应用平台构建;唐学用 等;《电子技术应用》;48(1);第64页 *
唐学用 等.区域多能源系统数字孪生应用平台构建.《电子技术应用》.2022,48(1),第64页. *

Also Published As

Publication number Publication date
CN115270213A (en) 2022-11-01

Similar Documents

Publication Publication Date Title
CN112818446B (en) Construction method of intelligent workshop digital twin system
CN108009979B (en) Three-dimensional point cloud compression storage method and system based on space-time data fusion
CA2642553C (en) Integrating object-oriented design software with record-based cad software
CN115270213B (en) Twinning method, subscribing method and system for current state of entity
CN103714129A (en) Device and method for buildingg dynamic data structures and relationships based on condition rules
CN111506950B (en) BIM structure transformation increment information generation and storage system and method
CN1710607A (en) 3-D scene organization method facing to virtual reality 3-D picture engine
CN114373111A (en) Fusion method based on twin data driving and engine system
CN105787808A (en) IEC61968 standard document generation system and method based on generic programming and reflection mechanism
CN106844610B (en) Distributed structured three-dimensional point cloud image processing method and system
CN111400389A (en) IFC expansion-based operation and maintenance 5D-BIM data integration and sharing system
CN115017140A (en) Model construction method, model data subscription method, model construction device, model data subscription device, electronic equipment and medium
CN115098472A (en) Digital twinning method, device and equipment for full life cycle of physical entity
CN113987024A (en) Non-inductive intelligent retrieval method based on remote sensing space big data
WO2024002292A1 (en) Model construction and model data subscription method and apparatus, electronic device and medium
CN115270419B (en) Twin method, subscription method and system for current state of real-time event
WO2024002294A1 (en) Twinning method for current state of target object, subscription method and system
CN114201594A (en) Robot skill operating method, terminal and medium based on parameter expression knowledge base
CN115129909A (en) Method and device for twin and subscription of historical state of entity
CN114416836A (en) Multi-source heterogeneous CIM database fusion access system and method
CN114282029A (en) Primitive management method and device, electronic equipment and storage medium
Roxin et al. Semantic interoperability between BIM and GIS–review of existing standards and depiction of a novel approach
CN112800056A (en) Multi-layer index construction method based on multi-granularity space-time data
CN107273464B (en) Distributed measurement similarity query processing method based on publish/subscribe mode
JP2519760B2 (en) Access method in data processor

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