Semicircular buffer zone parameter generation method and device, semicircular buffer zone generation method and device

Through the semicircle buffer parameter generation method, the spherical trigonometric method and CesiumJS API are used to solve the limitations of existing technology in complex terrain and large-scale data processing, and achieve efficient and accurate semicircle buffer generation, which is suitable for security The security area planning in the system improves the security and user experience of the system.

CN117853672BActive Publication Date: 2024-09-03DAQING ANRUIDA TECH DEV CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202311804496.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-26
Publication Date
2024-09-03
Estimated Expiration
2043-12-26

AI Technical Summary

Technical Problem

Existing semicircle buffer generation methods have limitations when processing complex terrain and polygonal buffers. They cannot accurately generate buffers, have low computational efficiency when processing large-scale data, and cannot meet real-time requirements.

Method used

The semicircle buffer parameter generation method is adopted, including collecting a preset three-dimensional scene, converting the azimuth angle into radians, using the spherical trigonometric method to calculate the semicircle buffer at the starting point and end point, and creating a web front-end GIS three-dimensional scene application through the CesiumJS API to generate polygons Solid and base.

Benefits of technology

A simple and easy-to-implement semicircular buffer generation method is provided, which improves calculation efficiency and accuracy, is suitable for planning the boundaries of safe areas or protection areas in security systems, and enhances the security and interactivity of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117853672B
    Figure CN117853672B
Patent Text Reader

Abstract

A method and device for generating parameters of a semicircular buffer zone, and a method and device for generating a semicircular buffer zone, relate to the field of geographic information system (GIS) and spatial analysis technology. In view of the existing methods for generating circular buffer zones in the prior art, there are certain limitations when processing complex terrain and polygonal buffer zones, and the buffer zones cannot be accurately generated. In addition, there may be problems of low computational efficiency when processing large-scale data, and the technical problems of being unable to meet real-time requirements, the technical solution provided by the present invention is: a method for generating parameters of a semicircular buffer zone, the method comprising: a step of collecting a preset three-dimensional scene; a step of converting the azimuth of the three-dimensional scene into radians; and a step of calculating a semicircular buffer zone with a preset starting point and a preset end point in the three-dimensional scene. According to the method for generating parameters of a semicircular buffer zone, the preset three-dimensional scene is a Gis three-dimensional scene of a Web front end, and the preset parameters also include azimuth and length. It can be applied to security systems.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] It involves the field of geographic information system (GIS) and spatial analysis technology. Background Art

[0002] In the field of security, semicircular buffer generation methods are often used to plan and determine the boundaries of safe areas or protection areas. This study ensures that a semicircular buffer of a certain size is set near a specific location to provide sufficient safety interval and protection space.

[0003] Traditional semicircle buffer generation methods usually involve basic geometry and mathematical calculations. By determining the center point and radius size, a complete semicircle can be drawn and applied to the planning of the safety area. This method is simple and easy to implement and is suitable for many security scenarios.

[0004] For example, there is a related study "A Novel Method for Generating Circular Buffer Zones in GIS", which proposes a new method for generating circular buffer zones in geographic information systems. The study decomposes the circular buffer zone into a series of small line segments and uses the endpoints of the line segments to generate buffer zones. The study can strike a balance between computational efficiency and buffer zone accuracy and is applicable to large-scale geographic data. However, the study has certain limitations when dealing with complex terrain and polygonal buffer zones, and cannot accurately generate buffer zones.

[0005] Another related study, "A Geometric Approach for Generating Circular BufferZones in GIS", proposed a geometric method for generating circular buffer zones in a geographic information system. The study generates buffer zones by calculating the center and radius of the circle, as well as the angle and direction of the buffer zone. The study can accurately generate circular buffer zones and is applicable to a variety of geographic data. However, the study may have problems with low computational efficiency when processing large-scale data and cannot meet real-time requirements. Summary of the invention

[0006] In view of the technical problems that the existing method for generating a circular buffer in the prior art has certain limitations when processing complex terrain and polygonal buffers, cannot accurately generate buffers, may have low computational efficiency when processing large-scale data, and cannot meet real-time requirements, the technical solution provided by the present invention is:

