CN112463788A - Entity organization tree construction method, entity calling method and product in building control system - Google Patents

Entity organization tree construction method, entity calling method and product in building control system Download PDF

Info

Publication number
CN112463788A
CN112463788A CN201910864842.4A CN201910864842A CN112463788A CN 112463788 A CN112463788 A CN 112463788A CN 201910864842 A CN201910864842 A CN 201910864842A CN 112463788 A CN112463788 A CN 112463788A
Authority
CN
China
Prior art keywords
entity
organization tree
nodes
control system
tag
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910864842.4A
Other languages
Chinese (zh)
Inventor
张超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum Technology 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 Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201910864842.4A priority Critical patent/CN112463788A/en
Publication of CN112463788A publication Critical patent/CN112463788A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • G06F16/2246Trees, e.g. B+trees
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • G06F16/288Entity relationship models

Landscapes

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

Abstract

The application relates to a method and a product for building an entity organization tree in a building control system and calling an entity in the building control system. The method comprises the following steps: constructing a hierarchical entity organization tree according to the position relationship among a plurality of entities in the building control system; the entity organization tree comprises a plurality of nodes, and the nodes correspond to the entities one by one; adding custom tags to a plurality of the nodes in the entity organization tree; wherein the custom tag comprises an extended attribute tag. By adopting the method, the entity redundancy can be avoided, so that the entity calling is more convenient.

Description

