CN105589875A - Multi-trajectory drawing method and device - Google Patents

Multi-trajectory drawing method and device Download PDF

Info

Publication number
CN105589875A
CN105589875A CN201410569475.2A CN201410569475A CN105589875A CN 105589875 A CN105589875 A CN 105589875A CN 201410569475 A CN201410569475 A CN 201410569475A CN 105589875 A CN105589875 A CN 105589875A
Authority
CN
China
Prior art keywords
track
point
tracing
time interval
drafting
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
CN201410569475.2A
Other languages
Chinese (zh)
Other versions
CN105589875B (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.)
Founder International Co Ltd
Founder International Beijing Co Ltd
Original Assignee
Founder International Co Ltd
Founder International Beijing 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 Founder International Co Ltd, Founder International Beijing Co Ltd filed Critical Founder International Co Ltd
Priority to CN201410569475.2A priority Critical patent/CN105589875B/en
Publication of CN105589875A publication Critical patent/CN105589875A/en
Application granted granted Critical
Publication of CN105589875B publication Critical patent/CN105589875B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to a computer geographic information system and discloses a multi-trajectory drawing method and device, for solving the problem of poor efficiency of multi-trajectory information analysis. The method comprises the following steps: firstly obtaining corresponding trajectory point sets of at least two targets and respectively determining the start trajectory point of each target; determining the start trajectory point of which the actual starting time is earliest as a positioning start trajectory point, respectively determining the drawing time interval between each non positioning start trajectory point and the positioning start trajectory point; then starting from the positioning start trajectory point to draw the trajectory of the corresponding target based on the corresponding trajectory point; and starting from the time corresponding to each non positioning start trajectory point to draw the trajectory of the corresponding target based on the corresponding trajectory point set. In such a way, multiple trajectories evolve in a time sequence; therefore, the target affiliation of the multiple trajectories can be distinguished more easily, the accuracy of trajectory information obtained through query can be improved, and further the service performance of the system can be improved.

Description