[0007] A method for generating parameters of a semicircular buffer zone, the method comprising:

[0008] Steps for collecting preset three-dimensional scenes;

[0009] The step of converting the azimuth of the three-dimensional scene into radians;

[0010] The step of calculating a semicircular buffer zone with a preset starting point and a preset end point in the three-dimensional scene.

[0011] According to the semicircular buffer parameter generation method, the preset three-dimensional scene is a Gis three-dimensional scene of a Web front end, and the preset parameters also include an azimuth and a length.

[0012] Furthermore, a preferred embodiment is provided, in which the method for calculating the semicircular buffer zone of the preset starting point is: calculating according to the coordinates of the preset starting point, the azimuth, the length and the radius of the earth.

[0013] Furthermore, a preferred embodiment is provided, in which the semicircular buffer zone of the preset end point is calculated by: calculating according to the coordinates of the preset end point, the azimuth, the length and the radius of the earth.

[0014] Furthermore, a preferred embodiment is provided, wherein the calculation is performed using spherical trigonometry.

[0015] Based on the same inventive concept, the present invention also provides a semicircular buffer zone parameter generation device, the device comprising:

[0016] A module for collecting preset three-dimensional scenes;

[0017] A module for converting the azimuth of the three-dimensional scene into radians;

[0018] A module for calculating a semicircular buffer zone with a preset starting point and a preset end point in the three-dimensional scene.

[0019] Based on the same inventive concept, the present invention also provides a method for generating a semicircular buffer zone, the method comprising:

[0020] The step of creating a polygonal solid entity and a bottom surface of the semicircular buffer zone with a preset starting point and a preset end point according to the semicircular buffer zone with a preset starting point and a preset end point calculated in the semicircular buffer zone parameter generation method;

[0021] The step of creating a line between the preset starting point and the preset end point.

[0022] Based on the same inventive concept, the present invention also provides a semicircular buffer zone generating device, the device comprising:

[0023] A module for creating a polygonal solid entity and a bottom surface of the semicircular buffer zone with a preset starting point and a preset end point according to the semicircular buffer zone with a preset starting point and a preset end point calculated in the semicircular buffer zone parameter generating device;

[0024] A module for creating a line between the preset starting point and the preset end point.

[0025] Based on the same inventive concept, the present invention also provides a computer storage medium for storing a computer program. When the computer program is read by a computer, the computer executes the semicircular buffer parameter generation method.

[0026] Based on the same inventive concept, the present invention also provides a computer, including a processor and a storage medium. When the computer program stored in the storage medium is read by the computer, the computer executes the semicircular buffer parameter generation method.

[0027] Compared with the prior art, the technical solution provided by the present invention is beneficial in that:

[0028] The semicircular buffer generation method provided by the present invention provides a simple and easy-to-implement semicircular buffer generation method, which can be used to plan and determine the boundaries of a safety area or a protection area. Compared with the traditional basic geometric shapes and mathematical calculation methods, this method is more intuitive and easy to understand.

[0029] The semicircular buffer generation method provided by the present invention can realize functions such as map visualization and path planning by using the CesiumJS API to create a GIS three-dimensional scene application on the Web front end. This method can improve the interactivity and experience of users and make the generation of the semicircular buffer more intuitive and convenient.

[0030] The semicircular buffer generation method provided by the present invention provides a simplified and optimized method for the semicircular buffer generation method. The traditional method usually requires complex mathematical calculations. The present method can generate a semicircular buffer more intuitively and conveniently by utilizing spherical trigonometry and the API of CesiumJS. This method has a wide range of application prospects in security systems and can improve the safety and accuracy of security systems.

[0031] The semicircular buffer generation method provided by the present invention can be applied to a security system to plan and determine the boundaries of a safe area or a protected area. The method can set a semicircular buffer of a certain size near a specific location to provide sufficient safety intervals and protection space. In video surveillance, the method can be used to set the boundaries of the monitoring range for the camera to ensure that important areas are fully covered. In an intrusion detection system, the method can be used to plan the boundaries of the warning area to improve the safety and accuracy of the security system. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 The figure is a schematic diagram of the effect of a semicircular buffer zone generated by the semicircular buffer zone generation method provided by the present invention. DETAILED DESCRIPTION

