Card information supplementing method, terminal equipment and storage medium

By providing the setting site interface and prompt information on the smart terminal device, users can quickly supplement the missing information in the ticket purchase feedback text message, solving the problem of incomplete card information and improving the integrity and user experience of card information.

CN119292491APending Publication Date: 2025-01-10HONOR DEVICE CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310845963.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-10
Publication Date
2025-01-10

AI Technical Summary

Technical Problem

When smart terminal devices generate card information, due to the diverse SMS templates for ticket purchase feedback, key information often lacks, such as arrival site, seat number, etc., the generated card information is incomplete.

Method used

Provide a method for supplementing card information. By displaying prompt information on the terminal device and guiding users to the site setting interface, users can confirm or edit missing information such as arrival, departure site, travel date and seat number with one click to ensure card information integrity.

Benefits of technology

Improves the completeness of card information, simplifies user operation steps, reduces the complexity of manual editing, and ensures that the card contains all necessary travel details.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119292491A_ABST
    Figure CN119292491A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a card information supplementing method, terminal equipment and a storage medium, and relates to the technical field of terminals. In the scheme of the invention, after the ticket buying order is obtained through the ticket buying feedback short message, the push message, the ticket buying detail page and the like, the ticket buying order can be analyzed to obtain the key information, and then the supplementary scheme corresponding to the missing key information is provided for the missing key information. For example, when the arrival site is missing, the user is guided to confirm the arrival site by one key; when the seat number is missing, a seat number editing entry is provided on a card interface; and when the ticket checkpoint is missing, acquiring the ticket checkpoint from the server according to the train number, the travel date and the departure station. Therefore, the key information of ticket business is perfected, and the integrity of the card is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal technology, and in particular to a card information supplement method, a terminal device and a storage medium. Background Art

[0002] At present, smart terminals such as mobile phones provide card display functions. For example, when a user orders a train ticket on a ticket purchasing platform, the ticket purchasing platform can send a ticket purchase feedback SMS to the smart terminal, and the smart terminal can parse the key information of the ticket purchase feedback SMS, generate a card based on the key information, and display the card before departure.

[0003] However, the ticket purchase feedback SMS templates of various ticket purchase platforms vary. For example, some ticket purchase feedback SMS messages sent by ticket purchase platforms lack the arrival station; some ticket purchase feedback SMS messages sent by ticket purchase platforms lack the seat number; some ticket purchase feedback SMS messages sent by ticket purchase platforms lack the ticket gate. The ticket purchase feedback SMS messages lack key information, making the generated card information incomplete. Summary of the invention

[0004] The present application provides a card information supplement method, terminal device and storage medium, which solves the technical problem that the generated card information is incomplete due to the lack of key information in the ticket purchase feedback SMS, and improves the completeness of the card information.

[0005] In order to achieve the above objectives, this application adopts the following technical solutions:

[0006] In a first aspect, an embodiment of the present application provides a card information supplement method. The method comprises:

[0007] Display the ticket order for the user's travel; when the ticket order includes at least the first train and the ticket order is missing the arrival station, display first information, the first information is used to prompt the user to add the missing arrival station; receive a first operation of the user on the first information; in response to the first operation, display a station setting interface, the station setting interface includes various stations along the first train that stop on a first date, the first date being included in the ticket order or added by the user; receive a second operation of the user on a first station among various stations; in response to the second operation, determine that the first station is the missing arrival station; display a first card, wherein the train number in the first card is the first train number, the travel date in the first card is the first date, and the arrival station in the first card is the first station.

[0008] In the above scheme, when the key information contained in the ticket purchase order is missing the arrival station, a prompt message can be displayed to guide the user to the station setting interface. Since the station setting interface includes all the stations that the train stops along the travel date, the user can confirm the arrival station with one click without manually editing the name of the arrival station using input methods or other methods. In this way, the user can quickly complete the ticket information under the guidance of the terminal device, thereby improving the completeness of the final generated card.

[0009] In a possible implementation, the ticket purchase order may be a train ticket purchase order, an airplane ticket purchase order, a ship ticket purchase order, or a bus ticket purchase order, etc., and the present application does not specifically limit the type of ticket purchase order. The station setting interface may specifically include the arrival time, departure time, and stay time of each station where the train stops along the way on the travel date.

[0010] In a possible implementation, the first card may be displayed on the desktop or the negative one screen.

[0011] In a possible implementation, the above-mentioned ticket purchase order may include any of the following: a ticket purchase feedback SMS from the ticket purchase platform, a push message from the ticket purchase platform, and a ticket purchase details page displayed on the terminal device. Among them, the ticket purchase feedback SMS is also called a train ticket issuance SMS, which refers to the SMS indicating successful ticket issuance sent by the ticket purchase platform to the terminal device of the passenger / ticket purchaser after the user purchases the train ticket online; the push message is a SMS sent by the ticket purchase platform to the user's terminal device some time before the user's departure to remind the user to travel in time, or the ticket purchase platform sends the terminal device ticket change information of the purchased train, such as train cancellation, train delay, and ticket gate change; the ticket purchase details page refers to the order details page displayed on the terminal device after the electronic payment is successful during the process of the user purchasing the train ticket online. It should be understood that after obtaining the ticket purchase order through ticket purchase feedback SMS, push messages, and ticket purchase details page, the key information currently obtained can be determined by parsing the ticket purchase order, and then the missing key information can be determined.

[0012] In a possible implementation, the ticket purchase order may also be missing a departure station. After displaying the station setting interface, before receiving a second operation of the user on the first station among the stations, the method may further include: receiving a third operation of the user on the second station among the stations, the departure time of the second station being before the arrival time of the first station; in response to the third operation, determining that the second station is the missing departure station. Accordingly, the departure station in the first card is the second station.

[0013] It should be understood that when the key information parsed by the terminal device is missing both the departure station and the arrival station, the terminal device can provide a corresponding station setting interface based on the parsed train number and travel date. The user only needs to select the departure station and the arrival station in the station setting interface, without manually editing the names of the departure station and the arrival station, thereby simplifying the operation steps and improving the completeness of the card.

[0014] In a possible implementation, the ticket purchase order may also be missing a travel date. After receiving a first operation of the user on the first information and before displaying the site setting interface, the method may further include: displaying an add itinerary interface, the add itinerary interface including a travel date editing item; receiving a fourth operation of the user inputting a first date in the travel date editing item; and in response to the fourth operation, determining that the first date is a missing travel date. Accordingly, the travel date in the first card is the first date.

[0015] It should be understood that when the parsed key information lacks both the travel date and the arrival station, the add train itinerary interface provides a travel date editing option, and the user can manually enter the travel date. In this way, the terminal device can provide a corresponding station setting interface based on the parsed train number and the travel date entered by the user, so that the user can select the station.

[0016] In a possible implementation, the ticket purchase order may also be missing a seat number. After receiving a first operation of the user on the first information and before displaying the site setting interface, the method may further include: displaying an add itinerary interface, the add itinerary interface including a seat number editing item; receiving a fifth operation of the user inputting a first seat number in the seat number editing item; and in response to the fifth operation, determining that the first seat number is a missing seat number. Accordingly, the seat number in the first card is the first seat number.

[0017] It should be understood that if the analysis result is that only the seat number is missing, after the user confirms to add the seat number, only the add train itinerary interface can be displayed without displaying the set station interface. If the analysis result is that both the seat number and the station are missing, after the user confirms to add the seat number, the terminal device can first display the add train itinerary interface and then display the set station interface.

[0018] In a possible implementation, the ticket purchase order may also lack a seat number, and the seat number in the first card is empty. After displaying the first card, the method may further include: receiving a sixth operation of the user inputting the first seat number in the seat number corresponding area of ​​the first card; in response to the sixth operation, updating the first card to a second card, and the seat number in the second card is the first seat number.

[0019] It should be understood that when the terminal device prompts the user to add missing information such as seat number, the user may think that the current missing information is not important and there is no need to add it, or the user is busy and has no time to add it. The user can choose to refuse to add the missing information, so that the terminal device can directly generate a card without missing information. In addition, the card also provides an editing entrance, so that after the card is generated, the user can still add the seat number, etc. if he is free or has a need.

[0020] In a possible implementation, before displaying the site setting interface, the method may also include: sending a first query request to the server, the first query request including the first train number and the first date; receiving a first query result from the server, the first query result including each station where the first train stops along the first date, the arrival time of each station, the departure time of each station, and the ticket gate of each station.

[0021] In a possible implementation, the ticket purchase order may also lack a ticket gate, the departure station in the first card is the second station, and the ticket gate in the first card is the first ticket gate. After receiving the first query result from the server and before displaying the first card, the method may further include: determining, based on the first query result, that the first ticket gate corresponding to the second station is the missing ticket gate. The second station is included in the ticket purchase order, or is selected by the user in the station setting interface.

[0022] For example, the server is a server of a third-party platform, which is a ticket purchasing platform that has signed a cooperation agreement with the manufacturer of the terminal device in advance. For example, the third-party platform can be the official ticket purchasing platform 12306 launched by the railway customer service center. TM In addition, the third-party platform and the ticket purchasing platform can be the same platform or different platforms.

[0023] It should be understood that when the analysis result is that the ticket gate is missing, the terminal device can query the ticket gate from the server using the train number, travel date and departure station, without the user having to manually enter the ticket gate.

[0024] In a possible implementation, the first information may include a first control and a second control, and the first operation is specifically an operation on the first control. After displaying the first information, the method may further include: receiving a seventh operation on the second control by the user; in response to the seventh operation, canceling the display of the first information and displaying the first card, wherein the arrival site of the first card is empty.

[0025] It should be understood that when the analysis result is missing key information such as travel date, departure station or arrival station, the terminal device will first display a prompt message, and then go to the site setting interface or add itinerary interface after the user's authorization. This is more in line with the user's usage habits and improves the intelligence level of the terminal device.

[0026] In a possible implementation, displaying the first card includes: generating and displaying the first card according to the ticket information included in the ticket purchase order and the ticket information supplemented by the user when a card ejection condition is met. The card ejection condition includes at least one of the following: detecting that the time interval between the system time of the terminal device and the departure time is less than or equal to a preset time length, and detecting that the terminal device enters a preset geographic fence.

[0027] It should be understood that after the user supplements the missing key information, the card ejection condition may not be met. The terminal device can continuously detect whether the card ejection condition is met. For example, when the system time of the terminal device is less than 24 hours away from the departure time, the terminal device can issue a card to remind the user to travel in time.

[0028] In a second aspect, an embodiment of the present application provides a card information supplement method. The method may include:

[0029] Display the ticket purchase details page for the user's travel; when the ticket purchase details page includes at least the first train number and the ticket purchase details page lacks the arrival station, display a first preview card on the ticket purchase details page, and the card information of the first preview card is included in the ticket purchase details page; receive a first operation of the user on the first preview card; in response to the first operation, display a first card on the desktop or the negative one screen, the train number in the first card is the first train number, and the arrival station in the first card is empty; receive a second operation of the user on the first card; in response to the second operation, display a station setting interface, the station setting interface includes various stations along the way where the first train stops on the first date, and the first date is included in the ticket purchase details page or added by the user; receive a third operation of the user on the first station among the various stations; in response to the third operation, update the first card on the desktop or the negative one screen to the second card, and the arrival station in the first card is the first station.

[0030] It should be understood that in the scenario where the source of the ticket order is the ticket details page displayed on the terminal device, since the page is more complex and has more content, directly jumping to the site setting interface when key information is missing may not be in line with the user's true intention. Therefore, the user can be guided to add the card to the desktop or the YOYO suggestion on the negative one screen (YOYO suggestion is used to generate and display cards), and then jump to the site setting interface or the itinerary adding interface through the user's operation on the card, thereby improving the intelligence of the terminal device.

[0031] In a possible implementation, the ticket purchase details page also lacks a departure site, the departure site in the first card is empty, and the departure site in the second card is the second site. After displaying the site setting interface, before receiving a third operation from the user on the first site among the sites, the method may further include: receiving a fourth operation from the user on the second site among the sites, the departure time of the second site being before the arrival time of the first site; and in response to the fourth operation, determining that the second site is the missing departure site.

[0032] It should be understood that when the key information parsed by the terminal device is missing both the departure site and the arrival site, the terminal device can provide a corresponding site setting interface in response to the user's operation on the card. The user only needs to select the departure site and the arrival site in the site setting interface, without manually editing the names of the departure site and the arrival site, thereby simplifying the operation steps and improving the completeness of the card.

[0033] In a possible implementation, the ticket purchase details page also lacks a travel date, the travel date in the first card is blank, and the travel date in the second card is the first date. After receiving the second operation of the user on the first card, before displaying the set site interface, the method may further include: displaying an add itinerary interface, the add itinerary interface including a travel date editing item; receiving a fifth operation of the user inputting the first date in the travel date editing item; and in response to the fifth operation, determining that the first date is the missing travel date.

[0034] It should be understood that when the parsed key information lacks both the travel date and the arrival station, the add train itinerary interface provides a travel date editing option, and the user can manually enter the travel date. In this way, the terminal device can provide a corresponding station setting interface based on the parsed train number and the travel date entered by the user, so that the user can select the station.

