Method and device for positioning mine personnel based on WEBGL, electronic equipment and storage medium

By adopting WEBGL-based three-dimensional model and spline curve technology in the mine, the problem of insufficient positioning of OpenLayers in two-dimensional planes is solved, intuitive and accurate personnel positioning under complex terrain is achieved, and the safety of mine operations is improved.

CN119027602APending Publication Date: 2024-11-26NANJING BESTWAY AUTOMATION SYST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410989606.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-23
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

In the prior art, OpenLayers uses two-dimensional planes to display the changes in the position of personnel, and cannot intuitively locate personnel under the mine, especially in areas with complex terrain and complex roadway directions, and cannot observe the specific situation of personnel such as falls, directions, etc. in real time. Information, resulting in untimely and accurate transmission of dangerous information.

Method used

Using a WEBGL-based method, a virtual lane three-dimensional model and personnel model is created by collecting actual terrain data and positioning data of the mine, a virtual lane three-dimensional model and personnel model are used to accurately obtain personnel positioning coordinates, and a virtual lane model is combined to realize personnel positioning in three-dimensional scenes.

Benefits of technology

The safety of underground personnel operations is improved, and the personnel location is visually displayed through three-dimensional scenes, ensuring that personnel information can be transmitted in a timely and accurate manner in complex terrain and high-risk areas, enhancing the intuitiveness and accuracy of positioning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119027602A_ABST
    Figure CN119027602A_ABST
Patent Text Reader

Abstract

The invention relates to a method for positioning mine personnel based on WEBGL. The method comprises the following steps: acquiring actual topographic data and positioning data of a mine; drawing a CAD drawing; creating a virtual roadway three-dimensional model, and creating a personnel model; obtaining a three-dimensional spline curve; and obtaining personnel positioning coordinates. The invention further relates to a device of the method for positioning the mine personnel based on the WEBGL, electronic equipment and a storage medium. According to the method and device for positioning the mine personnel based on WEBGL, the electronic equipment and the storage medium, the problems that in the prior art, positioning of the mine personnel by using OpenLayers is not visual enough, meanwhile, the OpenLayers only use icons to represent the personnel, the specific conditions of the personnel, such as falling, orientation and other information, cannot be observed, and the working efficiency is high can be solved. And dangerous information cannot be timely and accurately transmitted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of three-dimensional visualization, and in particular to a method, device, electronic equipment and storage medium for locating mine personnel based on WEBGL. Background Art

[0002] Among the traditional personnel location solutions, using OpenLayers for personnel location is a common solution. OpenLayers is a JavaScript library for creating interactive maps, which provides rich map functions and map data display capabilities. OpenLayers presents the location of personnel on the map in the form of pictures and numbers.

[0003] In the existing technology, OpenLayers uses a two-dimensional plane to display the position changes of personnel. The underground mine tunnels have complex and changeable terrain, intricate tunnel directions, and many high-risk areas. Using OpenLayers to locate underground mine personnel is not intuitive enough. At the same time, OpenLayers only uses icons to represent personnel, and cannot observe the specific situation of personnel, such as falls, directions, etc., resulting in the inability to transmit danger information in a timely and accurate manner.

[0004] Therefore, the prior art has defects and needs to be improved and developed. Summary of the invention

[0005] The embodiment of the present invention provides a method, device, electronic device and storage medium for locating personnel in a mine based on WEBGL, which is used to solve the problem that in the prior art, OpenLayers uses a two-dimensional plane to display the position changes of personnel. There are complex and changeable terrains, intricate tunnel directions, and many high-risk areas in underground mine tunnels. It is not intuitive to use OpenLayers to locate personnel in underground mines. At the same time, OpenLayers only uses icons to represent personnel, and it is impossible to observe the specific situation of the personnel, such as falling, direction and other information, resulting in the problem that danger information cannot be transmitted in a timely and accurate manner.

[0006] According to a first aspect of an embodiment of the present invention, a method for locating personnel in a mine based on WEBGL is provided, comprising:

[0007] Collect actual topographic data and positioning data of the mine;

[0008] Draw a CAD drawing according to the actual terrain data;

[0009] According to the actual terrain data and the CAD drawings, a virtual lane three-dimensional model is created to obtain a lane file with a suffix of obj format, and a personnel model is created;

