CN110400177A - Bus passenger trip information matching process, medium, equipment and device - Google Patents

Bus passenger trip information matching process, medium, equipment and device Download PDF

Info

Publication number
CN110400177A
CN110400177A CN201910683648.6A CN201910683648A CN110400177A CN 110400177 A CN110400177 A CN 110400177A CN 201910683648 A CN201910683648 A CN 201910683648A CN 110400177 A CN110400177 A CN 110400177A
Authority
CN
China
Prior art keywords
card
bus
record
swipe
swiping
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
Application number
CN201910683648.6A
Other languages
Chinese (zh)
Inventor
林旭
苏敏咸
王松辉
王伟鹏
李润
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Gnss Development Co Ltd
Original Assignee
Xiamen Gnss Development Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Xiamen Gnss Development Co Ltd filed Critical Xiamen Gnss Development Co Ltd
Priority to CN201910683648.6A priority Critical patent/CN110400177A/en
Publication of CN110400177A publication Critical patent/CN110400177A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0201Market modelling; Market analysis; Collecting market data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/40Business processes related to the transportation industry

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • General Physics & Mathematics (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Marketing (AREA)
  • Theoretical Computer Science (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Primary Health Care (AREA)
  • Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Health & Medical Sciences (AREA)
  • Educational Administration (AREA)
  • Data Mining & Analysis (AREA)
  • Game Theory and Decision Science (AREA)
  • Devices For Checking Fares Or Tickets At Control Points (AREA)

Abstract

The invention discloses a kind of bus passenger trip information matching process, medium, equipment and devices, and wherein method includes: the brushing card data for obtaining each bus passenger in predetermined period, and is ranked up according to the charge time in brushing card data to brushing card data;Trip data pair is constructed according to ranking results, wherein, trip data to include first by bus single swipe the card record and second by bus single swipe the card record, second by bus single swipe the card be recorded as with first by bus single swipe the card and record adjacent next single by bus and swipe the card record, and first by bus single swipe the card the last item being recorded as in predetermined period ride single swipe the card record when, second by bus the single first item being recorded as in predetermined period single of riding of swiping the card swipe the card record;It is matched according to trip data to bus station is carried out to generate the trip information of each bus passenger;It can be realized and the swipe the card trip information of the bus passenger under mode by bus of single is effectively matched, and the requirement for basic data is lower, is conducive to promote.

Description

Bus passenger trip information matching process, medium, equipment and device
Technical field
The present invention relates to public traffic information technical field, in particular to a kind of bus passenger trip information matching process, Medium, equipment and device.
Background technique
In the related technology, during carrying out the analysis of passenger's trip information according to the brushing card data of bus passenger, mostly it is For the city for being required to swipe the card of getting on the bus and get off, and its opening time for needing to obtain bus door in the analysis process, pass The information such as door time, it is more harsh for the demand of basic data.
However, a big chunk city is still swiped the card by bus using single in existing public transit vehicle Operating cities (i.e. in a riding process, it is only necessary to swipe the card when getting on the bus, without swiping the card when getting off), then passenger's trip in the related technology Information analysis method is difficult to effectively analyze the trip information of bus passenger, alternatively, to reach effective analysis, is spent The basis instrument deployment cost taken is extremely high.
Summary of the invention
The present invention is directed to solve one of the technical problem in above-mentioned technology at least to a certain extent.For this purpose, of the invention One purpose is to propose a kind of bus passenger trip information matching process, can be realized the public affairs swiped the card under mode by bus to single It hands over the trip information of passenger to be effectively matched, and the requirement for basic data is lower, is conducive to promote.
Second object of the present invention is to propose a kind of computer readable storage medium.
Third object of the present invention is to propose a kind of computer equipment.
Fourth object of the present invention is to propose a kind of bus passenger trip information coalignment.
In order to achieve the above objectives, first aspect present invention embodiment proposes a kind of bus passenger trip information match party Method, comprising the following steps: obtain the brushing card data of each bus passenger in predetermined period, and according to the brush in the brushing card data The card time is ranked up the brushing card data, wherein the brushing card data includes that the single by bus of bus passenger is swiped the card record; According to the trip data pair of the ranking results of brushing card data building every time by bus, wherein the trip data is to including the One by bus single swipe the card record and second by bus single swipe the card record, the described second single of riding is swiped the card and is recorded as and described first Single, which is swiped the card, by bus records adjacent next single by bus and swipes the card record, and described in described first, single is swiped the card and is recorded as by bus Last item in predetermined period single of riding is swiped the card when recording, described second by bus single swipe the card and be recorded as in the predetermined period First item single of riding is swiped the card record;The matching of progress bus station is gone out with generating each bus passenger according to the trip data Row information.
Bus passenger trip information matching process according to an embodiment of the present invention, firstly, obtaining each public affairs in predetermined period The brushing card data of passenger is handed over, and brushing card data is ranked up according to the charge time in brushing card data, wherein brushing card data packet The single by bus for including bus passenger is swiped the card record;Then, the line number out according to the building of the ranking results of brushing card data every time by bus According to right, wherein trip data to include first by bus single swipe the card record and second by bus single swipe the card record, the second list by bus It is secondary swipe the card be recorded as with first by bus single swipe the card and record adjacent next single by bus and swipe the card record, and ride single first The last item being recorded as in predetermined period of swiping the card single of riding is swiped the card when recording, second by bus single swipe the card and be recorded as in predetermined period First item single of riding swipe the card record;To by sequence after brushing card data, establish bus passenger swipe the card every time record in multiply Objective single swipe the card record with the corresponding word of passenger next time swipe the card record between association, with complete completely multiply comprising public transport The building of the trip data pair of car data and lower car data on visitor, then, according to trip data to carry out bus station matching with Generate the trip information of each bus passenger;To realize the trip information of the bus passenger swiped the card under mode by bus to single into Row is effectively matched, and the requirement for basic data is lower, is conducive to promote.
In addition, the bus passenger trip information matching process proposed according to that above embodiment of the present invention can also have it is as follows Additional technical characteristic:
Optionally, the brushing card data further includes that line information and the single by bus swipe the card and record corresponding website letter of swiping the card Breath, wherein matched according to the trip data to bus station is carried out to generate the trip information of each bus passenger, comprising: According to described first by bus single swipe the card record line information and described second by bus single swipe the card record swipe the card website letter Breath judge described first by bus single all websites corresponding to the line information of record of swiping the card whether there is and described second ride Single, which is swiped the card, records corresponding website of swiping the card;If it is present according to described first by bus single swipe the card record route believe Breath, described first by bus single swipe the card record it is corresponding swipe the card website and described second by bus single swipe the card record it is corresponding Website of swiping the card judge described first by bus single swipe the card and record the station sequence of corresponding website of swiping the card and whether be less than described second and multiply Vehicle single, which is swiped the card, records the station sequence of corresponding website of swiping the card;If so, determination described first is ridden, single, which is swiped the card, records correspondence Trip data to successful match, and according to the trip data of successful match to the trip information for generating each bus passenger.
Optionally, the trip letter of each bus passenger is generated to bus station matching is carried out according to the trip data Breath, further includes: if described first single is swiped the card by bus that there is no described for all websites corresponding to the line information of record Two by bus single swipe the card and record corresponding website of swiping the card, then obtain described first by bus single swipe the card the line information institute of record The location information of corresponding all websites and described second by bus single swipe the card and record the location information of corresponding website of swiping the card, And according to described first by bus single swipe the card the location information of all websites corresponding to the line information of record and described second By bus single swipe the card record corresponding website of swiping the card location information obtain described first by bus single swipe the card the route of record In all websites corresponding to information with described second by bus single swipe the card and record corresponding website of swiping the card apart from the smallest station Point;Judge it is described apart from the smallest website with described second by bus single swipe the card and record corresponding the distance between website of swiping the card Whether pre-determined distance threshold value is less than;If it is, according to it is described apart from the smallest website to described second by bus single swipe the card note Record is modified, so as to according to described first by bus single swipe the card record line information, described first by bus single swipe the card note Record it is corresponding swipe the card website and modified second by bus single swipe the card and record corresponding website of swiping the card and judge described first By bus single swipe the card record corresponding website of swiping the card station sequence whether be less than modified second by bus single swipe the card and record institute The station sequence of corresponding website of swiping the card.
Optionally, when it is described apart from the smallest website with described second by bus single swipe the card and record corresponding website of swiping the card The distance between be more than or equal to pre-determined distance threshold value when, obtain the history brushing card data of the bus passenger, and go through according to described History brushing card data carry out described second by bus single swipe the card the matching of site information of swiping the card in record.
Optionally, when the brushing card data of the bus passenger got in the predetermined period is unique, then by unique brush Card data as first by bus single swipe the card record, and obtain the history brushing card data of the bus passenger, and go through according to described History brushing card data carry out described second by bus single swipe the card the matching of site information of swiping the card in record.
In order to achieve the above objectives, second aspect of the present invention embodiment proposes a kind of computer readable storage medium, thereon It is stored with bus passenger trip information matcher, is realized such as when which is executed by processor Above-mentioned bus passenger trip information matching process.
Computer readable storage medium according to an embodiment of the present invention matches journey by storage bus passenger trip information Sequence, such bus passenger trip information matcher realize such as above-mentioned bus passenger trip information when being executed by processor Method of completing the square is effectively matched the swipe the card trip information of the bus passenger under mode by bus of single to realize, and for base The requirement of plinth data is lower, is conducive to promote.
In order to achieve the above objectives, third aspect present invention embodiment proposes a kind of computer equipment, including memory, place The computer program managing device and storage on a memory and can running on a processor, which is characterized in that processor executes program When, realize such as above-mentioned bus passenger trip information matching process.
Computer equipment according to an embodiment of the present invention executes such as above-mentioned bus passenger trip information by processor Method of completing the square is effectively matched the swipe the card trip information of the bus passenger under mode by bus of single to realize, and for basis The requirement of data is lower, is conducive to promote.
In order to achieve the above objectives, fourth aspect present invention embodiment proposes a kind of bus passenger trip information matching dress It sets, comprising: module is obtained, for obtaining the brushing card data of each bus passenger in predetermined period, and according to the brushing card data In charge time the brushing card data is ranked up, wherein the brushing card data include bus passenger by bus single brush Card record;Module is constructed, for the trip data pair according to the building of the ranking results of the brushing card data every time by bus, wherein The trip data to include first by bus single swipe the card record and second by bus single swipe the card record, described second rides single Swipe the card be recorded as with described first by bus single swipe the card and record adjacent next single by bus and swipe the card record, and multiply described first The vehicle single last item being recorded as in predetermined period single of riding of swiping the card is swiped the card when recording, described second by bus single swipe the card note Record is that first item in predetermined period single of riding is swiped the card record;Matching module is used for according to the trip data to progress Bus station is matched to generate the trip information of each bus passenger.
Bus passenger trip information coalignment according to an embodiment of the present invention obtains module in predetermined period to each The brushing card data of bus passenger is obtained, and is ranked up according to the charge time in brushing card data to brushing card data, wherein Brushing card data includes that the single by bus of bus passenger is swiped the card record;Building module carries out public transport according to the brushing card data after sequence and multiplies The building of the trip data pair of visitor every time by bus, construct the trip data of completion to include first by bus single swipe the card record and the Two by bus single swipe the card record, second by bus single swipe the card be recorded as with first by bus single swipe the card and record adjacent next ride Single is swiped the card record, and first by bus single swipe the card the last item being recorded as in predetermined period ride single swipe the card record when, the Two by bus the single first item being recorded as in predetermined period single of riding of swiping the card swipe the card record;To pass through the number of swiping the card after sequence According to establishing the bus passenger record of swiping the card of passenger's single in record of swiping the card every time and swipe the card with the corresponding word of passenger next time and record it Between association match mould to complete the building completely comprising the trip data pair of car data and lower car data on bus passenger Matching of the trip data that root tuber is completed according to building to bus station is carried out, to generate each bus passenger after matching is completed Trip information;The swipe the card trip information of the bus passenger under mode by bus of single is effectively matched to realize, and right It is lower in the requirement of basic data, it is conducive to promote.
In addition, the bus passenger trip information coalignment proposed according to that above embodiment of the present invention can also have it is as follows Additional technical characteristic:
Optionally, the brushing card data further includes that line information and the single by bus swipe the card and record corresponding website letter of swiping the card Breath, wherein matched according to the trip data to bus station is carried out to generate the trip information of each bus passenger, comprising: According to described first by bus single swipe the card record line information and described second by bus single swipe the card record swipe the card website letter Breath judge described first by bus single all websites corresponding to the line information of record of swiping the card whether there is and described second ride Single, which is swiped the card, records corresponding website of swiping the card;If it is present according to described first by bus single swipe the card record route believe Breath, described first by bus single swipe the card record it is corresponding swipe the card website and described second by bus single swipe the card record it is corresponding Website of swiping the card judge described first by bus single swipe the card and record the station sequence of corresponding website of swiping the card and whether be less than described second and multiply Vehicle single, which is swiped the card, records the station sequence of corresponding website of swiping the card;If so, determination described first is ridden, single, which is swiped the card, records correspondence Trip data to successful match, and according to the trip data of successful match to the trip information for generating each bus passenger.
Optionally, the trip letter of each bus passenger is generated to bus station matching is carried out according to the trip data Breath, further includes: if described first single is swiped the card by bus that there is no described for all websites corresponding to the line information of record Two by bus single swipe the card and record corresponding website of swiping the card, then obtain described first by bus single swipe the card the line information institute of record The location information of corresponding all websites and described second by bus single swipe the card and record the location information of corresponding website of swiping the card, And according to described first by bus single swipe the card the location information of all websites corresponding to the line information of record and described second By bus single swipe the card record corresponding website of swiping the card location information obtain described first by bus single swipe the card the route of record In all websites corresponding to information with described second by bus single swipe the card and record corresponding website of swiping the card apart from the smallest station Point;Judge it is described apart from the smallest website with described second by bus single swipe the card and record corresponding the distance between website of swiping the card Whether pre-determined distance threshold value is less than;If it is, according to it is described apart from the smallest website to described second by bus single swipe the card note Record is modified, so as to according to described first by bus single swipe the card record line information, described first by bus single swipe the card note Record it is corresponding swipe the card website and modified second by bus single swipe the card and record corresponding website of swiping the card and judge described first By bus single swipe the card record corresponding website of swiping the card station sequence whether be less than modified second by bus single swipe the card and record institute The station sequence of corresponding website of swiping the card.
Detailed description of the invention
Fig. 1 is the flow diagram according to the bus passenger trip information matching process of the embodiment of the present invention;
Fig. 2 is to acquire schematic diagram according to the public bus network and brushing card data of the embodiment of the present invention;
Fig. 3 is the flow diagram according to the bus passenger trip information matching process of another embodiment of the present invention;
Fig. 4 is the brushing card data structural schematic diagram according to the embodiment of the present invention;
Fig. 5 is the flow diagram according to the bus passenger trip information matching process of further embodiment of this invention;
Fig. 6 is the block diagram according to the bus passenger trip information coalignment of the embodiment of the present invention.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, it is intended to is used to explain the present invention, and is not considered as limiting the invention.
In the related technology, passenger's trip information analysis method is difficult to going out for the bus passenger swiped the card under mode by bus to single Row information is effectively analyzed, and implementation cost is higher;Bus passenger trip information match party according to an embodiment of the present invention Method goes out line number by acquiring the brushing card data of bus passenger, and according to what brushing card data carried out that corresponding bus passenger rides behavior According to pair reasonable construction, and according to building complete trip data to carry out website matching with generate bus passenger trip letter Breath;The swipe the card trip information of the bus passenger under mode by bus of single is effectively matched to realize, and for basis The requirement of data is lower, is conducive to promote.
In order to better understand the above technical scheme, the exemplary reality that the present invention will be described in more detail below with reference to accompanying drawings Apply example.Although showing exemplary embodiment of the present invention in attached drawing, it being understood, however, that may be realized in various forms this hair It is bright and should not be limited by the embodiments set forth herein.It is to be able to thoroughly understand this on the contrary, providing these embodiments Invention, and the scope of the present invention can be fully disclosed to those skilled in the art.
In order to better understand the above technical scheme, in conjunction with appended figures and specific embodiments to upper Technical solution is stated to be described in detail.
Fig. 1 is according to the flow diagram of the bus passenger trip information matching process of the embodiment of the present invention, such as Fig. 1 institute Show, the bus passenger trip information matching process the following steps are included:
S101 obtains the brushing card data of each bus passenger in predetermined period, and according to the charge time in brushing card data to brush Card data are ranked up, wherein brushing card data includes that the single by bus of bus passenger is swiped the card record.
That is, being obtained within the preset period to the brushing card data of each bus passenger, and every getting After the brushing card data of a bus passenger, brushing card data is ranked up according to charge time corresponding to each brushing card data, Wherein, brushing card data includes that the single by bus of bus passenger is swiped the card record, and the single that should ride record of swiping the card refers to bus passenger Single in a riding process is swiped the card record.
Wherein, the information that brushing card data is included can there are many, for example, brushing card data may include operating organization letter Breath, public bus information, card swiping device information, public transport card information, line information are (for example, circuit number and current bus Row information etc. up and down corresponding to driving process), site information of swiping the card etc..
Wherein, the acquisition modes of brushing card data can there are many.
As an example, firstly, establishing the corresponding relationship between each bus and card swiping device mounted thereto, Then, when bus passenger is taken pubic transport using bus card, by its bus card, (bus card is associated with user's information and sells Square information) it is presented to corresponding card swiping device and is scanned, card swiping device is obtained by scanning information included in bus card, And information included in current time, card swiping device ID and bus card is sent to server, to complete brushing card data It obtains.
As another example, firstly, pre-processing to public bus network site information, and it is updated periodically public transport line Road site information, to guarantee the timeliness of data;Then, it establishes between each bus and card swiping device mounted thereto Corresponding relationship, thus, subsequent server can obtain corresponding public transport by the corresponding relationship when receiving card swiping device ID Vehicle information, line information of the bus operation etc.;Then, the GPS data of each bus in the process of moving is carried out real When acquisition, know the website that bus is currently stopped so as to the real-time GPS data according to bus, and according to this GPS data obtains bus currently upper and lower row information;Then, when bus passenger is swiped the card using its bus card, Ke Yitong It crosses card swiping device and obtains the information stored in the bus card, it in turn, can be according to information, the public affairs stored in the bus card got It hands over the real-time GPS data of vehicle, current time, card swiping device ID to carry out bus passenger to get on the bus the matching of website, be multiplied with completing public transport The acquisition of the complete brushing card data of visitor.
Therefore, the specific acquisition modes of brushing card data are not defined herein.
S102, according to the trip data pair of the ranking results of brushing card data building every time by bus, wherein trip data is to packet Include first by bus single swipe the card record and second by bus single swipe the card record, the second single of riding swipes the card and is recorded as riding with first Single, which is swiped the card, to be recorded adjacent next single by bus and swipes the card record, and is swiped the card and be recorded as in predetermined period in the first single of riding Last item single of riding is swiped the card when recording, second by bus the single first item being recorded as in predetermined period single of riding of swiping the card swipe the card note Record.
That is, after being ranked up according to charge time to brushing card data, according to the brushing card data after sequence into The building of the trip data pair of row bus passenger every time by bus, it can be seen from the above, the brushing card data of the bus passenger includes public transport The single by bus of passenger is swiped the card record, in other words, the site information of getting on the bus of bus passenger can be known according to brushing card data matching, and The get-off stop information of bus passenger can not be directly known by the brushing card data got;To according to swiping the card after sequence Data establish trip data pair, trip data to include first by bus single swipe the card record and second by bus single swipe the card record, Second by bus single swipe the card be recorded as with first by bus single swipe the card and record adjacent next single by bus and swipe the card record, will be public Next single by bus of passenger record of swiping the card is handed over to swipe the card the record of swiping the card of getting off of record as upper one single of riding;And multiply first The vehicle single last item being recorded as in predetermined period single of riding of swiping the card is swiped the card when recording, second by bus single swipe the card and be recorded as presetting First item in period single of riding is swiped the card record, to avoid last record of swiping the card that from can not constructing the situation of trip data pair.
As an example, as shown in Fig. 2, in a bus operation route, the station passed through during bus uplink Point includes " A-B-C-D-E ", and the website passed through during bus downlink includes " F-D-C-B-A ";Pass through the public affairs got The brushing card data on the day of passenger is handed over it is found that producing brushing card data twice on the day of the bus passenger (is 8:00 comprising charge time Brushing card data S1 and charge time be 18:00 brushing card data S2), thus, according to the charge time of brushing card data twice into Row sequence generates brushing card data and sorts S1-S2, and it is each according to the brushing card data twice of the bus passenger to establish the bus passenger Trip data by bus is to " S1-S2 ", " S2-S1 ", wherein is recorded as this because the single by bus in brushing card data S2 is swiped the card and multiplies The last item on objective same day single of riding is swiped the card record, then according to the end, item single of riding is swiped the card and recorded and first item single of riding is swiped the card note The trip data that record building this time of public transport is ridden is to " S2-S1 ";The trip data pair of bus passenger every time by bus is completed with this Building.
S103 is matched according to trip data to bus station is carried out to generate the trip information of each bus passenger.
In other words, after trip data completes building, the trip data completed according to building is to progress bus station Matching, so as to the trip information according to the trip data of successful match to each bus passenger of generation.
Wherein, it is matched in a manner of generating the trip information of each bus passenger according to trip data to bus station is carried out Can there are many.
As an example, according to the first of trip data centering by bus single swipe the card record obtain this first by bus single Swipe the card and record all websites included in corresponding all routes, and according to all websites and second by bus single swipe the card Record corresponding website judge second by bus the single website corresponding to recording of swiping the card whether be included in all websites, if It is then to judge the trip data to successful match.
As another example, as shown in Fig. 2, constructing trip according to the brushing card data on the day of the bus passenger got After data are to " S1-S2 ", " S2-S1 ", judge that brushing card data S2 institute is right according to line information included in brushing card data S1 The website answered whether there is in all websites corresponding to the line information, if it is, judging that trip data matches S1-S2 Success, according to line information included in brushing card data S2 judge brushing card data S1 corresponding to website whether there is the route In all websites corresponding to information, if it is, judging trip data to S2-S1 successful match.
In some embodiments, in order to further increase the bus passenger trip information matching process institute of the embodiment of the present invention The accuracy of the trip information of the bus passenger of generation improves the property of can refer to of the trip information of the bus passenger after matching, this In the bus passenger trip information matching process of inventive embodiments, brushing card data further includes line information and single is swiped the card note by bus Record corresponding site information of swiping the card, wherein as shown in figure 3, each to generate to bus station matching is carried out according to trip data The trip information of bus passenger, comprising:
S201, according to first by bus single swipe the card record line information and second by bus single swipe the card record swipe the card website letter Breath judge first by bus single swipe the card all websites corresponding to the line information of record with the presence or absence of second ride single swipe the card The corresponding website of swiping the card of record.
As an example, as shown in figure 4, may include bus passenger in brushing card data when secondary corresponding public transport of riding (line information can further may include route ID, current bus uplink and downlink again for vehicle information, public transport card information, line information Information, sequence of standing information), site information;Specifically, if first by bus single swipe the card and be recorded as S1, second by bus single swipe the card Be recorded as S2, then according to first by bus the single line information " 98 tunnels-uplink-stand sequence 2 " being recorded as in S1 record of swiping the card obtain All websites corresponding to " 98 tunnels-uplink " corresponding to the line information be " A-B-C-D-E ", according to second by bus single brush The corresponding website of swiping the card " D " of card record, judges that " D " is present in all websites corresponding to " 98 tunnels-uplink " as " A-B-C-D- In E ".
S202, if it is present according to first by bus single swipe the card record line information, first by bus single swipe the card note Record it is corresponding swipe the card website and second by bus single swipe the card and record corresponding website of swiping the card and judge that the first single of riding is swiped the card The station sequence of the corresponding website of swiping the card of record single of whether riding less than second is swiped the card the station sequence of the website of swiping the card corresponding to recording.
In other words, judgement exist after, further judge second by bus single swipe the card record corresponding to website of swiping the card Station sequence whether be greater than first by bus single swipe the card and record the station sequence of corresponding website of swiping the card, to judge that this is matched rationally Property.
As an example, in trip data in " S1-S2 ", first by bus single swipe the card and be recorded as brush corresponding to S1 The station sequence of card website B is 2, second by bus swipe the card be recorded as swiping the card corresponding to the S2 station sequence of website D of single be 4, then judge the One by bus single swipe the card be recorded as swiping the card corresponding to S1 website station sequence less than second ride single swipe the card be recorded as S2 institute it is right The station sequence for the website of swiping the card answered, to confirm that the matching of the trip data pair is Proper Match.
S203, if so, determine first by bus single swipe the card and record corresponding trip data to successful match, and according to With successful trip data to the trip information for generating each bus passenger.
That is, if it is determined that first by bus the single station sequence for recording corresponding website of swiping the card it is single by bus less than second Secondary swipe the card records the station sequence of corresponding website, it is determined that the trip data is to successful match, so as to going out according to successful match Row data are to the trip information for generating each bus passenger.
In some embodiments, in order to further increase the bus passenger trip information matching process of the embodiment of the present invention most Throughout one's life at matching result validity, as shown in figure 5, in the bus passenger trip information matching process of the embodiment of the present invention In, the trip information of each bus passenger is generated to bus station matching is carried out according to trip data, it is further comprising the steps of;
S301, if first by bus single all websites corresponding to the line information of record of swiping the card it is single by bus there is no second Secondary swipe the card records corresponding website of swiping the card, then obtain first by bus single swipe the card all stations corresponding to the line information of record The location information of point and second by bus single swipe the card and record the location information of corresponding website of swiping the card, and it is single by bus according to first The location information of all websites corresponding to the line information of secondary record of swiping the card and second by bus single swipe the card record it is corresponding Swipe the card website location information obtain first by bus single swipe the card in all websites corresponding to the line information of record with second Single, which is swiped the card, by bus records corresponding website of swiping the card apart from the smallest website.
S302, judge apart from the smallest website and second by bus single swipe the card record between corresponding website of swiping the card away from From whether less than pre-determined distance threshold value.
S303, if it is, according to apart from the smallest website to second by bus single record of swiping the card modify, so as to root According to first by bus single swipe the card record line information, first after single swipes the card and records corresponding swipe the card website and modification by bus Second by bus single swipe the card record corresponding website of swiping the card judge first by bus single swipe the card the station of swiping the card corresponding to recording Point station sequence whether be less than modified second by bus single swipe the card record corresponding to website of swiping the card station sequence.
As an example, first single is swiped the card by bus that record the line information of S1 be " 98 tunnels-uplink-stand sequence 2 ", the line All websites corresponding to the information of road are " A-B-C-D-E ", second by bus single swipe the card and record website of swiping the card corresponding to S2 and be G, it is clear that second by bus single swipe the card and record the website G that swipes the card corresponding to S2 and be not present in all websites " A-B-C-D-E " In, then according to the location information of each website in all websites " A-B-C-D-E " and the location information for the website G that swipes the card, obtain All websites " A-B-C-D-E " and website G is swiped the card apart from immediate website, be calculated according to location information and swipe the card website The immediate website of G is website D, and swipe the card the distance between website G and website D are 144 meters, and then, further basis is swiped the card The distance between website G and website D and preset distance threshold (assuming that preset distance threshold is 1000 meters) judge the two Between distance whether be less than preset distance threshold, it can be seen from the above, distance between the two is less than preset distance threshold, then According to immediate website D to second by bus the single corresponding information recorded in S2 of swiping the card modify, then, according to closest Website D station sequence 4 and first by bus single swipe the card the station sequence 2 recorded in S1, judge that the station sequence of immediate website D is greater than the One by bus single swipe the card and record the station sequence of corresponding website, it is determined that modified trip data is to successful match.
In some embodiments, in order to guarantee that the bus passenger trip information matching process of the embodiment of the present invention is finally gone on a journey The integrality of information matches result, in the bus passenger trip information matching process, when multiplying apart from the smallest website with second When vehicle single swipes the card the distance between website of swiping the card corresponding to recording greater than pre-determined distance threshold value, the history of bus passenger is obtained Brushing card data, and according to history brushing card data carry out second by bus single swipe the card the matching of site information of swiping the card in record;To protect Demonstrate,prove the integrality of final matching results.
As an example, when pre-determined distance threshold value be 1000 meters when, apart from the smallest website with second ride single brush Corresponding the distance between the website of swiping the card of card record is 1528 meters, then it represents that current matching is unreasonable, at this point, multiplying to public transport The history brushing card data of visitor is obtained, and according to the history brushing card data that gets carry out second by bus single swipe the card in record The matching for site information of swiping the card;To guarantee the integrality of final matching results.
Wherein, according to history brushing card data carry out second by bus single swipe the card the matched side of site information of swiping the card in record Formula can there are many.
As an example, when getting history brushing card data, according to first by bus single swipe the card record it is corresponding In site information query history brushing card data all first by bus single swipe the card and record corresponding site information, to filter out Wherein with first by bus single swipe the card and record the brushing card data of corresponding site information same site, then, if screened Data out are unique, then according to second in the unique data ride single swipe the card record and current first by bus brushing card data into The building of row trip data pair;If the data that screening obtains are multiple, brushed by bus according in multiple data multiple second The frequency of occurrences of the corresponding website of card record carries out the second screening for swiping the card record by bus, to be gone on a journey according to the selection result The building of data pair.
As another example, when getting history brushing card data, according to current first by bus single swipe the card and record institute Corresponding time (for example, Friday 8:00) traverses history brushing card data, to screen phase in the time point threshold range The history brushing card data answered, and judge the history trip rule of the bus passenger (for example, swiping the card number from history according to the selection result According to knowing, in the bus passenger historical record in the record of swiping the card of Friday 8:00,70% is A website-B website, and 30% stands for C Point-D website), and according to the history of bus passenger trip rule to trip data to constructing, to guarantee the complete of data Property and whole trip information the property of can refer to.
Therefore, herein not to according to history brushing card data carry out second by bus single swipe the card record in swipe the card site information into The matched mode of row is defined.
In some embodiments, in order to guarantee that the bus passenger trip information matching process of the embodiment of the present invention is finally gone on a journey The integrality of information matches result, in the bus passenger trip information matching process, when the public transport got in predetermined period The brushing card data of passenger is unique, then using unique brushing card data as first by bus single swipe the card record, and obtain the public transport The history brushing card data of passenger, and according to history brushing card data carry out second by bus single swipe the card and swipe the card site information in record Matching, with guarantee final matching results integrality and the property of can refer to.
Wherein, according to history brushing card data carry out second by bus single swipe the card record in swipe the card site information carry out it is matched Mode is same as described above, and this will not be repeated here.
In conclusion bus passenger trip information matching process according to an embodiment of the present invention, firstly, obtaining predetermined period The brushing card data of interior each bus passenger, and brushing card data is ranked up according to the charge time in brushing card data, wherein brush Card data include that the single by bus of bus passenger is swiped the card record;Then, it is ridden every time according to the building of the ranking results of brushing card data Trip data pair, wherein trip data to include first by bus single swipe the card record and second by bus single swipe the card record, the Two by bus single swipe the card be recorded as with first by bus single swipe the card and record adjacent next single by bus and swipe the card record, and first The single last item being recorded as in predetermined period single of riding of swiping the card is swiped the card when recording by bus, second by bus single swipe the card be recorded as it is pre- If the first item in the period is ridden, single is swiped the card record;To establish bus passenger and swipe the card every time by the brushing card data after sequence Passenger's single is swiped the card the association that record and the corresponding word of passenger next time are swiped the card between record in record, to complete complete packet The building of trip data pair containing car data on bus passenger and lower car data, then, according to trip data to progress bus station Point is matched to generate the trip information of each bus passenger;To realize going out for the bus passenger swiped the card under mode by bus to single Row information is effectively matched, and the requirement for basic data is lower, is conducive to promote.
To realize above-described embodiment, the embodiment of the present invention also proposes a kind of computer readable storage medium, public by storage Passenger's trip information matcher is handed over, such bus passenger trip information matcher is realized when being executed by processor as above-mentioned Bus passenger trip information matching process, thus realize the trip information of the bus passenger swiped the card under mode by bus to single into Row is effectively matched, and the requirement for basic data is lower, is conducive to promote.
To realize above-described embodiment, third aspect present invention embodiment proposes a kind of computer equipment, including memory, Processor and storage are on a memory and the computer program that can run on a processor, which is characterized in that processor execution journey When sequence, such as above-mentioned bus passenger trip information matching process is realized.
Computer equipment according to an embodiment of the present invention executes such as above-mentioned bus passenger trip information by processor Method of completing the square is effectively matched the swipe the card trip information of the bus passenger under mode by bus of single to realize, and for basis The requirement of data is lower, is conducive to promote.
To realize above-described embodiment, the embodiment of the present invention also proposes a kind of bus passenger trip information coalignment, such as Fig. 6 Shown, which includes: to obtain module 10, building module 20 and matching module 30.
Wherein, the brushing card data that module 10 is used to obtain each bus passenger in predetermined period is obtained, and according to number of swiping the card Charge time in is ranked up brushing card data, wherein brushing card data includes that the single by bus of bus passenger is swiped the card record;
Construct the trip data pair that module 20 is used to ride every time according to the building of the ranking results of brushing card data, wherein go out line number According to include first by bus single swipe the card record and second by bus single swipe the card record, second by bus single swipe the card and be recorded as and the One by bus single swipe the card and record adjacent next single by bus and swipe the card record, and first by bus single swipe the card be recorded as it is default all Last item in phase single of riding is swiped the card when recording, second by bus the single first item being recorded as in predetermined period of swiping the card ride single brush Card record;
Matching module 30 is used to be matched according to trip data to bus station is carried out to generate the trip information of each bus passenger.
In some embodiments, in order to further increase the bus passenger trip information coalignment of the embodiment of the present invention most The accuracy of whole matching result, in the bus passenger trip information coalignment, brushing card data further includes line information and by bus Single, which is swiped the card, records corresponding site information of swiping the card, wherein each to generate to bus station matching is carried out according to trip data The trip information of bus passenger, comprising:
According to first by bus single swipe the card record line information and second by bus the swipe the card site information of swiping the card of record of single sentence Disconnected first by bus single swipe the card all websites corresponding to the line information of record with the presence or absence of second by bus single swipe the card record Corresponding website of swiping the card;
If it is present according to first by bus single swipe the card record line information, first by bus single swipe the card record it is corresponding Swipe the card website and second by bus single swipe the card record corresponding website of swiping the card judge first by bus single record of swiping the card it is right The station sequence for the website of swiping the card answered single of whether riding less than second swipes the card and records the station sequence of corresponding website of swiping the card;
If so, determination first is ridden, single, which is swiped the card, records corresponding trip data to successful match, and according to successful match Trip data is to the trip information for generating each bus passenger.
In some embodiments, in order to which the bus passenger trip information matching for further increasing proposition of the embodiment of the present invention fills The accuracy for setting final matching results is matched according to trip data to bus station is carried out to generate the trip of each bus passenger Information, further includes:
If first by bus single swipe the card all websites corresponding to the line information of record there is no second by bus single swipe the card The corresponding website of swiping the card of record, then obtain first by bus single swipe the card the determining of all websites corresponding to the line information of record Position information and second by bus single swipe the card and record the location information of corresponding website of swiping the card, and according to first by bus single swipe the card The location information of all websites corresponding to the line information of record and second by bus single swipe the card and record corresponding station of swiping the card The location information of point obtain first by bus single swipe the card it is single by bus with second in all websites corresponding to the line information of record Secondary swipe the card records corresponding website of swiping the card apart from the smallest website;
Judge apart from the smallest website with second single is swiped the card by bus whether record corresponding the distance between website of swiping the card small In pre-determined distance threshold value;
If it is, according to apart from the smallest website to second by bus single record of swiping the card modify, to multiply according to first Vehicle single swipe the card record line information, first by bus single swipe the card and record corresponding website and modified second of swiping the card and multiply Vehicle single swipe the card record corresponding website of swiping the card judge first by bus single swipe the card the station sequence of the website of swiping the card corresponding to recording Whether be less than modified second by bus single swipe the card and record the station sequence of corresponding website of swiping the card.
It should be noted that the above-mentioned description as described in bus passenger trip information matching process in Fig. 1 is equally applicable to this Bus passenger trip information coalignment, this will not be repeated here.
In conclusion bus passenger trip information coalignment according to an embodiment of the present invention, obtains module in default week The brushing card data of each bus passenger is obtained in phase, and brushing card data is carried out according to the charge time in brushing card data Sequence, wherein brushing card data includes that the single by bus of bus passenger is swiped the card record;Module is constructed according to the brushing card data after sequence The building for carrying out the trip data pair of bus passenger every time by bus constructs the trip data of completion to including the first single brush by bus Card record and second by bus single swipe the card record, second by bus single swipe the card be recorded as with first ride single swipe the card record it is adjacent Next single by bus swipe the card record, and swipe the card in the first single last item being recorded as in predetermined period single of riding of swiping the card of riding When record, second by bus the single first item being recorded as in predetermined period single of riding of swiping the card swipe the card record;After through sequence Brushing card data, establish bus passenger swipe the card every time record in passenger's single swipe the card record and the corresponding word brush of passenger next time Association between card record, to complete the structure completely comprising the trip data pair of car data and lower car data on bus passenger It builds, matching of the trip data that matching module is completed according to building to bus station is carried out, it is every to be generated after matching is completed The trip information of a bus passenger;To realize that it is effective that the trip information for the bus passenger swiped the card under mode by bus to single carries out Matching, and the requirement for basic data is lower, is conducive to promote.
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.
It should be noted that in the claims, any reference symbol between parentheses should not be configured to power The limitation that benefit requires.Word "comprising" does not exclude the presence of component or step not listed in the claims.Before component Word "a" or "an" does not exclude the presence of multiple such components.The present invention can be by means of including several different components It hardware and is realized by means of properly programmed computer.In the unit claims listing several devices, these are filled Several in setting, which can be, to be embodied by the same item of hardware.The use of word first, second, and third is not Indicate any sequence.These words can be construed to title.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
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.
In the description of the present invention, it is to be understood that, term " first ", " second " are used for description purposes only, and cannot It is interpreted as indication or suggestion relative importance or implicitly indicates the quantity of indicated technical characteristic.Define as a result, " the One ", the feature of " second " can explicitly or implicitly include one or more of the features.In the description of the present invention, The meaning of " plurality " is two or more, unless otherwise specifically defined.
In the present invention unless specifically defined or limited otherwise, term " installation ", " connected ", " connection ", " fixation " etc. Term shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or integral;It can be mechanical connect It connects, is also possible to be electrically connected;It can be directly connected, can also can be in two elements indirectly connected through an intermediary The interaction relationship of the connection in portion or two elements.It for the ordinary skill in the art, can be according to specific feelings Condition understands the concrete meaning of above-mentioned term in the present invention.
In the present invention unless specifically defined or limited otherwise, fisrt feature in the second feature " on " or " down " can be with It is that the first and second features directly contact or the first and second features pass through intermediary mediate contact.Moreover, fisrt feature exists Second feature " on ", " top " and " above " but fisrt feature be directly above or diagonally above the second feature, or be merely representative of First feature horizontal height is higher than second feature.Fisrt feature can be under the second feature " below ", " below " and " below " One feature is directly under or diagonally below the second feature, or is merely representative of first feature horizontal height less than second feature.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not It is interpreted as that identical embodiment or example must be directed to.Moreover, particular features, structures, materials, or characteristics described It may be combined in any suitable manner in any one or more of the embodiments or examples.In addition, without conflicting with each other, this The technical staff in field can be by the spy of different embodiments or examples described in this specification and different embodiments or examples Sign is combined.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example Property, it is not considered as limiting the invention, those skilled in the art within the scope of the invention can be to above-mentioned Embodiment is changed, modifies, replacement and variant.

Claims (10)

1. a kind of bus passenger trip information matching process, which comprises the following steps:
The brushing card data of each bus passenger in predetermined period is obtained, and according to the charge time in the brushing card data to described Brushing card data is ranked up, wherein the brushing card data includes that the single by bus of bus passenger is swiped the card record;
According to the trip data pair of the ranking results of brushing card data building every time by bus, wherein the trip data is to packet Include first by bus single swipe the card record and second by bus single swipe the card record, described second ride single swipe the card be recorded as with it is described First by bus single swipe the card and record adjacent next single by bus and swipe the card record, and swipe the card and be recorded as in the described first single of riding Last item in predetermined period single of riding is swiped the card when recording, described second by bus single swipe the card and be recorded as the predetermined period Interior first item single of riding is swiped the card record;
It is matched according to the trip data to bus station is carried out to generate the trip information of each bus passenger.
2. bus passenger trip information matching process as described in claim 1, which is characterized in that the brushing card data further includes Line information and the single by bus swipe the card and record corresponding site information of swiping the card, wherein according to the trip data to progress Bus station is matched to generate the trip information of each bus passenger, comprising:
According to described first by bus single swipe the card record line information and described second by bus single swipe the card the station of swiping the card of record Point information judge described first by bus single swipe the card all websites corresponding to the line information of record with the presence or absence of described second Single, which is swiped the card, by bus records corresponding website of swiping the card;
If it is present according to described first by bus single swipe the card record line information, described first by bus single swipe the card note Record it is corresponding swipe the card website and described second by bus single swipe the card and record corresponding website of swiping the card and judge that described first rides Single swipe the card record corresponding website of swiping the card station sequence whether be less than described second by bus single swipe the card the brush corresponding to recording The station sequence of card website;
If so, determine described first by bus single swipe the card and record corresponding trip data to successful match, and according to matching at The trip data of function is to the trip information for generating each bus passenger.
3. bus passenger trip information matching process as claimed in claim 2, which is characterized in that according to the trip data pair Bus station matching is carried out to generate the trip information of each bus passenger, further includes:
If described first by bus single all websites corresponding to the line information of record of swiping the card ride there is no described second Single, which is swiped the card, records corresponding website of swiping the card, then obtain described first by bus single swipe the card corresponding to the line information of record The location information of all websites and described second by bus single swipe the card and record the location information of corresponding website of swiping the card, and according to Described first by bus single swipe the card the location information of all websites corresponding to the line information of record and described second single by bus It is secondary swipe the card record corresponding website of swiping the card location information obtain described first by bus single swipe the card the line information institute of record In corresponding all websites with described second by bus single swipe the card and record corresponding website of swiping the card apart from the smallest website;
Judge it is described apart from the smallest website and described second by bus single swipe the card record between corresponding website of swiping the card away from From whether less than pre-determined distance threshold value;
If it is, according to it is described apart from the smallest website to described second by bus single record of swiping the card modify, so as to root According to described first by bus single swipe the card record line information, described first by bus single swipe the card and record corresponding website of swiping the card With modified second by bus single swipe the card and record corresponding website of swiping the card and judge that the described first single of riding swipes the card and records institute The station sequence of corresponding website of swiping the card whether be less than modified second by bus single swipe the card and record the station of corresponding website of swiping the card Sequence.
4. bus passenger trip information matching process as claimed in claim 3, which is characterized in that when described apart from the smallest station Point with described second by bus single swipe the card record corresponding the distance between website of swiping the card and be more than or equal to pre-determined distance threshold value when, The history brushing card data of the bus passenger is obtained, and single is swiped the card by bus according to history brushing card data progress described second The matching for site information of swiping the card in record.
5. such as bus passenger trip information matching process of any of claims 1-4, which is characterized in that when described pre- If the brushing card data of the bus passenger got in the period is unique, then using unique brushing card data as first by bus single brush Card record, and the history brushing card data of the bus passenger is obtained, and carry out described second according to the history brushing card data and multiply Vehicle single is swiped the card the matching of site information of swiping the card in record.
6. a kind of computer readable storage medium, which is characterized in that it is stored thereon with bus passenger trip information matcher, it should Bus passenger trip information matcher realizes bus passenger according to any one of claims 1 to 5 when being executed by processor Trip information matching process.
7. a kind of computer equipment including memory, processor and stores the meter that can be run on a memory and on a processor Calculation machine program, which is characterized in that when the processor executes described program, realize according to any one of claims 1 to 5 Bus passenger trip information matching process.
8. a kind of bus passenger trip information coalignment characterized by comprising
Module is obtained, for obtaining the brushing card data of each bus passenger in predetermined period, and according in the brushing card data Charge time is ranked up the brushing card data, wherein the brushing card data includes that the single by bus of bus passenger is swiped the card note Record;
Module is constructed, for the trip data pair according to the building of the ranking results of the brushing card data every time by bus, wherein described Trip data to include first by bus single swipe the card record and second by bus single swipe the card record, the described second single of riding is swiped the card Be recorded as with described first by bus single swipe the card and record adjacent next single by bus and swipe the card record, and by bus singly described first The secondary last item being recorded as in the predetermined period of swiping the card single of riding is swiped the card when recording, described second by bus single swipe the card and be recorded as First item in predetermined period single of riding is swiped the card record;
Matching module, for generating the trip letter of each bus passenger to bus station matching is carried out according to the trip data Breath.
9. bus passenger trip information coalignment as claimed in claim 8, which is characterized in that the brushing card data further includes Line information and the single by bus swipe the card and record corresponding site information of swiping the card, wherein according to the trip data to progress Bus station is matched to generate the trip information of each bus passenger, comprising:
According to described first by bus single swipe the card record line information and described second by bus single swipe the card the station of swiping the card of record Point information judge described first by bus single swipe the card all websites corresponding to the line information of record with the presence or absence of described second Single, which is swiped the card, by bus records corresponding website of swiping the card;
If it is present according to described first by bus single swipe the card record line information, described first by bus single swipe the card note Record it is corresponding swipe the card website and described second by bus single swipe the card and record corresponding website of swiping the card and judge that described first rides Single swipe the card record corresponding website of swiping the card station sequence whether be less than described second by bus single swipe the card the brush corresponding to recording The station sequence of card website;
If so, determine described first by bus single swipe the card and record corresponding trip data to successful match, and according to matching at The trip data of function is to the trip information for generating each bus passenger.
10. bus passenger trip information coalignment as claimed in claim 9, which is characterized in that according to the trip data It matches to bus station is carried out to generate the trip information of each bus passenger, further includes:
If described first by bus single all websites corresponding to the line information of record of swiping the card ride there is no described second Single, which is swiped the card, records corresponding website of swiping the card, then obtain described first by bus single swipe the card corresponding to the line information of record The location information of all websites and described second by bus single swipe the card and record the location information of corresponding website of swiping the card, and according to Described first by bus single swipe the card the location information of all websites corresponding to the line information of record and described second single by bus It is secondary swipe the card record corresponding website of swiping the card location information obtain described first by bus single swipe the card the line information institute of record In corresponding all websites with described second by bus single swipe the card and record corresponding website of swiping the card apart from the smallest website;
Judge it is described apart from the smallest website and described second by bus single swipe the card record between corresponding website of swiping the card away from From whether less than pre-determined distance threshold value;
If it is, according to it is described apart from the smallest website to described second by bus single record of swiping the card modify, so as to root According to described first by bus single swipe the card record line information, described first by bus single swipe the card and record corresponding website of swiping the card With modified second by bus single swipe the card and record corresponding website of swiping the card and judge that the described first single of riding swipes the card and records institute The station sequence of corresponding website of swiping the card whether be less than modified second by bus single swipe the card and record the station of corresponding website of swiping the card Sequence.
CN201910683648.6A 2019-07-26 2019-07-26 Bus passenger trip information matching process, medium, equipment and device Pending CN110400177A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910683648.6A CN110400177A (en) 2019-07-26 2019-07-26 Bus passenger trip information matching process, medium, equipment and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910683648.6A CN110400177A (en) 2019-07-26 2019-07-26 Bus passenger trip information matching process, medium, equipment and device

Publications (1)

Publication Number Publication Date
CN110400177A true CN110400177A (en) 2019-11-01

Family

ID=68326240

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910683648.6A Pending CN110400177A (en) 2019-07-26 2019-07-26 Bus passenger trip information matching process, medium, equipment and device

Country Status (1)

Country Link
CN (1) CN110400177A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111291282A (en) * 2020-05-09 2020-06-16 支付宝(杭州)信息技术有限公司 Method and device for recommending ride subsidy site and electronic equipment
CN111798354A (en) * 2020-06-17 2020-10-20 广州通达汽车电气股份有限公司 Passenger information management method and device for public transport
CN112906518A (en) * 2021-02-04 2021-06-04 深圳北斗应用技术研究院有限公司 Riding abnormal person identification method and system based on SVM model
CN113159416A (en) * 2021-04-19 2021-07-23 深圳大学 Calculation method for bus single card swiping get-off station and intelligent terminal
CN114038225A (en) * 2021-11-08 2022-02-11 深圳市雪球科技有限公司 Bus route data processing method and device and electronic equipment
CN114495491A (en) * 2021-12-31 2022-05-13 深圳云天励飞技术股份有限公司 Method and device for determining cross-line travel route, computer equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120095853A1 (en) * 2010-10-13 2012-04-19 Von Bose Samuel John Method for self-checkout with a mobile device
US20160142997A1 (en) * 2013-01-30 2016-05-19 Sk Planet Co., Ltd. Apparatus and method for providing interaction service for kids, system using the same
CN105868861A (en) * 2016-04-08 2016-08-17 青岛海信网络科技股份有限公司 Bus passenger flow evolution analysis method based on time-space data fusion
CN106874432A (en) * 2017-01-24 2017-06-20 华南理工大学 A kind of public transport passenger trip space-time track extraction method
CN109584555A (en) * 2018-12-13 2019-04-05 昆山市公共交通集团有限公司 Bus passenger get-off stop estimation method based on AFC data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120095853A1 (en) * 2010-10-13 2012-04-19 Von Bose Samuel John Method for self-checkout with a mobile device
US20160142997A1 (en) * 2013-01-30 2016-05-19 Sk Planet Co., Ltd. Apparatus and method for providing interaction service for kids, system using the same
CN105868861A (en) * 2016-04-08 2016-08-17 青岛海信网络科技股份有限公司 Bus passenger flow evolution analysis method based on time-space data fusion
CN106874432A (en) * 2017-01-24 2017-06-20 华南理工大学 A kind of public transport passenger trip space-time track extraction method
CN109584555A (en) * 2018-12-13 2019-04-05 昆山市公共交通集团有限公司 Bus passenger get-off stop estimation method based on AFC data

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111291282A (en) * 2020-05-09 2020-06-16 支付宝(杭州)信息技术有限公司 Method and device for recommending ride subsidy site and electronic equipment
CN111798354A (en) * 2020-06-17 2020-10-20 广州通达汽车电气股份有限公司 Passenger information management method and device for public transport
CN112906518A (en) * 2021-02-04 2021-06-04 深圳北斗应用技术研究院有限公司 Riding abnormal person identification method and system based on SVM model
CN113159416A (en) * 2021-04-19 2021-07-23 深圳大学 Calculation method for bus single card swiping get-off station and intelligent terminal
CN113159416B (en) * 2021-04-19 2022-04-15 深圳大学 Calculation method for bus single card swiping get-off station and intelligent terminal
CN114038225A (en) * 2021-11-08 2022-02-11 深圳市雪球科技有限公司 Bus route data processing method and device and electronic equipment
CN114495491A (en) * 2021-12-31 2022-05-13 深圳云天励飞技术股份有限公司 Method and device for determining cross-line travel route, computer equipment and medium

Similar Documents

Publication Publication Date Title
CN110400177A (en) Bus passenger trip information matching process, medium, equipment and device
Perumal et al. Solution approaches for integrated vehicle and crew scheduling with electric buses
Alshalalfah et al. Feasibility of flex-route as a feeder transit service to rail stations in the suburbs: case study in Toronto
CN107392389A (en) Taxi dispatching processing method based on ARIMA models
CN104240496B (en) A kind of determination method and apparatus of trip route
Fan et al. A simple multi-objective optimization algorithm for the urban transit routing problem
CN107451877B (en) On-line generating system and generating method for riding order
CN106156084A (en) Route inquiry methods, devices and systems
Bessler et al. Routing EV users towards an optimal charging plan
CN110118567A (en) Trip mode recommended method and device
JP6307376B2 (en) Traffic analysis system, traffic analysis program, and traffic analysis method
Gkiotsalitis Bus rescheduling in rolling horizons for regularity-based services
Fernández et al. Bike3S: A tool for bike sharing systems simulation
Hadjidemetriou et al. Flexible planning for intercity multimodal transport infrastructure
Riahi et al. A scatter search algorithm for time-dependent prize-collecting arc routing problems
Zou et al. A novel taxi dispatch system for smart city
Zhong et al. A mixed integer linear programming model for rolling stock deadhead routing before the operation period in an urban rail transit line
CN113938521B (en) Travel scheme recommendation method and device based on passenger demand information
Crainic et al. Meta-heuristics for a class of demand-responsive transit systems
Otto et al. Zone‐based tariff design in public transportation networks
Namdarpour et al. On non-myopic internal transfers in large-scale ride-pooling systems
Kotronis et al. Employing SysML to model and explore levels‐of‐service: The case of passenger comfort in railway transportation systems
CN110648008A (en) Road condition prediction method and device
CN115127569A (en) Personalized intermodal navigation method and system
Nitter et al. The static ridesharing routing problem with flexible locations: A Norwegian case study

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191101