Method and device that a kind of multi-trace is drawn
Technical field
The present invention relates to geographic information computer system, method and dress that particularly a kind of multi-trace is drawnPut.
Background technology
Geographic information computer system (GeographicInformationSystem, GIS) be a kind of based onThe instrument of computer, for spatial information is analyzed and processed, GIS technology is this uniqueness of mapVisualization effect and geography-analysis function and general database manipulation integrate. GIS is to spatial informationStorage administration analysis, make its in the public and individual enterprises and institutions widely interpretation time, predict the outcome,In plan strategy etc., there is practical value.
In GIS, a kind of common application is: first inquiry, select target on electronic chart, inquiryTime query region can draw and elect rectangle frame, circular frame, polygon frame etc. as, then according to the position of select targetThe tracing point of render target motion, and each tracing point is connected and presents to user with line, target trajectory become.At present in GIS-Geographic Information System for target trajectory, general just according to its Target id number (for example license plate number,Policeman wail etc.), on map, draw out in order.
But when the situation of many tracks appears in the query region of paying close attention to as user, conventionally cannot determine many railsMark occurs according to which kind of time sequencing, and many tracks are when staggered, also cannot determine multi-trace timeBetween and space on false relation, for example, staggered tracing point may be the friendship on the different time of same placeMistake may be also the staggered of same time of same place; In addition, many tracks are crisscross causes being difficult to districtDivide many tracks to belong to separately which target.
For above problem, in GIS-Geographic Information System, conventional way is at present: further enlarged map, and willTrack amplifies with separated track point, then the attribute information of analysis of key tracing point one by one, just can do further and sentenceDisconnected, this can cause analysis efficiency low, in time feedback query information.
Hence one can see that, the field that many tracks that under prior art, inquiry obtains cannot the actual generation of accurate descriptionScape, can not truly reflect the practical operation situation of many tracks, thereby trace information accurately cannot be provided,Cause information analysis inefficiency, and then have a strong impact on the service performance of system.
Summary of the invention
Method and device that the embodiment of the present invention provides a kind of multi-trace to draw, the rail obtaining in order to improve inquiryThe accuracy of mark information.
The concrete technical scheme that the embodiment of the present invention provides is as follows:
The method that multi-trace is drawn, comprising:
Obtain at least two tracing point set that target is corresponding, and determine respectively the initial rail of each targetMark point;
Actual initial time start track point is the earliest defined as locating start track point, and according to defaultDraw between the time interval and the mapping relations at real time interval and the start track point of each targetReal time interval, determines respectively painting between each non-location start track point and location start track pointThe time interval processed;
Start to draw the track of corresponding target based on corresponding tracing point set from location start track point, andThe drafting time interval between start track point according to each non-location start track point and location respectively,Each non-location start track is put the corresponding moment and is started to draw corresponding order based on corresponding tracing point setTarget track.
Like this, in GIS-Geographic Information System, can make multi-trace evolution chronologically in multi-trace analysis, trueReal reflection actual motion scene, multi-trace intersect succinctly clear, the order of more easily distinguishing multi-trace of time-space relationshipMark ownership, and then the service performance of remarkable Hoisting System.
Optionally, start to draw the track of corresponding target based on corresponding tracing point set from start track point,Comprise:
According to the mapping relations at the default drafting time interval and real time interval and every adjacent two railsReal time interval between mark point, determines the drafting time interval between every adjacent two tracing points;
From start track point, draw corresponding tracing point in moment corresponding to each tracing point;
Wherein, described start track point is location start track point or non-location start track point.
Optionally, further comprise:
In track drawing process, if the measuring speed of at least two continuous tracing points lower than default thresholding,, in drawing process, described at least two tracing points are merged to drafting; Or,
In track drawing process, if the spacing between at least two continuous tracing points is less than default thresholding,, in drawing process, described at least two tracing points are merged to drafting.
Optionally, further comprise:
In track drawing process, adopt different display modes to carry out track drafting for many tracks; Or/and,
In track drawing process, merging phase according to each tracing point is determined corresponding tracing point respectivelySize, and determine respectively the display mode of corresponding tracing point according to the measuring speed of each tracing point.
Adopt so different display modes to carry out track drafting, can more easily distinguish the target of multi-trace and returnBelong to, by more convenient the analysis that makes multi-trace, fine and smooth, vivid.
Optionally, further comprise:
In track drawing process, if the track of multiple targets exists at least one crosspoint, according to extremely describedA few crosspoint corresponding time attribute information and geographical attribute information in different tracks judges crossType:
If cross type is time location difference and geographical position is close, judge described at least one crosspointFor non-actual crossover point, and record respective identification;
If cross type is that time location is identical and geographical position is close, further judgement described at least oneWhether the ground clearance of crosspoint correspondence in different tracks is identical, if so, determines described at least one friendshipCrunode is actual crossover point, and records respective identification; Otherwise determine that described at least one crosspoint is non-realityCrosspoint, and record respective identification.
Optionally, further comprise:
Multi-target track detects the drag track of user for operation interface after drawing, according to defaultThe mapping relations that drag track and query context, determine the query region scope that user specifies, and according toDescribed query region scope is carried out tracing point supplement to the multiobject track of having drawn or/and hide.
Like this, the drafting amount that increases tracing point according to user's query region can accurately obtain needs inquiryTrace information, by redundancy track hide, the effectively information of filtering interfering track, raisingSearch efficiency and accuracy.
The device that multi-trace is drawn, comprising:
Acquiring unit, for obtaining at least two tracing point set that target is corresponding, and determines respectively eachThe start track point of individual target;
Determining unit, for being defined as locating start track by actual initial time start track point the earliestPoint, and rising according to the mapping relations at the default drafting time interval and real time interval and each targetReal time interval between beginning tracing point, determines that respectively each non-location start track point is initial with locationThe drafting time interval between tracing point;
Drawing unit, for starting to draw corresponding order based on corresponding tracing point set from location start track pointTarget track, and respectively according to painting between each non-location start track point and location start track pointIn the time interval processed, put the corresponding moment in each non-location start track and start based on corresponding track point setClose the track of drawing corresponding target.
Like this, in GIS-Geographic Information System, can make multi-trace evolution chronologically in multi-trace analysis, trueReal reflection actual motion scene, multi-trace intersect succinctly clear, the order of more easily distinguishing multi-trace of time-space relationshipMark ownership, and then the service performance of remarkable Hoisting System.
Optionally, start to draw the track of corresponding target based on corresponding tracing point set from start track pointTime, drawing unit is used for:
According to the mapping relations at the default drafting time interval and real time interval and every adjacent two railsReal time interval between mark point, determines the drafting time interval between every adjacent two tracing points;
From start track point, draw corresponding tracing point in moment corresponding to each tracing point;
Wherein, described start track point is location start track point or non-location start track point.
Optionally, described drawing unit is further used for:
In track drawing process, if the measuring speed of at least two continuous tracing points lower than default thresholding,, in drawing process, described at least two tracing points are merged to drafting; Or,
In track drawing process, if the spacing between at least two continuous tracing points is less than default thresholding,, in drawing process, described at least two tracing points are merged to drafting.
Optionally, described drawing unit is further used for:
In track drawing process, adopt different display modes to carry out track drafting for many tracks; Or/and,
In track drawing process, merging phase according to each tracing point is determined corresponding tracing point respectivelySize, and determine respectively the display mode of corresponding tracing point according to the measuring speed of each tracing point.
Adopt so different display modes to carry out track drafting, can more easily distinguish the target of multi-trace and returnBelong to, by more convenient the analysis that makes multi-trace, fine and smooth, vivid.
Optionally, described drawing unit is further used for:
In track drawing process, if the track of multiple targets exists at least one crosspoint, according to extremely describedA few crosspoint corresponding time attribute information and geographical attribute information in different tracks judges crossType:
If cross type is time location difference and geographical position is close, judge described at least one crosspointFor non-actual crossover point, and record respective identification;
If cross type is that time location is identical and geographical position is close, further judgement described at least oneWhether the ground clearance of crosspoint correspondence in different tracks is identical, if so, determines described at least one friendshipCrunode is actual crossover point, and records respective identification; Otherwise determine that described at least one crosspoint is non-realityCrosspoint, and record respective identification.
Optionally, described device further comprises:
Display unit, after drawing at multi-target track, detects user's dragging for operation interfaceMoving track, according to the default mapping relations that drag track and query context, determines the interrogation zone that user specifiesTerritory scope, and according to described query region scope, the multiobject track of having drawn is carried out to tracing point supplementOr/and hide.
Like this, the drafting amount that increases tracing point according to user's query region can accurately obtain needs inquiryTrace information, by redundancy track hide, the effectively information of filtering interfering track, raisingSearch efficiency and accuracy.
Brief description of the drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, institute in describing embodiment belowNeed the accompanying drawing using to briefly introduce, apparently, the accompanying drawing in the following describes is only of the present inventionSome embodiment, for those of ordinary skill in the art, in the prerequisite of not paying creative workUnder, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the general introduction flow chart of multi-trace method for drafting in the embodiment of the present invention;
Fig. 2 is track cross schematic diagram in the embodiment of the present invention;
Fig. 3, Fig. 4, Fig. 5 are track display schematic diagram while changing query region in the embodiment of the present invention;
Fig. 6, Fig. 7, Fig. 8 are the detail flowchart of multi-trace method for drafting in the embodiment of the present invention;
Fig. 9 is multi-trace rendering architecture schematic diagram in the embodiment of the present invention.
Detailed description of the invention
In order to improve the accuracy of inquiring about the multi-trace information obtaining, improve user's query analysis efficiency, thisIn inventive embodiments, multi-trace is drawn according to the generation sequential of tracing point separately, makes same targetMany tracks of many tracks and different target are all play chronologically, increase substantially user's experience effect.
In order to make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to thisBright being described in further detail, obviously, described embodiment is only a part of embodiment of the present invention,Instead of whole embodiment. Based on the embodiment in the present invention, those of ordinary skill in the art are not doingGo out all other embodiment that obtain under creative work prerequisite, all belong to the scope of protection of the invention.Below by specific embodiment, the present invention program is described in detail, certainly, the present invention is not limited to followingEmbodiment.
Consult shown in Fig. 1, a kind of method that provides multi-trace to draw in the embodiment of the present invention, idiographic flow asUnder:
Step 110: obtain at least two tracing point set that target is corresponding, and determine each order respectivelyTarget start track point.
For example, target can be vehicle, and now, user carries the license plate number of vehicle in target query instructionCan inquire about as identification information.
Step 120: actual initial time start track point is the earliest defined as locating start track point, andAccording to the initial rail of the mapping relations at the default drafting time interval and real time interval and each targetReal time interval between mark point, determines respectively each non-location start track point and location start trackThe drafting time interval between point.
For example, the mapping relations at the drafting time interval and real time interval can be set to draw the time interval0.1 second corresponding real time was spaced apart 1 hour.
Step 130: draw corresponding target based on corresponding tracing point set from location start track point beginningTrack, and respectively according to each non-location start track point and location when the drafting between start track pointBetween interval, put the corresponding moment in each non-location start track and start to paint based on corresponding tracing point setMake the track of corresponding target.
Concrete, start to draw the track of corresponding target based on corresponding tracing point set from start track point,Comprise: according to the mapping relations at the default drafting time interval and real time interval and every adjacent two railsReal time interval between mark point, determines the drafting time interval between every adjacent two tracing points; FromBeginning tracing point starts, and draws corresponding tracing point in moment corresponding to each tracing point; Wherein, initial railMark point is location start track point or non-location start track point.
Further, in track drawing process, adopting different display modes to carry out track for many tracks paintsSystem; Or/and the merging phase according to each tracing point is determined corresponding track respectively in track drawing processThe size of point, and determine respectively the demonstration side of corresponding tracing point according to the measuring speed of each tracing pointFormula.
For example, preferably, for many tracks of drawing, can be that different tracks distributes different at randomDraw color, for example track 1 is shown as blueness, and track 2 is shown in red, and track 3 is shown as purple.
Again for example, preferably, for many tracks of drawing, can be also that different tracks distributes tool at randomThe drafting lines of body, for example track 1 is shown as solid line type 1, and track 2 is shown as pecked line type 4, track 3Be shown as bar dotted line type 5.
Like this, adopt different drafting modes to be distinguished for multi-trace, the analysis meeting of track becomes veryIntuitively, visualization.
Further, draw efficiency in order to improve track, in track drawing process, at any trackIn, if the measuring speed of at least two continuous tracing points is lower than default thresholding, in drawing process, rightThese at least two tracing points merge drafting; Or, if the spacing between at least two continuous tracing pointsBe less than default thresholding,, in drawing process, these at least two tracing points merged to drafting.
For example, in track drawing process, suppose that tracing point A, tracing point B, tracing point C are for painting continuouslyThe tracing point of system, and the velocity amplitude V1 of tracing point A, the velocity amplitude V2 of tracing point B, tracing point C'sVelocity amplitude V3, is less than predetermined threshold value V0 (being set as 0.0001m/s), now, can determine targetPosition at these three tracing points is not moved (or displacement is very little), can be by tracing point A,Tracing point B, tracing point C is polymerized to a tracing point A ', the velocity amplitude V of tracing point A 'On averageFor what mergeThe average speed of tracing point, i.e. VOn average=(V1+V2+V3)/3。
Again for example, in track drawing process, the spacing between tracing point 1, tracing point 2, tracing point 3 is littleIn the preset value of regulation, tracing point 1, tracing point 2, tracing point 3 are carried out to polymerization processing, be polymerized to trackPoint 1 ', wherein the speed of tracing point 1 ' is got the average speed of 3 congruent points, i.e. V1 '=(V1+V2+V3)/3.
Further, in track drawing process, if there is at least one crosspoint in the track of multiple targets,According to time attribute information and the geographical attribute information of this at least one crosspoint correspondence in different tracksJudge cross type:
If cross type is time location difference and geographical position is close, judge this at least one crosspoint asNon-actual crossover point, and record respective identification;
For example, as shown in Figure 2, track and the target of target A (private car, license plate number is capital H2255)The track of B (private car, license plate number is capital H2256) intersects at tracing point M, but further sends outExisting target A is 9:00 on September 20th, 2014 through the moment of tracing point M, and target B is through trackThe moment of point M is 10:00 on September 20th, 2014, now, judges that crosspoint M is as non-actual crossover point,And record respective identification.
If cross type is that time location is identical and geographical position is close, further judge this at least one friendshipWhether the ground clearance of crunode correspondence in different tracks is identical, if so, determines this at least one crosspointFor actual crossover point, and record respective identification; Otherwise, determine that this at least one crosspoint is non-actual the intersectionPoint, and record respective identification.
For example, as shown in Figure 2, track and the target of target C (private car, license plate number is capital H2255)The track of C (bus, license plate number is capital HB1256) intersects at tracing point N, but furtherFind that target A and target C are 12:00 on September 21st, 2014 through the moment of tracing point M, nowNeed further to judge that whether target A and target C corresponding ground clearance in track is separately identical, vacationIf the ground clearance of target A is 3.5 meters, and the ground clearance of target C is 7 meters, judges crosspoint NFor non-actual crossover point (both likely pass through same point at one time in the upper and lower of viaduct),And record respective identification; If target A and target C corresponding ground clearance in track is separately identical, thisTime judge that crosspoint N is as actual crossover point, and record respective identification.
Further, multi-target track detects the drag track of user for operation interface after drawing,According to the default mapping relations that drag track and query context, determine the query region scope that user specifies,And according to this query region scope, the multiobject track of having drawn is carried out to tracing point supplement or/and hide.
For example, as shown in Figure 3, in initial query region X, can not determine track A and track BWhether belong to a target, now offer the query region Y of an expansion of user, looking into after expansionAsk in region track is augmented, can follow the tracks of more accurately and judge like this track trend of target.
Again for example, as shown in Figure 4, when user dwindles query region, suppose to be reduced into inquiry by query region XRegion Y, now, for the query region after change, carries out hiding of track. Further, for uselessTrack, arranges track hiding button at this track initial point place, and selected this track is also hidden processing,Temporarily to eliminate redundancy; For example, the hiding mechanism of track is: first preserve former track color matching, work as useTrack hiding button is triggered at family, its track color is set to " pellucidity ".
Again for example, as shown in Figure 5, when user changes query region, the query region after change and former inquiryThere is overlapping situation in region, supposes to change to query region Y by query region X, now for former inquiryThe track of region zero lap part is hidden, the track in overlapping partial query region remained unchanged, andIn newly-increased query region after change, track is augmented.
Like this, the drafting amount that increases tracing point according to user's query region can accurately obtain needs inquiryTrace information, by redundancy track hide, the effectively information of filtering interfering track, raisingSearch efficiency and accuracy.
With a concrete practical scene, above-described embodiment is made to further description below.
Consult shown in Fig. 6, in the embodiment of the present invention, the detailed process of multi-trace method for drafting is as follows:
Step S1: obtain querying condition.
Querying condition comprises the geographic range of one or more Target id, inquiry and/or the time range of inquiry.
Step S2: all tracing points that inquiry satisfies condition.
All tracing points that inquiry satisfies condition are according to the longitude and latitude scope in condition, time range or defeatedThe Target id set entering, go in database inquiry, mate all coordinate points, coordinate points in Query ResultAttribute data comprises: { Target id, longitude, latitude, report bit time, direction, speed }, these 6 necessityProperty value.
Step S3: obtain the tracing point set of each target, sort according to the drafting time, at each railIn the set of mark point, qualified multiple tracing points are carried out to polymerization.
The all tracing point set that satisfy condition for obtaining in previous step S2: Target id, longitude, latitude,Report bit time, direction, speed } divide into groups, process according to the sequence of report bit time according to Target id, wherein,In each tracing point set, if the measuring speed of continuous at least two tracing points of same target is lower than defaultThresholding, or the spacing of continuous at least two tracing points of same target is less than default thresholding, continuous to thisAt least two tracing points carry out the merging processing of tracing point.
Step S4: calculate track cross point and carry out track color matching.
Through the tracing point set of step S3 different target after treatment, its form is: and Target id, longitude,Latitude, time span/report bit time, direction, average speed/speed }, wherein contain the track point group after mergingAttribute and the tracing point attribute not merging, carry out track cross for the tracing point set of different target and grindSentence, track color matching and tracing point definition, obtain drawing mode information aggregate, this drafting mode information aggregateMiddle tracing point set of having recorded the different target of arranging chronologically, the track cross of each tracing point set is closedThe color of system and track.
Further, determining after the color of track, further, can also in the mode of drafting information, rememberThe drafting mode of record different tracks point, concrete, can record color and the size of different tracks point.
Be the size that different tracks point can arrange according to its extent of polymerization corresponding tracing point, and different railMark point can arrange corresponding color according to its measuring speed, like this, and according to the size of tracing point and colorJust can know whether be polymerization tracing point, and the measuring speed size of this tracing point,
Step S5: the track of drawing multiple targets.
According to the drafting mode information aggregate obtaining in step S4, draw the track of multiple targets.
Step S6: according to user's operation, the track of having drawn is augmented or/and hide.
After track is drawn, for the border of query region that user delimit, drag exhibition through user, designRegional extent after change, carries out binary search, carries out automatically for the track in the query region after changeSupplement is or/and hide. Further, for step S3, concrete treatment step, as shown in Figure 7:
Step S31: according to Target id grouping, according to report bit time ascending sort.
Step S32: in same grouping, carry out polymerization according to the spacing of multiple tracing points or speed, andThe time span of point group and calculating average speed after preservation polymerization.
For example: tracing point 1, tracing point 2, tracing point 3 are carried out to polymerization processing, be polymerized to tracing point 1 ',Wherein the speed of tracing point 1 ' is got the average speed of 3 congruent points, i.e. V1 '=(V1+V2+V3)/3.
Concrete, in the tracing point set of same target, can according to time span value be integer value thisOne feature, identifying these data is point group value, thereby is beneficial to further calculating.
Step S33: point group property value after treatment polymerization is replaced to the tracing point property value comprising.
After step S33 is processed, obtain the tracing point set of each target, its form is: { Target id, warpDegree, latitude, time span/report bit time, direction, average speed/speed }.
Wherein, the algorithm of average speed with N velocity amplitude V1, V2, V3,, Vn} is example, V is average=(V1+V2+V3+···+Vn)/N。
Further, in the time of execution step S4, the concrete operation of carrying out specifically comprises that track cross is studied and judged, railMark color matching and tracing point definition; Wherein,
Track cross is studied and judged, and judges the crosspoint between track on map, whether characterizes two targets in phaseMeet in same time, same place. Track cross point is divided into two kinds according to actual conditions: be characterized in same timeThe crosspoint that same place intersects; And be characterized in the crosspoint that same place different time intersects.
The concrete processing procedure of step S4, consult shown in Fig. 8:
Step S41: build track cross atlas.
Track cross atlas is to enumerate class, and form is: { cross chart Id, picture }, and can be according to " with togetherGround, when different with ground " two kinds of situations, then intersect picture in conjunction with the vehicle that " direction " makes visualization, doFor showing the use of demarcation
Step S42: the tracing point set of traversal different target, calculate tracing point cross reference.
In order to compare fast the cross reference between trajectory, need a minor sort to compare for twice, specifically calculateThe main thought of method is: first determine geographical position relationship, then compare time relationship.
First, in the tracing point set for rapid S3 different target after treatment, all tracing points are pressed " longitude "Ascending sort, then, travel through adjacent two tracing points, and whether little the latitude difference of more adjacent two tracing points isIn preset value, can be set to " latitude difference is less than 0.001 " this condition, by the adjacent rail satisfying conditionMark point saves as in the close cross track point set B in geographical position, again, and for the cross rail after screeningMark point set B, then travel through adjacent two tracing points, and whether the time difference scope of more adjacent two tracing pointsBe less than preset value, can time relationship be set to meet " time difference scope is less than 1 minute " thisPart, is demarcated as " same time same place intersection " by the cross chart Id of two tracing points that meet this condition,Otherwise, be demarcated as " same place different time intersection ", and by result feedback and be identified to drafting mode and believeIn breath set.
Step S43: tracing point size is demarcated and track color matching.
Tracing point definition, size and the color of demarcating tracing point. Detailed process is as follows:
First, tracing point color calibration,
Set up between velocity amplitude (speed unit: kilometer/hour) cut section, for example between speed cut section 0,30,The color value collection of the corresponding tracing point of 50,70,80,90,100,120} be ash, purple, indigo plant, green grass or young crops, green,Huang, orange, red, search corresponding speed district according to the speed of tracing point (instantaneous velocity or average speed)Between, thereby the color value of this tracing point is set.
Secondly, the size of tracing point is demarcated.
Define according to the contained tracing point number of step S3 each tracing point after treatment. Specifically with single tracing pointSize be benchmark, the number of the tracing point of merging and the tracing point of demarcation size becomes positive correlation. In realityIt is suitable that the large minor radius of concrete single tracing point is set to several pixels, required depending on practical application map rankAnd determine.
Track color matching, for many uncertain situations of track number, by introducing Random assignment color valueThe method of distinguishing, and then solve multi-trace color matching problem.
In a word, identify the stop duration of target with tracing point size, distinguish it with tracing point color valueShi Sudu.
Step S44: result is upgraded and is saved in drafting mode information aggregate.
By aforesaid operations, in GIS-Geographic Information System, can make multi-trace analyze in multi-trace chronologicallyEvolution, truly reflects actual motion scene.
Based on technique scheme, consult shown in Fig. 9, in the embodiment of the present invention, also provide a kind of multi-trace to paintThe device of system, comprises acquiring unit 90, determining unit 91, drawing unit 92, and display unit 93Wherein:
Acquiring unit 90, for obtaining at least two tracing point set that target is corresponding, and determines respectively everyThe start track point of a target;
Determining unit 91, for being defined as locating start track by actual initial time start track point the earliestPoint, and rising according to the mapping relations at the default drafting time interval and real time interval and each targetReal time interval between beginning tracing point, determines that respectively each non-location start track point is initial with locationThe drafting time interval between tracing point;
Drawing unit 92 is corresponding for starting to draw based on corresponding tracing point set from location start track pointThe track of target, and respectively according to each non-location start track point and location between start track pointDraw the time interval, put the corresponding moment in each non-location start track and start based on corresponding tracing pointThe track of corresponding target is drawn in set.
Like this, in GIS-Geographic Information System, can make multi-trace evolution chronologically in multi-trace analysis, trueReal reflection actual motion scene, multi-trace intersect succinctly clear, the order of more easily distinguishing multi-trace of time-space relationshipMark ownership, and then the service performance of remarkable Hoisting System.
Optionally, start to draw the track of corresponding target based on corresponding tracing point set from start track pointTime, drawing unit 92 for:
According to the mapping relations at the default drafting time interval and real time interval and every adjacent two railsReal time interval between mark point, determines the drafting time interval between every adjacent two tracing points;
From start track point, draw corresponding tracing point in moment corresponding to each tracing point;
Wherein, this start track point is location start track point or non-location start track point.
Optionally, drawing unit 92 is further used for:
In track drawing process, if the measuring speed of at least two continuous tracing points lower than default thresholding,, in drawing process, these at least two tracing points are merged to drafting; Or,
In track drawing process, if the spacing between at least two continuous tracing points is less than default thresholding,, in drawing process, these at least two tracing points are merged to drafting.
Optionally, drawing unit 92 is further used for:
In track drawing process, adopt different display modes to carry out track drafting for many tracks; Or/and,
In track drawing process, merging phase according to each tracing point is determined corresponding tracing point respectivelySize, and determine respectively the display mode of corresponding tracing point according to the measuring speed of each tracing point.
Adopt so different display modes to carry out track drafting, can more easily distinguish the target of multi-trace and returnBelong to, by more convenient the analysis that makes multi-trace, fine and smooth, vivid.
Optionally, drawing unit 92 is further used for:
In track drawing process, if the track of multiple targets exists at least one crosspoint, according to this at leastCrosspoint corresponding time attribute information and geographical attribute information in different tracks judges cross type:
If cross type is time location difference and geographical position is close, judge this at least one crosspoint asNon-actual crossover point, and record respective identification;
If cross type is that time location is identical and geographical position is close, further judge this at least one friendshipWhether the ground clearance of crunode correspondence in different tracks is identical, if so, determines this at least one crosspointFor actual crossover point, and record respective identification; Otherwise determine that this at least one crosspoint is non-actual crossover point,And record respective identification.
Optionally, multi-trace drawing apparatus further comprises:
Display unit 93, after draw at multi-target track, detects that user is for operation interfaceDrag track, according to the default mapping relations that drag track and query context, determine the inquiry that user specifiesRegional extent, and according to this query region scope, the multiobject track of having drawn is carried out to tracing point supplementOr/and hide.
Like this, the drafting amount that increases tracing point according to user's query region can accurately obtain needs inquiryTrace information, by redundancy track hide, the effectively information of filtering interfering track, raisingSearch efficiency and accuracy.
In sum, in the embodiment of the present invention, obtain at least two tracing point set that target is corresponding, andDetermine respectively the start track point of each target; Actual initial time start track point is the earliest defined asLocation start track point, and according to the mapping relations at the default drafting time interval and real time interval andReal time interval between the start track point of each target, determines respectively each non-location start trackThe drafting time interval between point and location start track point; Start based on accordingly from location start track pointThe track of corresponding target is drawn in tracing point set, and respectively according to each non-location start track point and fixedIn the drafting time interval between the start track point of position, put the corresponding moment in each non-location start track and openPrimordium is drawn the track of corresponding target in corresponding tracing point set. Like this, in GIS-Geographic Information System, canTo make multi-trace evolution chronologically in multi-trace analysis, truly reflect that actual motion scene, multi-trace intersectTime-space relationship succinctly target clear, that more easily distinguish multi-trace belongs to, and adopts the present invention will make multi-traceAnalysis more convenient, fine and smooth, vivid, and then the remarkable service performance of Hoisting System.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or meterCalculation machine program product. Therefore, the present invention can adopt complete hardware implementation example, completely implement software example or knotClose the form of the embodiment of software and hardware aspect. And the present invention can adopt at one or more wherein bagsThe computer-usable storage medium that contains computer usable program code (include but not limited to magnetic disc store,CD-ROM, optical memory etc.) form of the upper computer program of implementing.
The present invention is that reference is according to the method for the embodiment of the present invention, equipment (system) and computer program productThe flow chart of product and/or block diagram are described. Should understand can be by computer program instructions realization flow figure and/ or block diagram in each flow process and/or flow process in square frame and flow chart and/or block diagram and/Or the combination of square frame. Can provide these computer program instructions to all-purpose computer, special-purpose computer, embeddingThe processor of formula processor or other programmable data processing device, to produce a machine, makes by calculatingThe instruction that the processor of machine or other programmable data processing device is carried out produces for realizing at flow chart oneThe device of the function of specifying in square frame of individual flow process or multiple flow process and/or block diagram or multiple square frame.
These computer program instructions also can be stored in energy vectoring computer or other programmable data processing are establishedIn the standby computer-readable memory with ad hoc fashion work, make to be stored in this computer-readable memoryInstruction produce and comprise the manufacture of command device, this command device is realized in flow process or multiple of flow chartThe function of specifying in square frame of flow process and/or block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makeMust on computer or other programmable devices, carry out sequence of operations step to produce computer implemented placeReason, thus the instruction of carrying out on computer or other programmable devices is provided for realizing one of flow chartThe step of the function of specifying in square frame of flow process or multiple flow process and/or block diagram or multiple square frame.
Although described the preferred embodiments of the present invention, once those skilled in the art obtain cicada baseThis creative concept, can make other change and amendment to these embodiment. So appended right is wantedAsk and be intended to be interpreted as comprising preferred embodiment and fall into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification and de-to the embodiment of the present inventionFrom the spirit and scope of the embodiment of the present invention. Like this, if these amendments and the modification of the embodiment of the present invention belong toWithin the scope of the claims in the present invention and equivalent technologies thereof, the present invention be also intended to comprise these change andModification is interior.

