Search

CN-116011051-B - Automatic switching method for mixed graphic engine of multi-service scene of long highway bridge

CN116011051BCN 116011051 BCN116011051 BCN 116011051BCN-116011051-B

Abstract

The invention relates to the technical field of graphic engine integration, in particular to an automatic switching method of a hybrid graphic engine of a multi-service scene of a long highway bridge, which comprises the steps of S1, setting up an integrated environment of the hybrid graphic engine, S2, selecting a current service scene of a long highway bridge project, S3, judging whether the current service scene is project scheme demonstration or project delivery, if yes, executing the step S4, if not, executing the step S6, S4, connecting a GIS engine transverse switching interface, switching a three-dimensional GIS engine by adopting a WebGL technology, multiplexing graphic engine capacity, updating a GIS model, S5, judging whether the current service scene is project scheme demonstration, if yes, executing the step S7, if not, executing the step S6, connecting a BIM engine transverse switching interface, adopting the WebGL technology to switch the BIM engine, multiplexing graphic engine capacity, updating the BIM model, S7, judging whether to enter other service scenes, if yes, returning to the step S3, if not, executing the step S8, and completing model processing tasks.

Inventors

  • WANG DONGKUI
  • LUO CHEN
  • XIAO HONGYU
  • TANG XIN
  • WEI SHIQIAO
  • YU MIAO
  • LI LIANG
  • YUAN XIAOQIN
  • CHEN JING
  • LI DENGFENG

Assignees

  • 中国交通信息科技集团有限公司

Dates

Publication Date
20260512
Application Date
20221215

Claims (5)

  1. 1. The automatic switching method of the hybrid graphic engine of the multi-service scene of the long highway bridge is characterized by comprising the following steps of: s1, building a mixed graph engine integration environment; s2, selecting a current service scene of a long highway bridge project; s3, judging whether the current business scene is project scheme demonstration or project delivery, If yes, executing step S4; if the judgment result is negative, executing the step S6; S4, connecting a GIS engine transverse switching interface, switching a three-dimensional GIS engine by adopting a WebGL technology, multiplexing the capability of a graphic engine, and updating a GIS model; S5, judging whether the current business scene is a project scheme demonstration, If yes, executing step S7; if the judgment result is negative, executing the step S6; s6, connecting a BIM engine transverse switching interface, switching the BIM engine by adopting a WebGL technology, multiplexing the capability of the graphic engine, and updating a BIM model; s7, judging whether to enter other business scenes, If yes, returning to the step S3; if the judgment result is negative, executing the step S8; s8, completing a model processing task; In the step S1, the mixed graphic engine integrated environment comprises a modularized engine organization structure, an assimilation engine communication mode, a standardized interface technology and SDK separated management, wherein the modularized structure is abstracted into seven modules, the seven modules mainly comprise a layer module, a geometric module, a rendering module, an animation module, an interaction module, an analysis module and a control module, the assimilation engine communication mode adopts an Ajax communication mechanism, realizes standardized presentation by using XHTML and CSS, realizes dynamic display and interaction by using DOM, realizes data exchange and processing by using XML and XSLT, realizes asynchronous data reading by using XMLHttpRequest, and realizes binding and processing of all data by using JavaScript, the standardized interface technology uniformly adopts a Web Service mode based on SOAP protocol, and the two connecting parties are in interface call mode for butt joint, the SDK separated management is that a We3d SDK is separated from a business and an open source SDK, and a functional module is provided with the same interface and parameters, and the We3d SDK is integrated to schedule a source and a business K concrete function, and the step S2 is grown up, and the method comprises a project, a design and a traffic management project and a highway management project and a traffic management project are designed; The project scheme demonstration service scene is used for showing different stages of schemes of a long highway bridge by combining a GIS model, the design traffic scene is used for carrying out technical description and traffic of the design scheme according to a BIM model, the construction management service scene is used for carrying out construction service management according to the BIM model, the project delivery service scene is used for checking all project delivery results by combining the GIS model and the BIM model, and the operation maintenance management service scene is used for carrying out operation maintenance application service by combining the BIM model; In step S4, the GIS engine is configured to implement service application based on OGC standard by performing lateral switching, and includes the following sub-steps: S41, connecting an engine transverse switching interface; s42, inputting a function calling instruction; s43, connecting interfaces of the corresponding functional modules, and calling the functional modules; S44, switching the execution engine to the target engine and executing a function call instruction; S45, judging whether all instructions are completed or not, If yes, go to step S47; if the judgment result is negative, executing the step S46; s46, judging whether the next calling instruction belongs to other functional modules or not; If yes, go to step S43; if not, executing step S44; s47, disconnecting the engine transverse switching interface.
  2. 2. The method for automatically switching the hybrid graphics engine of the multi-service scene of the long highway bridge according to claim 1, wherein in step S4, the GIS engine is adapted to present and analyze spatial data with complex distribution, and reflects irregular spatial morphology of the long highway bridge through macroscopic and abstract expression, and specifically comprises Cesium engine, CITYMAKER engine, supermap engine and MapTlaks engine.
  3. 3. The method for automatically switching the hybrid graphics engine of the multi-service scene of the long highway bridge according to claim 1, wherein in step S4, the WebGL technology is a three-dimensional drawing protocol, graphics rendering is completed by using an underlying graphics hardware acceleration function, and interactive three-dimensional animation is produced by HTML script.
  4. 4. The method for automatically switching the hybrid graphics engine of the multi-service scene of the long highway bridge according to claim 1, wherein in step S6, the BIM engine provides full-element engineering information and three-dimensional visualized images for a decision maker in the whole life cycle of the long highway bridge, supports cooperation of different users, and updates the BIM model together.
  5. 5. The method for automatically switching the hybrid graphics engine of the multi-service scene of the long highway bridge according to claim 4, wherein in step S6, the BIM engine comprises Blackhole engine and OpenDx engine, the BIM engine lateral switching is used for realizing model application based on a world coordinate system, and the BIM engine lateral switching substep is the same as the GIS engine lateral switching substep.

