Automatic ticket refund method, device, equipment and storage medium for out-of-service train ticket system

By automatically handling the ticket refund procedures for trains suspended, the problem of inconvenient passenger ticket refunds when trains are suspended is solved, and the effect of reducing economic losses and improving customer service efficiency is achieved.

CN118780768BActive Publication Date: 2024-12-13BEIJING JINGWEI INFORMATION TECH +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411274135.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-12
Publication Date
2024-12-13
Estimated Expiration
2044-09-12

AI Technical Summary

Technical Problem

When the train is out of service, some passengers failed to complete the ticket refund procedures in a timely manner due to inconvenience in refund due to the announcement and the maintenance time difference, resulting in economic losses.

Method used

Design an automatic refund method for the ticket system of the suspended train. By receiving the suspension information, summarizing the relevant tickets, and automatically initiate a refund request according to the preset time, including full refund, refund of rebooking fees and refund of ticket refund fees , perform the refund operation and synchronize the results to the customer service platform to prevent 'one ticket and two refunds'.

Benefits of technology

The automatic handling of ticket refund procedures for suspended trains has been achieved, reducing economic losses for passengers, improving the work efficiency of the customer service department, reducing the number of passenger complaints, and saving time in the ticket purchase process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118780768B_ABST
    Figure CN118780768B_ABST
Patent Text Reader

Abstract

In an embodiment of the present application, a method, device, equipment and storage medium for automatic ticket refund in a suspended train ticket system are provided, the method comprising: receiving suspension information of a target train, and aggregating all target tickets corresponding to the target train; automatically initiating a refund request for all target tickets according to a preset time in the suspension information, including: automatically initiating a full refund for target tickets that have been purchased before the preset time and have not been changed or refunded; automatically initiating a refund of the change fee for target tickets that have been purchased before the preset time and have been charged a change fee for change; automatically initiating a refund of the refund fee for target tickets that have been purchased before the preset time and have been charged a refund fee for refund; executing a refund operation according to the refund request corresponding to each target ticket, being able to automatically obtain pending ticket data, automatically handle the refund and difference refund procedures for pending tickets, and automatically synchronize the handling results with the customer service platform.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of ticket systems, and in particular to an automatic ticket refund method, device, equipment and storage medium for a ticket system of a suspended train. Background Art

[0002] At present, passengers can apply for ticket refunds through station windows, ticket systems (including mobile apps, mini-programs, etc.) and automatic ticket vending machines with refund functions. The refund fee collection rules are as follows:

[0003] No refund fee will be charged for refunds made 8 days (inclusive) or more before departure; 5% of the ticket price will be charged for refunds made more than 48 hours before departure at the boarding station on the ticket face, 10% of the ticket price will be charged for refunds made more than 24 hours but less than 48 hours before departure, and 20% of the ticket price will be charged for refunds made less than 24 hours before departure. For tickets with less than 8 days before departure at the boarding station on the ticket face, if the ticket is changed to a train with more than 8 days before departure and then refunded more than 8 days before departure, a 5% refund fee will be charged. When making ticket changes or "changing the destination", if the fare of the new ticket is lower than the original ticket, the difference will be refunded, and a refund fee will be charged for the difference and the current refund fee standard will be applied. When the fare difference caused by ticket changes after departure needs to be refunded, a refund fee will be charged for the fare difference based on the standard for less than 24 hours before departure.

[0004] The decimals in the above calculations are in units of 5 cents. If the decimal is less than 2.5 cents, it will be rounded down. If the decimal is 2.5 cents or more and less than 7.5 cents, it will be rounded up to 5 cents. If the decimal is 7.5 cents or more, it will be rounded up to 1 yuan. The minimum refund fee is 2 yuan.

[0005] When a train suspension occurs, the railway bureau will issue a train suspension announcement and add relevant definitions of suspended trains to the ticket system, so that passengers can refund their tickets without paying a refund fee. However, in actual use, especially when a large-scale train suspension is caused by abnormal weather, the definitions of suspended trains are often not maintained in the ticket system in real time. There is a certain time difference between the announcement and the definition maintenance. During this period, when passengers apply for refunds or changes, the relevant fees are charged according to the normal business process. Although some passengers can refund the relevant fees through customer service complaints and other channels, it brings great inconvenience to passengers. In addition, due to the possibility of trains resuming operation after suspension, some passengers do not handle the refund procedures for suspended train tickets in real time, and sometimes forget to handle the refund due to the long interval, causing economic losses to passengers. Summary of the invention

