CN110119434A - A kind of method and apparatus showing track - Google Patents

A kind of method and apparatus showing track Download PDF

Info

Publication number
CN110119434A
CN110119434A CN201910229634.7A CN201910229634A CN110119434A CN 110119434 A CN110119434 A CN 110119434A CN 201910229634 A CN201910229634 A CN 201910229634A CN 110119434 A CN110119434 A CN 110119434A
Authority
CN
China
Prior art keywords
point
information system
gis
geographic information
actual physics
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.)
Pending
Application number
CN201910229634.7A
Other languages
Chinese (zh)
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.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera Information 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 Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN201910229634.7A priority Critical patent/CN110119434A/en
Publication of CN110119434A publication Critical patent/CN110119434A/en
Pending legal-status Critical Current

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases

Landscapes

  • Engineering & Computer Science (AREA)
  • Remote Sensing (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Instructional Devices (AREA)

Abstract

The present invention provides a kind of methods for showing track, it is characterized in that, it is requested the described method includes: GIS-Geographic Information System is sent to streaming media server, the target trajectory data of receiving stream media server feedback, according to target trajectory data, judge the actual physics distance between the first point and the second point, if the actual physics distance between the first point and the second point is greater than preset value, the first virtual point is created between the first point and the second point, judge the actual physics distance between the first point and the first virtual point, if the actual physics distance between the first point and the first virtual point is less than or equal to preset value, in the first point, line between first virtual point and the second point.After method of the invention, the mobile terminal activity trajectory shown in generalized information system smoothness significant increase compared to the prior art ensure that the track data shown in generalized information system is consistent with mobile terminal actual activity track data.

Description

A kind of method and apparatus showing track
Technical field
The present invention relates to geographic territory more particularly to a kind of method and apparatus for showing track.
Background technique
GIS-Geographic Information System (Geographic Information System or Geo-Information system, GIS) sometimes referred to as it is " GeoscienceInformation System ".It is a kind of specific highly important space information system, is in computer Hardware and software system support under, to the related geographic distribution data in earth surface layer (including atmosphere) space all or in part into Row acquisition, storage, management, technological system operation, analyzed, be shown and described.One simple latitude and longitude coordinates is only placed in In specific geography information, after being represented as some place, mark, orientation, it can be just appreciated and understood by user, user is passing through phase Pass technology is got after location information, it is also necessary to locating geographical environment, inquiry and analysis environmental information is understood, thus to use Family activity provides Informational support and service.
Prior art generalized information system is generally connect with multiple streaming media servers, and streaming media server can simultaneously with Multiple mobile terminals connection, by the characteristics and advantages of streaming media server itself, shows that GIS system efficiently clearly Show the movable track data in mobile terminal, track data combined in generalized information system by the line between multiple points and point and At.
The mobile terminal track data that the prior art is shown in generalized information system is the history point according to mobile terminal activity trajectory Line forms between the information of position, if because network or other reasons cause mobile terminal to lose number when reporting self-position point information According to or data delay than it is more serious when, just have apparent broken line trace, mobile terminal active rail after generalized information system line point Mark shows unsmooth, will lead to the track data that shows in GIS system and mobile terminal actual activity track data when serious not Symbol.
Summary of the invention
A kind of method and apparatus showing track provided by the invention, solve because network or other reasons lead to mobile terminal Lost when reporting self-position point information data or data delay than it is more serious when, will after GIS system line point There is an apparent broken line trace, track shows unsmooth, will lead to the track data shown in generalized information system and movement when serious Not the problem of end actual activity track data is not inconsistent.
In order to solve the above-mentioned technical problem, the embodiment of the invention provides a kind of method for showing track, the method is answered For GIS-Geographic Information System, the GIS-Geographic Information System is connect with streaming media server, the streaming media server and mobile terminal It connects, the track data of mobile terminal is stored in the database of the streaming media server, which comprises
The GIS-Geographic Information System sends to the streaming media server and requests, and the request includes: the mobile terminal Physical address;
The GIS-Geographic Information System receives the target trajectory data of the streaming media server feedback, the target trajectory number According to the track data for the mobile terminal corresponding to the request;
The GIS-Geographic Information System judges the reality between the first point and the second point according to the target trajectory data Physical distance;
If the actual physics distance between first point and second point is greater than preset value, the geographical letter Breath system creates the first virtual point between first point and second point;
The GIS-Geographic Information System judges the actual physics between first point and the first virtual point Distance;
If the actual physics distance between first point and the first virtual point is less than or equal to the preset value, Then GIS-Geographic Information System line between first point, the first virtual point and second point.
Optionally, judge between first point and the first virtual point in the GIS-Geographic Information System After actual physics distance, the method also includes:
If the actual physics distance between first point and the first virtual point is greater than the preset value, institute It states GIS-Geographic Information System and creates the second virtual point between first point and the first virtual point;
The GIS-Geographic Information System judges the actual physics distance between first point and the second virtual point;
If the actual physics distance between first point and the second virtual point is less than or equal to the preset value, Then the GIS-Geographic Information System connects between first point, the second virtual point and the first virtual point Line.
Optionally, the GIS-Geographic Information System is according to the target trajectory data, judge the first point and the second point it Between actual physics distance, comprising:
The GIS-Geographic Information System is according to the target trajectory data, when judging first point and second point Between precedence relationship;
The GIS-Geographic Information System is according to own geographical data and first point and the second point time order and function Relationship, judges the direction of travel of target trajectory, and the own geographical data include: actual geographic road, building and shelter Specific location, range and length and width data;
The GIS-Geographic Information System is according to the direction of travel of the own geographical data and the target trajectory, described in judgement Actual physics distance between first point and second point.
Optionally, if the actual physics distance between first point and second point is greater than preset value, institute It states GIS-Geographic Information System and creates the first virtual point between first point and second point, comprising:
If the actual physics distance between first point and second point is greater than the preset value, the geography Information system creates the first virtual point, the virtual point in the middle position of first point and second point Position physically divides the length of the actual physics distance of first point and second point equally.
Optionally, the first point and the second point are judged according to the target trajectory data in the GIS-Geographic Information System Between actual physics distance after, the method also includes:
If the actual physics distance between first point and second point is less than or equal to the preset value, institute State GIS-Geographic Information System line directly between first point and second point.
Optionally, the value of the preset value are as follows:
The preset value is arranged according to historical experience value in the GIS-Geographic Information System;
Alternatively, the GIS-Geographic Information System directly specifies the preset value.
The embodiment of the invention also provides a kind of device for showing track, described device is applied to GIS-Geographic Information System, institute It states GIS-Geographic Information System to connect with streaming media server, the streaming media server is connect with mobile terminal, the streaming media service The track data of mobile terminal is stored in the database of device, described device includes:
Request module is sent, sends and requests to the streaming media server for the GIS-Geographic Information System, the request It include: the physical address of the mobile terminal;
Data module is received, the target trajectory number of the streaming media server feedback is received for the GIS-Geographic Information System According to the target trajectory data are the track data of the mobile terminal corresponding to the request;
First judges spacing module, for the GIS-Geographic Information System according to the target trajectory data, judges at first point Actual physics distance between position and the second point;
Point link module is created, if the actual physics distance between first point and second point is big In preset value, then the GIS-Geographic Information System creates the first virtual point between first point and second point; If the actual physics distance being also used between first point and second point is less than or equal to the preset value, described GIS-Geographic Information System line directly between first point and second point;
Second judges spacing module, judges first point and first void for the GIS-Geographic Information System Actual physics distance between quasi- point;
First link module, if the actual physics distance between first point and the first virtual point is small In being equal to the preset value, then the GIS-Geographic Information System is in first point, the first virtual point and described the Line between two points.
Optionally, described device further include:
Point module is created, if the actual physics distance between first point and the first virtual point is big In the preset value, then the GIS-Geographic Information System creates the second void between first point and the first virtual point Quasi- point;
Third judges spacing module, judges first point and second virtual point for the GIS-Geographic Information System Actual physics distance between position;
Second link module, if the actual physics distance between first point and the second virtual point is small In being equal to the preset value, then the GIS-Geographic Information System is in first point, the second virtual point and described the Line between one virtual point.
Optionally, described first judges that spacing module includes:
Judge successive submodule, for the GIS-Geographic Information System according to the target trajectory data, judges described first Point and the second point time order and function relationship;
Direction submodule is judged, for the GIS-Geographic Information System according to own geographical data and first point and institute The second point time order and function relationship is stated, judges the direction of travel of target trajectory, the own geographical data include: actual geographic road Road, the specific location of building and shelter, range and length and width data;
Judge apart from submodule, for the GIS-Geographic Information System according to the own geographical data and the target trajectory Direction of travel, judge the actual physics distance between first point and second point.
Optionally, described device further include:
Preset value module is set, the preset value is arranged according to historical experience value for the GIS-Geographic Information System;Alternatively, The GIS-Geographic Information System directly specifies the preset value.
Compared with prior art, a kind of method and apparatus showing track provided by the invention, according to target trajectory data, Judge the actual physics distance between the first point and the second point, if the actual physics between the first point and the second point away from From preset value is greater than, then the first virtual point is created between the first point and the second point, then judge the first point and first Actual physics distance between virtual point, if actual physics distance is less than or equal to preset value, in first point, first Line between virtual point and the second point.After method of the invention, mobile terminal reports certainly because of network meeting other reasons Lost when the point information of body position data or data delay than it is more serious when, the mobile terminal active rail that is shown in generalized information system Mark smoothness significant increase compared to the prior art ensure that the track data and mobile terminal actual activity shown in generalized information system Track data is consistent.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings Obtain other attached drawings.
Fig. 1 is a kind of flow chart for showing track approach of the embodiment of the present invention;
Fig. 2 is the specific flow chart of step 103 in the embodiment of the present invention;
Fig. 3 is the point schematic diagram of mobile terminal activity trajectory in the embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Fig. 1 shows a kind of flow chart for showing track approach of the embodiment of the present invention, and this method is applied to geography information system System, GIS-Geographic Information System are connect with streaming media server, and streaming media server is connect with mobile terminal, the data of streaming media server The track data of mobile terminal is stored in library, the method for showing track includes the following steps:
Step 101: GIS-Geographic Information System sends to streaming media server and requests, and request includes: the physical address of mobile terminal.
In the embodiment of the present invention, GIS-Geographic Information System (generalized information system) is connect with streaming media server, streaming media server with Mobile terminal connection, because the quantity of mobile terminal is very huge, even if wherein very small part needs to upload own activity rail Mark data, and very huge data volume, this is unfavorable for the working efficiency of GIS system, so mobile terminal is it is not possible that in real time Passing data, mobile terminal needs to upload own activity track data to the database of streaming media server, history of forming track data, One streaming media server can access many mobile terminals of quantity, so only needing the streaming media server of negligible amounts can To realize the storage of the mobile terminal activity trajectory data of substantial amounts.Thus greatly improve the working efficiency of generalized information system. When needing to show mobile terminal track in generalized information system, it is only necessary to it sends and requests to streaming media server, the request of transmission Include: the physical address of mobile terminal, according to the physical address of mobile terminal, can determine the track for specifically needing which mobile terminal Data.The embodiment of the present invention does not limit this in detail, can be configured according to the actual situation.
Step 102: the target trajectory data of GIS-Geographic Information System receiving stream media server feedback, target trajectory data are The track data of mobile terminal corresponding to request.
In the embodiment of the present invention, after streaming media server receives request, according to the physical address of mobile terminal, counted from itself According to target trajectory data (the i.e. historical act track number of the mobile terminal for the mobile terminal in library, finding corresponding physical address According to), and the track data is fed back into generalized information system.The embodiment of the present invention does not limit this in detail, can be according to the actual situation It is configured.
Step 103: GIS-Geographic Information System judges the reality between the first point and the second point according to target trajectory data Physical distance.
In the embodiment of the present invention, after the target trajectory data of generalized information system receiving stream media server feedback, according to target track Mark data judge the actual physics distance between the first point and the second point.The distance refers to mobile terminal in activity two Actual physical distance between point, under normal circumstances, mobile terminal are the geographical locations that itself was uploaded once every 3 seconds, i.e., just In normal situation, if the time of the first point preceding, then the second point should be the actual geographic position of mobile terminal after 3 seconds, GIS Further according to the geodata of itself, so that it may judge the actual physics distance of the first point Yu the second point.The embodiment of the present invention This is not limited in detail, can be configured according to the actual situation.
Optionally, referring to Fig. 2, step 103 includes:
Step 103a: GIS-Geographic Information System judges the first point and the second point time order and function according to target trajectory data Relationship.
In the embodiment of the present invention, after the target trajectory data of generalized information system receiving stream media server feedback, according to target track Mark data judge the first point and the second point time order and function relationship.Because mobile terminal is when uploading self geographical position information Can be attached to the specific time, and because its be fixed interval upload, generalized information system it may determine that out the first point with The time order and function relationship of second point, such as the first point uplink time are 1:00 on April 1st, 2019, when the second point uploads Between be 0:57 on March 31st, 2019, then the second point is just before the first point.The embodiment of the present invention is not made this in detail It limits, can be configured according to the actual situation.
Step 103b: GIS-Geographic Information System is closed according to own geographical data and the first point and the second point time order and function System, judges the direction of travel of target trajectory, own geographical data include: the specific of actual geographic road, building and shelter Position, range and length and width data.
In the embodiment of the present invention, generalized information system was also needed according to own geographical data and the first point and the second point time Precedence relationship, judges the direction of travel of target trajectory, the geodata of generalized information system itself include: actual geographic road, building with And specific location, range and the length and width data of shelter, these data be all relevant staff by on-the-spot investigation, mapping, GIS system is entered into after a large amount of work such as check.When the time order and function relationship of the first point Yu the second point has been determined, Along with the geodata of itself is it may determine that the direction of travel of mobile terminal out.The embodiment of the present invention does not limit this in detail It is fixed, it can be configured according to the actual situation.
Step 103c: GIS-Geographic Information System judges at first point according to the direction of travel of own geographical data and target trajectory Actual physics distance between position and the second point.
In the embodiment of the present invention, after GIS-Geographic Information System has determined the time order and function relationship of the first point and the second point, In conjunction with own geographical data, so that it may judge the actual physics distance between the first point and the second point.Such as first point Position is preceding, and the second point is rear, if it is normal to upload data, then the second point should be the geography after the first point 3 seconds Position, data in conjunction with actual range in own geographical data are it can be concluded that practical object between the first point and the second point Distance is managed, the actual physics distance between the first point and the second point obtained and the size between preset value are closed again later System is judged.The embodiment of the present invention does not limit this in detail, can be configured according to the actual situation.
Step 104: if the actual physics distance between the first point and the second point is greater than preset value, geography information system System creates the first virtual point between the first point and the second point.
In the embodiment of the present invention, it is pre- that generalized information system judges that the actual physics distance between the first point and the second point is greater than If value then creates the first virtual point between the first point and the second point.The value of preset value generally by generalized information system according to The setting of historical experience value or generalized information system are directly specified, it is assumed that preset value is set as 10 meters, then when the first point and second point When actual physics distance between position is greater than 10 meters, the first virtual point is just created between the first point and the second point.? In practical application, due to network etc., the point that mobile terminal uploads may lose, such as the activity trajectory of a mobile terminal is answered This is A1-A2-A3, but since network cause causes a bit loss, and A2 point does not upload to stream medium data library, A1 point and A3 uploads to streaming media server, therefore after generalized information system reads historical data, be shown in GIS map only can there are two point, That is A1 point (i.e. the first point) and A3 point (i.e. the second point) should will not be shown in ground in the A2 point on map Figure, generalized information system obtain mobile terminal direction of travel according to the precedence relationship of A1 and A3 point, obtain in conjunction with own geographical data Actual physics distance between A1 point and A3 point is greater than 10 meters, then generalized information system creates a void between A1 and A3 point Quasi- point A2 ', can represent the point A2 of loss.
There are also a kind of situations, if generalized information system judges that the actual physics distance between the first point and the second point is less than Equal to preset value, then generalized information system line directly between the first point and the second point.Such as the activity trajectory of a mobile terminal It should be A1-A2-A3, but since network cause causes a bit loss, A2 point does not upload to stream medium data library, A1 point Position and A3 upload to streaming media server, therefore after generalized information system reads historical data, are shown in GIS map and only have two A, i.e. A1 point (i.e. the first point) and A3 point (i.e. the second point) should will not be shown in the A2 point on map In map, generalized information system obtains mobile terminal direction of travel according to the precedence relationship of A1 and A3 point, in conjunction with own geographical data Show that actual physics distance between A1 point and A3 point is less than or equal to 10 meters, then generalized information system directly A1 and A3 point it Between line.Since the precision of generalized information system is at 5 meters or so, so even if A2 point bit loss, but the practical object between A1 and A3 point Distance is managed less than 10 meters, broken line directly can't be generated to A1 and the direct line of A3 point, can still make track show flat It is sliding.
Optionally, step 104 specifically includes: presetting if the actual physics distance between the first point and the second point is greater than Value, GIS-Geographic Information System create the first virtual point, the virtual point is in object in the middle position of the first point and the second point Divide the length of the actual physics distance of the first point and the second point in reason equally.
In the embodiment of the present invention, if generalized information system determines that the actual physics distance between the first point and the second point is greater than Preset value, then generalized information system creates the first virtual point in the middle position of the first point and the second point, which exists Physically divide the length of the actual physics distance of the first point and the second point equally.Such as the activity trajectory of a mobile terminal should It is A1-A2-A3, A2 point bit loss is shown in GIS map that there are two points, i.e. A1 point (i.e. the first point) and A3 point (i.e. the second point), generalized information system show that the actual physics distance between A1 point and A3 point is 12 meters, are greater than 10 meters, then Generalized information system creates the reality that virtual point A2 ', A2 a ' point divides A1 Yu A3 point equally in the middle position of A1 and A3 point The actual physics distance of physical distance, i.e. A1 and A2 ' point is 6 meters, and the actual physics distance of A2 ' and A3 point is 6 meters.This Inventive embodiments do not limit this in detail, can be configured according to the actual situation.
Step 105: GIS-Geographic Information System judges the actual physics distance between the first point and the first virtual point.
In the embodiment of the present invention, after generalized information system creates the first virtual point, generalized information system judge the first point with Actual physics distance between first virtual point, the process of judgement is as approach described above.The embodiment of the present invention is to this It does not limit, can be configured according to the actual situation in detail.
Optionally, after step 105, include the following steps:
Step 106a1: geographical if the actual physics distance between the first point and the first virtual point is greater than preset value Information system creates the second virtual point between the first point and the first virtual point.
In the embodiment of the present invention, if generalized information system judges the actual physics distance between the first point and the first virtual point Also greater than preset value, then generalized information system creates the second virtual point between the first point and the first virtual point.A such as shifting The activity trajectory of moved end should be A1-A2-A3, A2 point bit loss, be shown in GIS map there are two point, i.e. A1 point (i.e. the One point) and A3 point (i.e. the second point), generalized information system show that the actual physics distance between A1 point and A3 point is 22 Rice is greater than 10 meters, then generalized information system divides A1 and A3 equally in the middle position of A1 and A3 point one virtual point A2 ', A2 ' of creation The actual physics distance of the actual physics distance of point, i.e. A1 and A2 ' point is 11 meters, the actual physics of A2 ' and A3 point away from From being 11 meters, judge that 11 meters of the actual physics distance of A1 and A2 ' point is still greater than 10 meters of preset value again at this time, then GIS System can create again a virtual point A2 ' ' in the middle position of A1 and A2 ' point.The embodiment of the present invention is not made this in detail It is thin to limit, it can be configured according to the actual situation.
Step 106a2: GIS-Geographic Information System judges the actual physics distance between the first point and the second virtual point.
In the embodiment of the present invention, after generalized information system creates the second virtual point, continue to judge that the first point is virtual with second Actual physics distance between point.The embodiment of the present invention does not limit this in detail, can be configured according to the actual situation.
Step 106a3: if the actual physics distance between the first point and the second virtual point is less than or equal to preset value, GIS-Geographic Information System line between the first point, the second virtual point and the first virtual point.
In the embodiment of the present invention, if generalized information system judges the actual physics distance between the first point and the second virtual point Less than or equal to preset value, then GIS-Geographic Information System line between the first point, the second virtual point and the first virtual point. Such as the activity trajectory of a mobile terminal should be A1-A2-A3, A2 point bit loss, generalized information system obtains A1 point and A3 point Between actual physics distance be 22 meters, be greater than 10 meters, then generalized information system the middle position of A1 and A3 point create one it is virtual Point A2 ', A2 ' divide the actual physics distance of A1 Yu A3 point equally, i.e. the actual physics distance of A1 and A2 ' point is 11 meters, The actual physics distance of A2 ' and A3 point is 11 meters, judge again at this time 11 meters of the actual physics distance of A1 and A2 ' point according to So it is greater than 10 meters of preset value, generalized information system can create again a virtual point A2 ' ' in the middle position of A1 and A2 ' point, sentence Actual physics distance between disconnected A1 and A2 ' ' point is 5.5 meters and is less than 10 meters of preset value, then generalized information system A1, A2 ' ' with And line between A2 ' point.Same principle, creates virtual point A3 ' between A2 ' and A3 point, generalized information system A2 ', Line between A3 ' and A3 point, line is flat directly between A1 and A3 compared to the prior art for the track shown in this way Sliding is more.The embodiment of the present invention does not limit this in detail, can be configured according to the actual situation.
Step 106b: if the actual physics distance between the first point and the first virtual point is less than or equal to preset value, GIS-Geographic Information System line between the first point, the first virtual point and the second point.
In the embodiment of the present invention, if generalized information system judges the actual physics distance between the first point and the first virtual point Less than or equal to preset value, then generalized information system line between the first point, the first virtual point and the second point.Such as one The activity trajectory of mobile terminal should be A1-A2-A3, A2 point bit loss, be shown in GIS map that there are two points, i.e. A1 point (i.e. First point) and A3 point (i.e. the second point), generalized information system show that the actual physics distance between A1 point and A3 point is 12 Rice is greater than 10 meters, then generalized information system divides A1 equally in the middle position of A1 and A3 point one virtual point A2 ', A2 ' point of creation With the actual physics distance of A3 point, i.e. the actual physics distance of A1 and A2 ' point is 6 meters, the actual physics of A2 ' and A3 point Distance is 6 meters, and generalized information system line between A1, A2 ' and A3 point, the track shown in this way is compared to the prior art Smooth more of line directly between A1 and A3.The embodiment of the present invention does not limit this in detail, can according to the actual situation into Row setting.
With reference to the accompanying drawing, method of the invention is further detailed, as shown in figure 3, showing of the invention real The point schematic diagram of mobile terminal activity trajectory in example is applied, a mobile terminal shows its activity trajectory in generalized information system, it is assumed that GIS Default preset value is 10 meters, and generalized information system sends to streaming media server and requests, after streaming media server receives request, According to the physical address of mobile terminal, from own database, the target trajectory data of the mobile terminal of corresponding physical address are found (i.e. the historical act track data of the mobile terminal), and the track data is fed back into generalized information system.
After the target trajectory data of generalized information system receiving stream media server feedback, according to target trajectory data, first is judged Actual physics distance between point A1 and the second point A2.Because mobile terminal is that fixed interval uploads, generalized information system It may determine that the time order and function relationship of A1 point and A2 point out, it is assumed that the first point is just before second, and generalized information system is also According to own geographical data and A1 point in conjunction with A2 point time order and function relationship itself geodata, judge mobile terminal Direction of travel and actual physics distance between the two.Generalized information system obtains the actual physics distance between A1 point and A2 point It is 22 meters, is greater than 10 meters, then generalized information system divides A1 equally in the middle position of A1 and A2 point one virtual point A1 ', A1 ' of creation With the actual physics distance of A2 point, it is default to judge that 11 meters of the actual physics distance of A1 and A1 ' point is still greater than again at this time 10 meters of value, generalized information system can create again a virtual point A1 ' ' in the middle position of A1 and A1 ' point, judge A1 and A1 ' ' Actual physics distance between point is 5.5 meters and is less than 10 meters of preset value, then generalized information system A1, A1 ' ' and A1 ' point it Between line (in Fig. 3 shown in solid line 1).GIS system creates virtual point A2 ' between A1 ' and A2 point later, and generalized information system exists Line (in Fig. 3 shown in solid line 2) between A1 ', A2 ' and A2 point, the track shown in this way is straight compared to the prior art Meet smooth more of between A1 and A2 line (in Fig. 3 shown in dotted line 3).
The embodiment of the invention also provides a kind of device for showing track, which is applied to GIS-Geographic Information System, geographical Information system is connect with streaming media server, and streaming media server is connect with mobile terminal, is deposited in the database of streaming media server The track data for containing mobile terminal shows that the device of track includes:
Request module is sent, sends and requests to streaming media server for GIS-Geographic Information System, request includes: mobile terminal Physical address;
Data module is received, for the target trajectory data of GIS-Geographic Information System receiving stream media server feedback, target Track data is the track data of the mobile terminal corresponding to request;
First judges spacing module, for GIS-Geographic Information System according to target trajectory data, judges the first point and second Actual physics distance between point;
Point link module is created, if being greater than for the actual physics distance between the first point and the second point default Value, then GIS-Geographic Information System creates the first virtual point between the first point and the second point;If be also used to the first point with Actual physics distance between second point is less than or equal to preset value, then GIS-Geographic Information System is directly in the first point and second point Line between position;
Second judges spacing module, judges the reality between the first point and the first virtual point for GIS-Geographic Information System Physical distance;
First link module, if being less than or equal to for the actual physics distance between the first point and the first virtual point pre- If value, then GIS-Geographic Information System line between the first point, the first virtual point and the second point.
Optionally, the device of track is shown further include:
Point module is created, if being greater than for the actual physics distance between the first point and the first virtual point default Value, then GIS-Geographic Information System creates the second virtual point between the first point and the first virtual point;
Third judges spacing module, judges the reality between the first point and the second virtual point for GIS-Geographic Information System Physical distance;
Second link module, if being less than or equal to for the actual physics distance between the first point and the second virtual point pre- If value, then GIS-Geographic Information System line between the first point, the second virtual point and the first virtual point.
Optionally, first judges that spacing module includes:
Judge successive submodule, for GIS-Geographic Information System according to target trajectory data, judges the first point and second point Position time order and function relationship;
Direction submodule is judged, when for GIS-Geographic Information System according to own geographical data and the first point and the second point Between precedence relationship, judge the direction of travel of target trajectory, own geographical data include: actual geographic road, build and block Specific location, range and the length and width data of object;
Judge apart from submodule, for GIS-Geographic Information System according to the direction of travel of own geographical data and target trajectory, Judge the actual physics distance between the first point and the second point.
Optionally, the device of track is shown further include:
Preset value module is set, preset value is arranged according to historical experience value for GIS-Geographic Information System;Alternatively, geography information The directly specified preset value of system.
Through the foregoing embodiment, the present invention judges the first point and second point according to generalized information system according to target trajectory data Actual physics distance between position, if the actual physics distance between the first point and the second point is less than or equal to preset value, Direct line therebetween, if the actual physics distance between the first point and the second point is greater than preset value, at first point The first virtual point is created between position and the second point, then judge actual physics between the first point and the first virtual point away from From if actual physics distance connects between the first point, the first virtual point and the second point less than or equal to preset value Line.If actual physics distance is greater than preset value, the second virtual point is created again between the first point, the first virtual point, Again to the actual physics distance of the first point and the second virtual point, be less than or equal to then to the first point, the second virtual point and First virtual point line.After method of the invention, the mobile terminal activity trajectory shown in generalized information system is compared to existing Technology smoothness significant increase ensure that the track data shown in generalized information system is consistent with mobile terminal actual activity track data.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, herein, the terms "include", "comprise" or its it is any its He is intended to non-exclusive inclusion by variant, so that process, method, article or device including a series of elements are not Only include those elements, but also including other elements that are not explicitly listed, or further include for this process, method, Article or the intrinsic element of device.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the device for including the element.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form, all of these belong to the protection of the present invention.

Claims (10)

1. a kind of method for showing track, which is characterized in that the method is applied to GIS-Geographic Information System, the geography information system System is connect with streaming media server, and the streaming media server is connect with mobile terminal, in the database of the streaming media server It is stored with the track data of mobile terminal, which comprises
The GIS-Geographic Information System sends to the streaming media server and requests, and the request includes: the physics of the mobile terminal Address;
The GIS-Geographic Information System receives the target trajectory data of the streaming media server feedback, and the target trajectory data are The track data of mobile terminal corresponding to the request;
The GIS-Geographic Information System judges the actual physics between the first point and the second point according to the target trajectory data Distance;
If the actual physics distance between first point and second point is greater than preset value, the geography information system System creates the first virtual point between first point and second point;
The GIS-Geographic Information System judges the actual physics distance between first point and the first virtual point;
If the actual physics distance between first point and the first virtual point is less than or equal to the preset value, institute State GIS-Geographic Information System line between first point, the first virtual point and second point.
2. the method according to claim 1, wherein judging at described first point in the GIS-Geographic Information System After actual physics distance between position and the first virtual point, the method also includes:
If the actual physics distance between first point and the first virtual point is greater than the preset value, describedly Reason information system creates the second virtual point between first point and the first virtual point;
The GIS-Geographic Information System judges the actual physics distance between first point and the second virtual point;
If the actual physics distance between first point and the second virtual point is less than or equal to the preset value, institute State GIS-Geographic Information System line between first point, the second virtual point and the first virtual point.
3. the method according to claim 1, wherein the GIS-Geographic Information System is according to the target trajectory number According to judging the actual physics distance between the first point and the second point, comprising:
The GIS-Geographic Information System judges that first point and the second point time are first according to the target trajectory data Relationship afterwards;
The GIS-Geographic Information System according to own geographical data and first point and the second point time order and function relationship, Judge the direction of travel of target trajectory, the own geographical data include: the specific of actual geographic road, building and shelter Position, range and length and width data;
The GIS-Geographic Information System judges described first according to the direction of travel of the own geographical data and the target trajectory Actual physics distance between point and second point.
4. the method according to claim 1, wherein if reality between first point and second point Border physical distance is greater than preset value, then the GIS-Geographic Information System creates the between first point and second point One virtual point, comprising:
If the actual physics distance between first point and second point is greater than the preset value, the geography information System creates the first virtual point in the middle position of first point and second point, which exists Physically divide the length of the actual physics distance of first point and second point equally.
5. the method according to claim 1, wherein in the GIS-Geographic Information System according to the target trajectory number According to, after judging the actual physics distance between the first point and the second point, the method also includes:
If the actual physics distance between first point and second point is less than or equal to the preset value, describedly Manage information system line directly between first point and second point.
6. the method according to claim 1, wherein the value of the preset value are as follows:
The preset value is arranged according to historical experience value in the GIS-Geographic Information System;
Alternatively, the GIS-Geographic Information System directly specifies the preset value.
7. a kind of device for showing track, which is characterized in that described device is applied to GIS-Geographic Information System, the geography information system System is connect with streaming media server, and the streaming media server is connect with mobile terminal, in the database of the streaming media server It is stored with the track data of mobile terminal, described device includes:
Request module is sent, sends and requests to the streaming media server for the GIS-Geographic Information System, the request includes: The physical address of the mobile terminal;
Data module is received, the target trajectory data of the streaming media server feedback are received for the GIS-Geographic Information System, The target trajectory data are the track data of the mobile terminal corresponding to the request;
First judges spacing module, for the GIS-Geographic Information System according to the target trajectory data, judge the first point and Actual physics distance between second point;
Point link module is created, if being greater than for the actual physics distance between first point and second point pre- If value, then the GIS-Geographic Information System creates the first virtual point between first point and second point;Also use If the actual physics distance between first point and second point is less than or equal to the preset value, the geography Information system line directly between first point and second point;
Second judges spacing module, for the GIS-Geographic Information System judge first point and the described first virtual point it Between actual physics distance;
First link module, if be less than for the actual physics distance between first point and the first virtual point etc. In the preset value, then the GIS-Geographic Information System is in first point, the first virtual point and the second point Line between position.
8. device according to claim 7, which is characterized in that described device further include:
Point module is created, if being greater than institute for the actual physics distance between first point and the first virtual point Preset value is stated, then the GIS-Geographic Information System creates the second virtual point between first point and the first virtual point Position;
Third judges spacing module, for the GIS-Geographic Information System judge first point and the described second virtual point it Between actual physics distance;
Second link module, if be less than for the actual physics distance between first point and the second virtual point etc. In the preset value, then the GIS-Geographic Information System is in first point, the second virtual point and first void Line between quasi- point.
9. device according to claim 7, which is characterized in that described first judges that spacing module includes:
Judge successive submodule, for the GIS-Geographic Information System according to the target trajectory data, judges first point With the second point time order and function relationship;
Direction submodule is judged, for the GIS-Geographic Information System according to own geographical data and first point and described the Two point time order and function relationships, judge the direction of travel of target trajectory, the own geographical data include: actual geographic road, Specific location, range and the length and width data of building and shelter;
Judge apart from submodule, for the GIS-Geographic Information System according to the row of the own geographical data and the target trajectory Into direction, the actual physics distance between first point and second point is judged.
10. device according to claim 7, which is characterized in that described device further include:
Preset value module is set, the preset value is arranged according to historical experience value for the GIS-Geographic Information System;Alternatively, described GIS-Geographic Information System directly specifies the preset value.
CN201910229634.7A 2019-03-25 2019-03-25 A kind of method and apparatus showing track Pending CN110119434A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910229634.7A CN110119434A (en) 2019-03-25 2019-03-25 A kind of method and apparatus showing track

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910229634.7A CN110119434A (en) 2019-03-25 2019-03-25 A kind of method and apparatus showing track

Publications (1)

Publication Number Publication Date
CN110119434A true CN110119434A (en) 2019-08-13

Family

ID=67520640

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910229634.7A Pending CN110119434A (en) 2019-03-25 2019-03-25 A kind of method and apparatus showing track

Country Status (1)

Country Link
CN (1) CN110119434A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2264485A1 (en) * 2009-06-04 2010-12-22 Tracedge Method for analysing moving object continuous trajectory based on sampled GPS position
CN103037507A (en) * 2012-12-17 2013-04-10 浙江鸿程计算机系统有限公司 Map matching method based on Cell-identification (ID) location technology
CN107993416A (en) * 2016-10-26 2018-05-04 北京视联动力国际信息技术有限公司 A kind for the treatment of method and apparatus of alert event
CN108734325A (en) * 2017-04-13 2018-11-02 北京嘀嘀无限科技发展有限公司 The evaluation method and device of planning path

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2264485A1 (en) * 2009-06-04 2010-12-22 Tracedge Method for analysing moving object continuous trajectory based on sampled GPS position
CN103037507A (en) * 2012-12-17 2013-04-10 浙江鸿程计算机系统有限公司 Map matching method based on Cell-identification (ID) location technology
CN107993416A (en) * 2016-10-26 2018-05-04 北京视联动力国际信息技术有限公司 A kind for the treatment of method and apparatus of alert event
CN108734325A (en) * 2017-04-13 2018-11-02 北京嘀嘀无限科技发展有限公司 The evaluation method and device of planning path

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘艳云: "基于HMM的公交调度中心地图匹配算法研究", 《中国优秀硕士学位论文全文数据库工程科技Ⅱ辑》 *
徐垚 等: "基于大规模船舶轨迹数据的航道边界提取方法", 《计算机应用》 *

Similar Documents

Publication Publication Date Title
Mountain et al. Modelling human spatio-temporal behaviour: a challenge for location-based services
CN101523388B (en) Caching and modifying portions of a multi-dimensional database on a user device
US8301364B2 (en) Method of operating a navigation system to provide geographic location information
JP3629238B2 (en) Positioning in telecommunications networks
CN106454745A (en) Determining location information using a location data point provided by a computing device
CN101167092A (en) Project data delivery system for construction
US8285310B1 (en) Personal wireless coverage map
JP2016180982A (en) Version management for incrementally compiled map data
US11243288B2 (en) Location error radius determination
CN103004102A (en) Geographic location system and method
CN1278501C (en) Compressing method and compressing equipment for mobile target-position data
KR20080057222A (en) A method of finding a physical location of a mobile telephone at a given time
CN102546816A (en) Campus positioning method based on LBS platform and realization system thereof
US11818622B1 (en) System and method of using spatial and temporal signals to identify and prevent attacks
CN104867402A (en) Offline reverse geocoding method, device thereof and terminal equipment
KR20220140850A (en) Use of map change data
CN104243580A (en) Personnel comprehensive locating method and system applied to water conservancy construction site
CN103039036B (en) Method and system for calculating number of users
CN105159543B (en) It is a kind of that the method and apparatus of Map Services are provided
KR100532144B1 (en) Map information providing system and method thereof
Hedgecock et al. Dissemination and presentation of high resolution air pollution data from mobile sensor nodes
CN105653722A (en) Method for displaying rolling track graph of road roller
CN109005497A (en) It determines the method for signal blind zone, determine the method and device of user location
CN110119434A (en) A kind of method and apparatus showing track
US20170284821A1 (en) Route planning system and method

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190813

RJ01 Rejection of invention patent application after publication