CN110956506A - Method and device for confirming student joint journey ticket - Google Patents

Method and device for confirming student joint journey ticket Download PDF

Info

Publication number
CN110956506A
CN110956506A CN201911232933.2A CN201911232933A CN110956506A CN 110956506 A CN110956506 A CN 110956506A CN 201911232933 A CN201911232933 A CN 201911232933A CN 110956506 A CN110956506 A CN 110956506A
Authority
CN
China
Prior art keywords
ticket
information
historical
station
student
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
CN201911232933.2A
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.)
China Railway Trip Science And Technology Co ltd
Institute of Computing Technologies of CARS
Beijing Jingwei Information Technology Co Ltd
Original Assignee
China Railway Trip Science And Technology Co ltd
Institute of Computing Technologies of CARS
Beijing Jingwei Information Technology 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 China Railway Trip Science And Technology Co ltd, Institute of Computing Technologies of CARS, Beijing Jingwei Information Technology Co Ltd filed Critical China Railway Trip Science And Technology Co ltd
Priority to CN201911232933.2A priority Critical patent/CN110956506A/en
Publication of CN110956506A publication Critical patent/CN110956506A/en
Pending legal-status Critical Current

Links

Images

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/0207Discounts or incentives, e.g. coupons or rebates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • 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

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Game Theory and Decision Science (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Primary Health Care (AREA)
  • Tourism & Hospitality (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application provides a method and a device for confirming a student joint journey ticket, wherein the method comprises the following steps: and acquiring current ticket purchasing information and a riding preferential interval. The current ticket purchasing information comprises train departure time and a train taking interval. And acquiring historical ticket purchasing records in a preset time period according to the departure time of the train. And generating the link ticket information according to the historical ticket purchasing record and the current ticket purchasing information. And the online ticket information comprises current ticket purchasing information. And comparing the riding preferential interval with the trip ticket information, and finishing the confirmation of the student trip ticket according to the comparison result. Therefore, the link ticket information is generated according to the historical ticket purchasing record and the current ticket purchasing information, and the confirmation of the student link ticket is completed by using the riding preferential section. Therefore, no matter on a 12306 website, a 12306 mobile phone APP client, an artificial ticket selling window or self-service ticket selling terminal equipment, the sale of preferential tickets for students can be completed quickly.

Description

Method and device for confirming student joint journey ticket
Technical Field
The application relates to the technical field of data processing, in particular to a method and a device for confirming a student's joint journey ticket.
Background
When the railway system sells the student ticket, once the ticket purchasing information is inconsistent with the riding discount section, a ticket seller needs to manually compare the riding discount section on the student card with the ticket purchasing information so as to judge whether the ticket purchasing information meets the discount condition of the student ticket. When the coupon is purchased, due to the transfer, the judgment of the preferential conditions is more complicated.
Therefore, there is a need for a method for confirming a student's itinerary combination ticket, which can confirm the student's itinerary combination ticket meeting the discount condition according to the riding discount section on the student's card.
Disclosure of Invention
The embodiment of the application provides a method and a device for confirming a student joint travel ticket, which can automatically confirm the student joint travel ticket meeting preferential conditions according to a riding preferential interval on a student certificate, so that the sale of the student preferential ticket can be quickly finished no matter on a 12306 website, a 12306 mobile phone APP client, an artificial ticket selling window or a self-service ticket selling terminal device.
In a first aspect, an embodiment of the present application provides a method for confirming a student's joint course ticket, including the following steps: acquiring current ticket purchasing information and riding preferential intervals; the current ticket purchasing information comprises train departure time and a train taking interval; acquiring historical ticket purchasing records in a preset time period according to the train departure time; generating link ticket information according to the historical ticket purchasing records and the current ticket purchasing information; wherein the online ticket information comprises the current ticket purchasing information; comparing the ride preferential interval with the link ticket information; and according to the comparison result, finishing the confirmation of the student joint journey ticket.
Compared with the prior art, the method for confirming the student joint journey ticket provided by the embodiment of the application generates the joint journey ticket information according to the historical ticket purchasing record and the current ticket purchasing information, and further completes the confirmation of the student joint journey ticket by using the riding preferential section. Therefore, the student ticket can be sold quickly no matter on a 12306 website, a 12306 mobile phone APP client, an artificial ticket selling window or self-service ticket selling terminal equipment.
Optionally, the generating of the online ticket information according to the historical ticket purchasing record and the current ticket purchasing information includes: acquiring historical online ticket information from the historical ticket purchasing record; determining a departure station and an arrival station of the historical journey ticket according to the historical journey ticket information; determining a departure station and an arrival station of the current ticket purchasing according to the current ticket purchasing information; and generating the joint travel ticket information according to the departure station and the arrival station of the current ticket purchase and the departure station and the arrival station of the historical joint travel ticket.
Optionally, the generating the joint ticket information according to the departure station and the arrival station of the current ticket purchase and the departure station and the arrival station of the historical joint ticket includes: when the departure station of the current ticket purchasing is the same city station of the arrival station of the historical linkage ticket, inserting the current ticket purchasing information into the historical linkage ticket information to generate the linkage ticket information; and when the arrival station of the current ticket purchasing is the same city station of the departure station of the historical linkage ticket, inserting the current ticket purchasing information into the historical linkage ticket information to generate the linkage ticket information.
Optionally, the comparing the ride offer section and the travel ticket information includes: generating mileage corresponding to the riding preferential interval and mileage corresponding to the link ticket information; and according to the mileage corresponding to the riding preferential interval and the mileage corresponding to the link ticket information, finishing the confirmation of the student link ticket.
Optionally, the completing the confirmation of the student's joint journey ticket according to the mileage corresponding to the riding discount section and the mileage corresponding to the joint journey ticket information includes: calculating the mileage corresponding to the link ticket information and the ratio of the mileage to the mileage of the riding preferential interval; and when the ratio is smaller than a preset threshold value, the confirmation of the student joint journey ticket is completed.
Optionally, after the completion of the confirmation of the student connection ticket according to the comparison result, the method further includes: obtaining riding discount times; and printing the student connection ticket according to the riding discount times and the number of the student connection tickets.
In a second aspect, an embodiment of the present application further provides a device for confirming a student's joint journey ticket, including: the first acquisition module is used for acquiring current ticket purchasing information and riding preferential intervals; the current ticket purchasing information comprises train departure time and a train taking interval; the second acquisition module is used for acquiring historical ticket purchasing records in a preset time period according to the train departure time; the generation module is used for generating the link ticket information according to the historical ticket purchasing record and the current ticket purchasing information; wherein the online ticket information comprises the current ticket purchasing information; the comparison module is used for comparing the riding preferential interval with the journey ticket information; and the confirmation module is used for finishing the confirmation of the student joint journey ticket according to the comparison result.
Optionally, the generating module includes: the acquisition submodule is used for acquiring historical link ticket information from the historical ticket purchasing record; the first determining submodule is used for determining a departure station and an arrival station of the historical journey ticket according to the historical journey ticket information; the second determining submodule is used for determining a departure station and an arrival station of the current ticket purchasing according to the current ticket purchasing information; and the first generation submodule is used for generating the joint travel ticket information according to the departure station and the arrival station of the current ticket purchase and the departure station and the arrival station of the historical joint travel ticket.
Optionally, the first generation sub-module is specifically configured to insert the current ticket purchasing information into the historical travel ticket information to generate the travel ticket information when the departure station of the current ticket purchasing is a same-city station as the arrival station of the historical travel ticket; and when the arrival station of the current ticket purchasing is the same city station of the departure station of the historical linkage ticket, inserting the current ticket purchasing information into the historical linkage ticket information to generate the linkage ticket information.
Optionally, the comparing module includes: the second generation submodule is used for generating mileage corresponding to the riding preferential interval and mileage corresponding to the link ticket information; and the confirmation submodule is used for finishing the confirmation of the student connection ticket according to the mileage corresponding to the riding preferential interval and the mileage corresponding to the connection ticket information.
Optionally, the confirmation sub-module includes: the calculating unit is used for calculating the ratio of the mileage corresponding to the link ticket information to the mileage of the riding preferential section; and the confirming unit is used for finishing the confirmation of the student joint journey ticket when the ratio is smaller than a preset threshold value.
Optionally, the apparatus further comprises: the third acquisition module is used for acquiring riding discount times; and the printing module is used for printing the student connection ticket according to the riding discount times and the number of the student connection tickets.
In a third aspect, an embodiment of the present application further provides a non-transitory computer-readable storage medium, where the non-transitory computer-readable storage medium includes a stored program, and when the program runs, the apparatus where the non-transitory computer-readable storage medium is located is controlled to execute the method for confirming the student's joint journey ticket.
In a fourth aspect, an embodiment of the present application further provides a computer device, including a memory and a processor, where the memory is used to store information including program instructions, and the processor is used to control execution of the program instructions, and the program instructions are loaded and executed by the processor to implement the method for confirming a student's online ticket described above.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a schematic flowchart of a method for confirming a student's joint travel ticket according to an embodiment of the present application;
FIG. 2 is a flow chart of a first example proposed by an embodiment of the present application;
FIG. 3 is a flow chart of a second example proposed by an embodiment of the present application;
fig. 4 is a flowchart of a third example proposed by the embodiment of the present application;
fig. 5 is a schematic structural diagram of a device for confirming a student's commute ticket according to an embodiment of the present disclosure; and
FIG. 6 is a schematic structural diagram of an embodiment of a computer apparatus according to the present application.
Detailed Description
For better understanding of the technical solutions of the present application, the following detailed descriptions of the embodiments of the present application are provided with reference to the accompanying drawings.
It should be understood that the embodiments described are only a few embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terminology used in the embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the examples of this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
According to article 20 of the railway passenger transportation regulations: the student certificates (the pupils are certified by paper) with discount coupons of the official seal of the colleges and universities are attached when the ordinary colleges and universities (including the civil colleges approved by the national education administration departments and having the academic qualification), the military colleges, the schools of the middle, primary and middle professions and the technical schools have no wage income, and the family residence places and the schools are not in the same city, so that half-price hard seat passenger tickets, half-price express tickets and half-price air conditioning tickets between the families and the colleges can be enjoyed every year four times.
That is, the student ticket purchase is limited to only between the home and the institution, the place from the home to the institution of the student is used as the preferential taking section for the student, and the number of ticket purchases of the student ticket is limited to four times per year.
Based on the foregoing description of the background art, it can be known that, when a railway sells a student ticket, if a departure station and an arrival station of ticket purchasing information are completely consistent with a preferential taking section, it can be immediately determined that the ticket purchasing information conforms to the preferential condition of the student ticket, and ticket printing is performed. If the departure station and/or arrival station of the ticket purchasing information is not consistent with the riding discount section, the ticket selling personnel is required to consider the rationality of the ticket purchasing information according to the road network information of the railway so as to judge whether the ticket purchasing information meets the discount condition of the student ticket. For example, the preferential taking section of the student card is from beijing to kun mountain, the ticket purchasing information is from beijing to suzhou station, and kun mountain is a county-level city in the prefecture of suzhou, so the ticket purchasing information has rationality.
In the ticket buying process of the joint ticket, the judgment of whether the ticket buying information meets the preferential conditions of the student ticket is more complicated. For example, the preferential taking section is Shenyang and Yangan, and the ticket purchasing information is Shenyang north station to Beijing station, Beijing west station to Xian station, and the bus can be taken from Xian to Yangan.
In the ticket purchasing process of the link ticket, the situation that a plurality of tickets are purchased separately can also occur, when the first ticket is purchased, one-time ticket purchasing is recorded, and if the link ticket formed by other tickets and the first ticket has rationality, the preferential times of ticket purchasing do not need to be increased again when other tickets are purchased.
Therefore, when judging whether the ticket purchasing information meets the preferential conditions of the student tickets or not, the ticket selling personnel is required to be familiar with national railway network channels and administrative divisions to make accurate judgment, and the judgment of the preferential conditions of the student tickets cannot be realized on the self-service ticket selling terminal equipment at present.
In order to solve the above problem, an embodiment of the present application provides a method for confirming a student's joint travel ticket, and fig. 1 is a flowchart illustrating the method for confirming the student's joint travel ticket according to the embodiment of the present application. As shown in fig. 1, the method includes:
and step S101, acquiring current ticket purchasing information and a riding preferential interval.
The current ticket purchasing information comprises train departure time and a train taking interval.
For the continuous transfer journey tickets, one series journey ticket can be regarded as one-time student ticket purchasing behavior, namely, when the journey tickets containing a plurality of tickets are purchased, the series journey tickets are only recorded as one-time ticket purchasing, so that the student can be ensured not to record more times of ticket purchasing when purchasing the journey tickets.
Note that, in the actual ticket purchasing process, the aforementioned multiple tickets may be purchased separately. Therefore, in the process of selling tickets on the railway, a plurality of tickets which are continuously transferred within a preset time period can be used as the link tickets. For example, the first ticket is a station A to a station B, the second ticket is a station B to a station C, the third ticket is a station C to a station D, if departure time of the three tickets is within ten days, the three tickets are used as the link tickets, link numbers corresponding to the link tickets are generated, and the departure station of the link tickets can be inquired as the station A and the arrival station of the link tickets is the station D through the link numbers. In addition, considering that a plurality of train stations, namely, city stations, may exist in the same city, if the first ticket is a station a to B, the second ticket is B '-C', the third ticket is C station to D, the B station and the B 'station are city stations, and the C station and the C' station are city stations, the three tickets can also be taken as a joint ticket.
It can be understood that in the actual ticket purchasing process, when a student purchases a ticket, the student may not purchase the ticket, and purchase part of the tickets in the link ticket, for example, the student purchases the tickets from shenyang to beijing and then from beijing to xi 'an, but the tickets from beijing to xi' an are not available for a while, and then purchase the tickets from shenyang to beijing. When the tickets of Beijing to xi 'an have tickets, the tickets of Beijing to xi' an are purchased again. Although the two tickets are not purchased together, the two tickets are actually used for successive transfer in actual riding, and should be taken as a link ticket, the student tickets are only purchased once when the tickets from Shenyang to Beijing are purchased, and the preferential times of purchasing the student tickets from Beijing to Xian are not increased when the tickets from Beijing to Xian are purchased.
Therefore, in order to treat the currently purchased ticket and the previously purchased tickets as one link ticket, the embodiment of the present application obtains the departure time and the riding section of the train corresponding to the currently purchased ticket information, and further searches for the previously purchased tickets which are likely to form the link ticket with the currently purchased tickets.
And step S102, acquiring historical ticket purchasing records in a preset time period according to train departure time.
Based on the foregoing description, it can be known that, in order to enable a plurality of tickets to form a joint-journey ticket, firstly, the departure station and the arrival station of different tickets are required to be connected in front of and behind, and secondly, the departure time of trains with different tickets is required to be within a preset time period. Therefore, in the process of purchasing tickets at this time, the historical ticket purchasing records in the preset time period need to be acquired according to the departure time in the current ticket information, that is, tickets with departure time close to that of the tickets purchased at this time in the historical ticket purchasing records.
It should be noted that in the method for confirming a student's online ticket provided in the embodiment of the present application, the historical ticket booking record in the preset time period should be a ticket booking record that meets the preferential conditions of the student's ticket.
And step S103, generating the link ticket information according to the historical ticket purchasing record and the current ticket purchasing information.
And the online ticket information comprises current ticket purchasing information.
It can be understood that if a historical ticket or a historical linkage ticket with departure time close to that of the ticket purchased at this time exists in the historical ticket purchase record, whether the current ticket purchase information can be continuously transferred with the historical ticket or the historical linkage ticket or not can be further judged, and a new linkage ticket is generated.
The first possible situation is that historical linkage ticket information is obtained from a historical ticket purchasing record, and a departure station and an arrival station of the historical linkage ticket are determined according to the linkage number of the historical linkage ticket. And determining a departure station and an arrival station of the current ticket purchasing according to the current ticket purchasing information. And generating the joint journey ticket information according to the departure station and the arrival station of the current ticket purchase and the departure station and the arrival station of the historical joint journey ticket.
The second possible case is that historical ticket purchasing information is obtained from the historical ticket purchasing record, and the departure station and the arrival station of the historical ticket purchasing are determined according to the historical ticket purchasing information. And determining a departure station and an arrival station of the current ticket purchasing according to the current ticket purchasing information. And generating the joint travel ticket information according to the current departure station and arrival station for ticket purchasing and the departure station and arrival station for historical ticket purchasing.
Based on the description of the processing modes of the two possible situations, it can be known that both the historical online ticket and the historical purchase ticket can be used for being spliced with the current purchase ticket to generate a new online ticket. That is to say, when the current ticket is spliced with the current ticket, the historical ticket can be regarded as a historical travel ticket only including one ticket, the departure station of the historical travel ticket is the departure station of the historical ticket, and the arrival station of the historical ticket is the arrival station of the historical ticket.
Specifically, the historical joint journey ticket and the current ticket are spliced, and when the departure station of the current ticket is the same city station of the arrival station of the historical joint journey ticket, the current ticket purchasing information is inserted into the historical joint journey ticket information to generate the joint journey ticket information. For example, if the departure station of the historical travel ticket is station a, the arrival station is station B, the departure station of the current ticket purchase is station B' in the same city as station B, and the arrival station is station C, the current ticket purchase information may be inserted into the historical travel ticket, and the arrival station corresponding to the historical travel number is replaced by station C from station B.
Further, when the departure station of the current ticket purchasing is the same city station of the arrival station of the historical link ticket and the arrival station of the current ticket purchasing is the end point of the ride preference section, it is indicated that the arrival station of the newly generated link ticket is the end point of the ride preference section, and if the departure station of other ticket purchasing information is the arrival station of the newly generated link ticket, the ticket purchasing information is listed in the calculation of another link ticket.
And when the arrival station of the current ticket purchasing is the same city station of the departure station of the historical linkage ticket, inserting the current ticket purchasing information into the historical linkage ticket information to generate the linkage ticket information. For example, if the departure station of the history joint journey ticket is station a, the arrival station is station B, the departure station of the current ticket purchasing is station C, and the arrival station is station a' in the same city as station a, the current ticket purchasing information can be inserted into the history joint journey ticket, and the departure station corresponding to the history joint journey number is replaced by station C from station a.
Further, when the arrival station of the current ticket purchase is the same city station as the departure station of the historical linkage ticket and the departure station of the current ticket purchase is the end point of the ride preference section, it is described that the departure station of the newly generated linkage ticket is the end point of the ride preference section, and if the arrival station of other ticket purchase information is the departure station of the newly generated linkage ticket, the ticket purchase information is listed in the calculation of another linkage ticket.
And step S104, comparing the riding preferential interval with the link ticket information.
It can be understood that after the journey ticket information is generated, the journey ticket information is compared with the riding preferential interval to judge whether the newly generated journey ticket meets the preferential condition of the student ticket.
When the joint journey ticket information is consistent with the riding preferential interval, namely the departure station and the arrival station of the joint journey ticket are the end points of the riding preferential interval, one possible implementation mode is that the sum of the mileage of all tickets in the joint journey ticket is calculated to serve as the mileage corresponding to the joint journey ticket information, the ratio of the mileage to the riding preferential interval is further calculated, and when the ratio is smaller than a preset threshold value, the student joint journey ticket is confirmed.
When the journey ticket information is inconsistent with the riding preferential interval, namely the departure station and/or the arrival station of the journey ticket are not the end points of the riding preferential interval, the mileage corresponding to the journey ticket information needs to be further determined.
The case that the travel ticket information is inconsistent with the riding preferential section may be: the departure station of the current ticket purchasing is the same city station of the arrival station of the historical linkage ticket, but the arrival station of the current ticket purchasing is not the end point of the riding preferential section. Or the current arrival station of the ticket purchase is the same city station of the departure station of the historical linkage ticket, but the departure station of the current ticket purchase is not the end point of the ride preference section.
When the trip ticket information is inconsistent with the riding discount section, the embodiment of the application needs to firstly determine the mileage corresponding to the trip ticket information, and further judge whether the trip ticket meets the discount condition of the student ticket.
Specifically, if the departure station of the historical link ticket is the end point of the ride preference section, the departure station of the current ticket purchase is the same city station of the arrival station of the historical link ticket, but the arrival station of the current ticket purchase is not the end point of the ride preference section, the mileage corresponding to the link ticket information is the sum of the mileage of all tickets in the link ticket, and the mileage between the arrival station of the current ticket purchase and the end point of the ride preference section.
If the departure station of the historical link ticket is not the end point of the riding preferential section, the departure station of the current ticket purchasing is the same city station of the arrival station of the historical link ticket, but the arrival station of the current ticket purchasing is not the end point of the riding preferential section, the mileage corresponding to the link ticket information is the sum of the mileage of all tickets in the link ticket, the mileage is added between the departure station of the historical link ticket and the end point of the riding preferential section, and the mileage is added between the arrival station of the current ticket purchasing and the end point of the riding preferential section.
And if the arrival station of the historical link ticket is the end point of the ride preference interval, the arrival station of the current ticket purchasing is the same-city station of the departure station of the historical link ticket, but the departure station of the current ticket purchasing is not the end point of the ride preference interval, the mileage corresponding to the link ticket information is the sum of the mileage of all tickets in the link ticket, and the mileage is added between the departure station of the current ticket purchasing and the end point of the ride preference interval.
If the arrival station of the historical link ticket is not the end point of the riding preferential interval, the arrival station of the current ticket purchasing is the same-city station of the departure station of the historical link ticket, but the departure station of the current ticket purchasing is not the end point of the riding preferential interval, the mileage corresponding to the link ticket information is the sum of the mileage of all tickets in the link ticket, the mileage between the departure station of the current ticket purchasing and the end point of the riding preferential interval is added, and the mileage between the arrival station of the historical link ticket and the end point of the riding preferential interval is added.
After the mileage corresponding to the link ticket information is determined, the mileage corresponding to the link ticket information is calculated, the ratio of the mileage corresponding to the link ticket information to the mileage of the riding preferential interval is calculated, and when the ratio is smaller than a preset threshold value, the student link ticket is confirmed.
And step S105, according to the comparison result, confirming the student connection ticket.
In summary, the method for confirming the student's travel connection ticket provided by the embodiment of the application obtains the current ticket purchasing information and the riding discount section. The current ticket purchasing information comprises train departure time and a train taking interval. And acquiring historical ticket purchasing records in a preset time period according to the departure time of the train. And generating the link ticket information according to the historical ticket purchasing record and the current ticket purchasing information. And the online ticket information comprises current ticket purchasing information. And comparing the riding preferential interval with the trip ticket information, and finishing the confirmation of the student trip ticket according to the comparison result. Therefore, the link ticket information is generated according to the historical ticket purchasing record and the current ticket purchasing information, and the confirmation of the student link ticket is completed by using the riding preferential section. Therefore, no matter on a 12306 website, a 12306 mobile phone APP client, an artificial ticket selling window or self-service ticket selling terminal equipment, the sale of preferential tickets for students can be completed quickly.
In addition, based on the above description of the student ticket purchase related rules, it can be known that the number of times of purchasing student tickets is only four times per year, and each time of purchasing student tickets, the riding preference is deducted.
Therefore, after the confirmation of the student connection ticket is completed according to the comparison result, the method further comprises the following steps: acquiring the riding discount times, and printing the student connection ticket according to the riding discount times and the number of the student connection tickets.
That is, even if the new coupling ticket meets the preferential condition of the student ticket, whether the rest riding preferential times exist needs to be checked, and if the rest riding preferential times exist, the student coupling ticket can be printed.
It should be noted that, if the ticket corresponding to the historical ticket purchasing record has already been printed, only the current ticket purchasing needs to be printed.
In order to more clearly illustrate the confirmation method of the student's course ticket proposed in the embodiment of the present application, the following description is made by way of example.
Fig. 2 is a flowchart of a first example proposed by an embodiment of the present application. As shown in fig. 2, a first example shows a process of determining a commute ticket, and first, a student ticket booking record in a preset time period is queried, and if the student ticket booking record and the current ticket booking record belong to the commute ticket, it is determined whether the student ticket booking record and the current ticket booking belong to the commute ticket.
And if not, inserting the first ticket in the current ticket purchasing information into the ticket purchasing record, and generating a new link number. And if no other ticket is purchased at this time, directly taking the first ticket inserted into the ticket purchasing record as a newly generated link ticket. If other tickets are purchased at this time, whether the ticket purchasing record and the other tickets belong to the link ticket or not needs to be judged.
The method specifically comprises the steps of matching an arrival station of a journey ticket with a departure station of a ticket, matching the departure station of the journey ticket with the arrival station of the ticket, sequentially obtaining the departure station and the arrival station of the ticket purchased at this time, generating a new journey ticket if matching is successful, and updating a journey number until matching of each journey ticket in a student ticket purchase record is completed.
In addition, similar matching needs to be performed on tickets which are not listed in the online ticket in the purchased tickets, and details are not described here.
Fig. 3 is a flowchart of a second example proposed by the embodiment of the present application. As shown in fig. 3, the second example shows a calculation process of a ticket-buying station in a ride preference interval, and first, it is determined whether a student preference interval is a station, if so, lines passing through two endpoints are respectively searched, and if the lines of the two endpoints have an intersection, all stations on the lines between the two endpoints are taken out, and then the ticket-buying station in the ride preference interval is determined. If the lines of the two endpoints do not intersect, all stations on the lines of the two endpoints are calculated respectively, then all lines passing through the stations are calculated, and if the lines intersect, the stations on the intersecting lines are used as ticket purchasing stations in the bus preferential section. It can be understood that, in the method for confirming the student itinerary tickets provided by the embodiment of the present application, the stations needing to be continuously transferred in the generated student itinerary tickets belong to the stations which can purchase tickets in the riding preferential section, and only belong to reasonable ticket purchasing.
Fig. 4 is a flowchart of a third example proposed by the embodiment of the present application. As shown in fig. 4, fig. 4 shows an overall process of mileage calculation of the link tickets, which includes first obtaining a link number of each link ticket, calculating a mileage number of each link ticket, and sequentially determining whether each link ticket satisfies a preferential condition of a student ticket.
And if the departure station is the end point of the preferential riding section and the arrival station is the end point of the preferential riding section, judging whether the mileage of the link ticket is less than the weighted result of the mileage of the preferential riding section.
And if the departure station is the end point of the preferential riding interval, and the arrival station is not the end point of the preferential riding interval, calculating the mileage between the arrival station and the end point of the preferential riding interval, adding the mileage of the linkage ticket to obtain the total mileage, and judging whether the total mileage is less than the weighted result of the mileage of the preferential riding interval.
And if the arrival station is the end point of the preferential riding section and the departure station is not the end point of the preferential riding section, calculating the mileage between the departure station and the end point of the preferential riding section, adding the mileage of the linkage ticket to obtain the total mileage, and judging whether the total mileage is less than the weighted result of the mileage of the preferential riding section.
If the departure station is not the end point of the preferential riding section, and the arrival station is not the end point of the preferential riding section, calculating the mileage between the departure station and the end point of the preferential riding section, adding the mileage between the arrival station and the end point of the preferential riding section, adding the mileage of the link ticket to obtain the total mileage, and judging whether the total mileage is less than the weighted result of the mileage of the preferential riding section.
In order to implement the foregoing embodiment, an embodiment of the present application further provides a device for confirming a student's joint travel ticket, fig. 5 is a schematic structural diagram of the device for confirming a student's joint travel ticket provided in the embodiment of the present application, and as shown in fig. 5, the device includes: a first obtaining module 210, a second obtaining module 220, a generating module 230, a comparing module 240, and a confirming module 250.
The first obtaining module 210 is configured to obtain current ticket purchasing information and a riding preference interval.
The current ticket purchasing information comprises train departure time and a train taking interval.
The second obtaining module 220 is configured to obtain a historical ticket purchasing record within a preset time period according to the departure time of the train.
And the generating module 230 is configured to generate the online ticket information according to the historical ticket purchasing record and the current ticket purchasing information.
And the online ticket information comprises current ticket purchasing information.
And the comparison module 240 is used for comparing the ride preference interval with the link ticket information.
And the confirmation module 250 is used for finishing the confirmation of the student connection ticket according to the comparison result.
Further, in order to generate the journey ticket information, one possible implementation manner is that the generating module 230 includes: the obtaining sub-module 231 is configured to obtain historical associated ticket information from the historical ticket purchasing record. And the first determining submodule 232 is used for determining a departure station and an arrival station of the historical journey ticket according to the historical journey ticket information. And a second determining sub-module 233 for determining a departure station and an arrival station of the current ticket purchase according to the current ticket purchase information. And the first generation submodule 234 is used for generating the joint journey ticket information according to the departure station and the arrival station of the current ticket purchase and the departure station and the arrival station of the historical joint journey ticket.
Further, in order to generate the journey ticket information according to the departure station and the arrival station of the current ticket purchase and the departure station and the arrival station of the historical journey ticket, a possible implementation manner is that the first generation sub-module 234 is specifically configured to insert the current ticket purchase information into the historical journey ticket information to generate the journey ticket information when the departure station of the current ticket purchase is the same-city station of the arrival station of the historical journey ticket. And when the arrival station of the current ticket purchasing is the same city station of the departure station of the historical linkage ticket, inserting the current ticket purchasing information into the historical linkage ticket information to generate the linkage ticket information.
Further, in order to compare the ride preference interval with the travel ticket information, a possible implementation manner is that the comparing module 240 includes: and the second generating submodule 241 is configured to generate the mileage corresponding to the riding preference section and the mileage corresponding to the link ticket information. And the confirmation submodule 242 is configured to complete confirmation of the student connection ticket according to the mileage corresponding to the riding preference section and the mileage corresponding to the connection ticket information.
Further, in order to complete the validation of the student's course ticket, a possible implementation manner is that the validation sub-module 242 includes: the calculating unit 242a is configured to calculate a ratio of the mileage corresponding to the link ticket information to the mileage of the ride preference section. And the confirming unit 242b is used for finishing the confirmation of the student joint journey ticket when the ratio is smaller than a preset threshold value.
Further, in order to determine whether the number of student purchases exceeds the limit, a possible implementation manner is that the apparatus further includes: and the third obtaining module 260 is configured to obtain the ride preference times. And the printing module 270 is used for printing the student connection ticket according to the riding discount times and the number of the student connection tickets.
It should be noted that the explanation of the embodiment of the method for confirming a student's itinerary ticket is also applicable to the device for confirming a student's itinerary ticket of the embodiment, and is not repeated herein.
In summary, the confirmation device for the student's travel connection ticket provided by the embodiment of the application acquires the current ticket purchasing information and the riding discount section. The current ticket purchasing information comprises train departure time and a train taking interval. And acquiring historical ticket purchasing records in a preset time period according to the departure time of the train. And generating the link ticket information according to the historical ticket purchasing record and the current ticket purchasing information. And the online ticket information comprises current ticket purchasing information. And comparing the riding preferential interval with the trip ticket information, and finishing the confirmation of the student trip ticket according to the comparison result. Therefore, the link ticket information is generated according to the historical ticket purchasing record and the current ticket purchasing information, and the confirmation of the student link ticket is completed by using the riding preferential section. Therefore, no matter on a 12306 website, a 12306 mobile phone APP client, an artificial ticket selling window or self-service ticket selling terminal equipment, the sale of preferential tickets for students can be completed quickly.
Fig. 6 is a schematic structural diagram of an embodiment of a computer device according to the present application, where the computer device may include a memory for storing information including program instructions and a processor for controlling execution of the program instructions, and the program instructions are loaded and executed by the processor to implement a method for confirming a student's course ticket according to the embodiment of the present application.
The computer device may be a server, for example: the cloud server, or the computer device may also be an electronic device, for example: the present invention relates to a smart device, and more particularly, to a smart device such as a smart phone, a smart watch, a Personal Computer (PC), a notebook Computer, or a tablet Computer.
FIG. 6 illustrates a block diagram of an exemplary computer device 52 suitable for use in implementing embodiments of the present application. The computer device 52 shown in fig. 6 is only an example and should not bring any limitation to the function and scope of use of the embodiments of the present application.
As shown in FIG. 6, computer device 52 is in the form of a general purpose computing device. The components of computer device 52 may include, but are not limited to: one or more processors or processing units 56, a system memory 78, and a bus 58 that couples various system components including the system memory 78 and the processing unit 56.
Bus 58 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. These architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus, to name a few.
Computer device 52 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer device 52 and includes both volatile and nonvolatile media, removable and non-removable media.
The system Memory 78 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) 70 and/or cache Memory 72. The computer device 52 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, the storage system 74 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 6, commonly referred to as a "hard drive"). Although not shown in FIG. 6, a disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a Compact disk Read Only memory (CD-ROM), a Digital versatile disk Read Only memory (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to the bus 58 by one or more data media interfaces. Memory 78 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the application.
A program/utility 80 having a set (at least one) of program modules 82 may be stored, for example, in memory 78, such program modules 82 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 82 generally perform the functions and/or methodologies of the embodiments described herein.
The computer device 52 may also communicate with one or more external devices 54 (e.g., keyboard, pointing device, display 64, etc.), with one or more devices that enable a user to interact with the computer device 52, and/or with any devices (e.g., network card, modem, etc.) that enable the computer device 52 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 62. Also, computer device 52 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public Network such as the Internet) via Network adapter 60. As shown in FIG. 6, the network adapter 60 communicates with the other modules of the computer device 52 via the bus 58. It should be appreciated that although not shown in FIG. 6, other hardware and/or software modules may be used in conjunction with the computer device 52, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 56 executes various functional applications and data processing by running programs stored in the system memory 78, for example, to implement the method for confirming the student's course ticket provided in the embodiment of the present application.
The embodiment of the present application further provides a non-transitory computer-readable storage medium, where the non-transitory computer-readable storage medium includes a stored program, and when the program runs, the device where the non-transitory computer-readable storage medium is located is controlled to execute the method for confirming the student's online ticket provided in the embodiment of the present application.
The non-transitory computer readable storage medium described above may take any combination of one or more computer readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM) or flash Memory, an optical fiber, a portable compact disc Read Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, or the like, as well as conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of Network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
It should be noted that the terminal according to the embodiments of the present application may include, but is not limited to, a Personal Computer (Personal Computer; hereinafter, referred to as PC), a Personal Digital Assistant (Personal Digital Assistant; hereinafter, referred to as PDA), a wireless handheld device, a Tablet Computer (Tablet Computer), a mobile phone, an MP3 player, an MP4 player, and the like.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a Processor (Processor) to execute some steps of the methods according to the embodiments of the present application. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The present invention is not intended to be limited to the particular embodiments shown and described, but is to be accorded the widest scope consistent with the principles and novel features herein disclosed.