Description

Automatic switching method for mixed graphic engine of multi-service scene of long highway bridge Technical Field The invention relates to the technical field of graphic engine integration, in particular to an automatic switching method of a hybrid graphic engine of a multi-service scene of a long highway bridge. Background The long highway bridge has the characteristics of design differentiation, construction regionalization, periodicity, high altitude, production organization cooperation complexity and the like, and in the construction process, an irregular earth surface model and a space form are often accompanied by huge data volume, so that functions provided by a single graphic engine are difficult to effectively express and manage, and engineering construction is difficult. At present, the GIS technology and the BIM technology are widely applied to the field of highway bridge construction, but the development time of the GIS and the BIM technology is short, the technical structure is complex, and the technology is in a conceptual stage. The GIS graphic engine is suitable for analyzing and presenting large-scale and complex-distributed spatial data, but the macro abstraction of spatial expression determines that the GIS graphic engine is insufficient in presenting microcosmic detail information such as internal construction, materials, processes and the like of a structure. The BIM graphic engine is used as a virtual carrier of a long highway bridge to provide complete information of digital asset delivery in a construction period, but has inherent defects when applied to the construction of a traffic infrastructure with complex spatial distribution. Although the two graphic engines have obvious advantages and disadvantages, the two graphic engines have mutually complementary and mutually perfected relations, so that the two graphic engines, namely the GIS graphic engine and the BIM graphic engine, are integrated, the micro field and the macro field are combined, the functional complementation and the dominant coexistence of the two graphic engines are realized, and powerful assistance is provided for solving the technical problems of highway bridge engineering projects and improving the service capability. The information disclosed in this background section is only for enhancement of understanding of the general background of the invention and should not be taken as an acknowledgement or any form of suggestion that this information forms the prior art already known to a person skilled in the art. Disclosure of Invention The invention aims to provide an automatic switching method of a mixed graphic engine of a multi-service scene of a long highway bridge, which aims to adapt to the whole service flow of the long highway bridge, consider the operation requirements of each service scene, build a stable graphic engine integration environment, formulate a reasonable and efficient switching flow, make up the technical defect of a single engine, improve the construction and construction precision and make great contribution to the management decision of the whole life cycle of engineering projects. In order to achieve the above purpose, the present invention adopts the following technical scheme: the invention provides a method for automatically switching a mixed graphic engine of a multi-service scene of a long highway bridge, which comprises the following steps: s1, building a mixed graph engine integration environment; s2, selecting a current service scene of a long highway bridge project; s3, judging whether the current business scene is project scheme demonstration or project delivery, If yes, executing step S4; if the judgment result is negative, executing the step S6; S4, connecting a GIS engine transverse switching interface, switching a three-dimensional GIS engine by adopting a WebGL technology, multiplexing the capability of a graphic engine, and updating a GIS model; s5, judging whether the current service scene is a project scheme demonstration, If yes, executing step S7; if the judgment result is negative, executing the step S6; s6, connecting a BIM engine transverse switching interface, switching the BIM engine by adopting a WebGL technology, multiplexing the capability of the graphic engine, and updating the BIM model; s7, judging whether to enter other business scenes, If yes, returning to the step S3; if the judgment result is negative, executing the step S8; S8, completing the model processing task. In step S1, the hybrid graphics engine integration environment is preferably constructed by a modular engine organization structure, an assimilation engine communication mode, a standardized interface technology, an SDK (Software Development Kit, a software development kit) separation management, wherein the modular engine organization structure is abstracted into seven modules, the seven modules mainly comprise a layer module, a geometric module, a rendering module, an animation module, an i