3D simulation inspection system based on Web technology
By using a web-based 3D simulation inspection system, which utilizes Vue.js and babylonJS to build virtual scenes and combines HTTPS protocol communication, the problem of promoting existing simulation inspection systems has been solved. This system achieves efficient, secure, and low-cost simulation inspection, while enhancing user experience and security.
Patent Information
- Application Number
- CN202410950609.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-16
- Publication Date
- 2024-11-15
AI Technical Summary
Existing simulated inspection systems suffer from problems such as difficulty in large-scale application and promotion, inconvenient deployment, high cost, low efficiency, and significant security risks.
This 3D simulation inspection system, based on web technology, uses Vue.js as the front-end development framework, combines babylonJS technology to build virtual scenes, communicates via HTTPS protocol, and adds authentication and role-based access control to achieve simulated inspection.
It achieves broad accessibility, real-time interactivity, and convenient deployment of the simulated 3D inspection system, reduces costs, improves security and privacy protection capabilities, and makes the simulated inspection more realistic.
Smart Images

Figure CN118965703A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of inspection technology, and in particular to a 3D simulation inspection system based on Web technology. Background Art
[0002] In many fields such as industrial inspection, architectural design, education and training, traditional on-site inspection and training methods are facing problems such as low efficiency, high cost and high safety risks. Therefore, it is particularly important to develop a system that can conduct simulated inspections efficiently, at low cost and safely.
[0003] At the same time, with the rapid development of Internet technology, virtual reality technology has emerged, which can combine virtual objects and information with the real world, and usually use mobile devices such as smartphones or tablets to display, thereby realizing a simulated inspection system. The current simulated inspection system can be realized through software applications or browser plug-ins.
[0004] At present, the simulation inspection system is mainly based on mobile applications. The development of mobile applications requires professional software development kits, such as Vuforia, AR Core, AR Kit, etc., and the developed mobile application can only run on the corresponding platform (Android or I0S). Mobile application does not have cross-platform capabilities and is subject to the limitations of the software development kit. Therefore, mobile augmented reality applications have the problem of not being able to be applied and promoted on a large scale.
[0005] At the same time, with the continuous advancement of Web technology, a simulation inspection system based on Web technology has emerged. However, the current simulation inspection system based on Web technology needs to use special plug-ins or be based on special frameworks, such as the WebAR development framework. The use of special plug-ins or special framework technologies such as WebAR has the following problems:
[0006] First, browsers need to provide support, but the standards of various browsers are not unified, so this type of technology cannot be applied and promoted on a large scale.
[0007] Secondly, plug-ins or special frameworks need to be loaded, which makes deployment inconvenient and adds extra costs;
[0008] Thirdly, the loading of 3D content is slow, complex content cannot be realized, and the interactivity is poor, which makes the inspection deployment inefficient.
[0009] Again, the rendering quality is generally low;
[0010] Finally, it is usually transmitted in URL format, which poses privacy issues and high security risks. Summary of the invention
[0011] The present invention proposes a 3D simulation inspection system based on Web technology, which solves the problems of the existing simulation inspection system, such as difficulty in large-scale application and promotion, inconvenient deployment, high cost, low efficiency and high security risk.
[0012] The 3D simulation inspection system based on Web technology described in the present invention has the following technical solutions:
[0013] The system includes a web front end and a server;
[0014] The web front end includes a web internet front end framework, a virtual scene building module, a simulation inspection module and an inspection plan compilation module;
[0015] The web Internet front-end framework is used to provide a basic framework for the operation of the virtual scene construction module, the simulation inspection module and the inspection plan preparation module; the web Internet front-end framework is built using Vue.js as the front-end development framework;
[0016] The virtual scene building module is used to build a 3D virtual scene according to the area to be inspected using the babylonJS technology;
[0017] The simulated inspection module is used to perform simulated inspection in a 3D virtual scene according to the user's operation instructions;
[0018] The inspection plan compilation module is used to add, modify and delete inspection points during the simulated inspection process to complete the compilation of the inspection plan;
[0019] The server and the web front end communicate using the HTTPS protocol;
[0020] The server is used to store information of the constructed 3D virtual scene and information of the compiled inspection plan.
[0021] Further, a preferred embodiment is provided, wherein the virtual scene construction module includes an initial scene construction module, a 3D modeling module, a physical engine module and a scene rendering module;
[0022] The background lighting construction module is used to create an initial 3D scene according to the area to be inspected using the babylonJS technology, and the initial 3D scene includes background and lighting;
[0023] The 3D modeling module is used to create a 3D model of an object in the area to be inspected, and is also used to place the 3D model corresponding to the object in the initial 3D scene according to the position, angle and volume ratio of the object in the area to be inspected;
[0024] The physics engine module is used to add a gravity parameter in the y-axis direction to the initial 3D scene to which the 3D model is added, wherein the value of the gravity parameter in the y-axis direction is the earth's gravitational constant;
[0025] The scene rendering module is used to render the initial 3D scene with gravity parameters added by using the babylonJS technology to obtain a 3D virtual scene.
[0026] Further, a preferred embodiment is provided, wherein the simulation inspection module includes a camera browsing module, a collision detection module, and an action monitoring module;
[0027] The camera browsing module is used to add a camera in the 3D virtual scene to provide a browsing perspective for the user;
[0028] The collision detection module is used to add collision detection for the 3D model and the camera in the 3D virtual scene;
[0029] The action monitoring module is used to monitor the user's operation instructions, and is also used to control the browsing perspective to move and rotate in the 3D virtual scene according to the user's operation instructions to complete the simulated inspection.
[0030] Further, a preferred implementation is provided, wherein the action monitoring module monitors the user's operation instructions by setting keyboard monitoring events and mouse monitoring events;
[0031] The action monitoring module is used to control the browsing perspective to move forward, backward, left and right in the 3D virtual scene according to the monitored keyboard monitoring events;
[0032] The action monitoring module is used to control the browsing perspective to rotate left and right in the 3D virtual scene according to the monitored mouse monitoring events.
[0033] Further, a preferred implementation is provided, wherein the action monitoring module monitors the user's operation instructions by setting a touch screen monitoring event;
[0034] The action monitoring module is used to control the browsing perspective to move and rotate in the 3D virtual scene according to the monitored touch screen monitoring events.
[0035] Furthermore, a preferred embodiment is provided, wherein the system further comprises an identity authentication module; the identity authentication module is used to authenticate the user using a digital certificate.
[0036] Furthermore, a preferred embodiment is provided, wherein the system further comprises a role authority management module; the role authority management module is used to set user roles and their authorities to ensure that users with different roles can only access information corresponding to their authorities in the system.
[0037] Furthermore, a preferred embodiment is provided in which the identity authentication module adopts two-factor identity authentication to strengthen the identity authentication of the user.
[0038] The present invention also proposes a computer-readable storage medium, and its technical solution is as follows:
[0039] A computer-readable storage medium stores a computer program, and when the computer program is executed by at least one processor, the functions of the above-mentioned 3D simulation inspection system are realized.
[0040] The present invention also proposes a computer program product, and its technical solution is as follows:
[0041] A computer program product, comprising a computer program, wherein the computer program implements the functions of the above-mentioned 3D simulation inspection system when executed by at least one processor.
[0042] The present invention has the following beneficial effects:
[0043] 1. The 3D simulation inspection system based on Web technology described in the present invention can realize the wide accessibility, real-time interactivity and convenient deployment of the simulated 3D inspection system through the combination of babylonJS and Web technology, and has low cost and high inspection deployment efficiency.
[0044] 2. The 3D simulation inspection system based on Web technology described in the present invention communicates through the HTTPS protocol, which can encrypt data packets to prevent sensitive information from being maliciously intercepted, thereby improving security and privacy protection capabilities.
[0045] 3. The 3D simulation inspection system based on Web technology described in the present invention can more realistically simulate the walking effect during inspection by setting gravity parameters, thereby making the formulation (or compilation) of the inspection plan more practical.
[0046] 4. The 3D simulation inspection system based on Web technology described in the present invention avoids the "penetration" phenomenon through the collision detection, so that the simulated inspection can reflect the collision relationship in the actual environment, thereby making the formulation of the inspection plan more practical.
[0047] The 3D simulation inspection system based on Web technology described in the present invention is suitable for compiling inspection plans. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0049] Figure 1 The present invention is a schematic diagram of the structure of a 3D simulation inspection system based on Web technology in one embodiment of the present invention. DETAILED DESCRIPTION
[0050] In order to make the technical solutions and advantages of the present invention more clearly described, the specific implementation methods of the present invention will be further described in detail and completely in conjunction with the accompanying drawings. The various implementation methods described below are only part of the preferred solutions of the present invention, rather than all implementation methods; the various implementation methods described below are intended to explain the present invention and cannot be understood as limitations on the present invention; the reasonable combination of technical features defined in the various implementation methods of the present invention, and all other implementation methods obtained by ordinary technicians in the field without creative work based on the implementation methods of the present invention, are within the scope of protection of the present invention.
[0051] Implementation Method 1: Combination Figure 1 This embodiment describes a 3D simulation inspection system based on Web technology. The specific implementation contents are as follows:
[0052] The system includes a web front end and a server;
[0053] The web front end includes a web internet front end framework, a virtual scene building module, a simulation inspection module and an inspection plan compilation module;
[0054] The web Internet front-end framework is used to provide a basic framework for the operation of the virtual scene construction module, the simulation inspection module and the inspection plan preparation module; the web Internet front-end framework is built using Vue.js as the front-end development framework;
[0055] The virtual scene building module is used to build a 3D virtual scene according to the area to be inspected using the babylonJS technology;
[0056] The simulated inspection module is used to perform simulated inspection in a 3D virtual scene according to the user's operation instructions;
[0057] The inspection plan compilation module is used to add, modify and delete inspection points during the simulated inspection process to complete the compilation of the inspection plan;
[0058] The server and the web front end communicate using the HTTPS protocol;
[0059] The server is used to store information of the constructed 3D virtual scene and information of the compiled inspection plan.
[0060] In this embodiment, the HTTPS protocol communicates via HTTP, but uses SSL / TLS to encrypt data packets to prevent sensitive information from being maliciously intercepted, thereby improving security and privacy protection capabilities.
[0061] In this embodiment, Vue.js is a lightweight, flexible and easy-to-use framework that adopts a component-based design concept, which can effectively improve the maintainability of the code and the overall performance of the system. At the same time, Vue.js is a common web development framework with a wide range of applications and can be applied to various browsers. The front-end framework built with Vue.js not only enables users to use the system intuitively and efficiently, but also is easy to promote on a large scale.
[0062] In this embodiment, the 3D simulation inspection system is built based on a web Internet front-end framework. It can create a realistic virtual scene of the area to be inspected (such as a production plant) without the need for special plug-ins or other special frameworks. It allows users to interact with the virtual environment through devices such as a mouse, keyboard or touch screen to perform inspection path planning and inspection route simulation, etc., and can provide a close to real operating experience so that inspection plans can be compiled more conveniently.
[0063] Implementation method 2: This implementation method is a further limitation of the 3D simulation inspection system based on Web technology described in implementation method 1. The specific implementation contents are as follows:
[0064] The virtual scene building module includes an initial scene building module, a 3D modeling module, a physical engine module and a scene rendering module;
[0065] The background lighting construction module is used to create an initial 3D scene according to the area to be inspected using the babylonJS technology, and the initial 3D scene includes background and lighting;
[0066] The 3D modeling module is used to create a 3D model of an object in the area to be inspected, and is also used to place the 3D model corresponding to the object in the initial 3D scene according to the position, angle and volume ratio of the object in the area to be inspected;
[0067] The physics engine module is used to add a gravity parameter in the y-axis direction to the initial 3D scene to which the 3D model is added, wherein the value of the gravity parameter in the y-axis direction is the earth's gravitational constant;
[0068] The scene rendering module is used to render the initial 3D scene with gravity parameters added by using the babylonJS technology to obtain a 3D virtual scene.
[0069] In this embodiment, the 3D models of objects in the area to be inspected include 3D models of roads and equipment in the area to be inspected. The area to be inspected may be a factory area or a production scene to be inspected.
[0070] In this implementation, the babylonJS technology may be used to create a 3D model, such as a geometric body provided by babylonJS; or an existing 3D model file may be imported.
[0071] In this implementation, when the 3D models are placed in the initial 3D scene, it is necessary to ensure that their positions, orientation angles, and size ratios are consistent with the actual scene to achieve 1:1 true restoration.
[0072] In this implementation, the gravity parameter in the y-axis direction is set to -9.81, whose value is the earth's gravitational constant, and its symbol "-" indicates that the direction is "y-axis downward".
[0073] In this implementation, by setting the gravity parameters, the walking effect during the inspection can be more realistically simulated, thereby making the formulation of the inspection plan more practical.
[0074] In this implementation, the 3D model in the 3D virtual scene is stored in the server.
[0075] In this implementation, the virtual scene construction module is used to restore the actual area to be inspected in a 1:1 manner.
[0076] Implementation method 3: This implementation method is a further limitation of the 3D simulation inspection system based on Web technology described in Implementation method 2. The specific implementation contents are as follows:
[0077] The simulation inspection module includes a camera browsing module, a collision detection module, and an action monitoring module;
[0078] The camera browsing module is used to add a camera in the 3D virtual scene to provide a browsing perspective for the user;
[0079] The collision detection module is used to add collision detection for the 3D model and the camera in the 3D virtual scene;
[0080] The action monitoring module is used to monitor the user's operation instructions, and is also used to control the browsing perspective to move and rotate in the 3D virtual scene according to the user's operation instructions to complete the simulated inspection.
[0081] In this implementation, by adding a camera in the 3D virtual scene, the user can browse in the 3D virtual scene.
[0082] In this embodiment, the collision detection refers to setting the position and entity relationship of the camera and the 3D model to prevent the "penetration" phenomenon, so that the simulated inspection can reflect the collision relationship in the actual environment, thereby making the formulation of the inspection plan more practical.
[0083] In this embodiment, through simulated inspection, the addition, modification and deletion of inspection points can be intuitively performed, making the preparation of the inspection plan (or inspection plan) visual and realistic.
[0084] It should be noted that most of the existing methods for formulating inspection plans only consider the inspection routes, but rarely consider the actual experience during the inspection process. This implementation method restores the actual area to be inspected, collision detection, and sets gravity parameters in a 1:1 manner, and conducts simulated inspections on this basis, fully considering the real experience during the inspection process, making the preparation of inspection plans more in line with reality.
[0085] Furthermore, a preferred implementation is provided, wherein the action monitoring module monitors the user's operation instructions by setting keyboard monitoring events and mouse monitoring events;
[0086] The action monitoring module is used to control the browsing perspective to move forward, backward, left and right in the 3D virtual scene according to the monitored keyboard monitoring events;
[0087] The action monitoring module is used to control the browsing perspective to rotate left and right in the 3D virtual scene according to the monitored mouse monitoring events.
[0088] Furthermore, a preferred implementation is provided, wherein the action monitoring module monitors the user's operation instructions by setting a touch screen monitoring event;
[0089] The action monitoring module is used to control the browsing perspective to move and rotate in the 3D virtual scene according to the monitored touch screen monitoring events.
[0090] Implementation 4: This implementation is a further limitation of the 3D simulation inspection system based on Web technology described in Implementation 1. The specific implementation contents are as follows:
[0091] The system also includes an identity authentication module; the identity authentication module is used to authenticate the user using a digital certificate.
[0092] In this implementation, digital certificates are used to authenticate users to prevent man-in-the-middle attacks. This ensures that only legitimate users can communicate securely with the system, and the system implements a strict access control policy to allow only authorized users to access sensitive information and functions.
[0093] Furthermore, a preferred embodiment is provided, wherein the system further comprises a role authority management module; the role authority management module is used to set user roles and their authorities to ensure that users with different roles can only access information in the system corresponding to their authorities.
[0094] Furthermore, a preferred implementation is provided, wherein the identity authentication module adopts two-factor identity authentication to strengthen the identity authentication of the user.
[0095] In this implementation, by adopting two-factor authentication (2FA) to strengthen identity authentication, the security of user identity authentication can be increased.
[0096] The technical solution provided by the present invention is further described in detail above through several specific implementation modes in order to highlight the advantages and benefits of the technical solution provided by the present invention. However, the several specific implementation modes described above are not intended to be used as limitations on the present invention. Any reasonable changes and improvements to the present invention, reasonable combinations of implementation modes and equivalent substitutions based on the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A 3D simulation inspection system based on Web technology, characterized in that: The system includes a web front end and a server; The web front end includes a web internet front end framework, a virtual scene building module, a simulation inspection module and an inspection plan compilation module; The web Internet front-end framework is used to provide a basic framework for the operation of the virtual scene construction module, the simulation inspection module and the inspection plan preparation module; the web Internet front-end framework is built using Vue.js as the front-end development framework; The virtual scene building module is used to build a 3D virtual scene according to the area to be inspected using the babylonJS technology; The simulated inspection module is used to perform simulated inspection in a 3D virtual scene according to the user's operation instructions; The inspection plan compilation module is used to add, modify and delete inspection points during the simulated inspection process to complete the compilation of the inspection plan; The server and the web front end communicate using the HTTPS protocol; The server is used to store information of the constructed 3D virtual scene and information of the compiled inspection plan.
2. According to the 3D simulation inspection system based on Web technology in claim 1, it is characterized in that: The virtual scene building module includes an initial scene building module, a 3D modeling module, a physical engine module and a scene rendering module; The background lighting construction module is used to create an initial 3D scene according to the area to be inspected using the babylonJS technology, and the initial 3D scene includes background and lighting; The 3D modeling module is used to create a 3D model of an object in the area to be inspected, and is also used to place the 3D model corresponding to the object in the initial 3D scene according to the position, angle and volume ratio of the object in the area to be inspected; The physics engine module is used to add a gravity parameter in the y-axis direction to the initial 3D scene to which the 3D model is added, wherein the value of the gravity parameter in the y-axis direction is the earth's gravitational constant; The scene rendering module is used to render the initial 3D scene with gravity parameters added by using the babylonJS technology to obtain a 3D virtual scene.
3. According to the 3D simulation inspection system based on Web technology in claim 2, it is characterized in that: The simulation inspection module includes a camera browsing module, a collision detection module, and an action monitoring module; The camera browsing module is used to add a camera in the 3D virtual scene to provide a browsing perspective for the user; The collision detection module is used to add collision detection for the 3D model and the camera in the 3D virtual scene; The action monitoring module is used to monitor the user's operation instructions, and is also used to control the browsing perspective to move and rotate in the 3D virtual scene according to the user's operation instructions to complete the simulated inspection.
4. The 3D simulation inspection system based on Web technology according to claim 3 is characterized in that: The action monitoring module monitors the user's operation instructions by setting keyboard monitoring events and mouse monitoring events; The action monitoring module is used to control the browsing perspective to move forward, backward, left and right in the 3D virtual scene according to the monitored keyboard monitoring events; The action monitoring module is used to control the browsing perspective to rotate left and right in the 3D virtual scene according to the monitored mouse monitoring events.
5. The 3D simulation inspection system based on Web technology according to claim 3 is characterized in that: The action monitoring module monitors the user's operation instructions by setting the touch screen monitoring event; The action monitoring module is used to control the browsing perspective to move and rotate in the 3D virtual scene according to the monitored touch screen monitoring events.
6. The 3D simulation inspection system based on Web technology according to claim 1 is characterized in that: The system also includes an identity authentication module; the identity authentication module is used to authenticate the user using a digital certificate.
7. The 3D simulation inspection system based on Web technology according to claim 6 is characterized in that: The system also includes a role authority management module; The role and authority management module is used to set the user's role and authority to ensure that users with different roles can only access information in the system that corresponds to their authority.
8. The 3D simulation inspection system based on Web technology according to claim 6 is characterized in that: The identity authentication module adopts two-factor identity authentication to strengthen the identity authentication of users.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by at least one processor, the function of the 3D simulation inspection system according to any one of claims 1 to 8 is realized.
10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by at least one processor, the function of the 3D simulation inspection system according to any one of claims 1 to 8 is realized.
Citation Information
Cited By
3D inspection method and system based on web technology and Internet of Things equipment
CN120448652A