Claims (14)

1. A method for confirming a student's joint travel ticket, the method comprising:
acquiring current ticket purchasing information and riding preferential intervals; the current ticket purchasing information comprises train departure time and a train taking interval;
acquiring historical ticket purchasing records in a preset time period according to the train departure time;
generating link ticket information according to the historical ticket purchasing records and the current ticket purchasing information; wherein the online ticket information comprises the current ticket purchasing information;
comparing the ride preferential interval with the link ticket information; and
and according to the comparison result, the confirmation of the student joint journey ticket is completed.
2. The method of claim 1, wherein generating the online ticket information based on the historical ticket purchase record and the current ticket purchase information comprises:
acquiring historical online ticket information from the historical ticket purchasing record;
determining a departure station and an arrival station of the historical journey ticket according to the historical journey ticket information;
determining a departure station and an arrival station of the current ticket purchasing according to the current ticket purchasing information;
and generating the joint travel ticket information according to the departure station and the arrival station of the current ticket purchase and the departure station and the arrival station of the historical joint travel ticket.
3. The method of claim 2, wherein generating the commutative ticket information based on the departure and arrival stations of the current purchase ticket and the departure and arrival stations of the historical commutative ticket comprises:
when the departure station of the current ticket purchasing is the same city station of the arrival station of the historical linkage ticket, inserting the current ticket purchasing information into the historical linkage ticket information to generate the linkage ticket information;
and when the arrival station of the current ticket purchasing is the same city station of the departure station of the historical linkage ticket, inserting the current ticket purchasing information into the historical linkage ticket information to generate the linkage ticket information.
4. The method of claim 1, wherein the comparing the ride offer interval and the travel ticket information comprises:
generating mileage corresponding to the riding preferential interval and mileage corresponding to the link ticket information;
and according to the mileage corresponding to the riding preferential interval and the mileage corresponding to the link ticket information, finishing the confirmation of the student link ticket.
5. The method of claim 4, wherein the confirming the student's joint journey ticket according to the mileage corresponding to the riding preference section and the mileage corresponding to the joint journey ticket information comprises:
calculating the mileage corresponding to the link ticket information and the ratio of the mileage to the mileage of the riding preferential interval;
and when the ratio is smaller than a preset threshold value, the confirmation of the student joint journey ticket is completed.
6. The method of any one of claims 1-5, further comprising, after said completing the validation of the student's commute ticket based on the comparison,:
obtaining riding discount times;
and printing the student connection ticket according to the riding discount times and the number of the student connection tickets.
7. A student's confirmation of an itinerary ticket, the apparatus comprising:
the first acquisition module is used for acquiring current ticket purchasing information and riding preferential intervals; the current ticket purchasing information comprises train departure time and a train taking interval;
the second acquisition module is used for acquiring historical ticket purchasing records in a preset time period according to the train departure time;
the generation module is used for generating the link ticket information according to the historical ticket purchasing record and the current ticket purchasing information; wherein the online ticket information comprises the current ticket purchasing information;
the comparison module is used for comparing the riding preferential interval with the journey ticket information; and
and the confirmation module is used for finishing the confirmation of the student joint journey ticket according to the comparison result.
8. The apparatus of claim 7, wherein the generating module comprises:
the acquisition submodule is used for acquiring historical link ticket information from the historical ticket purchasing record;
the first determining submodule is used for determining a departure station and an arrival station of the historical journey ticket according to the historical journey ticket information;
the second determining submodule is used for determining a departure station and an arrival station of the current ticket purchasing according to the current ticket purchasing information;
and the first generation submodule is used for generating the joint travel ticket information according to the departure station and the arrival station of the current ticket purchase and the departure station and the arrival station of the historical joint travel ticket.
9. The apparatus of claim 8,
the first generation submodule is specifically configured to insert the current ticket purchasing information into the historical linkage ticket information to generate the linkage ticket information when the departure station of the current ticket purchasing is a same-city station as the arrival station of the historical linkage ticket;
and when the arrival station of the current ticket purchasing is the same city station of the departure station of the historical linkage ticket, inserting the current ticket purchasing information into the historical linkage ticket information to generate the linkage ticket information.
10. The apparatus of claim 7, wherein the comparison module comprises:
the second generation submodule is used for generating mileage corresponding to the riding preferential interval and mileage corresponding to the link ticket information;
and the confirmation submodule is used for finishing the confirmation of the student connection ticket according to the mileage corresponding to the riding preferential interval and the mileage corresponding to the connection ticket information.
11. The apparatus of claim 10, wherein the confirmation submodule comprises:
the calculating unit is used for calculating the ratio of the mileage corresponding to the link ticket information to the mileage of the riding preferential section;
and the confirming unit is used for finishing the confirmation of the student joint journey ticket when the ratio is smaller than a preset threshold value.
12. The apparatus of any one of claims 7-11, wherein the apparatus further comprises:
the third acquisition module is used for acquiring riding discount times;
and the printing module is used for printing the student connection ticket according to the riding discount times and the number of the student connection tickets.
13. A non-transitory computer readable storage medium, characterized in that the non-transitory computer readable storage medium includes a stored program, wherein the program when executed controls a device on which the non-transitory computer readable storage medium is located to perform the method for confirming a student's itinerary ticket according to any one of claims 1 to 6.
14. A computer device comprising a memory for storing information including program instructions and a processor for controlling execution of the program instructions, characterized in that: the program instructions when loaded and executed by a processor implement a method of validating a student's commute ticket as claimed in any one of claims 1 to 6.
CN201911232933.2A 2019-12-05 2019-12-05 Method and device for confirming student joint journey ticket Pending CN110956506A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911232933.2A CN110956506A (en) 2019-12-05 2019-12-05 Method and device for confirming student joint journey ticket

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911232933.2A CN110956506A (en) 2019-12-05 2019-12-05 Method and device for confirming student joint journey ticket