Entity organization tree construction method, entity calling method and product in building control system
Technical Field
The application relates to the technical field of building design, in particular to a method for constructing an entity organization tree in a building control system, an entity calling method and a product.
Background
In an intelligent building control system, the relationships among objects such as buildings, energy consumption systems, equipment, point locations and the like are complicated, and under different application scenes, different equipment, buildings and the like have different relationships, for example, air-conditioning equipment is located at one floor of a building A, belongs to an air side system, has a control relationship with certain cooling equipment under a three-layer water system, and can control a plurality of variable air volume air-conditioning equipment.
In traditional design software, each object appears as a node, and when an entity needs to be called in multiple dimensions, multiple entity organization trees are usually established for the entity, and then calling is realized through the relationship among the nodes in different entity organization trees. For example, a position entity organization tree is constructed according to the position relationship of the nodes, or a functional entity organization tree is constructed according to the functional system to which the nodes belong.
However, the method of defining objects in a building control system by constructing a plurality of entity organization trees causes entity redundancy and inconvenience in operation.
Disclosure of Invention
In view of the above, it is necessary to provide a method for constructing an entity organization tree in a building control system, a method for calling an entity in a building control system, an apparatus, a computer device and a storage medium, which can avoid entity redundancy.
In a first aspect, an embodiment of the present application provides a method for constructing an entity organization tree in a building control system, where the method includes:
constructing a hierarchical entity organization tree according to the position relationship among a plurality of entities in the building control system; the entity organization tree comprises a plurality of nodes, and the nodes correspond to the entities one by one;
adding custom tags to a plurality of the nodes in the entity organization tree; wherein the custom tag comprises an extended attribute tag.
In one embodiment, the custom tab further comprises a fixed attribute tab; adding custom tags to a plurality of the nodes in the entity organization tree, including:
adding a fixed attribute label to the node corresponding to the entity in the entity organization tree according to the attribute information of the entity; wherein the attribute information is used to characterize at least one of a category, a model, and a quantity of the entity.
In one embodiment, the extended attribute tag comprises: boolean labels, numerical labels, string labels, time labels, and reference labels; and the reference label is used for characterizing the incidence relation between the entities corresponding to the nodes in the using process.
In one embodiment, the entity is an entity in any one of a building system and an energy consumption system; wherein the energy consumption system comprises at least one of a lighting system, an air conditioning system, or a metering system.
In one embodiment, the method further comprises:
updating the custom tag into a preset editor; wherein the editor comprises any one of a logical editor, a graphical editor, and a graphical page.
In a second aspect, an embodiment of the present application provides an entity calling method in a building control system, where the method includes:
receiving a query request; wherein, the query request carries the common attribute of the entity to be queried;
and searching the self-defined attribute tag of the entity to be queried in the entity organization tree in any method embodiment according to the query request to obtain a target entity set matched with the query request.
In a third aspect, an embodiment of the present application provides an entity organization tree building apparatus in a building control system, where the apparatus includes:
the building module is used for building a hierarchical entity organization tree according to the position relation among a plurality of entities in the building control system; the entity organization tree comprises a plurality of nodes, and the nodes correspond to the entities one by one;
the processing module is used for adding custom tags to the nodes in the entity organization tree; wherein the custom tag comprises an extended attribute tag.
In a fourth aspect, an embodiment of the present application provides an entity invoking device in a building control system, where the device includes:
the receiving module is used for receiving the query request; wherein, the query request carries the common attribute of the entity to be queried;
and the processing module is used for searching the custom attribute tag of the entity to be inquired in the entity organization tree in any one of the method embodiments according to the inquiry request to obtain a target entity set matched with the inquiry request.
In a fifth aspect, an embodiment of the present application provides a computer device, including a memory and a processor, where the memory stores a computer program, and the processor implements the following steps when executing the computer program:
constructing a hierarchical entity organization tree according to the position relationship among a plurality of entities in the building control system; the entity organization tree comprises a plurality of nodes, and the nodes correspond to the entities one by one;
adding custom tags to a plurality of the nodes in the entity organization tree; wherein the custom tag comprises an extended attribute tag.
In a sixth aspect, an embodiment of the present application provides a computer device, including a memory and a processor, where the memory stores a computer program, and the processor implements the following steps when executing the computer program:
receiving a query request; wherein, the query request carries the common attribute of the entity to be queried;
according to the query request, the user-defined attribute tag of the entity to be queried is searched in the entity organization tree according to any one of the method embodiments, and a target entity set matched with the query request is obtained.
In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the following steps:
constructing a hierarchical entity organization tree according to the position relationship among a plurality of entities in the building control system; the entity organization tree comprises a plurality of nodes, and the nodes correspond to the entities one by one;
adding custom tags to a plurality of the nodes in the entity organization tree; wherein the custom tag comprises an extended attribute tag.
In an eighth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the following steps:
receiving a query request; wherein, the query request carries the common attribute of the entity to be queried;
according to the query request, the user-defined attribute tag of the entity to be queried is searched in the entity organization tree according to any one of the method embodiments, and a target entity set matched with the query request is obtained.
The computer device constructs a hierarchical entity organization tree according to the position relation among a plurality of entities in the building control system, wherein the entity organization tree comprises a plurality of nodes which are in one-to-one correspondence with the entities, and the computer device adds custom tags to the plurality of nodes in the entity organization tree. The method adopted by the embodiment can reduce the data volume of the building control system, so that the calling of the entity is more convenient and faster. Meanwhile, the method can be flexibly used in the aspects of data screening conditions, new statistical dimensionality increase, statistical item expansion and the like in the entity calling process.
Drawings
FIG. 1 is a diagram illustrating an internal structure of a computer device according to an embodiment;
fig. 2 is a schematic flow chart of a method for constructing an entity organization tree in a building control system according to an embodiment;
FIG. 2a is a display diagram of a solid organization tree in one embodiment;
FIG. 2b is a display diagram of an extended attribute tag in one embodiment;
fig. 3 is a schematic flow chart illustrating a method for entity invocation in a building control system according to an embodiment;
fig. 4 is a schematic structural diagram of an entity organization tree building apparatus in a building control system according to an embodiment;
fig. 5 is a schematic structural diagram of an entity organization tree building apparatus in a building control system according to another embodiment;
fig. 6 is a schematic structural diagram of an entity invoking device in a building control system according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The method for building the entity organization tree in the building control system and calling the entity in the building control system provided by the embodiment of the application can be suitable for the computer equipment shown in figure 1. The computer device comprises a processor, a memory, a network interface, a database, a display screen and an input device which are connected through a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing the entity organization tree and the custom tags of the entities in the following embodiments, and the detailed description of the entity organization tree and the custom tags is referred to in the detailed description of the following embodiments. The network interface of the computer device may be used to communicate with other devices outside over a network connection. Optionally, the computer device may be a server, a desktop, a personal digital assistant, other terminal devices such as a tablet computer, a mobile phone, and the like, or a cloud or a remote server, and the specific form of the computer device is not limited in the embodiment of the present application. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like. Of course, the input device and the display screen may not belong to a part of the computer device, and may be external devices of the computer device.
Those skilled in the art will appreciate that the architecture shown in fig. 1 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
It should be noted that the execution subjects of the following method embodiments may be an entity organization tree construction device in a building control system and an entity invocation device in the building control system, respectively, and the device may be implemented by software, hardware or a combination of software and hardware to become part or all of the above computer equipment. The following method embodiments are described by taking the execution subject as the computer device as an example.
Fig. 2 is a method for constructing an entity organization tree in a building control system according to an embodiment. The embodiment relates to a specific process for automatically constructing an entity organization tree by computer equipment. As shown in fig. 2, the method includes:
s11, constructing a hierarchical entity organization tree according to the position relation among a plurality of entities in the building control system; the entity organization tree comprises a plurality of nodes, and the nodes correspond to the entities one by one.
Specifically, the computer device may construct an entity organization tree according to a position relationship between entities in each building control system, where the entity organization tree includes nodes, and each node corresponds to one entity. Because the entity can be described hierarchically through the position relationship, the node corresponding to the entity can present a hierarchical relationship, and the constructed entity organization tree can be hierarchically constructed based on the hierarchy of the position relationship, that is, the hierarchical entity organization tree. One possible form of the entity organization tree can be seen in fig. 2 a.
S12, adding custom tags to the nodes in the entity organization tree; wherein the custom tag comprises an extended attribute tag.
Specifically, the computer device adds a custom tag to each entity in the entity organization tree. The custom tag may be an autonomously defined tag, and may include an extended attribute tag, such as a personalized tag added by a user, which may be any content edited by the user for a corresponding node, and is not limited to the previously set tag content; optionally, the custom tag can be edited, modified, copied, moved, deleted, etc. For example, an extended attribute tag with a purchase date of XX year, X month and X day may be added to the node AHU-1-1 in FIG. 2a for monitoring maintenance and repair of the entity AHU-1-1. Optionally, the extended attribute tag may also represent an association relationship between entities in a key-value pair manner, such as a functional upstream-downstream relationship. For example, if the air conditioner needs to exhaust air through the exhaust duct, the air conditioner is functionally an upstream device of the exhaust duct, and the key value pair may be used to represent the relationship that the air conditioner is the upstream device of the exhaust duct. Optionally, the extended property tag may be a property tag, which may extend a property of the entity, for example, different extended property tags may be added for different building control items, different energy consumption systems (such as air conditioning systems, lighting systems, metering systems, etc.), different models of devices, and different processing logic. The embodiment does not limit the specific information of the entity represented by the custom tag.
In this embodiment, the computer device constructs a hierarchical entity organization tree according to a position relationship between a plurality of entities in the building control system, where the entity organization tree includes a plurality of nodes, the nodes correspond to the entities one-to-one, and the computer device adds custom tags to the plurality of nodes in the entity organization tree. The method adopted by the embodiment can enable the nodes in the entity organization tree to carry the custom tags comprising the extended attributes, so that the nodes in the same entity organization tree can be described in multiple dimensions based on the custom tags, the problem of entity redundancy caused by the fact that multiple organization trees are generated due to the fact that the nodes are described in multiple dimensions can be avoided, the data volume of a building control system is greatly reduced, and the entity can be called more conveniently and rapidly. Meanwhile, after the user-defined tag is introduced, the method can be flexibly used in the aspects of data screening conditions, new statistical dimensionality increase, statistical item expansion and the like in the entity calling process.
Optionally, on the basis of the foregoing embodiment, the custom tag further includes a fixed attribute tag; one possible implementation manner of the step S12 may further include: adding a fixed attribute label to the node corresponding to the entity in the entity organization tree according to the attribute information of the entity; wherein the attribute information is used to characterize at least one of a category, a model, and a quantity of the entity. Alternatively, the fixed attribute tag may be referred to as a marker tag, or may be referred to as a classification tag or a mark tag, where the classification tag has no attribute value but only a tag name. For example, the answer label and the AHU label, model labels can be added according to different models of entities under the node corresponding to the AHU label, so as to meet the requirement that a user can freely call and classify each node according to actual requirements. In this embodiment, since the custom tag may further include a fixed attribute tag, in the process of building the entity organization tree, the fixed attribute tag may be added to the corresponding node according to attribute information representing at least one of the category, the model, and the number of the entity, so that the entity can be called more accurately, conveniently, and quickly based on the fixed attribute tag, and further, the calling flexibility is enhanced in the aspects of data screening conditions, adding new statistical dimensions, expanding statistical terms, and the like, and the application scenarios are richer.
Optionally, on the basis of the foregoing embodiments, the extended attribute tag includes: boolean labels, numerical labels, string labels, time labels, and reference labels; and the reference label is used for characterizing the incidence relation between the entities corresponding to the nodes in the using process. Specifically, extended attribute tags include, but are not limited to: boolean (Boolean) tags, i.e. 1 or 0, for characterizing yes or no; numerical (numerical) tags, such as specification parameters; string tags, such as device name; a time (DateTime) tag, such as a time of purchase or time of installation, etc.; and reference (RefID) tags. The multi-dimensional relationship between the entities can be represented by referring to the tags, that is, various relationships binding the entities and other entities, that is, the association relationship in the use process, such as the upstream and downstream relationships of the device, and different association relationships can be distinguished by tag names. For example, the attribute tag may be as shown in FIG. 2 b. Since the attribute tag includes: the computer equipment can call the entity in a plurality of different dimensions through different attribute tags, so that the calling mode of the entity is more flexible and comprehensive, and the application scene is richer.
Optionally, the entity is an entity in any one of a building system and an energy consumption system; wherein the energy consumption system comprises at least one of a lighting system, an air conditioning system, or a metering system. For example, the entity may be a lamp of a lighting system in an energy consumption system, an air conditioning device, etc.
Optionally, on the basis of the foregoing embodiments, the method may further include: updating the custom tag into a preset editor; wherein the editor comprises any one of a logical editor, a graphical editor, and a graphical page. Specifically, the computer device may update the custom tag of each entity into a preset editor, so that the entities in the editor carry their own custom tags. For example, the computer device may combine the marker tags into a filter condition, screen out a target entity to which a current logical editor, a current graphic editor, or a current graphic page is to be applied, and load a unit (such as a point location, attribute information, and the like) to be used in the logical editor, the current graphic editor, or the current graphic page to the target entity. After the editor is configured, the editor can be applied to all target entities in an extension mode, so that the purpose of configuring multiple places for use at one time is achieved, and the operation efficiency of engineers is greatly improved. Meanwhile, due to the expansibility of the user-defined tag, the editor has stronger universality and expandability, and further application scenes are richer and more flexible.
In the above embodiments, how the computer device establishes the entity organization tree is described in detail, and a specific process of how the computer device invokes the entities in the entity organization tree is described in detail below.
Fig. 3 is a method for entity invocation in a building control system according to an embodiment. As shown in fig. 3, the method includes:
s21, receiving a query request; wherein, the query request carries the common attribute of the entity to be queried.
In order to manage all entities in a building control system, an entity organization tree of the entities is usually established according to one relationship between the entities, that is, a plurality of entities are arranged according to a tree structure, and each node in the entity organization tree represents one entity. The entities corresponding to the other nodes under each node have a corresponding relationship with the node, such as a positional relationship, for example, the entities corresponding to the other nodes under each node are located inside the node. One possible form of the entity organization tree for each node is shown in fig. 2 a.
Specifically, the computer device receives a query request input by a user or a query request of other systems needing to invoke the entity. Wherein, the query request carries the common attribute of the entity to be queried. For example, when the electric meters on the X-th floor need to be queried, the common attributes carried in the query request include the electric meters and the attributes of the X-th floor, and the computer device can know that the entity needing to be queried is all the electric meters in each room on the X-th floor through the query request.
S22, searching the self-defined attribute tag of the entity to be queried in the entity organization tree in any of the above embodiments according to the query request, and obtaining a target entity set matching with the query request.
Specifically, the computer device queries the custom tags of all entities to be queried in the entity organization tree according to the query request, and then screens out the entities matched with the custom tags and the query request as a target entity set, wherein the entities in the target entity set all have common attributes. Alternatively, the entity organization tree may be as described in any of the previous embodiments.
The technical principle and the beneficial effects in the present embodiment can be referred to the description in the foregoing embodiments, and are not described herein again.
Optionally, on the basis of the foregoing embodiment, the method may further include: and performing diagrammatized display on the entities in the target entity set, such as energy consumption proportion ranking, energy consumption trend, energy saving effect and the like. The computer device may perform a diagrammatized display on the determined entities in the target entity set, for example, generate a corresponding table, where the table includes information of a name, a belonging location, a belonging functional system, a device type, and the like of each entity in the target entity set. Of course, the computer device may also perform topology display on the entities according to an association relationship, such as a connection relationship, of a certain dimension between the entities in the target entity set, for example, generate a topological graph of air conditioner distribution. In this embodiment, the computer device performs diagrammatized display on the entities in the target entities, so that the entities to be queried, which need to be queried, can be visually and clearly presented according to the query request, and the query result is visualized, thereby further facilitating the use of the user.
It should be understood that although the various steps in the flow charts of fig. 2-3 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-3 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 4, there is provided an apparatus for constructing an entity organization tree in a building control system, including:
the building module 100 is used for building a hierarchical entity organization tree according to the position relationship among a plurality of entities in the building control system; the entity organization tree comprises a plurality of nodes, and the nodes correspond to the entities one by one;
a processing module 200, configured to add a custom tag to the plurality of nodes in the entity organization tree; wherein the custom tag comprises an extended attribute tag.
In one embodiment, the calling module 200 is further configured to graphically display the entities in the target entity set.
In an embodiment, the custom tag further includes a fixed attribute tag, and the processing module 200 is specifically configured to add the fixed attribute tag to the node corresponding to the entity in the entity organization tree according to the attribute information of the entity; wherein the attribute information is used to characterize at least one of a category, a model, and a quantity of the entity.
In one embodiment, the extended attribute tag comprises: boolean labels, numerical labels, string labels, time labels, and reference labels; and the reference label is used for characterizing the incidence relation between the entities corresponding to the nodes in the using process.
In one embodiment, the entity is an entity in any one of a building system and an energy consumption system; wherein the energy consumption system comprises at least one of a lighting system, an air conditioning system, or a metering system.
In one embodiment, the apparatus may also be as shown in fig. 5, comprising:
an updating module 300, configured to update the custom tag to a preset editor; wherein the editor comprises any one of a logical editor, a graphical editor, and a graphical page.
In one embodiment, as shown in fig. 6, there is provided an entity invoking device in a building control system, the device comprising:
a receiving module 400, configured to receive a query request; wherein, the query request carries the common attribute of the entity to be queried;
the processing module 500 is configured to search the self-defined attribute tag of the entity to be queried in the entity organization tree according to the query request, so as to obtain a target entity set matching with the query request.
For specific limitations of the entity organization tree construction device in the building control system and the entity calling device in the building control system, reference may be made to the above limitations of the entity organization tree construction method in the building control system and the entity calling method in the building control system, and details are not repeated here. All modules in the entity organization tree construction device and the entity calling device in the building control system can be completely or partially realized through software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
constructing a hierarchical entity organization tree according to the position relationship among a plurality of entities in the building control system; the entity organization tree comprises a plurality of nodes, and the nodes correspond to the entities one by one;
adding custom tags to a plurality of the nodes in the entity organization tree; wherein the custom tag comprises an extended attribute tag.
In one embodiment, the custom tabs further comprise fixed attribute tabs; the processor, when executing the computer program, further performs the steps of:
adding a fixed attribute label to the node corresponding to the entity in the entity organization tree according to the attribute information of the entity; wherein the attribute information is used to characterize at least one of a category, a model, and a quantity of the entity.
In one embodiment, the extended attribute tag comprises: boolean labels, numerical labels, string labels, time labels, and reference labels; and the reference label is used for characterizing the incidence relation between the entities corresponding to the nodes in the using process.
In one embodiment, the entity is an entity in any one of a building system and an energy consumption system; wherein the energy consumption system comprises at least one of a lighting system, an air conditioning system, or a metering system.
In one embodiment, the custom tag is updated into a preset editor; wherein the editor comprises any one of a logical editor, a graphical editor, and a graphical page.
It should be clear that, in the embodiments of the present application, the process of executing the computer program by the processor is consistent with the process of executing the steps in the above method, and specific reference may be made to the description above.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
receiving a query request; wherein, the query request carries the common attribute of the entity to be queried;
and searching the self-defined attribute tag of the entity to be queried in the entity organization tree in any method embodiment according to the query request to obtain a target entity set matched with the query request.
It should be clear that, in the embodiments of the present application, the process of executing the computer program by the processor is consistent with the process of executing the steps in the above method, and specific reference may be made to the description above.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
constructing a hierarchical entity organization tree according to the position relationship among a plurality of entities in the building control system; the entity organization tree comprises a plurality of nodes, and the nodes correspond to the entities one by one;
adding custom tags to a plurality of the nodes in the entity organization tree; wherein the custom tag comprises an extended attribute tag.
In one embodiment, the custom tags further comprise fixed attribute tags, the computer program when executed by the processor further implementing the steps of:
adding a fixed attribute label to the node corresponding to the entity in the entity organization tree according to the attribute information of the entity; wherein the attribute information is used to characterize at least one of a category, a model, and a quantity of the entity.
In one embodiment, the extended attribute tag comprises: boolean labels, numerical labels, string labels, time labels, and reference labels; and the reference label is used for characterizing the incidence relation between the entities corresponding to the nodes in the using process.
In one embodiment, the entity is an entity in any one of a building system and an energy consumption system; wherein the energy consumption system comprises at least one of a lighting system, an air conditioning system, or a metering system.
In one embodiment, the computer program when executed by the processor further performs the steps of:
updating the custom tag into a preset editor; wherein the editor comprises any one of a logical editor, a graphical editor, and a graphical page.
It should be clear that, in the embodiments of the present application, the process of executing the computer program by the processor is consistent with the process of executing the steps in the above method, and specific reference may be made to the description above.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
receiving a query request; wherein, the query request carries the common attribute of the entity to be queried;
and searching the self-defined attribute tag of the entity to be queried in the entity organization tree in any method embodiment according to the query request to obtain a target entity set matched with the query request.
It should be clear that, in the embodiments of the present application, the process of executing the computer program by the processor is consistent with the process of executing the steps in the above method, and specific reference may be made to the description above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method for constructing an entity organization tree in a building control system is characterized by comprising the following steps:
constructing a hierarchical entity organization tree according to the position relationship among a plurality of entities in the building control system; the entity organization tree comprises a plurality of nodes, and the nodes correspond to the entities one by one;
adding custom tags to a plurality of the nodes in the entity organization tree; wherein the custom tag comprises an extended attribute tag.
2. The method of claim 1, wherein the custom tab further comprises a fixed property tab; adding custom tags to a plurality of the nodes in the entity organization tree, including:
adding a fixed attribute label to the node corresponding to the entity in the entity organization tree according to the attribute information of the entity; wherein the attribute information is used to characterize at least one of a category, a model, and a quantity of the entity.
3. The method of claim 1, wherein the extended attribute tag comprises: boolean labels, numerical labels, string labels, time labels, and reference labels; and the reference label is used for characterizing the incidence relation between the entities corresponding to the nodes in the using process.
4. The method of claim 1, wherein the entity is an entity in any one of a building system and an energy consumption system; wherein the energy consumption system comprises at least one of a lighting system, an air conditioning system, or a metering system.
5. The method of claim 1, further comprising:
updating the custom tag into a preset editor; wherein the editor comprises any one of a logical editor, a graphical editor, and a graphical page.
6. An entity calling method in a building control system is characterized by comprising the following steps:
receiving a query request; wherein, the query request carries the common attribute of the entity to be queried;
searching the self-defined attribute tag of the entity to be queried in the entity organization tree according to the query request, and obtaining a target entity set matched with the query request.
7. An entity organization tree construction device in a building control system is characterized by comprising:
the building module is used for building a hierarchical entity organization tree according to the position relation among a plurality of entities in the building control system; the entity organization tree comprises a plurality of nodes, and the nodes correspond to the entities one by one;
the processing module is used for adding custom tags to the nodes in the entity organization tree; wherein the custom tag comprises an extended attribute tag.
8. An entity calling device in a building control system, which is characterized in that the device comprises:
the receiving module is used for receiving the query request; wherein, the query request carries the common attribute of the entity to be queried;
a processing module, configured to search the entity organization tree according to any one of claims 1 to 5 for the custom attribute tag of the entity to be queried according to the query request, so as to obtain a target entity set matching the query request.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN201910864842.4A 2019-09-09 2019-09-09 Entity organization tree construction method, entity calling method and product in building control system Pending CN112463788A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910864842.4A CN112463788A (en) 2019-09-09 2019-09-09 Entity organization tree construction method, entity calling method and product in building control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910864842.4A CN112463788A (en) 2019-09-09 2019-09-09 Entity organization tree construction method, entity calling method and product in building control system

