Train ticket information security storage system and method based on big data
By using a combination of multiple storage servers and information storage management platforms in the train ticket information storage system to verify and store train ticket information, the problems of data confusion and insufficient security caused by separate server storage are solved, and a higher level of security is achieved. Information Security.
Patent Information
- Application Number
- CN202410868459.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-01
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-07-01
AI Technical Summary
In the existing technology, train ticketing information is stored in a separate data storage server, which can easily lead to confusing data storage and insufficient security, and it is difficult for a separate server to effectively protect against illegal intrusion.
A secure storage system for train ticketing information based on big data is used to obtain ticketing information and identity information at different stages through multiple storage servers, and synchronize and verify it on the information storage management platform. After the storage information is generated, the second information storage management platform presses The set policy is stored.
It improves the storage security of train ticket information, reduces the probability of illegal users forging illegal instructions through the terminal, and ensures the integrity and reliability of data.
Smart Images

Figure CN118445852B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a system and method for securely storing train ticket information based on big data. Background Art
[0002] Currently, when users choose to buy tickets for travel, their ticket information is generally stored in a separate data storage server. In this separate data storage server, managers can freely access the ticket information according to their authority. However, ticket information generally includes user name, ID number, travel starting section and start time. In order to facilitate travel statistics, when managers retrieve and use relevant information in accordance with their authority, they usually can use it after verifying the manager's authority. However, this current data storage method cannot prevent some users from buying tickets and neither refunding them nor traveling according to the tickets, which makes data storage confusion easy to occur during data storage. At the same time, for a separately set data storage server, when the data volume reaches the storage threshold, the server will clear the data in order from early to late according to the storage time.
[0003] In addition, this separately set up data storage server will directly obtain ticket information from each ticket terminal and then store it. Since there are various terminals that can purchase tickets, such as commonly used mobile phones and computers, there are also fixed ticket terminals installed near stations. Some users cannot use smart devices and will choose to purchase tickets at manual ticket windows. No matter how the user purchases the ticket, after the user completes the ticket purchase, the corresponding terminal will directly send the ticket information to the separately set up data storage server. The various terminal types provide illegal users with the conditions to imitate illegal instructions and illegally invade the storage server.
[0004] In addition, when a separately set up data storage server receives an illegal command invasion, it generally only performs simple permission identification or manager identity identification, and does not pay attention to the source of the command. At present, due to the development of AI and the increasing openness of public information, it is very easy to forge the identity information of managers, and the request command identification method of the separately set up server is single, and illegal commands can easily be identified as regular request commands, which in turn leads to data loss in the server.
[0005] Therefore, a secure storage solution for train ticket information is urgently needed. Summary of the invention
[0006] The purpose of the present invention is to provide a train ticket information security storage system and method based on big data, which can improve the security when storing train ticket information.
[0007] The present invention solves the technical problem and adopts the following technical solution:
[0008] On the one hand, the present invention provides a train ticket information security storage system based on big data, comprising:
[0009] The first storage server is used to obtain the first ticketing information, the first identity information and the travel interval information of the user when purchasing the ticket through the first storage server, and synchronize them to the first information storage management platform;
[0010] The second storage server is used to obtain the second ticketing information, the second identity information and the first location information of the user when checking in through the second storage server, and synchronize them to the first information storage management platform;
[0011] The third storage server is used to obtain the third identity information and the second location information of the user when leaving the station through the third storage server, and synchronize them to the first information storage management platform;
[0012] The first information storage management platform is used for storing the first ticket information and the first identity information in a first buffer queue when the first information storage management platform receives the first ticket information, the first identity information and the travel interval information, and obtaining the third position information at the time of ticket inspection at the entrance and the fourth position information at the time of exiting the station corresponding to the travel interval information, storing the third position information in the first buffer queue, and storing the fourth position information in the second buffer queue;
[0013] and used for, when the first information storage management platform receives the second ticket information, the second identity information and the first location information, in the first buffer queue, if it is determined that the second ticket information is consistent with the first ticket information, the second identity information is consistent with the first identity information, and the first location information is consistent with the third location information, then generating the first storage information based on the determination result, and storing the first storage information in the second information storage management platform;
[0014] And when the first information storage management platform receives the third identity information and the second location information, in the first buffer queue, if the third identity information is judged to be consistent with the first identity information, and in the second buffer queue, if the second location information is judged to be consistent with the fourth location information, then the second storage information is generated based on the judgment result, and the second storage information is stored in the second information storage management platform.
[0015] The second information storage management platform is used to store the first storage information and / or the second storage information according to the set storage policy.
[0016] As a further optimization, before obtaining the first ticketing information, the first identity information and the travel interval information of the user when purchasing the ticket through the first storage server, it also includes:
[0017] The ticket purchasing method of the user is obtained through the first storage server, and the ticket purchasing method includes: purchasing tickets through a mobile smart terminal, purchasing tickets through a fixed smart terminal and purchasing tickets through a manual window.
[0018] As a further optimization, the obtaining of the first ticketing information, the first identity information and the travel interval information of the user when purchasing the ticket through the first storage server includes:
[0019] If the user purchases a ticket through a mobile smart terminal, after the mobile smart terminal detects that the user has completed the ticket purchase and payment operations, first ticket information and travel interval information are generated, and first identity information is obtained from the mobile smart terminal, and the first ticket information, first identity information and travel interval information are transmitted to the first storage server;
[0020] If the user purchases a ticket through a fixed smart terminal, the first identity information of the user is verified, and after the verification is passed, the fixed smart terminal is used to detect that the user has completed the ticket purchase and payment operations, and after the payment operation is completed, the first ticket information and travel interval information are generated through the fixed smart terminal, and the first ticket information, the first identity information and the travel interval information are transmitted to the first storage server;
[0021] If the user purchases a ticket through a manual window, the first identity information is entered through the ticket purchasing terminal of the manual window, and the first ticketing information is generated after selecting the travel interval information, and the first ticketing information, the first identity information and the travel interval information are transmitted to the first storage server.
[0022] As a further optimization, the obtaining of the second ticketing information, the second identity information and the first location information of the user at the time of ticket inspection at the station through the second storage server means:
[0023] If the user purchases a ticket through a mobile smart terminal, the mobile smart terminal obtains the location information of the mobile smart terminal at a first specified time point before the train enters the station for ticket inspection, every first specified time point until a second specified time point before the train departs, and sends the location information to the second storage server in the form of a first information list, and sends the second ticketing information and second identity information of the user at the time of ticket inspection to the second storage server when the second specified time point is obtained, wherein the first specified time point is earlier than the second specified time point;
[0024] If the user purchases a ticket through a fixed smart terminal or a manual window, when the second ticketing information and second identity information of the user are obtained when checking in, the location information of the device that recognizes the second ticketing information or the device that recognizes the second identity information will be used as the first location information and sent to the second storage server.
[0025] As a further optimization, when the second storage server receives the first information list, it extracts the first time node when the second ticketing information and the second identity information are obtained, and queries the first information list based on the first time node to query the location information of the smart terminal corresponding to the first time node and use it as the first location information.
[0026] As a further optimization, if the user purchases a ticket through a mobile smart terminal, then obtaining the third identity information and the second location information of the user when leaving the station through the third storage server means:
[0027] Determine whether there is a face recognition device at the exit, if so, call the face recognition device, and obtain the third identity information of the user when exiting the station through the face recognition device and send it to the third storage server, and obtain the location information of the mobile smart terminal through the mobile smart terminal at the third specified time node before the user exits the station, every second specified time, until the face recognition device can no longer be detected by the face image information at the fourth specified time node, and send it to the third storage server in the form of a second information list, the third specified time node is earlier than the fourth specified time node;
[0028] If the user purchases a ticket through a fixed intelligent terminal or a manual window, then obtaining the third identity information and the second location information of the user when leaving the station through the third storage server means:
[0029] Determine whether there is a face recognition device at the exit. If so, call the face recognition device, and obtain the third identity information of the user when exiting the station through the face recognition device and send it to the third storage server, and obtain the location information of the face recognition device and send it to the third storage server as the third location information.
[0030] As a further optimization, when it is determined that there is no facial recognition device at the exit, an image acquisition device used to monitor the exit is obtained, and an image acquisition device that is closest to the exit is selected. The image information of the user when exiting the station is obtained through the image acquisition device, and the third identity information and the second location information are analyzed based on the image information and sent to the third storage server.
[0031] As a further optimization, when the third storage server receives the second information list, it extracts the second time node when the third identity information is obtained, and queries the second information list based on the second time node to query the location information of the smart terminal corresponding to the second time node and use it as the second location information.
[0032] As a further optimization, the second information storage management platform stores the first storage information and / or the second storage information according to the set storage policy, which means:
[0033] When the first storage information is stored in the second information storage management platform, if the corresponding second storage information can be queried, the first storage information and the second storage information are stored in the first storage unit in the second information management platform; if the corresponding second storage information cannot be queried, the first storage information and / or the second storage information are stored in the second storage unit in the second information management platform.
[0034] The data stored in the first storage unit is read when a query instruction is received, and the data stored in the second storage unit is automatically sent to the management terminal.
[0035] On the other hand, the present invention also provides a method for securely storing train ticket information based on big data, which is applied to the secure storage system for train ticket information based on big data, and comprises the following steps:
[0036] The first ticketing information, the first identity information and the travel interval information of the user when purchasing the ticket are obtained through the first storage server, and synchronized to the first information storage management platform;
[0037] The second ticketing information, the second identity information and the first location information of the user at the time of ticket inspection at the station are obtained through the second storage server, and synchronized to the first information storage management platform;
[0038] Acquire the third identity information and the second location information of the user when leaving the station through the third storage server, and synchronize them to the first information storage management platform;
[0039] When the first information storage management platform receives the first ticket information, the first identity information and the travel interval information, the first ticket information and the first identity information are stored in the first buffer queue, and the third position information at the time of ticket inspection at the entrance and the fourth position information at the time of exiting the station corresponding to the travel interval information are obtained, and the third position information is stored in the first buffer queue, and the fourth position information is stored in the second buffer queue;
[0040] When the first information storage management platform receives the second ticket information, the second identity information and the first location information, in the first buffer queue, if it is determined that the second ticket information is consistent with the first ticket information, the second identity information is consistent with the first identity information, and the first location information is consistent with the third location information, the first storage information is generated based on the determination result, and the first storage information is stored in the second information storage management platform;
[0041] When the first information storage management platform receives the third identity information and the second location information, in the first buffer queue, if the third identity information is judged to be consistent with the first identity information, and in the second buffer queue, if the second location information is judged to be consistent with the fourth location information, then second storage information is generated based on the judgment result, and the second storage information is stored in the second information storage management platform;
[0042] The second information storage management platform stores the first storage information and / or the second storage information according to the set storage policy.
[0043] The beneficial effects of the present invention are: through the above-mentioned big data-based train ticket information security storage system and method, first, the first ticket information, first identity information and travel interval information of the user when purchasing the ticket are obtained through the first storage server, and synchronized to the first information storage management platform; secondly, the second ticket information, second identity information and first location information of the user when checking in at the station are obtained through the second storage server, and synchronized to the first information storage management platform; then, the third identity information and second location information of the user when leaving the station are obtained through the third storage server, and synchronized to the first information storage management platform.
[0044] Finally, when the first information storage management platform receives the first ticketing information, the first identity information and the travel interval information, the first ticketing information and the first identity information are stored in the first buffer queue, and the third position information at the time of entry ticket inspection and the fourth position information at the time of exiting the station corresponding to the travel interval information are obtained, and the third position information is stored in the first buffer queue, and the fourth position information is stored in the second buffer queue; when the first information storage management platform receives the second ticketing information, the second identity information and the first position information, in the first buffer queue, if it is judged that the second ticketing information is consistent with the first ticketing information, and the second identity information is consistent with the first identity information, and the first position information is consistent with the third position information, then the first storage information is generated based on the judgment result, and the first storage information is stored in the second information storage management platform; when the first information storage management platform receives the third identity information and the second position information, in the first buffer queue, if it is judged that the third identity information is consistent with the first identity information, and in the second buffer queue, if it is judged that the second position information is consistent with the fourth position information, then the second storage information is generated based on the judgment result, and the second storage information is stored in the second information storage management platform.
[0045] Therefore, the present invention will not store the user's train ticket information in only one data storage server, but will use different storage servers to obtain different relevant information, then process the data in the first information storage management platform, and finally store the useful information through the second information storage management platform. Since the second information storage management platform will store the relevant data according to the set storage strategy, it can greatly reduce the probability of illegal users imitating illegal instructions through the terminal, thereby improving the security of train ticket information storage. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 This is a schematic diagram of the structure of some components of a train ticket information security storage system based on big data in Example 1 of the present invention;
[0047] Figure 2 This is a flow chart of a method for securely storing train ticket information based on big data in Example 2 of the present invention. DETAILED DESCRIPTION
[0048] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.
[0049] Example 1
[0050] This embodiment provides a train ticket information security storage system based on big data. The partial composition architecture of the system is shown in Figure 1 , wherein the system comprises:
[0051] The first storage server is used to obtain the first ticketing information, the first identity information and the travel interval information of the user when purchasing the ticket through the first storage server, and synchronize them to the first information storage management platform;
[0052] The second storage server is used to obtain the second ticketing information, the second identity information and the first location information of the user when checking in through the second storage server, and synchronize them to the first information storage management platform;
[0053] The third storage server is used to obtain the third identity information and the second location information of the user when leaving the station through the third storage server, and synchronize them to the first information storage management platform;
[0054] The first information storage management platform is used for storing the first ticket information and the first identity information in a first buffer queue when the first information storage management platform receives the first ticket information, the first identity information and the travel interval information, and obtaining the third position information at the time of ticket inspection at the entrance and the fourth position information at the time of exiting the station corresponding to the travel interval information, storing the third position information in the first buffer queue, and storing the fourth position information in the second buffer queue;
[0055] and used for, when the first information storage management platform receives the second ticket information, the second identity information and the first location information, in the first buffer queue, if it is determined that the second ticket information is consistent with the first ticket information, the second identity information is consistent with the first identity information, and the first location information is consistent with the third location information, then generating the first storage information based on the determination result, and storing the first storage information in the second information storage management platform;
[0056] And when the first information storage management platform receives the third identity information and the second location information, in the first buffer queue, if the third identity information is judged to be consistent with the first identity information, and in the second buffer queue, if the second location information is judged to be consistent with the fourth location information, then the second storage information is generated based on the judgment result, and the second storage information is stored in the second information storage management platform.
[0057] The second information storage management platform is used to store the first storage information and / or the second storage information according to the set data storage policy.
[0058] In this embodiment, since users have multiple options for purchasing tickets, it is more convenient to check tickets and purchase tickets freely in the relevant software application on the mobile smart terminal (such as a mobile phone), and some purchase tickets at fixed ticket terminals (such as self-service ticket machines) set up near the station, and some purchase tickets manually at the manual ticket window. When purchasing tickets manually, the staff will still choose to use the computer to check the tickets and help the manual ticket purchase users complete the ticket checking and ticket purchase operations.
[0059] In traditional scenarios, after a user completes ticket purchase, different terminals will directly and synchronously store the ticket information in the ticket storage server. However, there are many types of terminals, and ticket purchase instructions are easy to forge. When an illegal user forges a normal user's terminal instruction, the user's ticket information can be easily obtained from the ticket storage server or terminal. Therefore, the traditional ticket information storage method has security risks. Therefore, in this embodiment, before obtaining the first ticket information, first identity information and travel interval information of the user when purchasing the ticket through the first storage server, it can also include:
[0060] The ticket purchasing method of the user is obtained through the first storage server, and the ticket purchasing method includes: purchasing tickets through a mobile smart terminal, purchasing tickets through a fixed smart terminal and purchasing tickets through a manual window.
[0061] The first storage server obtains the ticket purchasing method of the user when purchasing the ticket to perform subsequent data processing and data storage operations.
[0062] It should be pointed out that if a user purchases a ticket through a mobile smart terminal, the positioning function of the mobile smart terminal can automatically obtain the location information, and most users complete the ticket purchase operation a few days or hours in advance. Therefore, in order to prevent the mobile smart terminal from frequently obtaining the location information, it is necessary to limit the time for the mobile smart terminal to obtain the location information. For fixed ticket purchase methods and manual ticket purchase methods, the user can only be found when entering the station for ticket inspection. At this time, it is only necessary to know the user's identity information and obtain the location information through the nearest related equipment (such as a face recognition device or an ID card reading device) or manual entry. Therefore, in this embodiment, for different ticket purchase methods, the first ticketing information, first identity information and travel interval information of the user when purchasing the ticket are obtained through the first storage server, which may include:
[0063] If the user purchases a ticket through a mobile smart terminal, after the mobile smart terminal detects that the user has completed the ticket purchase and payment operations, first ticket information and travel interval information are generated, and first identity information is obtained from the mobile smart terminal, and the first ticket information, first identity information and travel interval information are transmitted to the first storage server;
[0064] If the user purchases a ticket through a fixed smart terminal, the first identity information of the user is verified, and after the verification is passed, the fixed smart terminal is used to detect that the user has completed the ticket purchase and payment operations, and after the payment operation is completed, the first ticket information and travel interval information are generated through the fixed smart terminal, and the first ticket information, the first identity information and the travel interval information are transmitted to the first storage server;
[0065] If the user purchases a ticket through a manual window, the first identity information is entered through the ticket purchasing terminal of the manual window, and the first ticketing information is generated after selecting the travel interval information, and the first ticketing information, the first identity information and the travel interval information are transmitted to the first storage server.
[0066] The second storage server is targeted at the scenario of user ticket inspection. In this scenario, this embodiment will also perform different processing for different ticket purchase methods. Therefore, in this embodiment, the second ticket information, second identity information and first location information of the user at the time of ticket inspection at the station can be obtained through the second storage server, which may refer to:
[0067] If the user purchases a ticket through a mobile smart terminal, the mobile smart terminal obtains the location information of the mobile smart terminal at a first specified time point before the train enters the station for ticket inspection, every first specified time point until a second specified time point before the train departs, and sends the location information to the second storage server in the form of a first information list, and sends the second ticketing information and second identity information of the user at the time of ticket inspection to the second storage server when the second specified time point is obtained, wherein the first specified time point is earlier than the second specified time point;
[0068] If the user purchases a ticket through a fixed smart terminal or a manual window, when the second ticketing information and second identity information of the user are obtained when checking in, the location information of the device that recognizes the second ticketing information or the device that recognizes the second identity information will be used as the first location information and sent to the second storage server.
[0069] Here, the first specified time node must be earlier than the second specified time node. For example, the first specified time node is 8:00 a.m. and the second specified time node is 8:30 a.m. The time interval of the first specified time can be flexibly set as needed, which can be 30 seconds, 45 seconds, etc.
[0070] Specifically, for the ticket purchasing method of a mobile smart terminal, when the second storage server receives the first information list, it extracts the first time node when the second ticketing information and the second identity information are obtained, and queries the first information list based on the first time node to query the location information of the smart terminal corresponding to the first time node, and uses it as the first location information.
[0071] It should be noted that the third storage server in this embodiment is aimed at the user exit scenario. If the user purchases a ticket through a mobile smart terminal, then obtaining the third identity information and second location information of the user when exiting the station through the third storage server means:
[0072] Determine whether there is a face recognition device at the exit, if so, call the face recognition device, and obtain the third identity information of the user when exiting the station through the face recognition device and send it to the third storage server, and obtain the location information of the mobile smart terminal through the mobile smart terminal at the third specified time node before the user exits the station, every second specified time, until the face recognition device can no longer be detected by the face image information at the fourth specified time node, and send it to the third storage server in the form of a second information list, the third specified time node is earlier than the fourth specified time node;
[0073] If the user purchases a ticket through a fixed intelligent terminal or a manual window, then obtaining the third identity information and the second location information of the user when leaving the station through the third storage server means:
[0074] Determine whether there is a face recognition device at the exit. If so, call the face recognition device, and obtain the third identity information of the user when exiting the station through the face recognition device and send it to the third storage server, and obtain the location information of the face recognition device and send it to the third storage server as the third location information.
[0075] According to the current installation status of station exit equipment, many station ticket gates are often equipped with facial recognition devices. However, many station exits do not have facial recognition devices installed, but they are equipped with image acquisition devices such as cameras. Therefore, in this embodiment, when it is determined that there is no facial recognition device at the exit, an image acquisition device for monitoring the exit is obtained, and an image acquisition device that is closest to the exit is selected. The image information of the user when exiting the station is obtained through the image acquisition device, and the third identity information and the second location information are analyzed based on the image information, and sent to the third storage server.
[0076] Therefore, for the ticket purchasing method of a mobile smart terminal, when the third storage server receives the second information list, it extracts the second time node when the third identity information is obtained, and queries the second information list based on the second time node to query the location information of the smart terminal corresponding to the second time node, and uses it as the second location information.
[0077] It should be pointed out that the first storage information is for the user's entry and ticket inspection, while the second storage information is for the user's exit. Many users may not have time to take the train or even return the ticket due to their own reasons after purchasing the ticket, which will cause the second storage server to screen the user's relevant information. However, all users who enter the station for ticket inspection must have completed the ticket purchase and payment. At this time, many users will inevitably make the selected riding interval inconsistent with the user information when exiting the station due to the shortage of remaining tickets or malicious fare evasion when selecting the riding interval. For these user information, in this embodiment, it is regarded as unconventional data. When the unconventional data is stored in the second information storage management platform, it will actively send data to the management terminal, which is convenient for the management personnel to trace. Since the management personnel can trace the user data, if there is an illegal user using an illegal terminal to illegally invade the second information storage management platform, the technicians can quickly query the IP of the illegal terminal, thereby increasing the speed of subsequent accountability. For users who enter and exit the station normally, it is regarded as the normal regular data of the user, and this data will be called by relevant personnel when it is needed.
[0078] Therefore, in this embodiment, the second information storage management platform stores the first storage information and / or the second storage information according to the set data storage policy, which may refer to:
[0079] When the first storage information is stored in the second information storage management platform, if the corresponding second storage information can be queried, the first storage information and the second storage information are stored in the first storage unit in the second information management platform; if the corresponding second storage information cannot be queried, the first storage information and / or the second storage information are stored in the second storage unit in the second information management platform;
[0080] The data stored in the first storage unit is read when a query instruction is received, and the data stored in the second storage unit is automatically sent to the management terminal.
[0081] Example 2
[0082] Based on Example 1, this embodiment provides a method for securely storing train ticket information based on big data, and its flow chart is shown in Figure 2 , wherein the method comprises the following steps:
[0083] S1. Obtain the first ticketing information, first identity information and travel interval information of the user when purchasing the ticket through the first storage server, and synchronize them to the first information storage management platform;
[0084] S2. Obtain the second ticketing information, second identity information and first location information of the user when checking in through the second storage server, and synchronize them to the first information storage management platform;
[0085] S3, obtaining the third identity information and the second location information of the user when leaving the station through the third storage server, and synchronizing them to the first information storage management platform;
[0086] S4. When the first information storage management platform receives the first ticket information, the first identity information and the travel interval information, the first ticket information and the first identity information are stored in the first buffer queue, and the third position information at the time of ticket inspection at the entrance and the fourth position information at the time of exiting the station corresponding to the travel interval information are obtained, and the third position information is stored in the first buffer queue, and the fourth position information is stored in the second buffer queue;
[0087] S5. When the first information storage management platform receives the second ticket information, the second identity information and the first location information, in the first buffer queue, if it is determined that the second ticket information is consistent with the first ticket information, the second identity information is consistent with the first identity information, and the first location information is consistent with the third location information, first storage information is generated based on the determination result, and the first storage information is stored in the second information storage management platform;
[0088] S6. When the first information storage management platform receives the third identity information and the second location information, in the first buffer queue, if the third identity information is judged to be consistent with the first identity information, and in the second buffer queue, if the second location information is judged to be consistent with the fourth location information, second storage information is generated based on the judgment result, and the second storage information is stored in the second information storage management platform;
[0089] S7. The second information storage management platform stores the first storage information and / or the second storage information according to the set data storage policy.
[0090] Referring to Example 1, the application scenario and implementation principle of the above method of this embodiment are consistent with those of Example 1, and thus will not be described in detail.
[0091] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. Train ticket information security storage system based on big data, It is characterized in that include: The first storage server is used to obtain the first ticketing information, the first identity information and the travel interval information of the user when purchasing the ticket through the first storage server, and synchronize them to the first information storage management platform; The second storage server is used to obtain the second ticketing information, the second identity information and the first location information of the user when checking in through the second storage server, and synchronize them to the first information storage management platform; The third storage server is used to obtain the third identity information and the second location information of the user when leaving the station through the third storage server, and synchronize them to the first information storage management platform; The first information storage management platform is used for storing the first ticket information and the first identity information in a first buffer queue when the first information storage management platform receives the first ticket information, the first identity information and the travel interval information, and obtaining the third position information at the time of ticket inspection at the entrance and the fourth position information at the time of exiting the station corresponding to the travel interval information, storing the third position information in the first buffer queue, and storing the fourth position information in the second buffer queue; and used for, when the first information storage management platform receives the second ticket information, the second identity information and the first location information, in the first buffer queue, if it is determined that the second ticket information is consistent with the first ticket information, the second identity information is consistent with the first identity information, and the first location information is consistent with the third location information, then generating the first storage information based on the determination result, and storing the first storage information in the second information storage management platform; and used for, when the first information storage management platform receives the third identity information and the second location information, in the first buffer queue, if it is determined that the third identity information is consistent with the first identity information, and in the second buffer queue, if it is determined that the second location information is consistent with the fourth location information, then generating the second storage information based on the determination result, and storing the second storage information in the second information storage management platform; The second information storage management platform is used to store the first storage information and / or the second storage information according to the set data storage policy. The second information storage management platform stores the first storage information and / or the second storage information according to the set data storage policy, which means: When the first storage information is stored in the second information storage management platform, if the corresponding second storage information can be queried, the first storage information and the second storage information are stored in the first storage unit in the second information management platform; if the corresponding second storage information cannot be queried, the first storage information and / or the second storage information are stored in the second storage unit in the second information management platform; The data stored in the first storage unit is read when a query instruction is received, and the data stored in the second storage unit is automatically sent to the management terminal.
2. According to the big data-based train ticket information security storage system of claim 1, It is characterized in that Before obtaining the first ticketing information, the first identity information and the travel interval information of the user when purchasing the ticket through the first storage server, the method further includes: The ticket purchasing method of the user is obtained through the first storage server, and the ticket purchasing method includes: purchasing tickets through a mobile smart terminal, purchasing tickets through a fixed smart terminal and purchasing tickets through a manual window.
3. According to the big data-based train ticket information security storage system of claim 2, It is characterized in that The obtaining, through the first storage server, the first ticketing information, the first identity information, and the travel interval information of the user when purchasing the ticket includes: If the user purchases a ticket through a mobile smart terminal, after the mobile smart terminal detects that the user has completed the ticket purchase and payment operations, first ticket information and travel interval information are generated, and first identity information is obtained from the mobile smart terminal, and the first ticket information, first identity information and travel interval information are transmitted to the first storage server; If the user purchases a ticket through a fixed smart terminal, the first identity information of the user is verified, and after the verification is passed, the fixed smart terminal is used to detect that the user has completed the ticket purchase and payment operations, and after the payment operation is completed, the first ticket information and travel interval information are generated through the fixed smart terminal, and the first ticket information, the first identity information and the travel interval information are transmitted to the first storage server; If the user purchases a ticket through a manual window, the first identity information is entered through the ticket purchasing terminal of the manual window, and the first ticketing information is generated after selecting the travel interval information, and the first ticketing information, the first identity information and the travel interval information are transmitted to the first storage server.
4. According to the big data-based train ticket information security storage system of claim 3, It is characterized in that The acquiring of the second ticketing information, the second identity information and the first location information of the user at the time of ticket inspection at the station through the second storage server means: If the user purchases a ticket through a mobile smart terminal, the mobile smart terminal obtains the location information of the mobile smart terminal at a first specified time point before the train enters the station for ticket inspection, every first specified time point until a second specified time point before the train departs, and sends the location information to the second storage server in the form of a first information list, and sends the second ticketing information and second identity information of the user at the time of ticket inspection to the second storage server when the second specified time point is obtained, wherein the first specified time point is earlier than the second specified time point; If the user purchases a ticket through a fixed smart terminal or a manual window, when the second ticketing information and second identity information of the user are obtained when checking in, the location information of the device that recognizes the second ticketing information or the device that recognizes the second identity information will be used as the first location information and sent to the second storage server.
5. According to the big data-based train ticket information security storage system of claim 4, It is characterized in that When the second storage server receives the first information list, it extracts the first time node when the second ticketing information and the second identity information are obtained, and queries the first information list based on the first time node to obtain the location information of the smart terminal corresponding to the first time node, and uses it as the first location information.
6. According to the big data-based train ticket information security storage system of claim 2, It is characterized in that If the user purchases a ticket through a mobile smart terminal, then obtaining the third identity information and the second location information of the user when leaving the station through the third storage server means: Determine whether there is a face recognition device at the exit, if so, call the face recognition device, and obtain the third identity information of the user when exiting the station through the face recognition device and send it to the third storage server, and obtain the location information of the mobile smart terminal through the mobile smart terminal at the third specified time node before the user exits the station, every second specified time, until the face recognition device can no longer be detected by the face image information at the fourth specified time node, and send it to the third storage server in the form of a second information list, the third specified time node is earlier than the fourth specified time node; If the user purchases a ticket through a fixed intelligent terminal or a manual window, then obtaining the third identity information and the second location information of the user when leaving the station through the third storage server means: Determine whether there is a face recognition device at the exit. If so, call the face recognition device, and obtain the third identity information of the user when exiting the station through the face recognition device and send it to the third storage server, and obtain the location information of the face recognition device and send it to the third storage server as the third location information.
7. According to claim 6, the train ticket information security storage system based on big data, It is characterized in that When it is determined that there is no facial recognition device at the exit, an image acquisition device used to monitor the exit is obtained, and an image acquisition device that is closest to the exit is selected. The image information of the user when exiting the station is obtained through the image acquisition device, and the third identity information and the second location information are analyzed based on the image information and sent to the third storage server.
8. According to claim 6, the train ticket information security storage system based on big data, It is characterized in that When the third storage server receives the second information list, it extracts the second time node when the third identity information is obtained, and queries the second information list based on the second time node to query the location information of the smart terminal corresponding to the second time node and uses it as the second location information.
9. A method for securely storing train ticket information based on big data, applied to a system for securely storing train ticket information based on big data as claimed in any one of claims 1 to 8, It is characterized in that The steps include: Acquire the first ticketing information, first identity information and travel interval information of the user when purchasing the ticket through the first storage server, and synchronize them to the first information storage management platform; The second ticketing information, the second identity information and the first location information of the user at the time of ticket inspection at the station are obtained through the second storage server, and synchronized to the first information storage management platform; Obtain the third identity information and the second location information of the user when leaving the station through the third storage server, and synchronize them to the first information storage management platform; When the first information storage management platform receives the first ticket information, the first identity information and the travel interval information, the first ticket information and the first identity information are stored in the first buffer queue, and the third position information at the time of ticket inspection at the entrance and the fourth position information at the time of exiting the station corresponding to the travel interval information are obtained, and the third position information is stored in the first buffer queue, and the fourth position information is stored in the second buffer queue; When the first information storage management platform receives the second ticket information, the second identity information and the first location information, in the first buffer queue, if it is determined that the second ticket information is consistent with the first ticket information, the second identity information is consistent with the first identity information, and the first location information is consistent with the third location information, the first storage information is generated based on the determination result, and the first storage information is stored in the second information storage management platform; When the first information storage management platform receives the third identity information and the second location information, in the first buffer queue, if the third identity information is judged to be consistent with the first identity information, and in the second buffer queue, if the second location information is judged to be consistent with the fourth location information, then second storage information is generated based on the judgment result, and the second storage information is stored in the second information storage management platform; The second information storage management platform stores the first storage information and / or the second storage information according to the set data storage policy.