[0033] In order to make the advantages and benefits of the technical solution provided by the present invention more clearly reflected, the technical solution provided by the present invention is now further described in detail with reference to the accompanying drawings, specifically:

[0034] A method for generating parameters of a semicircular buffer zone, characterized in that the method comprises:

[0035] Steps for collecting preset three-dimensional scenes;

[0036] The step of converting the azimuth of the three-dimensional scene into radians;

[0037] The step of calculating a semicircular buffer zone with a preset starting point and a preset end point in the three-dimensional scene.

[0038] Implementation method 2: This implementation method further limits the semicircular buffer parameter generation method provided in implementation method 1. The preset three-dimensional scene is a Gis three-dimensional scene of a Web front end, and the preset parameters also include an azimuth and a length.

[0039] Implementation method three: This implementation method further limits the semicircular buffer zone parameter generation method provided in implementation method two. The calculation method of the semicircular buffer zone of the preset starting point is: based on the coordinates of the preset starting point, the azimuth, length and earth radius.

[0040] Implementation method 4: This implementation method further limits the semicircular buffer zone parameter generation method provided in implementation method 2. The calculation method of the semicircular buffer zone of the preset end point is: based on the coordinates of the preset end point, the azimuth, length and earth radius.

[0041] Implementation method five: This implementation method further limits the method for generating parameters of a semicircular buffer zone provided in any one of implementation methods three or four, and the calculation is implemented using spherical trigonometry.

[0042] Embodiment 6: This embodiment provides a semicircular buffer zone parameter generation device, characterized in that the device includes:

[0043] A module for collecting preset three-dimensional scenes;

[0044] A module for converting the azimuth of the three-dimensional scene into radians;

[0045] A module for calculating a semicircular buffer zone with a preset starting point and a preset end point in the three-dimensional scene.

[0046] Embodiment 7: This embodiment provides a method for generating a semicircular buffer zone, characterized in that the method includes:

[0047] In the method for generating parameters of a semicircular buffer zone provided in the first embodiment, the semicircular buffer zone with a preset starting point and a preset end point calculated is used to create a polygonal solid entity and a bottom surface of the semicircular buffer zone with a preset starting point and a preset end point;

[0048] The step of creating a line between the preset starting point and the preset end point.

[0049] Specifically, the semicircular buffer generation method has a wide range of applications in security systems. For example, in video surveillance, the technical solution provided by this embodiment can be used to set the boundaries of the monitoring range for the camera to ensure that important areas are fully covered. In intrusion detection systems, the semicircular buffer generation method can also be used to plan the boundaries of warning areas, thereby improving the security and accuracy of the security system. Figure 1 As shown,

[0050] The method comprises the following steps:

[0051] S1: Use CesiumJS API to create a Gis 3D scene application on the web front end. Known parameters include the start and end point coordinates, azimuth, length, height, etc.

[0052] S2: Convert the azimuth angle to radians for subsequent calculations. The formula is as follows: θ_rad is radians, θ is the azimuth angle

[0053] θ_rad=(θ*π) / 180

[0054] S3: Calculate the semicircular buffer of the start and end points:

[0055] 1. Use spherical trigonometry to calculate the vertex coordinates of the starting point semicircle buffer using the input starting point coordinates, length, azimuth and earth radius.

[0056] lat2=asin(sin(lat1)*cos(L / R)+cos(lat1)*sin(L / R)*cos(θ_rad))

[0057] lon2=lon1+atan2(sin(θ_rad)*sin(L / R)*cos(lat1),cos(L / R)-sin(lat1)*sin(lat2))

[0058] 2. Calculate the vertex coordinates of the end point semicircle buffer in the same way.

[0059] 3. Store the calculation results in the corresponding array.