[0010] Converting the lane file to obtain a three-dimensional spline curve;

[0011] Retrieving the three-dimensional spline curve to obtain personnel positioning coordinates through the positioning data;

[0012] The personnel model is loaded into the virtual lane three-dimensional model, so that the personnel positioning coordinates are inserted into the virtual lane three-dimensional model to realize the personnel positioning.

[0013] Furthermore, the actual terrain data and the positioning data are acquired by UWB technology, the actual terrain data at least includes the actual mine tunnel pipeline, tunnel height and tunnel name, and the positioning data at least includes the tunnel number and the distance between tunnels.

[0014] Furthermore, the virtual lane three-dimensional model is created according to the actual terrain data and the CAD drawing to export a lane file with a suffix of obj format, and a personnel model is created, including:

[0015] Converting the virtual lane three-dimensional model to export a lane model file with a suffix of glb format;

[0016] Using a GLTF loader, loading the lane model file;

[0017] According to the CAD drawing and the lane model file, the lane file with the suffix of obj format is drawn and obtained.

[0018] Furthermore, the tunnel file includes all the tunnel pipelines that are scaled down according to the actual terrain of the mine, each of the tunnel pipelines corresponds to a tunnel number, and each of the tunnel pipelines corresponds to a tunnel name.

[0019] Furthermore, the converting of the lane file to obtain a three-dimensional spline curve includes: using the OBJ loader of three.js to load the lane file, and using the Catmull-Rom algorithm to create a smooth three-dimensional spline curve, and storing it in the corresponding lane pipeline according to the lane number.

[0020] Furthermore, the retrieving the three-dimensional spline curve to obtain the personnel positioning coordinates through the positioning data includes: retrieving the three-dimensional spline curve that needs to be positioned from all the three-dimensional spline curves; using the getPoint method provided by CatmullRomCure3 to obtain the personnel positioning coordinates from the three-dimensional spline curve that needs to be positioned.

[0021] Furthermore, the format of the personnel model is at least one of FBX and GLTF.

[0022] According to a second aspect of an embodiment of the present invention, a device for locating personnel in a mine based on WEBGL is provided, comprising: an acquisition module for acquiring actual terrain data and positioning data of the mine; a drawing module for drawing a CAD drawing according to the actual terrain data; a creation module for creating a virtual tunnel three-dimensional model according to the actual terrain data and the CAD drawing to obtain a tunnel file with a suffix of obj format, and to create a personnel model; a conversion module for converting the tunnel file to obtain a three-dimensional spline curve; a retrieval module for retrieving the three-dimensional spline curve to obtain the personnel positioning coordinates through the positioning data; and a loading module for loading the personnel model into the virtual tunnel three-dimensional model, so that the personnel positioning coordinates can be inserted into the virtual tunnel three-dimensional model to realize personnel positioning.

[0023] According to a third aspect of an embodiment of the present invention, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, a method for locating mine personnel based on WEBGL is implemented.

[0024] According to a fourth aspect of the embodiments of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, a method for locating mine personnel based on WEBGL is implemented.

[0025] Beneficial effects:

[0026] It can be seen from the above technical solutions that the present invention provides a method, device, electronic device and storage medium for positioning mine personnel based on WEBGL, combining a virtual tunnel three-dimensional model with WEBGL to present a mine tunnel in a three-dimensional scene, and combining a character model with WEBGL to present personnel positioning in a three-dimensional scene. The generated three-dimensional spline curve is used to accurately obtain the personnel positioning coordinates, avoiding the situation in which the mine tunnel is not intuitive enough due to the complex and changeable terrain, intricate tunnel directions, and many high-risk areas, thereby improving the safety of personnel working in the mine.

[0027] It should be appreciated that all combinations of the foregoing concepts, as well as additional concepts described in greater detail below, may be considered to be part of the inventive subject matter of the present disclosure, provided such concepts are not mutually inconsistent.

