CN112241294A - BIM-based client program and webpage interaction method and device - Google Patents

BIM-based client program and webpage interaction method and device Download PDF

Info

Publication number
CN112241294A
CN112241294A CN202011122184.0A CN202011122184A CN112241294A CN 112241294 A CN112241294 A CN 112241294A CN 202011122184 A CN202011122184 A CN 202011122184A CN 112241294 A CN112241294 A CN 112241294A
Authority
CN
China
Prior art keywords
bim
webpage
interaction
model
program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011122184.0A
Other languages
Chinese (zh)
Inventor
李智诚
牛文楠
俞志锋
张云翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Power Supply Bureau Co Ltd
Original Assignee
Shenzhen Power Supply Bureau Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Power Supply Bureau Co Ltd filed Critical Shenzhen Power Supply Bureau Co Ltd
Priority to CN202011122184.0A priority Critical patent/CN112241294A/en
Publication of CN112241294A publication Critical patent/CN112241294A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/986Document structures and storage, e.g. HTML extensions

Abstract

The invention discloses a BIM-based client program and webpage interaction method and device, wherein the interaction method comprises the following steps: step S1, acquiring the interaction requirement of the webpage and the three-dimensional model, and setting monitoring parameters according to the interaction requirement; step S2, setting monitoring events in the BIM program and the webpage respectively according to the monitoring parameters; and step S3, overlapping and loading the BIM model file and the webpage. The invention is innovative in the interaction between the traditional BIM program and the webpage, independently develops, releases and maintains the BIM executive program and the H5 webpage through registering a monitoring event and a communication protocol with standard specification, realizes seamless linkage between the BIM executive program and the H5 webpage, and greatly improves the flexibility of data display and function interaction operation of the BIM system while reducing the workload of development and maintenance.

Description

