Traffic voucher ordering method and device
By introducing the original transit plan and splicing transit plan in the public transportation system, directly purchasing transportation vouchers and purchasing insurance services through the transportation service ticket purchase platform, the inefficient ordering of transit plans in the existing technology and the refund fee are solved, and users have been enhanced Experience and ticket purchase costs.
Patent Information
- Application Number
- CN202410833694.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-11-26
AI Technical Summary
The ticket purchase system of the existing public transportation system cannot meet users' richer travel needs, resulting in inefficient ordering of transit plans and successful ordering of some transportation vouchers and partial failures. Users need to perform additional ticket refund operations and pay the ticket refund fee.
By introducing the original transfer plan and splicing transfer plan into the travel service platform, users can directly purchase transportation vouchers for the original transfer plan through the transportation service ticket purchase platform, and purchase insurance services in the splicing transfer plan to compensate for the ticket refund fee.
It improves the efficiency of ordering the transit plan, avoids the problem of requiring ticket refund operations and paying additional handling fees after the ordering of some transportation vouchers is successful, and improves the user experience and ticket purchase cost.
Smart Images

Figure CN119027210A_ABST
Abstract
Description
Technical Field
[0001] One or more embodiments of the present specification relate to the field of transportation services, and more particularly, to a method and device for ordering transportation vouchers. Background Art
[0002] With the continuous construction of transportation projects, taking public transportation has become a common way of travel for people. The operator of public transportation has launched a ticket purchasing system, which allows users to purchase transportation vouchers such as train tickets and plane tickets through the ticket purchasing system to take the corresponding transportation.
[0003] In the public transportation system, the operator's ticket purchasing system usually only has basic ticket purchasing functions and cannot meet the user's more abundant service needs. For this reason, travel service platforms came into being to customize exclusive travel plans according to the needs of users and purchase transportation vouchers from the ticket purchasing system on their behalf. For example, in addition to providing direct solutions corresponding to a single journey segment, the travel service platform can also provide transfer solutions that include multiple journey segments. However, the travel service platform in the related art only formulates transfer plans based on the obtained ticket information, resulting in the related art using a separate ordering method for all transfer plans to order the multiple transportation vouchers involved. Not only is there a problem of low ordering efficiency, but also there is a problem that only some of the multiple transportation vouchers involved in the transfer plan are successfully ordered, resulting in cumbersome user operations. Summary of the invention
[0004] In view of this, one or more embodiments of this specification provide the following technical solutions:
[0005] According to a first aspect of one or more embodiments of this specification, a method for ordering a transportation voucher is proposed, which is applied to a travel service platform, including:
[0006] Determine the user's travel information according to the received ticket purchase query request, wherein the travel information includes a departure place and a destination;
[0007] A set of ticket purchase solutions is determined based on the travel information, wherein the types of transfer solutions in the set of ticket purchase solutions include original transfer solutions and / or spliced transfer solutions, and the first-trip departure place of each transfer solution is consistent with the departure place in the travel information, and the last-trip destination is consistent with the destination in the travel information; wherein the original transfer solution is directly provided by the transportation service ticket purchase platform, and the spliced transfer solution is formed by the travel service platform based on a combination of multiple non-transfer solutions provided by the transportation service ticket purchase platform;
[0008] When any transfer scheme in the ticket purchase scheme set is selected and the type of any transfer scheme is an original transfer scheme, a transportation voucher corresponding to any transfer scheme is purchased directly through the transportation service ticket purchase platform.
[0009] According to a second aspect of one or more embodiments of this specification, a method for ordering a transportation voucher is proposed, which is applied to a client of a travel service, including:
[0010] Based on the travel information provided by the user, a ticket purchase query request is initiated to the travel service platform, so that the travel service platform determines a set of ticket purchase solutions based on the departure place and destination included in the travel information;
[0011] The ticket purchase plan set returned by the travel service platform is displayed, and the types of transfer plans in the ticket purchase plan set include original transfer plans and / or spliced transfer plans, and the first-trip departure place of each transfer plan is consistent with the departure place in the travel information, and the last-trip destination is consistent with the destination in the travel information; wherein, the original transfer plan is directly provided by the transportation service ticket purchase platform, and the spliced transfer plan is formed by the travel service platform based on a combination of multiple non-transfer plans provided by the transportation service ticket purchase platform;
[0012] In response to the user's selection operation for any transfer plan, a ticket purchase request for any transfer plan is initiated to the travel service platform, so that the travel service platform can directly purchase the transportation voucher corresponding to any transfer plan through the transportation service ticket purchasing platform if the type of any transfer plan is an original transfer plan.
[0013] According to a third aspect of one or more embodiments of this specification, a traffic voucher ordering device is proposed, which is applied to a travel service platform, including:
[0014] A first determining unit, which determines the user's travel information according to the received ticket purchase query request, wherein the travel information includes a departure place and a destination;
[0015] A second determining unit determines a set of ticket purchase schemes based on the travel information, wherein the types of transfer schemes in the ticket purchase scheme set include original transfer schemes and / or spliced transfer schemes, and the first-trip departure place of each transfer scheme is consistent with the departure place in the travel information, and the last-trip destination is consistent with the destination in the travel information; wherein the original transfer scheme is directly provided by the transportation service ticket purchase platform, and the spliced transfer scheme is formed by the travel service platform based on a combination of multiple non-transfer schemes provided by the transportation service ticket purchase platform;
[0016] The ticket purchasing unit directly purchases a transportation voucher corresponding to any transfer plan through the transportation service ticket purchasing platform when any transfer plan in the ticket purchasing plan set is selected and the type of the any transfer plan is an original transfer plan.
[0017] According to a fourth aspect of one or more embodiments of this specification, a traffic voucher ordering device is provided, which is applied to a client of a travel service, including:
[0018] A first initiating unit initiates a ticket purchase query request to a travel service platform based on travel information provided by a user, so that the travel service platform determines a set of ticket purchase solutions based on a departure place and a destination included in the travel information;
[0019] A display unit, for displaying the ticket purchase plan set returned by the travel service platform, wherein the types of transfer plans in the ticket purchase plan set include original transfer plans and / or spliced transfer plans, and the first-trip departure place of each transfer plan is consistent with the departure place in the travel information, and the last-trip destination is consistent with the destination in the travel information; wherein the original transfer plan is directly provided by the transportation service ticket purchase platform, and the spliced transfer plan is formed by the travel service platform based on a combination of multiple non-transfer plans provided by the transportation service ticket purchase platform;
[0020] The second initiating unit, in response to the user's selection operation for any transfer plan, initiates a ticket purchase request for any transfer plan to the travel service platform, so that the travel service platform can directly purchase the transportation voucher corresponding to any transfer plan through the transportation service ticket purchasing platform when the type of any transfer plan is an original transfer plan.
[0021] According to the fifth aspect of one or more embodiments of this specification, an electronic device is proposed, comprising: a processor; a memory for storing processor executable instructions; wherein the processor implements the steps of the method described in the first aspect or the second aspect by running the executable instructions.
[0022] According to a sixth aspect of one or more embodiments of the present specification, a computer-readable storage medium is provided, on which computer instructions are stored, and when the instructions are executed by a processor, the steps of the method described in the first aspect or the second aspect are implemented.
[0023] According to a seventh aspect of one or more embodiments of the present specification, a computer program product is proposed, comprising a computer program / instruction, which, when executed by a processor, implements the steps of the method described in the first aspect or the second aspect.
[0024] As can be seen from the above embodiments, in the set of ticket purchase plans determined by this specification based on the user's travel information, if there is a transfer plan, it is at least one of the original transfer plan and the spliced transfer plan. On this basis, if the user selects the original transfer plan from the ticket purchase plan, the transportation voucher corresponding to the original transfer plan is directly purchased through the transportation service ticket purchase platform.
[0025] It should be understood that the original transfer plan is a transfer plan directly provided by the transportation service ticket purchasing platform, and is not customized by the travel service platform. It allows direct ordering through the transportation service ticket purchasing platform. It can be seen that since this manual will give priority to determining the type of the transfer plan after the user selects the transfer plan, and when the selected transfer plan is the original transfer plan, the transportation voucher corresponding to the original transfer plan is purchased directly through the transportation service ticket purchasing platform, which avoids the problem of low ordering efficiency caused by the related technology that all transfer plans are made by the travel service platform by default, and the transportation vouchers involved in the transfer plan are ordered separately, as well as the situation where some of the multiple transportation vouchers involved are successfully ordered and some are unsuccessful.
[0026] In addition, this manual purchases insurance services for multiple transportation vouchers involved in the splicing transfer plan when the transfer plan selected by the user is a splicing transfer plan. On this basis, if only some of the multiple transportation vouchers involved in the splicing transfer plan are successfully ordered, the travel service platform can compensate for the refund fee required for the refund operation based on the compensation of the insurance service. In this way, when the user selects the splicing transfer plan and only some of the multiple transportation vouchers involved are successfully ordered, it is possible to avoid the problem of increased ticket purchase costs due to the need to perform a refund operation on the successfully ordered transportation vouchers and the additional payment of the refund fee. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 It is a schematic diagram of the architecture of a travel service system provided by an exemplary embodiment.
[0028] Figure 2 It is a flow chart of a method for ordering a transportation voucher provided by an exemplary embodiment.
[0029] Figure 3 is a flow chart of another method for ordering a transportation voucher provided by an exemplary embodiment.
[0030] Figure 4 It is an interactive diagram of a train ticket query method provided by an exemplary embodiment.
[0031] Figure 5A It is an interactive diagram of a method for purchasing train tickets provided by an exemplary embodiment.
[0032] Figure 5B It is an interactive diagram of another method for purchasing train tickets provided by an exemplary embodiment.
[0033] Figure 5C It is an interactive diagram of yet another method for purchasing train tickets provided by an exemplary embodiment.
[0034] Figure 6 It is a structural schematic diagram of a device provided by an exemplary embodiment.
[0035] Figure 7 It is a block diagram of a transportation voucher ordering device provided by an exemplary embodiment.
[0036] Figure 8 It is a block diagram of a transportation voucher ordering device provided by an exemplary embodiment. DETAILED DESCRIPTION
[0037] The user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this manual are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0038] Figure 1 FIG. 1 is a schematic diagram of the architecture of a travel service system provided by an exemplary embodiment. Figure 1 As shown, the system may include a server 11, a network 12, and several electronic devices, such as a PC (Personal Computer) 13, a mobile phone 14, and the like.
[0039] The server 11 may be a physical server including an independent host, or the server 11 may be a virtual server hosted by a host cluster. During operation, the server 11 may run a server-side program of an application to implement the relevant functions of the application. For example, when the server 11 runs a travel service program, it may be implemented as a corresponding travel service platform.
[0040] PC13 and mobile phone 14 are only some types of electronic devices that users can use. In fact, users can obviously also use electronic devices such as the following types: tablet devices, laptops, PDAs (Personal Digital Assistants), wearable devices (such as smart glasses, smart watches, etc.), etc., and one or more embodiments of this specification do not limit this. During operation, the electronic device can run a program on the client side of a certain application to implement the relevant functions of the application. For example, when the electronic device runs a program for a travel service, it can be implemented as a client for the travel service. Among them, the application program of the client of the above travel service can be started and run on the electronic device. The program on the client side can be a native application installed on the electronic device, or the program on the client side can be a small program, a quick application or other similar forms. Of course, when using web page technologies such as HTML5 or similar, the relevant functions can be implemented through the page displayed by the browser. The browser here can be an independent browser application or a browser module embedded in certain applications.
[0041] As for the network 12 for interaction between electronic devices such as PC 13 and mobile phone 14 and server 11, it is possible to select a wired or wireless network to achieve communication based on the communication mode supported by the corresponding electronic device, and this specification does not limit this. For example, PC 13 can support both wired and wireless communication, so it can use a wired or wireless network to achieve communication as needed, while mobile phone 14 usually only supports wireless communication, so it can use a wireless network to achieve communication.
[0042] In the public transportation system, the providers of transportation services usually maintain an independent ticket purchasing system. In this specification, the platform for providing ticket purchasing services carried by the ticket purchasing system is referred to as the transportation service ticket purchasing platform. On this basis, the providers of transportation services can generate corresponding transportation vouchers in the ticket purchasing system based on the transportation services they can provide, and present the generated transportation vouchers through the transportation service ticket purchasing platform so that users can purchase according to their travel needs.
[0043] It should be emphasized that the travel service platform mentioned above refers to: a third-party platform that is independent of the transportation service ticket purchasing platform. It should be understood that the transportation service ticket purchasing platform can usually only provide the most basic ticket purchasing function and cannot meet the user's more extensive travel needs. In view of the limitations of the transportation service ticket purchasing system, independently operated travel service platforms provide users with more travel services, among which the most typical one is: based on the user's travel needs, formulate corresponding ticket purchase plans for users, and purchase the transportation vouchers involved in the plan on their behalf. For example, the ticket purchase plans provided by the travel service platform may include direct plans and transfer plans. Once the user selects any direct plan or transfer plan, he can purchase the transportation vouchers involved in the corresponding ticket purchase plan.
[0044] In the relevant technology, the travel service platform will give priority to obtaining the information of the direct plan's transportation voucher provided by the transportation service ticket purchasing platform. On this basis, on the one hand, based on the obtained information, it will directly provide users with the option of purchasing a direct plan. On the other hand, based on the obtained direct plan's transportation voucher, it will formulate a transfer plan and provide users with the option of purchasing a transfer plan.
[0045] Taking the purchase of train tickets as an example, the travel service platform can obtain the train ticket information of "City A→City B", "City A→City C", and "City B→City C" from the transportation service ticket purchasing platform. Among them, if the arrival time displayed on the train ticket information of "City A→City B" is earlier than but close to the departure time displayed on the train ticket of "City B→City C", then when the user searches for train tickets from City A to City C, the travel service platform can provide a direct plan to purchase the train ticket of "City A→City C" as well as a transfer plan to purchase two train tickets of "City A→City B" and "City B→City C".
[0046] Since the transfer plans in the related art are all formulated by the travel service platform itself, when the user selects the transfer plan, the travel service platform purchases the tickets by ordering multiple transportation vouchers involved in the transfer plan separately. For example, in the above train ticket example, the travel service platform will separately execute the purchase operation of the train ticket from "city A→city B" and the purchase operation of the train ticket from "city B→city C".
[0047] It should be understood that ordering multiple transportation vouchers involved in the transfer plan separately not only leads to low ordering efficiency due to the need to perform ordering operations multiple times, but also due to the multiple transportation vouchers involved in the transfer plan, it is very easy to have only some of the multiple transportation vouchers involved in the transfer plan be successfully ordered, while some fail to be ordered. In this case, since the user's need to reach the destination through the transfer plan cannot be met, it is equivalent to the failure of the ticket purchase operation for the entire transfer plan. The user even needs to perform a refund operation for the transportation voucher that has been successfully ordered, and then pay a refund fee, etc., which brings great trouble to the user. For example, if in the above train ticket example, the train ticket from "City A→City B" is successfully ordered, but the train ticket from "City B→City C" fails to be ordered due to being sold out, then the user also needs to perform a refund operation on the train ticket from "City A→City B" and then pay a refund fee.
[0048] In other words, when ordering transportation vouchers involved in transfer plans, travel service platforms in related technologies not only have the problem of low ordering efficiency, but also have the problem of only partially ordering the multiple transportation vouchers involved in the transfer plan, which requires users to perform additional refund operations and pay refund fees.
[0049] In view of this, this specification takes into account that with the continuous improvement of transportation services, the transportation service ticket purchasing platform also provides some transfer plans, and the transfer plans provided by the transportation service platform allow direct purchase from the platform, and proposes a transportation voucher ordering method. In this method, when the travel service platform provides transfer plans for users, it no longer only provides transfer plans formulated by itself, but also provides transfer plans directly provided by the transportation service ticket purchasing platform. Among them, when the user chooses the transfer plan directly provided by the transportation service ticket purchasing platform, the transportation voucher corresponding to the transfer plan is purchased directly through the transportation service ticket purchasing platform, thereby avoiding the problem of low ordering efficiency caused by the related technology of separately ordering multiple transportation vouchers involved in the self-formulated transfer plan when there is an original transfer plan matching the travel information, and the problem that when only part of the transportation vouchers are successfully ordered, the user needs to perform additional ticket refund operations and pay the refund fee.
[0050] Below, the steps of the transportation voucher ordering method are introduced:
[0051] Figure 2 This is a flow chart of a method for ordering a transportation voucher as an exemplary embodiment of this specification. The method is applied to a travel service platform, such as Figure 2 As shown, the method may include the following steps:
[0052] Step 202: Determine the user's travel information according to the received ticket purchase query request, wherein the travel information includes a departure place and a destination.
[0053] In the scenario of public transportation, users can install the client software of the travel service platform in the terminal they use to form the client of the travel service platform in the terminal. On this basis, users can enter travel information in the client according to their own needs, and then initiate a ticket purchase query request to the travel service platform. Among them, the travel information at least includes the departure place and the destination, so that the travel service platform can find the corresponding transportation voucher.
[0054] Of course, in addition to the departure and destination, the travel information may also include other information, for example, time information, passenger information, seat selection information, etc. The specific information included in the travel information can be determined by those skilled in the art according to actual needs, and this specification does not limit this.
[0055] Step 204: determine a set of ticket purchase plans based on the travel information, the types of transit plans in the ticket purchase plan set include original transit plans and / or spliced transit plans, and the first-trip departure point of each transit plan is consistent with the departure point in the travel information, and the last-trip destination is consistent with the destination in the travel information; wherein the original transit plan is directly provided by the transportation service ticket purchase platform, and the spliced transit plan is formed by the travel service platform based on a combination of multiple non-transit plans provided by the transportation service ticket purchase platform.
[0056] After obtaining the departure place and destination included in the travel information, the ticket purchase plan that can meet the conditions can be determined based on the departure place and destination, thereby forming a ticket purchase plan set corresponding to the travel information. It should be understood that the ticket purchase plan set can include both direct plans and transfer plans, and of course, both at the same time. Among them, the direct plan refers to a ticket purchase plan that can directly reach the destination from the departure place without transfer; and the transfer plan refers to a ticket purchase plan that requires at least one transfer to reach the destination from the departure place.
[0057] It should be emphasized that when the ticket purchase plan set includes a transfer plan, in order for the transfer plan to meet the user's needs of "departing from the departure place included in the travel information and arriving at the destination included in the travel information", the first departure place of each transfer plan in the set is consistent with the departure place in the travel information, and the last destination is consistent with the destination in the travel information.
[0058] It should also be emphasized that the type of the transit scheme in the ticket purchase scheme set may be at least one of the original transit scheme and the spliced transit scheme. In other words, the transit scheme in the ticket purchase scheme set may include only the original transit scheme, only the spliced transit scheme, or both the original transit scheme and the spliced transit scheme. Among them, the original transit scheme refers to the transit scheme directly provided by the transportation service ticket purchase platform, while the spliced transit scheme is composed of multiple non-transit schemes based on the transportation service ticket purchase platform by the travel service platform. It is worth noting that the non-transit scheme here usually refers specifically to the direct access scheme described above. In other words, the spliced transit scheme can be the transit scheme formulated by the travel service platform based on the transportation voucher of the direct access scheme provided by the transportation service ticket purchase platform as described above. Of course, the examples given here are only illustrative. How the travel service platform formulates the transit scheme on its own can be determined by those skilled in the art according to actual needs, and this specification does not limit this.
[0059] After determining a set of ticket purchase solutions based on the travel information, the set of ticket purchase solutions can be provided to the user so that the user can select a ticket purchase solution from it. For example, page data corresponding to the set of ticket purchase solutions can be sent to a client of the travel service so that the client can display the ticket purchase solutions contained in the set of ticket purchase solutions based on the received page data.
[0060] In the case where the ticket purchase plan set includes a transfer plan, the type of the transfer plan may be marked when displaying the ticket purchase plans included in the set, or the type of each transfer plan may not be marked. In other words, the page data may include a type tag set for each transfer plan to indicate whether the corresponding transfer plan is an original transfer plan or a spliced transfer plan, or may not include a type tag set for each transfer plan.
[0061] Step 206, when any transfer scheme in the ticket purchase scheme set is selected and the type of any transfer scheme is an original transfer scheme, directly purchase a transportation voucher corresponding to any transfer scheme through the transportation service ticket purchase platform.
[0062] After providing the ticket purchase plan set to the user for selection by the user, the travel service platform can obtain the selection information for any ticket purchase plan. On this basis, the travel service platform can perform the corresponding ticket purchase operation according to the ticket purchase plan selected by the user.
[0063] Among them, when the selected ticket purchase plan is a transfer plan and the type of the transfer plan is an original transfer plan, since the original transfer plan is directly provided by the transportation service ticket purchasing platform, users are allowed to purchase the transportation vouchers corresponding to the original transfer plan in a unified manner. Therefore, the travel service platform can directly purchase the transportation vouchers corresponding to the selected transfer plan through the transportation service ticket purchasing platform.
[0064] It should be understood that in the relevant technology, the transportation service ticket purchasing platform will generate a transportation voucher for each itinerary segment, wherein the direct solution provided contains only one itinerary segment, corresponding to one transportation voucher; and the original transfer solution provided contains multiple itinerary segments, each of which corresponds to one transportation voucher, that is, multiple transportation vouchers. Normally, the number of transportation vouchers corresponding to each itinerary segment is limited, but the transportation voucher corresponding to the same itinerary segment is used for the sale of both the transfer solution and the direct solution, so that the sales of the direct solution will directly affect the inventory of the transfer solution.
[0065] Taking the train tickets mentioned above as an example, assume that the number of train tickets for the itinerary segment "City A→City B" is 100, and the number of train tickets for the itinerary segment "City B→City C" is 105. Under this premise, the train ticket purchasing platform initially shows that the remaining train tickets for "City A→City B" are 100 and the remaining train tickets for "City B→City C" are 105; and the remaining train tickets for the transfer plan "City A→City B+City B→City C" can be displayed as 100. If 5 train tickets for "City A→City B" have been sold, the remaining train tickets for "City A→City B" will be changed to 95. Further assuming that "City B→City C" has not been sold, the remaining train tickets for the transfer plan "City A→City B+City B→City C" will also become 95.
[0066] It should be understood that in this case, if the travel service platform formulates the transfer plan by itself as in the relevant technology, it will default to the transfer plan being ordered by separate ticket booking. For example, in the above-mentioned train ticket example, the travel service platform also formulates a transfer plan of "City A→City B+City B→City C" by itself, but it completes the ticket purchase operation of the transfer plan by separately booking the above-mentioned "City A→City B" train tickets and "City B→City C" train tickets. When placing an order in this manner, on the one hand, multiple ordering operations need to be performed, resulting in reduced ordering efficiency; on the other hand, since the transportation vouchers for the itinerary segments included in the transfer plan are also sold as transportation vouchers for the direct plan, it may result in that only the transportation vouchers for some of the itinerary segments in the transfer plan are successfully ordered. For example, in the example of the train ticket, the above-mentioned "city A→city B" train ticket may be purchased successfully, but the purchase of the train ticket for "city B→city C" may fail (for example, it may be because the train tickets for this itinerary segment have been sold out as direct plans). In this case, user needs cannot be met, and a refund operation is required for the successfully ordered transportation voucher, which is not only cumbersome, but also requires users to pay additional refund fees, resulting in a poor user experience.
[0067] In the technical solution of this specification, since the travel service platform classifies the transfer plans, and when the transfer plan selected by the user is the original transfer plan, the transportation voucher corresponding to the transfer plan is directly purchased from the transportation service ticket purchase platform. When the transportation service ticket purchase platform receives the order request for the original transfer plan, it will obtain feedback on whether the ticket purchase operation of the entire original transfer plan is successful based on the remaining transportation vouchers of the itinerary segment involved in the original transfer plan.
[0068] For instance, in the above train ticket example, only when there are still reserves of train tickets for "City A→City B" and "City B→City C", the reserve of the original transfer plan "City A→City B+City B→City C" will not be 0, and the ordering operation of the original transfer plan can be successful. Once the reserve of any one of the two is insufficient, the reserve of the original transfer plan "City A→City B+City B→City C" will be zero, and the transportation service ticket purchasing platform will directly feedback that the purchase operation of the original transfer plan has failed. There is no situation where the train ticket ordering of "City A→City B" is successful and the train ticket ordering of "City B→City C" fails, nor is there a situation where the train ticket ordering of "City A→City B" fails and the train ticket ordering of "City B→City C" is successful.
[0069] However, when the ordering method in the related art is adopted, since two train tickets are ordered separately, the transportation service ticket purchasing platform obtains two booking results, namely, the booking result of the train ticket from "City A→City B" and the booking result of the train ticket from "City B→City C". The travel service platform then determines whether the ticket purchase operation of the transfer plan is successful based on the two booking results, instead of the transportation service ticket purchasing platform directly obtaining the ticket purchase result of the transfer plan.
[0070] It can be seen that the travel service platform in this specification, by uniformly ordering the transportation vouchers for multiple itinerary segments included in the original transfer plan, avoids the problem in the related art of low travel ordering efficiency by still adopting a separate ordering method when the transportation service ticket purchasing platform provides the original transfer plan, and the problem of only successfully ordering transportation vouchers for some of the itinerary segments involved in the transfer plan, and the need to refund the successfully ordered transportation vouchers, resulting in cumbersome operations and increased ticket purchase costs.
[0071] It is worth noting that, although the transportation service ticket purchasing platform in the related art usually sets a transportation voucher for each itinerary segment, so that the original transfer plan provided by the transportation service ticket purchasing platform involves multiple transportation vouchers, in this specification, the transportation voucher corresponding to the original transfer plan can be set as in the related art, that is, the original transfer plan corresponds to multiple transportation vouchers; or it can be: a unified transportation voucher corresponding to multiple itineraries involved in the original transfer plan. In other words, in this case, the original transfer plan only corresponds to one transportation voucher, but the user can use the transportation voucher to take multiple itineraries involved in the original transfer plan. Of course, this example is only illustrative, and how to set the transportation voucher corresponding to the original transfer plan can be determined by those skilled in the art according to actual needs, and this specification does not limit this.
[0072] It is not difficult to see that although the travel service platform can avoid the problem of inefficient ticket purchase by direct ordering when the transfer plan selected by the user is the original transfer plan, and the situation where only the transportation vouchers for some of the multiple itinerary segments involved in the transfer plan are successfully ordered, resulting in the need to perform a ticket refund operation, which in turn causes cumbersome operations and increased ticket purchase costs.
[0073] However, when the ticket purchase plan selected by the user is the splicing transfer plan, the refund operation still needs to be performed on the successfully ordered transportation voucher. To this end, this specification further improves the technical solution in the related art to avoid the cumbersome operation caused by this operation and the problem of increased ticket purchase costs.
[0074] When any transfer plan in the ticket purchase plan set is selected and the transfer plan is a spliced transfer plan, since the spliced transfer plan is formed by the travel service platform based on multiple non-transfer plans provided by the transportation service ticket purchase platform, the travel service platform can purchase multiple transportation vouchers involved in any transfer plan through the transportation service ticket purchase platform. In other words, since the spliced transfer plan is formulated by the travel service platform itself, the transportation service ticket purchase platform does not provide a unified ticket purchase service for the transportation vouchers of the corresponding transfer plan. Therefore, the travel service platform needs to order the multiple transportation vouchers involved in the spliced transfer plan separately.
[0075] In this case, the travel service platform may further purchase insurance services for multiple transportation vouchers involved in the selected splicing transfer plan, so that when only some of the multiple transportation vouchers involved in the splicing transfer plan are successfully ordered, a refund operation can be performed based on the insurance service. For example, when only some of the transportation vouchers are successfully ordered, a refund operation can be performed on the successfully ordered transportation vouchers, and the refund fee that the user needs to pay for the refund operation can be compensated based on the compensation of the insurance service.
[0076] It should be understood that this method is equivalent to a travel service platform. When it is determined that the type of transfer plan selected by the user is a splicing transfer plan, it helps the user purchase insurance services for the transportation vouchers involved in the splicing transfer plan, so as to cover the refund risk of the self-made transfer plan, thereby avoiding the problem of users having to bear the refund fee, which increases the cost of ticket purchase for users.
[0077] Among them, when the user selects the splicing transfer scheme, the cost of purchasing the insurance service can be provided by the travel service platform. In other words, the insurance service of multiple transportation vouchers involved in the splicing transfer scheme selected by the user can be purchased through the account of the operator of the travel service platform. In this case, the cost of the insurance service is funded by the platform, which is equivalent to the travel service platform bearing the financial cost of "only part of the transportation vouchers are successfully ordered, and the refund operation needs to be performed". Under this premise, since the purchase cost of the insurance service does not need to be borne by the user, the travel service platform can purchase insurance services for the multiple transportation vouchers involved without notifying the user. Furthermore, in the case that only part of the multiple transportation vouchers involved in the splicing transfer scheme are successfully ordered, the travel service platform can perform the refund operation of the successfully ordered transportation vouchers based on the compensation of the insurance service without the participation of the user, so that the user is unaware of the occurrence of the situation of "only part of the transportation vouchers are successfully ordered, and the refund operation needs to be performed". It can be seen that through this method, the situation in the related technology where the user needs to bear the insurance premium, as well as the cumbersome operation caused by the need to obtain the user's consent before purchasing the insurance service and the user manually performing the ticket refund operation can be avoided.
[0078] Of course, if the user chooses the splicing transit plan, the user can also bear the cost of purchasing the insurance service. Whether the insurance premium is borne by the platform or the user can be determined by technical personnel in this field according to actual needs, and this manual does not impose any restrictions on this.
[0079] It should be noted that, in the event that only some of the multiple transportation vouchers involved in the splicing transfer plan are successfully ordered, a variety of methods can be used to perform the fee refund operation.
[0080] In one embodiment, when executing the fee refund operation, the travel service platform may advance the refund fee and return all the fees of multiple transportation vouchers involved in the splicing transfer plan to the user. While executing the fee refund operation, the refund operation of the successfully ordered transportation voucher may be asynchronously executed, and the compensation of the insurance service may be used to compensate for the refund fee advanced by the travel service platform.
[0081] In this embodiment, since the refund fee of the successfully ordered transportation voucher is paid by the travel service platform, the user can recover the cost of purchasing multiple transportation vouchers involved in the splicing transfer plan without receiving the compensation from the insurance service, which greatly improves the efficiency of recovering the ticket purchase fee. In addition, the risk caused by the inability of the insurance service provider to pay compensation in time is transferred to the travel service platform, further protecting the rights and interests of users.
[0082] In another embodiment, the travel service platform may not advance the refund fee. For example, the travel service platform may asynchronously execute the refund process and the compensation process based on the insurance service. When the refund process is completed, the ticket purchase fee returned by the transportation service ticket purchasing platform after deducting the refund fee will be returned to the user. When the compensation process is completed, the refund fee paid will be returned to the user.
[0083] Of course, the examples given here are only for illustration. The specific methods for executing the ticket refund operation and the compensation operation based on the insurance service can be determined by those skilled in the art according to actual needs, and this specification does not impose any restrictions on this.
[0084] When any transfer scheme in the ticket purchase scheme set is selected and the any transfer scheme belongs to a spliced transfer scheme, multiple transportation vouchers involved in the spliced transfer scheme can be ordered in a variety of ways.
[0085] In one embodiment, the ordering requests for each transportation voucher involved in any transfer solution may be sent to the transportation service ticket purchasing platform in sequence, wherein the latter ordering request is initiated only when the transportation voucher corresponding to the former ordering request is successfully ordered. In other words, in this embodiment, once the ordering of the transportation voucher corresponding to any ordering request fails, no ordering requests for other transportation vouchers will be initiated.
[0086] It should be understood that when the user chooses the splicing transfer plan, as long as one transportation voucher fails to be ordered, the user's travel needs cannot be met. Therefore, by initiating order requests one by one, the number of initiation of order requests can be reduced when only some of the multiple transportation vouchers involved in the splicing transfer plan are successfully ordered, thereby simplifying the ordering operation of the travel service platform.
[0087] In this embodiment, if the transportation voucher corresponding to the first order request is successfully ordered, if the transportation voucher corresponding to any subsequent order request fails to be ordered, the refund process for the successfully ordered transportation voucher can be triggered. In this way, the refund process can be initiated in time, thereby improving the refund efficiency. In addition, since there may be transportation vouchers that can be successfully ordered among the transportation vouchers for which no order request has been initiated, and this embodiment does not initiate an order request for such transportation vouchers, there is no need to perform a refund operation on such transportation vouchers, which reduces the number of transportation vouchers required for the refund operation and further simplifies the ordering operation of the travel service platform.
[0088] It is worth noting that, in the case where ordering requests are sent sequentially and the latter ordering request is initiated only after the transportation voucher corresponding to the previous ordering request has been successfully ordered, if the last ordering request is initiated, it proves that all transportation vouchers except the transportation voucher corresponding to the last ordering request have been successfully ordered, wherein, if the transportation voucher corresponding to the last ordering request is successfully ordered, the ticketing operation of the entire splicing transit plan is successfully executed, and if the transportation voucher corresponding to the last ordering request fails to be ordered, it is only necessary to refund the transportation voucher that has been successfully purchased. It can be seen that the insurance service of the transportation voucher corresponding to the last ordering request will not be used under any circumstances. Therefore, if insurance services are to be purchased for the splicing transit plan, only the insurance services of all other transportation vouchers involved in the splicing transit plan except the transportation voucher corresponding to the last ordering request can be purchased, thereby reducing the purchase cost of insurance services while achieving the same effect.
[0089] Of course, this embodiment is only illustrative. In addition to initiating order requests sequentially, the travel service platform can also asynchronously or simultaneously initiate order requests for multiple transportation vouchers involved in the splicing transfer plan. The specific method of executing the transportation service ordering operation can be determined by technical personnel in this field according to actual needs, and this specification does not limit this.
[0090] It can be seen from the above technical solutions that the transfer solutions in the ticket purchase solution set determined by this specification based on the user's travel information no longer only include transfer solutions customized by the travel service platform as in the related art, but are at least one of the original transfer solutions and the spliced transfer solutions. Under this premise, the travel service platform in this specification will give priority to determining the type of the transfer solution when determining that the user has selected the transfer solution. If it is an original transfer solution, the transportation voucher corresponding to the transfer solution will be purchased directly through the transportation service ticket purchase platform.
[0091] It should be understood that in the relevant technology, since all transfer plans are formulated by the travel service platform itself, when the user selects a transfer plan, the type of transfer plan will not be determined, and the multiple transportation vouchers involved in the transfer plan will be ordered in a unified manner. In this way, it is very easy for only part of the transfer plan to be successfully ordered, and this situation cannot meet the travel needs of the user. Therefore, an additional refund operation is required, which is not only cumbersome, but also requires an additional refund fee, which increases the cost of ticket purchase.
[0092] After adopting the technical solution of this specification, after the user selects the transfer plan, the type of the transfer plan is determined first, and when the type of the selected transfer plan is the original transfer plan, the transportation voucher corresponding to the selected transfer plan is purchased directly from the transportation service ticket purchasing platform. Since the original transfer plan is directly provided by the transportation service ticket purchasing platform, it is allowed to uniformly order the transportation vouchers involved. Therefore, only the result of success or failure of the ordering operation of the entire transfer plan will appear, and the situation where only part of the transportation vouchers are successfully ordered will not appear. This avoids the problem that in the related art, when there is an original transfer plan, the transportation vouchers of the self-made transfer plan are ordered separately, resulting in only part of the multiple transportation vouchers involved in the transfer plan being successfully ordered, and the need to perform additional ticket refund operations, as well as the high ticket purchase cost due to the need to pay the ticket refund fee.
[0093] Furthermore, this specification purchases insurance services for multiple transportation vouchers involved in the transit plan when the transit plan selected by the user is a splicing transit plan. On this basis, when only some of the multiple transportation vouchers involved in the splicing transit plan are successfully ordered, the refund fee required for the refund operation can be compensated based on the compensation of the insurance service. In this way, when the user selects the splicing transit plan and only some of the multiple transportation vouchers involved are successfully ordered, it is possible to avoid the problem of increased ticket purchase costs due to the need to perform a refund operation on the successfully ordered transportation vouchers and the additional payment of the refund fee. In addition, since the refund fee can be compensated based on the compensation of the insurance service, the full amount of the multiple transportation vouchers involved in the transit plan can be returned to the user, making the entire refund process imperceptible to the user, avoiding the situation in the related art where the user needs to manually perform the refund operation and needs to perform additional operations.
[0094] Furthermore, in this specification, if the transfer plan selected by the user is a splicing transfer plan, the cost of purchasing insurance services can be provided by the travel service platform. Under this premise, on the one hand, the user does not need to perform additional operations to purchase insurance services, so that the initial purchase of insurance services is also imperceptible to the user; on the other hand, the cost of insurance services is passed on to the travel service platform, so that users can improve the ticket purchase experience without increasing the ticket purchase cost.
[0095] and Figure 2 Corresponding to the transportation voucher ordering method applied to the travel service platform shown, this specification also proposes a transportation voucher ordering method applied to the client of the travel service. In this method, only the client is used as the execution subject to introduce the technical solution of this specification. Most of the operation modes included in this method, such as how to determine the set of ticket purchase plans, how to determine the type of transfer plan selected by the user, and how to perform the ticket purchase operation when different types of transfer plans are selected, have been introduced above. The relevant content can refer to the introduction described above and will not be repeated in the following text.
[0096] Figure 3 FIG. 1 is a flow chart of another method for ordering a transportation voucher according to an exemplary embodiment of the present specification. The method is applied to a client of a travel service, such as Figure 3 As shown, the method may include the following steps:
[0097] Step 302: Based on the travel information provided by the user, a ticket purchase query request is initiated to the travel service platform, so that the travel service platform determines a set of ticket purchase solutions based on the departure place and destination included in the travel information.
[0098] As mentioned above, users can install the client software of the travel service platform in the terminal they use to form a travel service client in the terminal. On this basis, users can enter travel information in the client so that the client can initiate a ticket purchase query request to the travel service platform based on the travel information.
[0099] It is worth noting that users can provide travel information to the client in different ways. For example, the user can enter keywords such as departure place and destination in the search area provided by the client based on the input method installed in the terminal; for another example, the client can display multiple input options to the user, on this basis, the user can select from the displayed options as the input travel information. Of course, the examples here are only illustrative, and how the user provides travel information to the client can be determined by those skilled in the art according to actual needs, and this specification does not limit this.
[0100] Step 304, displaying the ticket purchase plan set returned by the travel service platform, wherein the types of transfer plans in the ticket purchase plan set include original transfer plans and / or spliced transfer plans, and the first-trip departure point of each transfer plan is consistent with the departure point in the travel information, and the last-trip destination is consistent with the destination in the travel information; wherein, the original transfer plan is directly provided by the transportation service ticket purchase platform, and the spliced transfer plan is formed by the travel service platform based on a combination of multiple non-transit plans provided by the transportation service ticket purchase platform.
[0101] After receiving the ticket purchase query request, the travel service platform can determine a set of ticket purchase solutions based on the departure and destination included in the travel information, and provide the set of ticket purchase solutions to the client for display by the client. Among them, if the displayed ticket purchase solution set includes a transfer solution, the type of each transfer solution included can be one of an original transfer solution and a spliced transfer solution.
[0102] As mentioned above, in order for the transfer plan to meet the user's demand of "departing from the departure place included in the travel information and arriving at the destination included in the travel information", the first departure place of each transfer plan in the displayed ticket purchase plan set is consistent with the departure place in the travel information, and the last destination is consistent with the destination in the travel information. Among them, the original transfer plan refers to the transfer plan directly provided by the transportation service ticket purchase platform, and the spliced transfer plan is composed of multiple non-transit plans of the travel service platform based on the transportation service ticket purchase platform. As mentioned above, when displaying the ticket purchase plan set, the client can either mark the type of transfer plan or not mark the type of each transfer plan.
[0103] When the client displays a set of ticket purchase plans, the user can select any ticket purchase plan according to his or her own travel needs to instruct the travel service platform to perform the corresponding ticket purchase operation.
[0104] Step 306, in response to the user's selection operation for any transfer plan, initiates a ticket purchase request for any transfer plan to the travel service platform, so that the travel service platform can directly purchase the transportation voucher corresponding to any transfer plan through the transportation service ticket purchasing platform if the type of any transfer plan is an original transfer plan.
[0105] As described above, when the ticket purchase plan selected by the user is a transfer plan and the type of the transfer plan is an original transfer plan, since the original transfer plan is directly provided by the transportation service ticket purchasing platform, the user is allowed to purchase the transportation vouchers corresponding to the original transfer plan in a unified manner. Therefore, the travel service platform can directly purchase the transportation vouchers corresponding to the selected transfer plan through the transportation service ticket purchasing platform.
[0106] As described above, when the ticket purchase plan selected by the user is a transfer plan and the transfer plan is a spliced transfer plan, the travel service platform can order multiple transportation certificates involved in the spliced transfer plan separately, and purchase insurance services for the multiple transportation certificates involved in the spliced transfer plan, so that when only part of the multiple transportation certificates involved in the spliced transfer plan are successfully ordered, a refund operation can be performed based on the insurance service. For example, in the case of only partial success, a refund operation can be performed on the successfully ordered transportation certificates, and based on the compensation of the insurance service, the refund fee that the user needs to pay for the refund operation can be compensated.
[0107] It can be seen from the above technical solutions that the transfer solutions in the ticket purchase solution set determined by this specification based on the user's travel information no longer only include transfer solutions customized by the travel service platform as in the related art, but are at least one of the original transfer solutions and the spliced transfer solutions. Under this premise, the travel service platform in this specification will give priority to determining the type of the transfer solution when determining that the user has selected the transfer solution. If it is an original transfer solution, the transportation voucher corresponding to the transfer solution will be purchased directly through the transportation service ticket purchase platform, avoiding the related art that, in the presence of the original transfer solution, still formulates the corresponding transfer solution on its own, and adopts a separate ordering method to order the transportation vouchers involved in the transfer solution, resulting in only part of the transportation vouchers being successfully ordered, and the need to perform a refund operation.
[0108] Below, taking the purchase of train tickets as an example, the technical solution of this specification is introduced.
[0109] Figure 4FIG. 1 is an interactive diagram of a train ticket query method shown in an exemplary embodiment of this specification. Figure 4 As shown, the method may include the following steps:
[0110] Step 401: The client obtains the user's travel information.
[0111] In this embodiment, the user can install the client software of the travel service in the mobile phone held to form the client of the travel service. On this basis, the user can enter the travel information in the mobile phone to query the corresponding ticket purchase plan.
[0112] Step 402: The client generates a ticket purchase query request based on the travel information.
[0113] Step 403: The client sends the generated ticket purchase query request to the travel service platform.
[0114] In this embodiment, after obtaining the travel information input by the user, the client can generate a ticket purchase query request based on the travel information, and send the ticket purchase query request to the travel service platform to obtain a set of ticket purchase solutions that can meet the user's travel needs.
[0115] Step 404: The travel service platform determines a set of ticket purchase solutions based on the travel information.
[0116] In this embodiment, the train system operator can maintain a train ticket purchasing platform as a transportation service ticket purchasing platform for trains, a public transportation. Under this premise, the train ticket purchasing platform can generate corresponding train tickets according to the schedule of each train, and provide some original transfer solutions based on the generated train tickets.
[0117] On this basis, the travel service platform can obtain train ticket information from the train ticket purchasing platform. It should be emphasized that the train ticket information not only includes the train ticket information of each itinerary segment, but also includes the above-mentioned original transfer plan. Among them, the former is used to provide a direct plan that matches the user's travel information, and to formulate a splicing transfer plan that matches the user's travel information; and the latter is added to the determined ticket purchase plan set when it matches the user's travel information.
[0118] For example, suppose the travel information entered by the user is: departure "city M", destination "city N", and time "June 18". Then, the travel service platform can obtain all ticket purchase plans that match the travel information. For example, the obtained ticket purchase plans can be shown in Table 1 below:
[0119]
[0120]
[0121] Table 1
[0122] In Table 1, the time in brackets defaults to the time of June 18, and the letters M, N, X, and Y are all used to represent a train station, that is, M represents the train station of "City M", N represents the station of "City N", and similarly X and Y can also represent the station set up by the train system in a certain area. Among them, Plan 1 and Plan 2 are directly provided by the train ticket purchasing platform, while Plan 3 is formulated for users by the travel service platform based on the information of the two train tickets of Train Ticket 4 "M(7:10)→Y(9:10)" and Train Ticket 5 "Y(13:00)→N(15:00)" provided by the train ticket purchasing platform.
[0123] It is worth noting that in the process of determining a set of ticket purchasing plans based on travel information, the travel service platform also needs to obtain train ticket information from the train ticket purchasing platform in order to provide a ticket purchasing plan. The interaction process between the travel service platform and the train ticket purchasing platform in this process is not shown in this embodiment, but it should be understood that the above-mentioned plans one and two can both be regarded as being provided directly by the train ticket purchasing platform.
[0124] Step 405: The travel service platform returns the ticket purchase plan set to the client.
[0125] Continuing with the above example, after the travel service platform determines the ticket purchase plan set shown in Table 1, it can send the ticket purchase plan set to the client so that the client can display the ticket purchase plan set.
[0126] Step 406: The client displays the ticket purchase plan set.
[0127] Continuing with the above example, after obtaining the ticket purchasing plan set shown in Table 1, the client can display the ticket purchasing plans included in the ticket purchasing plan set for selection.
[0128] under, Figure 5A , 5B 5C respectively take the case where the user selects plan 1, 2, and 3 shown in Table 1 as an example to introduce the ticket purchase process when the user selects different types of ticket purchase plans.
[0129] Figure 5A FIG. 1 is an interactive diagram of a train ticket purchasing method shown in an exemplary embodiment of this specification. Figure 5A As shown, the method may include the following steps:
[0130] Step 501A: The client obtains the user's selection information for the target ticket purchase plan.
[0131] Step 502A, the client sends the selected information to the travel service platform.
[0132] Following the above example, after the client shows the set of ticket purchase plans shown in Table 1 to the user, the user can select any ticket purchase plan from the set as the target ticket purchase plan for this ticket purchase. The selection information of the target ticket purchase plan is sent to the travel service platform to instruct the travel service platform to purchase the corresponding train ticket on behalf of the user.
[0133] Step 503A: The travel service platform determines the target ticket purchase plan selected by the user, and determines that the target ticket purchase plan is plan one.
[0134] In this embodiment, after the user selects Plan 1, the ticket purchase fee corresponding to Plan 1 can be provided to the travel service platform, so that the travel service platform can purchase the corresponding train ticket on the user's behalf.
[0135] Step 504A, the travel service platform generates a purchase request for train ticket 1.
[0136] Continuing with the above example, when the user selects Plan 1, since the type of Plan 1 is a direct plan, a purchase request for Train Ticket 1 can be directly initiated to instruct the train ticket purchasing platform to execute the purchase operation for Train Ticket 1.
[0137] Step 505A: The travel service platform sends the generated ticket purchase request to the train ticket purchase platform.
[0138] Step 506A: The train ticket purchasing platform executes the purchase operation for train ticket 1.
[0139] Continuing with the above example, the train ticket purchasing platform can determine whether the booking operation is successful based on the remaining quantity of train ticket 1, and return the booking result to the travel service platform, so that the travel service platform can further return the purchase result to the client.
[0140] Step 507A: The train ticket purchasing platform returns the purchase result to the travel service platform.
[0141] Step 508A: The travel service platform returns the ticket purchase result to the client.
[0142] Figure 5B FIG. 1 is an interactive diagram of another train ticket purchasing method shown in an exemplary embodiment of this specification. Figure 5B As shown, the method may include the following steps:
[0143] Step 501B: The client obtains the user's selection information for the target ticket purchase plan.
[0144] Step 502B, the client sends the selected information to the travel service platform.
[0145] Step 503B: The travel service platform determines the target ticket purchase plan selected by the user, and determines that the target ticket purchase plan is plan two.
[0146] In this embodiment, after the user selects Option 2, the ticket purchase fee corresponding to Option 2 can be provided to the travel service platform, so that the travel service platform can purchase the corresponding train ticket on the user's behalf.
[0147] Step 504B: The travel service platform generates a ticket purchase request for solution two.
[0148] Continuing with the above example, when the user selects Plan 2, since the type of Plan 2 is the original transfer plan, and the original transfer plan allows the direct unified ordering of multiple train tickets involved in the plan, a purchase request for Plan 2 can be directly initiated instead of a purchase request for train tickets, so as to instruct the train ticket purchasing platform to perform a unified ordering operation for Train Tickets 2 and 3.
[0149] Step 505B: The travel service platform sends the generated ticket purchase request to the train ticket purchase platform.
[0150] Step 506B: the train ticket purchasing platform executes the ticket purchasing operation for solution 2.
[0151] Continuing with the above example, since Plan 2 is the original transfer plan, the train ticket purchasing platform allows unified ordering of multiple train tickets involved. Therefore, the train ticket purchasing platform can check whether train tickets 2 and 3 are both in stock. If both are in stock, the result of successful purchase of Plan 2 is returned. If either of the two is sold out, the result of failed purchase of Plan 2 is returned.
[0152] Step 507B: The train ticket purchasing platform returns the purchase result to the travel service platform.
[0153] Step 508B: The travel service platform returns the ticket purchase result to the client.
[0154] Figure 5C FIG. 1 is an interactive diagram of another method for purchasing train tickets according to an exemplary embodiment of this specification. Figure 5C As shown, the method may include the following steps:
[0155] Step 501C: The client obtains the user's selection information for the target ticket purchase plan.
[0156] Step 502C, the client sends the selected information to the travel service platform.
[0157] Step 503C: The travel service platform determines the target ticket purchase plan selected by the user, and determines that the target ticket purchase plan is plan three.
[0158] In this embodiment, after the user selects Option 3, the ticket purchase fee corresponding to Option 3 can be provided to the travel service platform, so that the travel service platform can purchase the corresponding train ticket on the user's behalf.
[0159] Step 504C, the travel service platform purchases insurance services for train tickets 4 and 5.
[0160] Continuing with the above example, when the user selects Plan 3, since Plan 3 is a splicing transfer plan, which is a transfer plan formulated by the travel service platform itself, there is no option for unified ticket purchase for Plan 3 on the train ticket purchasing platform. Therefore, it is necessary to order train tickets 4 and 5 involved in Plan 3 separately.
[0161] Among them, in order to avoid the situation where only one of train tickets 4 and 5 is successfully ordered and a ticket refund operation needs to be performed, which requires the user to perform additional operations and pay the handling fee by himself, this embodiment can purchase insurance services for train tickets 4 and 5.
[0162] Step 505C: The travel service platform initiates a purchase request for train ticket 4 to the train ticket purchasing platform.
[0163] Following the above example, this embodiment can adopt a method of purchasing train tickets 4 and 5 in sequence to execute the ticket purchase operation for solution three.
[0164] Step 506C: the train ticket purchasing platform executes the purchase operation for train ticket 4 and returns the purchase result of train ticket 4.
[0165] Step 507C, the travel service platform determines whether the train ticket 4 is purchased successfully based on the ticket purchase result; if so, jump to step 508C, otherwise, jump to step 515C
[0166] Following the above example, the travel service platform can determine whether to initiate a purchase request for train ticket 5 based on the purchase result of train ticket 4 returned by the train ticket purchase platform. If the purchase result of train ticket 4 is a failure, the result of the failed purchase of solution 3 is directly returned to the client, and there is no need to continue to initiate a purchase request for train ticket 5, thereby reducing the number of purchase requests initiated; if the purchase result of train ticket 4 is a success, a purchase request for train ticket 5 can be continued to be initiated to the train ticket booking platform.
[0167] Step 508C: The travel service platform initiates a purchase request for train ticket 5 to the train ticket purchasing platform.
[0168] Step 509C: the train ticket purchasing platform executes the purchase operation for train ticket 5 and returns the purchase result of train ticket 5.
[0169] In step 510C, the travel service platform determines whether train ticket 5 is purchased successfully based on the booking result; if so, jump to step 511C, otherwise, jump to step 512C.
[0170] Continuing with the above example, when the purchase result of train ticket 5 is also successful, it can be determined that the purchase operation for plan three is successfully executed, and a notification of successful purchase of plan three can be returned to the client; and when the purchase result of train ticket 5 is a failure, since train ticket 4 was successfully ordered, a refund operation needs to be performed on train ticket 4.
[0171] Step 511C: The travel service platform returns a notification to the client indicating that the ticket purchase under option three is successful.
[0172] Step 512C: The travel service platform initiates a refund request for train ticket 4 to the train ticket purchasing platform.
[0173] Continuing with the above example, when the travel service platform fails to order train ticket 5, it needs to refund train ticket 4. Therefore, it can initiate a refund request for train ticket 4 to the train ticket purchasing platform to instruct the train ticket purchasing platform to perform a refund operation for train ticket 4.
[0174] Step 513C, the train ticket purchasing platform executes the refund operation of train ticket 4 and returns the refund result.
[0175] Continuing with the above example, after completing the refund operation of train ticket 4, the train ticket purchasing platform can return the refund result to the travel service platform.
[0176] In addition, since the present embodiment provides the ticket purchase fee to the travel service platform during the ticket purchase stage so that the travel service platform can purchase the train ticket on behalf of the user, the present embodiment can also return the fee of the train ticket 4 to the travel service platform after deducting the refund fee, so that the travel service platform can further return it to the user.
[0177] Step 514C, the travel service platform obtains compensation as a refund fee based on the insurance service purchased for train ticket 4.
[0178] Following the above example, when the travel service platform refunds train ticket 4, it can also asynchronously obtain compensation from the insurance service provider as a refund fee based on the insurance service of the pre-purchased train ticket 4, and then make up for the cost of train ticket 4 returned by the train ticket purchase platform after deducting the refund fee. On this basis, the full cost of train ticket 4 and the cost of unused train ticket 5 can be returned to the user, and a notification of failed ticket purchase in solution 3 is returned to the client.
[0179] Step 515C: The travel service platform returns a notification of failed ticket purchase in Solution 3 to the client.
[0180] Depend on Figure 5B , 5C As can be seen from the introduction, in this embodiment, on the one hand, when the ticket purchase plan selected by the user is the original transfer plan, the travel service platform directly purchases the transportation voucher corresponding to the original transfer plan through the transportation service ticket purchase platform, thereby avoiding the problem in the related art that only some of the multiple transportation vouchers involved are successfully ordered, and a refund operation needs to be performed, which causes cumbersome user operations; on the other hand, when the ticket purchase plan selected by the user is the splicing transfer plan, the travel service platform pre-purchases the insurance service of the transportation voucher involved in the plan, so that when only some of the multiple transportation vouchers involved in the splicing transfer plan are successfully ordered, the refund operation can be performed based on the compensation of the insurance service, and the user does not need to perform additional operations or pay additional fees for the refund process.
[0181] It is not difficult to see that through this method, no matter what transfer plan the user chooses, the user will only receive the result of the success or failure of the ticket purchase operation of the entire transfer plan, and the user does not need to perform any additional operations or pay any additional fees. This avoids the problem of related technologies that when the user selects a transfer plan, if a ticket refund is required, the user needs to perform additional operations or pay additional fees.
[0182] Figure 6 is a schematic structural diagram of a device provided by an exemplary embodiment. Figure 6 At the hardware level, the device includes a processor 602, an internal bus 604, a network interface 606, a memory 608, and a non-volatile memory 610, and may also include hardware required for other functions. One or more embodiments of this specification may be implemented based on software, such as the processor 602 reading the corresponding computer program from the non-volatile memory 610 into the memory 608 and then running it. Of course, in addition to the software implementation, one or more embodiments of this specification do not exclude other implementations, such as logic devices or a combination of software and hardware, etc., that is, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.
[0183] Please refer to Figure 7 The traffic voucher ordering device can be applied to Figure 6 The device shown in the figure is used to implement the technical solution of this specification. The traffic voucher ordering device is applied to the travel service platform and may include:
[0184] The first determining unit 701 determines the user's travel information according to the received ticket purchase query request, wherein the travel information includes a departure place and a destination;
[0185] The second determining unit 702 determines a set of ticket purchase schemes based on the travel information, wherein the types of transfer schemes in the set of ticket purchase schemes include original transfer schemes and / or spliced transfer schemes, and the first-trip departure place of each transfer scheme is consistent with the departure place in the travel information, and the last-trip destination is consistent with the destination in the travel information; wherein the original transfer scheme is directly provided by the transportation service ticket purchase platform, and the spliced transfer scheme is formed by the travel service platform based on a combination of multiple non-transfer schemes provided by the transportation service ticket purchase platform;
[0186] The ticket purchasing unit 703 directly purchases a transportation voucher corresponding to any transit plan through the transportation service ticket purchasing platform when any transit plan in the ticket purchasing plan set is selected and the type of any transit plan is an original transit plan.
[0187] Optionally, also include:
[0188] The insurance unit 704, when any transit scheme in the ticket purchase scheme set is selected and the any transit scheme is a spliced transit scheme, purchases insurance services for multiple transportation vouchers involved in the any transit scheme, and purchases the multiple transportation vouchers through the transportation service ticket purchase platform;
[0189] The refund unit 705 performs a refund operation on the successfully ordered transportation vouchers when only part of the multiple transportation vouchers involved in any transfer plan are successfully ordered, and compensates the user for the refund fee that needs to be paid for the refund operation based on the compensation of the insurance service.
[0190] Optionally, the insurance unit 704 is further used for:
[0191] Purchase insurance services for multiple transportation certificates involved in any transfer plan through the account of the operator of the travel service platform.
[0192] Optional,
[0193] In the case where only part of the multiple transportation vouchers involved in any of the transfer schemes are successfully ordered, the insurance unit 704 is further used to: perform a fee refund operation, so as to fully refund the fees of the multiple transportation vouchers involved in any of the transfer schemes to the user in the case where the refund fee is advanced by the travel service platform;
[0194] The refund unit 705 is further used to: asynchronously with the fee refund operation, perform a refund operation on the successfully ordered transportation voucher, and use the compensation from the insurance service to compensate for the refund fee paid in advance by the travel service platform.
[0195] Optional,
[0196] The ticket purchasing unit 703 is further used to: when any transit scheme in the ticket purchasing scheme set is selected and the any transit scheme belongs to a spliced transit scheme, sequentially send order requests for each transportation voucher involved in the any transit scheme to the transportation service ticket purchasing platform; wherein the latter order request is initiated only when the transportation voucher corresponding to the previous order request is successfully ordered;
[0197] The refund unit 705 is also used to: when the transportation voucher corresponding to the first order request is successfully ordered, if the transportation voucher corresponding to any subsequent order request fails to be ordered, trigger a refund process for the transportation voucher that has been successfully ordered.
[0198] Optionally, also include:
[0199] The sending unit 706 sends the page data corresponding to the ticket purchase solution set to the client of the travel service, so that the client displays the transfer solutions included in the ticket purchase solution set according to the received page data;
[0200] The page data includes a type tag set for each transfer scheme, and the type tag is used to indicate whether the corresponding transfer scheme is an original transfer scheme or a spliced transfer scheme.
[0201] Please refer to Figure 8 The traffic voucher ordering device can be applied to Figure 6 The device shown in the figure is used to implement the technical solution of this specification. The traffic voucher ordering device is applied to the client of the travel service and may include:
[0202] The first initiating unit 801 initiates a ticket purchase query request to a travel service platform based on travel information provided by a user, so that the travel service platform determines a set of ticket purchase solutions based on a departure place and a destination included in the travel information;
[0203] The display unit 802 displays the ticket purchase plan set returned by the travel service platform, wherein the types of transfer plans in the ticket purchase plan set include original transfer plans and / or spliced transfer plans, and the first-trip departure place of each transfer plan is consistent with the departure place in the travel information, and the last-trip destination is consistent with the destination in the travel information; wherein the original transfer plan is directly provided by the transportation service ticket purchase platform, and the spliced transfer plan is formed by the travel service platform based on a combination of multiple non-transfer plans provided by the transportation service ticket purchase platform;
[0204] The second initiating unit 803, in response to the user's selection operation for any transfer plan, initiates a ticket purchase request for any transfer plan to the travel service platform, so that the travel service platform can directly purchase the transportation voucher corresponding to any transfer plan through the transportation service ticket purchasing platform when the type of any transfer plan is an original transfer plan.
[0205] Based on the same concept as the above method, this specification also provides an electronic device, including: a processor; a memory for storing processor executable instructions; wherein the processor implements the steps of the method described in any of the above embodiments by running the executable instructions.
[0206] Based on the same concept as the above method, this specification also provides a computer-readable storage medium on which computer instructions are stored. When the instructions are executed by a processor, the steps of the method described in any of the above embodiments are implemented.
[0207] Based on the same concept as the above method, this specification also provides a computer program product, including a computer program / instruction, which implements the steps of the method described in any of the above embodiments when executed by a processor.
Claims
1. A method for ordering a transportation voucher, characterized in that: Applied to travel service platforms, including: Determine the user's travel information according to the received ticket purchase query request, wherein the travel information includes a departure place and a destination; A set of ticket purchase solutions is determined based on the travel information, wherein the types of transfer solutions in the set of ticket purchase solutions include original transfer solutions and / or spliced transfer solutions, and the first-trip departure place of each transfer solution is consistent with the departure place in the travel information, and the last-trip destination is consistent with the destination in the travel information; wherein the original transfer solution is directly provided by the transportation service ticket purchase platform, and the spliced transfer solution is formed by the travel service platform based on a combination of multiple non-transfer solutions provided by the transportation service ticket purchase platform; When any transfer scheme in the ticket purchase scheme set is selected and the type of any transfer scheme is an original transfer scheme, a transportation voucher corresponding to any transfer scheme is purchased directly through the transportation service ticket purchase platform.
2. The method according to claim 1, characterized in that Also includes: When any transit scheme in the ticket purchase scheme set is selected and the any transit scheme is a spliced transit scheme, purchasing insurance services for multiple transportation vouchers involved in the any transit scheme, and purchasing the multiple transportation vouchers through the transportation service ticket purchase platform; In the case that only some of the transportation vouchers involved in any of the transfer schemes are successfully ordered, a refund operation is performed on the successfully ordered transportation vouchers, and based on the compensation of the insurance service, the refund fee that the user needs to pay for the refund operation is compensated.
3. The method according to claim 2, characterized in that The insurance service for purchasing multiple transportation certificates involved in any transfer scheme includes: Purchase insurance services for multiple transportation certificates involved in any transfer plan through the account of the operator of the travel service platform.
4. The method according to claim 2, characterized in that: In the case where only part of the multiple transportation vouchers involved in any transfer scheme are successfully ordered, the method further includes: executing a fee refund operation to return all the fees of the multiple transportation vouchers involved in any transfer scheme to the user in the case where the refund fee is advanced by the travel service platform; The refund operation is performed on the successfully ordered transportation voucher, and based on the compensation of the insurance service, the refund fee that the user needs to pay for the refund operation is compensated, including: the refund operation is performed on the successfully ordered transportation voucher asynchronously with the fee refund operation, and the compensation of the insurance service is used to compensate the refund fee paid by the travel service platform.
5. The method according to claim 1, characterized in that Also includes: When any transfer scheme in the ticket purchase scheme set is selected and the transfer scheme belongs to a spliced transfer scheme, sequentially sending order requests for each transportation voucher involved in the transfer scheme to the transportation service ticket purchase platform; wherein the latter order request is initiated only when the transportation voucher corresponding to the former order request is successfully ordered; In the case where the transportation voucher corresponding to the first order request is successfully ordered, if the transportation voucher corresponding to any subsequent order request fails to be ordered, a refund process for the transportation voucher that has been successfully ordered is triggered.
6. The method according to claim 1, characterized in that Also includes: Sending page data corresponding to the ticket purchase solution set to a client of a travel service, so that the client can display the transfer solutions included in the ticket purchase solution set according to the received page data; The page data includes a type tag set for each transfer scheme, and the type tag is used to indicate whether the corresponding transfer scheme is an original transfer scheme or a spliced transfer scheme.
7. A method for ordering a transportation voucher, characterized in that: Clients used for travel services include: Based on the travel information provided by the user, a ticket purchase query request is initiated to the travel service platform, so that the travel service platform determines a set of ticket purchase solutions based on the departure place and destination included in the travel information; The ticket purchase plan set returned by the travel service platform is displayed, and the types of transfer plans in the ticket purchase plan set include original transfer plans and / or spliced transfer plans, and the first-trip departure place of each transfer plan is consistent with the departure place in the travel information, and the last-trip destination is consistent with the destination in the travel information; wherein, the original transfer plan is directly provided by the transportation service ticket purchase platform, and the spliced transfer plan is formed by the travel service platform based on a combination of multiple non-transfer plans provided by the transportation service ticket purchase platform; In response to the user's selection operation for any transfer plan, a ticket purchase request for any transfer plan is initiated to the travel service platform, so that the travel service platform can directly purchase the transportation voucher corresponding to any transfer plan through the transportation service ticket purchasing platform if the type of any transfer plan is an original transfer plan.
8. An electronic device, characterized in that: include: processor; A memory for storing processor-executable instructions; wherein the processor implements the steps of the method according to any one of claims 1 to 7 by executing the executable instructions.
9. A computer-readable storage medium, characterized in that: Computer instructions are stored thereon, and when the instructions are executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer program product, characterized in that The method comprises a computer program / instruction, which, when executed by a processor, implements the steps of the method according to any one of claims 1 to 7.
