CN110807066B - Method, device, terminal or server for associating data with model - Google Patents
Method, device, terminal or server for associating data with model Download PDFInfo
- Publication number
- CN110807066B CN110807066B CN201911047208.8A CN201911047208A CN110807066B CN 110807066 B CN110807066 B CN 110807066B CN 201911047208 A CN201911047208 A CN 201911047208A CN 110807066 B CN110807066 B CN 110807066B
- Authority
- CN
- China
- Prior art keywords
- sub
- main object
- data
- internet
- things
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 36
- CURLTUGMZLYLDI-UHFFFAOYSA-N Carbon dioxide Chemical compound O=C=O CURLTUGMZLYLDI-UHFFFAOYSA-N 0.000 claims description 28
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims description 22
- 229910002092 carbon dioxide Inorganic materials 0.000 claims description 14
- 230000005540 biological transmission Effects 0.000 claims description 7
- 238000007654 immersion Methods 0.000 claims description 6
- 239000001569 carbon dioxide Substances 0.000 claims description 4
- 238000004891 communication Methods 0.000 claims description 4
- 239000013618 particulate matter Substances 0.000 claims description 4
- 238000005516 engineering process Methods 0.000 claims description 3
- 238000010295 mobile communication Methods 0.000 claims description 3
- 238000004590 computer program Methods 0.000 claims description 2
- 239000000758 substrate Substances 0.000 claims 1
- VNWKTOKETHGBQD-UHFFFAOYSA-N methane Chemical compound C VNWKTOKETHGBQD-UHFFFAOYSA-N 0.000 description 11
- 238000010586 diagram Methods 0.000 description 6
- 238000009529 body temperature measurement Methods 0.000 description 5
- 239000010865 sewage Substances 0.000 description 5
- 230000000694 effects Effects 0.000 description 3
- 230000011218 segmentation Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000013523 data management Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 239000000779 smoke Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2458—Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/28—Databases characterised by their database models, e.g. relational or object models
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/08—Construction
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Computational Linguistics (AREA)
- Economics (AREA)
- Probability & Statistics with Applications (AREA)
- Software Systems (AREA)
- Fuzzy Systems (AREA)
- Computing Systems (AREA)
- Health & Medical Sciences (AREA)
- Mathematical Physics (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)
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
The embodiment of the invention discloses a method, a device, a terminal or a server for associating data with a model. Acquiring internet of things data and determining equipment identifiers in the internet of things data; taking the Internet of things equipment corresponding to the equipment identifier as a sub-object in a Building Information Model (BIM), and determining a main object corresponding to the sub-object; matching the parameter type and the instance of the sub-object with the parameter type and the instance of the main object respectively to obtain a matching item of the main object matched with the parameter type and the instance of the sub-object; and taking the data corresponding to the equipment identifier in the data of the Internet of things as the data corresponding to the matching item. The method reduces the workload, ensures the synchronization of the data measured by the equipment of the Internet of things and the data corresponding to the matching items of the equipment or the space in the BIM model, saves the manpower and improves the matching efficiency.
Description
Technical Field
The embodiment of the invention relates to a data and model association technology, in particular to a method, a device, a terminal or a server for associating data with a model.
Background
Internet of things devices such as various sensors are increasingly widely used in intelligent buildings such as building information models (Building Information Modeling, BIM), but there is a lack of effective tools for managing data measured by the internet of things devices. The data generated by the traditional local bus mode is different from the data generated by the traditional local bus mode, and the Internet of things equipment has stronger independence. On the data management side, the data measured by the Internet of things equipment are conveniently and directly matched with the Internet of things equipment, but the data cannot be directly matched with the measured equipment or space in the object measured by the Internet of things equipment such as BIM.
Usually, a one-to-one matching work needs to be done with a large amount of manpower, for example, the data measured by the internet of things equipment is manually corresponded to the measured equipment or the space in the BIM one by one based on an Excel table, the data is uploaded to a background database after point list editing is done, or the data points are manually corresponded to the existing data list of the database through a computer visual interface by adopting single point configuration editing, and then are corresponded to the equipment or the space in the BIM one by one.
Both the two modes need manual comparison, which wastes human resources, has huge workload, is easy to make mistakes, is not easy to check after the mistakes, and causes extremely low overall engineering efficiency.
Disclosure of Invention
The invention provides a method, a device, a terminal or a server for associating data with a model, which can reduce workload, ensure that data measured by Internet of things equipment is synchronous with data corresponding to matching items of equipment or space in a BIM model, save manpower and improve matching efficiency.
In a first aspect, an embodiment of the present invention provides a method for associating data with a model, the method including: acquiring internet of things data and determining equipment identification in the internet of things data; taking the Internet of things equipment corresponding to the equipment identifier as a sub-object in a BIM model, and determining a main object corresponding to the sub-object; matching the parameter type and the instance of the sub-object with the parameter type and the instance of the main object respectively to obtain a matching item of the main object matched with the parameter type and the instance of the sub-object; and taking the data corresponding to the equipment identifier in the data of the Internet of things as the data corresponding to the matching item.
In a second aspect, an embodiment of the present invention provides an apparatus for associating data with a model, the apparatus including: the device identification determining module is used for acquiring the internet of things data and determining the device identification in the internet of things data; the main object determining module is used for taking the Internet of things equipment corresponding to the equipment identifier as a sub object in the BIM model and determining a main object corresponding to the sub object; the matching item acquisition module is used for respectively matching the parameter type and the instance of the sub-object with the parameter type and the instance of the main object to obtain a matching item of the main object matched with the parameter type and the instance of the sub-object; and the data determining module is used for taking the data corresponding to the equipment identifier in the data of the Internet of things as the data corresponding to the matching item.
In a third aspect, an embodiment of the present invention provides a terminal or a server, where the terminal or the server includes:
one or more processors;
storage means for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement a method of associating data with a model as described in any embodiment of the present invention.
In a fourth aspect, embodiments of the present invention provide a computer readable storage medium having stored thereon a computer program which when executed by a processor implements a method for associating data with a model according to any embodiment of the present invention.
According to the embodiment of the invention, the equipment identification in the data of the Internet of things is determined by acquiring the data of the Internet of things; taking the Internet of things equipment corresponding to the equipment identifier as a sub-object in the BIM model, and determining a main object corresponding to the sub-object; matching the parameter type and the instance of the sub-object with the parameter type and the instance of the main object respectively to obtain a matching item of the main object matched with the parameter type and the instance of the sub-object; the data corresponding to the equipment identification in the data of the Internet of things is used as the data corresponding to the matching item, namely the data of the Internet of things is used as the sub-object in the BIM model through the equipment identification of the equipment of the Internet of things, the data measured by the equipment of the Internet of things is used as the data of the matching item of the main object in the BIM model through the matching of the sub-object and the parameter type and the example of the main object, the problem that the data measured by the equipment of the Internet of things cannot be directly matched with the equipment or the space measured in the BIM model is solved, and the effects of reducing the workload, guaranteeing the synchronization of the data measured by the equipment of the Internet of things and the data corresponding to the matching item of the equipment or the space in the BIM model, saving manpower and improving the matching efficiency are achieved.
Drawings
FIG. 1 is a flow chart of a method for associating data with a model according to a first embodiment of the present invention;
FIG. 2 is an exemplary diagram of primary object and child object parameter type matching provided in accordance with an embodiment of the present invention;
FIG. 3 is a flow chart of a method for associating data with a model according to a second embodiment of the present invention;
FIG. 4 is a schematic structural diagram of an apparatus for associating data with a model according to a third embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal or a server according to a fourth embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
Example 1
Fig. 1 is a flowchart of a method for associating data with a model according to an embodiment of the present invention, where the method may be applicable to a case where data measured by an internet of things device is associated with a device or a space in a BIM model, and the method may be performed by an apparatus for associating data with a model, where the apparatus may be implemented by software and/or hardware, and the apparatus may be integrated in a processor in a computer, as shown in fig. 1, and the method specifically includes:
s101, acquiring Internet of things data and determining equipment identification in the Internet of things data;
in an embodiment of the present invention, optionally, the device identifier includes at least one of a factory code, a two-dimensional code, a radio frequency identification (Radio Frequency Identification, RFID), a transmission control protocol/internet protocol (Transmission Control Protocol/Internet Protocol, TCP/IP) address, a bluetooth address code, and a fifth-generation mobile communication technology (5th generation wireless systems,5G) communication address code.
The data of the Internet of things can be obtained by measuring the Internet of things equipment, and the Internet of things equipment can be measurement equipment such as a temperature and humidity sensor, a CO2 sensor, a fine particulate matter (fine particulate matter, PM 2.5) sensor, a passenger flow sensor, a water logging sensor, a power distribution drawer or a kilowatt-hour meter. The equipment identity is carried by the internet of things equipment, the equipment identity on the internet of things equipment involved in measuring the data can be transmitted in the transmission process of the internet of things data, the internet of things data can be conveniently corresponding to the internet of things equipment, and the data can be conveniently stored, recorded and inquired.
S102, taking the Internet of things equipment corresponding to the equipment identifier as a sub-object in the BIM model, and determining a main object corresponding to the sub-object;
the device identification of the sub-object marking internet of things device in the BIM model can be used as a sub-object in the BIM model when the device identification code of the internet of things device is consistent with the device identification of the sub-object marking in the BIM model; the matching relation between the main object and the sub object in the BIM model can be set according to the actual engineering condition, and matching of the Internet of things data can be conveniently supported by extracting the relation between the main object and the sub object in the BIM model.
In an embodiment of the present invention, optionally, the main object includes a space, and the space includes a room; correspondingly, the sub-object comprises at least one of a temperature and humidity sensor, a carbon dioxide CO2 sensor, a PM2.5 sensor and a passenger flow sensor; the space comprises a sewage pit; correspondingly, the sub-object comprises a water immersion sensor; the main object comprises a water chilling unit; correspondingly, the sub-object comprises at least one of a temperature sensor, a water flow sensor, a pressure gauge and a kilowatt-hour meter; the main object comprises a power distribution cabinet; accordingly, the sub-objects include at least one of a power distribution drawer and a kilowatt-hour meter.
The main object and the sub object in the BIM model may be other devices set according to actual engineering conditions, or devices associated with the devices or including the space geometry. The space may be a non-equipment-like object in the BIM model having a spatial dimension, such as a room, a sump, etc. in an embodiment of the invention. For equipment or space in the BIM model, the method of the embodiment of the invention can be adopted to directly match the equipment or space with the data of the Internet of things.
S103, respectively matching the parameter type and the instance of the sub-object with the parameter type and the instance of the main object to obtain a matching item of the main object matched with the parameter type and the instance of the sub-object;
the parameter types of the main object and the sub object can comprise parameter names, parameter codes and units, and the parameter type matching of the main object and the sub object can be realized through the matching of at least one item of the parameter names, the parameter codes and the units of the main object and the sub object. The instance matching of the main object and the sub-object may be that the main object geometry contains the sub-object or the main object is directly communicated with the sub-object through a pipeline, wherein the main object geometry contains the sub-object and is understood as that the three-dimensional geometry corresponding to the sub-object is wholly or partially in the three-dimensional geometry corresponding to the main object. The matching item of the main object may be a parameter corresponding to a certain parameter type of the main object that matches both the parameter type and the instance of the sub object. Specifically, fig. 2 is an exemplary diagram of matching of a main object and a sub-object parameter type according to an embodiment of the present invention. For example, as shown in fig. 2, when the main object is space, the parameter names may include air (dry bulb) temperature, air relative humidity, air CO2 concentration, air PM2.5 concentration and air methane concentration, and correspondingly, the parameter codes may be Tdb, RH, CO, PM2.5 and CH4, and the units may be respectively%o, RH, ppm, μg/m3 and ppm; when the main object is a space, the sub-objects may include a temperature and humidity sensor, a CO2 sensor, a PM2.5 sensor, and a methane sensor. For example, the matching item of the main object matching with the parameter type and the instance of the sub-object may be the air (dry-bulb) temperature of the main object space containing the sub-object temperature and humidity sensor matching with the temperature measurement value of the sub-object temperature and humidity sensor.
In the embodiment of the present invention, optionally, matching the parameter type of the sub-object with the parameter type of the main object includes: calculating the similarity of parameter name fields, parameter coding fields or unit fields in the parameter types of the sub-objects and the main objects; when the similarity reaches a set value, judging that the parameter type of the sub-object is matched with the parameter type of the main object.
The similarity of the parameter name field, the parameter coding field or the unit field in the parameter types of the sub-object and the main object can be that all the fields adopt dictionary searching, maximum probability segmentation, hidden Markov model, viterbi algorithm and the like to perform word segmentation operation to generate keywords; generating a word segmentation dictionary by using the numbers and the keywords; and respectively replacing the two fields with a number combination, and judging the number of codes of the first field in the second field and the total number of codes of the second field in the two fields to be matched, wherein the ratio of the two fields is the similarity. Two fields with the similarity greater than 55% or the highest similarity can be selected for matching.
In the embodiment of the present invention, optionally, matching the instance of the child object with the instance of the main object includes: if the main object geometry contains the sub object, or the main object is directly communicated with the sub object through a pipeline, judging that the instance of the sub object is matched with the instance of the main object.
The main object geometry includes sub-objects, and the sub-objects are all or part of the three-dimensional geometry corresponding to the sub-objects. The main object and the sub object are communicated through a pipeline, the main object and the sub object are directly connected through a pipeline, no other equipment is arranged in the middle, and the pipeline can comprise a water supply and return pipe, a return air pipe, a smoke exhaust pipe, a gas pipe and the like. The two ends of the pipeline can be judged to be respectively connected with the main object or the sub object, and the main object and the sub object which are respectively connected with the two ends of the same pipeline are judged to be matched, for example, a water chilling unit is directly connected with a water flow sensor through a water supply and return pipe, and the main object water chilling unit is judged to be matched with the sub object water flow sensor.
In one implementation of the embodiment of the present invention, optionally, if the main object geometry includes a child object, determining that an instance of the child object matches an instance of the main object includes: judging whether the three-dimensional geometric bodies corresponding to the main object and the sub-object respectively have intersection sets, and judging that the instance of the sub-object is matched with the instance of the main object when the ratio of the volume of the intersection set part to the volume of the three-dimensional geometric body corresponding to the sub-object exceeds a preset ratio.
The main object geometry includes sub-objects, and the sub-objects are all or part of the three-dimensional geometry corresponding to the sub-objects. Whether intersection exists in the three-dimensional geometric bodies respectively corresponding to the main object and the sub-object can be calculated through geometric collision, the geometric calculation can be performed by utilizing space coordinates, and the space coordinates of the main object and the sub-object can be recorded in the BIM model. When the ratio of the intersection part volume to the three-dimensional geometric volume corresponding to the sub-object exceeds a preset ratio, such as 55%, the instance of the sub-object is judged to be matched with the instance of the main object. For example, the three-dimensional geometric body corresponding to the sewage pit is a cuboid, the three-dimensional geometric body corresponding to the water immersion sensor is a sphere, the ratio of the volume of the sphere in the cuboid to the volume of the sphere can be calculated, and when the ratio is greater than 55%, the main object sewage pit is judged to be matched with the sub-object water immersion sensor example.
S104, taking the data corresponding to the equipment identifier in the Internet of things data as the data corresponding to the matching item.
According to the corresponding relation between the Internet of things data and the Internet of things equipment, the relation between the Internet of things equipment and the sub-objects in the BIM, the setting relation between the sub-objects and the main object, the parameter types and the instance matching conditions of the sub-objects and the main object, the data corresponding to the equipment identification in the Internet of things data can be used as the data corresponding to the matching item, and the matching work of the Internet of things data is completed. For example, as shown in fig. 2, an internet of things device such as a temperature and humidity sensor corresponding to a device identifier of internet of things data such as a certain temperature value in transmission may be used as a sub-object temperature and humidity sensor in a BIM model, a main object space and the sub-object are set to correspond to the temperature and humidity sensor, the temperature and humidity sensor included in the space geometry is matched with an example, and the air (dry ball) temperature of the space is matched with a temperature measurement value of the temperature and humidity sensor included in the space geometry. And finally, taking the data temperature value of the Internet of things as the data of the air (dry ball) temperature of the space containing the temperature and humidity sensor.
In the related art, engineers often focus on measured information of a main object such as a space (the space includes a room, a sump, etc.), a water chiller, or a power distribution cabinet in a BIM model, such as an air (dry bulb) temperature of the room, an air CO2 concentration, an air PM2.5 concentration, or an air methane concentration. The measured information is measured by Internet of things equipment such as a temperature and humidity sensor, a CO2 sensor, a PM2.5 sensor or a methane sensor. When the data of the internet of things side is directly matched with the internet of things equipment, the data of the internet of things side is directly matched with the main object in the corresponding BIM model, so that one-to-one matching work is needed to be carried out with great labor. According to the method and the device for managing the Internet of things, the relation between the Internet of things equipment and the main object in the BIM is obtained through the BIM, the relation is based on the relation, the relation is used for quickly establishing the parameter relation between the measurement information of the Internet of things equipment and the measured main object, and quick and efficient management of the Internet of things data is achieved. Specifically, the internet of things device generally carries a device identifier, the internet of things data can transmit the device identifier of the corresponding internet of things device in transmission, and the device identifier of the corresponding internet of things device can be marked on the three-dimensional model entity in the BIM model. The device identification can simply and conveniently mutually correspond the data of the Internet of things, the device of the Internet of things and the sub-objects in the BIM. The data of the internet of things, the equipment of the internet of things and the sub-objects in the BIM model correspond to each other, and the data of the internet of things and the main objects in the BIM model cannot be corresponding to each other. The relationship between the main object and the sub object in the BIM model can be utilized to finally realize the correspondence between the data of the Internet of things and the main object in the BIM model. In the BIM model, the relation between the main object and the sub-object can be set according to the actual engineering situation, for example, the main object is a space, and the sub-object can be a temperature and humidity sensor, a CO2 sensor, a PM2.5 sensor, a methane sensor or the like. The temperature measured value of the temperature and humidity sensor can be matched with the air (dry ball) temperature of the space according to the parameter types of the main object and the sub object which can be acquired in the BIM model. However, there may be a plurality of temperature and humidity sensors in the BIM model, and it is necessary to match the temperature measurement value of the temperature and humidity sensor corresponding to the space with the air (dry-bulb) temperature of the space. Therefore, it is required that the main object is matched with the sub-object instance, that is, whether the main object geometrically includes the sub-object or whether the main object is in communication with the sub-object pipeline, so that the temperature measured value of the temperature and humidity sensor corresponding to the space can be matched with the air (dry-bulb) temperature of the space.
In summary, according to the embodiment of the invention, the device identifier in the data of the internet of things is determined by acquiring the data of the internet of things; taking the Internet of things equipment corresponding to the equipment identifier as a sub-object in the BIM model, and determining a main object corresponding to the sub-object; matching the parameter type and the instance of the sub-object with the parameter type and the instance of the main object respectively to obtain a matching item of the main object matched with the parameter type and the instance of the sub-object; the data corresponding to the equipment identification in the data of the Internet of things is used as the data corresponding to the matching item, namely the data of the Internet of things is used as the sub-object in the BIM model through the equipment identification of the equipment of the Internet of things, the data measured by the equipment of the Internet of things is used as the data of the matching item of the main object in the BIM model through the matching of the parameter types and the examples of the sub-object and the main object, the problem that the data measured by the equipment of the Internet of things cannot be directly matched with the equipment or the space measured in the BIM model is solved, and the effects of reducing the workload, guaranteeing the synchronization of the data measured by the equipment of the Internet of things and the data corresponding to the matching item of the equipment or the space measured in the BIM model, saving manpower and improving the matching efficiency are achieved.
Example two
Fig. 3 is a flowchart of a method for associating data with a model according to a second embodiment of the present invention, as shown in fig. 3, the method includes:
s210, matching the Internet of things data with Internet of things equipment;
the Internet of things data can be matched with the Internet of things equipment according to the equipment identification carried by the Internet of things equipment and the equipment identification transmitted in the data transmission process of the Internet of things.
S220, setting a main object and a sub object;
in the BIM model, a main object and a sub object can be set according to actual engineering conditions, for example, the main object comprises a space; the space comprises a room; correspondingly, the sub-object comprises at least one of a temperature and humidity sensor, a carbon dioxide CO2 sensor, a PM2.5 sensor and a passenger flow sensor; the space comprises a sewage pit; correspondingly, the sub-object comprises a water immersion sensor; the main object comprises a water chilling unit; correspondingly, the sub-object comprises at least one of a temperature sensor, a water flow sensor, a pressure gauge and a kilowatt-hour meter; the main object comprises a power distribution cabinet; accordingly, the sub-objects include at least one of a power distribution drawer and a kilowatt-hour meter. The internet of things device typically measures the master object as a sub-object in the BIM model. The device identification is generally marked on a three-dimensional model entity in the BIM model, and the Internet of things device and the sub-object in the BIM model can be matched according to the device identification.
S230, matching the parameter types of the main object and the sub object;
the parameter type matching of the main object and the sub object can be the similarity of a parameter name field, a parameter coding field or a unit field in the parameter types of the sub object and the main object; when the similarity reaches a set value, judging that the parameter type of the sub-object is matched with the parameter type of the main object.
S240, matching the main object with the sub object instance;
the matching of the instances of the main object and the sub-objects may be that when the main object geometrically contains the sub-objects, or the main object and the sub-objects are communicated through a pipeline, the matching of the instances of the sub-objects and the instances of the main object is judged.
S250, matching the matching items of the main object and the sub object;
the matching of the matching items of the main object and the sub object can be realized by means of matching of the main object and the sub object in the BIM model, namely, the parameter types of the main object and the sub object are matched and the examples of the main object and the sub object are matched. The matching item of the main object and the sub object can be generated according to the parameter type matching of the main object and the sub object and the instance matching of the main object and the sub object, for example, the parameter type matching of the main object and the sub object matches the air (dry ball) temperature of the space with the temperature measurement value of one or more temperature and humidity sensors; the example matching of the main object and the sub object matches the space with the temperature and humidity sensor corresponding to the space; matching the matching item of the main object and the sub object matches the air (dry ball) temperature of the space with the temperature measured value of the temperature and humidity sensor corresponding to the space.
S260, taking the Internet of things data as the data of the matching item of the main object.
The data of the matching item of the main object, which is the data of the internet of things data, can be realized by matching the parameter types of the main object and the sub object and matching the examples of the main object and the sub object, for example, the data of the temperature measurement value of the temperature and humidity sensor corresponding to the space in the data of the internet of things is used as the data of the air (dry ball) temperature of the space.
According to the embodiment of the invention, through matching the Internet of things data with the Internet of things equipment, setting the parameter type matching of the main object and the sub object and the instance matching of the main object and the sub object, the parameter matching of the main object and the sub object can be realized, finally the Internet of things data is used as the parameter data of the main object, the problem that the data measured by the Internet of things equipment cannot be directly matched with the equipment or the space measured in the BIM model is solved, and the effects of reducing the workload, ensuring the synchronization of the data measured by the Internet of things equipment and the data corresponding to the matching item of the equipment or the space measured in the BIM model, saving the manpower and improving the matching efficiency are realized.
Example III
Fig. 4 is a schematic structural diagram of an apparatus for associating data with a model according to a third embodiment of the present invention. Referring to fig. 4, the apparatus includes: the device identification determining module 310, the main object determining module 320 corresponding to the sub-object, the matching item obtaining module 330 and the data determining module 340 corresponding to the matching item.
The device identifier determining module 310 is configured to obtain internet of things data, and determine a device identifier in the internet of things data;
a main object determining module 320 corresponding to the sub-object, configured to use the device corresponding to the device identifier as the sub-object in the BIM model, and determine a main object corresponding to the sub-object;
the matching item obtaining module 330 is configured to match the parameter type and the instance of the sub-object with the parameter type and the instance of the main object, respectively, to obtain a matching item of the main object that matches with the parameter type and the instance of the sub-object;
the data determining module 340 corresponding to the matching item is configured to use data corresponding to the device identifier in the internet of things data as data corresponding to the matching item.
Optionally, the matching item obtaining module 330 includes:
a similarity calculating unit for calculating the similarity of the parameter name field, the parameter code field or the unit field in the parameter types of the sub-object and the main object; and the parameter type matching unit is used for judging that the parameter type of the sub-object is matched with the parameter type of the main object when the similarity reaches a set value.
Optionally, the matching item obtaining module 330 includes:
and the instance matching judging unit is used for judging that the instance of the sub object is matched with the instance of the main object if the main object geometry contains the sub object or the main object is communicated with the sub object through a pipeline.
Optionally, the primary object includes a space; the space comprises a room; correspondingly, the sub-object comprises at least one of a temperature and humidity sensor, a carbon dioxide CO2 sensor, a fine particulate matter PM2.5 sensor and a passenger flow sensor; the space comprises a sewage pit; correspondingly, the sub-object comprises a water immersion sensor; the main object comprises a water chilling unit; correspondingly, the sub-object comprises at least one of a temperature sensor, a water flow sensor, a pressure gauge and a kilowatt-hour meter; the main object comprises a power distribution cabinet; accordingly, the sub-objects include at least one of a power distribution drawer and a kilowatt-hour meter.
Optionally, the device identifier includes at least one of a factory code, a two-dimensional code, an RFID, a TCP/IP address, a bluetooth address code, and a 5G communication address code.
Optionally, the instance matching judging unit is specifically configured to judge whether an intersection exists between three-dimensional geometric objects corresponding to the main object and the sub-object, and when a ratio of a volume of the intersection part to a volume of the three-dimensional geometric body corresponding to the sub-object exceeds a preset ratio, judge that an instance of the sub-object is matched with an instance of the main object.
The device for associating the data with the model provided by the embodiment of the invention can execute the method for associating the data with the model provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of executing the method.
Example IV
Fig. 5 is a schematic structural diagram of a terminal or a server according to a fourth embodiment of the present invention, where, as shown in fig. 5, the terminal or the server includes a processor 610, a memory 620, an input device 630 and an output device 640; the number of processors 610 in a terminal or server may be one or more, one processor 610 being taken as an example in fig. 5; the processor 610, memory 620, input device 630, and output device 640 in a terminal or server may be connected by a bus or other means, for example in fig. 5.
The memory 620 is used as a computer readable storage medium, and may be used to store a software program, a computer executable program, and modules, such as program instructions/modules corresponding to a method for associating data with a model in an embodiment of the present invention (e.g., a device identification determining module 310, a main object determining module 320, a matching item obtaining module 330, and a data determining module 340 corresponding to a matching item in an apparatus in which data is associated with a model). The processor 610 executes various functional applications of the terminal or server and data processing, i.e., implements the above-described data and model association method, by running software programs, instructions and modules stored in the memory 620.
Memory 620 may include primarily a program storage area and a data storage area, wherein the program storage area may store an operating system, at least one application program required for functionality; the storage data area may store data created according to the use of the terminal, etc. In addition, memory 620 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some examples, the memory 620 may further include memory remotely located with respect to the processor 610, which may be connected to a terminal or server through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 630 may be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of a terminal or server. The output device 640 may include a display device such as a display screen.
Example five
A fifth embodiment of the present invention also provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are for performing a method of associating data with a model, the method comprising:
acquiring internet of things data and determining equipment identification in the internet of things data;
using the equipment corresponding to the equipment identifier as a sub-object in a Building Information Model (BIM) model, and determining a main object corresponding to the sub-object;
matching the parameter type and the instance of the sub-object with the parameter type and the instance of the main object respectively to obtain a matching item of the main object matched with the parameter type and the instance of the sub-object;
and taking the data corresponding to the equipment identifier in the data of the Internet of things as the data corresponding to the matching item.
Of course, the storage medium containing computer executable instructions provided by the embodiments of the present invention is not limited to the method operations described above, and may also perform related operations in the method for associating data with a model provided by any embodiment of the present invention.
From the above description of embodiments, it will be clear to a person skilled in the art that the present invention may be implemented by means of software and necessary general purpose hardware, but of course also by means of hardware, although in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, etc., and include several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments of the present invention.
It should be noted that, in the embodiment of the apparatus for associating data with a model, each unit and module included are only divided according to functional logic, but not limited to the above division, so long as the corresponding function can be implemented; in addition, the specific names of the functional units are also only for distinguishing from each other, and are not used to limit the protection scope of the present invention.
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.
Claims (9)
1. A method for associating data with a model, comprising:
acquiring internet of things data and determining equipment identification in the internet of things data;
taking the Internet of things equipment corresponding to the equipment identifier as a sub-object in a Building Information Model (BIM), and determining a main object corresponding to the sub-object, wherein the main object and the sub-object are equipment or equipment of which the space is related to or the space geometry is included according to the equipment or space set according to the actual engineering condition;
matching the parameter type and the instance of the sub-object with the parameter type and the instance of the main object respectively to obtain a matching item of the main object matched with the parameter type and the instance of the sub-object;
taking data corresponding to the equipment identifier in the data of the Internet of things as data corresponding to the matching item;
wherein matching the parameter type of the sub-object with the parameter type of the main object includes:
calculating the similarity of parameter name fields, parameter coding fields or unit fields in the parameter types of the sub-objects and the main object;
and when the similarity reaches a set value, judging that the parameter type of the sub-object is matched with the parameter type of the main object.
2. The method of claim 1, wherein matching the instance of the child object with the instance of the primary object comprises:
and if the main object geometry contains the sub object or the main object is directly communicated with the sub object through a pipeline, judging that the instance of the sub object is matched with the instance of the main object.
3. The method of claim 1, wherein the step of determining the position of the substrate comprises,
the primary object includes a space, the space including a room; correspondingly, the sub-object comprises at least one of a temperature and humidity sensor, a carbon dioxide CO2 sensor, a fine particulate matter PM2.5 sensor and a passenger flow sensor; the space comprises a sump; correspondingly, the sub-object comprises a water immersion sensor;
the main object comprises a water chilling unit; correspondingly, the sub-object comprises at least one of a temperature sensor, a water flow sensor, a pressure gauge and a kilowatt-hour meter;
the main object comprises a power distribution cabinet; accordingly, the sub-objects include at least one of a power distribution drawer and a kilowatt-hour meter.
4. The method of claim 1, wherein the device identification comprises at least one of a factory code, a two-dimensional code, a radio frequency identification RFID, a transmission control protocol/internet protocol TCP/IP address, a bluetooth address code, a fifth generation mobile communication technology 5G communication address code.
5. A method according to claim 3, wherein if the main object geometry contains the sub-object, determining that the instance of the sub-object matches the instance of the main object comprises:
judging whether an intersection exists between three-dimensional geometric bodies corresponding to the main object and the sub-object respectively, and judging that the instance of the sub-object is matched with the instance of the main object when the ratio of the volume of the intersection part to the volume of the three-dimensional geometric body corresponding to the sub-object exceeds a preset ratio.
6. An apparatus for associating data with a model, comprising:
the device identification determining module is used for acquiring the internet of things data and determining the device identification in the internet of things data;
the device comprises a main object determining module corresponding to a sub-object, and a storage module, wherein the main object determining module is used for taking the Internet of things device corresponding to the device identifier as the sub-object in a BIM model and determining the main object corresponding to the sub-object, and the main object and the sub-object are devices or spaces set according to actual engineering conditions, and devices associated with the devices or contained in the space geometry respectively;
the matching item acquisition module is used for respectively matching the parameter type and the instance of the sub-object with the parameter type and the instance of the main object to obtain a matching item of the main object matched with the parameter type and the instance of the sub-object;
and the data determining module is used for taking the data corresponding to the equipment identifier in the data of the Internet of things as the data corresponding to the matching item.
7. The apparatus of claim 6, wherein the match acquisition module comprises:
a similarity calculating unit, configured to calculate a similarity of a parameter name field, a parameter code field, or a unit field in parameter types of the sub-object and the main object;
and the parameter type matching unit is used for judging that the parameter type of the sub-object is matched with the parameter type of the main object when the similarity reaches a set value.
8. A terminal or server, the terminal or server comprising:
one or more processors;
storage means for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of associating data with a model of any of claims 1-5.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements a method of associating data with a model according to any of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911047208.8A CN110807066B (en) | 2019-10-30 | 2019-10-30 | Method, device, terminal or server for associating data with model |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911047208.8A CN110807066B (en) | 2019-10-30 | 2019-10-30 | Method, device, terminal or server for associating data with model |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110807066A CN110807066A (en) | 2020-02-18 |
CN110807066B true CN110807066B (en) | 2023-09-05 |
Family
ID=69489708
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911047208.8A Active CN110807066B (en) | 2019-10-30 | 2019-10-30 | Method, device, terminal or server for associating data with model |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110807066B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114118285B (en) * | 2021-12-01 | 2024-08-20 | 深圳须弥云图空间科技有限公司 | Building data matching method and device and electronic equipment |
CN115659471B (en) * | 2022-11-02 | 2024-01-26 | 华建数创(上海)科技有限公司 | Data fusion method based on object model and model coding |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102833117A (en) * | 2012-09-10 | 2012-12-19 | 山东省计算中心 | Data center dynamic environment monitoring system and method on basis of IOT (Internet Of Things) technology |
WO2015036817A1 (en) * | 2013-09-15 | 2015-03-19 | Yogesh Chunilal Rathod | Structured updated status, requests, user data & programming based presenting & accessing of connections |
CN104714950A (en) * | 2013-12-13 | 2015-06-17 | 中国银联股份有限公司 | Method and system for correcting and supplementing information in database |
CN104765329A (en) * | 2014-03-11 | 2015-07-08 | 北京博锐尚格节能技术股份有限公司 | 3D energy consumption display method, 3D energy consumption display device and 3D energy consumption display system |
CN107103158A (en) * | 2017-05-24 | 2017-08-29 | 中铁四局集团有限公司 | Method for realizing rapid modeling dynamic modification of high-speed railway bridge by utilizing DYNAMOO |
CN108052688A (en) * | 2017-10-09 | 2018-05-18 | 深圳高速工程顾问有限公司 | Calculation amount data processing method, device, storage medium and computer equipment |
CN109327551A (en) * | 2018-12-04 | 2019-02-12 | 浩云科技股份有限公司 | By the method and device of internet of things equipment access platform of internet of things, server |
CN110069520A (en) * | 2019-03-16 | 2019-07-30 | 平安城市建设科技(深圳)有限公司 | Collecting method, data collection station, background server and storage medium |
CN110135814A (en) * | 2019-05-21 | 2019-08-16 | 湖北合联工程管理有限公司 | The correlating method of BIM and project data, system and terminal device |
CN110232235A (en) * | 2019-06-10 | 2019-09-13 | 北京禹数技术有限公司 | Relational data processing method, device and electronic equipment based on threedimensional model |
-
2019
- 2019-10-30 CN CN201911047208.8A patent/CN110807066B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102833117A (en) * | 2012-09-10 | 2012-12-19 | 山东省计算中心 | Data center dynamic environment monitoring system and method on basis of IOT (Internet Of Things) technology |
WO2015036817A1 (en) * | 2013-09-15 | 2015-03-19 | Yogesh Chunilal Rathod | Structured updated status, requests, user data & programming based presenting & accessing of connections |
CN104714950A (en) * | 2013-12-13 | 2015-06-17 | 中国银联股份有限公司 | Method and system for correcting and supplementing information in database |
CN104765329A (en) * | 2014-03-11 | 2015-07-08 | 北京博锐尚格节能技术股份有限公司 | 3D energy consumption display method, 3D energy consumption display device and 3D energy consumption display system |
CN107103158A (en) * | 2017-05-24 | 2017-08-29 | 中铁四局集团有限公司 | Method for realizing rapid modeling dynamic modification of high-speed railway bridge by utilizing DYNAMOO |
CN108052688A (en) * | 2017-10-09 | 2018-05-18 | 深圳高速工程顾问有限公司 | Calculation amount data processing method, device, storage medium and computer equipment |
CN109327551A (en) * | 2018-12-04 | 2019-02-12 | 浩云科技股份有限公司 | By the method and device of internet of things equipment access platform of internet of things, server |
CN110069520A (en) * | 2019-03-16 | 2019-07-30 | 平安城市建设科技(深圳)有限公司 | Collecting method, data collection station, background server and storage medium |
CN110135814A (en) * | 2019-05-21 | 2019-08-16 | 湖北合联工程管理有限公司 | The correlating method of BIM and project data, system and terminal device |
CN110232235A (en) * | 2019-06-10 | 2019-09-13 | 北京禹数技术有限公司 | Relational data processing method, device and electronic equipment based on threedimensional model |
Non-Patent Citations (1)
Title |
---|
基于BIM和物联网的桥梁运维管理应用研究;刘阳;靳华中;刘潇龙;周星光;;信息技术与信息化(11);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN110807066A (en) | 2020-02-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103605662B (en) | Distributed computation frame parameter optimizing method, device and system | |
CN110232235B (en) | Three-dimensional model-based relational data processing method and device and electronic equipment | |
CN110807066B (en) | Method, device, terminal or server for associating data with model | |
US20130339371A1 (en) | Spatio-temporal data management system, spatio-temporal data management method, and program thereof | |
CN109783706B (en) | Data processing method and device for pipe network topological relation and electronic equipment | |
CN110109999B (en) | System for converting SMART3D three-dimensional model into FlowMaster model and conversion method | |
CN110750840A (en) | Method and device for automatically generating two-dimensional part view based on three-dimensional model | |
CN110222407B (en) | BIM data fusion method and device | |
CN112650858B (en) | Emergency assistance information acquisition method and device, computer equipment and medium | |
CN110334140A (en) | The method, apparatus and server of processing equipment reported data | |
CN105468869A (en) | Topological relation analysis method of PDS (Plant Design System) model | |
CN114418025A (en) | Real-time interaction method, device and equipment based on BIM data and Internet of things data | |
CN103077255B (en) | Identification method and system for 3D (three-dimensional) model of nuclear power station | |
CN112182871A (en) | System and method for converting three-dimensional pipeline model into MapGIS model | |
Xu et al. | Machining feature recognition from in-process model of NC simulation | |
Xian et al. | Efficient and effective cage generation by region decomposition | |
CN110688439A (en) | Method for automatically identifying and analyzing enterprise information based on regional geocoding | |
CN116303870A (en) | Gas flow value mapping method and system for gas pipe network data management | |
CN105183810A (en) | Simplification method and apparatus for road network | |
Mozumdar et al. | A big data correlation orchestrator for Internet of Things | |
CN110825740B (en) | Method, device, terminal or server for associating data with model | |
US20220057098A1 (en) | Method and system for hvac system data mapping, control method of hvac system and storage medium | |
CN111125272B (en) | Regional characteristic acquisition method, regional characteristic acquisition device, computer equipment and medium | |
CN112732925A (en) | Method for determining investment data based on atlas, storage medium and related equipment | |
CN101882354B (en) | Device and method for dynamically calculating physical quantity of sensor |
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 |