BIM-based client program and webpage interaction method and device
Technical Field
The invention relates to the technical field of informatization application, in particular to a BIM-based client program and webpage interaction method and device.
Background
The BIM (building Information modeling) technology is a datamation, modeling and visualization technology applied to engineering design, construction and management. At present, BIM systems are developed (including functions of charts, characters, tables and the like) based on EXE client programs of BIM, the development period is long, the version maintenance and updating workload of the EXE programs is large, and embedded webpages in the BIM clients cannot be linked with models.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a BIM-based client program and webpage interaction method and device, which can realize independent research and development and efficient maintenance of an EXE model client and a webpage and can also realize seamless instant linkage with each other.
In order to solve the technical problem, the invention provides a BIM-based client program and webpage interaction method, which comprises the following steps:
step S1, acquiring the interaction requirement of the webpage and the three-dimensional model, and setting monitoring parameters according to the interaction requirement;
step S2, setting monitoring events in the BIM program and the webpage respectively according to the monitoring parameters;
and step S3, overlapping and loading the BIM model file and the webpage.
Further, in step S1, the interaction requirement includes an interaction requirement for triggering the BIM model through the web page and an interaction requirement for triggering the web page through the BIM model, and the interaction requirement for triggering the BIM model through the web page includes: positioning of a model or a plurality of components, transparentization of a model or a plurality of components, highlighting of a model or a plurality of components, marking information on one or a plurality of model components or displaying billboard effects; the interaction requirements for triggering the webpage through the BIM model comprise: and popping up a popup window message to inform the UI layer to jump.
Further, the listening parameters include:
the ACTION is used for defining the operation to be executed on the opposite side, and comprises the positioning, highlighting, hiding and information marking of a BIM (building information modeling), and jumping and popup of an H5 webpage;
the unique identification KEY is used for defining and transmitting the unique ID of the operation object to be executed;
and the information DATA is used for loading and transferring other information in a JSON character string mode.
Further, the step S2 specifically includes:
setting a monitoring event in a BIM program, and carrying out real-time monitoring, analysis and interaction on a request of an H5 webpage; the three-dimensional model needing to be operated is identified through the unique identification KEY, the operation needing to be carried out by the model is identified through the ACTION, and the relevant information is displayed based on the current three-dimensional model through the information DATA.
Further, the step S3 specifically includes:
and packaging the BIM model file and the H5 webpage through the EXE program, and overlapping the H5 webpage on the BIM program for displaying.
The invention also provides a BIM-based interaction device for the client program and the webpage, which comprises the following steps:
the first setting module is used for acquiring the interaction requirements of the webpage and the three-dimensional model and setting monitoring parameters according to the interaction requirements;
the second setting module is used for respectively setting monitoring events in the BIM program and the webpage according to the monitoring parameters;
and the loading module is used for loading the BIM model file and the webpage in an overlapping mode.
Further, the interaction demand includes the interaction demand that triggers the BIM model through the webpage and the interaction demand that triggers the webpage through the BIM model, and the interaction demand that triggers the BIM model through the webpage includes: positioning of a model or a plurality of components, transparentization of a model or a plurality of components, highlighting of a model or a plurality of components, marking information on one or a plurality of model components or displaying billboard effects; the interaction requirements for triggering the webpage through the BIM model comprise: and popping up a popup window message to inform the UI layer to jump.
Further, the listening parameters include:
the ACTION is used for defining the operation to be executed on the opposite side, and comprises the positioning, highlighting, hiding and information marking of a BIM (building information modeling), and jumping and popup of an H5 webpage;
the unique identification KEY is used for defining and transmitting the unique ID of the operation object to be executed;
and the information DATA is used for loading and transferring other information in a JSON character string mode.
Further, the second setting module is specifically configured to:
setting a monitoring event in a BIM program, and carrying out real-time monitoring, analysis and interaction on a request of an H5 webpage; the three-dimensional model needing to be operated is identified through the unique identification KEY, the operation needing to be carried out by the model is identified through the ACTION, and the relevant information is displayed based on the current three-dimensional model through the information DATA.
Further, the loading module is specifically configured to package the BIM model file and the H5 webpage through the EXE program, so that the H5 webpage is superimposed on the BIM program for display.
The embodiment of the invention has the beneficial effects that: the invention is innovative in the interaction between the traditional BIM program and the webpage, independently develops, releases and maintains the BIM executive program and the H5 webpage through registering a monitoring event and a communication protocol with standard specification, realizes seamless linkage between the BIM executive program and the H5 webpage, and greatly improves the flexibility of data display and function interaction operation of the BIM system while reducing the workload of development and maintenance.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for interaction between a client program and a web page based on BIM according to an embodiment of the present invention.
FIG. 2 is a schematic diagram illustrating interaction between an H5 webpage and a three-dimensional model in a BIM program according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments refers to the accompanying drawings, which are included to illustrate specific embodiments in which the invention may be practiced.
In order to solve the problems that the traditional BIM executable program is high in research and development difficulty, large in maintenance and updating workload, incapable of interacting between an embedded webpage and a model and the like, the BIM program and the H5 webpage are stripped, and independent research and development, rapid operation and maintenance and seamless linkage of the BIM program and the H5 webpage are realized.
Specifically, an embodiment of the present invention provides a BIM-based method for interacting a client program and a web page, including:
step S1, acquiring the interaction requirement of the webpage and the three-dimensional model, and setting monitoring parameters according to the interaction requirement;
step S2, setting monitoring events in the BIM program and the webpage respectively according to the monitoring parameters;
and step S3, overlapping and loading the BIM model file and the webpage.
Referring to fig. 2, in this embodiment, step S1 is to perform a standardized definition of the monitoring event, specifically, collect and comb the interaction requirements of the web page and the three-dimensional model, and perform a standardized definition of the monitoring event after typical classification. The interaction requirements for triggering the BIM through the webpage comprise: positioning of a model or a plurality of components, transparentization of a model or a plurality of components, highlighting of a model or a plurality of components, marking information on one or a plurality of model components or displaying billboard effects; the interaction requirements for triggering the webpage through the BIM model are as follows: popping up a popup window message, informing the UI layer to jump, and the like.
Through the arrangement of above interactive demand, carry out standardized definition to the monitoring parameter, the monitoring parameter includes:
(1) ACTION: and defining the operation to be executed on the opposite side, wherein the operation mainly comprises the positioning, highlighting, hiding and information marking of the BIM model, and the jumping and popup of the H5 webpage.
(2) Unique identification KEY: and defining and transmitting the unique ID of the object to be operated.
(3) Information DATA: and loading and transferring other information in a JSON character string mode.
Further, the embodiment also uses letters to perform standardized definition on the naming rule of the three-dimensional model, as shown in the following table:
letters Description of the invention Examples of the invention
D D + two serial number for function partition numbering beginning Temperature partition D11
E E + two serial number for the beginning of asset type number Furniture E12
G G + two serial number for secondary function Electronic patrol for secondary function G11
J J + two serial number for zone under functional partition J11 temperature monitoring area
L L + two serial numbers for floor numbering L11 administrative building F1
M M + five-digit serial number for single asset numbering Sofa I M111111
Q Q + two-digit serial number for region numbering beginning Futian area Q11
R R + two serial numbers for room numbering Office 1R 11
S S + five-digit serial number for single equipment numbering Air conditioner No. 1S 11111
T T + five-digit serial number for function button numbering Entrance guard switch T11111
W W + two-digit serial number for beginning of property area number Property area 01W11
Note, the other letters are left as redundant labels.
Specific examples are as follows:
playback of historical problems of air conditioner 1 from office of building 1 of property 1, encoded as "Q11-W11-A11-L11-R11-B11-S11111-C12-G11-T1111"
1 Futian district Q11
2 Number 1 property area W11
3 Number 1 administrative building A11
4 F1 L11
5 Office 1 R11
6 Air conditioning equipment B11
7 No. 1 air conditioner S11111
8 Device management C12
9 Temperature of G11
10 Historical temperature playback T1111
Step S3 sets listening events in the BIM program and in the H5 web page, respectively.
In the BIM program, a snoop event is defined:
browser.RegisterFunction("SxUnityCall",args)
the system is used for monitoring, analyzing and interacting the request of the H5 webpage in real time. The parameter args comprises three information queues of ACTION, KEY and DATA, a three-dimensional model needing to be operated is identified through the KEY, the operation needing to be performed by the model is identified through the ACTION, and the related information is displayed through the DATA based on the current three-dimensional model. For example, locating air conditioner No. 1 and displaying the parameters of the air conditioner, the parameters of args are as follows: ACTION (args [0]) is "position", KEY (args [1]) is "Q11-W11-a 11-L11-R11-B11-S11111", KEY (args [2]) is "manufacturer: lattice force; the model is as follows: KFR-72 LW; installation date: 2019-01-01".
Meanwhile, the definition of the BIM program listening event is performed in the H5 web page. The interaction of the H5 webpage is simpler than the three-dimensional model, and mainly comprises popup and UI jumping. For example, when jumping to the air conditioner temperature monitoring panel # 1, the parameters of args are ACTION (args [0]) direct, "KEY (args [1]) Q11-W11-a11-L11-R11-B11-S11111," KEY (args [2]) http://127.0.0.1/web/air conditioning normalized Q11-W11-a11-L11-R11-B11-S11111 ".
Step S3 packages the BIM model file with the H5 web page by the EXE program, and H5 is superimposed on the BIM program for display.
Correspondingly, a second embodiment of the present invention further provides a BIM-based client program and web page interaction apparatus, including:
the first setting module is used for acquiring the interaction requirements of the webpage and the three-dimensional model and setting monitoring parameters according to the interaction requirements;
the second setting module is used for respectively setting monitoring events in the BIM program and the webpage according to the monitoring parameters;
and the loading module is used for loading the BIM model file and the webpage in an overlapping mode.
Further, the interaction demand includes the interaction demand that triggers the BIM model through the webpage and the interaction demand that triggers the webpage through the BIM model, and the interaction demand that triggers the BIM model through the webpage includes: positioning of a model or a plurality of components, transparentization of a model or a plurality of components, highlighting of a model or a plurality of components, marking information on one or a plurality of model components or displaying billboard effects; the interaction requirements for triggering the webpage through the BIM model comprise: and popping up a popup window message to inform the UI layer to jump.
Further, the listening parameters include:
the ACTION is used for defining the operation to be executed on the opposite side, and comprises the positioning, highlighting, hiding and information marking of a BIM (building information modeling), and jumping and popup of an H5 webpage;
the unique identification KEY is used for defining and transmitting the unique ID of the operation object to be executed;
and the information DATA is used for loading and transferring other information in a JSON character string mode.
Further, the second setting module is specifically configured to:
setting a monitoring event in a BIM program, and carrying out real-time monitoring, analysis and interaction on a request of an H5 webpage; the three-dimensional model needing to be operated is identified through the unique identification KEY, the operation needing to be carried out by the model is identified through the ACTION, and the relevant information is displayed based on the current three-dimensional model through the information DATA.
Further, the loading module is specifically configured to package the BIM model file and the H5 webpage through the EXE program, so that the H5 webpage is superimposed on the BIM program for display.
As can be seen from the above description, the embodiments of the present invention have the following beneficial effects: the invention is innovative in the interaction between the traditional BIM program and the webpage, independently develops, releases and maintains the BIM executive program and the H5 webpage through registering a monitoring event and a communication protocol with standard specification, realizes seamless linkage between the BIM executive program and the H5 webpage, and greatly improves the flexibility of data display and function interaction operation of the BIM system while reducing the workload of development and maintenance.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (10)