[0060] S4: Based on the calculation results, create the polygonal entities and bottom surface of the semicircular buffer zone at the start and end points:

[0061] 1. Convert the vertex coordinates of the starting semicircle buffer to Cartesian3 type and create a polygon entity.

[0062] 2. Create the polygon entity of the end point semicircle buffer in the same way.

[0063] 3. Convert the bottom vertex coordinates of the starting semicircle buffer to Cartesian3 type and create a polygon entity.

[0064] 4. Create the bottom surface entity of the end semicircle buffer in the same way.

[0065] 5: Create a line between the start and end semicircle buffers:

[0066] Convert the vertex coordinates of the start and end semicircle buffers to Cartesian3 type and create a polyline entity.

[0067] 6: Add the created polygon entity and polyline entity to Cesium.Viewer to display on the map.

[0068] 7: Returns the entity object of the generated semicircle buffer.

[0069] Embodiment 8: This embodiment provides a semicircular buffer zone generation device, characterized in that the device comprises:

[0070] In the semicircular buffer zone parameter generation device provided in the sixth embodiment, the semicircular buffer zone with the preset starting point and the preset end point calculated creates a polygonal solid entity and a bottom surface module of the semicircular buffer zone with the preset starting point and the preset end point;

[0071] A module for creating a line between the preset starting point and the preset end point.

[0072] Implementation method 9: This implementation method provides a computer storage medium for storing a computer program, characterized in that when the computer program is read by a computer, the computer executes the semicircular buffer parameter generation method provided in implementation method 1.

[0073] Implementation method 10: This implementation method provides a computer, including a processor and a storage medium, characterized in that when a computer program stored in the storage medium is read by the computer, the computer executes the semicircular buffer parameter generation method provided in implementation method 1.

[0074] 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 modification and improvement of the present invention, combination of implementation modes and equivalent substitution within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

[0075] In the description of this specification, only the preferred embodiments of the present invention are provided, and the scope of the rights of the present invention cannot be limited by this. In addition, the description of the reference terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or N embodiments or examples in a suitable manner. In addition, in the absence of mutual contradiction, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples. In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" can explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "N" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined. Any process or method description in the flowchart or otherwise described herein can be understood to represent a module, fragment or portion of code including one or more executable instructions for implementing the steps of a custom logic function or process, and the scope of the preferred embodiment of the present invention includes other implementations, in which the functions may not be performed in the order shown or discussed, including in a substantially simultaneous manner or in a reverse order according to the functions involved, which should be understood by a person skilled in the art of the art to which the embodiments of the present invention belong. The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing the logic function, can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or device (such as a computer-based system, a system including a processor or other system that can fetch instructions from an instruction execution system, device or device and execute instructions), or in combination with these instruction execution systems, devices or devices. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit programs for use by an instruction execution system, device or device or in combination with these instruction execution systems, devices or devices. More specific examples (a non-exhaustive list) of computer-readable media include the following: an electrical connection having one or N wirings (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM).In addition, the computer readable medium can even be paper or other suitable medium on which the program can be printed, because the program can be obtained electronically, for example, by optically scanning the paper or other medium, then editing, interpreting or processing in other suitable ways as necessary, and then storing it in a computer memory. It should be understood that the various parts of the present invention can be implemented with hardware, software, firmware, or a combination thereof. In the above-mentioned embodiment, N steps or methods can be implemented with software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented with hardware, as in another embodiment, any one of the following technologies known in the art or their combination can be used to implement: a discrete logic circuit with a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit with a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0076] A person of ordinary skill in the art can understand that all or part of the steps carried by the method of the above-mentioned embodiment can be completed by instructing the relevant hardware through a program, and the program can be stored in a computer-readable storage medium, and the program, when executed, includes one or a combination of the steps of the method embodiment. In addition, each functional unit in each embodiment of the present invention can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into one module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.

Claims