Publications (1)

Publication Number Publication Date
CN112463788A true CN112463788A (en) 2021-03-09

Family

ID=74807625

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910864842.4A Pending CN112463788A (en) 2019-09-09 2019-09-09 Entity organization tree construction method, entity calling method and product in building control system

Country Status (1)

Country Link
CN (1) CN112463788A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050278354A1 (en) * 2004-06-04 2005-12-15 Vinay Gupta Dynamic hierarchical data structure tree building and state propagation using common information model
JP2009245196A (en) * 2008-03-31 2009-10-22 Nippon Telegr & Teleph Corp <Ntt> Content management device and method, and program
CN106776827A (en) * 2016-11-24 2017-05-31 天津大学 Method for automating extension stratification ontology knowledge base
CN107480188A (en) * 2017-07-11 2017-12-15 中国建设银行股份有限公司 A kind of audit operations data processing method and computer equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050278354A1 (en) * 2004-06-04 2005-12-15 Vinay Gupta Dynamic hierarchical data structure tree building and state propagation using common information model
JP2009245196A (en) * 2008-03-31 2009-10-22 Nippon Telegr & Teleph Corp <Ntt> Content management device and method, and program
CN106776827A (en) * 2016-11-24 2017-05-31 天津大学 Method for automating extension stratification ontology knowledge base
CN107480188A (en) * 2017-07-11 2017-12-15 中国建设银行股份有限公司 A kind of audit operations data processing method and computer equipment

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
上海市软件行业协会组编: "《2017年软件工程论文专集》", 30 November 2017, 上海科学技术出版社, pages: 34 - 35 *
戴声: "基于图数据库的大规模配置管理数据库关联查询", 《计算机与现代化》, no. 1, 31 January 2017 (2017-01-31), pages 53 - 54 *
陈喜春: "基于图数据库的装备信息联想式查询", 《计算机系统应用》, 1 May 2019 (2019-05-01), pages 244 - 247 *