1. A BIM-based client program and webpage interaction method is characterized by comprising the following steps:
step S1, acquiring the interaction requirement of the webpage and the three-dimensional model, and setting monitoring parameters according to the interaction requirement;
step S2, setting monitoring events in the BIM program and the webpage respectively according to the monitoring parameters;
and step S3, overlapping and loading the BIM model file and the webpage.
2. The interaction method according to claim 1, wherein in step S1, the interaction requirements include an interaction requirement for triggering the BIM model through a web page and an interaction requirement for triggering the web page through the BIM model, and the triggering the interaction requirement of the BIM model through the web page includes: positioning of a model or a plurality of components, transparentization of a model or a plurality of components, highlighting of a model or a plurality of components, marking information on one or a plurality of model components or displaying billboard effects; the interaction requirements for triggering the webpage through the BIM model comprise: and popping up a popup window message to inform the UI layer to jump.
3. The interaction method of claim 2, wherein the listening parameters comprise:
the ACTION is used for defining the operation to be executed on the opposite side, and comprises the positioning, highlighting, hiding and information marking of a BIM (building information modeling), and jumping and popup of an H5 webpage;
the unique identification KEY is used for defining and transmitting the unique ID of the operation object to be executed;
and the information DATA is used for loading and transferring other information in a JSON character string mode.
4. The interaction method according to claim 3, wherein the step S2 specifically includes:
setting a monitoring event in a BIM program, and carrying out real-time monitoring, analysis and interaction on a request of an H5 webpage; the three-dimensional model needing to be operated is identified through the unique identification KEY, the operation needing to be carried out by the model is identified through the ACTION, and the relevant information is displayed based on the current three-dimensional model through the information DATA.
5. The interaction method according to claim 4, wherein the step S3 specifically includes:
and packaging the BIM model file and the H5 webpage through the EXE program, and overlapping the H5 webpage on the BIM program for displaying.
6. A BIM-based client program and webpage interaction device is characterized by comprising:
the first setting module is used for acquiring the interaction requirements of the webpage and the three-dimensional model and setting monitoring parameters according to the interaction requirements;
the second setting module is used for respectively setting monitoring events in the BIM program and the webpage according to the monitoring parameters;
and the loading module is used for loading the BIM model file and the webpage in an overlapping mode.
7. The interaction device according to claim 6, wherein the interaction requirements comprise interaction requirements for triggering the BIM through the webpage and interaction requirements for triggering the webpage through the BIM, and the interaction requirements for triggering the BIM through the webpage comprise: positioning of a model or a plurality of components, transparentization of a model or a plurality of components, highlighting of a model or a plurality of components, marking information on one or a plurality of model components or displaying billboard effects; the interaction requirements for triggering the webpage through the BIM model comprise: and popping up a popup window message to inform the UI layer to jump.
8. The interaction apparatus of claim 7, wherein the listening parameters comprise:
the ACTION is used for defining the operation to be executed on the opposite side, and comprises the positioning, highlighting, hiding and information marking of a BIM (building information modeling), and jumping and popup of an H5 webpage;
the unique identification KEY is used for defining and transmitting the unique ID of the operation object to be executed;
and the information DATA is used for loading and transferring other information in a JSON character string mode.
9. The interaction device according to claim 8, wherein the second setting module is specifically configured to:
setting a monitoring event in a BIM program, and carrying out real-time monitoring, analysis and interaction on a request of an H5 webpage; the three-dimensional model needing to be operated is identified through the unique identification KEY, the operation needing to be carried out by the model is identified through the ACTION, and the relevant information is displayed based on the current three-dimensional model through the information DATA.
10. The interaction apparatus of claim 9, wherein the loading module is specifically configured to package the BIM model file with the H5 webpage through the EXE program, so that the H5 webpage is overlaid on the BIM program for display.
CN202011122184.0A 2020-10-20 2020-10-20 BIM-based client program and webpage interaction method and device Pending CN112241294A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011122184.0A CN112241294A (en) 2020-10-20 2020-10-20 BIM-based client program and webpage interaction method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011122184.0A CN112241294A (en) 2020-10-20 2020-10-20 BIM-based client program and webpage interaction method and device