[0035] In a possible implementation, the ticket purchase details page is still missing a seat number, the seat number in the first card is empty, and the seat number in the second card is the first seat number. After receiving the second operation of the user on the first card, before displaying the set site interface, the method may further include: displaying an add itinerary interface, the add itinerary interface including a seat number editing item; receiving a sixth operation of the user inputting the first seat number in the seat number editing item; and in response to the sixth operation, determining that the first seat number is the missing seat number.

[0036] It should be understood that if the analysis result is that only the seat number is missing, after the user confirms to add the seat number, only the add train itinerary interface can be displayed without displaying the set station interface. If the analysis result is that both the seat number and the station are missing, after the user confirms to add the seat number, the terminal device can first display the add train itinerary interface and then display the set station interface.

[0037] In one possible implementation, before displaying the first preview card on the ticket details page, the method may further include: using optical character recognition to identify information contained in the ticket details page, and displaying the identified information on the ticket details page; extracting key information from the identified information, the key information including at least the first train number; and generating a first preview card based on the key information.

[0038] It should be understood that when optical character recognition is used to identify the information contained in the ticket details page, the terminal device can first display the identified information and then display the preview card, so that the user can perceive that optical character recognition is being performed and then know that the preview card is generated based on the identified content.

[0039] In a third aspect, the present application provides a device, the device comprising a unit for executing the method in the first aspect or the second aspect. The device may correspond to executing the card information supplement method described in the first aspect or the second aspect. For the relevant description of the unit in the device, please refer to the description of the first aspect or the second aspect, and for the sake of brevity, it will not be repeated here.

[0040] In a fourth aspect, the present application provides a terminal device, the terminal device comprising a memory and one or more processors. The memory is used to store computer program code, and the computer program code comprises computer instructions. When the computer instructions are called by the processor, the terminal device executes the card information supplement method provided in any one of the first aspect or the second aspect.

[0041] In a fifth aspect, the present application provides a computer-readable storage medium. The computer-readable storage medium includes computer instructions. When the computer instructions are executed on a terminal device, the terminal device executes a card information supplement method provided in any possible implementation of the first aspect or the second aspect.

[0042] In a sixth aspect, the present application provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the card information supplement method provided in any possible implementation manner of the first aspect or the second aspect.

[0043] In a seventh aspect, the present application provides a chip system. The chip system includes one or more interface circuits and one or more processors. The interface circuit and the processor are interconnected by a line. The chip system can be applied to a terminal device including a communication module and a memory. The interface circuit is used to receive a signal from the memory of the terminal device and send the received signal to the processor, the signal including a computer instruction stored in the memory. When the processor calls the computer instruction, the terminal device can execute the card information supplement method provided in any possible implementation of the first aspect or the second aspect.

[0044] It can be understood that the beneficial effects that can be achieved by the above-mentioned device of the third aspect, the terminal device of the fourth aspect, the computer-readable storage medium of the fifth aspect, the computer program product of the sixth aspect and the chip system of the seventh aspect can be referred to as the beneficial effects in any possible implementation method of the first aspect or the second aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1A-1J A schematic diagram of an interface for starting a train travel service provided in an embodiment of the present application;

[0046] Figure 2 A schematic diagram of a card with missing key information provided in an embodiment of the present application;

[0047] Figure 3A-3B A schematic diagram of the operation of manually adding a trip in YOYO provided in an embodiment of the present application;

[0048] Figure 4 A framework diagram for supplementing card information by parsing a train ticket purchase order provided in an embodiment of the present application;

[0049] Figure 5A-Figure 5C A schematic diagram of a ticket purchase order obtained through three ways provided in an embodiment of the present application;

[0050] Figure 6A-Figure 6O A set of example diagrams of scenarios for parsing ticket purchase orders and supplementing card information provided in an embodiment of the present application;

[0051] Figure 7A-7C A schematic diagram of a ticket purchasing platform and a third-party platform provided in an embodiment of the present application;

[0052] Figure 8A-8G Another set of scenario example diagrams for parsing ticket purchase orders and supplementing card information provided in an embodiment of the present application;

[0053] Figure 9A-9H Another set of scenario example diagrams for parsing ticket purchase orders and supplementing card information provided in an embodiment of the present application;

[0054] Figures 10A-10D Another set of scenario example diagrams for parsing ticket purchase orders and supplementing card information provided in an embodiment of the present application;

[0055] Figures 11A-11H Another set of scenario example diagrams for parsing ticket purchase orders and supplementing card information provided in an embodiment of the present application;

[0056] Figures 12A-12D Another set of scenario example diagrams for parsing ticket purchase orders and supplementing card information provided in an embodiment of the present application;

[0057] Figures 13A-13L Another set of scenario example diagrams for parsing ticket purchase orders and supplementing card information provided in an embodiment of the present application;

[0058] Fig.14 A schematic diagram of the software architecture of a terminal device provided in an embodiment of the present application;

[0059] Fig.15 A schematic diagram of the architecture of a communication system provided in an embodiment of the present application;

[0060] Fig.16 A flowchart of a card information supplement method provided in an embodiment of the present application;

[0061] Fig.17 A flowchart of another card information supplement method provided in an embodiment of the present application;

[0062] Fig.18 A flowchart of another card information supplement method provided in an embodiment of the present application;

[0063] Fig.19 A flowchart of another card information supplement method provided in an embodiment of the present application;

[0064] Fig. 20 A flowchart of another card information supplement method provided in an embodiment of the present application;

[0065] Fig.21 A schematic diagram of the hardware structure of a terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0066] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments.

[0067] In the description of this application, unless otherwise specified, " / " means or, for example, A / B can mean A or B. In the description of this application, "and / or" is only a way to describe the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0068] The terms "first" and "second" in the specification and claims of this application are used to distinguish different objects, or to distinguish different treatments of the same object, rather than to describe a specific order of objects. For example, the first card and the second card are used to distinguish different cards, rather than to describe a specific order of cards. In the embodiments of this application, "plurality" refers to two or more.

[0069] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0070] The specific implementation of the present application will be described in detail below with reference to the accompanying drawings.

[0071] For example, Figure 1A-1J A schematic diagram of the interface for starting the train travel service provided in an embodiment of the present application.

[0072] Figure 1A A system desktop 101 is shown, which includes icons of applications such as Honor Video, Sports Health, Weather, Browser, Smart Life and Settings. The user can click on any icon to trigger the terminal device to display the operation interface of the corresponding application. For example, the user can click Settings 102.

[0073] After detecting the user's click operation on setting 102, the terminal device displays the following Figure 1B The setting interface 103 shown. The setting interface 103 includes options such as Bluetooth, wireless LAN, phone, flight mode, healthy use of mobile phone, smart assistant 104 and auxiliary functions, each of which corresponds to a system-level service. The user can trigger the terminal device to display the service setting interface corresponding to this option by clicking on an option. For example, the user clicks on smart assistant 104.

[0074] After detecting the user's click operation on the smart assistant 104, the terminal device displays the following Figure 1CThe smart assistant setting interface 105 shown. The smart assistant setting interface 105 includes YOYO suggestions 106, negative one screen, Magic text and Honor search. In addition, the smart assistant setting interface 105 can also include other smart functions, such as smart voice, smart vision, smart screen recognition and smart search. The user can trigger the terminal device to display the setting interface corresponding to a smart function by clicking on a certain smart function. For example, the user can click on YOYO suggestions 106.

[0075] After detecting the user's click operation on YOYO suggestion 106, the terminal device displays the following Figure 1D The YOYO suggestion setting interface 107 is shown. The YOYO suggestion setting interface 107 provides various types of services such as travel services 108, life services, convenient tools and application suggestions. Among them, travel services 108 include the following services: flight travel, train travel 109, travel reminders, subway boarding codes and parking services. Users can trigger the terminal device to display the service management interface corresponding to this service by clicking on a service in the travel service 108. For example, the user can click on the train travel, where the train travel status 109 is "not turned on".

[0076] After detecting the user's click operation on train travel, the terminal device displays the following Figure 1E The service management interface corresponding to train travel shown in FIG. 1 includes a switch 110 for turning on the train travel service. The switch 110 is composed of a circular control and a slider. When a user wants to use the train travel service, the user can slide the circular control to the right along the slider in the direction indicated by the arrow or click the switch 110 to slide the circular control to the right of the slider to turn on the train travel service. In addition, Figure 1E As shown, the service management interface may also include an option to add a trip and an option for providing a service. The option to add a trip is used to manually add a trip. The option for providing a service provides a variety of card display methods, from which users can select at least one card set display method according to actual needs, such as a negative one screen card set, a desktop card set, and a notification. It should be noted that when the train travel service is not enabled, the option to add a trip and the option for providing a service are in an uneditable state, that is, users cannot manually add a trip or select a card set display method. Figure 1E and Figure 1FThe three card set display modes provided by the terminal device, namely, the negative one screen card set, the desktop card set, and the notification, are used as examples for illustration, and are not limiting to the present application. As another example, the terminal device may also display only the negative one screen card set in the service management interface, and the desktop card set is required to be displayed as the system default setting. As another example, the terminal device may also display the negative one screen card set and notifications in the service management interface, and the desktop card set is required to be displayed as the system default setting.

[0077] like Figure 1F As shown in FIG. 1 , after starting the train travel service, the user can click the return control 111 at the top of the service management interface. In response to the click operation, the terminal device returns to FIG. Figure 1G The YOYO suggestion setting interface 107 is shown, and the train travel status 109 has been switched from "disabled" to "enabled".

[0078] After the train travel service is enabled, if the user orders a train ticket on the ticket purchasing platform, the ticket purchasing platform sends a ticket purchase feedback SMS to the smart terminal, and the terminal device generates a card including key information by parsing the ticket purchase feedback SMS. As an example, Figure 1H As shown, the terminal device can display card 112a on the system desktop 101. As another example, the user can use a finger to Fig. 1I The blank area of ​​the system desktop 101 shown in FIG. 100 is slid to the right by the finger. In response to the sliding operation, the terminal device is in the following state: Figure 1J The negative first screen 113 shown in FIG. 112a shows the card 112b. Alternatively, as another example, the user can also use a finger to move the card 112b to the position shown in FIG. Figure 1H The system desktop 101 shown slides to the right. In response to the sliding operation, the terminal device moves to the Figure 1J The negative one screen 113 shown displays card 112b.

[0079] It should be noted that Figure 1H and Figure 1J The example used is to illustrate that a terminal device obtains the train number "G123", travel date "Thursday, June 1", departure station "Beijing South", arrival station "Shanghai Hongqiao", seat number "car 9, seat 18C" and ticket gate "A12" from a ticket purchase feedback SMS, and generates a card including complete information based on this information.

[0080] However, the ticket purchase feedback SMS templates of various ticket purchase platforms are diverse, resulting in different key information included in the ticket purchase feedback SMS. This may cause the terminal device to obtain incomplete key information from the ticket purchase feedback SMS, resulting in incomplete information on the generated card; or, when the ticket purchase feedback SMS lacks key information, the terminal device may not be able to generate a card. In addition, the missing parts in the SMS or notifications sent by different ticket purchase platforms or service providers may also be different. In other words, in different scenarios, the missing information in the card may be different, making the problem more complicated.

[0081] For example, Figure 2 Schematic diagram of various cards with missing key information provided in the embodiment of the present application. Figure 2 As shown, the more common scenarios of missing key information may include: missing ticket gate, missing seat number, missing arrival station, missing ticket gate and seat number, missing arrival station and seat number, missing ticket gate, arrival station and seat number, missing departure station, ticket gate, arrival station and seat number, missing travel date, departure station, ticket gate, arrival station and seat number. Of course, there may be other scenarios of missing card information, which will not be elaborated here. It should be noted that Figure 2 Only cards with missing key information are shown. It should be understood that in actual implementation, these cards with missing key information can be displayed in Figure 1H The system desktop 101 shown, Figure 1J The negative one screen 113 shown may be displayed in the form of a banner notification.

[0082] In order to solve the above problem caused by the lack of key information in the ticket purchase feedback SMS, the embodiment of the present application provides a solution for manually adding a trip in the add trip interface suggested by YOYO. In this solution, the user can edit key information such as the train number and departure station in the add trip interface according to the usage requirements, so that the final generated card information is more complete.

[0083] For example, Figure 3A As shown in FIG. 1 , the service management interface includes not only a switch for turning on the train travel service, but also an option 114 for adding a trip. When the train travel service is turned on, the user can click on Figure 3A In response to the click operation, the terminal device displays the following Figure 3B The Add Trip interface is shown. Figure 3BThe added itinerary interface shown shows an editable column 115, which includes: a train number edit item, a seat number edit item, and a travel date edit item. It should be understood that in addition to the train number edit item, the seat number edit item, and the travel date edit item, the editable column 115 can also provide an arrival station edit item, an arrival time edit item, a ticket gate edit item, etc. After the user purchases a train ticket from the ticket purchasing platform, the user can enter the key information of the train ticket in these edit columns, such as the train number, seat number, and departure time, etc., according to the ticket purchase record provided by the ticket purchasing platform. Then, the terminal device generates a card based on the key information entered by the user, and pops up the card before departure.