Similar Documents

Publication Publication Date Title
US10114875B2 (en) Dashboard controls to manipulate visual data
US8494996B2 (en) Creation and revision of network object graph topology for a network performance management system
CN108829746B (en) Main data management system and device based on memory database
CN109145047B (en) User tag portrait configuration method, data processing device and storage medium
CN102129461B (en) Method for quickly retrieving enterprise data
CN109597979B (en) List table generation method and device, computer equipment and storage medium
CN109240876A (en) Example monitoring method, computer readable storage medium and terminal device
CN112199200B (en) Resource scheduling method and device, computer equipment and storage medium
CN110727777A (en) Knowledge graph management method and device, computer equipment and storage medium
CN105303465A (en) Tree-shaped view defining and displaying method based on CIM model
CN110109893A (en) The method and apparatus of data modeling and operation
CN112785248B (en) Human resource data cross-organization interaction method, device, equipment and storage medium
CN109542962B (en) Data processing method, data processing device, computer equipment and storage medium
KR102153259B1 (en) Data domain recommendation method and method for constructing integrated data repository management system using recommended domain
CN112463788A (en) Entity organization tree construction method, entity calling method and product in building control system
CN115543428A (en) Simulated data generation method and device based on strategy template
CN111831696A (en) Asset information storage method and system based on graph theory
CN114462859A (en) Workflow processing method and device, computer equipment and storage medium
CN114282029A (en) Primitive management method and device, electronic equipment and storage medium
CN113076086B (en) Metadata management system and method for modeling model object using the same
CN112162731B (en) Data expansion method, device, storage medium and electronic device
CN111563036B (en) Function logic judgment method and device, intelligent equipment and storage medium
CN111191057A (en) User-defined retrieval method and device, electronic equipment and storage medium thereof
CN116383228B (en) Data processing method, device, computer equipment and storage medium
CN114065028A (en) Information screening method and device, computer equipment and storage medium

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