Publications (1)

Publication Number Publication Date
CN112241294A true CN112241294A (en) 2021-01-19

Family

ID=74169167

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011122184.0A Pending CN112241294A (en) 2020-10-20 2020-10-20 BIM-based client program and webpage interaction method and device

Country Status (1)

Country Link
CN (1) CN112241294A (en)

Citations (7)

* Cited by examiner, † Cited by third party
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)
US20170024112A1 (en) * 2015-07-22 2017-01-26 Box, Inc. Composing web-based interactive 3d scenes using high order visual editor commands
KR101741038B1 (en) * 2017-04-25 2017-06-15 한국건설기술연구원 BIM data lightweight method and apparatus for BIM model application based on HTML5 WebGL
CN108319479A (en) * 2018-01-29 2018-07-24 蒋成 A kind of BIM extension Enhancement Methods and system based on B/S information systems
CN109634758A (en) * 2018-12-10 2019-04-16 四川长虹电器股份有限公司 Method and middleware platform based on JSON document control event and behavior
CN110378063A (en) * 2019-07-26 2019-10-25 腾讯科技(深圳)有限公司 Deployed with devices method, apparatus and electronic equipment based on wisdom space
CN110414148A (en) * 2019-07-30 2019-11-05 中北大学 The cross-platform online method for visualizing of open BIM based on WebGL