[0006] The embodiments of the present application provide a method, device, equipment and storage medium for automatic ticket refund in a suspended train ticket system.

[0007] A first aspect of an embodiment of the present application provides a method for automatically refunding a ticket in a suspended train ticket system, comprising:

[0008] Receive the suspension information of the target train, and collect all the target tickets corresponding to the target train, wherein all the purchased tickets of the target train are taken as all the target tickets corresponding to the target train;

[0009] Automatically initiate a refund request for all target tickets according to the preset time in the suspension information, including:

[0010] For target tickets that have been purchased before the preset time and have not been changed or refunded, a full refund will be automatically initiated; for target tickets that have been purchased before the preset time and have been charged a change fee for change, a refund of the change fee will be automatically initiated; for target tickets that have been purchased before the preset time and have been charged a refund fee for refund, a refund of the refund fee will be automatically initiated;

[0011] The refund operation is performed according to the refund request corresponding to each target ticket.

[0012] In an optional embodiment of the present application, performing a refund operation according to a refund request corresponding to each target ticket includes:

[0013] Record the suspension information of the target train and all target tickets corresponding to the target train, and use the suspension information and all target tickets as the basis for ticket refund;

[0014] The refund operation is performed in combination with the refund basis and the refund request corresponding to each target ticket.

[0015] In an optional embodiment of the present application, during the execution of the ticket refund operation, the method further includes:

[0016] The processing results of the ticket refund operation corresponding to each target ticket are sent to the target objects corresponding to each target ticket.

[0017] In an optional embodiment of the present application, during the execution of the ticket refund operation, the method further includes:

[0018] The processing results of the ticket refund operation corresponding to each target ticket will be synchronized to the customer service platform.

[0019] In an optional embodiment of the present application, after performing the ticket refund operation, the method further includes:

[0020] Detect whether there is invoice information corresponding to the target ticket in the invoice system;

[0021] If there is invoice information corresponding to the target ticket in the invoice system, the invoice information is deleted, and the deletion of the invoice information is synchronized to the ticket printing client;

[0022] When the ticket printing client receives a ticket printing request, printing is prohibited.

[0023] In an optional embodiment of the present application, after performing the ticket refund operation, the method further includes:

[0024] Sending a ticket purchase reminder message for the same train number in the next time period to each passenger corresponding to all the target tickets;

[0025] Upon receiving the passenger's response to the ticket purchase reminder, the ticket purchase operation is completed and the payment information is issued.

[0026] A second aspect of the embodiment of the present application provides an automatic ticket refund device for a suspended train ticket system, comprising:

[0027] A summarizing module is used to receive the suspension information of the target train and summarize all the target tickets corresponding to the target train, wherein all the purchased target train tickets are used as all the target tickets corresponding to the target train;

[0028] The request module is used to automatically initiate a refund request for all target tickets according to the preset time in the suspension information, including: automatically initiating a full refund for target tickets that have been purchased before the preset time and have not been changed or refunded; automatically initiating a refund of the change fee for target tickets that have been purchased before the preset time and have been charged a change fee; and automatically initiating a refund of the refund fee for target tickets that have been purchased before the preset time and have been charged a refund fee;

[0029] The execution module is used to execute the ticket refund operation according to the ticket refund request corresponding to each target ticket.

[0030] A third aspect of the embodiments of the present application provides a ticket management method, which is applied to a ticket system and includes, in addition to the automatic ticket refund method for the out-of-service train ticket system, a ticket recommendation method, wherein the ticket recommendation method includes:

[0031] For each travel day, obtain the sales and inspection volume of train tickets and single-day tickets in real time, where train tickets are tickets for travel by train number, and single-day tickets are tickets for travel by travel date;

[0032] Determine the predicted passenger flow on a specified ride date based on historical passenger flow;

[0033] Receive a ticket purchase request from a user, and determine whether to recommend train tickets and day tickets for the travel date based on the target travel date, departure station and arrival station in the ticket purchase request, as well as the predicted passenger flow on the target travel date, sales volume of train tickets and day tickets, and ticket inspection volume.

