A kind of method that parking stall is inquired about in real time and automobile
Technical field
The invention belongs to data query field, particularly relate to method and automobile that a kind of parking stall is inquired about in real time.
Background technology
Along with the fast development of economy, people are more and more rich, and more and more people has driven automobile, and automobile is the production of people, living brings great convenience, and facilitates the trip of people, has saved the time of people.
But, along with the increase of automobile, parking stall more and more difficulty look for, when particularly having a meal or drive to go on business, it is very difficult to determine whether point of destination has parking lot, whether parking lot has parking stall, some car owners can not find parking lot and disorderly stop, and cause traffic jam, seriously affect urban pattern.
Summary of the invention
It is an object of the invention to provide the real-time querying method in a kind of parking stall, it is intended to solve the problem that present parking stall difficulty is looked for.
In order to solve the problems of the technologies described above, the present invention is achieved in that and a kind of method that parking stall is inquired about in real time is applied to automobile, and described method comprises the following steps:
Obtain the point of destination of automobile in default map;
Online query is gone forward side by side row labels the position in described default map apart from the parking lot of described point of destination predeterminable range;
Parking stall surplus query statement is sent, and the parking stall surplus fed back by described inquiry system is displayed in the position corresponding with described parking lot to inquiry system.
Further, the described step to inquiry system transmission parking stall surplus query statement comprises the following steps:
According to described point of destination by closely to distance far away, described parking lot being carried out first time label according to the order of sequence;
According to described first time, the sequence number of label according to the order of sequence sends described parking stall surplus query statement to described inquiry system successively.
Further, the step that the described parking stall surplus fed back by described inquiry system is displayed in the position corresponding with described parking lot comprises the following steps:
Receive the parking stall surplus of described inquiry system feedback;
According to described parking stall surplus, from more to less described parking lot is carried out second time label according to the order of sequence;
On described default map respectively by described first time the sequence number of label and described second time label according to the order of sequence according to the order of sequence sequence number be displayed in the position corresponding with described parking lot with the form that band is distinguished.
Another object of the present invention is to provide a kind of automobile, described automobile comprises:
First acquiring unit, for obtaining the point of destination of automobile in default map;
First query unit, for online query apart from the parking lot of described point of destination predeterminable range the position in described default map;
First indexing unit, for position mark in described default map of the parking lot of the described point of destination predeterminable range that carries out adjusting the distance;
Send unit, for sending parking stall surplus query statement to inquiry system;
Display unit, is displayed in the position corresponding with described parking lot for the parking stall surplus fed back by described inquiry system.
Further, described transmission unit comprises:
First sequence subelement, for according to described point of destination by closely to distance far away, described parking lot being carried out for the first time label according to the order of sequence;
Send subelement, for according to described first time label according to the order of sequence sequence number send described parking stall surplus query statement to described inquiry system successively.
Further, described display unit comprises:
Receive subelement, for receiving the parking stall surplus of described inquiry system feedback;
Second row sequence subelement, for carrying out second time label according to the order of sequence from more to less according to described parking stall surplus to described parking lot;
Display subelement, on described default map respectively by described first time the sequence number of label and described second time label according to the order of sequence according to the order of sequence sequence number be displayed in the position corresponding with described parking lot with the form that band is distinguished.
In the present invention, by the parking lot in inquiry distance point of destination predeterminable range and parking stall surplus, and mark in default map, enable car owner very fast find desirable parking stall, save the time of car owner, promote Urban traffic order.
Accompanying drawing explanation
Fig. 1 is the schema that the real-time querying method in parking stall that the embodiment of the present invention provides is applied to automobile;
Fig. 2 is the flowchart that the real-time querying method in parking stall that first embodiment of the invention provides is applied to automobile;
Fig. 3 is the schema that the real-time querying method in parking stall that the embodiment of the present invention provides is applied to inquiry system;
Fig. 4 is the flowchart that the real-time querying method in parking stall that second embodiment of the invention provides is applied to inquiry system;
Fig. 5 is the frame construction drawing of the automobile that the embodiment of the present invention provides;
Fig. 6 is the frame construction drawing of the inquiry system that the embodiment of the present invention provides.
Embodiment
In order to make the object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated. It is to be understood that specific embodiment described herein is only in order to explain the present invention, it is not intended to limit the present invention.
Below in conjunction with specific embodiment, the specific implementation of the present invention is described in detail:
Fig. 1 shows the flow process of the real-time querying method in parking stall that the embodiment of the present invention provides, and for convenience of explanation, only lists the part relevant to the embodiment of the present invention, describes in detail as follows:
The method that the parking stall that the embodiment of the present invention provides is inquired about in real time, is applied to automobile, and the method comprises the following steps:
Step S100, obtains the point of destination of automobile in default map.
In the step s 100, first obtaining the point of destination of automobile in default map, the place that namely automobile will go to, acquisition methods inputs point of destination for prompting user, obtains the point of destination of user's input and shows in default map.
Step S200, online query is gone forward side by side row labels the position in this default map apart from the parking lot of this point of destination predeterminable range.
In embodiments of the present invention, it is assumed that point of destination is A, predeterminable range is 1 kilometer, then the parking lot in online query distance A1 kilometer range, and is marked in default map in the parking lot inquired.
Step S300, sends parking stall surplus query statement to inquiry system, and the parking stall surplus fed back by this inquiry system is displayed in the position corresponding with this parking lot.
It should be noted that, the residue parking stall in current each big parking lot generally can be inquired about, but does not network, and is all independent, and the inquiry system in the embodiment of the present invention is the inquiry system that the parking space information in each parking lot carries out online query
Embodiment one:
The real-time querying method in parking stall that Fig. 2 shows first embodiment of the invention to be provided is applied to the realization flow of automobile, for convenience of explanation, only lists the part relevant to the embodiment of the present invention, describes in detail as follows:
As one embodiment of the present invention, step S300 comprises the following steps:
Step S301, according to this point of destination by closely to distance far away, this parking lot being carried out first time label according to the order of sequence;
Step S302, according to this first time, the sequence number of label according to the order of sequence sends this parking stall surplus query statement to this inquiry system successively;
Step S303, receives the parking stall surplus of this inquiry system feedback;
Step S304, carries out second time label according to the order of sequence from more to less according to this parking stall surplus to this parking lot;
Step S305, on this default map respectively by this first time the sequence number of label and this second time label according to the order of sequence according to the order of sequence sequence number be displayed in the position corresponding with this parking lot with the form that band is distinguished.
In embodiments of the present invention, parking stall embodiment querying method can obtain the parking lot within the scope of the predeterminable range of distance point of destination and parking stall residual content in real time, two kinds of sequences are carried out respectively according to Distance geometry parking stall quantity, user is allowed to select according to practical situation, greatly facilitate the place that car owner selects to stop, save the time of user, strengthen the experience of driving of user.
The real-time querying method in parking stall that Fig. 3 shows the embodiment of the present invention to be provided is applied to the flow process of inquiry system, for convenience of explanation, only lists the part relevant to the embodiment of the present invention, describes in detail as follows:
The method that the parking stall that the embodiment of the present invention provides is inquired about in real time, is applied to inquiry system, and the method comprises the following steps:
Step S400, obtains the point of destination of automobile and marks in default map;
Step S500, inquiry is gone forward side by side row labels the position in this default map apart from the parking lot of this point of destination predeterminable range;
Step S600, receives parking stall surplus query statement, according to the parking stall surplus in this this parking lot of surplus instructions query, parking stall and this parking stall balance information is fed back to this automobile.
In the embodiment of the present invention, this inquiry system is the system that parking stall, each big parking lot carries out online query, is convenient to user and inquires about the position and volume residual of knowing parking lot in real time.
Embodiment two:
The real-time querying method in parking stall that Fig. 4 shows second embodiment of the invention to be provided is applied to the realization flow of inquiry system, for convenience of explanation, only lists the part relevant to the embodiment of the present invention, describes in detail as follows:
As one embodiment of the present invention, step S600 comprises the following steps:
Step S601, inquires about the parking stall surplus in this parking lot successively according to this parking stall surplus instruction;
Step S602, successively feeds back to this automobile by much to few order according to this parking stall surplus.
In the embodiment of the present invention, this inquiry system is according to the query statement received, inquire about the parking stall surplus in this parking lot, this parking lot refers to parking lots all in the predeterminable range of distance point of destination, successively feed back to this automobile by much to few order according to this parking stall surplus, allow car owner can select parking lot and parking stall better.
Fig. 5 shows the skeleton construction of the automobile that the embodiment of the present invention provides, and for convenience of explanation, only lists the part relevant to the embodiment of the present invention, describes in detail as follows:
The automobile 1 that the embodiment of the present invention provides, comprising:
First acquiring unit 100, for obtaining the point of destination of automobile in default map;
First query unit 200, for online query apart from the parking lot of this point of destination predeterminable range the position in this default map;
First indexing unit 300, for position mark in this default map of the parking lot of this point of destination predeterminable range that carries out adjusting the distance;
Send unit 400, for sending parking stall surplus query statement to inquiry system;
Display unit 500, is displayed in the position corresponding with this parking lot for the parking stall surplus fed back by this inquiry system.
The embodiment of the present invention provide automobile corresponding with the embodiment that the real-time querying method in parking stall in above-described embodiment is applied to automobile, its principle of work and mode are all corresponding, here and subsequent embodiment just repeat no more.
As one embodiment of the present invention, send unit 400 and comprise:
First sequence subelement 401, for according to this point of destination by closely to distance far away, this parking lot being carried out for the first time label according to the order of sequence;
Send subelement 402, for according to this first time label according to the order of sequence sequence number send this parking stall surplus query statement to this inquiry system successively.
As one embodiment of the present invention, display unit 500 comprises:
Receive subelement 501, for receiving the parking stall surplus of this inquiry system feedback;
Second row sequence subelement 502, for carrying out second time label according to the order of sequence from more to less according to this parking stall surplus to this parking lot;
Display subelement 503, on this default map respectively by this first time sequence number and this second time label according to the order of sequence of label according to the order of sequence sequence number be displayed in the position corresponding with this parking lot with the form that band is distinguished.
Fig. 6 shows the skeleton construction of the inquiry system that the embodiment of the present invention provides, and for convenience of explanation, only lists the part relevant to the embodiment of the present invention, describes in detail as follows:
The inquiry system 2 that the embodiment of the present invention provides, comprising:
2nd acquiring unit 600, for obtaining the point of destination of automobile and mark in default map;
2nd query unit 700, for the position inquired about apart from the parking lot of this point of destination predeterminable range in this default map;
2nd indexing unit 800, for position mark in this default map of the parking lot of this point of destination predeterminable range that carries out adjusting the distance;
Receive unit 900, for receiving parking stall surplus query statement;
Query feedback unit 1000, for the parking stall surplus according to this this parking lot of surplus instructions query, parking stall and this parking stall balance information is fed back to this automobile.
The embodiment of the present invention provide inquiry system corresponding with the embodiment that the real-time querying method in parking stall in above-described embodiment is applied to inquiry system, its principle of work and mode are all corresponding, here and subsequent embodiment just repeat no more.
As one embodiment of the present invention, query feedback unit 1000 comprises:
Inquiry subelement 1001, for inquiring about the parking stall surplus in this parking lot successively according to this parking stall surplus instruction;
Feedback subelement 1002, successively feeds back to this automobile by much to few order according to this parking stall surplus.
In embodiments of the present invention, by the parking lot in inquiry distance point of destination predeterminable range and parking stall surplus, and mark in default map, enable car owner very fast find desirable parking stall, save the time of car owner, promote Urban traffic order. Corresponding function it will be appreciated by those skilled in the art that what each unit comprised for above-described embodiment just carried out according to function logic dividing, but it is not limited to above-mentioned division, as long as can be realized; In addition, the concrete title of each functional unit also just for the ease of mutual differentiation, is not limited to protection scope of the present invention.
Those of ordinary skill in the art it is also understood that, the all or part of step realized in above-described embodiment method can be completed by the hardware that program carrys out instruction relevant, described program can be stored in a computer read/write memory medium, described storage media, comprises ROM/RAM, disk, CD etc.
The foregoing is only the better embodiment of the present invention, not in order to limit the present invention, all any amendment, equivalent replacement and improvement etc. done within the spirit and principles in the present invention, all should be included within protection scope of the present invention.