Claims (12)

1. the method that multi-trace is drawn, is characterized in that, comprising:
Obtain at least two tracing point set that target is corresponding, and determine respectively the initial rail of each targetMark point;
Actual initial time start track point is the earliest defined as locating start track point, and according to defaultDraw between the time interval and the mapping relations at real time interval and the start track point of each targetReal time interval, determines respectively painting between each non-location start track point and location start track pointThe time interval processed;
Start to draw the track of corresponding target based on corresponding tracing point set from location start track point, andThe drafting time interval between start track point according to each non-location start track point and location respectively,Each non-location start track is put the corresponding moment and is started to draw corresponding order based on corresponding tracing point setTarget track.
2. the method for claim 1, is characterized in that, starts based on corresponding from start track pointTracing point set draw the track of corresponding target, comprising:
According to the mapping relations at the default drafting time interval and real time interval and every adjacent two railsReal time interval between mark point, determines the drafting time interval between every adjacent two tracing points;
From start track point, draw corresponding tracing point in moment corresponding to each tracing point;
Wherein, described start track point is location start track point or non-location start track point.
3. method as claimed in claim 1 or 2, is characterized in that, further comprises:
In track drawing process, if the measuring speed of at least two continuous tracing points lower than default thresholding,, in drawing process, described at least two tracing points are merged to drafting; Or,
In track drawing process, if the spacing between at least two continuous tracing points is less than default thresholding,, in drawing process, described at least two tracing points are merged to drafting.
4. method as claimed in claim 3, is characterized in that, further comprises:
In track drawing process, adopt different display modes to carry out track drafting for many tracks; Or/and,
In track drawing process, merging phase according to each tracing point is determined corresponding tracing point respectivelySize, and determine respectively the display mode of corresponding tracing point according to the measuring speed of each tracing point.
5. the method as described in claim 1-4 any one, is characterized in that, further comprises:
In track drawing process, if the track of multiple targets exists at least one crosspoint, according to extremely describedA few crosspoint corresponding time attribute information and geographical attribute information in different tracks judges crossType:
If cross type is time location difference and geographical position is close, judge described at least one crosspointFor non-actual crossover point, and record respective identification;
If cross type is that time location is identical and geographical position is close, further judgement described at least oneWhether the ground clearance of crosspoint correspondence in different tracks is identical, if so, determines described at least one friendshipCrunode is actual crossover point, and records respective identification; Otherwise determine that described at least one crosspoint is non-realityCrosspoint, and record respective identification.
6. the method as described in claim 1-5 any one, is characterized in that, further comprises:
Multi-target track detects the drag track of user for operation interface after drawing, according to defaultThe mapping relations that drag track and query context, determine the query region scope that user specifies, and according toDescribed query region scope is carried out tracing point supplement to the multiobject track of having drawn or/and hide.
7. the device that multi-trace is drawn, is characterized in that, comprising:
Acquiring unit, for obtaining at least two tracing point set that target is corresponding, and determines respectively eachThe start track point of individual target;
Determining unit, for being defined as locating start track by actual initial time start track point the earliestPoint, and rising according to the mapping relations at the default drafting time interval and real time interval and each targetReal time interval between beginning tracing point, determines that respectively each non-location start track point is initial with locationThe drafting time interval between tracing point;
Drawing unit, for starting to draw corresponding order based on corresponding tracing point set from location start track pointTarget track, and respectively according to painting between each non-location start track point and location start track pointIn the time interval processed, put the corresponding moment in each non-location start track and start based on corresponding track point setClose the track of drawing corresponding target.
8. device as claimed in claim 7, is characterized in that, starts based on corresponding from start track pointTracing point set while drawing the track of corresponding target, described drawing unit is used for:
According to the mapping relations at the default drafting time interval and real time interval and every adjacent two railsReal time interval between mark point, determines the drafting time interval between every adjacent two tracing points;
From start track point, draw corresponding tracing point in moment corresponding to each tracing point;
Wherein, described start track point is location start track point or non-location start track point.
9. install as claimed in claim 7 or 8, it is characterized in that, described drawing unit is further usedIn:
In track drawing process, if the measuring speed of at least two continuous tracing points lower than default thresholding,, in drawing process, described at least two tracing points are merged to drafting; Or,
In track drawing process, if the spacing between at least two continuous tracing points is less than default thresholding,, in drawing process, described at least two tracing points are merged to drafting.
10. device as claimed in claim 9, is characterized in that, described drawing unit is further used for:
In track drawing process, adopt different display modes to carry out track drafting for many tracks; Or/and,
In track drawing process, merging phase according to each tracing point is determined corresponding tracing point respectivelySize, and determine respectively the display mode of corresponding tracing point according to the measuring speed of each tracing point.
11. devices as described in claim 7-10 any one, is characterized in that, described drawing unit enters oneStep is used for:
In track drawing process, if the track of multiple targets exists at least one crosspoint, according to extremely describedA few crosspoint corresponding time attribute information and geographical attribute information in different tracks judges crossType:
If cross type is time location difference and geographical position is close, judge described at least one crosspointFor non-actual crossover point, and record respective identification;
If cross type is that time location is identical and geographical position is close, further judgement described at least oneWhether the ground clearance of crosspoint correspondence in different tracks is identical, if so, determines described at least one friendshipCrunode is actual crossover point, and records respective identification; Otherwise determine that described at least one crosspoint is non-realityCrosspoint, and record respective identification.
12. devices as described in claim 7-10 any one, is characterized in that, further comprise:
Display unit, after drawing at multi-target track, detects user's dragging for operation interfaceMoving track, according to the default mapping relations that drag track and query context, determines the interrogation zone that user specifiesTerritory scope, and according to described query region scope, the multiobject track of having drawn is carried out to tracing point supplementOr/and hide.
CN201410569475.2A 2014-10-22 2014-10-22 A kind of method and device that multi-trace is drawn Active CN105589875B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410569475.2A CN105589875B (en) 2014-10-22 2014-10-22 A kind of method and device that multi-trace is drawn

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410569475.2A CN105589875B (en) 2014-10-22 2014-10-22 A kind of method and device that multi-trace is drawn