Publications (1)

Publication Number Publication Date
CN110956506A true CN110956506A (en) 2020-04-03

Family

ID=69979854

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911232933.2A Pending CN110956506A (en) 2019-12-05 2019-12-05 Method and device for confirming student joint journey ticket

Country Status (1)

Country Link
CN (1) CN110956506A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020016724A1 (en) * 2000-07-28 2002-02-07 Yue-Heng Yang System and method for booking international multiple-stop tickets
JP2003303357A (en) * 2002-04-08 2003-10-24 Toshiba Corp Student commuter ticket issuing device, student commuter ticket processing device, automatic ticket checking device, ticket check processing system and ticket check processing method
US20080140464A1 (en) * 2006-12-07 2008-06-12 De Marcken Carl G Travel planning system that produces answers involving mulitple sales channels/PNRs/tickets per answer
US20090282342A1 (en) * 2008-05-07 2009-11-12 Traxo, Llc System and method for travel plan monitoring and notification
CN103646069A (en) * 2013-12-06 2014-03-19 北京奇虎科技有限公司 Recommendation method and device for ticket service information
CN105512739A (en) * 2015-12-25 2016-04-20 北京奇虎科技有限公司 Method and system for online ticket booking
CN105788399A (en) * 2016-05-27 2016-07-20 成都零线科技有限公司 Bullet train ticket business simulation system and implementation method thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020016724A1 (en) * 2000-07-28 2002-02-07 Yue-Heng Yang System and method for booking international multiple-stop tickets
JP2003303357A (en) * 2002-04-08 2003-10-24 Toshiba Corp Student commuter ticket issuing device, student commuter ticket processing device, automatic ticket checking device, ticket check processing system and ticket check processing method
US20080140464A1 (en) * 2006-12-07 2008-06-12 De Marcken Carl G Travel planning system that produces answers involving mulitple sales channels/PNRs/tickets per answer
US20090282342A1 (en) * 2008-05-07 2009-11-12 Traxo, Llc System and method for travel plan monitoring and notification
CN103646069A (en) * 2013-12-06 2014-03-19 北京奇虎科技有限公司 Recommendation method and device for ticket service information
CN105512739A (en) * 2015-12-25 2016-04-20 北京奇虎科技有限公司 Method and system for online ticket booking
CN105788399A (en) * 2016-05-27 2016-07-20 成都零线科技有限公司 Bullet train ticket business simulation system and implementation method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李佼 等: "《铁路售票员 售票值班员》", 30 June 2016, 中国铁道出版社 *

