Unlock instant, AI-driven research and patent intelligence for your innovation.

Distance calculation method and device based on region division and electronic equipment

A technology of area division and calculation method, which is applied in the field of distance calculation, can solve the problems of untimely response, limited real-time data feedback, low efficiency, etc., and achieve the effects of timely response, improved user experience, and high efficiency

Pending Publication Date: 2021-01-12
BEIJING SHOUGANG AUTOMATION INFORMATION TECH
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present application provides a distance calculation method, device and electronic equipment based on area division, which solves the problem of high concurrency, low efficiency and untimely response of distance calculation in the prior art, which limits real-time data feedback and cannot be well To improve the user experience of mobile navigation, to a certain extent limit the technical problems of users' demand for intelligent services

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Distance calculation method and device based on region division and electronic equipment
  • Distance calculation method and device based on region division and electronic equipment
  • Distance calculation method and device based on region division and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] Such as figure 1 As shown, this embodiment provides a distance calculation method based on area division, which is applied to the server, and the server is connected to the client. The method includes:

[0033] Step S101: Obtain the coordinates of the boundary position points of the specific area, and obtain the first result.

[0034] In the actual implementation process, the specific area is a rectangular area, and when the area where the solid is located is an irregular area, the area of ​​the edge is divided to form a rectangular area. Step S101 specifically includes: obtaining the coordinates of the four corner points of the rectangular area, and the first result includes the coordinates of the four corner points.

[0035] As an example, the four corner points of a rectangular area are as follows:

[0036] Corner 1: Latitude Longitude - (39.92300,116.15120)

[0037] Corner 2: Latitude Longitude - (39.92300, 116.15590)

[0038] Corner 3: Latitude Longitude - (39....

Embodiment 2

[0182] Based on the same inventive concept as a distance calculation method based on area division in the foregoing embodiments, as figure 2 As shown, this embodiment provides a distance calculation device based on area division, which is applied to a server, and the server is connected to a client. The device includes:

[0183] The first acquiring unit 201 is configured to acquire the coordinates of the boundary position points of the specific area to obtain the first result;

[0184] A dividing unit 202, configured to divide the specific area according to the first result and the target preset unit to obtain a second result, the second result being an area including a plurality of sub-areas;

[0185] The first determination unit 203 is configured to determine the coordinates of the area center position of each sub-area to obtain a third result;

[0186] The second acquiring unit 204 is configured to acquire the distance from the area center position of each sub-area to eac...

Embodiment 3

[0212] Based on the same inventive concept as a distance calculation method based on area division in the foregoing embodiments, as image 3 As shown, the present embodiment provides an electronic device 300, including: a memory 310, a processor 320, and a computer program 311 stored in the memory 310 and operable on the processor 320. When the processor 320 executes the program 311, it can realize The method steps are as follows:

[0213] Obtain the coordinates of the boundary position points of the specific area to obtain the first result; based on the first result and the target preset unit, divide the specific area into an area to obtain the second result, the second result is an area including multiple sub-areas; determine each The coordinates of the area center positions of each sub-area to obtain the third result; based on the third result, obtain the distance from the area center position of each sub-area to each preset target point to obtain the fourth result; obtain ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a distance calculation method and device based on region division and electronic equipment, the method is applied to a server, the server is connected with a client, and the method comprises the following steps: obtaining coordinates of boundary position points of a specific region to obtain a first result; performing region division on the specific region based on the first result and a target preset unit to obtain a second result including a plurality of sub-regions; determining a coordinate of a region center position of each sub-region to obtain a third result; based on the third result, the distance between the area center position of each sub-area and each preset target point position is obtained, and a fourth result is obtained; obtaining a distance request from the client, the distance request comprising a current position of a user and a target point location, and the target point location being one of the preset target point locations; determining a subarea where the current position is located to obtain a fifth result; and based on the fourth result and the fifth result, determining the distance between the current position and the target point position and sending the distance to the client.

Description

technical field [0001] The present invention relates to the technical field of distance calculation, in particular to a distance calculation method, device and electronic equipment based on area division. Background technique [0002] In the field of Internet services, users use mobile applications to perceive area distance information, view real-time location, and navigate. How to efficiently respond to user requests and quickly obtain target location distance information is the focus of attention. [0003] However, in the process of implementing the technical solutions in the embodiments of the present application, the inventors of the present application found that the above-mentioned prior art has at least the following technical problems: [0004] In the existing technology, the distance calculation is highly concurrency, the efficiency is low, and the response is not timely, which limits the real-time feedback of data, cannot improve the user experience of mobile navig...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/29G06F16/9537
CPCG06F16/29G06F16/9537
Inventor 孙艳艳白璐章红春崔霄
Owner BEIJING SHOUGANG AUTOMATION INFORMATION TECH