[0028] The foregoing and other aspects, embodiments and features of the present invention can be more fully understood from the following description in conjunction with the accompanying drawings. Other additional aspects of the present invention, such as the features and / or beneficial effects of the exemplary embodiments, will be apparent from the following description or learned from the practice of the specific embodiments according to the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] The accompanying drawings are not drawn to scale according to actual reference objects. In the accompanying drawings, each identical or nearly identical component shown in various figures may be represented by the same reference numeral. For the sake of clarity, not every component is labeled in each figure. Now, embodiments of various aspects of the present invention will be described by way of example and with reference to the accompanying drawings, in which:

[0030] Figure 1 This is a flowchart of a method for locating mine personnel based on WEBGL in an embodiment of the present application.

[0031] Figure 2 This is a flowchart of creating a virtual tunnel three-dimensional model to obtain a tunnel file with a suffix of obj format in a method for locating mine personnel based on WEBGL in an embodiment of the present application. DETAILED DESCRIPTION

[0032] In order to make the purpose, technical solution and advantages of the embodiment of the present invention clearer, the technical solution of the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings of the embodiment of the present invention. Obviously, the described embodiment is a part of the embodiment of the present invention, not all of the embodiments. Based on the described embodiment of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. Unless otherwise defined, the technical terms or scientific terms used herein should be the common meaning understood by people with general skills in the field to which the present invention belongs.

[0033] The words "first", "second" and similar terms used in the patent specification and claims of the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. Similarly, unless the context clearly indicates otherwise, the singular form "a" or "an" shall not be construed as "a" or "an";

[0034] The words “a”, “an”, “the” and the like do not denote a limitation of quantity, but rather denote the presence of at least one.

[0035] The words "include" or "comprises" and the like mean that the elements or objects appearing before "includes" or "comprises" include the features, wholes, steps, operations, elements and / or components listed after "includes" or "comprises", and do not exclude the existence or addition of one or more other features, wholes, steps, operations, elements, components and / or their collections. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0036] In the prior art, because OpenLayers uses a two-dimensional plane to display the position changes of personnel, the underground mine tunnels have complex and changeable terrain, intricate tunnel directions, and many high-risk areas. Using OpenLayers to locate personnel in the mine is not intuitive enough. At the same time, OpenLayers only uses icons to represent personnel, and cannot observe the specific situation of personnel, such as falls, directions, etc., resulting in the problem of not being able to transmit danger information in a timely and accurate manner.

[0037] WEBGL (full name Web Graphics Library) is a 3D drawing protocol. This drawing technology standard allows JavaScript and OpenGL ES2.0 to be combined together. By adding a JavaScript binding to OpenGL ES2.0, WEBGL can provide hardware 3D accelerated rendering for HTML5 Canvas, so that Web developers can use the system graphics card to display 3D scenes and models more smoothly in the browser, and create complex navigation and data visualization.

[0038] In view of this, an embodiment of the present invention provides a method for locating mine personnel based on WEBGL, referring to Figure 1 ,include:

[0039] Step S102: Collect the actual topographic data and positioning data of the mine.

[0040] Step S104: Draw a CAD drawing based on the actual terrain data.

[0041] Step S106: Create a virtual tunnel 3D model based on the actual terrain data and CAD drawings to obtain a tunnel file with the suffix obj format, and create a personnel model.

[0042] Step S108: convert the lane file to obtain a three-dimensional spline curve.

[0043] Step S110: Retrieving a three-dimensional spline curve to obtain personnel positioning coordinates through positioning data;

[0044] Step S112: Loading the personnel model into the virtual lane three-dimensional model, so that the personnel positioning coordinates are inserted into the virtual lane three-dimensional model to realize the personnel positioning.

[0045] The embodiment of the present invention combines positioning data with a personnel model, and combines actual terrain data with a virtual lane three-dimensional model, to achieve the positioning of personnel in a three-dimensional scene.

[0046] Furthermore, the actual terrain data and positioning data are collected by UWB technology. The actual terrain data at least includes the actual mine tunnel pipeline, tunnel height and tunnel name, and the positioning data at least includes the tunnel number and the distance between tunnels. UWB technology is a wireless carrier communication technology that uses a frequency bandwidth of more than 1GHz. UWB technology has extremely strong penetration ability and can be accurately positioned indoors and underground, thereby accurately obtaining positioning data.

[0047] Furthermore, according to the actual terrain data and CAD drawings, a virtual tunnel 3D model is created to export the tunnel file with the suffix obj format, and a personnel model is created. Figure 2 ,include:

