Invention content
The object of the present invention is to provide a kind of determination method and system of vehicles arrival time, solve the prior art
The technical problem of result inaccuracy in the acquisition method of middle vehicles arrival time.
In order to solve the above-mentioned technical problem, on the one hand, the present invention provides a kind of determination method of vehicles arrival time,
Including:
The image that terminal is sent is obtained, and identifies the vehicles in described image, described image is existed by the terminal
The vehicles are collected when arriving at a station;
Determine the terminal website that the vehicles reach when acquiring described image;
It determines the acquisition moment for getting described image, the station is reached using the acquisition moment as the vehicles
At the time of point.
Further, the determination terminal website that the vehicles reach when acquiring described image, specifically
For:
Obtain location information of the terminal when acquiring described image;
Based on the location information, the terminal website that the vehicles reach when acquiring described image is determined.
Further, described to be based on the location information, determine terminal traffic work when acquiring described image
Has the website reached, specially:
The distance between the location information and each website in default site database are calculated, as target range, often
One website corresponds to a target range;
With minimum target apart from corresponding website, as the terminal, when acquiring described image, the vehicles reach
Website.
Further, the terminal is mobile terminal, and obtaining the position by the locating module that the terminal carries believes
Breath.
Further, the vehicles in the identification described image, specially:
Feature extraction is carried out to described image, obtains area-of-interest;
Character recognition is carried out to the area-of-interest, obtains the circuit number of the vehicles in described image.
Further, the vehicles in the identification described image, specially:
Feature extraction is carried out to described image, obtains area-of-interest;
Character recognition is carried out to the area-of-interest, obtains the license plate number of the vehicles in described image.
On the other hand, the present invention provides a kind of determination system of vehicles arrival time, which is characterized in that including:
Server and multiple terminals, the server are connect with each terminal;
The server, the image sent for obtaining the terminal, and identify the vehicles in described image, it is described
Image is collected when the vehicles arrive at a station by the terminal;
Determine the terminal website that the vehicles reach when acquiring described image;
It determines the acquisition moment for getting described image, the station is reached using the acquisition moment as the vehicles
At the time of point.
In another aspect, the present invention provides a kind of electronic equipment for determining vehicles arrival time, including:
Memory and processor, the processor and the memory complete mutual communication by bus;It is described to deposit
Reservoir is stored with the program instruction that can be executed by the processor, and it is above-mentioned that the processor calls described program instruction to be able to carry out
Method.
Another aspect, the present invention provide a kind of computer program product, and the computer program product is non-including being stored in
Computer program in transitory computer readable storage medium, the computer program include program instruction, when described program refers to
When order is computer-executed, the computer is made to execute above-mentioned method.
Another aspect, the present invention provide a kind of computer readable storage medium, are stored thereon with computer program, the meter
Calculation machine program realizes above-mentioned method when being executed by processor.
The determination method and system of vehicles arrival time provided by the invention acquire image by terminal, and identify
Go out the vehicles in image, then obtain the website of vehicles arrival, so that it is determined that the arrival time of the vehicles, improves
The accuracy for determining vehicles arrival time, reduces cost.
Specific implementation mode
In order to keep the purpose, technical scheme and advantage of the embodiment of the present invention clearer, implement below in conjunction with the present invention
Attached drawing in example, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment
It is a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiment of the present invention, those of ordinary skill in the art
The every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Fig. 1 is the determination method schematic diagram of vehicles arrival time in the embodiment of the present invention, as shown in Figure 1, of the invention
Embodiment provides a kind of determination method of vehicles arrival time, including:
Step S10, the image that terminal is sent is obtained, and identifies the vehicles in described image, described image is by institute
It is collected when the vehicles arrive at a station to state terminal;
Step S20, the terminal website that the vehicles reach when acquiring described image is determined;
Step S30, it determines the acquisition moment for getting described image, the acquisition moment is arrived as the vehicles
At the time of up to the website.
Specifically, first, server obtains the image when vehicles that terminal is sent arrive at a station, and identifies in the image
The vehicles.That is, when the vehicles arrive at a station, the image when terminal taking vehicles arrive at a station, while by the image of shooting
It is sent to server.
After server obtains the image that terminal is sent, the image when vehicles that the terminal is sent arrive at a station can also be judged
Validity.That is, it is judged that can image recognition when being arrived at a station according to the vehicles go out the vehicles, image has if it can determine that
Effect, otherwise in vain.
Then, server determines the terminal website that the vehicles reach when acquiring described image.
Finally, it determines the acquisition moment for getting described image, the acquisition moment is reached as the vehicles
At the time of the website.
Preferably, the determination method of vehicles arrival time provided in an embodiment of the present invention is mainly used in bus and arrives
It stands the determination of time.Apply also for the determination of arrival of subway time.The embodiment of the present invention only by taking bus and subway as an example, and
The whole that the present invention implements the scope of application is not represented.
For example, at 10 points in the server morning receives the image that the bus arrival of terminal transmission is, and according to the image recognition
It is No. 88 buses to go out the bus, then, it is determined that the website that No. 88 buses reach is A websites, then can determine 88 tunnels public affairs
Vehicle is handed over to reach the time of A websites as at 10 points in the morning.
The determination method of vehicles arrival time provided by the invention acquires image by terminal, and identifies image
In the vehicles, then obtain the vehicles arrival website, so that it is determined that the arrival time of the vehicles, improves determining friendship
The accuracy of logical tool arrival time, reduces cost.
On the basis of the above embodiments, further, determination terminal friendship when acquiring described image
The website that logical tool reaches, specially:
Obtain location information of the terminal when acquiring described image;
Based on the location information, the terminal website that the vehicles reach when acquiring described image is determined.
Specifically, server is while obtaining the image that terminal is sent, it is also necessary to obtain terminal in acquisition described image
When location information.
Server analyzes the location information, obtains the traffic after obtaining the location information that terminal is sent
The website that tool reaches.
The determination method of vehicles arrival time provided by the invention acquires image by terminal, and identifies image
In the vehicles, then obtain the vehicles arrival website, so that it is determined that the arrival time of the vehicles, improves determining friendship
The accuracy of logical tool arrival time, reduces cost.
It is further, described to be based on the location information on the basis of the above various embodiments, determine that the terminal is being adopted
Collect the website that the vehicles reach when described image, specially:
The distance between the location information and each website in default site database are calculated, as target range, often
One website corresponds to a target range;
With minimum target apart from corresponding website, as the terminal, when acquiring described image, the vehicles reach
Website.
Specifically, after location information is sent to server by terminal, server needs to be judged according to the location information
The vehicles reach website.It is stored with the information of all websites in default site database in server, including site name,
The position etc. of website.The distance between each website in the location information and default site database that are sent by computing terminal,
As target range, each website corresponds to a target range.With minimum target apart from corresponding website, arrived as the vehicles
The website reached.
In addition, the location information that server can also send terminal is verified.That is, being with the location information that terminal is sent
The center of circle, using a certain preset value in the border circular areas of radius, to be matched by the site location stored in server, if server
For at least one in the website of middle storage in the border circular areas, server system assert that the location information that the terminal is sent has
Effect, the image when vehicles which sends arrive at a station is available, otherwise in vain.
If the location information that terminal is sent is effective, and image is also effective, then the location information sent based on terminal, and obtaining should
The website that the vehicles reach.
Furthermore it is also possible to be verified to the acquisition for the getting described image moment.After identifying the vehicles, pass through
The railroad embankment time for including in the line information of the vehicles is compared with the moment is obtained, if obtaining the moment in the line
Road service time range server system assert the terminal send location information and image it is effective, otherwise further determine for
In vain.
The determination method of vehicles arrival time provided by the invention acquires image by terminal, and identifies image
In the vehicles, then obtain the vehicles arrival website, so that it is determined that the arrival time of the vehicles, improves determining friendship
The accuracy of logical tool arrival time, reduces cost.
On the basis of the above various embodiments, further, the terminal is mobile terminal, is carried by the terminal
Locating module obtains the location information.
Specifically, in the embodiment of the present invention terminal figure when being mainly used for arriving at a station to the vehicles that server is sent
The location information of picture and terminal.Therefore, the type of terminal can be unrestricted.
Preferably, terminal is mobile intelligent terminal in the embodiment of the present invention, for example, smart mobile phone etc..Mobile intelligent terminal
User the image that the vehicles arrive at a station shot by the camera of mobile intelligent terminal, and carried by mobile intelligent terminal
Locating module obtains the location information of mobile intelligent terminal.By using mobile intelligent terminal, cost can be substantially reduced.
In addition, terminal can be fixedly mounted at the IP Camera of vehicles website.
The determination method of vehicles arrival time provided by the invention acquires image by terminal, and identifies image
In the vehicles, then obtain the vehicles arrival website, so that it is determined that the arrival time of the vehicles, improves determining friendship
The accuracy of logical tool arrival time, reduces cost.
On the basis of the above various embodiments, further, the vehicles in described image are identified, specially:
Feature extraction is carried out to described image, obtains area-of-interest;
Character recognition is carried out to the area-of-interest, obtains the circuit number of the vehicles in described image.
Specifically, the image when terminal arrives at a station the vehicles is sent to after server, server needs basis should
Image recognition goes out the vehicles.Under normal conditions, the vehicles, for example, the circuit number of bus is printed on bus
Car body outer surface obtains area-of-interest by image processing techniques to carrying out feature extraction to image.Then to interested
Region carries out character recognition, obtains the circuit number of bus.
The determination method of vehicles arrival time provided by the invention acquires image by terminal, and identifies image
In the vehicles, then obtain the vehicles arrival website, so that it is determined that the arrival time of the vehicles, improves determining friendship
The accuracy of logical tool arrival time, reduces cost.
On the basis of the above various embodiments, further, the vehicles in the identification described image, specially:
Feature extraction is carried out to described image, obtains area-of-interest;
Character recognition is carried out to the area-of-interest, obtains the license plate number of the vehicles in described image.
Specifically, the image when terminal arrives at a station the vehicles is sent to after server, server needs basis should
Image recognition goes out the vehicles.Under normal conditions, the vehicles, for example, the license plate number of bus or subway (from numbering)
It is printed on the car body outer surface of bus, the license plate number for identifying bus can be first passed through, then obtained again by license plate number
The circuit number of bus.
The image first sent according to terminal, determines the license plate number of the bus.Default car plate database in server
In be stored with license plate number and the one-to-one relationship of circuit number.According to the license plate number of bus, in default car plate database
Search the corresponding circuit number of the bus.
The determination method of vehicles arrival time provided by the invention acquires image by terminal, and identifies image
In the vehicles, then obtain the vehicles arrival website, so that it is determined that the arrival time of the vehicles, improves determining friendship
The accuracy of logical tool arrival time, reduces cost.
Fig. 2 is the determination system schematic of vehicles arrival time in the embodiment of the present invention, as shown in Fig. 2, of the invention
Embodiment provides a kind of determination system of vehicles arrival time, including:
Server 10 and multiple terminals 20 (terminal is only shown in figure), the server 10 and each terminal 20
Connection;
The server 10, the image for obtaining the transmission of the terminal 20, and identify the vehicles in described image,
Described image is collected when the vehicles arrive at a station by the terminal 20;
Determine the website that the vehicles reach when acquiring described image of the terminal 20;
It determines the acquisition moment for getting described image, the station is reached using the acquisition moment as the vehicles
At the time of point.
The embodiment of the present invention provides a kind of determination system of vehicles arrival time, for completing institute in above-described embodiment
The method stated, the acquisition system provided through this embodiment complete the specific steps of the method described in above-described embodiment with it is above-mentioned
Embodiment is identical, and details are not described herein again.
The determination system of vehicles arrival time provided by the invention acquires image by terminal, and identifies image
In the vehicles, then obtain the vehicles arrival website, so that it is determined that the arrival time of the vehicles, improves determining friendship
The accuracy of logical tool arrival time, reduces cost.
Fig. 3 is the structural schematic diagram of the electronic equipment for determining vehicles arrival time in the embodiment of the present invention, such as
Shown in Fig. 3, the equipment includes:Processor 801, memory 802 and bus 803;
Wherein, processor 801 and memory 802 complete mutual communication by the bus 803;
Processor 801 is used to call program instruction in memory 802, is provided with to execute above-mentioned each method embodiment
Method, such as including:
The image that terminal is sent is obtained, and identifies the vehicles in described image, described image is existed by the terminal
The vehicles are collected when arriving at a station;
Determine the terminal website that the vehicles reach when acquiring described image;
It determines the acquisition moment for getting described image, the station is reached using the acquisition moment as the vehicles
At the time of point.
The embodiment of the present invention discloses a kind of computer program product, and the computer program product is non-transient including being stored in
Computer program on computer readable storage medium, the computer program include program instruction, when described program instructs quilt
When computer executes, computer is able to carry out the method that above-mentioned each method embodiment is provided, such as including:
The image that terminal is sent is obtained, and identifies the vehicles in described image, described image is existed by the terminal
The vehicles are collected when arriving at a station;
Determine the terminal website that the vehicles reach when acquiring described image;
It determines the acquisition moment for getting described image, the station is reached using the acquisition moment as the vehicles
At the time of point.
The embodiment of the present invention provides a kind of non-transient computer readable storage medium, the non-transient computer readable storage
Medium storing computer instructs, and the computer instruction makes the computer execute the side that above-mentioned each method embodiment is provided
Method, such as including:
The image that terminal is sent is obtained, and identifies the vehicles in described image, described image is existed by the terminal
The vehicles are collected when arriving at a station;
Determine the terminal website that the vehicles reach when acquiring described image;
It determines the acquisition moment for getting described image, the station is reached using the acquisition moment as the vehicles
At the time of point.
One of ordinary skill in the art will appreciate that:Realize that all or part of step of above method embodiment can pass through
The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer read/write memory medium, the program
When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes:ROM, RAM, magnetic disc or light
The various media that can store program code such as disk.
The embodiments such as device and equipment described above are only schematical, wherein described be used as separating component explanation
Unit may or may not be physically separated, the component shown as unit may or may not be
Physical unit, you can be located at a place, or may be distributed over multiple network units.It can be according to the actual needs
Some or all of module therein is selected to achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying
In the case of performing creative labour, you can to understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
It is realized by the mode of software plus required general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on
Stating technical solution, substantially the part that contributes to existing technology can be expressed in the form of software products in other words, should
Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including several fingers
It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation
Method described in certain parts of example or embodiment.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
Present invention has been described in detail with reference to the aforementioned embodiments, it will be understood by those of ordinary skill in the art that:It still may be used
With technical scheme described in the above embodiments is modified or equivalent replacement of some of the technical features;
And these modifications or replacements, various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution spirit and
Range.