Publications (2)

Publication Number Publication Date
CN105589875A true CN105589875A (en) 2016-05-18
CN105589875B CN105589875B (en) 2019-10-25

Family

ID=55929462

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410569475.2A Active CN105589875B (en) 2014-10-22 2014-10-22 A kind of method and device that multi-trace is drawn

Country Status (1)

Country Link
CN (1) CN105589875B (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107729373A (en) * 2017-09-12 2018-02-23 小草数语(北京)科技有限公司 Movement locus display methods and device
CN107765572A (en) * 2017-09-12 2018-03-06 北京华航唯实机器人科技股份有限公司 Show the method, apparatus and terminal of trace information
CN107998656A (en) * 2017-11-22 2018-05-08 福建天晴数码有限公司 A kind of method of combination and terminal
CN108255947A (en) * 2017-12-13 2018-07-06 太极计算机股份有限公司 Portray method, apparatus, mobile terminal and the storage medium of personnel motion trail
CN108921109A (en) * 2018-07-06 2018-11-30 安徽融合智能科技有限公司 A kind of mobile target trajectory method for visualizing towards monitoring situation
CN109558470A (en) * 2017-09-27 2019-04-02 方正国际软件(北京)有限公司 A kind of track data method for visualizing and device
CN110837606A (en) * 2019-11-04 2020-02-25 北京明略软件系统有限公司 Spatio-temporal data fusion query method, device, server and storage medium
CN110851545A (en) * 2018-07-27 2020-02-28 比亚迪股份有限公司 Map drawing method, device and equipment
CN111046895A (en) * 2018-10-15 2020-04-21 北京京东尚科信息技术有限公司 Method and device for determining target area
CN111581320A (en) * 2020-05-09 2020-08-25 海南中智信信息技术有限公司 Behavior track-based method and system for identifying head-collision place in time
CN111752254A (en) * 2019-03-28 2020-10-09 深圳市商汤科技有限公司 Test method, device, medium and equipment for trajectory tracking controller
CN111784870A (en) * 2020-06-29 2020-10-16 杭州海康威视数字技术股份有限公司 Historical track playback method and device and electronic equipment
CN113808409A (en) * 2020-06-17 2021-12-17 华为技术有限公司 Road safety monitoring method, system and computer equipment
CN113823418A (en) * 2021-09-27 2021-12-21 辽宁金晟科技股份有限公司 Epidemiology traceability system and method based on GIS geographic information technology
WO2023226231A1 (en) * 2022-05-27 2023-11-30 合众新能源汽车股份有限公司 Positioning information sending method, positioning trajectory drawing method and positioning system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012019827A1 (en) * 2010-08-09 2012-02-16 Shubhangi Mahadeo Jadhav User interface for creating a playlist
CN103324706A (en) * 2013-06-17 2013-09-25 中国矿业大学 Method for track data hot spot area with time constraint
US20130273937A1 (en) * 2011-01-14 2013-10-17 Nec Corporation Action pattern analysis device, action pattern analysis method, and action pattern analysis program
CN103902788A (en) * 2014-04-15 2014-07-02 北京百度网讯科技有限公司 Electric map layer drawing method and device
CN103942811A (en) * 2013-01-21 2014-07-23 中国电信股份有限公司 Method and system for determining motion trajectory of characteristic object in distributed and parallel mode

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012019827A1 (en) * 2010-08-09 2012-02-16 Shubhangi Mahadeo Jadhav User interface for creating a playlist
US20130273937A1 (en) * 2011-01-14 2013-10-17 Nec Corporation Action pattern analysis device, action pattern analysis method, and action pattern analysis program
CN103942811A (en) * 2013-01-21 2014-07-23 中国电信股份有限公司 Method and system for determining motion trajectory of characteristic object in distributed and parallel mode
CN103324706A (en) * 2013-06-17 2013-09-25 中国矿业大学 Method for track data hot spot area with time constraint
CN103902788A (en) * 2014-04-15 2014-07-02 北京百度网讯科技有限公司 Electric map layer drawing method and device

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107729373B (en) * 2017-09-12 2020-07-10 绿湾网络科技有限公司 Motion trail display method and device
CN107765572A (en) * 2017-09-12 2018-03-06 北京华航唯实机器人科技股份有限公司 Show the method, apparatus and terminal of trace information
CN107729373A (en) * 2017-09-12 2018-02-23 小草数语(北京)科技有限公司 Movement locus display methods and device
CN109558470A (en) * 2017-09-27 2019-04-02 方正国际软件(北京)有限公司 A kind of track data method for visualizing and device
CN107998656A (en) * 2017-11-22 2018-05-08 福建天晴数码有限公司 A kind of method of combination and terminal
CN107998656B (en) * 2017-11-22 2020-12-22 福建天晴数码有限公司 Arranging method and terminal
CN108255947A (en) * 2017-12-13 2018-07-06 太极计算机股份有限公司 Portray method, apparatus, mobile terminal and the storage medium of personnel motion trail
CN108921109A (en) * 2018-07-06 2018-11-30 安徽融合智能科技有限公司 A kind of mobile target trajectory method for visualizing towards monitoring situation
CN108921109B (en) * 2018-07-06 2021-09-17 安徽融合智能科技有限公司 Moving target track visualization method oriented to monitoring situation
CN110851545A (en) * 2018-07-27 2020-02-28 比亚迪股份有限公司 Map drawing method, device and equipment
CN110851545B (en) * 2018-07-27 2023-11-14 比亚迪股份有限公司 Map drawing method, device and equipment
CN111046895A (en) * 2018-10-15 2020-04-21 北京京东尚科信息技术有限公司 Method and device for determining target area
CN111046895B (en) * 2018-10-15 2023-11-07 北京京东振世信息技术有限公司 Method and device for determining target area
CN111752254A (en) * 2019-03-28 2020-10-09 深圳市商汤科技有限公司 Test method, device, medium and equipment for trajectory tracking controller
CN110837606A (en) * 2019-11-04 2020-02-25 北京明略软件系统有限公司 Spatio-temporal data fusion query method, device, server and storage medium
CN111581320A (en) * 2020-05-09 2020-08-25 海南中智信信息技术有限公司 Behavior track-based method and system for identifying head-collision place in time
CN113808409A (en) * 2020-06-17 2021-12-17 华为技术有限公司 Road safety monitoring method, system and computer equipment
CN111784870A (en) * 2020-06-29 2020-10-16 杭州海康威视数字技术股份有限公司 Historical track playback method and device and electronic equipment
CN113823418A (en) * 2021-09-27 2021-12-21 辽宁金晟科技股份有限公司 Epidemiology traceability system and method based on GIS geographic information technology
WO2023226231A1 (en) * 2022-05-27 2023-11-30 合众新能源汽车股份有限公司 Positioning information sending method, positioning trajectory drawing method and positioning system

Also Published As

Publication number Publication date
CN105589875B (en) 2019-10-25

Similar Documents

Publication Publication Date Title
CN105589875A (en) Multi-trajectory drawing method and device
KR102205096B1 (en) Transaction risk detection method and apparatus
CN108253973B (en) Method and device for associating high-precision map with standard map
US10520326B2 (en) Driving route matching method and apparatus, and storage medium
CN105550199B (en) A kind of point polymerization and device based on multi-source map
CN110287276A (en) High-precision map updating method, device and storage medium
CN105225515A (en) A kind of method for supervising based on fence and system
JP2016180980A (en) Information processing device, program, and map data updating system
CN106289296A (en) A kind of method and apparatus of road guide
CN103605978A (en) Urban illegal building identification system and method based on three-dimensional live-action data
CN104679864A (en) Intelligent tracking method and intelligent tracking device for suspected target based on GIS (Geographic Information System)
CN105551082A (en) Method and device of pavement identification on the basis of laser-point cloud
CN105448184A (en) Map road drawing method and map road drawing device
CN107796395A (en) A kind of air navigation aid, device and terminal device for indoor objects position
CN108286976A (en) The fusion method and device and hybrid navigation system of a kind of point cloud data
CN104281709A (en) Method and system for generating traffic information tiled map
CN109558470A (en) A kind of track data method for visualizing and device
CN107025478A (en) Library book alignment system and method
CN103869279A (en) Multi-target positioning tracking method with multiple sensor platforms
CN111324616A (en) Method, device and equipment for detecting lane line change information
CN108508465A (en) One kind being based on temporal GPS track similarity mode algorithm
CN110186472A (en) Vehicle yaw detection method, computer equipment, storage medium and Vehicular system
CN107621265A (en) A kind of method and apparatus for carrying out indoor navigation
CN109598925A (en) Taxi vehicle assembles alarm method, terminal device and storage medium
CN106840165A (en) A kind of construction method and device of semantic locations history

Legal Events

Date Code Title Description
C06 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