[0048] Step S1061: Convert the virtual lane three-dimensional model to export a lane model file with a suffix of glb format.

[0049] Step S1062: Use the GLTF loader to load the lane model file. The GLTF (GL Transmission Format) loader is a tool for loading and displaying GLTF files. GLTF is a file format developed by the Khronos Group for efficiently transmitting and loading 3D models. GLTF files can contain geometric information, textures, materials, animations, etc. of the model, and are a standard format widely used in 3D graphics and virtual reality (VR) applications.

[0050] Step S1063: Draw and obtain a lane file with the suffix obj format according to the CAD drawing and lane model file.

[0051] Furthermore, the tunnel file includes all tunnel pipelines that are scaled down according to the actual terrain of the mine, each tunnel pipeline corresponds to a tunnel number, and each tunnel pipeline corresponds to a tunnel name. In addition, the CAD drawings contain tunnel pipelines that are scaled down according to the actual terrain, and also include tunnel numbers and tunnel names.

[0052] Further, the lane file is converted to obtain a three-dimensional spline curve, including: using the OBJ loader of three.js to load the lane file, and using the Catmull-Rom algorithm to create a smooth three-dimensional spline curve, and storing it in the corresponding lane pipeline according to the lane number. The OBJ loader is a loader used to load resources with a suffix. The file format with the suffix .obj is a simple data format that represents 3D geometry in a human-readable form, that is, the position of each vertex, the UV position of each texture coordinate vertex, the vertex normal, the face that will define each polygon as a vertex list, and the texture vertex. The Catmull-Rom algorithm is an interpolation algorithm for generating smooth curves. It is a spline interpolation method that is widely used in path smoothing, animation, and modeling in computer graphics. The characteristic of the Catmull-Rom spline is that the curve passes through all control points, which makes it very suitable for scenes that require precise paths, such as camera paths, character animation trajectories, etc. Therefore, the Catmull-Rom algorithm can calculate the trajectory line to create a precise three-dimensional spline curve.

[0053] Further, the three-dimensional spline curve is retrieved to obtain the personnel positioning coordinates through the positioning data, including: retrieving the three-dimensional spline curve to be positioned from all the three-dimensional spline curves; using the getPoint method provided by CatmullRomCure3 to obtain the personnel positioning coordinates from the three-dimensional spline curve to be positioned. The getPoint method can easily obtain any point on the three-dimensional spline curve created by Catmull-Rom, thereby obtaining accurate personnel positioning coordinates.

[0054] Furthermore, the format of the person model is at least one of FBX and GLTF.

[0055] Another embodiment of the present invention also provides a device for a method of locating mine personnel based on WEBGL, including: an acquisition module, used to acquire actual terrain data and positioning data of the mine; a drawing module, used to draw CAD drawings according to the actual terrain data; a creation module, used to create a virtual tunnel three-dimensional model according to the actual terrain data and the CAD drawings to obtain a tunnel file with a suffix of obj format, and create a personnel model; a conversion module, used to convert the tunnel file to obtain a three-dimensional spline curve; a retrieval module, used to retrieve the three-dimensional spline curve to obtain the personnel positioning coordinates through the positioning data; a loading module, used to load the personnel model into the virtual tunnel three-dimensional model, so that the personnel positioning coordinates can be inserted into the virtual tunnel three-dimensional model to realize personnel positioning.

[0056] Another embodiment of the present invention further provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, a method for locating mine personnel based on WEBGL is implemented.

[0057] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the data processing device of the gateway, and uses various interfaces and lines to connect various parts of the data processing device of the entire gateway.

[0058] Another embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, a method for locating mine personnel based on WEBGL is implemented.

[0059] The memory may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required by at least one function; the data storage area may store data created by the processor, etc. In addition, the memory is preferably but not limited to a high-speed random access memory, for example, it may also be a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may also optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0060] Those skilled in the art can understand that the implementation of all or part of the processes in the above-mentioned embodiments can be completed by instructing related hardware through a computer program, which can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD), etc.; the storage medium can also include a combination of the above-mentioned types of memory.