Patent Citations (7)

* Cited by examiner, † Cited by third party
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)
US20170024112A1 (en) * 2015-07-22 2017-01-26 Box, Inc. Composing web-based interactive 3d scenes using high order visual editor commands
KR101741038B1 (en) * 2017-04-25 2017-06-15 한국건설기술연구원 BIM data lightweight method and apparatus for BIM model application based on HTML5 WebGL
CN108319479A (en) * 2018-01-29 2018-07-24 蒋成 A kind of BIM extension Enhancement Methods and system based on B/S information systems
CN109634758A (en) * 2018-12-10 2019-04-16 四川长虹电器股份有限公司 Method and middleware platform based on JSON document control event and behavior
CN110378063A (en) * 2019-07-26 2019-10-25 腾讯科技(深圳)有限公司 Deployed with devices method, apparatus and electronic equipment based on wisdom space
CN110414148A (en) * 2019-07-30 2019-11-05 中北大学 The cross-platform online method for visualizing of open BIM based on WebGL

Similar Documents

Publication Publication Date Title
JP2863347B2 (en) Future planning and dynamic management method of flow process by visualization
CN107341643B (en) Visual process display method and system
CN103873288B (en) The system and method positioned based on warning information to communication network device failure
CN106936871A (en) The method and device of showing interface data
CN103886398B (en) Business monitoring method and system under a kind of cross-system isomerous environment
CN104239062B (en) Client-based polytype Shipping Options Page display methods and its system
CN101432694A (en) Business process meta-model
SA517381214B1 (en) Device Hierarchy Building for A Remote Terminal Unit
CN103414753A (en) Unified publish method of information of a plurality of channels
CN107436901A (en) Visualize the generation method and device of electronic card
CN105787620A (en) Conference room management method and conference room management device
CN105786611A (en) Method and device for task scheduling of distributed cluster
CN111176642A (en) Interaction visualization processing system based on plane graph and application method
WO2005008433A3 (en) System and method for creating and using self describing events in automation
CN104517206A (en) Business processing method and device
CN110458646A (en) Page display method, device, computer equipment and storage medium
CN110458734A (en) A kind of based reminding method of curriculum information, device and computer readable storage medium
CN106855772A (en) A kind of information displaying method and device
CN112241294A (en) BIM-based client program and webpage interaction method and device
CN116483425A (en) Micro-service gray level edition issuing method, device, equipment and storage medium thereof
CN106354723A (en) Online data acquisition system
CN110688413B (en) Building data analysis system and method based on big data
CN108304245A (en) Interface processing method and device, computer-readable medium and electronic equipment
CN111736539B (en) Monitoring data display method, device, system, server and storage medium
CN110765610B (en) PDM integration method, PDM integration device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210119

RJ01 Rejection of invention patent application after publication