One kind is arrived at a station information-pushing method and its device
Technical field
The present invention relates to communication technical field, more particularly to one kind is arrived at a station information-pushing method and its device.
Background technology
Recently as the rise of smart city, wisdom public transport has obtained development energetically, largely facilitates people
Trip.Intelligent Public Transportation System (Advanced Public Transportation Systems, APTS) is to utilize
(General Packet Radio Service lead to for GPS (Global Positioning System, satellite fix), GPRS
With grouping service wireless), GIS (Geographic Information System, electronic chart) and computer information processing
Etc. technology, monitor in real time and intelligent dispatch commander are carried out to public transit vehicle, the operation of circuit and service.Meanwhile, the system is also
Can be connected with Traffic Signals in Urban Roads management system, road network real-time monitoring system etc., by condition of road surface, riding information
Real-time release is carried out by the electronic display on intelligent digital bus shelter, buses with information on services, for per trip
Passenger refers to.
But, user in use, generally requires to depend on the support energetically of hardware or software, such as user to need
Actively by downloading APP (Application, application on PC (Personal Computer, PC) or intelligent terminal
Program) inquiry bus routes knowing public transport operation situation, for working clan, start daily and stop APP, it appears particularly by
It is dynamic, although part APP can arrange arrival reminding, on condition that must assure that APP is normally run on backstage, once do not connect WIFI
(Wireless-Fidelity, Wireless Fidelity), APP will consumed flow produce expense, and in APP run durations, no matter appointing
What, as long as all public transport of set circuit meet the condition for arranging can all be reminded, until APP is exited manually time period
Till, the experience of user is largely have impact on, underaction is convenient.
The content of the invention
For the problems referred to above, information-pushing method and its device the invention provides one kind is arrived at a station are efficiently solved existing
The convenient technical problem of arrival reminding method underaction in technology.
The technical scheme that the present invention is provided is as follows:
One kind is arrived at a station information-pushing method, including:
S11 connects track traffic wireless network;
SSID (Service Set Identifier, service set) name query respective carters of the S21 according to connection
The newest information of calling out the stops of traffic order of classes or grades at school;
S31 is inquired about with the presence or absence of the trip rule log associated with the order of classes or grades at school track traffic according to termination number;
If there is the trip rule log of association, the information of calling out the stops recently inquired in determining whether step S21 in S41
Whether match with trip rule log, including the matching of arrive at a station platform and arrival time;
If S51 is mismatched, trip rule log is updated;
S61 pushes the information of arriving at a station of the order of classes or grades at school track traffic according to trip rule log.
In the technical program, directly by the record data of track traffic wireless network, user's trip requirements are analyzed,
Related information of arriving at a station is pushed to user with this, user's trip is reminded, is needed at PC ends when eliminating user's inquiry public bus network
Or the inconvenience that APP is brought to user on mobile terminal, is separately downloaded, and it is convenient and practical, bring advantage to the user.
It is further preferred that also including after step S31:
If S42 do not exist association trip rule log, further according to termination number inquire about with the presence or absence of with the order of classes or grades at school
The log by bus of track traffic association;
If S52 has the by bus log of association, whether what is inquired in determining whether step S21 calls out the stops information recently
Match with log by bus, including the matching of arrive at a station platform and arrival time;
If S62 is matched, the matching record pair time answered and the quantity for matching record in the log of riding is determined whether
Whether first is met pre-conditioned;
If S72 satisfactions first are pre-conditioned, professional etiquette rule log generated according to matching record data and is stored, redirected
To step S61.
In the technical program, if there is no trip rule log, corresponding trip is generated according to log by bus
Rule log, provides facility as user.
It is further preferred that in step S62, if the quantity of matching record is more than predetermined number, and matching record pair should
Time judge to meet first pre-conditioned in preset time period, then.
It is further preferred that also including after step S42:
If there is no the by bus log of association in S53, in the page input terminal number, the order of classes or grades at school of track traffic, arrive at a station
Name of station and arrival time information;
Also include after step S52:
If S63 mismatch, in the page input terminal number, the order of classes or grades at school of track traffic, arrive at a station name of station and arrival time
Information;
Also include after step S62:
If S73 be unsatisfactory for it is pre-conditioned, in the page input terminal number, the order of classes or grades at school of track traffic, arrive at a station name of station and
Arrival time information.
In the technical program, the mode that user manually can be input into sets up new record by bus, is brought up to this
Stand remind accuracy.
It is further preferred that also including after step S72, step S53 and step S63:
S73 searches the trip rule log associated with termination number;
If the newest information of calling out the stops in S83 trip logs meets the second pre-conditioned, deletion record;
S93 searches the log by bus associated with termination number;
If newest call out the stops information of the S103 by bus in log meets the 3rd pre-conditioned, deletion record, step is jumped to
Rapid S61.
In the technical program, the record of the demand that do not meet periodically is deleted, in order to avoid larger the arriving at a station of error thus occur carry
Wake up, improve the accuracy of arrival reminding.
It is further preferred that specifically including in step s 11:
S111 connects track traffic wireless network;
S112 input terminal numbers in the certification page for ejecting;
S113 is input into the identifying code obtained based on termination number in the certification page for ejecting, and completes authentication.
The information push-delivery apparatus present invention also offers one kind is arrived at a station, including:
Network connecting module, for connecting track traffic wireless network;
Enquiry module, after network connecting module connection upper rail traffic wireless network, for the SSID according to connection
The newest information of calling out the stops of name query respective carter traffic order of classes or grades at school, and for according to termination number inquire about with the presence or absence of with the order of classes or grades at school
The trip rule log of track traffic association;
Judge module, for judge that enquiry module inquires call out the stops recently information whether with trip rule log
Match somebody with somebody, including the matching of arrive at a station platform and arrival time;
Information updating module, for updating trip rule log according to the judged result of judge module;
Info push module, pushes the order of classes or grades at school track for the trip rule log after updating according to information updating module
The information of arriving at a station of traffic.
In the technical program, directly by the record data of track traffic wireless network, user's trip requirements are analyzed,
Related information of arriving at a station is pushed to user with this, user's trip is reminded, is needed at PC ends when eliminating user's inquiry public bus network
Or the inconvenience that APP is brought to user on mobile terminal, is separately downloaded, and it is convenient and practical, bring advantage to the user.
It is further preferred that the enquiry module is additionally operable to be inquired about with the presence or absence of handing over the order of classes or grades at school track according to termination number
The log by bus of clearance connection;
The judge module is additionally operable to judge that enquiry module inquires call out the stops recently information whether with log by bus
Match somebody with somebody, and whether the quantity for judging time for answering of matching record pair and matching record in the log of riding meets first and preset
Condition;
Also include record generation module in the information push-delivery apparatus that arrive at a station, the judged result for judge module will be inquired about
Module polls to matching record data generate professional etiquette rule log stored.
In the technical program, if there is no trip rule log, corresponding trip is generated according to log by bus
Rule log, provides facility as user.
It is further preferred that in judge module, if judging to match the quantity of record more than predetermined number and matching note
The corresponding time is recorded in preset time period, then judges that satisfaction first is pre-conditioned.
It is further preferred that in the information push-delivery apparatus that arrive at a station, also include input module,
Do not find and report recently when enquiry module does not find by bus log/enquiry module for associating with termination number
By bus log/the judge module of information matches of standing judges the time and matching record that matching record pair is answered in log by bus
Quantity be unsatisfactory for it is pre-conditioned, then by input module input terminal number, the order of classes or grades at school of track traffic, arrive at a station and name of station and arrive
Stand temporal information;
And/or, also include record deletion module in the information push-delivery apparatus that arrive at a station,
When according to the trip rule log associated with termination number, judge module judges that newest information of calling out the stops meets the
Two is pre-conditioned, then removing module deletes respective record;
When according to the log by bus associated with termination number, judge module judges that newest information satisfaction the 3rd of calling out the stops is pre-
If condition, then removing module deletes respective record.
In the technical program, the mode that user manually can be input into sets up new record by bus, meanwhile, periodically delete
Except the record of the demand that do not meet, the accuracy of arrival reminding is improved with this.
Description of the drawings
Below by the way of clearly understandable, preferred implementation is described with reference to the drawings, to above-mentioned characteristic, technical characteristic,
Advantage and its implementation are further described.
Fig. 1 is the information-pushing method schematic flow sheet that arrives at a station in the present invention;
Fig. 2 is a kind of embodiment schematic diagram of information push-delivery apparatus that arrives at a station in the present invention;
Fig. 3 is the information push-delivery apparatus another embodiment schematic diagram that arrives at a station in the present invention.
Fig. 4 is the information push-delivery apparatus another embodiment schematic diagram that arrives at a station in the present invention.
Drawing reference numeral explanation:
100- arrives at a station information push-delivery apparatus, 110- network connecting modules, 120- enquiry modules, 130- judge modules, 140-
Information updating module, 150- info push modules, 160- record generation modules, 170- input modules.
Specific embodiment
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below by control description of the drawings
The specific embodiment of the present invention.It should be evident that drawings in the following description are only some embodiments of the present invention, for
For those of ordinary skill in the art, on the premise of not paying creative work, can be obtaining other according to these accompanying drawings
Accompanying drawing, and obtain other embodiments.
The information-pushing method schematic flow sheet that arrives at a station of present invention offer is illustrated in figure 1, it can be seen that at this
The information-pushing method that arrives at a station includes:S11 connects track traffic wireless network;SSID name inquiry correspondences of the S21 according to connection
The newest information of calling out the stops of track traffic order of classes or grades at school;S31 is inquired about with the presence or absence of being associated with the order of classes or grades at school track traffic according to termination number
Trip rule log;If S41 has the trip rule log of association, what is inquired in determining whether step S21 is nearest
Whether information of calling out the stops is matched with trip rule log, including the matching of arrive at a station platform and arrival time;If S51 is mismatched, more
New trip rule log;S61 pushes the information of arriving at a station of the order of classes or grades at school track traffic according to trip rule log.Specifically, here
Track traffic include buses, subway etc., below by taking track traffic committee buses as an example.
During user's connection track traffic wireless network, checking is such as needed, is then input in the certification page for ejecting
Termination number (such as phone number) simultaneously sends it to corresponding authentication server;Authentication server receive the termination number it
Afterwards, identifying code is generated at random, and send it to terminal.After terminal receives the identifying code, authentication page is inputted immediately
Face is sent to authentication server, the identifying code for receiving is compared with the identifying code for generating with this authentication server, is realized
Certification to user identity, logins successfully;If certification is unsuccessful, user is pointed out to re-enter, reacquiring identifying code is carried out
Authentication.Certainly, if after user's connection track traffic wireless network, can directly log in without the need for checking, then directly redirect
To step S21.
After connection upper rail traffic wireless network, the SSID and termination number of connection are obtained immediately.Afterwards, according to this
SSID name inquires about the newest information of calling out the stops of corresponding buses order of classes or grades at school and the order of classes or grades at school buses (to be included arriving at a station and platform ST1 and arrives
Stand temporal information);Then, whether the user has been generated according to the buses order of classes or grades at school and termination number inquiry in data base
Trip rule log.If existing, determine whether the platform ST2 that goes on a journey in rule log whether with the platform that arrives at a station
ST1 is matched, if arriving at a station platform ST1 for platform ST2 or its adjacent platform, then it is assumed that the match is successful for platform, otherwise, matching not into
Work(.If the match is successful for platform, determine whether whether arrival time is consistent with the time period in trip rule log, if phase
Symbol, then update the newest information of calling out the stops in trip rule log, and this push terminates.Specifically, in the mistake of arrival time matching
Cheng Zhong, if the time period in trip rule log is 7:30-8:30, the time is called out the stops for 8:05, then it is assumed that be consistent.This it
Afterwards, according to trip rule log in record information, the public bus network buses before the platform ST2 in the log
When several stations, such as 5 station, judge that whether current time is the time period recorded in rule, if in the time period, carrying out information pushing;
If not processing in the time period, when user connects upper rail traffic wireless network by bus, circulation step S21.
Based on this, during the trip rule log for being related to the user whether has been generated in inquiry, if inquiry
Result for do not exist association trip rule log, then further according to termination number inquire about with the presence or absence of with the order of classes or grades at school track
The log by bus of traffic association.Similar, in matching platform ST2 and arrive at a station platform ST1/ matching arrival times and trip rule
During time period in log, if matching it is unsuccessful, equally further according to termination number inquire about with the presence or absence of with this
The log by bus of order of classes or grades at school track traffic association.
If inquiring the by bus log of correlation, determine whether platform ST2 in log by bus whether with station of arriving at a station
Platform ST1 is matched, if arriving at a station platform ST1 for platform ST2 or its adjacent platform, then it is assumed that the match is successful for platform, otherwise, matching is not
Success.If the match is successful for platform, determine whether whether arrival time is consistent with the time period in log by bus, if phase
Symbol, matches the quantity of above-mentioned condition record in calculating log of riding, if record strip number meets condition, such as larger than 3/5 etc.,
Then determine whether whether the time for meeting matching condition record meets condition, such as whether riding within for nearest 5 days/8 days
Data, if meeting condition, generate professional etiquette rule log according to matching record data and are stored.Generating professional etiquette rule note
During record table, a riding time section is automatically generated according to arrival time, for example, arrival time is 13:30, then will be by bus
Time period is set as 13:00-14:00, by that analogy.After trip rule log is generated, according in trip rule log
Record information, at the platform ST2 former station of the buses in the log, such as 5 station of the public bus network, when judging current
Between be whether the time period recorded in rule, if in the time period, carrying out information pushing;If not processing in the time period,
When user connects upper rail traffic wireless network by bus, circulation step S21.
Based on this, during the log by bus for being related to the user whether has been generated in inquiry, if the knot of inquiry
Fruit is the by bus log that there is no association, then in the page input terminal number, the order of classes or grades at school of track traffic, arrive at a station name of station and
Arrival time information is simultaneously stored in data base.It is similar, matching platform ST2 and arrive at a station platform ST1/ matching arrival times and
During time period in trip rule log, if matching is unsuccessful, equally in the page, input terminal number, track are handed over
Logical order of classes or grades at school, name of station and the arrival time information of arriving at a station simultaneously are stored in data base.Additionally, judging to ride to match in log
The time of the quantity/matching condition record of condition record whether meet it is pre-conditioned during, if be unsatisfactory for it is pre-conditioned, together
Sample input terminal number, the order of classes or grades at school of track traffic, name of station and the arrival time information of arriving at a station is stored in data base in the page
In.
In addition, after updating and preserving trip rule log/log of riding, further search in data base
The trip rule log associated with termination number;If the newest information satisfaction second of calling out the stops in trip log is pre-conditioned,
Be such as 10 days records before, then deletion record;Similarly, the record by bus that lookup is associated with termination number in data base
Table;If the newest information satisfaction the 3rd of calling out the stops by bus in log is pre-conditioned, such as it is 10 days records before, then deletes note
Record.After this, according to trip rule log in record information, the public bus network buses in the log
When the former stations of platform ST2, such as 5 station, judge that whether current time is the time period recorded in rule, if in the time period, carrying out
Information pushing.
A kind of 100 embodiment schematic diagram of information push-delivery apparatus that arrives at a station of present invention offer is provided, can from figure
To find out, include in the information push-delivery apparatus 100 that arrive at a station:Network connecting module 110, enquiry module 120, judge module 130,
Information updating module 140 and info push module 150, wherein, enquiry module 120 is connected with network connecting module 110, is judged
Module 130 is connected with enquiry module 120, and information updating module 140 is connected with judge module 130, info push module 150 and letter
Breath update module 140 connects.
In the course of the work, after by the connection upper rail traffic wireless network of network connecting module 110, acquisition immediately connects
The SSID for connecing and termination number.Afterwards, enquiry module 120 inquires about corresponding buses order of classes or grades at school and the order of classes or grades at school according to the SSID name
The newest information of calling out the stops (including arrive at a station platform ST1 and arrival time information) of buses;Then, enquiry module 120 is in data base
The middle trip rule log that the user whether has been generated according to the buses order of classes or grades at school and termination number inquiry.If existing,
Then judge module 130 judges whether the platform ST2 in professional etiquette rule log is matched with the platform ST1 that arrives at a station, if arriving at a station platform ST1
For platform ST2 or its adjacent platform, then it is assumed that the match is successful for platform, otherwise, match unsuccessful.If the match is successful for platform,
Judge module 130 determines whether whether arrival time is consistent with the time period in trip rule log, if being consistent, believes
Breath update module 140 updates the newest information of calling out the stops in trip rule log, and this push terminates.Specifically, in arrival time
During matching, if the time period in trip rule log is 7:30-8:30, the time is called out the stops for 8:05, then it is assumed that be consistent.
After this, according to the record information in trip rule log, at the station of the buses in the log of the public bus network
When the former stations of platform ST2, such as 5 station, judge that whether current time is the time period recorded in rule, if in the time period, information is pushed away
Module 150 is sent to push relevant information;If not processing in the time period, when user connects upper rail traffic wireless network by bus
During network, above-mentioned steps are circulated.
During user's connection track traffic wireless network, checking is such as needed, is then input in the certification page for ejecting
Termination number (such as phone number) simultaneously sends it to corresponding authentication server;Authentication server receive the termination number it
Afterwards, identifying code is generated at random, and send it to terminal.After terminal receives the identifying code, authentication page is inputted immediately
Face is sent to authentication server, the identifying code for receiving is compared with the identifying code for generating with this authentication server, is realized
Certification to user identity, logins successfully;If certification is unsuccessful, user is pointed out to re-enter, reacquiring identifying code is carried out
Authentication.
Above-mentioned embodiment is improved and obtains present embodiment, as shown in figure 3, in the present embodiment, this arrives at a station
Except including above-mentioned network connecting module 110, enquiry module 120, judge module 130, information updating in information push-delivery apparatus 100
Outside module 140 and info push module 150, also including record generation module 160.
In the above-described embodiment, inquire about whether generated the trip rule for being related to the user in enquiry module 120
During log, if to there is no association trip rule log, the further basis of enquiry module 120 in the result of inquiry
Termination number inquiry is with the presence or absence of the log by bus associated with the order of classes or grades at school track traffic.Similar, matching platform ST2 and arriving
During platform ST1/ matches the time period in arrival time and trip rule log, if matching is unsuccessful, equally enter
One step is inquired about with the presence or absence of the log by bus associated with the order of classes or grades at school track traffic according to termination number.
If enquiry module 120 inquires the log by bus of correlation, judge module 130 judges the station ridden in log
Whether platform ST2 is matched with the platform ST1 that arrives at a station, if arriving at a station platform ST1 for platform ST2 or its adjacent platform, then it is assumed that platform
With success, otherwise, match unsuccessful.If the match is successful for platform, judge module 130 determine whether arrival time whether with take advantage of
Time period in car log is consistent, and the quantity of above-mentioned condition record if being consistent, is matched in calculating log of riding, if record
Bar number meets condition, such as larger than 3/5 etc., then judge module 130 determines whether that the time for meeting matching condition record is
It is no to meet condition, such as whether the data by bus within for nearest 5 days/8 days, if meeting condition, record 160 basis of generation module
Matching record data generates professional etiquette rule log and is stored.During professional etiquette rule log is generated, according to arriving at a station
Time automatically generates a riding time section, and for example, arrival time is 13:30, then riding time section is set as into 13:00-14:
00, by that analogy.After trip rule log is generated, according to the record information in trip rule log, in the public transport line
When platform ST2 former station of the buses on road in the log, such as 5 station, judge that whether current time is to record in rule
Time period, if in the time period, info push module 150 pushes relevant information;If not processing in the time period, when with
When family connects upper rail traffic wireless network by bus, above-mentioned steps are circulated.
Above-mentioned embodiment is improved and obtains present embodiment, as shown in figure 4, in the present embodiment, this arrives at a station
Except including above-mentioned network connecting module 110, enquiry module 120, judge module 130, information updating in information push-delivery apparatus 100
Outside module 140, info push module 150 and record generation module 160, also including input module 170.
In the above-described embodiment, during whether inquiry has generated and be related to the by bus log of the user,
If the Query Result of enquiry module 120 is the log by bus that there is no association, it is input in the page by input module 170
Termination number, the order of classes or grades at school of track traffic, name of station and the arrival time information of arriving at a station simultaneously are stored in data base.It is similar,
With platform ST2 and during the time period arrived at a station in platform ST1/ matching arrival times and trip rule log, if matching
It is unsuccessful, again by input module 170 in the page input terminal number, the order of classes or grades at school of track traffic, arrive at a station and name of station and arrive
Temporal information of standing simultaneously is stored in data base.Additionally, quantity/matching condition that matching condition is recorded in log by bus is judged
The time of record whether meet it is pre-conditioned during, if be unsatisfactory for it is pre-conditioned, again by input module 170 in the page
Middle input terminal number, the order of classes or grades at school of track traffic, name of station and the arrival time information of arriving at a station simultaneously are stored in data base.
In addition, after updating and preserving trip rule log/log of riding, further search in data base
The trip rule log associated with termination number;If the newest information satisfaction second of calling out the stops in trip log is pre-conditioned,
Be such as 10 days records before, then removing module deletion record;Similarly, in data base search associate with termination number take advantage of
Car log;If the newest information satisfaction the 3rd of calling out the stops by bus in log is pre-conditioned, it is such as 10 days records before, then deletes
Except module deletion record.After this, according to the record information in trip rule log, exist in the buses of the public bus network
When the former stations of platform ST2 in the log, such as 5 station, judge that whether current time is the time period recorded in rule, if at this
Time period, info push module 150 carry out the push of relevant information.
It should be noted that above-described embodiment can independent assortment as needed.The above is only the preferred of the present invention
Embodiment, it is noted that for those skilled in the art, in the premise without departing from the principle of the invention
Under, some improvements and modifications can also be made, these improvements and modifications also should be regarded as protection scope of the present invention.