The invention provides a device for building
dynamic data structures and relationships based on condition rules. The device comprises a dynamic entity
object model building module, a dynamic entity object deploying module and a dynamic entity object accessing module, wherein the dynamic entity
object model building module has a function of enabling a user to define variable properties and relationships of entity objects; the dynamic entity
object model building module is used for outputting an entity define file; the dynamic entity object deploying module is used for mapping an entity object model to a
database physical
storage structure by taking the entity define file as input to realize physical deploy of the dynamic entity objects; and the dynamic entity object accessing module is used for providing access service of the dynamic entity objects and enabling a user application program to create, use and store object instances. The invention also provides a method for building
dynamic data structures and relationships based on condition rules. Through the device and method for building
dynamic data structures and relationships based on condition rules,
static data structures and relationships, commonly used for building systems, are broken through; and due to adoption of
dynamic data structures and relationships,
software developers can solve more complex business problems.