[0034] A fourth aspect of the embodiments of the present application provides a ticket management method, which is applied to a ticket system and includes, in addition to the automatic ticket refund method for the out-of-service train ticket system, a ticket recommendation method, wherein the ticket recommendation method includes:

[0035] For each travel day, obtain the sales and inspection volume of train tickets and single-day tickets in real time, where train tickets are tickets for travel by train number, and single-day tickets are tickets for travel by travel date;

[0036] Determine the predicted passenger flow on a specified ride date based on historical passenger flow;

[0037] Receive a ticket purchase request from a user, and determine whether to recommend train tickets and day tickets for the travel date based on the target travel date, departure station and arrival station in the ticket purchase request, as well as the predicted passenger flow on the target travel date, sales volume of train tickets and day tickets, and ticket inspection volume.

[0038] The fifth aspect of the embodiment of the present application provides a computer device, including: a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, it implements the steps of providing an automatic ticket refund method for a suspended train ticket system or a ticket management method as described in any of the above items.

[0039] The sixth aspect of the embodiments of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it implements the steps of providing an automatic ticket refund method for a suspended train ticket system or a ticket management method as provided in any of the above items. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0041] Figure 1 A flowchart of an automatic ticket refund method for a suspended train ticket system provided in one embodiment of the present application;

[0042] Figure 2 A schematic diagram of the structure of an automatic ticket refund device for a suspended train ticket system provided in one embodiment of the present application;

[0043] Figure 3 A schematic diagram of the computer device structure provided for one embodiment of the present application. DETAILED DESCRIPTION

[0044] In the process of implementing the present application, the inventor discovered that the current ticket system requires passengers to initiate a refund request on their own initiative.

[0045] The solutions in the embodiments of the present application can be implemented using various computer languages, for example, the object-oriented programming language Java and the interpreted scripting language JavaScript.

[0046] In order to make the technical solutions and advantages in the embodiments of the present application more clearly understood, the exemplary embodiments of the present application are further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than an exhaustive list of all the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other without conflict.

[0047] See also Figure 1 The automatic ticket refund method for a suspended train ticket system provided in the embodiment of the present application includes the following steps S1 to S5:

[0048] Step S1, receiving the suspension information of the target train and summarizing all target tickets corresponding to the target train;

[0049] Step S2, automatically initiating a refund request for all target tickets according to the preset time in the suspension information;

[0050] Step S3, performing a refund operation according to the refund request corresponding to each target ticket.

[0051] In an optional embodiment of the present application, the aggregating all target tickets corresponding to the target train includes:

[0052] All purchased target train tickets are regarded as all target tickets corresponding to the target train.

[0053] In an optional embodiment of the present application, automatically initiating a refund request for all target tickets according to the preset time in the suspension information includes:

[0054] Automatically initiate a full refund for target tickets that have been purchased before the preset time and have not been changed or refunded;

[0055] For target tickets purchased before the preset time and charged a change fee, automatically initiate a refund of the change fee;

[0056] For target tickets that have been purchased before the preset time and for which a refund fee is charged, a refund of the refund fee is automatically initiated.

[0057] In an optional embodiment of the present application, performing a refund operation according to a refund request corresponding to each target ticket includes:

[0058] Record the suspension information of the target train and all target tickets corresponding to the target train, and use the suspension information and all target tickets as the basis for ticket refund;

[0059] The refund operation is performed in combination with the refund basis and the refund request corresponding to each target ticket.

[0060] In an optional embodiment of the present application, during the execution of the ticket refund operation, the method further includes:

[0061] The processing results of the ticket refund operation corresponding to each target ticket are sent to the target objects corresponding to each target ticket.

[0062] In an optional embodiment of the present application, during the execution of the ticket refund operation, the method further includes:

[0063] The processing results of the ticket refund operation corresponding to each target ticket will be synchronized to the customer service platform.

[0064] In an optional embodiment of the present application, ticket data that requires the system to automatically process ticket refunds and difference refunds is obtained. After the railway bureau maintains the relevant definitions of suspended trains, the system periodically scans all issued ticket information of each suspended train according to the specific information, and summarizes the ticket data that requires ticket refunds and difference refunds.

