CN116089380B - Building data and Internet of things data binding method and system - Google Patents
Building data and Internet of things data binding method and system Download PDFInfo
- Publication number
- CN116089380B CN116089380B CN202310370345.5A CN202310370345A CN116089380B CN 116089380 B CN116089380 B CN 116089380B CN 202310370345 A CN202310370345 A CN 202310370345A CN 116089380 B CN116089380 B CN 116089380B
- Authority
- CN
- China
- Prior art keywords
- target
- measuring point
- component
- internet
- user
- 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
Images
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/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/173—Customisation support for file systems, e.g. localisation, multi-language support, personalisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/11—File system administration, e.g. details of archiving or snapshots
- G06F16/116—Details of conversion of file system types or formats
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
- G06F16/168—Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0483—Interaction with page-structured environments, e.g. book metaphor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04842—Selection of displayed objects or displayed text elements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/0486—Drag-and-drop
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention relates to the technical field of data processing, and provides a method and a system for binding building data and Internet of things data. The building data and Internet of things data binding system comprises a user side and a server side which are in communication connection, wherein the user side obtains each target measuring point selected by a user from all measuring points of Internet of things equipment and each target component and component effect thereof selected from all components of a building information model, obtains connection relation between all target measuring points and all target components based on connection operation executed by the user, and then generates a configuration file in a preset format and sends the configuration file to the server side based on the connection relation, each target measuring point and each target component and component effect thereof; the service end performs data binding and effect configuration based on the configuration file. Through interaction between the user terminal and the user and combination of the server terminal, binding of building data and Internet of things data is achieved, operation is simplified, and data binding efficiency is improved.
Description
Technical Field
The invention relates to the technical field of data processing, in particular to a method and a system for binding building data and Internet of things data.
Background
The building information model (Building Information Modeling, BIM) is a virtual three-dimensional building engineering model, and because building data of the BIM is a static resource, and the Internet of things equipment can collect Internet of things data in real time, the building data and the Internet of things data can be bound to realize dynamic display of the data.
At present, data binding is generally realized by developing and programming by professional technicians, but the mode is complex and complicated to operate, and if the Internet of things equipment is changed and the program is required to be modified and redeployed, the maintenance cost is high and the efficiency is also affected.
Disclosure of Invention
In view of the above, the present invention aims to provide a method and a system for binding building data and internet of things data.
In order to achieve the above purpose, the technical scheme adopted by the invention is as follows:
in a first aspect, the present invention provides a method for binding building data and internet of things data, which is applied to a system for binding building data and internet of things data, wherein the system for binding building data and internet of things data comprises a user side and a server side which are in communication connection, and the method comprises:
the user side obtains each target measuring point selected by the user from all measuring points of the Internet of things equipment; one measuring point represents one type of internet of things data collected by the internet of things equipment;
the user side obtains each target component selected by the user from all components of the building information model and obtains the component effect of each target component selected by the user; one of the component representations constitutes a part of the building information model;
the user terminal obtains the connection relation between all target measuring points and all target components based on the connection operation executed by the user;
the user side generates a configuration file in a preset format based on the connection relation, each target measuring point, each target component and the component effect thereof and sends the configuration file to the server side;
and the server performs data binding and effect configuration based on the configuration file.
In an optional embodiment, the obtaining, by the user side, each target measurement point selected by the user from all measurement points of the internet of things device includes:
acquiring corresponding Internet of things equipment based on an Internet of things equipment node newly built by a user, and loading all measuring points of the Internet of things equipment;
packaging each measuring point into each measuring point component and displaying the measuring point components;
and obtaining each to-be-determined measuring point based on each measuring point component selected by a user, and obtaining each target measuring point passing verification after carrying out data verification on each to-be-determined measuring point.
In an alternative embodiment, the obtaining, by the user terminal, each target component selected by the user from all components of the building information model and obtaining a component effect of each target component selected by the user includes:
loading all components in the building information model based on the building information model file uploaded by the user;
packaging each component to obtain a model tree and displaying the model tree;
obtaining each target member based on a selection operation performed by a user on the model tree;
and obtaining the component effect of each target component based on the effect component selected by the user from a plurality of preset effect components.
In an optional embodiment, the generating, by the user side, a configuration file in a preset format based on the connection relationship, each target measurement point, each target component and a component effect thereof includes:
acquiring a device identifier of the Internet of things device and a model identifier of the building information model;
acquiring the measuring point information of each target measuring point, wherein the measuring point information comprises a measuring point identifier, a measuring point type and a measuring point data value;
acquiring component information of each target component and an effect identifier of a component effect of each target component, wherein the component information comprises the component identifier and the component name;
and generating a configuration file in a preset format based on the connection relation, the equipment identifier, the model identifier, the measuring point information of each target measuring point, the component information of each target component and each effect identifier.
In an optional embodiment, the data binding and effect configuration performed by the server based on the configuration file includes:
acquiring a task process subjected to persistence processing, and acquiring a target thread in an idle state from a thread pool of the task process;
analyzing the configuration file through the target thread to obtain a target component connected with each target measuring point;
binding each target measuring point with a target component connected with the target measuring point, and configuring the component effect of each target component as the display effect of the target measuring point when the data of the Internet of things is changed.
In an alternative embodiment, the binding, by the server, each target measurement point with a target member connected with the target measurement point includes:
for each target measuring point, acquiring Internet of things data represented by the target measuring point from the Internet of things equipment to obtain the to-be-processed Internet of things data;
building data of a target component connected with the target measuring point is obtained from the building information model, and building data to be processed is obtained;
binding the to-be-processed internet of things data with the to-be-processed building data.
In an alternative embodiment, the method further comprises:
the user side updates the configuration file based on the modification operation executed by the user to obtain a new configuration file, and sends the new configuration file to the server side;
and the server-side carries out data binding and effect configuration again based on the new configuration file.
In a second aspect, the invention provides a building data and internet of things data binding system, which comprises a user end and a server end which are in communication connection;
the user side is used for acquiring each target measuring point selected by a user from all measuring points of the Internet of things equipment; one measuring point represents one type of internet of things data collected by the internet of things equipment;
acquiring each target component selected by a user from all components of the building information model and acquiring a component effect of each target component selected by the user; one of the component representations constitutes a part of the building information model;
based on the connection operation executed by the user, obtaining the connection relation between all the target measuring points and all the target components;
generating a configuration file in a preset format based on the connection relation, each target measuring point, each target component and the component effect thereof, and sending the configuration file to the server;
the server is used for carrying out data binding and effect configuration based on the configuration file.
In an alternative embodiment, the user side is further configured to:
acquiring corresponding Internet of things equipment based on an Internet of things equipment node newly built by a user, and loading all measuring points of the Internet of things equipment;
packaging each measuring point into each measuring point component and displaying the measuring point components;
and obtaining each to-be-determined measuring point based on each measuring point component selected by a user, and obtaining each target measuring point passing verification after carrying out data verification on each to-be-determined measuring point.
In an alternative embodiment, the user side is further configured to:
loading all components in the building information model based on the building information model file uploaded by the user;
packaging each component to obtain a model tree and displaying the model tree;
obtaining each target member based on a selection operation performed by a user on the model tree;
and obtaining the component effect of each target component based on the effect component selected by the user from a plurality of preset effect components.
The building data and Internet of things data binding method and system provided by the invention comprise a user side and a server side which are in communication connection, wherein the user side firstly obtains each target measuring point selected by a user from all measuring points of Internet of things equipment, and obtains each target component selected by the user from all components of a building information model and the component effect of each target component selected by the user; then the user side obtains the connection relation between all target measuring points and all target components based on the connection operation executed by the user; then the user side generates a configuration file in a preset format based on the connection relation, each target measuring point, each target component and the component effect thereof and sends the configuration file to the server side; and finally, the server performs data binding and effect configuration based on the configuration file. The user side obtains the measuring points and the components selected by the user and the connection relation between the measuring points and the components, generates a configuration file and sends the configuration file to the server side, so that the server side realizes the binding of building data and the data of the Internet of things based on the configuration file, thereby realizing the visual operation of the data binding, simplifying the operation flow and improving the data binding efficiency.
In order to make the above objects, features and advantages of the present invention more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 shows a schematic diagram of a system for binding building data and internet of things data provided by an embodiment of the present invention;
fig. 2 shows a block schematic diagram of an electronic device according to an embodiment of the present invention;
fig. 3 shows one of flow diagrams of a method for binding building data and internet of things data according to an embodiment of the present invention;
FIG. 4 is a diagram showing an example of a method for binding building data and Internet of things data according to an embodiment of the present invention;
fig. 5 shows a second flowchart of a method for binding building data and internet of things data according to an embodiment of the present invention.
Icon: a 120-processor; 130-memory; 170-communication interface.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be made by a person skilled in the art without making any inventive effort, are intended to be within the scope of the present invention.
It is noted that relational terms such as "first" and "second", and the like, are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Referring to fig. 1, a schematic diagram of a binding system for building data and internet of things data according to an embodiment of the present invention includes a user end and a server end that are in communication connection.
The user may be a smart phone, personal computer, tablet, wearable device, notebook, ultra-Mobile Personal Computer (UMPC), netbook, personal digital assistant (Personal Digital Assistant, PDA), etc. The embodiment of the present invention is not limited in any way. Alternatively, the number of the clients may be one or more.
The server may be an independent server or a server cluster formed by a plurality of servers.
Fig. 2 is a block diagram of an electronic device according to an embodiment of the invention. The structure can be used for realizing the user side or the service side in the figure 1. The electronic device includes a processor 120, a memory 130, and a communication interface 170.
The processor 120, the memory 130, and the communication interface 170 are electrically connected directly or indirectly to each other to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines.
The processor 120 may be an integrated circuit chip with signal processing capability, which may be a general purpose processor such as a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; but may also be a Digital Signal Processor (DSP), application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components.
The Memory 130 may be random access Memory (Random Access Memory, RAM), read Only Memory (ROM), programmable Read Only Memory (Programmable Read-Only Memory, PROM), erasable Read Only Memory (Erasable Programmable Read-Only Memory, EPROM), electrically erasable Read Only Memory (Electric Erasable Programmable Read-Only Memory, EEPROM), etc.
The communication interface 170 may be used for communication of signaling or data with other node devices.
It should be noted that the structure shown in fig. 2 is only a schematic structural diagram of the electronic device, and the electronic device may further include more or fewer components than those shown in fig. 2, or have a different configuration from that shown in fig. 2. The components shown in fig. 2 may be implemented in hardware, software, or a combination thereof.
The building data and the internet of things data binding system are taken as an execution main body to execute each step in each method provided by the embodiment of the invention, and corresponding technical effects are realized.
Referring to fig. 3, fig. 3 is a flow chart of a method for binding building data and internet of things data according to an embodiment of the present invention.
Step S202, a user side obtains each target measuring point selected by the user from all measuring points of the Internet of things equipment; one measuring point represents one type of Internet of things data collected by Internet of things equipment;
in this embodiment, the internet of things device may be understood as an actual internet of things hardware device, which may collect different types or different types of internet of things data. One measure point is data of the Internet of things. For example, the internet of things device is an access control device, and the internet of things data collected by the internet of things device can include door opening action data, door closing action data, door state data, access control device attribute data and the like.
The user can access the webpage through the browser in the user side, and selects each measuring point to be bound at the time from all measuring points of the internet of things equipment displayed by the webpage, so that each target measuring point is obtained.
Step S204, the user side obtains each target component selected by the user in all components of the building information model and obtains the component effect of each target component selected by the user; a component represents a part constituting a building information model;
in this embodiment, the building information model may be understood as a building model drawn by a professional in the building field through drawing software, which is composed of a plurality of members, such as a door, a window, a wall, etc.
The user can select each component to be bound from all components of the building information model displayed by the webpage, so that each target component is obtained, and an effect is added for each target component, so that the component effect of each target component is obtained.
Step S206, the user terminal obtains the connection relation between all target measuring points and all target components based on the connection operation executed by the user;
step S208, the user side generates a configuration file in a preset format based on the connection relation, each target measuring point, each target component and the component effect thereof and sends the configuration file to the server side;
in this embodiment, the user may connect the target measurement point with the target member to be bound through the connection line, and the user terminal may obtain the connection relationship between all the target measurement points and all the target members based on the connection operation performed by the user.
And then the user can also execute the submitting operation to confirm that the data binding is carried out according to the connected mode, and the user side obtains the submitting operation executed by the user, generates a configuration file in a preset format based on the connection relation, each target measuring point, each target component and the component effect thereof and sends the configuration file to the server side.
Step S210, the service end performs data binding and effect configuration based on the configuration file;
in the embodiment, the server receives the configuration file sent by the user side and carries out data binding based on the configuration file so as to realize the binding of building data and internet of things data; and performing effect configuration based on the configuration file so as to achieve the effect that the dynamic effect is displayed by the building data, namely the components, bound by the data of the Internet of things when the data of the Internet of things changes.
Based on the steps, firstly, a user side obtains each target measuring point selected by the user from all measuring points of the internet of things equipment, and obtains each target component selected by the user from all components of the building information model and the component effect of each target component selected by the user; then the user side obtains the connection relation between all target measuring points and all target components based on the connection operation executed by the user; then the user side generates a configuration file in a preset format based on the connection relation, each target measuring point, each target component and the component effect thereof and sends the configuration file to the server side; and finally, the server performs data binding and effect configuration based on the configuration file. The user side obtains the measuring points and the components selected by the user and the connection relation between the measuring points and the components, generates a configuration file and sends the configuration file to the server side, so that the server side realizes the binding of building data and the data of the Internet of things based on the configuration file, thereby realizing the visual operation of the data binding, simplifying the operation flow and improving the data binding efficiency.
Optionally, for the step S202 described above, a possible implementation manner is provided in the embodiment of the present invention.
Step S202-1, acquiring corresponding Internet of things equipment based on an Internet of things equipment node newly built by a user, and loading all measuring points of the Internet of things equipment;
step S202-3, packaging each measuring point into each measuring point component and displaying the measuring point components;
step S202-5, each to-be-determined measuring point is obtained based on each measuring point component selected by a user, and each target measuring point passing verification is obtained after data verification is carried out on each to-be-determined measuring point.
In this embodiment, the web page accessed by the user includes an internet of things device library, and the user may newly build an internet of things device node in the internet of things device library.
For ease of understanding, an exemplary diagram is provided, with reference to FIG. 4. For example, the user newly builds an internet of things device node, and the user side can determine the corresponding internet of things device based on the internet of things device node and display the corresponding internet of things device in the webpage, as shown in the internet of things device 3 in fig. 4; then loading all measuring points of the Internet of things equipment 3 through application programming interfaces (Application Programming Interface, API) corresponding to the physical network equipment 3 to obtain database links or hardware interfaces corresponding to each measuring point; and then the database link or the hardware interface corresponding to each measuring point is packaged into each measuring point component according to the Http transmission protocol and displayed, as shown in the measuring points 1 to 8 in fig. 4.
The user can drag the measuring point component corresponding to the measuring point to be bound to the canvas area in the webpage, and the user side can obtain each measuring point to be determined such as the measuring point 1 and the measuring point 2 based on each measuring point component selected by the user; then, carrying out data verification on each to-be-determined measuring point to determine whether the data is available or not, and obtaining a verification result of each to-be-determined measuring point; and obtaining each to-be-determined measuring point with the verification result passing the verification, namely obtaining each target measuring point, and assuming that the measuring point 1 and the measuring point 2 pass the verification, the measuring point 1 and the measuring point 2 are both target measuring points.
Alternatively, for the above step S204, one possible implementation is provided in the embodiment of the present invention.
Step S204-1, loading all components in the building information model based on the building information model file uploaded by the user;
s204-3, packaging each component to obtain a model tree and displaying the model tree;
step S204-5, obtaining each target component based on the selection operation performed by the user on the model tree;
step S204-7, obtaining the component effect of each target component based on the effect component selected by the user from the plurality of preset effect components.
In this embodiment, the user may upload the building information model file through a file transfer protocol (File Transfer Protocol, FTP).
For ease of understanding, the following description will continue with reference to the example shown in fig. 4. For example, the user side obtains a corresponding building information model by reading a building information model file uploaded by the user, and loads all components in the building information model through an API interface corresponding to the building information model; each component is then encapsulated into each component assembly according to the Http transport protocol to generate a model tree and display. The model tree as shown in fig. 4 includes all floors in the building information model and a plurality of building components in each floor. It can be appreciated that, because the components in the building information model have hierarchical relationships, the components are displayed in a model tree manner, so that a user can clearly know the structure of the building information model and quickly select the components.
The user can select the components to be bound in the model tree, such as dragging the component assembly corresponding to the components to the canvas area in the webpage, and the user side can obtain each target component, such as the decorative wooden door [340745] and the decorative wooden door [341079], based on the selection operation performed by the user on the model tree. And, the web page may also display a plurality of preset effect components, and the user may select an effect component for each target member, i.e. obtain the member effect of each target member.
Optionally, for the process that the user side generates the configuration file in the preset format based on the connection relationship, each target measurement point, each target component and the component effect thereof in the step S208, the embodiment of the present invention provides a possible implementation manner.
Step S208-1, obtaining equipment identification of the equipment of the Internet of things and model identification of a building information model;
step S208-3, obtaining the measuring point information of each target measuring point, wherein the measuring point information comprises a measuring point identifier, a measuring point type and a measuring point data value;
step S208-5, obtaining component information of each target component and an effect identifier of a component effect of each target component, wherein the component information comprises the component identifier and the component name;
step S208-7, a configuration file in a preset format is generated based on the connection relation, the equipment identifier, the model identifier, the measuring point information of each target measuring point, the component information of each target component and each effect identifier.
In this embodiment, based on each target measurement point selected by the user, the device identifier, that is, lab_alignment, of the internet of things device and measurement point information of each target measurement point may be obtained, where the measurement point information may include a measurement point identifier, that is, measurement point type, that is, measurement_type, and a measurement point data value, that is, measurement_info. Optionally, the measurement point information may further include a measurement point verification status, i.e., measurement_status.
The model identifier, i.e., mode_id, of the building information model and the component information of each target component can also be obtained based on each target component and the component effect thereof selected by the user, wherein the component information comprises a component identifier, i.e., obv _id, a component name, i.e., obv _name, and an effect identifier, i.e., obv _effect, for obtaining the component effect of each target component.
For the connection relationship, two associated node numbers such as node_id and next_node_id may be used to represent the connection relationship of one target measurement point and one target member.
Based on the connection relationship, the device identifier, the model identifier, the measurement point information of each target measurement point, the component information of each target component and each effect identifier, a configuration file in a preset format such as JSON format can be generated by means of MAP mapping.
For ease of understanding, embodiments of the present invention provide an example of a JSON formatted configuration file.
{
"lab_originate": "CB35603996",
"gauging_point": 001,
"data":
{
"gauging_type": "RS485",
"gauging_info": "0",
"gauging_status": "200",
"node_id": "CFJLDFDK",
"next_node_id": "ASDASFDF"
},
"modle_id": "T001",
"obv_id": "T001025",
"data":
{
"obv _name": "decorative wooden door [340745]",
"obv-effect": "flicker",
"node_id": "ASDASFDF"
}
},
{
"lab_originate": "CB35603996",
"gauging_point": 002,
"data":
{
"gauging_type": "RS232",
"gauging_info": "1",
"gauging_status": "200",
"node_id": "FGF34FG1",
"next_node_id": "SDFGHGHD"
},
"modle_id": "T001",
"obv_id": "T001026",
"data":
{
"obv _name": "decorative wooden door [341079]",
"obv-effect": rotate ",
"node_id": " SDFGHGHD"
}
}
based on the above example, the node number of the node 1, namely node_id, is CFJLDFDK, and the node number of the node 1, namely next_node_id, is ASDASFDF; the component mark of the component decoration wooden door [340745] is T001025, the node number corresponding to the component mark is ASDASFDF, the connection between the measuring point 1 and the component decoration wooden door [340745] can be shown based on the two associated node numbers, and the connection between the measuring point 2, namely the measuring point mark 002, and the component decoration wooden door [341079] can be also shown.
Optionally, for the step S210 described above, a possible implementation manner is provided in the embodiment of the present invention.
Step S210-1, acquiring a task process subjected to persistence processing, and acquiring a target thread in an idle state from a thread pool of the task process;
step S210-3, analyzing the configuration file through a target thread to obtain a target component connected with each target measuring point;
step S210-5, binding each target measuring point with the target component connected with the target measuring point, and configuring the component effect of each target component as the display effect of the target measuring point when the data of the Internet of things is changed.
In this embodiment, the server may create a task process specifically configured to bind building data and data of the internet of things in advance, and perform persistence processing on the task process to create a persistent JVM java process environment.
The server receives the configuration file sent by the user side and searches the thread in the idle state in the thread pool of the task process. If no thread in the thread pool is in the idle state, which means that each thread in the thread pool is in the working state, sequencing according to the generation time of the configuration file to wait for the thread in the idle state.
If the target thread in the idle state is obtained from the thread pool, analyzing the configuration file through the target thread to obtain the target component connected with each target measuring point and the component effect of each target component; and binding each target measuring point with a target component connected with the target measuring point, and configuring the component effect of each target component as the display effect of the target component when the data of the Internet of things indicated by the target measuring point is changed, so that the bound building data is displayed according to the configured component effect when the data of the Internet of things is changed.
Optionally, for the process of binding each target measurement point with the target component connected with each target measurement point in step S210-5, an implementation manner is provided in the embodiment of the present invention.
Step S210-5-1, for each target measuring point, acquiring Internet of things data represented by the target measuring point from the Internet of things equipment to obtain the to-be-processed Internet of things data;
step S210-5-3, obtaining building data of a target component connected with a target measuring point from a building information model to obtain building data to be processed;
and step S210-5-5, binding the to-be-processed Internet of things data with the to-be-processed building data.
It will be appreciated that each target site is bound to the target member to which it is connected in a similar manner, and for brevity, any one target site will be described as an example in this embodiment of the invention.
In this embodiment, the internet of things data represented by the target measurement point can be obtained from the internet of things device, that is, the internet of things data to be processed is obtained, which can be understood as the internet of things data to be bound; then building data of a target component connected with the target measuring point is obtained from the building information model, so that the building data to be processed is obtained, and the building data to be bound can be understood; and binding the to-be-processed internet of things data with the to-be-processed building data, and completing the binding of one target measuring point and the target component connected with the target measuring point. And processing each target measuring point in a similar manner, namely binding building data and Internet of things data.
Optionally, in some scenarios, the user may also modify the binding information already submitted, and further an implementation manner is provided in the embodiment of the present invention, please refer to fig. 5.
Step S212, the user side updates the configuration file based on the modification operation executed by the user to obtain a new configuration file, and sends the new configuration file to the server side;
in step S214, the service end re-performs data binding and effect configuration based on the new configuration file.
In this embodiment, the user may modify the binding information that has been submitted, for example, selecting other measurement points, selecting other components, selecting other effect components, or modifying the connection relationship between the measurement points and the components.
The user side updates the configuration file based on the modification operation executed by the user to obtain a new configuration file, and sends the new configuration file to the server side. It should be noted that, the client only updates the content of the generated configuration file, and does not recreate the configuration file.
The server receives the new configuration file sent by the user end, and obtains the thread in the idle state from the thread pool of the same task process, so as to re-perform data binding and effect configuration according to the new configuration file through the thread, and the specific implementation process is similar to steps S210-3 to S210-5, and is omitted herein for brevity.
The embodiment of the invention also provides a system for binding the building data and the data of the Internet of things. It should be noted that, in the binding system for building data and internet of things data provided in this embodiment, the basic principle and the technical effects thereof are the same as those of the foregoing embodiments, and for brevity, reference may be made to corresponding contents in the foregoing embodiments where the description of the embodiment is not mentioned. The building data and Internet of things data binding system comprises a user side and a server side which are in communication connection.
The user side is used for acquiring each target measuring point selected by a user from all measuring points of the internet of things equipment; one measuring point represents one type of Internet of things data collected by Internet of things equipment; acquiring each target component selected by a user from all components of the building information model and acquiring a component effect of each target component selected by the user; a component represents a part constituting a building information model; based on the connection operation executed by the user, obtaining the connection relation between all the target measuring points and all the target components; based on the connection relation, each target measuring point, each target component and the component effect thereof, generating a configuration file in a preset format and sending the configuration file to a server;
the server side is used for carrying out data binding and effect configuration based on the configuration file.
Optionally, the user side is further configured to: acquiring corresponding Internet of things equipment based on an Internet of things equipment node newly built by a user, and loading all measuring points of the Internet of things equipment; packaging each measuring point into each measuring point component and displaying; and obtaining each to-be-determined measuring point based on each measuring point component selected by a user, and obtaining each target measuring point passing verification after carrying out data verification on each to-be-determined measuring point.
Optionally, the user side is further configured to: loading all components in the building information model based on the building information model file uploaded by the user; packaging each component to obtain a model tree and displaying the model tree; obtaining each target member based on a selection operation performed by a user on the model tree; the component effect of each target component is obtained based on an effect component selected by a user from a plurality of preset effect components for each target component.
Optionally, the user side is further configured to: acquiring a device identifier of the Internet of things device and a model identifier of a building information model; acquiring measuring point information of each target measuring point, wherein the measuring point information comprises a measuring point identifier, a measuring point type and a measuring point data value; acquiring component information of each target component and an effect identifier of a component effect of each target component, wherein the component information comprises the component identifier and the component name; and generating a configuration file in a preset format based on the connection relation, the equipment identifier, the model identifier, the measuring point information of each target measuring point, the component information of each target component and each effect identifier.
Optionally, the server is further configured to: acquiring a task process subjected to persistence processing, and acquiring a target thread in an idle state from a thread pool of the task process; analyzing the configuration file through a target thread to obtain a target component connected with each target measuring point; binding each target measuring point with the target component connected with the target measuring point, and configuring the component effect of each target component as the display effect of the target measuring point when the data of the Internet of things is changed.
Optionally, the server is further configured to: for each target measuring point, acquiring Internet of things data represented by the target measuring point from Internet of things equipment to obtain the to-be-processed Internet of things data; building data of a target component connected with a target measuring point is obtained from a building information model, and building data to be processed is obtained; binding the to-be-processed internet of things data with the to-be-processed building data.
Optionally, the user side is further configured to: updating the configuration file based on the modification operation executed by the user to obtain a new configuration file, and sending the new configuration file to the server;
the server is also used for: and carrying out data binding and effect configuration again based on the new configuration file.
In several embodiments provided by the present invention, it should be understood that each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present invention may be integrated together to form a single part, or each module may exist alone, or two or more modules may be integrated to form a single part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (8)
1. The method for binding building data and the Internet of things data is characterized by being applied to a building data and Internet of things data binding system, wherein the building data and Internet of things data binding system comprises a user side and a server side which are in communication connection, and the method comprises the following steps:
the user side obtains each target measuring point selected by the user from all measuring points of the Internet of things equipment; one measuring point represents one type of internet of things data collected by the internet of things equipment;
the user side obtains each target component selected by the user from all components of the building information model and obtains the component effect of each target component selected by the user; one of the component representations constitutes a part of the building information model;
the user terminal obtains the connection relation between all target measuring points and all target components based on the connection operation executed by the user;
the user side obtains the equipment identifier of the Internet of things equipment and the model identifier of the building information model; acquiring the measuring point information of each target measuring point, wherein the measuring point information comprises a measuring point identifier, a measuring point type and a measuring point data value; acquiring component information of each target component and an effect identifier of a component effect of each target component, wherein the component information comprises the component identifier and the component name; generating a configuration file in a preset format based on the connection relation, the equipment identifier, the model identifier, the measuring point information of each target measuring point, the component information of each target component and each effect identifier, and sending the configuration file to the server;
the server acquires a task process subjected to persistence processing, and acquires a target thread in an idle state from a thread pool of the task process; analyzing the configuration file through the target thread to obtain a target component connected with each target measuring point; binding each target measuring point with a target component connected with the target measuring point, and configuring the component effect of each target component as the display effect of the target measuring point when the data of the Internet of things is changed.
2. The method of claim 1, wherein the obtaining, by the user side, each target measurement point selected by the user from all measurement points of the internet of things device includes:
acquiring corresponding Internet of things equipment based on an Internet of things equipment node newly built by a user, and loading all measuring points of the Internet of things equipment;
packaging each measuring point into each measuring point component and displaying the measuring point components;
and obtaining each to-be-determined measuring point based on each measuring point component selected by a user, and obtaining each target measuring point passing verification after carrying out data verification on each to-be-determined measuring point.
3. The method according to claim 1, wherein the user side obtaining each target component selected by the user among all components of the building information model and obtaining a component effect of each of the target components selected by the user comprises:
loading all components in the building information model based on the building information model file uploaded by the user;
packaging each component to obtain a model tree and displaying the model tree;
obtaining each target member based on a selection operation performed by a user on the model tree;
and obtaining the component effect of each target component based on the effect component selected by the user from a plurality of preset effect components.
4. The method of claim 1, wherein the server binds each target site with its connected target component, comprising:
for each target measuring point, acquiring Internet of things data represented by the target measuring point from the Internet of things equipment to obtain the to-be-processed Internet of things data;
building data of a target component connected with the target measuring point is obtained from the building information model, and building data to be processed is obtained;
binding the to-be-processed internet of things data with the to-be-processed building data.
5. The method according to claim 1, wherein the method further comprises:
the user side updates the configuration file based on the modification operation executed by the user to obtain a new configuration file, and sends the new configuration file to the server side;
and the server-side carries out data binding and effect configuration again based on the new configuration file.
6. The building data and Internet of things data binding system is characterized by comprising a user side and a server side which are in communication connection;
the user side is used for acquiring each target measuring point selected by a user from all measuring points of the Internet of things equipment; one measuring point represents one type of internet of things data collected by the internet of things equipment;
acquiring each target component selected by a user from all components of the building information model and acquiring a component effect of each target component selected by the user; one of the component representations constitutes a part of the building information model;
based on the connection operation executed by the user, obtaining the connection relation between all the target measuring points and all the target components;
acquiring a device identifier of the Internet of things device and a model identifier of the building information model; acquiring the measuring point information of each target measuring point, wherein the measuring point information comprises a measuring point identifier, a measuring point type and a measuring point data value; acquiring component information of each target component and an effect identifier of a component effect of each target component, wherein the component information comprises the component identifier and the component name; generating a configuration file in a preset format based on the connection relation, the equipment identifier, the model identifier, the measuring point information of each target measuring point, the component information of each target component and each effect identifier, and sending the configuration file to the server;
the server side is used for acquiring a task process subjected to persistence processing and acquiring a target thread in an idle state from a thread pool of the task process; analyzing the configuration file through the target thread to obtain a target component connected with each target measuring point; binding each target measuring point with a target component connected with the target measuring point, and configuring the component effect of each target component as the display effect of the target measuring point when the data of the Internet of things is changed.
7. The system for binding building data and internet of things data according to claim 6, wherein the client is further configured to:
acquiring corresponding Internet of things equipment based on an Internet of things equipment node newly built by a user, and loading all measuring points of the Internet of things equipment;
packaging each measuring point into each measuring point component and displaying the measuring point components;
and obtaining each to-be-determined measuring point based on each measuring point component selected by a user, and obtaining each target measuring point passing verification after carrying out data verification on each to-be-determined measuring point.
8. The system for binding building data and internet of things data according to claim 6, wherein the client is further configured to:
loading all components in the building information model based on the building information model file uploaded by the user;
packaging each component to obtain a model tree and displaying the model tree;
obtaining each target member based on a selection operation performed by a user on the model tree;
and obtaining the component effect of each target component based on the effect component selected by the user from a plurality of preset effect components.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310370345.5A CN116089380B (en) | 2023-04-10 | 2023-04-10 | Building data and Internet of things data binding method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310370345.5A CN116089380B (en) | 2023-04-10 | 2023-04-10 | Building data and Internet of things data binding method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116089380A CN116089380A (en) | 2023-05-09 |
CN116089380B true CN116089380B (en) | 2023-06-30 |
Family
ID=86210549
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310370345.5A Active CN116089380B (en) | 2023-04-10 | 2023-04-10 | Building data and Internet of things data binding method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116089380B (en) |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103886139A (en) * | 2014-02-27 | 2014-06-25 | 上海蓝色星球科技有限公司 | Event interaction method based on building information model (BIM) |
CN112217831B (en) * | 2017-09-18 | 2023-04-25 | 创新先进技术有限公司 | Information interaction method, device and equipment for Internet of things equipment |
CN107784484A (en) * | 2017-10-19 | 2018-03-09 | 毕埃慕(上海)建筑数据技术股份有限公司 | Model and flow hooking method and device |
CN108401037B (en) * | 2018-01-23 | 2021-07-06 | 创新先进技术有限公司 | Binding method, device and system of user terminal and equipment |
CN109885293B (en) * | 2019-02-27 | 2022-04-29 | 重庆电子工程职业学院 | Method and device for automatically creating application development of Internet of things and server |
CN111629332B (en) * | 2019-02-28 | 2023-03-21 | 阿里巴巴集团控股有限公司 | Correlation method and device of building information model and Internet of things equipment and mobile terminal |
CN111666126B (en) * | 2020-06-09 | 2021-06-29 | 中亿丰建设集团股份有限公司 | Building Internet of things integration system and method based on 3d visualization code-free development technology |
CN112131636B (en) * | 2020-09-08 | 2021-05-07 | 湖南建工集团有限公司 | Device and method for accurately mapping building information model and Internet of things monitoring item |
CN114298253B (en) * | 2021-12-24 | 2024-02-13 | 比姆泰客信息科技(上海)有限公司 | Building component installation position acquisition and BIM (building information modeling) model recording method based on Internet of things |
CN114418025A (en) * | 2022-01-26 | 2022-04-29 | 中国人民解放军63811部队 | Real-time interaction method, device and equipment based on BIM data and Internet of things data |
CN115481973A (en) * | 2022-09-02 | 2022-12-16 | 同炎数智科技(重庆)有限公司 | Method and system for realizing project process control through BIM (building information modeling) |
-
2023
- 2023-04-10 CN CN202310370345.5A patent/CN116089380B/en active Active
Non-Patent Citations (1)
Title |
---|
BIM+物联网技术在中国尊项目运维管理中的应用;刘三明 等;安装(07);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN116089380A (en) | 2023-05-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8504913B2 (en) | Client-side components | |
CN105787123B (en) | The server computer and method of minimum downloading and simulation page navigation feature are provided | |
CN108153670A (en) | A kind of interface test method, device and electronic equipment | |
CN111507541B (en) | Goods quantity prediction model construction method, goods quantity measurement device and electronic equipment | |
US7188112B1 (en) | Method, system, and apparatus for exposing server properties to a client application | |
US10303444B2 (en) | Composable application session parameters | |
CN111061956A (en) | Method and apparatus for generating information | |
CN114237651A (en) | Installation method and device of cloud native application, electronic equipment and medium | |
CN109254778B (en) | Method and apparatus for deploying an information flow system | |
CN114048583A (en) | Application method and system for extending real object ID based on GIM model | |
CN116089380B (en) | Building data and Internet of things data binding method and system | |
Pandharbale et al. | QoS-Aware web services recommendations using dynamic clustering algorithms | |
CN112965711A (en) | Job test method and apparatus, electronic device, and storage medium | |
CN113010149A (en) | Application loading method and device, user terminal and server | |
CN116208676A (en) | Data back-source method, device, computer equipment, storage medium and program product | |
CN110569599A (en) | map service publishing method, system and medium | |
US20230067833A1 (en) | Integrating applications using containerized integration flow | |
CN115469908A (en) | Application program generation method, device, system, computer equipment and storage medium | |
CN111919199B (en) | Neural network system and method for application navigation | |
US11301498B2 (en) | Multi-cloud object store access | |
US9424243B1 (en) | Mechanism to support composite data models in HTML form | |
CN106156136A (en) | The generation of company's sorting data | |
CN105335470A (en) | Method and device for showing user login information | |
CN110597777A (en) | Log processing method and device | |
CN110618814A (en) | Data visualization method and device, electronic equipment and computer readable 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |