CN107990897A - A kind of course data determines method and device - Google Patents

A kind of course data determines method and device Download PDF

Info

Publication number
CN107990897A
CN107990897A CN201610951872.5A CN201610951872A CN107990897A CN 107990897 A CN107990897 A CN 107990897A CN 201610951872 A CN201610951872 A CN 201610951872A CN 107990897 A CN107990897 A CN 107990897A
Authority
CN
China
Prior art keywords
destination
longitude
latitude
predetermined point
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610951872.5A
Other languages
Chinese (zh)
Other versions
CN107990897B (en
Inventor
杨梦林
黄亮雄
陈梦雨
樊杨鎏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Hikvision Digital Technology Co Ltd
Hangzhou Hikrobot Co Ltd
Original Assignee
Hangzhou Hikvision Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201610951872.5A priority Critical patent/CN107990897B/en
Publication of CN107990897A publication Critical patent/CN107990897A/en
Application granted granted Critical
Publication of CN107990897B publication Critical patent/CN107990897B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/20Instruments for performing navigational calculations
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/20Instruments for performing navigational calculations
    • G01C21/22Plotting boards

Abstract

The embodiment of the present application provides a kind of course data and determines method and device.The described method includes:Receive the aim curve that user is directed to the input of target map region;According to predetermined selection rule, the destination that the aim curve includes is determined, the destination includes at least the beginning and end of the aim curve;Obtain the positional information of each destination;According to the positional information of each destination, and order of each destination on the aim curve, course data corresponding with the aim curve is determined.Using the technical solution described in the embodiment of the present application, user's operation can be simplified, improve user experience.

Description

A kind of course data determines method and device
Technical field
This application involves field of computer technology, more particularly to a kind of course data determines method and device.
Background technology
With the continuous development of scientific technology, the application of aviation aircraft is more and more extensive.Aviation aircraft species is various, It can be divided into civil aircraft and military spacecraft by purposes, can be divided into manned aircraft and unmanned flight by whetheing there is personnel and driving Device.Wherein, unmanned vehicle is also known as unmanned plane, and the application field of unmanned plane is very extensive, for example, can be applied to mapping, The fields such as matter exploration, weather monitoring, communication relay, pesticide spraying, the condition of a disaster monitoring.
The flight control system for controlling navigation is generally comprised in unmanned plane.Flight control system can receive ground electricity The course data that sub- equipment is determined and sent, the course data are included between positional information and the destination of a series of destinations Order information.Flight control system can control unmanned plane to press each boat according to the positional information of each destination and the order of destination Navigated by water in the course line that point is formed.Wherein, the positional information of destination includes at least the letters such as the longitude, latitude and height of destination Breath.
Existing course data determines method, mainly determines each destination by user, then electronic equipment is true according to user Fixed each destination determines corresponding course data.Specifically, user can pass through mouse on the map that electronic equipment screen is shown Punctuate the mode such as hits or touches and determines destination one by one, and electronic equipment sequentially obtains a series of destinations according to the input of user operation, And determine corresponding course data according to these destinations.
But in the above method, when it is more complicated broken line or camber line that user, which it is expected the course line of unmanned plane navigation, in order to The corresponding course line of the course data that electronic equipment determines is set it is expected closer to user, user must input substantial amounts of destination, this It will cause that course data determination process is cumbersome, and user experience is not high.
The content of the invention
The purpose of the embodiment of the present application is the provision of a kind of course data and determines method and device, to simplify user behaviour Make, improve user experience.
In order to achieve the above object, this application discloses a kind of course data to determine method, the described method includes:
Receive the aim curve that user is directed to the input of target map region;
According to predetermined selection rule, the destination that the aim curve includes is determined, the destination includes at least described The beginning and end of aim curve;
Obtain the positional information of each destination;
According to the positional information of each destination, and order of each destination on the aim curve, determine and the target The corresponding course data of curve.
Optionally, it is described according to predetermined selection rule, the step of determining the destination that the aim curve includes, bag Include:
The beginning and end of the aim curve is connected, builds target line;
Judge whether the distance of all the points to the target line on the aim curve is respectively less than default apart from threshold Value;
If it is, the beginning and end of the aim curve is determined as destination;
If it is not, then the point on the aim curve with target line spacing maximum is determined as cut-point, according to The cut-point, at least two strip curves are divided into by the aim curve, are respectively updated at least two strip curves The step of aim curve, returns and performs the beginning and end for connecting the aim curve, structure target line.
Optionally, the positional information of each destination includes at least:Longitude and latitude;The position letter for obtaining each destination The step of breath, including:
The longitude and latitude of predetermined point in the target map region are obtained, unit in the target map region is obtained and indulges To apart from corresponding unit latitude, and the corresponding unit longitude of unit lateral separation;
Determine each destination to the fore-and-aft distance and lateral separation of the predetermined point;
According to the latitude of the predetermined point, the corresponding unit latitude of the unit fore-and-aft distance, and each destination is to described The fore-and-aft distance of predetermined point, determines the latitude of each destination;
According to the longitude of the predetermined point, the corresponding unit longitude of the unit lateral separation, and each destination is to described The lateral separation of predetermined point, determines the longitude of each destination.
Optionally, the latitude according to the predetermined point, the corresponding unit latitude of the unit fore-and-aft distance, and respectively Destination is to the fore-and-aft distance of the predetermined point, the step of determining the latitude of each destination, including:
For each destination, when the definite destination is below the predetermined point, and when the latitude of the predetermined point is north latitude When, judge whether D1 is not less than 0, wherein, D1=D0-y*y0, the D0 are the latitude value of the predetermined point, and the y is the destination To the fore-and-aft distance of the predetermined point, the y0 is the corresponding unit latitude of the unit fore-and-aft distance;
If it is, the latitude for determining the destination is north latitude D1;
If it is not, then the latitude for determining the destination is south latitude | D1 |;
When the definite destination is below the predetermined point, and when the latitude of the predetermined point is south latitude, the destination is determined Latitude be south latitude D2, wherein, D2=D0+y*y0.
Optionally, the longitude according to the predetermined point, the corresponding unit longitude of the unit lateral separation, and respectively Destination is to the lateral separation of the predetermined point, the step of determining the longitude of each destination, including:
For each destination, when the definite destination is on the right side of the predetermined point, and when the longitude of the predetermined point is east longitude When, judge whether E1 is not more than 180 degree, wherein, E1=E0+x*x0, the E0 are the longitude of the predetermined point, and the x is should For destination to the lateral separation of the predetermined point, the x0 is the corresponding unit longitude of the unit lateral separation;
If it is, the longitude for determining the destination is east longitude E1;
If it is not, then the longitude for determining the destination is west longitude E2, wherein, E2=360 degree-E0-x*x0;
When the definite destination is on the right side of the predetermined point, and when the longitude of the predetermined point is west longitude, whether E3 is judged Not less than 0, wherein, E3=E0-x*x0, the E0 are the longitude of the predetermined point, and the x is the destination to the predetermined point Lateral separation, the x0 is the corresponding unit longitude of the unit lateral separation;
If it is, the longitude for determining the destination is west longitude E3;
If it is not, then the longitude for determining the destination is east longitude | E3 |.
Optionally, the positional information further includes:Flying height;The step of positional information of each destination of acquisition, bag Include:
Receive flying height of the user for each destination input.
In order to achieve the above object, disclosed herein as well is a kind of course data determining device, described device to include:
Curve receiving module, the aim curve of target map region input is directed to for receiving user;
Destination determining module, it is described for according to predetermined selection rule, determining the destination that the aim curve includes Destination includes at least the beginning and end of the aim curve;
Information acquisition module, for obtaining the positional information of each destination;
Data determining module, for the positional information according to each destination, and each destination is on the aim curve Order, determine course data corresponding with the aim curve.
Optionally, the destination determining module, including:
Submodule is built, for connecting the beginning and end of the aim curve, builds target line;
Whether judging submodule, the distance for judging all the points on the aim curve to the target line are small In default distance threshold;
Determination sub-module, for when the judging submodule judging result for be when, by the starting point of the aim curve It is determined as destination with terminal;
Update submodule, for when the judging submodule judging result for it is no when, by the aim curve with institute The point for stating target line spacing maximum is determined as cut-point, and according to the cut-point, the aim curve is divided at least two At least two strip curves are updated to aim curve by strip curve respectively, and trigger the structure submodule.
Optionally, the positional information of each destination includes at least:Longitude and latitude;Described information obtains module, including:
Acquisition submodule, for obtaining the longitude and latitude of predetermined point in the target map region, obtains the target The corresponding unit latitude of unit fore-and-aft distance in map area, and the corresponding unit longitude of unit lateral separation;
Apart from determination sub-module, for determining each destination to the fore-and-aft distance and lateral separation of the predetermined point;
Latitude determination sub-module, for the latitude according to the predetermined point, the corresponding unit latitude of the unit fore-and-aft distance Degree, and each destination determine the latitude of each destination to the fore-and-aft distance of the predetermined point;
Longitude determination sub-module, for the longitude according to the predetermined point, the corresponding unit warp of the unit lateral separation Degree, and each destination determine the longitude of each destination to the lateral separation of the predetermined point.
Optionally, the latitude determination sub-module, including:
First judging unit, for for each destination, when the definite destination is below the predetermined point, and when described pre- When the latitude of fixed point is north latitude, judge whether D1 is not less than 0, wherein, D1=D0-y*y0, the D0 are the latitude of the predetermined point Value, the y for the destination to the fore-and-aft distance of the predetermined point, the y0 is the corresponding unit latitude of the unit fore-and-aft distance Degree;
First determination unit, for when the judging result of first judging unit is is, determining the latitude of the destination For north latitude D1;
Second determination unit, for when the judging result of first judging unit is no, determining the latitude of the destination For south latitude | D1 |;
3rd determination unit, the destination is determined below the predetermined point for working as, and when the latitude of the predetermined point is During south latitude, the latitude for determining the destination is south latitude D2, wherein, D2=D0+y*y0.
Optionally, the longitude determination sub-module, including:
Second judging unit, for for each destination, when the definite destination is on the right side of the predetermined point, and when described pre- When the longitude of fixed point is east longitude, judge whether E1 is not more than 180 degree, wherein, E1=E0+x*x0, the E0 are the predetermined point Longitude, the x for the destination to the lateral separation of the predetermined point, the x0 is the corresponding unit of the unit lateral separation Longitude;
4th determination unit, for when the judging result of second judging unit is is, determining the longitude of the destination For east longitude E1;
5th determination unit, for when the judging result of first judging unit is no, determining the longitude of the destination For west longitude E2, wherein, E2=360 degree-E0-x*x0;
3rd judging unit, the destination is determined on the right side of the predetermined point for working as, and when the longitude of the predetermined point is During west longitude, judge whether E3 is not less than 0, wherein, E3=E0-x*x0, the E0 are the longitude of the predetermined point, and the x is should For destination to the lateral separation of the predetermined point, the x0 is the corresponding unit longitude of the unit lateral separation;
6th determination unit, for when E3 is not less than 0, the longitude for determining the destination to be west longitude E3;
7th determination unit, for when E3 is less than 0, the longitude for determining the destination to be east longitude | E3 |.
Optionally, the positional information further includes:Flying height;Described information obtains module, is specifically used for:
Receive flying height of the user for each destination input.
As seen from the above technical solution, in the embodiment of the present application, can be inputted according to user for target map region Aim curve, and default selection rule, determine the destination that aim curve includes, then according to the position of each destination of acquisition Confidence ceases, and order of each destination on aim curve, determines course data corresponding with aim curve.And the prior art In, it is necessary to user according to oneself desired course line, the destination in input target map region, and then according to destination input by user Determine course data.When the desired course line of user is curve, it is necessarily required to user and inputs a large amount of destinations, this mode operates numerous Trivial, user experience is not high.Using the technical solution described in the embodiment of the present application, destination is inputted without user, use can be simplified Family operates, and improves user experience.
Brief description of the drawings
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, below will be to embodiment or existing There is attached drawing needed in technology description to be briefly described.It should be evident that drawings in the following description are only this Some embodiments of application, for those of ordinary skill in the art, without creative efforts, can be with Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of flow diagram that course data provided by the embodiments of the present application determines method;
Fig. 2 is that the user received is directed to the aim curve schematic diagram of target map region input;
Fig. 3 is one group of destination schematic diagram that the aim curve according to Fig. 2 determines;
Fig. 4 is a kind of flow diagram for the positional information that each destination is obtained in the embodiment of the present application;
A kind of schematic diagram of Latitude Distribution on Fig. 5 a earth;
A kind of schematic diagram that longitude is distributed on Fig. 5 b earth;
Fig. 6 is a kind of flow diagram of the destination included in the embodiment of the present application in definite aim curve;
Fig. 7 is another group of destination schematic diagram that the aim curve according to Fig. 2 determines;
Fig. 8 is a kind of structure diagram of course data determining device provided by the embodiments of the present application;
Fig. 9 is another structure diagram of course data determining device provided by the embodiments of the present application;
Figure 10 is another structure diagram of course data determining device provided by the embodiments of the present application.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, the technical solution in the embodiment of the present application is carried out clear, complete Whole description.Obviously, described embodiment is only the part of the embodiment of the application, instead of all the embodiments.Base Embodiment in the application, those of ordinary skill in the art are obtained all on the premise of creative work is not made Other embodiment, shall fall in the protection scope of this application.
The embodiment of the present application provides a kind of course data and determines method and device, can simplify user's operation, improves and uses Family Experience Degree.This application can be applied to electronic equipment, which can be smart mobile phone, tablet computer, notebook electricity The equipment such as brain, desktop computer.
Below by specific embodiment, the application is described in detail.
Fig. 1 determines method for course data provided by the embodiments of the present application, and this method comprises the following steps:
Step S101:Receive the aim curve that user is directed to the input of target map region.
Specifically, before step S101 is performed, the electronic equipment as executive agent can be established with aviation aircraft Communication connection.Then, electronic equipment can receive the current location of aviation aircraft transmission, and according to the current location, determine Target map region.Specifically, the preset range region centered on current location can be determined as by mesh according to current location Mark map area;Wherein, the area that the map scaling ruler rank that preset range region can include selecting according to user determines Domain.Certainly, determine that target map region can also include the other embodiment in addition to the above embodiment, the present embodiment pair This is not specifically limited.
After definite target map region, electronic equipment can show the target map region.Also, electronic equipment is also Prompt message can be exported to user, prompt user to input course line.Specifically, when the screen non-touch screen of electronic equipment, use Family can pass through mouse setting-out on the screen;When the screen of electronic equipment is touch-screen, user can be on the screen using tactile The mode setting-out touched.
As a kind of specific embodiment, the electronic equipment as executive agent receives user and is directed to target map region During the aim curve of input, it can include:At least one the first curves of the user for the input of target map region are received, according to First curve, determines aim curve.Specifically, when the first curve that user inputs for target map region is at least two When, according to first curve, when determining aim curve, can include:Each first curve is sequentially connected, obtains target song Line.It should be noted that aim curve can be curve or straight line.
In addition, the map area shown in terminal screen be usually according to up north and down south, left west and right east rule explicitly Figure.In description below, unless there is specified otherwise, the orientation of map is otherwise shown according to above-mentioned rule without exception.
Fig. 2 is the aim curve schematic diagram that the user that receives of electronic equipment is directed to the input of target map region, in the figure Window area is target map region, and S types curve 201 in this region is aim curve.
Step S102:According to predetermined selection rule, the destination that aim curve includes is determined, the destination includes at least The beginning and end of the aim curve.
It should be noted that in order to reduce data volume, blocking communication link is avoided, in the present embodiment according to predetermined choosing Rule is taken, determines the destination that aim curve includes.
As a kind of embodiment, when determining the destination that aim curve includes, aim curve can include determining that The positional information of the destination included.Wherein, which can be coordinate or pixel quantity.
For example, the point that can take the target map region upper left corner is predetermined origin, X-axis is established in transverse direction, vertically Y-axis is established in direction, so can be according to the transverse and longitudinal coordinate of each destination in target map region(X, Y)Determine the destination.Equally , the point for taking the target map region upper left corner is pixel quantity zero point, for the destination A in target map region, it may be determined that A The pixel quantity N being spaced in the horizontal with pixel quantity zero point, and the pixel quantity M being longitudinally spaced, it is true according to M and N Determine the positional information of destination.
Specifically, step S102 can include numerous embodiments in the present embodiment.According to default selection rule, determine The destination that aim curve includes can include:According to predetermined interval distance threshold, using etc. by the way of length of curve spacing, really The destination that the fixed aim curve includes.That is, the length of curve between definite each destination is in this way Identical.
As another embodiment, according to default selection rule, the destination that aim curve includes is determined, can With including:Obtain at least one radius of curvature of aim curve;According to default range of curvature radius, aim curve is segmented; For the aim curve after segmentation, the mean radius of curvature of every section of aim curve is determined;According to default mean radius of curvature with The correspondence of destination quantity, determines the destination quantity of every section of aim curve;The rule being evenly distributed according to destination, determines every section The destination quantity destination on aim curve.
Certainly, step S102 can also include other embodiment, and the present embodiment does not limit embodiment.
Fig. 3 is one group of destination schematic diagram that the aim curve according to Fig. 2 determines, 30 boats are included on the aim curve Point, including the beginning and end of aim curve.
Step S103:Obtain the positional information of each destination.
Wherein, the positional information of each destination can include the information such as longitude, latitude, height.
In a kind of embodiment, when the positional information of each destination includes at least longitude and latitude, step S103, The positional information of each destination is obtained, can carry out, specifically include according to flow diagram shown in Fig. 4:
Step S103A:The longitude and latitude of predetermined point in target map region are obtained, obtains unit in target map region The corresponding unit latitude of fore-and-aft distance, and the corresponding unit longitude of unit lateral separation.
Specifically, in target map region the longitude of predetermined point and the corresponding unit latitude of latitude, unit fore-and-aft distance with And the corresponding unit longitude of unit lateral separation, it can be obtained from the corresponding map kit in target map region, It can be obtained from the corresponding server in target map region.Wherein, map kit can be by map application The map redevelopment instrument of offer.
That is, predetermined point can be the point that map application provides or application program carries according to the map The point that the point of confession determines.
In addition, the predetermined point in target map region can be positioned at the target map region upper left corner, the upper right corner, the lower left corner Or the point in the lower right corner.When predetermined point is located at these above-mentioned specific positions, when calculating the positional information of each destination, can improve Calculating speed.
It is understood that when the terminal screen show map regional change of user, the longitude and latitude of predetermined point It is to become therewith, but the position of predetermined point relative screen can be fixed.
Step S103B:Determine each destination to the fore-and-aft distance and lateral separation of predetermined point.
Wherein, fore-and-aft distance and lateral separation can be the distance between coordinate or be represented with pixel quantity Distance.
Step S103C:According to the latitude of predetermined point, the corresponding unit latitude of unit fore-and-aft distance, and each destination is in advance The fore-and-aft distance of fixed point, determines the latitude of each destination.
Wherein, the division rule of latitude is on the earth:It is to the south since the equator, be northwards respectively divided into 90 degree, it is to the south for south Latitude, is northwards north latitude.Fig. 5 a are a kind of schematic diagram of Latitude Distribution on the earth, and arctic point, Geophysical South Pole and red are depicted in figure Weft at road, two wefts in the Northern Hemisphere, two wefts in the Southern Hemisphere.Also, the latitude at equator is 0 degree, arctic point Latitude is 90 degree of north latitude, and the latitude of Geophysical South Pole is 90 degree of south latitude.
Predetermined point can be any one point in target map region.In this way, destination is possible to above predetermined point, It is also possible to below predetermined point.It is alternatively possible to by predetermined point determine the upper left corner, the upper right corner, the lower left corner or the lower right corner this A little positions, in this way, all destinations in target map region all can be in the same direction of predetermined point.In the latitude according to predetermined point Degree, the corresponding unit latitude of unit fore-and-aft distance, and each destination determine the latitude of each destination to the fore-and-aft distance of predetermined point When, calculating speed can be improved.
In a kind of embodiment, for each destination, when the definite destination is below predetermined point, step S103C, According to the latitude of predetermined point, the corresponding unit latitude of unit fore-and-aft distance, and each destination are determined to the fore-and-aft distance of predetermined point The latitude of each destination, can include:
For each destination, when the definite destination is below predetermined point, and when the latitude of predetermined point is north latitude, D1 is judged Whether 0 is not less than, wherein, D1=D0-y*y0, D0 are the latitude value of predetermined point, and y is the destination to the fore-and-aft distance of predetermined point, y0 For the corresponding unit latitude of unit fore-and-aft distance;
If it is, the latitude for determining the destination is north latitude D1;
If it is not, then the latitude for determining the destination is south latitude | D1 |, wherein, | | it is absolute value sign.
For each destination, when the definite destination is below predetermined point, and when the latitude of the predetermined point is south latitude, really The latitude of the fixed destination is south latitude D2, wherein, D2=D0+y*y0.
For example, the point O in the upper left corner is predetermined point in target map region, its latitude D0 is 60 degree of north latitude, target map area The corresponding unit latitude y0 of unit fore-and-aft distance is 2 degree in domain, and destination A arrives the fore-and-aft distance of predetermined point O below predetermined point Y is 15, then understands D1=D0-y*y0=60 degree -15*2 degree=30 degree>0, the latitude for determining destination A is 30 degree of north latitude.
And for example, the point O in the upper left corner is predetermined point in target map region, its latitude D0 is 20 degree of north latitude, target map area The corresponding unit latitude y0 of unit fore-and-aft distance is 2 degree in domain, and destination A arrives the fore-and-aft distance of predetermined point O below predetermined point Y is 15, then understands that D1=D0-y*y0=20 degree -15*2 degree=- 10 are spent<0, the latitude for determining destination A is south latitude | -10 | degree, i.e., and it is southern 10 degree of latitude.
For another example, the point O in the upper left corner is predetermined point in target map region, its latitude D0 is 20 degree of south latitude, target map area The corresponding unit latitude y0 of unit fore-and-aft distance is 2 degree in domain, and destination A arrives the fore-and-aft distance of predetermined point O below predetermined point Y is 15, then understands D2=D0+y*y0=20 degree+15*2 degree=50 degree, the latitude for determining destination A is 50 degree of south latitude.
As a kind of embodiment, for each destination, when the definite destination is above predetermined point, step S103C, according to the latitude of predetermined point, the corresponding unit latitude of unit fore-and-aft distance, and each destination to predetermined point longitudinal direction away from From determining the latitude of each destination, can include:
For each destination, when the definite destination is above predetermined point, and when the latitude of predetermined point is south latitude, D3 is judged Whether 0 is not less than, wherein, D3=D0-y*y0, D0 are the latitude value of predetermined point, and y is the destination to the fore-and-aft distance of predetermined point, y0 For the corresponding unit latitude of unit fore-and-aft distance;
If it is, the latitude for determining the destination is south latitude D3;
If it is not, then the latitude for determining the destination is north latitude | D3 |.
For each destination, when the definite destination is above the predetermined point, and when the latitude of the predetermined point is north latitude When, the latitude for determining the destination is north latitude D4, wherein, D4=D0+y*y0.
For example, the point O in the lower right corner is predetermined point in target map region, its latitude D0 is 60 degree of south latitude, target map area The corresponding unit latitude y0 of unit fore-and-aft distance is 2 degree in domain, and destination A arrives the fore-and-aft distance of predetermined point O above predetermined point Y is 15, then understands D3=D0-y*y0=60 degree -15*2 degree=30 degree>0, the latitude for determining destination A is 30 degree of south latitude.
And for example, the point O in the upper right corner is predetermined point in target map region, its latitude D0 is 20 degree of south latitude, target map area The corresponding unit latitude y0 of unit fore-and-aft distance is 2 degree in domain, and destination A arrives the fore-and-aft distance of predetermined point O above predetermined point Y is 15, then understands that D3=D0-y*y0=20 degree -15*2 degree=- 10 are spent<0, the latitude for determining destination A is north latitude | -10 | degree, i.e., and it is northern 10 degree of latitude.
For another example, the point O in the lower right corner is predetermined point in target map region, its latitude D0 is 20 degree of north latitude, target map area The corresponding unit latitude y0 of unit fore-and-aft distance is 2 degree in domain, and destination A arrives the fore-and-aft distance of predetermined point O above predetermined point Y is 15, then understands D4=D0+y*y0=20 degree+15*2 degree=50 degree, the latitude for determining destination A is 50 degree of north latitude.
Step S103D:According to the longitude of predetermined point, the corresponding unit longitude of unit lateral separation, and each destination is in advance The lateral separation of fixed point, determines the longitude of each destination.
Wherein, the division rule of longitude is on the earth:Since the first meridian eastwards, westwards each division 180 degree, eastwards It is westwards west longitude degree for east longitude degree.Fig. 5 b are a kind of schematic diagram of longitude distribution on the earth, at the beginning of arctic point, sheet are depicted in figure Meridian and two east longitude lines and two west longitude lines.Also, figure acceptance of the bid is shown using the first meridian as line of demarcation, on the earth East longitude regional extent and west longitude regional extent.
Predetermined point can be any one point in target map region.In this way, destination is possible on the left of predetermined point, It is also possible on the right side of predetermined point.It is alternatively possible to by predetermined point determine the upper left corner, the upper right corner, the lower left corner or the lower right corner this A little positions, in this way, all destinations in target map region all can be in the same direction of predetermined point.In the warp according to predetermined point Degree, the corresponding unit longitude of unit lateral separation, and each destination determine the longitude of each destination to the lateral separation of predetermined point When, calculating speed can be improved.
In a kind of embodiment, for each destination, when the definite destination is on the right side of predetermined point, step S103D, according to the longitude of predetermined point, the corresponding unit longitude of unit lateral separation, and each destination to predetermined point laterally away from From determining the longitude of each destination, can include:
For each destination, when the definite destination is on the right side of predetermined point, and when the longitude of predetermined point is east longitude, E1 is judged Whether be not more than 180 degree, wherein, E1=E0+x*x0, E0 be predetermined point longitude, x be the destination to predetermined point transverse direction away from From x0 is the corresponding unit longitude of unit lateral separation;
If it is, the longitude for determining the destination is east longitude E1;
If it is not, then the longitude for determining the destination is west longitude E2, wherein, E2=360 degree-E0-x*x0.
For example, the point O in the upper left corner is predetermined point in target map region, its longitude E0 is 60 degree of east longitude, target map area The corresponding unit longitude x0 of unit lateral separation is 2 degree in domain, and destination A arrives the lateral separation of predetermined point O on the right side of predetermined point X is 15, then understands E1=E0+x*x0=60 degree+15*2 degree=90 degree<180 degree, the longitude for determining destination A are 90 degree of east longitude.
And for example, the point O in the upper left corner is predetermined point in target map region, its longitude E0 is 170 degree of east longitude, target map area The corresponding unit longitude x0 of unit lateral separation is 2 degree in domain, and destination A arrives the lateral separation of predetermined point O on the right side of predetermined point X is 15, then understands E1=E0+x*x0=170 degree+15*2 degree=200 degree>180 degree, the longitude for determining destination A are:West longitude E2=360 - 170 degree -15*2 degree=160 degree of degree-E0-x*x0=360 degree, i.e. 160 degree of west longitude.
For each destination, when the definite destination is on the right side of predetermined point, and when the longitude of predetermined point is west longitude, E3 is judged Whether 0 is not less than, wherein, E3=E0-x*x0, E0 are the longitude of predetermined point, and x is the destination to the lateral separation of predetermined point, x0 For the corresponding unit longitude of unit lateral separation;
If it is, the longitude for determining the destination is west longitude E3;
If it is not, then the longitude for determining the destination is east longitude | E3 |.
For example, the point O in the upper left corner is predetermined point in target map region, its longitude E0 is 60 degree of west longitude, target map area The corresponding unit longitude x0 of unit lateral separation is 2 degree in domain, and destination A arrives the lateral separation of predetermined point O on the right side of predetermined point X is 15, then understands E3=E0-x*x0=60 degree -15*2 degree=30 degree>0, the longitude for determining destination A is 30 degree of west longitude.
And for example, the point O in the upper left corner is predetermined point in target map region, its longitude E0 is 10 degree of west longitude, target map area The corresponding unit longitude x0 of unit lateral separation is 2 degree in domain, and destination A arrives the lateral separation of predetermined point O on the right side of predetermined point X is 15, then understands that E3=E0-x*x0=10 degree -15*2 degree=- 20 are spent<0, the longitude for determining destination A is:East longitude | E3 |=| E0-x* X0 |=| 10 degree of -15*2 degree |=| -20 degree |, i.e. 20 degree of east longitude.
In a kind of embodiment, for each destination, when the definite destination is on the left of predetermined point, step S103D, according to the longitude of predetermined point, the corresponding unit longitude of unit lateral separation, and each destination to predetermined point laterally away from From determining the longitude of each destination, can include:
For each destination, when the definite destination is on the left of predetermined point, and when the longitude of predetermined point is west longitude, E4 is judged Whether be not more than 180 degree, wherein, E4=E0+x*x0, E0 be predetermined point longitude, x be the destination to predetermined point transverse direction away from From x0 is the corresponding unit longitude of unit lateral separation;
If it is, the longitude for determining the destination is west longitude E4;
If it is not, then the longitude for determining the destination is east longitude E5, wherein, E5=360 degree-E0-x*x0.
For example, the point O in the lower right corner is predetermined point in target map region, its longitude E0 is 60 degree of west longitude, target map area The corresponding unit longitude x0 of unit lateral separation is 2 degree in domain, and destination A arrives the lateral separation of predetermined point O on the left of predetermined point X is 15, then understands E4=E0+x*x0=60 degree+15*2 degree=90 degree<180 degree, the longitude for determining destination A are 90 degree of west longitude.
And for example, the point O in the lower right corner is predetermined point in target map region, its longitude E0 is 170 degree of west longitude, target map area The corresponding unit longitude x0 of unit lateral separation is 2 degree in domain, and destination A arrives the lateral separation of predetermined point O on the left of predetermined point X is 15, then understands E4=E0+x*x0=170 degree+15*2 degree=200 degree>180 degree, the longitude for determining destination A are:East longitude E5=360 - 170 degree -15*2 degree=160 degree of degree-E0-x*x0=360 degree, i.e. 160 degree of east longitude.
For each destination, when the definite destination is on the left of predetermined point, and when the longitude of predetermined point is east longitude, E6 is judged Whether 0 is not less than, wherein, E6=E0-x*x0, E0 are the longitude of predetermined point, and x is the destination to the lateral separation of predetermined point, x0 For the corresponding unit longitude of unit lateral separation;
If it is, the longitude for determining the destination is east longitude E6;
If it is not, then the longitude for determining the destination is west longitude | E6 |.
For example, the point O in the lower right corner is predetermined point in target map region, its longitude E0 is 60 degree of east longitude, target map area The corresponding unit longitude x0 of unit lateral separation is 2 degree in domain, and destination A arrives the lateral separation of predetermined point O on the left of predetermined point X is 15, then understands E6=E0-x*x0=60 degree -15*2 degree=30 degree>0, the longitude for determining destination A is 30 degree of east longitude.
And for example, the point O in the lower right corner is predetermined point in target map region, its longitude E0 is 10 degree of east longitude, target map area The corresponding unit longitude x0 of unit lateral separation is 2 degree in domain, and destination A arrives the lateral separation of predetermined point O on the left of predetermined point X is 15, then understands that E6=E0-x*x0=10 degree -15*2 degree=- 20 are spent<0, the longitude for determining destination A is:West longitude | E6 |=| E0-x* X0 |=| 10 degree of -15*2 degree |=| -20 degree |, i.e. 20 degree of west longitude.
In a kind of embodiment, the positional information can also include:Flying height.Step S103, obtains each The positional information of destination, can include:Receive the flying height that user is directed to the input of each destination.
Specifically, the electronic equipment as executive agent can export prompt message to user, user is prompted to be directed to each boat Point inputs corresponding flying height numerical value, and then electronic equipment receives above-mentioned flying height.
It should be noted that user, which can be directed to each destination, sets identical flying height, can also set different Flying height.
Step S104:According to the positional information of each destination, and order of each destination on aim curve, determine with The corresponding course data of aim curve.
Specifically, each destination is directed to, can basis after the latitude, longitude and flying height of each destination is determined Order of the destination on aim curve, the course data using above-mentioned longitude, latitude, flying height and order as the destination, Then the course data of all destinations on aim curve is determined as the corresponding course data of aim curve.
Wherein, order of each destination on aim curve refers to that each destination is between the beginning and end of aim curve Tandem.Receive user for target map region input aim curve when, it may be determined that the starting point of aim curve and The tandem of each point between terminal, and beginning and end.Each destination is the point on aim curve, therefore, can be with According to the order of each point on aim curve, order of each destination on aim curve is obtained.
In a kind of embodiment, after course data corresponding with aim curve is determined, this method can be with Including:The course data is sent to flight control system, so that flight control system responds the course data.Flight control system Respond the course data, you can to control aviation aircraft flight according to course data including flight control system.
When sending course data to flight control system, the corresponding flying quality of each destination can be existed by each destination Order on aim curve is transmitted successively, can also send the flying quality of all destinations on aim curve at the same time. The present embodiment is not specifically limited this.
As shown in the above, in the present embodiment, the aim curve of target map region input is directed to according to user, and Default selection rule, determines the destination that aim curve includes, then according to the positional information of each destination of acquisition, and respectively Order of the destination on aim curve, determines course data corresponding with aim curve.And in the prior art, it is necessary to user according to Oneself desired course line, inputs the destination in target map region, and then determines course data according to destination input by user.When When the desired course line of user is curve, it is necessarily required to user and inputs a large amount of destinations, this mode is cumbersome, and user experience is not It is high.Using the technical solution described in the present embodiment, destination is inputted without user, user's operation can be simplified, improves user experience Degree.
Compared with conventional each method for receiving user and adding a destination and definite course data, user's addition is received Aim curve and determine course data method be more convenient, fast, user experience is more preferable, is also easier to realize that user is desired Course line.
In addition, in the embodiment shown in fig. 1, step S102, according to predetermined selection rule, determines to wrap in aim curve During the destination included, in order to reduce data volume, blocking communication link is avoided, the application can follow following principle:
First, the broken line that the destination determined sequentially is linked to be will be consistent with virgin curve as far as possible;
Second, to reduce the quantity of destination as far as possible, amount of communication data is reduced.
Due to being conflicting between mentioned above principle, the application can be directed to step S102 and provide one kind specifically for this Embodiment.
In another specific embodiment herein, embodiment illustrated in fig. 1 can be improved.Specifically, Fig. 1 institutes Show the step S102 in embodiment, i.e., according to predetermined selection rule, determine the destination that aim curve includes, can be according to figure Flow diagram shown in 6 carries out, and specifically includes:
Step S102A:The beginning and end of linking objective curve, builds target line.
Step S102B:Judge whether the distance of all the points to the target line on the aim curve is respectively less than in advance If distance threshold, if it is, performing step S102C;If it is not, then perform step S102D.
Wherein, distance threshold is pre-set.The distance threshold can be default value or user sets in advance The numerical value put.Also, during the use of user, can also according to oneself need change the distance threshold.It is used as and holds The electronic equipment of row main body can receive distance threshold input by user and record.
It should be noted that above-mentioned distance threshold can represent close between the course line that aim curve and each destination are formed Degree.Distance threshold is smaller, and the destination determined from aim curve is more, and corresponding obtained course line is closer to aim curve;Away from Bigger from threshold value, the destination determined from aim curve is fewer, and the gap of corresponding obtained course line and aim curve is bigger.Together When, destination is fewer, and the traffic of electronic equipment and flight control system is also smaller, so as to avoid blocking communication chain as far as possible Road.
Step S102C:The beginning and end of the aim curve is determined as destination.
Step S102D:Point on the aim curve with target line spacing maximum is determined as cut-point, according to The cut-point, at least two strip curves are divided into by the aim curve, are respectively updated at least two strip curves Aim curve, returns and performs step S102A.
For example, for aim curve S, beginning and end is drawn a straight line L, if other each points are straight to this on curve The distance of line L is respectively less than distance threshold X set in advance, then can replace this curve S with this straight line L is approximate.It is if discontented Foot, then find out away from the point that this straight line L distances are maximum on curve S, and as separation, it is two sections of curves that curve S, which is divided to, S1 and S2.
Then, the above method then to this two curves S1 and S2 is repeated, until the curve S most started is divided into some Section S1, S2 ..., Sn, every section can meet the following conditions:The straight line being linked to be with every section of beginning and end replaces the song of itself Line.And the destination that the beginning and end of these sectional curves, which is exactly the present embodiment, to be determined.The beginning and end of curve S1 to Sn Broken line connected in sequence approximate can replace curve S.Mathematics here it is step S102A~step S102D in the present embodiment is former Reason.
Wherein, for sake of clarity, the point on aim curve with target line spacing maximum is known as at first point.
When there was only one at first point, aim curve can be divided into two strip curves using this first point as cut-point.
When there are when two or more, when being divided to aim curve, a variety of implementations can be included at first point Mode:
First, according to preset rules, a cut-point is determined from each first point, it is according to the cut-point, target is bent Line is divided into two strip curves.Specifically, according to preset rules, a cut-point is determined from each first point, can be included: According to each first point of order on aim curve, the point of order closest to starting point in each first point is determined as splitting Point, or according to each first point of order on aim curve, the point of order closest to terminal in each first point is determined For cut-point.
It is another to be, respectively using each first point as cut-point, aim curve is divided at least three strip curves.For example, When first point of quantity is 2, aim curve is divided into 3 strip curves, when first point of quantity is 3, by aim curve It is divided into 4 strip curves.
As an example, Fig. 7 is another group of destination schematic diagram that the aim curve according to Fig. 2 determines, with Fig. 3 phases Than having selected larger distance threshold in Fig. 7, corresponding, the quantity for the destination that definite aim curve includes tails off.
Specifically, the algorithm realization of the above process is as follows:
{
Function Simplify:
Input:The array PointList being made of the point on aim curve on screen, sets distance threshold X
ResultList:The array of point composition after screening, function output
Size:The length of PointList
Line:The origin-to-destination line of curve
Index←0:The sequence number of the point of the distance maximum of Line is arrived on curve
DistanceMax←0:Point has arrived the ultimate range of Line on curve
For i←0to Size-1
The distance of Line is arrived in Do dis ← i-th point
If dis are more than DistanceMax then Index ← i, DistanceMax ← dis
If DistanceMax are less than X and the 0th on PointList and last point then are added to ResultList
Otherwise the point of the 0th to Index of PointList is formed PointListA, I ndex to Size-1 composition PointListB
PointListA and PointListB and X difference input function Simplify, obtain output ResultListA and ResultListB
ResultListA is deleted into last point
ResultListA, ResultListB are all added to ResultList
Output:ResultList
}
In conclusion in the present embodiment, the destination that aim curve includes is determined by the above method, boat can be improved Line number is according to the degree of closeness with the desired course line of user.Meanwhile the setting of distance threshold can balance, coordinate destination data volume with Contradiction between the levels of precision of course line, makes definite course data disclosure satisfy that the demand of user, improves user experience.
Fig. 8 show a kind of structure diagram of course data determining device provided by the embodiments of the present application, shown in Fig. 1 Embodiment of the method is corresponding, and described device includes:
Curve receiving module 810, the aim curve of target map region input is directed to for receiving user;
Destination determining module 820, for according to predetermined selection rule, determining the destination that the aim curve includes, The destination includes at least the beginning and end of the aim curve;
Information acquisition module 830, for obtaining the positional information of each destination;
Data determining module 840, for the positional information according to each destination, and each destination is in the aim curve On order, determine course data corresponding with the aim curve.
As shown in the above, in the present embodiment, the aim curve of target map region input is directed to according to user, and Default selection rule, determines the destination that aim curve includes, then according to the positional information of each destination of acquisition, and respectively Order of the destination on aim curve, determines course data corresponding with aim curve.And in the prior art, it is necessary to user according to Oneself desired course line, inputs the destination in target map region, and then determines course data according to destination input by user.When When the desired course line of user is curve, it is necessarily required to user and inputs a large amount of destinations, this mode is cumbersome, and user experience is not It is high.Using the technical solution described in the present embodiment, destination is inputted without user, user's operation can be simplified, improves user experience Degree.
As a kind of embodiment, in the embodiment shown in fig. 8, the positional information can also include:Flight is high Degree;Described information obtains module 830, specifically can be used for:
Receive flying height of the user for each destination input.
In another embodiment of the application, on the basis of embodiment illustrated in fig. 8, destination determining module 820, can include With lower module, these modules can be as shown in Figure 9:
Submodule 821 is built, for connecting the beginning and end of the aim curve, builds target line;
Judging submodule 822, for judge all the points on the aim curve to the target line distance whether Respectively less than default distance threshold;
Determination sub-module 823, for when the judging submodule 822 judging result for be when, by the aim curve Beginning and end be determined as destination;
Update submodule 824, for when the judging submodule 822 judging result for it is no when, by the aim curve The upper point with target line spacing maximum is determined as cut-point, and according to the cut-point, the aim curve is divided into At least two strip curves are updated to aim curve by least two strip curves respectively, and trigger the structure submodule 821。
In a kind of embodiment, on the basis of embodiment illustrated in fig. 8, the positional information of each destination is at least Including:Longitude and latitude;Described information obtains module 830, can include following module, these modules can be as shown in Figure 9:
Acquisition submodule 831, for obtaining the longitude and latitude of predetermined point in the target map region, obtains the mesh Mark the corresponding unit latitude of unit fore-and-aft distance in map area, and the corresponding unit longitude of unit lateral separation;
Apart from determination sub-module 832, for determining each destination to the fore-and-aft distance and lateral separation of the predetermined point;
Latitude determination sub-module 833, for the latitude according to the predetermined point, the corresponding unit of the unit fore-and-aft distance Latitude, and each destination determine the latitude of each destination to the fore-and-aft distance of the predetermined point;
Longitude determination sub-module 834, for the longitude according to the predetermined point, the corresponding unit of the unit lateral separation Longitude, and each destination determine the longitude of each destination to the lateral separation of the predetermined point.
As a kind of embodiment, on the basis of embodiment illustrated in fig. 9, the latitude determination sub-module 833 can With as shown in Figure 10, including with lower unit:
First judging unit 833A, for for each destination, when the definite destination is below the predetermined point, and works as institute When the latitude for stating predetermined point is north latitude, judge whether D1 is not less than 0, wherein, D1=D0-y*y0, the D0 are the predetermined point Latitude value, the y for the destination to the fore-and-aft distance of the predetermined point, the y0 is the corresponding unit of the unit fore-and-aft distance Latitude;
First determination unit 833B, the judging result for the first judging unit 833A are that the latitude of the destination is determined when being Spend for north latitude D1;
Second determination unit 833C, when the judging result for the first judging unit 833A is no, determines the latitude of the destination Spend for south latitude | D1 |;
3rd determination unit 833D, the destination is determined below the predetermined point for working as, and when the latitude of the predetermined point Spend for south latitude when, the latitude for determining the destination is south latitude D2, wherein, D2=D0+y*y0.
As a kind of embodiment, on the basis of embodiment illustrated in fig. 9, the longitude determination sub-module 834 can With as shown in Figure 10, including with lower unit:
Second judging unit 834A, for for each destination, when the definite destination is on the right side of the predetermined point, and works as institute When the longitude for stating predetermined point is east longitude, judge whether E1 is not more than 180 degree, wherein, E1=E0+x*x0, the E0 are described predetermined The longitude of point, the x are lateral separation of the destination to the predetermined point, and the x0 is corresponding for the unit lateral separation Unit longitude;
4th determination unit 834B, for when the judging result of the second judging unit 834A is is, determining the destination Longitude is east longitude E1;
5th determination unit 834C, for when the judging result of the second judging unit 834A is no, determining the destination Longitude is west longitude E2, wherein, E2=360 degree-E0-x*x0;
3rd judging unit 834D, for for each destination, when the definite destination is on the right side of the predetermined point, and works as institute When the longitude for stating predetermined point is west longitude, judge whether E3 is not less than 0, wherein, E3=E0-x*x0, the E0 are the predetermined point Longitude, the x for the destination to the lateral separation of the predetermined point, the x0 is the corresponding unit of the unit lateral separation Longitude;
6th determination unit 834E, for when E3 is not less than 0, the longitude for determining the destination to be west longitude E3;
7th determination unit 834F, for when E3 is less than 0, the longitude for determining the destination to be east longitude | E3 |.
Since above device embodiment is obtained based on embodiment of the method, there is identical technique effect with this method, Therefore details are not described herein for the technique effect of device embodiment.
For device embodiment, since it is substantially similar to embodiment of the method, so describe fairly simple, it is related Part illustrates referring to the part of embodiment of the method.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any this actual relation or order.Moreover, term " comprising ", "comprising" or any other variant be intended to it is non- It is exclusive to include, so that process, method, article or equipment including a series of elements not only include those key elements, But also including other elements that are not explicitly listed, or further include solid by this process, method, article or equipment Some key elements.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including Also there are other identical element in the process of the key element, method, article or equipment.
It will appreciated by the skilled person that all or part of step in the above embodiment is can to pass through journey Sequence instructs relevant hardware, and come what is completed, the program can be stored in computer read/write memory medium.It is designated herein Storage medium, refers to ROM/RAM, magnetic disc, CD etc..
The foregoing is merely the preferred embodiment of the application, the protection domain of the application is not intended to limit.It is all Any modification, equivalent substitution, improvement and etc. done within spirit herein and principle, are all contained in the protection domain of the application It is interior.

Claims (12)

1. a kind of course data determines method, it is characterised in that the described method includes:
Receive the aim curve that user is directed to the input of target map region;
According to predetermined selection rule, the destination that the aim curve includes is determined, the destination includes at least the target The beginning and end of curve;
Obtain the positional information of each destination;
According to the positional information of each destination, and order of each destination on the aim curve, determine and the aim curve Corresponding course data.
2. according to the method described in claim 1, it is characterized in that, described according to predetermined selection rule, the target is determined The step of destination that curve includes, including:
The beginning and end of the aim curve is connected, builds target line;
Judge whether the distance of all the points to the target line on the aim curve is respectively less than default distance threshold;
If it is, the beginning and end of the aim curve is determined as destination;
If it is not, then the point on the aim curve with target line spacing maximum is determined as cut-point, according to described Cut-point, at least two strip curves are divided into by the aim curve, and at least two strip curves are updated to target respectively The step of curve, returns and performs the beginning and end for connecting the aim curve, structure target line.
3. according to the method described in claim 1, it is characterized in that, the positional information of each destination includes at least:Longitude and Latitude;The step of positional information of each destination of acquisition, including:
Obtain the longitude and latitude of predetermined point in the target map region, obtain in the target map region unit longitudinal direction away from From corresponding unit latitude, and the corresponding unit longitude of unit lateral separation;
Determine each destination to the fore-and-aft distance and lateral separation of the predetermined point;
According to the latitude of the predetermined point, the corresponding unit latitude of the unit fore-and-aft distance, and each destination is to described predetermined The fore-and-aft distance of point, determines the latitude of each destination;
According to the longitude of the predetermined point, the corresponding unit longitude of the unit lateral separation, and each destination is to described predetermined The lateral separation of point, determines the longitude of each destination.
4. according to the method described in claim 3, it is characterized in that, the latitude according to the predetermined point, the unit are indulged To apart from corresponding unit latitude, and each destination is to the fore-and-aft distance of the predetermined point, the step of determining the latitude of each destination, Including:
For each destination, when the definite destination is below the predetermined point, and when the latitude of the predetermined point is north latitude, sentence Whether disconnected D1 is not less than 0, wherein, D1=D0-y*y0, the D0 are the latitude value of the predetermined point, and the y is the destination to institute The fore-and-aft distance of predetermined point is stated, the y0 is the corresponding unit latitude of the unit fore-and-aft distance;
If it is, the latitude for determining the destination is north latitude D1;
If it is not, then the latitude for determining the destination is south latitude | D1 |;
When the definite destination is below the predetermined point, and when the latitude of the predetermined point is south latitude, determine the latitude of the destination Spend for south latitude D2, wherein, D2=D0+y*y0.
5. according to the method described in claim 3, it is characterized in that, the longitude according to the predetermined point, the unit are horizontal To apart from corresponding unit longitude, and each destination is to the lateral separation of the predetermined point, the step of determining the longitude of each destination, Including:
For each destination, when the definite destination is on the right side of the predetermined point, and when the longitude of the predetermined point is east longitude, sentence Whether disconnected E1 is not more than 180 degree, wherein, E1=E0+x*x0, the E0 are the longitude of the predetermined point, and the x is the destination To the lateral separation of the predetermined point, the x0 is the corresponding unit longitude of the unit lateral separation;
If it is, the longitude for determining the destination is east longitude E1;
If it is not, then the longitude for determining the destination is west longitude E2, wherein, E2=360 degree-E0-x*x0;
When the definite destination is on the right side of the predetermined point, and when the longitude of the predetermined point is west longitude, judge whether E3 is not small In 0, wherein, E3=E0-x*x0, the E0 are the longitude of the predetermined point, and the x is horizontal stroke of the destination to the predetermined point To distance, the x0 is the corresponding unit longitude of the unit lateral separation;
If it is, the longitude for determining the destination is west longitude E3;
If it is not, then the longitude for determining the destination is east longitude | E3 |.
6. according to claim 3-5 any one of them methods, it is characterised in that the positional information further includes:Flying height; The step of positional information of each destination of acquisition, including:
Receive flying height of the user for each destination input.
7. a kind of course data determining device, it is characterised in that described device includes:
Curve receiving module, the aim curve of target map region input is directed to for receiving user;
Destination determining module, for according to predetermined selection rule, determining the destination that the aim curve includes, the destination Including at least the beginning and end of the aim curve;
Information acquisition module, for obtaining the positional information of each destination;
Data determining module, it is suitable on the aim curve for the positional information according to each destination, and each destination Sequence, determines course data corresponding with the aim curve.
8. device according to claim 7, it is characterised in that the destination determining module, including:
Submodule is built, for connecting the beginning and end of the aim curve, builds target line;
Judging submodule, it is pre- whether the distance for judging all the points on the aim curve to the target line is respectively less than If distance threshold;
Determination sub-module, for when the judging submodule judging result for be when, by the starting point of the aim curve and end Point is determined as destination;
Update submodule, for when the judging submodule judging result for it is no when, by the aim curve with the mesh The point of mark straight line spacing maximum is determined as cut-point, and according to the cut-point, the aim curve is divided at least two strips At least two strip curves are updated to aim curve by curve respectively, and trigger the structure submodule.
9. device according to claim 7, it is characterised in that the positional information of each destination includes at least:Longitude and Latitude;Described information obtains module, including:
Acquisition submodule, for obtaining the longitude and latitude of predetermined point in the target map region, obtains the target map The corresponding unit latitude of unit fore-and-aft distance in region, and the corresponding unit longitude of unit lateral separation;
Apart from determination sub-module, for determining each destination to the fore-and-aft distance and lateral separation of the predetermined point;
Latitude determination sub-module, for the latitude according to the predetermined point, the corresponding unit latitude of the unit fore-and-aft distance, with And each destination determines the latitude of each destination to the fore-and-aft distance of the predetermined point;
Longitude determination sub-module, for the longitude according to the predetermined point, the corresponding unit longitude of the unit lateral separation, with And each destination determines the longitude of each destination to the lateral separation of the predetermined point.
10. device according to claim 9, it is characterised in that the latitude determination sub-module, including:
First judging unit, for for each destination, when the definite destination is below the predetermined point, and works as the predetermined point Latitude when being north latitude, judge whether D1 is not less than 0, wherein, D1=D0-y*y0, the D0 are the latitude value of the predetermined point, The y for the destination to the fore-and-aft distance of the predetermined point, the y0 is the corresponding unit latitude of the unit fore-and-aft distance;
First determination unit, the latitude for when the judging result of first judging unit is is, determining the destination is north Latitude D1;
Second determination unit, the latitude for when the judging result of first judging unit is no, determining the destination is south Latitude | D1 |;
3rd determination unit, the destination is determined below the predetermined point for working as, and when the latitude of the predetermined point is south latitude When, the latitude for determining the destination is south latitude D2, wherein, D2=D0+y*y0.
11. device according to claim 9, it is characterised in that the longitude determination sub-module, including:
Second judging unit, for for each destination, when the definite destination is on the right side of the predetermined point, and works as the predetermined point Longitude when being east longitude, judge whether E1 is not more than 180 degree, wherein, E1=E0+x*x0, the E0 are the warp of the predetermined point Angle value, the x are lateral separation of the destination to the predetermined point, and the x0 is the corresponding unit warp of the unit lateral separation Degree;
4th determination unit, the longitude for when the judging result of second judging unit is is, determining the destination is east Through E1;
5th determination unit, the longitude for when the judging result of first judging unit is no, determining the destination is west Through E2, wherein, E2=360 degree-E0-x*x0;
3rd judging unit, the destination is determined on the right side of the predetermined point for working as, and when the longitude of the predetermined point is west longitude When, judge whether E3 is not less than 0, wherein, E3=E0-x*x0, the E0 are the longitude of the predetermined point, and the x is the boat For point to the lateral separation of the predetermined point, the x0 is the corresponding unit longitude of the unit lateral separation;
6th determination unit, for when E3 is not less than 0, the longitude for determining the destination to be west longitude E3;
7th determination unit, for when E3 is less than 0, the longitude for determining the destination to be east longitude | E3 |.
12. according to claim 9-11 any one of them devices, it is characterised in that the positional information further includes:Flight is high Degree;Described information obtains module, is specifically used for:
Receive flying height of the user for each destination input.
CN201610951872.5A 2016-10-26 2016-10-26 Course data determination method and device Active CN107990897B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610951872.5A CN107990897B (en) 2016-10-26 2016-10-26 Course data determination method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610951872.5A CN107990897B (en) 2016-10-26 2016-10-26 Course data determination method and device

Publications (2)

Publication Number Publication Date
CN107990897A true CN107990897A (en) 2018-05-04
CN107990897B CN107990897B (en) 2020-06-05

Family

ID=62028482

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610951872.5A Active CN107990897B (en) 2016-10-26 2016-10-26 Course data determination method and device

Country Status (1)

Country Link
CN (1) CN107990897B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020001629A1 (en) * 2018-06-29 2020-01-02 深圳市大疆创新科技有限公司 Information processing device, flight path generating method, program, and recording medium
WO2020103020A1 (en) * 2018-11-21 2020-05-28 广州极飞科技有限公司 Surveying sample point planning method and apparatus, control terminal, and storage medium
CN112166394A (en) * 2019-10-31 2021-01-01 深圳市大疆创新科技有限公司 Air route planning method, equipment, system and storage medium
CN116718199A (en) * 2023-04-27 2023-09-08 广州海宁海务技术咨询有限公司 Route track display method crossing east-west longitude by 180 degrees

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050090945A1 (en) * 2003-10-23 2005-04-28 International Business Machines Corporation Navigating a UAV with a remote control device
CN101750090A (en) * 2009-12-30 2010-06-23 东软集团股份有限公司 Navigation unit by utilizing track points to navigate
CN103941748A (en) * 2014-04-29 2014-07-23 百度在线网络技术(北京)有限公司 Autonomous navigation method and system and map modeling method and system
CN104035446A (en) * 2014-05-30 2014-09-10 深圳市大疆创新科技有限公司 Unmanned aerial vehicle course generation method and system
CN105425208A (en) * 2015-12-21 2016-03-23 深圳思科尼亚科技有限公司 Positioning system and method used for accurate navigation of unmanned aerial vehicle
CN105518415A (en) * 2014-10-22 2016-04-20 深圳市大疆创新科技有限公司 Flight path setting method and apparatus
CN105955290A (en) * 2016-04-27 2016-09-21 腾讯科技(深圳)有限公司 Unmanned aerial vehicle control method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050090945A1 (en) * 2003-10-23 2005-04-28 International Business Machines Corporation Navigating a UAV with a remote control device
CN101750090A (en) * 2009-12-30 2010-06-23 东软集团股份有限公司 Navigation unit by utilizing track points to navigate
CN103941748A (en) * 2014-04-29 2014-07-23 百度在线网络技术(北京)有限公司 Autonomous navigation method and system and map modeling method and system
CN104035446A (en) * 2014-05-30 2014-09-10 深圳市大疆创新科技有限公司 Unmanned aerial vehicle course generation method and system
CN105518415A (en) * 2014-10-22 2016-04-20 深圳市大疆创新科技有限公司 Flight path setting method and apparatus
CN105425208A (en) * 2015-12-21 2016-03-23 深圳思科尼亚科技有限公司 Positioning system and method used for accurate navigation of unmanned aerial vehicle
CN105955290A (en) * 2016-04-27 2016-09-21 腾讯科技(深圳)有限公司 Unmanned aerial vehicle control method and device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020001629A1 (en) * 2018-06-29 2020-01-02 深圳市大疆创新科技有限公司 Information processing device, flight path generating method, program, and recording medium
CN111226093A (en) * 2018-06-29 2020-06-02 深圳市大疆创新科技有限公司 Information processing device, flight path generation method, program, and recording medium
WO2020103020A1 (en) * 2018-11-21 2020-05-28 广州极飞科技有限公司 Surveying sample point planning method and apparatus, control terminal, and storage medium
KR20200063136A (en) * 2018-11-21 2020-06-04 광저우 엑스에어크래프트 테크놀로지 씨오 엘티디 Planning methods for mapping sample points, devices, control terminals and storage media
CN111436208A (en) * 2018-11-21 2020-07-21 广州极飞科技有限公司 Planning method and device for surveying and mapping sampling point, control terminal and storage medium
KR102382868B1 (en) 2018-11-21 2022-04-04 광저우 엑스에어크래프트 테크놀로지 씨오 엘티디 Planning method, apparatus, control terminal and storage medium for mapping sample points
US11346665B2 (en) 2018-11-21 2022-05-31 Guangzhou Xaircraft Technology Co., Ltd Method and apparatus for planning sample points for surveying and mapping, control terminal, and storage medium
CN111436208B (en) * 2018-11-21 2023-10-03 广州极飞科技股份有限公司 Planning method and device for mapping sampling points, control terminal and storage medium
CN112166394A (en) * 2019-10-31 2021-01-01 深圳市大疆创新科技有限公司 Air route planning method, equipment, system and storage medium
CN116718199A (en) * 2023-04-27 2023-09-08 广州海宁海务技术咨询有限公司 Route track display method crossing east-west longitude by 180 degrees

Also Published As

Publication number Publication date
CN107990897B (en) 2020-06-05

Similar Documents

Publication Publication Date Title
CN110979346B (en) Method, device and equipment for determining lane where vehicle is located
CA2908282C (en) A simulation device of flight management system
CN107990897A (en) A kind of course data determines method and device
CN104567894B (en) For providing the apparatus and method of map datum and its system
CN103488179A (en) Flight simulation system and method of unmanned aerial vehicle
CN106382943A (en) A mobile device and a method and a system for transmission of data thereto
JP7258938B2 (en) Method for marking intersection virtual lane, device for marking intersection virtual lane, electronic device, computer readable storage medium and computer program
CN107943082A (en) Unmanned plane flies to control method, apparatus and computer-readable medium
CN104776855B (en) The air navigation aid and device of a kind of intersection
CN106969774A (en) Air navigation aid and device, terminal, server and system
CN106780416B (en) Method and device for planning path by using vector topographic map
CN112000700A (en) Map information display method and device, electronic equipment and storage medium
URAGAMI et al. Fuzzy robot controls
CN107077268B (en) Suggesting a target location as a viewport moves
CN105628035A (en) Walking navigation method and apparatus
KR20190086032A (en) Contextual map view
CN103530356A (en) Electronic map service platform and electronic map data linkage displaying method
CN105426443A (en) Map data processing method, device and system
CN114547223A (en) Trajectory prediction method, and trajectory prediction model training method and device
CN113739811A (en) Method and device for training key point detection model and generating high-precision map lane line
CN114626169A (en) Traffic network optimization method, device, equipment, readable storage medium and product
CN114506343A (en) Trajectory planning method, device, equipment, storage medium and automatic driving vehicle
CN111597287A (en) Map generation method, device and equipment
CN114387410B (en) Road data fusion map generation method and device and electronic equipment
CN105373538B (en) A kind of display level of polygon object determines method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 310051 room 304, B / F, building 2, 399 Danfeng Road, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Hangzhou Hikvision Robot Co.,Ltd.

Address before: 310051 Hall 5, building 1, building 2, no.700 Dongliu Road, Binjiang District, Hangzhou City, Zhejiang Province

Patentee before: HANGZHOU HIKROBOT TECHNOLOGY Co.,Ltd.

CP03 Change of name, title or address
TR01 Transfer of patent right

Effective date of registration: 20230615

Address after: No.555, Qianmo Road, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Hangzhou Hikvision Digital Technology Co.,Ltd.

Address before: 310051 room 304, B / F, building 2, 399 Danfeng Road, Binjiang District, Hangzhou City, Zhejiang Province

Patentee before: Hangzhou Hikvision Robot Co.,Ltd.

TR01 Transfer of patent right