CN109685575A - A kind of public transport driving range metering method and device - Google Patents
A kind of public transport driving range metering method and device Download PDFInfo
- Publication number
- CN109685575A CN109685575A CN201811594533.1A CN201811594533A CN109685575A CN 109685575 A CN109685575 A CN 109685575A CN 201811594533 A CN201811594533 A CN 201811594533A CN 109685575 A CN109685575 A CN 109685575A
- Authority
- CN
- China
- Prior art keywords
- location information
- bus
- passenger
- information
- public
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 230000005540 biological transmission Effects 0.000 claims abstract description 22
- 238000012545 processing Methods 0.000 claims description 30
- 238000004590 computer program Methods 0.000 claims description 10
- 230000000694 effects Effects 0.000 abstract description 8
- 230000032258 transport Effects 0.000 description 49
- 238000010586 diagram Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 5
- 235000013399 edible fruits Nutrition 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000006073 displacement reaction Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0283—Price estimation or determination
- G06Q30/0284—Time or distance, e.g. usage of parking meters or taximeters
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/10—Services
- G06Q50/26—Government or public services
Landscapes
- Business, Economics & Management (AREA)
- Development Economics (AREA)
- Strategic Management (AREA)
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Tourism & Hospitality (AREA)
- Finance (AREA)
- Economics (AREA)
- Marketing (AREA)
- Accounting & Taxation (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Entrepreneurship & Innovation (AREA)
- Educational Administration (AREA)
- Game Theory and Decision Science (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Human Resources & Organizations (AREA)
- Primary Health Care (AREA)
- Traffic Control Systems (AREA)
- Navigation (AREA)
Abstract
The present invention provides a kind of public transport driving range metering method and devices, which comprises receives the current location information for the intelligent electronic device that the intelligent electronic device is sent;Receive the current site information for the public bus that the public bus is sent;Acquisition is got on the bus instruction;Create order of riding;Receive first location information of the intelligent electronic device of the intelligent electronic device transmission within first time;Receive second location information of the public bus of the public bus transmission within first time;Obtain first distance;Obtain the boarding station number information of the intelligent electronic device;According to the boarding station number information of the intelligent electronic device, charging is carried out to the order by bus.Through the invention, it is low to solve intelligent public transport system degree, passenger is needed to swipe the card, the technical issues of influencing passenger getting on/off speed, reach intelligent reminding passenger, automated and have the records of distance by the log, and then shortened and get on or off the bus the time, improves the technical effect of public transportation efficiency.
Description
Technical field
The present invention relates to technical field of information processing more particularly to a kind of public transport driving range metering methods and device.
Background technique
Urban public transport be within the scope of city and its suburb, for convenience of Public Traveling, the trip carried out with passenger traffic equipment
Passenger traffic is defeated, important component of the urban public transport as urban transportation, to city political economy, culture and education, scientific skill
The influence on development of art etc. is very big and an importance of urban construction.Although public transport is not so good as Private Traffic work
Have riding convenience, but it has the advantages that the latter cannot compare, especially major public transportation main line, has ready conditions and go underground
High-speed cruising transports ultrahigh in efficiency.It is not only to solve the measure of urban traffic congestion, obstruction, while being also energy saving, improvement
Urban environment reduces the important channel of pollution.
But present inventor during inventive technique scheme, has found above-mentioned technology extremely in realizing the embodiment of the present application
It has the following technical problems less:
That there are intelligence degrees is low for existing public transport, needs passenger to swipe the card, the technology for influencing passenger getting on/off speed is asked
Topic.
Summary of the invention
The embodiment of the present invention solves intelligent public transport system journey by providing a kind of public transport driving range metering method and device
Spend it is low, the technical issues of needing passenger to swipe the card, influence passenger getting on/off speed, reached intelligent reminding passenger, automation have the records of distance by the log,
And then shorten and get on or off the bus the time, improve the technical effect of public transportation efficiency.
In view of the above problems, the embodiment of the present application is proposed in order to provide a kind of public transport driving range metering method and device.
In a first aspect, the method is applied to a smart electronics and sets the present invention provides a kind of public transport driving range metering method
It is standby, and the intelligent electronic device has positioning system, the intelligent electronic device is established logical by server and public bus
Letter connection, which comprises receive the site information for the public bus that the server is sent;According to the intelligence electricity
The positioning system of sub- equipment obtains the current location information of the passenger;Site information and the passenger when the public bus
Current location information it is identical when, acquisition is got on the bus instruction;According to the instruction of getting on the bus, order of riding is created;Receive the service
First location information of the public bus that device is sent within first time;According to the positioning system of the intelligent electronic device
Obtain second location information of the passenger within first time;If the first location information and the second location information
It is consistent within the first time, obtains first distance, the first distance is the first position and the second
Set the distance being consistent;Receive fiveth position of the public bus of the server transmission after the first time
Information;Obtain sixth location information of the passenger after the first time;Judge the 5th location information with it is described
Whether the 6th location information is identical;If the 5th location information is different from the 6th location information, according to described first
Distance obtains the boarding station number information of the passenger.
Preferably, described to judge whether the 5th location information and the 6th location information are identical, further includes: if
5th location information is identical as the 6th location information, continues to the order charging by bus.
Preferably, the method also includes: according to the boarding station number information of the passenger, the order by bus is counted
Take, and charging result is sent to the server.
Preferably, described when the site information of the public bus is identical as the current location information of the passenger, it obtains
Must get on the bus instruction, comprising: when the site information of the public bus is identical as the current location information of the passenger, receive institute
State the third place information of the public bus of server transmission before the first time;The passenger is obtained described
The 4th location information before first time;Judge whether the third place information and the 4th location information are identical;Such as
The third place information described in fruit is different from the 4th location information, obtains instruction of getting on the bus.
Preferably, the boarding station number information according to the passenger carries out charging to the order by bus, and by charging
As a result it is sent to the server, comprising: obtain the route number information of the public bus;By the route of the public bus
Number information is sent to the server;Receive the Freight Basis for the public bus that the server is sent;According to described
The Freight Basis of the boarding station number information of passenger, the public bus carries out charging to the order by bus, and by charging result
It is sent to the server.
Second aspect, the present invention provides a kind of self-service message accounting of public transport, described device includes: the first reception list
Member, first receiving unit receive the site information for the public bus that the server is sent;First obtains unit, institute
State the current location information that first obtains unit obtains the passenger according to the positioning system of the intelligent electronic device;Second obtains
Unit is obtained, when the site information of the public bus is identical as the current location information of the passenger, described second obtains list
Member obtains instruction of getting on the bus;First processing units, the first processing units are got on the bus instruction according to, and creation is ridden order;The
Two receiving units, second receiving unit receive first of the public bus of the server transmission within first time
Location information;Third obtaining unit, the third obtaining unit is according to the acquisition of the positioning system of the intelligent electronic device
Second location information of the passenger within first time;4th obtaining unit, if the first location information and the second
Confidence breath is consistent within the first time, and the 4th obtaining unit obtains first distance, and the first distance is institute
It states at a distance from first position and the second position be consistent;Third receiving unit, described in the third receiving unit receives
Fiveth location information of the public bus that server is sent after the first time;5th obtaining unit, described
Five obtaining units obtain sixth location information of the passenger after the first time;First judging unit, described first
Judging unit judges whether the 5th location information and the 6th location information are identical;6th obtaining unit, if described
5th location information is different from the 6th location information, and the 6th obtaining unit is according to the first distance, described in acquisition
The boarding station number information of passenger.
Preferably, first judging unit further include: the second processing unit, if the 5th location information with it is described
6th location information is identical, and described the second processing unit continues to the order charging by bus.
Preferably, described device further include: third processing unit, the third processing unit are ridden according to the passenger's
It stands number information, charging is carried out to the order by bus, and charging result is sent to the server.
Preferably, second obtaining unit includes: the 4th receiving unit, site information and institute when the public bus
State passenger current location information it is identical when, the 4th receiving unit receives the public bus that the server is sent and exists
The third place information before the first time;7th obtaining unit, the 7th obtaining unit obtain the passenger in institute
State the 4th location information before first time;Second judgment unit, the second judgment unit judge the third place letter
It ceases whether identical as the 4th location information;8th obtaining unit, if the third place information and the 4th position
Information is different, and the 8th obtaining unit obtains instruction of getting on the bus.
Preferably, the third processing unit includes: the 9th obtaining unit, and the 9th obtaining unit obtains described public
The route number information of bus;Fourth processing unit, the fourth processing unit is by the route number information of the public bus
It is sent to the server;5th receiving unit, the 5th receiving unit receive described public bar that the server is sent
The Freight Basis of scholar;5th processing unit, the 5th processing unit is according to the boarding station number information of the passenger, described public
The Freight Basis of bus carries out charging to the order by bus, and charging result is sent to the server.
The third aspect the present invention provides another public transport log arrangement, including memory, processor and is stored in
On memory and the computer program that can run on a processor, the processor perform the steps of when executing described program
Receive the site information for the public bus that the server is sent;It is obtained according to the positioning system of the intelligent electronic device
The current location information of the passenger;When the site information of the public bus is identical as the current location information of the passenger
When, obtain instruction of getting on the bus;According to the instruction of getting on the bus, order of riding is created;Receive described public bar that the server is sent
First location information of the scholar within first time;The passenger is obtained first according to the positioning system of the intelligent electronic device
Second location information in time;If the first location information is protected within the first time with the second location information
Hold consistent, obtain first distance, the first distance is the first position be consistent with the second position at a distance from;It connects
Receive fiveth location information of the public bus of the server transmission after the first time;The passenger is obtained to exist
The 6th location information after the first time;Judge the 5th location information and the 6th location information whether phase
Together;If the 5th location information is different from the 6th location information, according to the first distance, obtain the passenger's
Boarding station number information.
Said one or multiple technical solutions in the embodiment of the present application at least have following one or more technology effects
Fruit:
The embodiment of the present application provides a kind of public transport driving range metering method and device, and the method is applied to a smart electronics
Equipment, and the intelligent electronic device has positioning system, the intelligent electronic device is established by server and public bus
Communication connection, which comprises receive the site information for the public bus that the server is sent;According to the intelligence
The positioning system of electronic equipment obtains the current location information of the passenger;When the site information of the public bus multiplies with described
When the current location information of visitor is identical, instruction of getting on the bus is obtained;According to the instruction of getting on the bus, order of riding is created;Receive the clothes
First location information of the public bus that business device is sent within first time;According to the positioning system of the intelligent electronic device
System obtains second location information of the passenger within first time;If the first location information and the second confidence
Breath is consistent within the first time, obtains first distance, and the first distance is the first position and described second
The distance that position is consistent;Receive the 5th of the public bus of the server transmission after the first time
Confidence breath;Obtain sixth location information of the passenger after the first time;Judge the 5th location information and institute
Whether identical state the 6th location information;If the 5th location information is different from the 6th location information, according to described
One distance obtains the boarding station number information of the passenger.Through the invention, it is low to solve intelligent public transport system degree, needs
The technical issues of passenger swipes the card, and influences passenger getting on/off speed has reached intelligent reminding passenger, has automated and have the records of distance by the log, and then shortened
It gets on or off the bus the time, improves the technical effect of public transportation efficiency.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
Fig. 1 is a kind of flow diagram of public transport driving range metering method in the embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of public transport log arrangement in the embodiment of the present invention;
Fig. 3 is the structural schematic diagram of another public transport log arrangement in the embodiment of the present invention.
Specific embodiment
The embodiment of the present application provides a kind of public transport driving range metering method and device, and the method is applied to a smart electronics
Equipment, and the intelligent electronic device has positioning system, the intelligent electronic device is established by server and public bus
Communication connection, which comprises receive the site information for the public bus that the server is sent;According to the intelligence
The positioning system of electronic equipment obtains the current location information of the passenger;When the site information of the public bus multiplies with described
When the current location information of visitor is identical, instruction of getting on the bus is obtained;According to the instruction of getting on the bus, order of riding is created;Receive the clothes
First location information of the public bus that business device is sent within first time;According to the positioning system of the intelligent electronic device
System obtains second location information of the passenger within first time;If the first location information and the second confidence
Breath is consistent within the first time, obtains first distance, and the first distance is the first position and described second
The distance that position is consistent;Receive the 5th of the public bus of the server transmission after the first time
Confidence breath;Obtain sixth location information of the passenger after the first time;Judge the 5th location information and institute
Whether identical state the 6th location information;If the 5th location information is different from the 6th location information, according to described
One distance obtains the boarding station number information of the passenger.Through the invention, it is low to solve intelligent public transport system degree, needs
The technical issues of passenger swipes the card, and influences passenger getting on/off speed has reached intelligent reminding passenger, has automated and have the records of distance by the log, and then shortened
It gets on or off the bus the time, improves the technical effect of public transportation efficiency.
Technical solution of the present invention is described in detail below by attached drawing and specific embodiment, it should be understood that the application
Specific features in embodiment and embodiment are the detailed description to technical scheme, rather than to present techniques
The restriction of scheme, in the absence of conflict, the technical characteristic in the embodiment of the present application and embodiment can be combined with each other.
The terms "and/or", only a kind of incidence relation for describing affiliated partner, indicates that there may be three kinds of passes
System, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.In addition, herein
Middle character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or".
Embodiment one
Fig. 1 is a kind of flow diagram of public transport driving range metering method in the embodiment of the present invention.The method is applied to one
Intelligent electronic device, and the intelligent electronic device have positioning system, the intelligent electronic device by server with it is public
Bus establishes communication connection, which comprises
Step 110: receiving the site information for the public bus that the server is sent;
Specifically, the intelligent electronic device has positioning function, after user is logged into server, positioning function can be certainly
Dynamic starting, and obtain the real time position of user, electronic equipment location information obtained can by platform that client logs in or
It is sent to server by app, while the position of public bus can be also sent to server by the positioning system on public bus,
After server obtains the location information of user and the location information of public bus, nearest from user multiply can be recommended from trend user
Station point, while the information such as specific location and the arrival time point of public bus are pushed to user, it is for reference.Such as with
Family will take No. 12 buses, after user, which opens app, enters server, select No. 12 buses, server passes through user hand
The positioning system of machine obtains the specific location of user, judges that user is nearest from No. 12 buses by the specific location of user
Website have 500 meters, nearest site location and navigation information can be sent to user by server at this time, while by 12 tunnels public affairs
Friendship running position and the time point for reaching the website are sent to user, for reference.And then the time is saved for user, and have
Effect prevents user from detouring or missing bus.
Step 120: the current location information of the passenger is obtained according to the positioning system of the intelligent electronic device;
Specifically, the electronic equipment, which can be mobile phone, tablet computer, smartwatch that user uses etc., has positioning function
The electronic product of energy, the electronic product can be surfed the Internet by modes such as mobile network or wireless networks.The server can
It realizes the communication transfer between electronic product and public transport, and both sides is supervised, big data system can also be carried out
Meter analysis, to realize data synchronization and the unified management between electronic equipment and public transport.User can be by certainly
Oneself electronic product passes through the public transports such as server and public bus or subway from app or other service platforms
Connection, then the station that electronic equipment obtains public bus or subway that oneself needs to take by server can be used in user
The point information such as information and vehicle location.Server can also obtain the location information of consumer electronic devices simultaneously.Such as certain user
Want to take subway Line 1, while the user is logged into server using mobile phone app, can inquire subway Line 1 by app
The time of departure, by information such as the time of each website and current positions, which can refer to above- mentioned information reasonable arrangement
The time of oneself simultaneously selects the website nearest from oneself to take.
Step 130: when the site information of the public bus is identical as the current location information of the passenger, in acquisition
Vehicle instruction;Further, described when the site information of the public bus is identical as the current location information of the passenger, it obtains
Must get on the bus instruction, comprising: when the site information of the public bus is identical as the current location information of the passenger, receive institute
State the third place information of the public bus of server transmission before the first time;The passenger is obtained described
The 4th location information before first time;Judge whether the third place information and the 4th location information are identical;Such as
The third place information described in fruit is different from the 4th location information, obtains instruction of getting on the bus.
Specifically, server can obtain user and public bar in real time after user determines the public bus for needing to take
The location information of scholar, and judge whether user has got on the bus by the location information of user and public bus, if the server determine that
The position of user is not identical as the position of public bus, then can determine whether out that user does not get on the bus, when server is set by user's electronics
Standby positioning system determines that the position of user is website of waiting, and obtains public bus by the positioning system on public bus
When station, server can remind user to get on the bus in a manner of vibration, jingle bell or message notifying etc..Such as certain user need to take public affairs
Hand over No. 12 lines, and the user has arrived at station, prompting when Server Default is set as bus apart from 200 meters of station, then
When bus apart from station there are also at 200 meters, server can send prompt information to the electronic equipment of user's game server, mention
Awake user gets on the bus in time, prevents from missing bus.
Step 140: according to the instruction of getting on the bus, creating order of riding;
Specifically, server tentatively can judge that user gets on the bus at the station according to the instruction of getting on the bus sent to user, and to use
The independent order by bus of family creation, what the real-time positioning and public transport that server can be sent according to user mobile phone were sent
Whether real-time location determination user has got on the bus, if it is determined that user does not get on the bus, cancels the order.Such as certain user needs to take
No. 12 lines of public transport, server get user and have reached station, and vehicle distances station only has 200 meters, then server can be automatic
Reminder message is sent to user, while creating an order by bus for user, the starting point of the order is exactly the website where passenger,
If server gets vehicle and has run out website, and the position of user is still in the website, then server can be used automatically
Cancel the order in family.An identification device also is provided on bus, which can obtain the use of game server by server
The order whether family there is server to automatically generate, if certain user does not have order or not landed server, the user
Rear vehicle of getting on the bus can issue voice prompting or alarm, prompt the user that can not withhold, and user can be effectively prevent to steal a ride in this way.
Step 150: receiving first location information of the public bus of the server transmission within first time;
Step 160: second of the passenger within first time is obtained according to the positioning system of the intelligent electronic device
Location information;
Step 170: if the first location information and the second location information keep one within the first time
It causes, obtains first distance, the first distance is at a distance from the first position and the second position are consistent;
Specifically, server can pass through the positioning system and public transport of consumer electronic devices after user gets on the bus
Positioning system, while obtaining the location information of user and public transport, and pass through the position of user and public transport
Variation is set, whether onboard to determine user, when server determines that user is identical as the displacement of public transport, server is certainly
It is dynamic to determine that user has started to ride, and be user's charging since the position of creation order, pass through user and public transport
The change in location of joint displacement determines user's travel distance.Such as certain user needs to take bus, which passes through mobile phone app
Game server, server can automatically obtain the real time position of the user after user gets on the bus, and by determining on bus
Position device obtains the real time position of bus, when server determines the two position consistency, it may be determined that passenger onboard, and is led to
The common change in location of the two is crossed, further determines that passenger has sat how many stop.
Step 180: receiving fiveth position of the public bus of the server transmission after the first time
Information;
Step 190: obtaining sixth location information of the passenger after the first time;
Step 200: judging whether the 5th location information and the 6th location information are identical;Further, described
Judge whether the 5th location information and the 6th location information identical, further includes: if the 5th location information with
6th location information is identical, continues to the order charging by bus.
Specifically, server can obtain the location information of user all the time by the electronic equipment of user after user gets on the bus,
And the location information of public transport is obtained by the positioning system of public transport, when user location information with it is described
When the location information of public transport is consistent, server judges automatically user also onboard, and continues charging automatically for user,
When server identifies the location information of user in the position difference of a certain website and public transport, server can be automatic
The position for judging that user has got off, and being got on the bus by user and the position got off determine user distance and boarding station number by bus.
Such as server is positioned by the mobile phone of user and determines that user gets on the bus from the 2nd station of bus, then server can be created for user
An order by bus is built, the starting point of the order is the 2nd station of bus, while server can automatically obtain the real-time position of bus
It sets, whether also onboard user is judged by the real time position of bus and the position of user, after user gets off from the 10th station,
Server can will acquire the real time position of user at the 10th station, and bus has been sent to the 11st station, at this time the real-time position of user
Set different from the real time position of bus, then server determines that user gets off from the 10th station, and by the end of the order by bus of user
Point is determined as the 10th station, and then determines that user has taken 8 stops in total.
Step 210: if the 5th location information is different from the 6th location information, according to the first distance,
Obtain the boarding station number information of the passenger.Further, the method also includes: according to the boarding station number of the passenger believe
Breath carries out charging to the order by bus, and charging result is sent to the server.Further, described according to
The boarding station number information of passenger carries out charging to the order by bus, and charging result is sent to the server, comprising:
Obtain the route number information of the public bus;The route number information of the public bus is sent to the server;
Receive the Freight Basis for the public bus that the server is sent;According to boarding station number information, the public affairs of the passenger
The Freight Basis of bus altogether carries out charging to the order by bus, and charging result is sent to the server.
Specifically, prestoring the line information of each public transport, route number information, website letter in server
The information such as breath and charging regulation can automatically determine in user's order after server determines that user gets off from certain station
Boarding station number, and the information of vehicles taken by user, the automatic charging regulation and charging standard that the vehicle is matched for user,
With after the completion, server can be by the order progress by bus of the charging regulation of the vehicle of user's seating and charging standard and user
Match, and then calculate the expense that user takes the public transport, and takes off and multiply from the remaining sum of user or binding account
Fare is used.Such as certain user takes subway Line 1 by mobile phone app game server, has sat 6 stops in total, server determines
After the order by bus of the user, it is 2 yuan that the charging regulation for getting subway Line 1 automatically, which is in 4 stations, and 4 stations often surpass later
It crosses 1 station and increases by 0.5 yuan, then server can be automatically 3 yuan by the fare that this charging regulation calculates user.Server calculates use
After the expense by bus at family, withhold automatically from the account balance of user mobile phone app, if withholdd unsuccessfully, server be will continue to
It further withholds from the binding Send only Account of user app, if all withhold fails, server can automatically generate for user
One arrearage bill, if arrearage billing amount is more than the credit line of user, server can be refused to be generated for user automatically
Order, user will be unable to ride, not only user-friendly in this way, but also user's debt can be prevented excessive, influence public transport just
Often charge.
Embodiment 2
Based on inventive concept same as public transport driving range metering method a kind of in previous embodiment, the present invention also provides one kind
Public transport log arrangement, as shown in Fig. 2, described device includes: the first receiving unit 11, first receiving unit receives institute
State the site information of the public bus of server transmission;First obtains unit 12, the first obtains unit is according to
The positioning system of intelligent electronic device obtains the current location information of the passenger;Second obtaining unit 13, when described public bar
When the site information of scholar is identical as the current location information of the passenger, second obtaining unit obtains instruction of getting on the bus;First
Processing unit 14, the first processing units are got on the bus instruction according to, and creation is ridden order;Second receiving unit 15, it is described
Second receiving unit receives first location information of the public bus of the server transmission within first time;Third obtains
Unit 16 is obtained, the third obtaining unit obtains the passenger at the first time according to the positioning system of the intelligent electronic device
Interior second location information;4th obtaining unit 17, if the first location information is with the second location information described
Be consistent in first time, the 4th obtaining unit obtains first distance, the first distance be the first position with
The distance that the second position is consistent;Third receiving unit 18, the third receiving unit receive the server and send
Fiveth location information of the public bus after the first time;5th obtaining unit 19, the described 5th obtains list
Member obtains sixth location information of the passenger after the first time;First judging unit 20, first judgement are single
Member judges whether the 5th location information and the 6th location information are identical;6th obtaining unit 21, if the described 5th
Location information is different from the 6th location information, and the 6th obtaining unit obtains the passenger according to the first distance
Boarding station number information.
Further, first judging unit further include: the second processing unit, if the 5th location information and institute
It is identical to state the 6th location information, described the second processing unit continues to the order charging by bus.
Further, described device further include: third processing unit, third processing unit the multiplying according to the passenger
Station number information carries out charging to the order by bus, and charging result is sent to the server.
Further, second obtaining unit includes: the 4th receiving unit, when the public bus site information with
When the current location information of the passenger is identical, the 4th receiving unit receives the public bus that the server is sent
The third place information before the first time;7th obtaining unit, the 7th obtaining unit obtain the passenger and exist
The 4th location information before the first time;Second judgment unit, the second judgment unit judge the third place
Whether information and the 4th location information are identical;8th obtaining unit, if the third place information and described 4th
Confidence breath is different, and the 8th obtaining unit obtains instruction of getting on the bus.
Further, the third processing unit includes: the 9th obtaining unit, and the 9th obtaining unit obtains the public affairs
The route number information of bus altogether;Fourth processing unit, the fourth processing unit believe the route number of the public bus
Breath is sent to the server;5th receiving unit, the 5th receiving unit receive the described public of the server transmission
The Freight Basis of bus;5th processing unit, the 5th processing unit is according to boarding station number information, the public affairs of the passenger
The Freight Basis of bus altogether carries out charging to the order by bus, and charging result is sent to the server.
The various change mode and specific example of one of 1 embodiment 1 of earlier figures public transport driving range metering method are equally suitable
For a kind of public transport log arrangement of the present embodiment, by a kind of aforementioned detailed description to public transport driving range metering method,
Those skilled in the art are clear that a kind of implementation method of public transport log arrangement in the present embodiment, so in order to
Specification it is succinct, this will not be detailed here.
Embodiment 3
Based on inventive concept same as public transport driving range metering method a kind of in previous embodiment, the present invention also provides another
Kind public transport log arrangement, is stored thereon with computer program, which realizes one kind described previously when being executed by processor
The step of either public transport driving range metering method method.
Wherein, in Fig. 3, bus architecture (is represented) with bus 300, and bus 300 may include any number of interconnection
Bus and bridge, bus 300 will include the one or more processors represented by processor 302 and what memory 304 represented deposits
The various circuits of reservoir link together.Bus 300 can also will peripheral equipment, voltage-stablizer and management circuit etc. it
Various other circuits of class link together, and these are all it is known in the art, therefore, no longer carry out further to it herein
Description.Bus interface 306 provides interface between bus 300 and receiver 301 and transmitter 303.Receiver 301 and transmitter
303 can be the same element, i.e. transceiver, provide the unit for communicating over a transmission medium with various other devices.
Processor 302 is responsible for management bus 300 and common processing, and memory 304 can be used for storage processor
302 when executing operation used data.
Said one or multiple technical solutions in the embodiment of the present application at least have following one or more technology effects
Fruit:
The embodiment of the present application provides a kind of public transport driving range metering method and device, and the method is applied to a smart electronics
Equipment, and the intelligent electronic device has positioning system, the intelligent electronic device is established by server and public bus
Communication connection, which comprises receive the site information for the public bus that the server is sent;According to the intelligence
The positioning system of electronic equipment obtains the current location information of the passenger;When the site information of the public bus multiplies with described
When the current location information of visitor is identical, instruction of getting on the bus is obtained;According to the instruction of getting on the bus, order of riding is created;Receive the clothes
First location information of the public bus that business device is sent within first time;According to the positioning system of the intelligent electronic device
System obtains second location information of the passenger within first time;If the first location information and the second confidence
Breath is consistent within the first time, obtains first distance, and the first distance is the first position and described second
The distance that position is consistent;Receive the 5th of the public bus of the server transmission after the first time
Confidence breath;Obtain sixth location information of the passenger after the first time;Judge the 5th location information and institute
Whether identical state the 6th location information;If the 5th location information is different from the 6th location information, according to described
One distance obtains the boarding station number information of the passenger.Through the invention, it is low to solve intelligent public transport system degree, needs
The technical issues of passenger swipes the card, and influences passenger getting on/off speed has reached intelligent reminding passenger, has automated and have the records of distance by the log, and then shortened
It gets on or off the bus the time, improves the technical effect of public transportation efficiency.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (7)
1. a kind of public transport driving range metering method, which is characterized in that the method is applied to an intelligent electronic device, and the intelligence
Electronic equipment has positioning system, and the intelligent electronic device is established by server and public bus and communicated to connect, the side
Method includes:
Receive the site information for the public bus that the server is sent;
The current location information of the passenger is obtained according to the positioning system of the intelligent electronic device;
When the site information of the public bus is identical as the current location information of the passenger, instruction of getting on the bus is obtained;
According to the instruction of getting on the bus, order of riding is created;
Receive first location information of the public bus of the server transmission within first time;
Second location information of the passenger within first time is obtained according to the positioning system of the intelligent electronic device;
If the first location information is consistent within the first time with the second location information, obtain first away from
From, the first distance at a distance to be the first position with the second position be consistent;
Receive fiveth location information of the public bus of the server transmission after the first time;
Obtain sixth location information of the passenger after the first time;
Judge whether the 5th location information and the 6th location information are identical;
If the 5th location information is different from the 6th location information, according to the first distance, the passenger is obtained
Boarding station number information.
2. the method as described in claim 1, which is characterized in that judgement the 5th location information and the 6th position
Whether information is identical, further includes:
If the 5th location information is identical as the 6th location information, continue to the order charging by bus.
3. the method as described in claim 1, which is characterized in that the method also includes:
According to the boarding station number information of the passenger, charging is carried out to the order by bus, and charging result is sent to described
Server.
4. the method as described in claim 1, which is characterized in that the site information when the public bus and the passenger
Current location information it is identical when, acquisition is got on the bus instruction, comprising:
When the site information of the public bus is identical as the current location information of the passenger, receives the server and send
The third place information of the public bus before the first time;
Obtain fourth location information of the passenger before the first time;
Judge whether the third place information and the 4th location information are identical;
If the third place information is different from the 4th location information, instruction of getting on the bus is obtained.
5. method as claimed in claim 3, which is characterized in that the boarding station number information according to the passenger, to described
Order carries out charging by bus, and charging result is sent to the server, comprising:
Obtain the route number information of the public bus;
The route number information of the public bus is sent to the server;
Receive the Freight Basis for the public bus that the server is sent;
According to the boarding station number information of the passenger, the Freight Basis of the public bus, charging is carried out to the order by bus,
And charging result is sent to the server.
6. a kind of public transport log arrangement, which is characterized in that described device includes:
First receiving unit, first receiving unit receive the site information for the public bus that the server is sent;
First obtains unit, the first obtains unit obtain the passenger's according to the positioning system of the intelligent electronic device
Current location information;
Second obtaining unit, it is described when the site information of the public bus is identical as the current location information of the passenger
Second obtaining unit obtains instruction of getting on the bus;
First processing units, the first processing units are got on the bus instruction according to, and creation is ridden order;
Second receiving unit, second receiving unit receive the public bus of the server transmission within first time
First location information;
Third obtaining unit, the third obtaining unit obtain the passenger according to the positioning system of the intelligent electronic device and exist
Second location information in first time;
4th obtaining unit, if the first location information and the second location information keep one within the first time
It causes, the 4th obtaining unit obtains first distance, and the first distance is that the first position and the second position are kept
Consistent distance;
Third receiving unit, the third receiving unit receive the public bus of the server transmission at described first
Between after the 5th location information;
5th obtaining unit, the 5th obtaining unit obtain sixth position letter of the passenger after the first time
Breath;
First judging unit, first judging unit judge the 5th location information and the 6th location information whether phase
Together;
6th obtaining unit, if the 5th location information is different from the 6th location information, the 6th obtaining unit
According to the first distance, the boarding station number information of the passenger is obtained.
7. a kind of public transport log arrangement, including memory, processor and storage can transport on a memory and on a processor
Capable computer program, which is characterized in that the processor performs the steps of when executing described program
Receive the site information for the public bus that the server is sent;
The current location information of the passenger is obtained according to the positioning system of the intelligent electronic device;
When the site information of the public bus is identical as the current location information of the passenger, instruction of getting on the bus is obtained;
According to the instruction of getting on the bus, order of riding is created;
Receive first location information of the public bus of the server transmission within first time;
Second location information of the passenger within first time is obtained according to the positioning system of the intelligent electronic device;
If the first location information is consistent within the first time with the second location information, obtain first away from
From, the first distance at a distance to be the first position with the second position be consistent;
Receive fiveth location information of the public bus of the server transmission after the first time;
Obtain sixth location information of the passenger after the first time;
Judge whether the 5th location information and the 6th location information are identical;
If the 5th location information is different from the 6th location information, according to the first distance, the passenger is obtained
Boarding station number information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811594533.1A CN109685575A (en) | 2018-12-25 | 2018-12-25 | A kind of public transport driving range metering method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811594533.1A CN109685575A (en) | 2018-12-25 | 2018-12-25 | A kind of public transport driving range metering method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109685575A true CN109685575A (en) | 2019-04-26 |
Family
ID=66189557
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811594533.1A Pending CN109685575A (en) | 2018-12-25 | 2018-12-25 | A kind of public transport driving range metering method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109685575A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109729493A (en) * | 2018-12-27 | 2019-05-07 | 浙江言川科技有限公司 | A kind of driving range metering method and device based on public bus |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103198564A (en) * | 2013-03-12 | 2013-07-10 | 东莞宇龙通信科技有限公司 | Public transport system and public transport billing method |
CN108551651A (en) * | 2018-04-08 | 2018-09-18 | 深圳卡通新技术有限公司 | Bus block meter rate method based on mobile terminal |
-
2018
- 2018-12-25 CN CN201811594533.1A patent/CN109685575A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103198564A (en) * | 2013-03-12 | 2013-07-10 | 东莞宇龙通信科技有限公司 | Public transport system and public transport billing method |
CN108551651A (en) * | 2018-04-08 | 2018-09-18 | 深圳卡通新技术有限公司 | Bus block meter rate method based on mobile terminal |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109729493A (en) * | 2018-12-27 | 2019-05-07 | 浙江言川科技有限公司 | A kind of driving range metering method and device based on public bus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104021667B (en) | Integrate subscription services and the taxi dispatching system called a taxi in real time and scheduling method | |
CN103198564B (en) | Public transportation system and public transport charging method | |
US9159238B2 (en) | Location-aware selection of public transportation | |
CN106470236B (en) | Methods, devices and systems of calling a taxi based on mobile terminal | |
TW201303754A (en) | Taxi-calling service management system and server and device thereof | |
CN105957337A (en) | Order processing method and apparatus | |
CN108332765B (en) | Carpooling travel route generation method and device | |
CN105279955A (en) | Carpooling method and device | |
CN106228254A (en) | A kind of electric motor coach method for running based on global optimization | |
CN109685492A (en) | A kind of public transport mode of payment and device | |
CN109685577A (en) | A kind of self-service charging method of public transport and device | |
CN104185149B (en) | It is a kind of to realize the method and device interacted between on-vehicle positioning terminal | |
CN106250995A (en) | A kind of electric motor coach operation system based on global optimization and method | |
CN202871082U (en) | Taxi sharing system | |
CN105318878A (en) | Vehicle control method based on wireless terminal and the wireless terminal | |
CN106295817A (en) | A kind of for carrying out the method and apparatus dispatched of receiving lodgers in special line transportation system | |
CN109740807A (en) | A kind of method and apparatus for estimating the manned quantity of public bus | |
CN105632165A (en) | Intelligent dispatching system based on cloud platform | |
CN109685575A (en) | A kind of public transport driving range metering method and device | |
CN103533503B (en) | It is a kind of based on photograph to record obtain bus timetable method and system | |
CN109493629A (en) | A kind of information processing method and device being had the records of distance by the log based on public bus | |
CN109658202A (en) | A kind of self-service method and apparatus by bus based on public transport | |
CN109711826A (en) | A kind of public transport mode of payment and device | |
CN109711584A (en) | A kind of information processing method and device for deploying the manned quantity of public bus | |
CN204155463U (en) | A kind of bus platform display station board and public transport vehicle-mounted route board |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20190426 |
|
WD01 | Invention patent application deemed withdrawn after publication |