Similar Documents

Publication Publication Date Title
JP6878629B2 (en) Systems and methods for determining information related to the current order based on past orders
US20140067634A1 (en) Financial goal visualization system
US20130046636A1 (en) Location-Aware Mobile Advertising
CN110249357B (en) System and method for data update
US20150206181A1 (en) In-vehicle digital advertisement
Zegras et al. Tracing a path to knowledge? Indicative user impacts of introducing a public transport map in Dhaka, Bangladesh
US20180033059A1 (en) Training an estimation model for price optimization
US20200364799A1 (en) Insurance recommendation engine
WO2020155344A1 (en) Task request processing method and device
CN110503528A (en) A kind of circuit recommendation method, apparatus, equipment and storage medium
CA3015318A1 (en) Method and system for allocating a price discovery mechanism in a data marketplace
CN111859172A (en) Information pushing method and device, electronic equipment and computer readable storage medium
CN110956506A (en) Method and device for confirming student joint journey ticket
JP2019527908A (en) Computer system and built-in program for product and contractor service mapping
JP2018205876A (en) Damaged car assessment system
Ambarwati et al. The Role of the Government Regulation in Online Transportation: A Model Validation
Villanueva et al. The pros and cons of using the change in destination choice logsums as a practical measure of user benefits
Bozsik et al. Democratizing housing affordability data: open data and data journalism in charlottesville, VA
CN111539857A (en) Education service transaction platform and method
KR102373136B1 (en) Online platform that informs the user's location information
JP6524893B2 (en) Advertisement control program, advertisement control method and advertisement control apparatus
Jung et al. Evaluating global integrated transportation application for mega event: Role of trust and exchanging personal information in mobility as a service (maas)
Spitzer et al. Conception of a digital mobility platform for citizens in rural areas
KR102647773B1 (en) Device capable of determining target customer suitable for travel package
KR101272560B1 (en) Method for selling study contents and recording-medium recorded program thereof

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

Application publication date: 20200403

RJ01 Rejection of invention patent application after publication