[0084] In the above-mentioned manual itinerary adding scheme, if the user wants to add an itinerary, then it is necessary to open the following in sequence according to the description of the above-mentioned embodiment: system desktop, setting interface, smart assistant setting interface, YOYO suggestion setting interface, service management interface corresponding to train travel, and adding itinerary interface, etc. The setting of adding itinerary interface is relatively hidden, which is not friendly to some users who are not familiar with the service of adding itinerary. In addition, the user needs to take multiple steps to open the adding itinerary interface, and the cumbersome operation reduces the user experience.

[0085] In view of the fact that the above-mentioned automatically generated cards are prone to missing key information, and the relatively hidden problem of manually adding the itinerary interface settings, the embodiment of the present application provides a solution for supplementing card information by parsing the ticket purchase order, which can be applied to the terminal device. The terminal device first obtains the ticket purchase order through ticket purchase feedback short messages, push messages, and ticket purchase details pages, and then parses the ticket purchase order to obtain key information, and then provides corresponding supplementary solutions based on the category of the specific missing key information, and different missing information corresponds to different supplementary solutions.

[0086] In some embodiments, the terminal device is also referred to as a terminal or user equipment (UE) or smart terminal. For example, the terminal device may be a mobile phone, a personal computer (PC), a tablet computer (Pad), a wearable device, a computer with wireless transceiver function, a virtual reality (VR) device, an augmented reality (AR) device, a wireless terminal in a smart city or a wireless terminal in a smart home, etc., or other devices or apparatuses.

[0087] It should be noted that the ticket purchase order in the embodiment of the present application can be a train ticket purchase order, an airplane ticket purchase order, a ship ticket purchase order or a bus ticket purchase order, etc., and there is no specific limitation on the type of ticket purchase order.

[0088] The following uses a common train ticket purchase order as an example to illustrate the solution of supplementing card information by parsing the ticket purchase order provided in the embodiment of the present application.

[0089] For example, Figure 4 A framework diagram for supplementing card information by parsing a train ticket purchase order is shown.

[0090] The terminal device can obtain the ticket purchase order through ticket purchase feedback SMS, push messages and ticket purchase details page. Among them, the ticket purchase feedback SMS is also called the train ticket issuance SMS, which refers to the SMS indicating the successful ticket issuance sent by the ticket purchasing platform to the terminal device of the passenger / ticket purchaser after the user purchases the train ticket online; the push message is the SMS sent by the ticket purchasing platform to the user's terminal device some time before the user's departure to remind the user to travel in time, or the ticket purchase platform sends the terminal device the ticket change information of the purchased train, such as train cancellation, train delay and ticket gate change; the ticket purchase details page refers to the order details page displayed on the terminal device after the electronic payment is successful during the process of the user purchasing the train ticket online.

[0091] For example, when a user purchases a ticket on a ticket purchasing platform, the platform can send a ticket purchase feedback SMS to the terminal device of the passenger / ticket purchaser according to the passenger / ticket purchaser's mobile phone number filled in by the user. After receiving the ticket purchase feedback SMS, the terminal device parses the ticket purchase feedback SMS to obtain key information. Figure 5A As shown, the content of the ticket purchase feedback SMS 51 is "Your train ticket purchase is successful, order number WHW1111111, G123 Beijing South-to-Kaifeng on June 1, 2023, car 09, seat 18C". That is, the ticket purchase feedback SMS includes the train number, travel date, departure station and seat number, but lacks the arrival station and ticket gate.

[0092] Another example is that when a user purchases a ticket on a ticket purchasing platform, the ticket purchasing platform can send a push message to the passenger / ticket purchaser's terminal device according to the passenger / ticket purchaser's mobile phone number filled in by the user some time before the user's departure. After receiving the push message, the terminal device parses the push message to obtain key information. Figure 5B As shown, the content of the push message 52 is "You purchased the order number WHW1111111, G123 Beijing South Kaifeng on June 1, 2023, 24 hours before departure, please travel in time." That is, the push message includes the train number, travel date and departure station, but lacks the arrival station, seat number and ticket gate.

[0093] Another example is that when a user successfully purchases a ticket on a ticket purchasing platform using a mobile phone, the terminal device identifies and analyzes the ticket purchase details page currently being displayed to obtain key information. Figure 5C As shown, the ticket purchase details page 53 includes the train number "G123", the travel date "Thursday, June 1, 2023", the departure station "Beijing South", and the arrival station "Shanghai Hongqiao", but the seat number and ticket gate are missing.

[0094] The terminal device pre-stores the key information types used to generate the card, such as train number, travel date, departure station, arrival station, arrival time, seat number and ticket gate. Based on the pre-stored key information types and the extracted key information, the terminal device can determine the missing key information. When the missing key information is of different categories, the terminal device can provide different solutions to supplement the card information based on the characteristics / attributes of the missing key information.

[0095] Statistics show that the probability of ticket purchase orders obtained from various channels including train number, travel date and departure station at the same time is high. Taking the extraction of key information including at least train number, travel date and departure station as an example, the scheme for supplementing card information provided by the terminal device is as follows: if the arrival station is missing, the terminal device can first pop up a prompt box to guide the user to confirm the arrival station (i.e., the destination) with one click, and then pop up a card containing the destination confirmed by the user if the card pop-up conditions are met; if the seat number is missing, the terminal device can pop up a card for prompting the user to travel if the card pop-up conditions are met, the seat number of the card is empty, and the seat number editing entry is provided on the card, so that the user can edit the carriage and seat number through the operation of the editing entry; if the ticket gate is missing, the terminal device can query the ticket gate from the cloud side based on the parsed train number, travel date and departure station, and then pop up a card containing the ticket gate if the card pop-up conditions are met, without the user having to manually edit the ticket gate.

[0096] Among them, the above-mentioned card ejection conditions may include any of the following: (1) after the terminal device determines that any one of the travel date, departure station and arrival station is missing, a prompt box is displayed, and the key information supplemented by the user is obtained, that is, the card pops up immediately after the user supplements the missing key information; (2) after the terminal device determines that any one of the travel date, departure station and arrival station is missing, a prompt box is displayed, and after obtaining the key information supplemented by the user, it is detected that the time interval between the system time of the terminal device and the departure time is less than or equal to the preset time length, such as 24 hours, that is, the card pops up only after the terminal device enters the time fence after the user supplements the missing key information; (3) after the terminal device determines that any one of the travel date, departure station and arrival station is missing, a prompt box is displayed, and after obtaining the key information supplemented by the user, it is detected that the terminal device enters the preset geographical fence, such as the user arrives at the city where the departure station is located, that is, the card pops up only after the user supplements the missing key information and enters the geographical fence; (4) after the terminal device determines that any one of the travel date, departure station and arrival station is missing, a prompt box is displayed, After receiving the user's operation on the "Cancel" control in the prompt box, the card pops up immediately after the user refuses to supplement the missing key information; (5) the terminal device displays the prompt box after determining that any one of the travel date, departure station and arrival station is missing, and after receiving the user's operation on the "Cancel" control in the prompt box, it detects that condition (2) and / or condition (3) are satisfied, that is, the terminal device enters the time fence and / or geographical fence after the user refuses to supplement the missing key information and then pops up the card; (6) the terminal device parses the key information and determines that it contains the train number, travel date, departure station and arrival station, and then pops up the card immediately; (7) the terminal device parses the key information and determines that it contains the train number, travel date, departure station and arrival station, and then does not display the prompt box, and then detects that condition (2) and / or condition (3) are satisfied, that is, the card pops up only after entering the time fence and / or geographical fence; (8) the terminal device receives the order change information sent by the ticket purchasing platform, such as train delays, travel date changes, departure time changes, arrival time changes, ticket gate changes, etc., and satisfies condition (2) and / or condition (3). It should be understood that the terminal device may also eject the card when other conditions are met, and this embodiment of the present application is not limited thereto.

[0097] To facilitate understanding, the solution for supplementing card information by parsing ticket purchase orders provided in an embodiment of the present application is described in detail below with reference to several scenario examples.