[0061] In summary, the present invention provides a method, device, electronic device and storage medium for positioning mine personnel based on WEBGL, which presents the mine underground tunnel in a three-dimensional scene by combining the virtual tunnel three-dimensional model with WEBGL, and presents the personnel positioning in a three-dimensional scene by combining the character model with WEBGL. The generated three-dimensional spline curve is used to accurately obtain the personnel positioning coordinates, avoiding the situation in which the personnel are not intuitive enough due to the complex and changeable terrain, intricate tunnel directions and many high-risk areas in the mine underground tunnel, thereby improving the safety of personnel working in the mine.

[0062] Although the present invention has been disclosed as above with preferred embodiments, it is not intended to limit the present invention. A person with ordinary knowledge in the technical field to which the present invention belongs may make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be determined by the definition of the claims.

Claims

1. A method for locating mine personnel based on WEBGL, characterized in that: include: Collect actual topographic data and positioning data of the mine; Draw a CAD drawing according to the actual terrain data; According to the actual terrain data and the CAD drawings, a virtual lane three-dimensional model is created to obtain a lane file with a suffix of obj format, and a personnel model is created; Converting the lane file to obtain a three-dimensional spline curve; Retrieving the three-dimensional spline curve to obtain personnel positioning coordinates through the positioning data; The personnel model is loaded into the virtual lane three-dimensional model, so that the personnel positioning coordinates are inserted into the virtual lane three-dimensional model to realize the personnel positioning.

2. A method for locating mine personnel based on WEBGL according to claim 1, characterized in that: The actual terrain data and the positioning data are acquired by UWB technology, the actual terrain data at least includes the actual tunnel pipeline, tunnel height and tunnel name of the mine, and the positioning data at least includes the tunnel number and the distance between the tunnels.

3. A method for locating mine personnel based on WEBGL according to claim 2, characterized in that: The method of creating a virtual lane three-dimensional model according to the actual terrain data and the CAD drawing to export a lane file with a suffix of obj format and creating a personnel model includes: Converting the virtual lane three-dimensional model to export a lane model file with a suffix of glb format; Using a GLTF loader, loading the lane model file; According to the CAD drawing and the lane model file, the lane file with the suffix of obj format is drawn and obtained.

4. A method for locating mine personnel based on WEBGL according to claim 3, characterized in that: The tunnel file includes all the tunnel pipelines that are scaled down in proportion to the actual topography of the mine, each of the tunnel pipelines corresponds to a tunnel number, and each of the tunnel pipelines corresponds to a tunnel name.

5. A method for locating mine personnel based on WEBGL according to claim 4, characterized in that: The converting of the lane file to obtain the three-dimensional spline curve includes: using the OBJ loader of three.js to load the lane file, and using the Catmul l-Rom algorithm to create a smooth three-dimensional spline curve, and storing it in the corresponding lane pipeline according to the lane number.

6. A method for locating mine personnel based on WEBGL according to claim 5, characterized in that: The retrieving the three-dimensional spline curve to obtain the personnel positioning coordinates through the positioning data includes: retrieving the three-dimensional spline curve that needs to be positioned from all the three-dimensional spline curves; using the getPoint method provided by Catmul lRomCure3 to obtain the personnel positioning coordinates from the three-dimensional spline curve that needs to be positioned.

7. The method for locating mine personnel based on WEBGL according to claim 1, characterized in that: The format of the personnel model is at least one of FBX and GLTF.

8. A method and device for locating mine personnel based on WEBGL, characterized in that: include: The acquisition module is used to collect the actual terrain data and positioning data of the mine; A drawing module, used for drawing a CAD drawing according to the actual terrain data; A creation module, used to create a virtual lane three-dimensional model according to the actual terrain data and the CAD drawing to obtain a lane file with a suffix of obj format, and to create a personnel model; A conversion module, used for converting the lane file to obtain a three-dimensional spline curve; A retrieval module, used to retrieve the three-dimensional spline curve to obtain the personnel positioning coordinates through the positioning data; The loading module is used to load the personnel model into the virtual lane three-dimensional model, so that the personnel positioning coordinates are inserted into the virtual lane three-dimensional model to realize the personnel positioning.

9. An electronic device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, a method for locating mine personnel based on WEBGL as claimed in any one of claims 1 to 6 is implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method for locating mine personnel based on WEBGL as claimed in any one of claims 1 to 6 is implemented.