[0065] In an optional embodiment of the present application, the system automatically handles ticket refunds and difference refunds. The passenger ticket system periodically calls the automatic ticket refund and difference refund interface based on the summarized ticket data to complete the ticket refund and difference refund processing, records the system's automatic processing basis, and notifies the passenger of the processing result through the existing notification channel. At the same time, the refund stub and other data generated by the refund and difference refund are combined with the processing basis to form an automatic ticket refund and difference refund processing basis table, which is submitted to the revenue review department for review.

[0066] In an optional embodiment of the present application, the processing results are synchronized to the customer service platform in real time, so that customer service personnel can query and reply to complaining passengers, and also prevent the system from automatically processing and customer service from accepting complaints at the same time, resulting in a "one ticket, two refunds" situation.

[0067] In an optional embodiment of the present application, after performing the ticket refund operation, the method further includes:

[0068] Detect whether there is invoice information corresponding to the target ticket in the invoice system;

[0069] If there is invoice information corresponding to the target ticket in the invoice system, the invoice information is deleted, and the deletion of the invoice information is synchronized to the ticket printing client;

[0070] When the ticket printing client receives a ticket printing request, printing is prohibited.

[0071] In an optional embodiment of the present application, after performing the ticket refund operation, the method further includes:

[0072] Sending a ticket purchase reminder message for the same train number in the next time period to each passenger corresponding to all the target tickets;

[0073] Upon receiving the passenger's response to the ticket purchase reminder, the ticket purchase operation is completed and the payment information is issued.

[0074] In the present application, after executing the ticket refund operation, a ticket purchase reminder message is directly sent to each passenger corresponding to all the target tickets, which can save the ticket purchase process and achieve the purpose of reducing the ticket purchase time.

[0075] This application can automatically obtain the data of pending tickets. According to the relevant definition data of suspended trains of the Railway Bureau, the system automatically determines, obtains and summarizes the data of tickets that need to be automatically refunded and refunded; automatically handles the refund and refund procedures for pending tickets. The system automatically distinguishes the types of pending tickets and handles the refund or refund procedures for passengers; the processing results are automatically synchronized with the customer service platform, and the processing results are synchronized to the customer service platform in real time through data synchronization technology for subsequent inquiries, replies and other business uses by customer service personnel.

[0076] In this application, ticket refunds for suspended trains are automatically processed to avoid economic losses caused by passengers forgetting to refund their tickets; the handling fee difference is automatically refunded for passengers who were charged a handling fee for refunding or changing their tickets after the suspension announcement is issued and before the relevant definitions of the suspended trains are maintained, which not only protects the economic interests of passengers, but also reduces the number of passenger complaints and improves the work efficiency of the customer service department; the handling results are automatically synchronized with the customer service platform to facilitate customer service personnel's subsequent business handling and prevent the occurrence of "two refunds for one ticket".

[0077] The embodiment of the present application further provides a ticket management method, which is applied to a ticket system and includes, in addition to the above-mentioned automatic ticket refund method for a suspended train ticket system, a ticket recommendation method, wherein the ticket recommendation method includes:

[0078] For each travel day, obtain the sales and inspection volume of train tickets and single-day tickets in real time, where train tickets are tickets for travel by train number, and single-day tickets are tickets for travel by travel date;

[0079] Determine the predicted passenger flow on a specified ride date based on historical passenger flow;

[0080] Receive a ticket purchase request from a user, and determine whether to recommend train tickets and day tickets for the travel date based on the target travel date, departure station and arrival station in the ticket purchase request, as well as the predicted passenger flow on the target travel date, sales volume of train tickets and day tickets, and ticket inspection volume.

[0081] In an optional embodiment of the present application, the step of determining whether to recommend train tickets and day tickets for the travel date according to the target travel date, the departure station and the arrival station in the ticket purchase request, the passenger flow forecast for the target travel date, the sales volume of train tickets and day tickets, and the ticket inspection volume includes:

[0082] When the sales volume of single-day tickets for the target travel date in the ticket purchase request reaches the preset threshold for single-day tickets, the single-day tickets are displayed as out of stock, wherein the preset threshold for single-day tickets is determined based on the predicted passenger flow for the target travel date.

[0083] In an optional embodiment of the present application, the ticket management method further includes a rare character processing method, wherein the rare character processing method includes:

[0084] Receive user registration information or invoice application information, and for a specified character in the user registration information or invoice application information, obtain the glyph outline of the current character from a local database according to the encoding and attributes of the current character;

[0085] In the case that the glyph outline of the current character does not exist in the local database, the encoding and attributes of the current character are stored in the local database to determine whether the current character is an uncommon word;

[0086] In the case where the current character is an uncommon word, querying the glyph outline of the current character from a target database, wherein the target database is different from the local database;

[0087] In the case that the target database does not have the glyph outline of the current character, a manual processing request is sent;

[0088] In the case that the target database has the glyph outline of the current character, the encoding, attributes and glyph outline of the current character are stored in the target database.

[0089] In an optional embodiment of the present application, when the local database does not have the glyph outline of the current character, storing the encoding and attributes of the current character in the local database, and when the current character is an uncommon word, querying the glyph outline of the current character from the target database includes:

[0090] When the local database does not have the glyph outline of the current character, the current character is marked as a glyph-missing character;

[0091] The rare characters among the missing characters are stored in the rare character missing table;

[0092] For each character in the rare character missing table, the glyph outline of the current character is queried from the target database.

[0093] In an optional embodiment of the present application, the ticket management method further includes a ticket refund method when a ticket system fails, and the ticket refund method when a ticket system fails includes:

[0094] In case of a failure in the ticket system, the received refund request is sent to the target server;

[0095] storing each refund request on the target server and recording the time point of receiving each refund request;

[0096] When the ticket system returns to normal, respond to the refund request on the target server, determine the refund fee according to the time point of receiving each refund request, and perform the refund operation;

[0097] Send the refund result to the target object corresponding to the refund request.

[0098] In an optional embodiment of the present application, the ticket refund method when a ticket system failure occurs further includes:

[0099] After recording the time point of receiving each ticket refund request, sending the received ticket purchase request to the target server;

[0100] When the ticket purchase request corresponding to the same target object is received later than the ticket refund request, the target server releases the restriction on the target object to purchase the ticket again.

[0101] In an optional embodiment of the present application, the ticket management method further includes a ticket system information management method, and the ticket system information management method includes:

[0102] Acquire ticket system information data and preprocess it, and extract feature vectors of the preprocessed ticket system information data;

[0103] Construct a ticket system information data sensitivity scoring model to evaluate the sensitivity of ticket system information data and classify it, and encrypt the sensitive data of ticket system information data based on the classification results;

[0104] The exchanged data is decrypted and stored to obtain the ticket system information data, and a visual interface is constructed to display the ticket system information data in real time.

[0105] In an optional embodiment of the present application, the construction of a ticket system information data sensitivity scoring model to evaluate the ticket system information data sensitivity and classify it refers to collecting historical ticket system information data and extracting historical feature vectors, calculating the mean of the historical feature vectors and setting them as the benchmark data vector;

[0106] Collect ticket system information data in real time and extract real-time feature vectors. Use the K-means clustering analysis algorithm to cluster the real-time feature vectors, and select the center point of each cluster as the reference data vector.

[0107] Combining the RBF kernel function with the integral, the cumulative similarity A(x) between the benchmark data vector and the feature vector of the ticket system information data is calculated. The formula is:

[0108] ,

[0109] Where x is the feature vector of ticket system information data, is the benchmark data vector, is the historical feature vector of the i-th ticket system information data;

[0110] Logarithmic transformation of the cumulative similarity A , the formula is:

[0111] ;

[0112] The hyperbolic tangent function is introduced to smooth the accumulated similarity of the reference feature vector, and the accumulated similarity after smoothing is obtained. , the formula is:

[0113] ,

[0114] Where M is the number of reference eigenvectors, is the jth reference eigenvector;

[0115] Construct a sensitivity scoring model to evaluate the sensitivity score of the feature vector of the ticket system information data , the formula is:

[0116] ;

[0117] The sensitivity scores of historical ticket system information data are collected to set an evaluation threshold, and the sensitivity scores of the feature vectors of the ticket system information data are compared with the evaluation threshold. If the sensitivity score of the feature vector of the ticket system information data is greater than and equal to the evaluation threshold, it is determined to be sensitive data; if the sensitivity score of the feature vector of the ticket system information data is less than the evaluation threshold, it is determined to be ordinary data.