[0098] The first scenario example (such as Figure 6A-Figure 6O (shown)

[0099] When the terminal device is displaying Fig. 6AWhen the video playback interface 200 is shown, the terminal device receives a ticket purchase feedback SMS or push message sent by the ticket purchase platform. The terminal device pops up a banner notification 201 in the top area of ​​the screen. The terminal device parses the ticket purchase feedback SMS or push message to obtain the key information included in the ticket purchase feedback SMS or push message. Assume that the key information obtained by the analysis includes the train number "G123", the travel date "6.1", the departure station "Beijing South" and the seat number "Car 9 18C". The terminal device determines whether other key information is missing based on the key information obtained by the analysis. If the arrival station and arrival time are missing, then Figure 6B As shown, a prompt box 202 pops up on the video playback interface 200. The prompt box 202 may include the prompt information "Go to confirm the destination and add it to YOYO suggestions in one step", "Cancel" control and "Go" control 203. The user can operate the "Cancel" control to indicate that he refuses to add the missing information such as the arrival station to the YOYO suggestions, and then the terminal device can immediately pop up a card with the arrival station and arrival time empty on the negative one screen and / or desktop, or pop up a card with the arrival station and arrival time empty on the negative one screen and / or desktop when the terminal device enters the time fence and / or geographic fence. The user can also trigger the terminal device to jump to the setting site interface corresponding to the YOYO suggestion by operating the "Go" control 203 to add the missing information such as the arrival station to the YOYO suggestion. Among them, YOYO suggestions are used to generate and display cards. The content of the setting site interface is provided by a third-party platform, which is a ticket purchasing platform that has signed a cooperation agreement with the manufacturer of the terminal device in advance. For example, the third-party platform can be the official ticket purchasing platform 12306 launched by the railway customer service center. TM .

[0100] In some embodiments, after receiving a user click operation on the "Go" control 203, the terminal device sends a request message including the train number "G123", the travel date "6.1" and the departure station "Beijing South" to the third-party platform. In response to the request message, the third-party platform obtains a query result based on the train number "G123", the travel date "6.1" and the departure station "Beijing South", and returns the query result to the terminal device.

[0101] For example, Fig. 7A As shown in the figure, the platform where users buy train tickets is the same as the third-party platform. TM For example, when a user signs a cooperation agreement with a service platform in advance, TM After purchasing a train ticket through the service platform, TM The service platform first sends a ticket purchase feedback SMS, push message or information used to generate the order details page to the terminal device, and then the terminal device can send a ticket purchase feedback SMS, push message or information used to generate the order details page to Zhixing. TMThe service platform sends a query request, and then Zhixing TM The service platform returns the query result to the terminal device.

[0102] For example, Figure 7B As shown in Figure 1, the third-party platform is different from the platform where users purchase train tickets. TM The service platform did not sign a cooperation agreement in advance with 12306 TM For example, when a user signs a cooperation agreement with a service platform in advance, TM After buying the train ticket, TM The service platform first sends a ticket purchase feedback SMS, push message or information used to generate the order details page to the terminal device, and then the terminal device sends a ticket to 12306. TM Send a query request to the service platform, 12306 TM The service platform returns the query result to the terminal device.

[0103] In other embodiments, Figure 7C As shown, the third-party platform periodically pushes the key information of each train number to the manufacturer server, or the manufacturer server periodically actively obtains the key information of each train number from the third-party platform. The manufacturer server stores these key information. Among them, the key information may include the stopover stations, the arrival time of each station, the departure time of each station, the stay time of each station, the ticket gate of each station, etc. The specific process is: the ticket purchase platform first sends a ticket purchase feedback SMS, a push message or information for generating an order details page to the terminal device; after the terminal device receives the user's click operation on the "Go" control 203, the terminal device sends a request information including the train number "G123" and the travel date "6.1" to the manufacturer server; the manufacturer server responds to the request information, obtains the query result based on the train number "G123" and the travel date "6.1", and returns the query result to the terminal device.

[0104] The above query results may include the various stops along the way of G123 departing on 6.1, the arrival time of each stop, the departure time of each stop, and the stay time of each stop. In addition, the query results may also include the ticket gate, for example, the ticket gate is "A12". The terminal device edits, draws and renders the station setting interface based on the query results. Figure 6C As shown in the figure, the interface for setting the station includes the following contents: train number "G123", travel date "6.1", various stations along the way, arrival time at each station, departure time at each station, and stay time at each station. Figure 6CThe interface for setting the station shown also includes a prompt box 204 for the departure station. The area where the prompt box 204 is located includes the departure station "Beijing South", the arrival time of "Beijing South", the departure time of "Beijing South", and the stay time corresponding to "Beijing South". It should be noted that since "Beijing South" is the departure station of the train number "G123", the departure time and arrival time of "Beijing South" can be the same, for example, both are "10:20". In addition, the area where the prompt box 204 is located also includes a "departure" mark. The user can check whether the station name included in the area where the "departure" mark is located is the real departure station. It should be understood that when the content of the message sent by the ticket purchasing platform is incorrect, or the content parsed by the terminal device is incorrect, the departure station selected by the prompt box 204 may not be the real departure station. The user can move the prompt box 204 to the area corresponding to the real departure station by operating the area corresponding to the real departure station.

[0105] For example, the user's arrival station is "Shanghai Hongqiao". Fig.6D As shown, the user can click in area 205 of the site setting interface. In response to the click operation, Fig. 6E As shown, the terminal device updates and displays a prompt box 206 in area 205 of the site setting interface. Among them, the area where the prompt box 206 is located includes the arrival station "Shanghai Hongqiao", the arrival time of "Shanghai Hongqiao", the departure time of "Shanghai Hongqiao", and the stay time corresponding to "Shanghai Hongqiao". It should be noted that since "Shanghai Hongqiao" is the terminal station of the train number "G123", the arrival time and departure time of "Shanghai Hongqiao" can be the same, for example, both are "16:26". In addition, the area where the prompt box 206 is located also includes an "arrival" logo. The user can check whether the site name included in the area where the "arrival" logo is located is the real arrival site. It should be understood that the user may mistakenly select the arrival site. When the real arrival site is not the "Shanghai Hongqiao" just selected, the user can also move the prompt box 206 to the area corresponding to the real arrival site through operation.

[0106] Figure 6C , Fig.6D , Fig. 6E and Fig. 6F The bottom of the interface may also include a "confirm" control 207. After confirming the departure station and the arrival station, Fig. 6F As shown, the user can click the "Confirm" control 207, and the "Confirm" control 207 switches from a non-selected state to a selected state. In response to the click operation on the "Confirm" control 207, the terminal device determines that the user has selected the departure station and the arrival station, and saves key information for generating a card, such as the arrival station "Shanghai Hongqiao" and the arrival time "16:26".

[0107] It should be noted that Figure 6C-6F The description is made by taking the example that the user determines that the departure station and the arrival station have been selected by operating the "Confirm" control 207, which does not limit the embodiments of the present application.

[0108] For example, Figure 6G-6J FIG. 2 shows an operation flow chart of another implementation method. Figure 6C-6F The "Confirm" control 207 shown is different. Figure 6G-6J The upper right corner of the page includes a "√" control 208. Figure 6B After clicking the "Go" control 203 shown in FIG. Figure 6G The site settings interface is shown in the figure. Figure 6H As shown, the user can click in area 205 of the site setting interface. In response to the click operation, Fig.6I As shown, the terminal device updates and displays a prompt box 206 in the area 205 of the site setting interface. After confirming the departure site and the arrival site, as shown in FIG. Figure 6J As shown, the user can click the "√" control 208. In response to the click operation on the "√" control 208, the terminal device determines that the user has selected the departure station and the arrival station, and saves key information for generating the card, such as the arrival station "Shanghai Hongqiao" and the arrival time "16:26".

[0109] For example, Figure 6K-6M FIG. 2 shows an operation flow chart of another implementation method. Figure 6C-6J There is a difference. Figure 6K-6M The interface shown does not include a "confirm" control 207 or a "√" control 208. Figure 6B After clicking the "Go" control 203 shown in FIG. Figure 6K The site settings interface is shown in the figure. Figure 6L As shown, the user can click in area 205 of the site setting interface. In response to the click operation, Figure 6M As shown, the terminal device updates and displays a prompt box 206 in the area 205 of the site setting interface, and directly saves the key information used to generate the card, such as the arrival site "Shanghai Hongqiao" and the arrival time "16:26". Figure 6K-6M In the implementation shown, after the user selects a site, the terminal device can directly save the key information for generating a card without the user's confirmation operation, so the operation steps are simpler.

[0110] Take the example of displaying a card set in the negative one screen. Figure 6C-6F Steps as shown, or Figure 6G-6J Steps as shown, or Figure 6K-6MAfter completing the selection of the arrival site in the steps shown in the figure, the terminal device can, when the eject card condition is met, Figure 6N The negative one screen display card 209 shown, or in the Fig.6O The desktop shown displays card 210. Cards 209 and 210 include the arrival station "Shanghai Hongqiao" added by the user.

[0111] In the above scheme, when the parsed key information lacks the arrival station, the terminal device can directly jump to the setting station interface after receiving the user's operation on the "go" control 203 in the prompt box 202. In this way, the user can select the arrival station with one click according to the various stations provided in the setting station interface, without manually editing (such as typing in the input method) the name of the arrival station. In addition, since the setting station interface also provides the arrival time and departure time of each station, when the user selects the arrival station, the terminal device can also obtain the arrival time of the arrival station, thereby enriching the card content.

[0112] The second scenario example (such as Figure 8A-8G (shown)

[0113] The second scenario example still takes the missing arrival site as an example. Different from the first scenario example, in the second scenario example, the site setting interface includes not only a prompt box for the departure site, but also a prompt box for the arrival site. The departure site indicated by the prompt box for the departure site is parsed from the ticket purchase feedback SMS or push message, and the arrival site indicated by the prompt box for the arrival site is the estimated arrival site selected by the terminal device according to the preset rules.

[0114] For example, when the terminal device is displaying the video playback interface 301, it receives a ticket purchase feedback SMS or push message sent by the ticket purchase platform, and a banner notification of the ticket purchase feedback SMS or push message pops up in the top area of ​​the screen. The ticket purchase feedback SMS or push message includes key information such as the train number "G123", the travel date "6.1", and the departure station "Beijing South", but the arrival station is missing. Fig. 8A As shown, the terminal device can pop up a prompt box 302 on the video playback interface 301. The prompt box 302 may include prompt information "Go to confirm the destination, add it to YOYO suggestion in one step", "Cancel" control and "Go" control 303. The user can trigger the terminal device to jump to the video playback interface 301 by operating the "Go" control 303. Figure 8B The site settings interface is shown in the figure. Figure 8B As shown in the figure, the interface for setting the station includes the following contents: train number "G123", travel date "6.1", various stations along the way, arrival time at each station, departure time at each station, and stay time at each station. Figure 8BThe interface for setting the station shown also includes a prompt box 304 for the departure station and a prompt box 305 for the arrival station. The area where the prompt box 304 is located includes the departure station "Beijing South", the arrival time of "Beijing South", the departure time of "Beijing South", the stay time corresponding to "Beijing South", and a "departure" mark; the area where the prompt box 305 is located includes the arrival station "Shanghai Hongqiao", the arrival time of "Shanghai Hongqiao", the departure time of "Shanghai Hongqiao", and the stay time corresponding to "Shanghai Hongqiao".

[0115] The arrival site selected in the prompt box 305 is the estimated arrival site selected by the terminal device according to the preset rule. The estimated arrival site has a high probability of being the real arrival site.

[0116] The above preset rules may include any of the following:

[0117] (1) Select the station with the largest number of passengers getting off from all the stations along the train route. For example, the statistics provided by the third-party platform show that the number of passengers getting on the G123 train at the departure station "Beijing South" is the largest, and the number of passengers getting off the train at the terminal station "Shanghai Hongqiao" is the largest. Therefore, the terminal station "Shanghai Hongqiao" can be determined as the estimated arrival station.

[0118] (2) Based on the historical ticket purchase records of the passenger saved locally by the terminal device, or the historical ticket purchase records of the passenger provided by a third-party platform, the stations that the ticket purchase user and / or the passenger has visited are used as the estimated arrival stations. Furthermore, when the user has visited multiple stations along the same train, the station that the passenger has visited most recently is used as the estimated arrival station, or the station that the passenger has visited most frequently is used as the estimated arrival station.

[0119] (3) Directly use the train’s terminal as the estimated arrival station. Generally speaking, the train’s terminal has the highest probability of being the user’s arrival station, so the train’s terminal can be directly used as the estimated arrival station.

[0120] In some embodiments, if the estimated arrival station provided by the terminal device through the prompt box 305 is the actual arrival station, that is, the terminal device successfully predicts the actual arrival station, the user can click Figure 8B The "Confirm" control shown. In response to the click operation on the "Confirm" control, the terminal device determines that the user has selected the departure station "Beijing South" and the arrival station "Shanghai Hongqiao", and saves this information.

[0121] In other embodiments, if the estimated arrival station provided by the terminal device through the prompt box 305 is not the actual arrival station, that is, the terminal device does not predict the actual arrival station, then the user needs to manually modify the arrival station. For example, the actual arrival station that the user wants to go to is "Wuxi East". Figure 8C As shown, the user can click on area 306 of the site setting interface, and area 306 includes "Wuxi East". In response to the click operation, Fig.8D As shown, the terminal device updates and displays a prompt box 307 in area 306 of the station setting interface, wherein the area where the prompt box 307 is located includes the arrival station "Wuxi East", the arrival time of "Wuxi East", the departure time of "Wuxi East", and the stay time corresponding to "Wuxi East". Fig. 8E As shown, the user can click the "Confirm" control 308. In response to the click operation on the "Confirm" control 308, the terminal device determines that the user has selected the departure station "Beijing South" and the arrival station "Wuxi East", and saves the acquired key information. When the eject condition is met, the terminal device can display the following information based on the acquired key information: Fig.8F The card 309 shown or Figure 8G Card 310 is shown.

[0122] It should be noted that if the estimated arrival site recommended by the terminal device is incorrect, the user can FIG. 8C to FIG. 8E Alternatively, if the terminal device does not have a recommended estimated arrival station, the user can manually select the departure station and / or arrival station. If the user mistakenly selects the wrong station, the user can also refer to FIG. 8C to FIG. 8E The steps shown are to reselect the departure site and / or arrival site, that is, the user can manually change the site that has been selected.

[0123] in addition, FIG. 8B to FIG. 8E The example of confirming that the departure station and arrival station have been selected by operating the "Confirm" control is used for illustration, and does not limit the present application. In actual implementation, other implementation methods may also be used. Referring to the description of the first scenario example, the departure station and arrival station may also be confirmed by operating the "√" control.

[0124] In the above scheme, after receiving the user's operation on the "Go" control in the prompt box, the site setting interface may include a prompt box for the arrival site in addition to a prompt box for the departure site. Since the arrival site is an estimated arrival site selected based on preset rules such as the number of people getting off the bus and historical ticket purchase records, the estimated arrival site is likely to be the actual arrival site. In this way, the user most likely does not need to select the arrival site, but directly clicks the "Confirm" control, thereby simplifying the operation steps. In addition, when the estimated arrival site is wrong, the user can also change the arrival site, thereby improving operability and making the final generated card more accurate.

[0125] The third scenario example (such as Figure 9A-9H (shown)

[0126] The first and second scenario examples above are illustrated by displaying the site setting interface in response to the user's operation of the "Go" control in the prompt box. Different from these two scenario examples, in the third scenario example, the user can also refuse to add missing information such as the arrival site to YOYO suggestions by selecting the "Cancel" control in the prompt box.

[0127] For example, when the terminal device is displaying the video playback interface, it receives a ticket purchase feedback SMS or push message sent by the ticket purchase platform, and a banner notification of the ticket purchase feedback SMS or push message pops up at the top of the screen. The ticket purchase feedback SMS or push message includes key information such as the train number "G123", the travel date "6.1", and the departure station "Beijing South", but the arrival station and seat number are missing. Fig.9A As shown, the terminal device may pop up a prompt box 402 on the video playback interface 401. The prompt box 402 may include the prompt information "Go to confirm the destination, add it to YOYO suggestions in one step", "Cancel" control 403 and "Go" control. The user can click the "Cancel" control 403. In response to the user's click operation on the "Cancel" control 403, the terminal device sends a query request to the third-party platform or manufacturer server based on the parsed train number "G123", travel date "6.1", and departure station "Beijing South". In response to the query request, the third-party platform or manufacturer server obtains the query result based on the train number "G123", travel date "6.1" and departure station "Beijing South", and returns the query result to the terminal device. For example, the query result may include the ticket gate "A12" and the departure time "10:20". As an implementation method, the query result may also include various stations along the way, the arrival time of each station, the departure time of each station, the stay time of each station, etc. Of course, the query result may not include the information of each stop along the way, but only include the ticket gate "A12" and the departure time "10:20".

[0128] One possible implementation method is that after the terminal device obtains the ticket gate "A12" and the departure time "10:20" from the third-party platform or the manufacturer's server, it immediately displays the following information on the negative one screen or the desktop. Fig. 9B Another possible implementation is that after the terminal device obtains the ticket gate "A12" and the departure time "10:20" from the third-party platform or the manufacturer's server, when the terminal device enters the time fence and / or the geographic fence, the card 404 is displayed on the negative one screen or the desktop. Fig. 9B The card 404 shown. Fig. 9B As shown in the dotted line frame 405, the arrival station, arrival time and seat number of the card 404 are empty. In addition, the card 404 also includes a "view details" control 406, and the user can view the detailed information of the order by operating the "view details" control 406.

[0129] As an example, users can also directly Fig. 9B For example, the user can click on the area surrounded by the dotted line frame 405. Fig. 9B In response to the click operation, the terminal device edits, draws, renders and displays the following information based on the query result: Fig. 9C The interface for adding a train itinerary is shown in the figure. Fig. 9C As shown, the interface for adding a train itinerary includes the following contents: train number "G123" and travel date "Thursday, June 1, 2023". Since the key information parsed does not include the seat number, the seat number edit item 407 is empty. Fig.9D As shown in FIG. 4 , the user can manually add a seat number in the seat number editing item 407, such as the seat number "Car 9, 18C", and then click the "Next" control 408. In another scenario, the user may not add a seat number, but directly click the "Next" control 408. After receiving the user's operation on the "Next" control 408, the terminal device displays the following Fig.9E The site settings interface is shown.

[0130] like Fig.9E As shown, the user can click in the area 410 of the site setting interface. In response to the click operation, Fig.9F As shown, the terminal device updates the prompt box of the arrival station in area 410 of the station setting interface. Fig.9F As shown, the user can click the "confirm" control 411. In response to the click operation on the "confirm" control 411, the terminal device determines that the user has selected the departure station and the arrival station, and Fig. 9B The card 404 shown is updated as follows Figure 9GThe card 412 shown, or updated as Figure 9H Card 413 is shown.

[0131] In another implementation, the user can also directly Fig. 9B For example, the user can click on the area enclosed by the dashed line frame 405. Fig. 9B The user can then click on the "Seat Number" shown in the figure and manually enter the seat number "9 car 18C" through the virtual keyboard. Fig. 9B In response to the click operation, the terminal device can jump to the following Fig.9E The site setting interface is shown in the figure. Fig.9E In the site setting interface shown in the figure, select the destination site "Shanghai Hongqiao", then the terminal device will update the card as follows Figure 9G The card 412 shown, or updated as Figure 9H Card 413 is shown.

[0132] It should be noted that the third scenario example is illustrated by taking the missing arrival station and seat number as an example, which does not limit the present application. In actual implementation, only the arrival station or seat number may be missing, or the departure station, arrival station and seat number may be missing, or the ticket gate, arrival station and seat number may be missing, etc., and the implementation methods of other scenario examples may be referred to, which will not be described one by one here.

[0133] In the above scheme, when the terminal device prompts the user to add missing information such as the arrival station, the user may think that the current missing information is not important and there is no need to add it, or the user is busy and has no time to add it. The user can refuse to add the missing information by operating the "Cancel" control in the prompt box, so that the terminal device can directly generate a card containing the missing information. In addition, the card also provides an editing entry for the missing information, so that after the terminal device generates the card, if the user is free or has a need, he can still use the editing entry to add the missing information such as the arrival time, arrival station and seat number.

[0134] The fourth scenario example (such as Figures 10A-10D (shown)

[0135] The first to third scenario examples above are explained by parsing the train number, travel date and departure station from the ticket purchase feedback SMS or push message. Different from these three scenario examples, in the fourth scenario example, the terminal device only parses the train number, travel date and seat number from the ticket purchase feedback SMS or push message, and does not parse the departure station and arrival station.

[0136] For example, when the terminal device is displaying Fig. 10AWhen the video playback interface 501 is shown, the terminal device receives a ticket purchase feedback SMS or push message sent by the ticket purchase platform, and a banner notification of the ticket purchase feedback SMS or push message pops up in the top area of ​​the screen. The terminal device parses the ticket purchase feedback SMS or push message to obtain the key information included in the ticket purchase feedback SMS or push message. Assume that the key information obtained by the analysis includes the train number "G123", the travel date "6.1", and the seat number "9 car 18C". The terminal device determines that the departure station and arrival station are missing based on the key information obtained by the analysis, so if Fig. 10A As shown, a prompt box 502 pops up on the video playback interface 501. The prompt box 502 may include prompt information "Go to confirm the origin and destination, and add it to YOYO suggestions in one step", "Cancel" control and "Go" control 503. The user can refuse to add missing information such as the departure site and the arrival site to the YOYO suggestion by operating the "Cancel" control. The user can also trigger the terminal device to jump to the site setting interface corresponding to the YOYO suggestion by operating the "Go" control 503 to add missing information such as the departure site and the arrival site to the YOYO suggestion.

[0137] In some embodiments, after receiving the user's click operation on the "Go" control 503, the terminal device sends a request message including the train number "G123" and the travel date "6.1" to the third-party platform. In response to the request message, the third-party platform obtains a query result based on the train number "G123" and the travel date "6.1", and returns the query result to the terminal device.

[0138] In other embodiments, the third-party platform periodically pushes the key information of each train number to the manufacturer server, or the manufacturer server periodically actively obtains the key information of each train number from the third-party platform. The manufacturer server stores these key information. Among them, the key information may include the stopover stations, the arrival time of each station, the departure time of each station, the stay time of each station, the ticket gate of each station, etc. The specific process is: the ticket purchase platform first sends a ticket purchase feedback SMS, a push message or information for generating an order details page to the terminal device; after the terminal device receives the user's click operation on the "Go" control 303, the terminal device sends a request information including the train number "G123" and the travel date "6.1" to the manufacturer server; the manufacturer server responds to the request information, obtains the query result based on the train number "G123" and the travel date "6.1", and returns the query result to the terminal device.

[0139] The above query results may include the various stops along the way of G123 departing on June 1, the arrival time of each stop, the departure time of each stop, and the stay time of each stop. The terminal device edits, draws, and renders the station setting interface based on the query results. Fig. 10BAs shown in the figure, the interface for setting the station includes the following contents: train number "G123", travel date "6.1", various stations along the way, arrival time at each station, departure time at each station, and stay time at each station. Different from the setting interface of the first to third scenario examples above, since the key information obtained by parsing does not include the departure station, Fig. 10B The interface for setting the station shown does not include a prompt box for the departure station.

[0140] For example, the user's departure station is "Beijing South". Fig. 10B As shown, the user can perform a click operation in area 504 of the site setting interface. In response to the click operation, Fig. 10C As shown, the terminal device updates and displays a prompt box 505 in area 504 of the site setting interface. Among them, the area where the prompt box 505 is located includes the departure site "Beijing South", the arrival time of "Beijing South", the departure time of "Beijing South", and the stay time corresponding to "Beijing South". In addition, the area where the prompt box 505 is located also includes a "departure" logo. The user can check whether the site name included in the area where the "departure" logo is located is the real departure site. It should be understood that the user may mistakenly select the departure site. When the real departure site is not the "Beijing South" just selected, the user can also move the prompt box 505 to the area corresponding to the real departure site through operation, or click on the area corresponding to the real departure site to adjust the departure site.

[0141] After selecting the departure station, the user can also select the arrival station. For example, if the user's arrival station is "Shanghai Hongqiao". Fig. 10C As shown, the user can perform a click operation in area 506 of the site setting interface. In response to the click operation, Fig. 10D As shown, the terminal device updates and displays a prompt box 507 in area 506 of the site setting interface. Among them, the area where the prompt box 507 is located includes the arrival site "Shanghai Hongqiao", the arrival time of "Shanghai Hongqiao", the departure time of "Shanghai Hongqiao", and the stay time corresponding to "Shanghai Hongqiao". In addition, the area where the prompt box 507 is located also includes an "arrival" logo. The user can check whether the site name included in the area where the "arrival" logo is located is the real arrival site. It should be understood that the user may mistakenly select the arrival site. When the real arrival site is not the "Shanghai Hongqiao" just selected, the user can also move the prompt box 507 to the area corresponding to the real arrival site through operation (for example, clicking on another site).

[0142] After confirming the departure and arrival stations, users can click Fig. 10DThe "confirm" control 508 is shown. Referring to the description of the first scenario example above, after the user selects the departure station and the arrival station, the terminal device can display the card when the card ejection condition is met, which will not be repeated here.

[0143] It should be noted that Fig. 10D The setting interface includes a "Confirm" control as an example for illustration, which does not limit the present application. Referring to the description of the above embodiment, the setting interface may also include a "√" control, or may include neither a "Confirm" control nor a "√" control.

[0144] In addition, if the key information parsed by the terminal device does not include the ticket gate, then after the user selects the departure station, the terminal device can send a request message including the train number "G123", the travel date "6.1" and the departure station "Shanghai Hongqiao" to the third-party platform. In response to the request message, the third-party platform returns the ticket gate to the terminal device.

[0145] In the above scheme, when the key information parsed by the terminal is missing both the departure station and the arrival station, the terminal device can provide a corresponding station setting interface based on the parsed train number and travel date. The user only needs to select the departure station and the arrival station in the station setting interface, without manually editing the names of the departure station and the arrival station, thereby simplifying the operation steps.

[0146] The fifth scenario example (such as Figures 11A-11H (shown)

[0147] In the fifth scenario example, the terminal device only parses the train number from the ticket purchase feedback SMS or push message, but does not parse the travel date, departure station, arrival station and seat number.

[0148] For example, when the terminal device is displaying Fig.11A When the video playback interface 601 is shown, the terminal device receives a ticket purchase feedback SMS or push message sent by the ticket purchase platform, and a banner notification of the ticket purchase feedback SMS or push message pops up in the top area of ​​the screen. The terminal device parses the ticket purchase feedback SMS or push message to obtain the key information included in the ticket purchase feedback SMS or push message. Assume that the key information obtained by the analysis only includes the train number "G123". The terminal device determines the missing travel date, departure station, arrival station and seat number based on the key information obtained by the analysis, then if Fig.11AAs shown, a prompt box 602 pops up on the video playback interface 601. The prompt box 602 may include prompt information "Go to confirm the travel date, departure point, destination and seat number, and add it to YOYO suggestions in one step", "Cancel" control and "Go" control 603. The user can refuse to add the missing information such as travel date, departure station and arrival station to YOYO suggestions by operating the "Cancel" control. The user can also trigger the terminal device to add the missing information such as seat number and travel date to YOYO suggestions by operating the "Go" control 603.

[0149] Assuming that the user clicks the "Go" control 603, the terminal device jumps to the add train itinerary interface corresponding to the YOYO suggestion. Fig. 11B As shown, the interface for adding a train itinerary includes a train number edit item, a seat number edit item 604, and a travel date edit item 605. The train number edit item includes the parsed train number "G123", and the seat number edit item 604 and the travel date edit item 605 are empty. Users can edit the seat number edit item 604 and / or the travel date edit item 605 according to their needs. Fig. 11C As shown, the user can enter "Car 9, No. 18C" in the seat number edit item 604 and enter "Thursday, June 1, 2023" in the travel date edit item 605. Fig.11D As shown, the user can click on the “Next Item” control 606 .

[0150] In response to a click operation on the "next item" control 606, the terminal device displays the following Fig.11E The site settings interface is shown in the figure. Fig.11F As shown, the user can select the departure site "Beijing South" in the site setting interface, so that the terminal device displays a prompt box 607 in the area corresponding to "Beijing South". Fig.11G As shown, the user can select the arrival site "Shanghai Hongqiao" in the site setting interface, so that the terminal device displays a prompt box 608 in the area corresponding to "Shanghai Hongqiao". Fig.11H As shown, after confirming the departure station and the arrival station, the user can click the "confirm" control 609. Referring to the description of the first scenario example above, after the user selects the departure station and the arrival station, the terminal device can display the card when the card ejection condition is met, which will not be repeated here.

[0151] It should be noted that Fig.11H The setting interface includes a "Confirm" control as an example for illustration, which does not limit the present application. Referring to the description of the above embodiment, the setting interface may also include a "√" control, or may include neither a "Confirm" control nor a "√" control.

[0152] In addition, if the key information parsed by the terminal device does not include the ticket gate, then after the user selects the departure station, the terminal device can send a request message including the train number "G123", the travel date "6.1" and the departure station "Shanghai Hongqiao" to the third-party platform. In response to the request message, the third-party platform returns the ticket gate to the terminal device.

[0153] In the above scheme, when the key information parsed by the terminal device is missing the seat number, travel date, departure station and arrival station at the same time, on the one hand, the add train itinerary interface provides seat number editing options and travel date editing options, and the user can choose to edit one or more of them according to actual needs; on the other hand, the terminal device can provide a corresponding station setting interface based on the parsed train number. The user only needs to select the departure station and arrival station in the station setting interface, without manually editing the names of the departure station and arrival station, thereby simplifying the operation steps.

[0154] The sixth scenario example (such as Figures 12A-12D (shown)

[0155] In the sixth scenario example, the terminal device parses the train number, travel date, departure station and arrival station from the ticket purchase feedback SMS or push message, but lacks the seat number.

[0156] For example, when the terminal device is displaying Fig. 12A When the video playback interface 701 is shown, the terminal device receives a ticket purchase feedback SMS or push message sent by the ticket purchase platform, and a banner notification of the ticket purchase feedback SMS or push message pops up in the top area of ​​the screen. The terminal device parses the ticket purchase feedback SMS or push message to obtain the key information included in the ticket purchase feedback SMS or push message. Assume that the key information obtained by the analysis includes the train number "G123", the travel date "Thursday, June 1, 2023", the departure station "Beijing South" and the arrival station "Shanghai Hongqiao". The terminal device determines the missing seat number based on the key information obtained by the analysis, so if Fig. 12A As shown, a prompt box 702 pops up on the video playback interface 701. The prompt box 702 may include prompt information "Go to confirm the seat number, add it to YOYO suggestion in one step", "Cancel" control and "Go" control 703. The user can refuse to add the seat number to YOYO suggestion by operating the "Cancel" control. The user can also trigger the terminal device to add the seat number to YOYO suggestion by operating the "Go" control 703.

[0157] Assuming that the user clicks the "Go" control 703, the terminal device jumps to the add train itinerary interface corresponding to the YOYO suggestion. Fig. 12BAs shown, the interface for adding a train itinerary includes a train number edit item, a seat number edit item 704, and a travel date edit item. The train number edit item includes the parsed train number "G123", the travel date edit item includes the parsed "Thursday, June 1, 2023", and the seat number edit item 704 is empty. Fig. 12C As shown in FIG. 1 , the user can enter "9 car 18C" in the seat number editing item 704. After confirming that the information has been filled in correctly, Fig.12D As shown, the user can click the “√” control 705 .

[0158] It should be noted that Fig.12D The example of adding a train itinerary interface including a "√" control is used for illustration, and does not limit the present application. Referring to the description of the above embodiment, the adding a train itinerary interface may also include a "confirm" control, or may include neither a "confirm" control nor a "√" control.

[0159] As another implementation method, after parsing the ticket purchase feedback SMS or push message, if it is determined that only the seat number is missing, the terminal device may not display the information. Figures 12A-12D Instead of the interface shown, a card is generated based on the key information that has been parsed. The card provides an entry for editing the seat number. Thus, the user can directly enter the seat number on the card.

[0160] In addition, if the key information parsed by the terminal device does not include the ticket gate, then after the user selects the departure station, the terminal device can send a request message including the train number "G123", the travel date "6.1" and the departure station "Shanghai Hongqiao" to the third-party platform. In response to the request message, the third-party platform returns the ticket gate to the terminal device.

[0161] In the above solution, since the terminal device has parsed key information such as train number, travel date, departure station and arrival station, only the seat number is missing. Therefore, after the user confirms to go to YOYO and suggests adding the seat number, only the add train itinerary interface can be displayed without displaying the set station interface.

[0162] The seventh scenario example (such as Figures 13A-13L (shown)

[0163] The first to sixth scenario examples are described by parsing key information from ticket purchase feedback SMS or push messages. In the seventh scenario example, the terminal device can parse key information from the ticket purchase details page.

[0164] For example, Fig.13AThe smart assistant interface 801 is shown. The setting interface 801 includes smart functions such as smart screen recognition 802, and the user can click on the smart screen recognition 802. After detecting the user's click operation on the smart screen recognition 802, the terminal device displays the following Fig. 13B The smart screen recognition interface is shown in the figure. Fig. 13B In the smart screen recognition interface shown, the smart screen recognition corresponds to a smart capability switch 803. The smart capability switch 803 consists of a circular control and a slider. As a scenario example, by default, the circular control is located on the left side of the slider, and the smart screen recognition is in the off state. It should be noted that this application does not limit the default state configuration of the smart screen recognition. In another scenario example, the smart screen recognition is in the on state by default.

[0165] When users want to use Smart Screen Recognition, they can follow the steps below: Fig. 13B Slide the circular control to the right along the slider in the direction of the arrow shown, so that the circular control slides to the right side of the slider, and the update is Fig. 13C The smart capability switch 804 shown turns on the smart screen recognition.

[0166] In one possible implementation, the smart screen recognition can automatically detect the page content in real time. For example, the smart screen recognition detects the page content of all applications. For another example, the smart screen recognition detects the page content of a preset application, which is a ticket purchase application or a travel application. In another possible implementation, when a user buys a train ticket on a ticket purchase platform, the user can press the ticket purchase details page with a finger, and the terminal device responds to the operation and detects the page content of the ticket purchase details page through the smart screen recognition.

[0167] For example, after the user successfully pays the order, the terminal device displays the following Fig.13D The order details page 805 shown in the figure. The smart screen recognition can use optical character recognition (OCR) method to recognize the order number, order time, train number, travel date, departure station, departure time, arrival station, arrival time, seat type and ticket price from the order details page 805. As an example, the terminal device first displays the following Fig.13E The text recognition prompt box 806 shown in the figure includes the recognized content. Then, the terminal device selects key information for generating a card from the information, such as the train number "G123", the travel date "June 1, 2023", the departure station "Beijing South", the departure time "10:20", the arrival station "Shanghai Hongqiao" and the arrival time "16:26", and then generates the following card according to the key information: Fig.13F As another example, the terminal device may not display the preview card 807 shown in FIG. Fig.13E Instead of using the text recognition prompt box 806 shown in the figure, the key information for generating the card is directly filtered out from the information, and the card is generated according to the key information. Fig.13F Preview card 807 is shown.

[0168] like Fig.13F As shown in FIG. 1 , the terminal device pops up a preview card 807 at the bottom of the order details page. The content of preview card 807 is generated based on the key information that has been parsed. Since the seat number is missing, the content of the seat number of preview card 807 is empty. In addition, there is a prompt control "Confirm to add the card to YOYO suggestions" in or near preview card 807. If the user clicks on this control, the terminal device adds preview card 807 to YOYO suggestions and displays it in the following manner: Figure 13G The desktop shown displays card 808 .

[0169] Furthermore, if Fig.13H As shown, the user can click the area surrounded by the dotted frame 809 of the card. In response to the click operation, the terminal device jumps to the Fig.13I The train number editing item includes the parsed train number "G123", the travel date editing item includes the parsed "Thursday, June 1, 2023", and the seat number editing item surrounded by the dotted box 810 is empty. Fig.13J As shown in FIG. 8 , the user can enter “9 car 18C” in the seat number edit item surrounded by the dotted box 811. After confirming that the information has been filled in correctly, Figure 13K As shown, the user can click the "√" control 812. Then, the terminal device will display the seat number in the following manner according to the seat number filled in by the user. Figure 13L The desktop update shown displays card 813.

[0170] It should be noted that the above embodiments are based on Fig.13F The example of popping up a preview card on the order details interface shown in the figure, guiding the user to add the card to YOYO suggestions, and then the user adding the missing key information by operating the desktop card is used for explanation, which does not limit the present application. As an example, the terminal device may also pop up a preview card on the order details interface as shown in the figure. Figure 6B , Fig. 8A , Fig.9A , Fig. 10A , Fig.11A or Fig. 12A As shown in the prompt box, the user can directly jump to the interface for adding a train itinerary or setting a station by operating the "Go" control in the prompt box, and then generate a card on the desktop or the negative one screen.

[0171] It should be understood that since the departure station and arrival station have been parsed in the seventh scenario example, the setting station interface will not be displayed after the user selects the seat number in the train itinerary interface. When the parsed key information lacks the departure station and arrival station, the terminal device can display the train itinerary interface first, and then display the setting station interface.

[0172] In addition, referring to the descriptions of the above-mentioned scenario examples, if the travel date is missing, the travel date is empty; if the seat number is missing, the seat number is empty; if the ticket gate is missing, the terminal device can query the ticket gate from the third-party platform based on the train number, travel date and departure station, and display the queried ticket gate in the card.

[0173] In the above solution, the user authorizes the smart screen recognition in advance, so that the smart screen recognition can extract the order number, order time, train number, travel date, departure station, departure time, arrival station, arrival time, seat type and ticket price from the order details page through OCR recognition. In this way, the terminal device determines the missing key information based on the key information screened out for card display, and provides corresponding supplementary solutions for the specific missing key information. Different missing information corresponds to different supplementary solutions.

[0174] The following first illustrates the system architecture of the terminal device, and then illustrates the method of supplementing card information by parsing the ticket purchase order in combination with the system architecture.

[0175] The software system of the terminal device can adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present invention takes the Android system of the layered architecture as an example to exemplify the software architecture of the terminal device.

[0176] Fig.14 A schematic diagram of the software architecture of a terminal device provided in an embodiment of the present application. Fig.14 As shown, the terminal device can adopt a layered architecture to divide the software into several layers, each layer has a clear role and division of labor. The layers communicate through software interfaces. In some embodiments, the software layers of the software structure are divided from top to bottom into: application layer, application framework (framework, FWK) layer, hardware abstraction layer (HAL) layer, kernel layer. The above software architecture runs on the hardware layer, which may include display screen, memory and communication module, etc.

[0177] The application layer, also called the application layer, can include a series of application packages, such as desktop applications, ticket purchase applications, emotion perception modules, business logic processing modules, and business presentation modules. When these application packages are running, they can access the various service modules provided by the application framework layer through the application programming interface (API) and execute corresponding intelligent services.

[0178] Among them, the desktop application can be used to realize the display of the desktop / negative screen, such as the display of application icons, the display of desktop background, the display of status bar, the display of notification bar, etc. In addition, the desktop application can also be used to display cards or cancel cards according to the instructions of the business presentation module.

[0179] The ticket purchasing application can be used to provide train ticket reservations, air ticket reservations, boat ticket reservations, hotel reservations and vehicle reservations, etc. After the user uses the ticket purchasing application to purchase a ticket, the ticket purchasing platform of the ticket purchasing application sends a ticket purchase feedback SMS to the terminal device. Alternatively, under the premise that the user has already purchased a train ticket, the ticket purchasing platform of the ticket purchasing application sends a text message to the user's terminal device some time before the user's departure to remind the user to travel in time, or the ticket purchasing platform sends a push message to the terminal device about ticket changes for the purchased train, such as train cancellations, train delays, and ticket gate changes. Alternatively, when the user purchases a train ticket through the ticket purchasing application, the terminal device displays the order details page after the electronic payment is successful. Smart Screen Recognition can extract order information from the order details page through OCR recognition.

[0180] The context awareness module runs in resident mode or in low-power mode, and has the ability to perceive external facts or environments. When the card reminder service is turned on, the context awareness module monitors the capabilities or matters (such as specific time, specific location, or specific event, etc.) registered with the business logic processing module. If the user triggers one of the capabilities or matters, the context awareness module sends a notification to the business logic processing module. In addition, the context awareness module can also detect related events and obtain the status of events from other applications in the application layer, or the application framework layer, or the system layer, or the kernel layer through the API, such as detecting Bluetooth connections and mobile network connections, detecting ticket purchase feedback SMS and push messages, and detecting custom timers.

[0181] Exemplarily, the role of the context awareness module includes sensing whether the user has entered the geo-fence and time fence. For example, the context awareness module can detect whether the terminal device has entered the area indicated by the geo-fence, such as the city where the departure station is located, based on the Wi-Fi network detected by the terminal device, and the mapping relationship between the Wi-Fi network identifier, the Wi-Fi network signal strength and the geo-fence. For another example, the context awareness module can detect whether the time interval between the system time and the travel date is less than or equal to 24 hours, and if it is less than 24 hours, it is determined to have entered the time fence.

[0182] The business logic processing module, which can also be called a computing engine or a brain, has business logic processing capabilities and is used to implement the logic of displaying and disappearing various cards. For example, the business logic processing module receives a notification sent by the context awareness module indicating that a certain event (such as a time fence being triggered) has been detected, and can send a command to the business presentation module according to the logic to let it display the card. In addition, the business logic processing module can also control the cancellation of the display of cards by receiving a temporary cancellation notification of a train sent by the context awareness module.

[0183] The business presentation module, also known as YOYO suggestion, is used to construct cards and display or disappear the determined cards on the screen of the terminal device. For example, the business presentation module can receive a command to display a reminder card transmitted by the business logic processing module, and display the reminder card to the user. When the user clicks on the card, the missing key information can be edited. If the business presentation module receives a card disappearance command sent by the business logic processing module, the business presentation module will immediately make the displayed card disappear, that is, cancel the card displayed on the screen.

[0184] The framework layer provides APIs and programming frameworks for applications in the application layer. The application framework layer includes some predefined functions. For example, the framework layer may include window managers and perception management services.

[0185] Among them, the window manager can be used to manage window programs. The window manager can obtain the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc. The perception management service can be used to provide the application layer with APIs related to the processing functions of time information and location information, such as obtaining the time information and location information of the terminal device, and provide the context perception module with APIs related to the processing functions of geographic fences, such as determining whether the terminal device enters the geographic fence and time fence, or whether it leaves the geographic fence and time fence.

[0186] The hardware abstraction layer is an interface layer between the operating system kernel and the hardware circuit. Its purpose is to abstract the hardware and hide the hardware interface details of a specific platform. For example, the hardware abstraction layer may include the hardware composer (HWC) and the display HAL. Among them, the HWC is a module for window synthesis and display, providing hardware support for the system drawing core.

[0187] The kernel layer is the layer between hardware and software. The kernel layer includes display drivers and sensor drivers, etc.

[0188] It should be noted that Fig.14 The layers in the architecture and the components included in each layer are shown, and do not constitute a specific limitation on the terminal device. In other embodiments, the terminal device may include more or fewer layers than shown, and each layer may include more or fewer components, which is not limited in this application.

[0189] It is understandable that in order to implement the method of supplementing card information by parsing the ticket purchase order in the embodiment of the present application, the terminal device includes hardware and / or software modules corresponding to the execution of each function. In combination with the algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments.

[0190] Fig.15 A schematic diagram of the architecture of a communication system provided in an embodiment of the present application.

[0191] like Fig.15 As shown, the communication system may include a ticket purchasing platform, a third-party platform and terminal equipment.

[0192] The ticket purchasing platform is used to provide ticket booking services. For example, after a user purchases a ticket on a ticket purchasing platform, the ticket purchasing platform can send a ticket purchase feedback SMS to the passenger / ticket purchaser's mobile phone according to the passenger / ticket purchaser's mobile phone number filled in by the user. For another example, after a user purchases a ticket on a ticket purchasing platform, the ticket purchasing platform can send a push message to the passenger / ticket purchaser's mobile phone according to the passenger / ticket purchaser's mobile phone number filled in by the user some time before the user's departure. For another example, after a user purchases a train ticket through a ticket purchasing application and successfully pays, the ticket purchasing platform can send order details to the electronic device.

[0193] The third-party platform is used to provide a query service for detailed information of train numbers. For example, the terminal device can obtain detailed information of the train number from the third-party platform based on the parsed train number. For another example, the third-party platform is a ticket purchasing platform that has signed a cooperation agreement with the manufacturer of the terminal device in advance. The third-party platform periodically pushes key information of each train number to the manufacturer's server, or the manufacturer's server periodically actively obtains key information of each train number from the third-party platform.

[0194] It should be noted that the ticket purchasing platform and the third-party platform can be cloud servers. Cloud servers are used to provide cloud services. Cloud services are an increase, use and delivery model for related services based on the Internet, and the required services are obtained through the network in an on-demand and easily scalable manner. This service can be related to information technology (IT), software and the Internet, or it can be other services.

[0195] The terminal device may include a communication module, a memory, a business logic processing module, an emotion perception module, a business presentation module and a display screen. Among them, the communication module may be a mobile communication module and a wireless communication module, which is used to obtain train information from the ticket purchasing platform and the third-party platform, and receive base station signals, Bluetooth signals, Wi-Fi signals, GPS signals and NFC signals, etc. The memory is used to store detailed information of the train number and the user's historical ticket purchase records. The situational awareness module is used to monitor the capabilities or matters (such as specific time, specific location, or specific event, etc.) registered according to the business logic processing module when the card reminder service is in the open state. The business logic processing module has business logic processing capabilities and is used to implement the logic of displaying and disappearing various cards. The business presentation module is used to build a card and display or disappear the determined card on the screen of the terminal device. For the business logic processing module, the emotion perception module, and the business presentation module, the specific description of the above embodiment can be referred to, and no further description is given here.

[0196] Fig.16 The flowchart of a card information supplement method provided in the embodiment of the present application is shown in FIG. Fig.14 and Fig.15 As shown in the module. Fig.16 As shown, the method may include the following S1-S24.

[0197] S1, the business logic processing module sends a query message to the business presentation module, the query message is used to query whether the card reminder service is in an open state. Correspondingly, the business presentation module returns the query result to the business logic processing module, such as whether the card reminder service is in an open state or a closed state.

[0198] S2, when the card reminder service is turned on, the business logic processing module sends a monitoring request to the emotion perception module. The monitoring request is used to request monitoring of the ticket purchase order.

[0199] S3, the context awareness module responds to the request message and starts the monitoring function.

[0200] S4, the context awareness module monitors the ticket purchase order and parses the key information contained in the ticket purchase order.

[0201] The ticket purchase order may be a ticket purchase feedback SMS, a push message and / or an order details page. For example, the context awareness module may parse the ticket purchase order based on artificial intelligence (AI) or other algorithms to obtain key ticket information.

[0202] S5, the context awareness module sends the key information obtained through analysis to the business logic processing module.

[0203] S6, the business logic processing module determines whether key information is missing.

[0204] The terminal device pre-stores a set of key information types for generating cards, such as train number, travel date, departure station, arrival station, arrival time, seat number, and ticket gate. The business logic processing module can determine the information that is not included in the set of types as missing key information based on the extracted key information.

[0205] If the key information is missing, then execute the following S7; otherwise, execute the following S19.

[0206] S7, the business logic processing module determines a card information supplement scheme corresponding to the missing key information.

[0207] Referring to the description of the above scenario example, the missing key information may include at least one of the travel date, departure station, arrival station, arrival time, seat number and ticket gate. Different missing key information will lead to different card information supplement schemes.

[0208] S8: If the arrival site and / or the departure site are missing, an instruction to construct a prompt box is sent to the service presentation module.

[0209] S9, the business presentation module constructs a prompt box according to the missing key information.

[0210] When the missing key information is different, the information contained in the prompt box is also different. For example, Figure 6B , Fig. 8A and Fig.9A Shows the prompt box when the arrival site is missing. Fig. 10A Shows the prompt box when the departure station and arrival station are missing. Fig.11A Shows the prompt box when the travel date, departure station, arrival station and seat number are missing. Fig. 12A and Fig.13F The prompt box when the seat number is missing is shown. It should be understood that the service presentation module can adjust the prompt information in the constructed prompt box according to the specific missing key information.

[0211] S10, the business presentation module sends the constructed prompt box to the desktop application.

[0212] S11, the desktop application displays a prompt box.

[0213] With reference to the description of the above embodiment, the prompt box may include prompt information, a "cancel" control, and a "go" control. The user may refuse to add the missing information to YOYO suggestions by operating the "cancel" control. The user may also agree to add the missing information to YOYO suggestions by operating the "go" control.

[0214] S12, if the business logic processing module receives the operation of agreeing to go to the site setting interface, then execute the following S13; otherwise, execute the following S19.

[0215] S13, the business logic processing module sends an instruction to build a site setting interface to the business presentation module.

[0216] S14, the business presentation module constructs and sets the site interface according to the key information obtained by the analysis.

[0217] The interface for setting the station at least includes the train number, the stopover station, the arrival time of each station, the departure time of each station, and the stay time of each station. In addition, the business presentation module can also adjust the content of the interface for setting the station based on the key information that has been parsed. For example, Fig. 10B As shown in , when the departure station and the arrival station are not resolved, the station setting interface may not include the departure station prompt box and the arrival station prompt box. Figure 6C As shown, when the departure site and travel date are parsed but the arrival site is not parsed, the site setting interface may include a prompt box for the travel date and departure site, but does not include a prompt box for the arrival site.

[0218] S15, the business presentation module sends the constructed site setting interface to the desktop application.

[0219] S16, the desktop application displays the site settings interface.

[0220] S17, the business logic processing module receives the user's selection operation for the missing site.

[0221] The missing stations mentioned above include departure stations and / or arrival stations.

[0222] Referring to the description of the above embodiment, the user can select the missing site, such as Fig.6D As shown in the figure, select the arrival station "Shanghai Hongqiao". Users can also adjust the estimated station, such as Fig.8D Change the arrival or departure station as shown.

[0223] S18, the business logic processing module stores the changed site.

[0224] The prompt box may include prompt information, a "Cancel" control, and a "Go" control. The user may refuse to add the missing information to YOYO suggestions by operating the "Cancel" control. The user may also agree to add the missing information to YOYO suggestions by operating the "Go" control.

[0225] S19, the business logic processing module sends an instruction to register the fence to the context awareness module.

[0226] The fence is used to trigger the construction of a card. For example, the fence is a time fence or a geographic fence.

[0227] S20, the context awareness module sends a notification that the fence is triggered to the business logic processing module.

[0228] It should be noted that the above S19 and S20 are optional steps, and the business presentation module can also directly execute the following S21.

[0229] S21, the business logic processing module sends an instruction to the business presentation module to instruct the construction of a card, and the instruction carries all the key information that has been obtained.

[0230] S22, the business presentation module constructs a card based on the key information obtained.

[0231] S23, the business presentation module sends the constructed card to the desktop application.

[0232] S24, desktop application display card.

[0233] Fig.17 A flowchart of another card information supplement method provided in an embodiment of the present application. The execution subject of the method may be as follows Fig.14 and Fig.15 As shown in the module. Fig.17 As shown, the method may include the following A1-A28.

[0234] A1, the business logic processing module sends a query message to the business presentation module, the query message is used to query whether the card reminder service is in an open state. Correspondingly, the business presentation module returns the query result to the business logic processing module, such as whether the card reminder service is in an open state or a closed state.

[0235] A2: When the card reminder service is enabled, the business logic processing module sends a monitoring request to the emotion perception module. The monitoring request is used to request monitoring of the ticket purchase order.

[0236] A3: The context awareness module responds to the request message and starts the monitoring function.

[0237] A4, the context awareness module monitors the ticket purchase order and parses the key information contained in the ticket purchase order.

[0238] A5, the context awareness module sends the key information obtained through analysis to the business logic processing module.

[0239] A6, the business logic processing module determines whether key information is missing.

[0240] A7, if the key information is missing, the business logic processing module determines a card information supplement scheme corresponding to the missing key information.

[0241] A8: If the site is missing, an instruction to construct a prompt box is sent to the service presentation module.

[0242] A9, the business presentation module constructs a prompt box based on the missing key information.

[0243] A10: The business presentation module sends the constructed prompt box to the desktop application.

[0244] A11, desktop application displays a prompt box.

[0245] A12: The business logic processing module receives an operation indicating that the user refuses to go to the site setting interface.

[0246] A13, the business logic processing module sends a fence registration instruction to the context awareness module.

[0247] The fence is used to trigger the construction of a card. For example, the fence is a time fence or a geographic fence.

[0248] A14, the context awareness module sends a notification that the fence is triggered to the business logic processing module.

[0249] It should be noted that the above A13 and A14 are optional steps, and the business presentation module can also directly execute A15.

[0250] A15, the business logic processing module sends an instruction to the business presentation module to instruct the construction of a card.

[0251] A16, the business presentation module constructs cards based on the key information obtained.

[0252] A17, the business presentation module sends the constructed card to the desktop application.

[0253] A18, desktop application display card.

[0254] Although the user initially refuses to go to the settings site interface, the user can still go to the settings site interface after the card is displayed.

[0255] A19, the business logic processing module receives the user's trigger operation on the card.

[0256] For example, the trigger action can be Fig. 9B A click operation on the "View Details" control 406 is shown.

[0257] A20, the business logic processing module sends an instruction to the business presentation module to build a setting site interface.

[0258] A21, the business presentation module constructs and sets the site interface according to the key information that has been parsed.

[0259] A22, the business presentation module sends the constructed setting site interface to the desktop application.

[0260] A23, the desktop application displays the settings site interface.

[0261] A24, the business logic processing module receives the user's selection operation for the missing site.

[0262] The missing stations mentioned above include departure stations and / or arrival stations.

[0263] A25, the business logic processing module sends an instruction to the context awareness module to rebuild the card.

[0264] A26, the business presentation module reconstructs the card based on the key information obtained.

[0265] A27, the business presentation module sends a new card to the desktop application.

[0266] A28, desktop application displays new cards.

[0267] Fig.18 A flowchart of another card information supplement method provided in an embodiment of the present application. The execution subject of the method may be as follows Fig.14 and Fig.15 As shown in the module. Fig.18As shown, the method may include the following B1-B18.

[0268] B1, the business logic processing module sends a query message to the business presentation module, the query message is used to query whether the card reminder service is in an open state. Correspondingly, the business presentation module returns the query result to the business logic processing module, such as whether the card reminder service is in an open state or a closed state.

[0269] B2, when the card reminder service is turned on, the business logic processing module sends a monitoring request to the emotion perception module. The monitoring request is used to request monitoring of the ticket purchase order.

[0270] B3, the context awareness module responds to the request message and starts the monitoring function.

[0271] B4, the context awareness module monitors the ticket purchase order and parses the key information contained in the ticket purchase order.

[0272] B5, the context awareness module sends the key information obtained through analysis to the business logic processing module.

[0273] B6, the business logic processing module determines whether key information is missing.

[0274] B7, if the key information is missing, the business logic processing module determines a card information supplement scheme corresponding to the missing key information.

[0275] B8, if the seat number is missing, the business logic processing module sends an instruction to register the fence to the context awareness module.

[0276] B9, the situational awareness module sends a notification that the fence is triggered to the business logic processing module.

[0277] It should be noted that the above steps B8 and B9 are optional, and the service presentation module can also directly execute B10.

[0278] B10, the business logic processing module sends an instruction to the business presentation module to instruct the construction of a card.

[0279] B11, the business presentation module constructs cards based on the key information obtained.

[0280] B12, the business presentation module sends the constructed card to the desktop application.

[0281] B13, desktop application display card.

[0282] B14, the business logic processing module receives the user's operation of entering the seat number in the card.

[0283] B15, the business logic processing module sends an instruction to the context awareness module to rebuild the card.

[0284] B16, the business presentation module reconstructs the card based on the key information obtained.

[0285] B17, the business presentation module sends a new card to the desktop application.

[0286] B18, the desktop application displays a new card.

[0287] Fig.19 A flowchart of another card information supplement method provided in an embodiment of the present application. The execution subject of the method may be as follows Fig.14 and Fig.15 As shown in the module. Fig.19 As shown, the method may include the following C1-C30.

[0288] C1, the business logic processing module sends a query message to the business presentation module, the query message is used to query whether the card reminder service is in an open state. Correspondingly, the business presentation module returns the query result to the business logic processing module.

[0289] C2, when the card reminder service is turned on, the business logic processing module sends a monitoring request to the emotion perception module. The monitoring request is used to request monitoring of the ticket purchase order.

[0290] C3, the context awareness module responds to the request message and starts the monitoring function.

[0291] C4, the context awareness module monitors the ticket purchase order and parses the key information contained in the ticket purchase order.

[0292] The ticket purchase order may be a ticket purchase feedback SMS, a push message and / or an order details page. For example, the context awareness module may parse the ticket purchase order based on artificial intelligence (AI) or other algorithms to obtain key ticket information.

[0293] C5, the context awareness module sends the key information obtained through analysis to the business logic processing module.

[0294] C6, the business logic processing module determines whether key information is missing.

[0295] If the key information is missing, execute C7 below; otherwise, execute C25 below.

[0296] C7, the business logic processing module determines the card information supplement plan corresponding to the missing key information.

[0297] C8: If the travel date and / or seat number is missing, and the departure station and / or arrival station is missing, then an instruction to construct a prompt box is sent to the service presentation module.

[0298] C9, the business presentation module constructs a prompt box based on the missing key information.

[0299] C10, the business presentation module sends the constructed prompt box to the desktop application.

[0300] C11, desktop application displays prompt box.

[0301] C12, if the business logic processing module receives the operation of agreeing to go to the add itinerary interface, then execute the following C13; otherwise, execute the following C25.

[0302] C13, the business logic processing module sends an instruction to the business presentation module to build an add itinerary interface.

[0303] C14, the business presentation module builds an itinerary adding interface based on the key information that has been parsed.

[0304] C15, the business presentation module sends the constructed itinerary adding interface to the desktop application.

[0305] C16, the desktop application displays the add trip interface.

[0306] C17, the business logic processing module receives the user's manual operation of adding the travel date and / or seat number.

[0307] C18, the business logic processing module saves the added travel date and / or seat number.

[0308] C19, the business logic processing module sends an instruction to the business presentation module to build a site setting interface.

[0309] C20, the business presentation module constructs and sets the site interface according to the key information that has been parsed.

[0310] C21, the business presentation module sends the constructed setting site interface to the desktop application.

[0311] C22, the desktop application displays the Settings Site interface.

[0312] C23, the business logic processing module receives the user's selection operation for the missing site.

[0313] The missing stations mentioned above include departure stations and / or arrival stations.

[0314] C24, the business logic processing module stores the changed site.

[0315] C25, the business logic processing module sends a fence registration instruction to the context awareness module.

[0316] The fence is used to trigger the construction of a card. For example, the fence is a time fence or a geographic fence.

[0317] C26, the situational awareness module sends a notification that the fence is triggered to the business logic processing module.

[0318] It should be noted that the above C24 and C25 are optional steps, and the service presentation module can also directly execute C27.

[0319] C27, the business logic processing module sends an instruction to the business presentation module to instruct the construction of a card.

[0320] C28, the business presentation module builds cards based on the key information obtained.

[0321] C29, the business presentation module sends the constructed card to the desktop application.

[0322] C30, desktop application display cards.

[0323] Fig. 20 This is a flow chart of another card information supplement method provided in an embodiment of the present application. Fig.19 As shown, the method may include the following steps 1 to 10.

[0324] Step 1: The terminal device obtains the ticket purchase order.

[0325] Step 2: The terminal device parses the ticket purchase order.

[0326] Step 3: The terminal device determines whether the train number is missing based on the parsed key information.

[0327] If the train number is missing, then end the judgment process; otherwise, execute the following step 4.

[0328] Step 4: The terminal device determines whether the travel date and seat number are missing based on the parsed key information.

[0329] If the travel date and / or seat number is missing, then proceed to step 5 below; otherwise, proceed to step 7 below.

[0330] Step 5: The terminal device displays the add itinerary interface.

[0331] Step 6: The terminal device receives the user's manual operation of adding the travel date and / or seat number.

[0332] Step 7: The terminal device determines whether the departure station and the arrival station are missing based on the parsed key information.

[0333] If the departure station and / or the arrival station are missing, then execute step 8 below; otherwise, execute step 10 below.

[0334] Step 8: The terminal device displays the site setting interface.

[0335] Step 9: The terminal device receives the user's operation of selecting a site.

[0336] Step 10: When the card ejection conditions are met, the terminal device generates and displays the card.

[0337] Fig.21 A schematic diagram of the hardware structure of a terminal device provided in an embodiment of the present application.

[0338] like Fig.21 As shown, the terminal device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display 194, and a SIM card interface 195, etc. Among them, the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, and a bone conduction sensor 180M, etc.

[0339] The processor 110 may include one or more processing units. For example, the processor 110 may include a central processing unit (CPU), a graphics processing unit (GPU), an application processor (AP), an image signal processor (ISP), a neural-network processing unit (NPU), a video codec, a modem, and / or a baseband processor.

[0340] Among them, the CPU is the final execution unit for information processing and program running, and its main tasks include processing instructions, executing operations, controlling time and processing data. The CPU may include a controller, an arithmetic unit, a cache memory, and a bus for connecting these components. The controller is the nerve center and command center of the terminal device 100. The controller can generate an operation control signal based on the instruction opcode and timing signal to complete the control of fetching and executing instructions. The arithmetic unit refers to a component that performs various arithmetic and logical operations. The cache memory can store instructions or data that the processor 110 has just used or circulated.

[0341] It is understandable that the hardware structure illustrated in the embodiment of the present application does not constitute a specific limitation on the terminal device 100. In other embodiments, the terminal device 100 may include more or fewer components than shown, or combine some components, or split some components, or arrange the components differently. Fig.21 The components shown may be implemented in hardware, software or a combination of software and hardware.

[0342] An embodiment of the present application also provides a terminal device, including a processor, the processor is coupled to a memory, and the processor is used to execute a computer program or instruction stored in the memory, so that the terminal device implements the methods in the above embodiments.

[0343] The embodiment of the present application also provides a computer-readable storage medium, in which computer instructions are stored; when the computer-readable storage medium is run on a terminal device, the terminal device executes the method shown above. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website, computer, server or data center to another website, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that can be integrated with one or more media. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk or a tape), an optical medium or a semiconductor medium (e.g., a solid state drive (SSD)), etc.

[0344] An embodiment of the present application further provides a computer program product, which includes a computer program code. When the computer program code runs on a computer, the computer executes the methods in the above embodiments.

[0345] The embodiment of the present application also provides a chip, which is coupled to a memory, and the chip is used to read and execute a computer program or instruction stored in the memory to perform the methods in the above embodiments. The chip can be a general-purpose processor or a dedicated processor. It should be noted that the chip can be implemented using the following circuits or devices: one or more field programmable gate arrays (field programmable gate array, FPGA), programmable logic devices (programmable logic device, PLD), controllers, state machines, gate logic, discrete hardware components, any other suitable circuits, or any combination of circuits capable of performing the various functions described throughout this application.

[0346] The terminal device, computer-readable storage medium, computer program product and chip provided in the above-mentioned embodiments of the present application are all used to execute the method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects corresponding to the method provided above, and will not be repeated here.

[0347] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0348] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0349] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0350] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0351] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0352] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application shall be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims

1. A card information supplement method, characterized in that: The method comprises: Display the user's travel ticket purchase order; In the case where the ticket purchase order includes at least the first train number and the ticket purchase order lacks an arrival station, displaying first information, wherein the first information is used to prompt the user to add the missing arrival station; receiving a first operation of a user on the first information; In response to the first operation, displaying a site setting interface, the site setting interface including various sites that the first train stops at along the way on a first date, the first date being included in the ticket purchase order or added by the user; receiving a second operation of a user on a first site among the sites; In response to the second operation, determining the first site as the missing arrival site; The first card is displayed; wherein the train number in the first card is the first train number, the travel date in the first card is the first date, and the arrival station in the first card is the first station.

2. The method according to claim 1, characterized in that The ticket purchase order still lacks a departure station, and the departure station in the first card is the second station; After displaying the site setting interface and before receiving a second operation of the user on the first site among the sites, the method further includes: receiving a third operation of the user on the second site among the sites, the departure time of the second site being before the arrival time of the first site; In response to the third operation, the second site is determined to be a missing departure site.

3. The method according to claim 1, characterized in that The ticket purchase order also lacks a travel date; After receiving the first operation of the user on the first information and before displaying the site setting interface, the method further includes: Displaying an add itinerary interface, wherein the add itinerary interface includes a travel date editing item; receiving a fourth operation of the user inputting the first date in the travel date editing item; In response to the fourth operation, the first date is determined to be a missing travel date.

4. The method according to any one of claims 1 to 3, characterized in that The ticket purchase order is still missing a seat number, and the seat number in the first card is the first seat number; After receiving the first operation of the user on the first information and before displaying the site setting interface, the method further includes: Displaying an add itinerary interface, wherein the add itinerary interface includes a seat number editing item; receiving a fifth operation of the user inputting the first seat number in the seat number editing item; In response to the fifth operation, the first seat number is determined to be a missing seat number.

5. The method according to any one of claims 1 to 3, characterized in that The ticket purchase order is still missing a seat number, and the seat number in the first card is empty; After displaying the first card, the method further includes: receiving a sixth operation of the user inputting the first seat number in the area corresponding to the seat number of the first card; In response to the sixth operation, the first card is updated to a second card, and the seat number in the second card is the first seat number.

6. The method according to any one of claims 1 to 5, characterized in that Before displaying the site setting interface, the method further includes: Sending a first query request to a server, wherein the first query request includes the first train number and the first date; A first query result is received from the server, wherein the first query result includes each station where the first train stops along the way on the first date, the arrival time of each station, the departure time of each station, and the ticket gate of each station.

7. The method according to claim 6, characterized in that The ticket purchase order also lacks a ticket gate, the departure station in the first card is the second station, and the ticket gate in the first card is the first ticket gate; After receiving the first query result from the server and before displaying the first card, the method further includes: According to the first query result, determining that the first ticket gate corresponding to the second station is a missing ticket gate; The second site is included in the ticket purchase order or is selected by the user in the site setting interface.

8. The method according to any one of claims 1 to 7, characterized in that The first information includes a first control and a second control, and the first operation is specifically an operation on the first control; After displaying the first information, the method further includes: receiving a seventh operation of the user on the second control; In response to the seventh operation, the first information is canceled and the first card is displayed, and the arrival site of the first card is empty.

9. The method according to any one of claims 1 to 8, characterized in that The displaying of the first card includes: When the card ejection condition is met, generating and displaying the first card according to the ticket information included in the ticket purchase order and the ticket information supplemented by the user; Among them, the ejection condition includes at least one of the following: detecting that the time interval between the system time of the terminal device and the departure time is less than or equal to the preset duration, and detecting that the terminal device enters a preset geographic fence.

10. The method according to any one of claims 1 to 9, characterized in that The ticket purchase order includes any one of the following: a ticket purchase feedback SMS from the ticket purchase platform, a push message from the ticket purchase platform, and a ticket purchase details page displayed on a terminal device.

11. A card information supplement method, characterized in that: The method comprises: Display the ticket purchase details page for the user's travel; When the ticket purchase details page includes at least the first train number and the ticket purchase details page lacks the arrival station, displaying a first preview card on the ticket purchase details page, wherein the card information of the first preview card is included in the ticket purchase details page; receiving a first operation of the user on the first preview card; In response to the first operation, a first card is displayed on the desktop or the negative one screen, the train number in the first card is the first train number, and the arrival station in the first card is empty; receiving a second operation of the user on the first card; In response to the second operation, displaying a site setting interface, the site setting interface including various sites that the first train stops at along the way on a first date, the first date being included in the ticket purchase details page or added by the user; receiving a third operation of the user on a first site among the sites; In response to the third operation, the first card in the desktop or the negative one screen is updated to a second card, and the arrival site in the first card is the first site.

12. The method according to claim 11, characterized in that The ticket purchase details page also lacks a departure station, the departure station in the first card is empty, and the departure station in the second card is the second station; After displaying the site setting interface and before receiving a third operation of the user on the first site among the sites, the method further includes: receiving a fourth operation of a user on a second site among the sites, wherein a departure time of the second site is before an arrival time of the first site; In response to the fourth operation, the second site is determined to be a missing departure site.

13. The method according to claim 11, characterized in that The ticket purchase details page also lacks a travel date, the travel date in the first card is empty, and the travel date in the second card is the first date; After receiving the second operation of the user on the first card and before displaying the site setting interface, the method further includes: Displaying an add itinerary interface, wherein the add itinerary interface includes a travel date editing item; receiving a fifth operation of the user inputting the first date in the travel date editing item; In response to the fifth operation, the first date is determined to be a missing travel date.

14. The method according to any one of claims 11 to 13, characterized in that The ticket purchase details page also lacks a seat number, the seat number in the first card is empty, and the seat number in the second card is the first seat number; After receiving the second operation of the user on the first card and before displaying the site setting interface, the method further includes: Displaying an add itinerary interface, wherein the add itinerary interface includes a seat number editing item; receiving a sixth operation of the user inputting the first seat number in the seat number editing item; In response to the sixth operation, the first seat number is determined to be a missing seat number.

15. The method according to any one of claims 11 to 14, characterized in that Before displaying the first preview card on the ticket purchase details page, the method further includes: Using optical character recognition to identify information contained in the ticket purchase details page, and displaying the identified information on the ticket purchase details page; Extracting key information from the identified information, wherein the key information at least includes the first train number; The first preview card is generated according to the key information.

16. A terminal device, characterized in that: It comprises a processor and a memory coupled to the processor; wherein the memory stores instructions, and the processor calls the instructions so that the terminal device executes the card information supplement method as claimed in any one of claims 1 to 15.

17. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed on a terminal device, the terminal device executes the card information supplement method according to any one of claims 1 to 15.

Citation Information

Cited By

  • Order expansion information display method and device, electronic equipment and storage medium

    CN120973269A