Summary of the invention
In view of above-mentioned the deficiencies in the prior art, the object of the present invention is to provide a kind of method based on geographic position retrieve data and system thereof, be intended to solve the existing driving video frames stored on a time period and search and comparatively bother, and search the problem of inconvenience consuming time.
Technical scheme of the present invention is as follows:
Based on a method for geographic position retrieve data, wherein, step is comprised:
Obtain geographic position data and driving video frames when A, driving, then described geographic position data is carried out coupling with described driving video frames and associate, and the data of coupling association are stored; Wherein, the mode of storage comprises: data are stored in map, data store with independently packet and data and video file are bound and stored;
B, when need retrieve driving video frames time, receive user select geographic position data, then retrieve described geographic position data coupling driving video frames and show.
The described method based on geographic position retrieve data, is characterized in that, described geographic position data comprises: by the converted transit square degree information of the GPS information obtained, section title and road name, driving trace and travel direction; Described driving video frames is the driving video frames recording time and date.
The described method based on geographic position retrieve data, wherein, in described step B, when receiving position or the section title of user's selection, retrieving the driving video frames of described position or section name-matches and showing.
The described method based on geographic position retrieve data, wherein, in described step B, when demonstrating the driving video frames of multiple directions, then receives the direction in the section that user selects, the driving video frames of display assigned direction.
The described method based on geographic position retrieve data, wherein, in described step B, when demonstrating the driving video frames of multiple time period, then receives the time period of user's selection, the driving video frames of display fixed time section.
As above a system for arbitrary described method based on geographic position retrieve data, wherein, comprising:
Obtain and matching module, obtaining geographic position data and driving video frames during for driving a vehicle, then described geographic position data being carried out coupling with described driving video frames and associating, and the data of coupling association are stored; Wherein, the mode of storage comprises: data are stored in map, data store with independently packet and data and video file are bound and stored;
Retrieval and display module, for when retrieving driving video frames, receive the geographic position data that user selects, and then retrieves the driving video frames of described geographic position data coupling and show.
The system of the described method based on geographic position retrieve data, wherein, described geographic position data comprises: by the converted transit square degree information of the GPS information obtained, section title and road name, driving trace and travel direction; Described driving video frames is the driving video frames recording time and date.
The system of the described method based on geographic position retrieve data, wherein, when receiving position or the section title of user's selection, retrieving the driving video frames of described position or section name-matches and showing.
The system of the described method based on geographic position retrieve data, wherein, when demonstrating the driving video frames of multiple directions, then receives the direction in the section that user selects, the driving video frames of display assigned direction.
The system of the described method based on geographic position retrieve data, wherein, when demonstrating the driving video frames of multiple time period, then receives the time period of user's selection, the driving video frames of display fixed time section.
Beneficial effect: the present invention is by obtaining driving video frames during driving, obtain geographic position data simultaneously, and the driving video frames in driving distance is mated with geographic position data, thus when retrieving driving video frames, by choosing a geographic position data on map, in packet or on video file, the driving video frames with current geographic position Data Matching can be retrieved, thus complete the retrieval of driving video frames.
Embodiment
The invention provides a kind of method based on geographic position retrieve data and system thereof, for making object of the present invention, technical scheme and effect clearly, clearly, the present invention is described in more detail below.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Refer to Fig. 1, Fig. 1 is the process flow diagram of a kind of method preferred embodiment based on geographic position retrieve data of the present invention, and as shown in the figure, it comprises step:
Obtain geographic position data and driving video frames when S100, driving, then described geographic position data is carried out coupling with described driving video frames and associate, and the data of coupling association are stored; Wherein, the mode of storage comprises: data are stored in map, data store with independently packet and data and video file are bound and stored;
S200, when need retrieve driving video frames time, receive user select geographic position data, then retrieve described geographic position data coupling driving video frames and show.
When the present invention drives a vehicle, not only obtain driving video frames, obtain geographic position data simultaneously, and the driving video frames in driving distance is carried out coupling with geographic position data and associates, thus when retrieving driving video frames, by choosing a geographic position data on map, in packet or on video file, the driving video frames with current geographic position Data Matching can be retrieved, thus complete the retrieval of driving video frames.
In the present invention, described geographic position data comprises: by the converted transit square degree information of the GPS information obtained, section title and road name, driving trace and travel direction etc.Namely obtain GPS information when the present invention drives a vehicle, and convert described GPS information to coordinate position, section title and road name; Meanwhile, also the geographic position datas such as driving trace and travel direction (such as, from south to north, from east to west etc.) are carried out record in driving conditions of the present invention.Certainly, geographic position data of the present invention is not limited to above-mentioned data, also comprises the geographic position datas such as altitude value.Driving video frames of the present invention is the driving video frames recording time and date etc.
In described step S200, when receiving position or the section title of user's selection, retrieving the driving video frames of described position or section name-matches and showing.In other words, when user needs retrieval driving video frames, first map, packet or video file are shown, then user finds the position or section title wanting to check on map, in packet or on video file, and choose this position or section title, at this moment the driving video frames of the program inner described position of retrieval or section name-matches automatically, and the driving video frames of this position or section title is shown.In addition, the present invention, also by receiving transit square degree information or the road name of user's selection, realizes the driving video frames of this transit square degree information or road name coupling to show.
In described step S200, when there is the driving video frames of multiple directions in the section selected, namely when demonstrating the driving video frames of multiple directions (twocouese arrow), user selects the driving video frames wanting direction on twocouese arrow, at this moment program can receive the direction that user selects again, realizes the driving video frames of display assigned direction.
In described step S200, when there is the driving video frames of multiple time period in the section selected, namely when demonstrating the driving video frames of multiple time period, user selects the driving video frames needing the time period, at this moment program can receive the time period that user selects again, realizes the driving video frames of display fixed time section.
Certainly in above-mentioned steps, when also there is the driving video frames of multiple time period in the driving video frames of the assigned direction shown, at this moment user selects time period of wanting again, program inside can receive the time period that user selects again, just can navigate to driving video frames more accurately.And when the driving video frames of the fixed time section shown also exists the driving video frames of multiple directions, at this moment user selects the travel direction wanted again, program inside can receive the travel direction that user selects again, just can navigate to driving video frames more accurately.
When the present invention retrieves driving video frames, first user selects the position wanted or section on map, in packet or on video file, and repeatedly come and go having, when making to there is multiple travel direction, user can on the direction arrow ejected, select certain direction, program inside can retrieve the driving video frames in this direction.Further, when this direction also exists the driving video frames of multiple time period, at this moment user selects approximate time section again, just can navigate to driving video frames accurately.
Or, first user selects the position wanted or section on map, in packet or on video file, there iing multiple time period, when making to there is multiple time period, user can on multiple time periods of ejecting, select certain time period, program inside can retrieve the driving video frames of this time period.Also there is the driving video frames of multiple directions when this time period, at this moment user selects the direction wanted, just can navigate to driving video frames accurately again.
Based on said method, the present invention also provides the system of a kind of as above arbitrary described method based on geographic position retrieve data, and as shown in Figure 2, it comprises:
Obtain and matching module 100, obtaining geographic position data and driving video frames during for driving a vehicle, then described geographic position data being carried out coupling with described driving video frames and associating, and the data of coupling association are stored; Wherein, the mode of storage comprises: data are stored in map, data store with independently packet and data and video file are bound and stored;
Retrieval and display module 200, for when retrieving video recording, receive the geographic position data that user selects, and then retrieves the driving video frames of described geographic position data coupling and show.
Described geographic position data comprises: by the converted transit square degree information of the GPS information obtained, section title and road name, driving trace and travel direction; Described driving video frames is the driving video frames recording time and date.
When receiving position or the section title of user's selection, retrieving the driving video frames of described position or section name-matches and showing.
When demonstrating the driving video frames of multiple directions, then receive the direction in the section that user selects, the driving video frames of display assigned direction.
When demonstrating the driving video frames of multiple time period, then receive the time period of user's selection, the driving video frames of display fixed time section.
In sum, a kind of method based on geographic position retrieve data provided by the invention and system thereof, the present invention not only obtains driving video frames by during driving, obtain geographic position data simultaneously, and the driving video frames in driving distance is carried out coupling with geographic position data and associates, thus when retrieving driving video frames, by choosing a geographic position data on map, in packet or on video file, the driving video frames with current geographic position Data Matching can be retrieved, thus complete the retrieval of driving video frames.And by selecting different positions, section, road, travel direction or time period etc. on map, in packet or on video file, can realize retrieving driving video frames accurately and rapidly.In addition, search method of the present invention is searched simply and convenience.
Should be understood that, application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can be improved according to the above description or convert, and all these improve and convert the protection domain that all should belong to claims of the present invention.