[0118] In an optional embodiment of the present application, encrypting the sensitive data of the ticket system information data based on the classification result refers to randomly generating a key K using a random number generator;

[0119] Use exponential function and sine function to perform nonlinear transformation on sensitive data to obtain results that meet the nonlinear transformation requirements. , the formula is:

[0120] ,

[0121] in is sensitive data;

[0122] Use logarithmic function and smooth inverse tangent function to perform nonlinear transformation on sensitive data to obtain multi-level nonlinear transformation results , the formula is:

[0123] ;

[0124] Construct the encryption formula:

[0125] ;

[0126] Bring sensitive data into the encryption formula for encryption.

[0127] In an optional embodiment of the present application, decrypting the exchanged data to store the ticket system information data refers to receiving the transmitted encrypted data and the corresponding key K;

[0128] Use the decryption formula to decrypt the received data and obtain the decrypted sensitive data , the formula is:

[0129] ;

[0130] The collected ticket system information and sensitive data generated by the analysis are stored in the database, the ticket system information and sensitive data generated by the analysis in the database are backed up in the cloud, and the backup data are regularly checked for integrity.

[0131] In an optional embodiment of the present application, the ticket management method further includes:

[0132] When the gate detects that the target passenger corresponding to the first target ticket has not boarded the train, recommend other tickets for the date corresponding to the first target ticket according to the travel interval of the first target ticket;

[0133] In the case that there are no other tickets for the date corresponding to the first target ticket, feeding back ticket purchase preferential information to the target passenger;

[0134] A second target ticket for a train seat corresponding to the first target ticket is released on the ticket system, wherein the starting station of the travel section of the second target ticket is a station subsequent to the starting station of the first target ticket.

[0135] It should be understood that, although the various steps in the flow chart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the figure may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0136] See also Figure 2 An embodiment of the present application provides an automatic ticket refund device for a suspended train ticket system, comprising:

[0137] A summarizing module 11 is used to receive the suspension information of the target train and summarize all the target tickets corresponding to the target train, wherein all the purchased target train tickets are used as all the target tickets corresponding to the target train;

[0138] The request module 12 is used to automatically initiate a refund request for all target tickets according to the preset time in the suspension information, including: automatically initiating a full refund for target tickets that have been purchased before the preset time and have not been changed or refunded; automatically initiating a refund of the change fee for target tickets that have been purchased before the preset time and have been charged a change fee; and automatically initiating a refund of the refund fee for target tickets that have been purchased before the preset time and have been charged a refund fee;

[0139] The execution module 13 is used to execute a refund operation according to the refund request corresponding to each target ticket.

[0140] For the specific definition of the automatic ticket refund device of the above-mentioned out-of-service train ticket system, please refer to the definition of the automatic ticket refund method of the out-of-service train ticket system above, which will not be repeated here. Each module in the above-mentioned automatic ticket refund device of the out-of-service train ticket system can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0141] In one embodiment, a computer device is provided, the internal structure diagram of which can be as follows: Figure 3As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, it implements the above-mentioned automatic ticket refund method or ticket management method for a suspended train ticket system. It includes: including a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, it implements any step in the above-mentioned automatic ticket refund method or ticket management method for a suspended train ticket system.

[0142] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, any step in the above-mentioned automatic ticket refund method or ticket management method for a suspended train ticket system can be implemented.