1. A method for generating parameters of a semicircular buffer zone, characterized in that: The method comprises: Steps for collecting preset three-dimensional scenes; The step of converting the azimuth of the three-dimensional scene into radians; The step of calculating a semicircular buffer zone with a preset starting point and a preset end point in the three-dimensional scene; The preset three-dimensional scene is a Gis three-dimensional scene of the Web front end, and the preset parameters also include an azimuth and a length; the calculation method of the semicircular buffer of the preset starting point is: calculated according to the coordinates of the preset starting point, the azimuth, the length and the radius of the earth; the calculation method of the semicircular buffer of the preset end point is: calculated according to the coordinates of the preset end point, the azimuth, the length and the radius of the earth; The calculation of the semicircular buffer of the start and end points includes: (1) Using the input starting point coordinates, length, azimuth, and earth radius, spherical trigonometry is used to calculate the vertex coordinates of the starting point semicircular buffer zone; lat2=asin(sin(lat1)*cos(L / R)+cos(lat1)*sin(L / R)*cos(θ_rad)) lon2=lon1+atan2(sin(θ_rad)*sin(L / R)*cos(lat1),cos(L / R)-sin(lat1)*sin(lat2)) (2) Calculate the vertex coordinates of the end point semicircular buffer in the same way; (3) Store the calculation results in the corresponding array.

2. The method for generating parameters of a semicircular buffer zone according to claim 1, characterized in that: The calculations are performed using spherical trigonometry.

3. A semicircular buffer zone parameter generating device, characterized in that: The device comprises: A module for collecting preset three-dimensional scenes; A module for converting the azimuth of the three-dimensional scene into radians; A module for calculating a semicircular buffer zone with a preset starting point and a preset end point in the three-dimensional scene; The preset three-dimensional scene is a Gis three-dimensional scene of the Web front end, and the preset parameters also include an azimuth and a length; the calculation method of the semicircular buffer of the preset starting point is: calculated according to the coordinates of the preset starting point, the azimuth, the length and the radius of the earth; the calculation method of the semicircular buffer of the preset end point is: calculated according to the coordinates of the preset end point, the azimuth, the length and the radius of the earth; The calculation of the semicircular buffer of the start and end points includes: (1) Using the input starting point coordinates, length, azimuth, and earth radius, spherical trigonometry is used to calculate the vertex coordinates of the starting point semicircular buffer zone; lat2=asin(sin(lat1)*cos(L / R)+cos(lat1)*sin(L / R)*cos(θ_rad)) lon2=lon1+atan2(sin(θ_rad)*sin(L / R)*cos(lat1),cos(L / R)-sin(lat1)*sin(lat2)) (2) Calculate the vertex coordinates of the end point semicircular buffer in the same way; (3) Store the calculation results in the corresponding array.

4. A semicircular buffer generation method, characterized in that: The method comprises: According to the semicircular buffer zone with a preset starting point and a preset end point calculated in the semicircular buffer zone parameter generation method according to claim 1, a step of creating a polygonal solid entity and a bottom surface of the semicircular buffer zone with a preset starting point and a preset end point; The step of creating a line between the preset starting point and the preset end point.

5. A semicircular buffer zone generating device, characterized in that: The device comprises: A module for creating a polygonal solid entity and a bottom surface of the semicircular buffer zone with a preset starting point and a preset end point according to the semicircular buffer zone parameter generation device of claim 3; A module for creating a line between the preset starting point and the preset end point.

6. A computer storage medium for storing a computer program, characterized in that: When the computer program is read by a computer, the computer executes the semicircle buffer parameter generation method according to claim 1.

7. A computer, comprising a processor and a storage medium, characterized in that: When the computer program stored in the storage medium is read by a computer, the computer executes the semicircular buffer parameter generation method according to claim 1.

Citation Information

Patent Citations

  • Buffer region generation algorithm method based on line segment buffer region fusion

    CN105404781A

  • GIS-based data regional processing method

    CN110704555A

  • Mobile terminal offline three-dimensional GIS application implementation method and system based on Cerium JS

    CN111723170A

  • Geographical boundary buffer area algorithm based on complex plane, electronic equipment and storage medium

    CN112087742A

  • Real-scene three-dimensional geographic information system and implementation method

    CN117112711A