[0143] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0144] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0145] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0146] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0147] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0148] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A ticket management method, It is characterized in that The ticket management method is applied to the ticket system, and in addition to the automatic ticket refund method of the out-of-service train ticket system, it also includes a ticket recommendation method, wherein the ticket recommendation method includes: For each travel day, obtain the sales and inspection volume of train tickets and single-day tickets in real time, where train tickets are tickets for travel by train number, and single-day tickets are tickets for travel by travel date; Determine the predicted passenger flow on a specified ride date based on historical passenger flow; Receive a ticket purchase request from a user, and determine whether to recommend train tickets and day tickets for the travel date based on the target travel date, departure station and arrival station in the ticket purchase request, as well as the passenger flow forecast for the target travel date, the sales volume of train tickets and day tickets, and the ticket inspection volume. The automatic ticket refund method of the out-of-service train ticket system comprises: Receive the suspension information of the target train, and collect all the target tickets corresponding to the target train, wherein all the purchased tickets of the target train are taken as all the target tickets corresponding to the target train; Automatically initiate a refund request for all target tickets according to the preset time in the suspension information, including: For target tickets that have been purchased before the preset time and have not been changed or refunded, a full refund will be automatically initiated; for target tickets that have been purchased before the preset time and have been charged a change fee for change, a refund of the change fee will be automatically initiated; for target tickets that have been purchased before the preset time and have been charged a refund fee for refund, a refund of the refund fee will be automatically initiated; Execute the refund operation according to the refund request corresponding to each target ticket. The ticket management method also includes a ticket system information management method, and the ticket system information management method includes: Acquire ticket system information data and preprocess it, and extract feature vectors of the preprocessed ticket system information data; Construct a ticket system information data sensitivity scoring model to evaluate the sensitivity of ticket system information data and classify it, and encrypt the sensitive data of ticket system information data based on the classification results; Decrypt the exchanged data and store the ticket system information data, build a visual interface to display the ticket system information data in real time, The construction of the ticket system information data sensitivity scoring model to evaluate the ticket system information data sensitivity and classify it refers to collecting historical ticket system information data and extracting historical feature vectors, calculating the mean of the historical feature vectors and setting them as the benchmark data vector; Collect ticket system information data in real time and extract real-time feature vectors. Use the K-means clustering analysis algorithm to cluster the real-time feature vectors, and select the center point of each cluster as the reference data vector. Combining the RBF kernel function with the integral, the cumulative similarity A(x) between the benchmark data vector and the feature vector of the ticket system information data is calculated. The formula is: , Where x is the feature vector of ticket system information data, is the benchmark data vector, is the historical feature vector of the i-th ticket system information data; Logarithmic transformation of the cumulative similarity A , the formula is: ; The hyperbolic tangent function is introduced to smooth the accumulated similarity of the reference feature vector, and the accumulated similarity after smoothing is obtained. , the formula is: , Where M is the number of reference eigenvectors, is the jth reference eigenvector; Construct a sensitivity scoring model to evaluate the sensitivity score of the feature vector of the ticket system information data , the formula is: ; The sensitivity scores of historical ticket system information data are collected to set an evaluation threshold, and the sensitivity scores of the feature vectors of the ticket system information data are compared with the evaluation threshold. If the sensitivity score of the feature vector of the ticket system information data is greater than and equal to the evaluation threshold, it is determined to be sensitive data; if the sensitivity score of the feature vector of the ticket system information data is less than the evaluation threshold, it is determined to be ordinary data.

2. The method according to claim 1, It is characterized in that The method of performing a ticket refund operation according to a ticket refund request corresponding to each target ticket includes: Record the suspension information of the target train and all target tickets corresponding to the target train, and use the suspension information and all target tickets as the basis for ticket refund; The refund operation is performed in combination with the refund basis and the refund request corresponding to each target ticket.

3. The method according to claim 1, It is characterized in that During the ticket refund operation, the method further includes: The processing results of the ticket refund operation corresponding to each target ticket are sent to the target objects corresponding to each target ticket.

4. The method according to claim 1, It is characterized in that During the ticket refund operation, the method further includes: The processing results of the ticket refund operation corresponding to each target ticket will be synchronized to the customer service platform.

5. The method according to claim 1, It is characterized in that After performing the ticket refund operation, the method further includes: Detect whether there is invoice information corresponding to the target ticket in the invoice system; If there is invoice information corresponding to the target ticket in the invoice system, the invoice information is deleted, and the deletion of the invoice information is synchronized to the ticket printing client; When the ticket printing client receives a ticket printing request, printing is prohibited.

6. The method according to claim 1, It is characterized in that After performing the ticket refund operation, the method further includes: Sending a ticket purchase reminder message for the same train number in the next time period to each passenger corresponding to all the target tickets; Upon receiving the passenger's response to the ticket purchase reminder, the ticket purchase operation is completed and the payment information is issued.

7. A computer device, include: The method comprises a memory and a processor, wherein the memory stores a computer program, and is characterized in that the processor implements the steps of the ticket management method according to any one of claims 1 to 6 when executing the computer program.

8. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the ticket management method according to any one of claims 1 to 6 are implemented.