CN111932692A - Ticket checking system and method - Google Patents
Ticket checking system and method Download PDFInfo
- Publication number
- CN111932692A CN111932692A CN202010838974.2A CN202010838974A CN111932692A CN 111932692 A CN111932692 A CN 111932692A CN 202010838974 A CN202010838974 A CN 202010838974A CN 111932692 A CN111932692 A CN 111932692A
- Authority
- CN
- China
- Prior art keywords
- client
- ticket
- information
- key
- customer
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07B—TICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
- G07B11/00—Apparatus for validating or cancelling issued tickets
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/32—User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Devices For Checking Fares Or Tickets At Control Points (AREA)
Abstract
The invention discloses a ticket checking system and a method, wherein the method comprises the following steps: after receiving a ticket buying request of a client, a mobile banking client calls a ticket buying program interface; after the customer finishes purchasing tickets, acquiring ticket purchasing information of the customer, and inquiring certificate information and biological characteristic information of the customer; encrypting ticket purchasing information and certificate information of a client to generate a ticket secret key of the client; when a customer approaches a mobile phone to a station gate, a ticket key and biological characteristic information of the customer are sent to the station gate; the station gate receives a ticket key and biological characteristic information of a customer sent by a mobile banking client; decrypting the ticket key of the client and determining ticket purchasing information and certificate information of the client; checking ticket purchasing information and certificate information of a client; and after the ticket purchasing information and the certificate information pass the verification, verifying the identity of the client according to the biological characteristic information of the client. The invention can improve the efficiency of ticket checking and the security of the ticket.
Description
Technical Field
The invention relates to the technical field of data processing, in particular to a ticket checking system and a ticket checking method.
Background
The train and the airplane are main transportation means for people going out and going far at present, but complicated steps such as ticket buying, ticket taking, identity verification and the like are required before taking a bus, and particularly, a lot of time is spent on queuing to buy and take tickets during holiday and pedestrian flow rush hours.
With the development of internet technology, the purchase and the check of two-dimensional code ticket can be realized through the internet in the prior art, but still need the passenger to carry certificates such as ID card to check, if the certificate such as ID card loses, need to mend each item temporarily and prove that the material can check to get into the station, so the dependence to physical media such as ID card is strong on the one hand, leads to the inefficiency of ticket check, and on the other hand also has the risk of being stolen after the ID card loses on the other hand.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a mobile banking client for improving the efficiency of ticket checking and the security of tickets, which comprises the following steps:
the ticket buying program calling module is used for calling a ticket buying program interface after receiving a ticket buying request of a client;
the ticket-buying information obtaining module is used for obtaining the ticket-buying information of the client after the client finishes ticket-buying through the ticket-buying program interface;
the client information inquiry module is used for inquiring the certificate information and the biological characteristic information of the client according to the ticket purchasing information of the client;
the ticket key generating module is used for encrypting ticket purchasing information and certificate information of a client to generate a ticket key of the client;
the sending module is used for sending the ticket key and the biological characteristic information of the customer to the station gate when the customer enables the mobile phone to be close to the station gate, wherein the station gate is used for verifying the ticket key and the biological characteristic information of the customer.
The embodiment of the invention provides a station gate machine for improving the efficiency of ticket checking and the safety of tickets, which comprises the following steps:
the receiving module is used for receiving the ticket key and the biological characteristic information of the client sent by the mobile banking client, and the ticket key of the client is obtained by encrypting according to the ticket purchasing information and the certificate information of the client;
the ticket key decryption module is used for decrypting the ticket key of the client and determining ticket purchasing information and certificate information of the client;
the verification module is used for verifying ticket purchasing information and certificate information of a client; and after the ticket purchasing information and the certificate information pass the verification, verifying the identity of the client according to the biological characteristic information of the client.
The embodiment of the invention provides a ticket checking system, which is used for improving the efficiency of ticket checking and the safety of tickets and comprises the following components: the mobile banking client side and the station gate machine are described above.
The embodiment of the invention provides a ticket checking method, which is applied to the mobile banking client to improve the efficiency of ticket checking and the security of tickets, and comprises the following steps:
after receiving a ticket buying request of a client, a mobile banking client calls a ticket buying program interface;
after a customer finishes ticket purchasing through a ticket purchasing program interface, acquiring ticket purchasing information of the customer;
inquiring certificate information and biological characteristic information of the client according to ticket purchasing information of the client;
encrypting ticket purchasing information and certificate information of a client to generate a ticket secret key of the client;
when a customer approaches a mobile phone to a station gate, a ticket key and biological characteristic information of the customer are sent to the station gate; the station gate is used for verifying the ticket key and the biological characteristic information of the customer.
The embodiment of the invention provides a ticket checking method, which applies the station gate to improve the efficiency of ticket checking and the safety of tickets, and comprises the following steps:
the station gate receives a ticket key and biological characteristic information of a client sent by a mobile banking client, and the ticket key of the client is obtained by encrypting according to ticket purchasing information and certificate information of the client;
decrypting the ticket key of the client and determining ticket purchasing information and certificate information of the client;
checking ticket purchasing information and certificate information of a client; and after the ticket purchasing information and the certificate information pass the verification, verifying the identity of the client according to the biological characteristic information of the client.
The embodiment of the invention provides a ticket checking method, which applies the ticket checking system to improve the efficiency of ticket checking and the security of tickets, and comprises the following steps:
after receiving a ticket buying request of a client, a mobile banking client calls a ticket buying program interface; after a customer finishes ticket purchasing through a ticket purchasing program interface, acquiring ticket purchasing information of the customer; inquiring certificate information and biological characteristic information of the client according to ticket purchasing information of the client; encrypting ticket purchasing information and certificate information of a client to generate a ticket secret key of the client; when a customer approaches a mobile phone to a station gate, a ticket key and biological characteristic information of the customer are sent to the station gate;
the station gate receives a ticket key and biological characteristic information of a customer sent by a mobile banking client; decrypting the ticket key of the client and determining ticket purchasing information and certificate information of the client; checking ticket purchasing information and certificate information of a client; and after the ticket purchasing information and the certificate information pass the verification, verifying the identity of the client according to the biological characteristic information of the client.
The embodiment of the invention also provides computer equipment which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the ticket checking method is realized when the processor executes the computer program.
The embodiment of the invention also provides a computer readable storage medium, and the computer readable storage medium stores a computer program for executing the ticket checking method.
The embodiment of the invention comprises the following steps: after receiving a ticket buying request of a client, a mobile banking client calls a ticket buying program interface; after a customer finishes ticket purchasing through a ticket purchasing program interface, acquiring ticket purchasing information of the customer; inquiring certificate information and biological characteristic information of the client according to ticket purchasing information of the client; encrypting ticket purchasing information and certificate information of a client to generate a ticket secret key of the client; when a customer approaches a mobile phone to a station gate, a ticket key and biological characteristic information of the customer are sent to the station gate; the station gate receives a ticket key and biological characteristic information of a customer sent by a mobile banking client; decrypting the ticket key of the client and determining ticket purchasing information and certificate information of the client; checking ticket purchasing information and certificate information of a client; after ticket purchasing information and certificate information are verified, the identity of the customer is verified according to the biological characteristic information of the customer, dependence on physical media such as an identity card can be eliminated, ticket verification efficiency is improved, and ticket key-based verification avoids the risk of ticket embezzlement.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts. In the drawings:
FIG. 1 is a schematic diagram of a mobile banking client architecture in an embodiment of the present invention;
FIG. 2 is a schematic diagram of a station gate structure according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a ticket checking system according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a ticket checking method flow (mobile banking client angle) in an embodiment of the present invention;
FIG. 5 is a schematic diagram of a ticket checking method flow (station gate angle) according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a flow of a ticket verification method (in terms of a ticket verification system) in the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As will be appreciated by one skilled in the art, embodiments of the present invention may be embodied as a system, apparatus, method or computer program product. Accordingly, the present disclosure may be embodied in the form of: entirely hardware, entirely software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software.
An embodiment of the present invention provides a mobile banking client, configured to improve efficiency of ticket checking and security of tickets, where fig. 1 is a schematic diagram of a structure of a mobile banking client in an embodiment of the present invention, as shown in fig. 1, including:
the ticket buying program calling module 101 is used for calling a ticket buying program interface after receiving a ticket buying request of a client;
the ticket-buying information obtaining module 102 is used for obtaining the ticket-buying information of the customer after the customer finishes buying tickets through the ticket-buying program interface;
the client information inquiry module 103 is used for inquiring the certificate information and the biological characteristic information of the client according to the ticket purchasing information of the client;
the ticket key generating module 104 is configured to encrypt ticket purchasing information and certificate information of the client to generate a ticket key of the client;
the sending module 105 is configured to send the ticket key and the biometric information of the client to the station gate when the client approaches the station gate with the mobile phone, where the station gate is configured to verify the ticket key and the biometric information of the client.
In specific implementation, a customer may initiate a ticket buying request through a mobile banking client, and after receiving the ticket buying request of the customer, the ticket buying program calling module 101 may access the mobile banking to a ticket buying system to provide a ticket buying function for the customer, where the ticket buying system may include: after the ticket purchasing of the client is finished, the ticket purchasing information obtaining module 102 may obtain the ticket purchasing information of the client through a ticket purchasing system, and then, the client information query module 103 may query the certificate information and the biometric information of the client according to the ticket purchasing information of the client, where the certificate information and the biometric information of the client are stored in the mobile banking client in advance, and the biometric information of the client may include: the face information, the fingerprint information, the iris information, and the like, and may further include other biometric information, which is not limited in the present invention, and then the ticket key generation module 104 may invoke an encryption algorithm to encrypt the ticket purchasing information and the certificate information of the customer, so as to generate the ticket key of the customer.
In one embodiment, the ticket key generation module 104 is specifically configured to:
generating a plaintext password according to ticket purchasing information and certificate information of a client;
dividing the plaintext cipher into multiple groups, and dividing each group of plaintext cipher into two groups of data with the same digits;
for each group of plaintext passwords, circularly shifting one group of data based on the subkeys; carrying out XOR operation on one group of data after cyclic shift and the other group of data; exchanging the positions of the two groups of data after the XOR operation;
and finally replacing the plurality of groups of plaintext passwords after the replacement to generate the ticket key of the client.
In a specific implementation, the encryption algorithm called by the ticket key generation module 104 may include: firstly, generating a plaintext password according to ticket purchasing information and certificate information of a client, then grouping the plaintext passwords, wherein each group is 64 bits long, and zero padding is performed if the number of the groups is less than 64 bits, then dividing each group of plaintext passwords into a left half part of data and a right half part of data, each 32 bits long, then circularly shifting one part of data of each group of plaintext passwords by using a sub-key, carrying out XOR operation on the data output after the circular shifting and the other part of data, exchanging positions of the two parts of data after the XOR operation, then repeating 16 rounds of the above operations, and generating a ticket key of the client after one last replacement.
In one embodiment, the mobile banking client further includes a ticket key updating module 106 for:
setting a dynamic update interval duration for the ticket key;
when the ticket key of the client is generated, timing is started, and when the timing reaches the time of the dynamic updating interval, the ticket purchasing information and the certificate information of the client are encrypted again to generate a new ticket key.
In specific implementation, the ticket key may also carry time information, and the ticket key updating module 106 may implement dynamic updating of the ticket key according to the time information, for example, a dynamic update interval duration may be set for the ticket key, when the ticket key of the client is generated (or when the client purchases a ticket), timing is started, when the timing reaches the dynamic update interval duration, the ticket purchasing information and the certificate information of the client are encrypted again to generate a new ticket key, and the ticket key is dynamically updated.
After the ticket key of the client is generated, the ticket key and the riding information can be stored in a mobile phone bank client, the ticket key and the riding information are directly displayed to the client, and only train number information, default names, certificate information (similar to a paper train ticket, and replaced by 'x' information) and the ticket key are displayed to the client when the ticket key is displayed to the client, so that the client (a passenger) can confirm the riding information and the identity information. In order to prevent the ticket key from being stolen by others after the mobile phone of the client is lost, if the login mobile phone of the mobile phone bank is changed, before the ticket key is displayed to the client, the identity authentication is required to be carried out on the mobile phone bank client. In addition, the mobile banking client can also query historical ticket purchasing information and riding records.
In one embodiment, the sending module 105 is specifically configured to:
and when the customer approaches the mobile banking client to the station gate, the ticket key of the customer is sent to the station gate based on the Near Field Communication (NFC).
During specific implementation, when a customer arrives at a station, the customer does not need to queue for getting a ticket, directly enters the station to receive security check, and when the customer approaches the mobile banking client to the station gate, the sending module 105 can send the ticket key of the customer to the station gate based on Near Field Communication (NFC), wherein the station gate is used for verifying the ticket key and the biological characteristic information of the customer. The Near Field Communication (NFC) is a short-distance communication technology with extremely high safety, further strengthens the protection of client information, can get rid of the constraint of physical media, and can use a smart phone, a smart bracelet or other portable devices.
An embodiment of the present invention provides a station gate for improving efficiency of ticket checking and security of tickets, and fig. 2 is a schematic diagram of a structure of the station gate in the embodiment of the present invention, as shown in fig. 2, the station gate includes:
the receiving module 201 is used for receiving a ticket key and biometric feature information of a client sent by a mobile banking client, wherein the ticket key of the client is obtained by encrypting according to ticket purchasing information and certificate information of the client;
the ticket key decryption module 202 is used for decrypting the ticket key of the client and determining ticket purchasing information and certificate information of the client;
the checking module 203 is used for checking ticket purchasing information and certificate information of a client; and after the ticket purchasing information and the certificate information pass the verification, verifying the identity of the client according to the biological characteristic information of the client.
In one embodiment, the checking module 203 is specifically configured to:
comparing the biological characteristic information of the client collected in real time with the biological characteristic information of the client sent by the mobile banking client;
and verifying the identity of the client according to the comparison result.
In specific implementation, when a customer approaches a mobile phone bank client to a station gate, the receiving module 201 may receive a ticket key and biometric information of the customer sent by the mobile phone bank client based on the NFC, then decrypt the ticket key of the customer based on a decryption algorithm (a reverse process of the encryption algorithm) predetermined with the mobile phone bank client, determine ticket purchasing information and certificate information of the customer, then compare the ticket purchasing information and certificate information of the customer obtained after decryption with ticket purchasing information and certificate information of the customer stored in advance in a ticket purchasing system, complete verification of the ticket purchasing information and certificate information of the customer according to a comparison result, compare the biometric information of the customer collected in real time with the biometric information of the customer sent by the mobile phone bank client after the verification is passed, and according to the comparison result, the identity of the client is verified, whether the client is the user is judged, and after the verification is passed, the client can get in and take a bus through a gate.
An embodiment of the present invention provides a ticket checking system, configured to improve efficiency of ticket checking and security of a ticket, where fig. 3 is a schematic diagram of a structure of the ticket checking system in the embodiment of the present invention, and as shown in fig. 3, the system includes: the mobile banking client side and the station gate machine are described above.
The following is a specific example to facilitate an understanding of how the invention may be practiced.
The first step is as follows: after receiving a ticket buying request of a client, the mobile phone bank client accesses a mobile phone bank to a ticket buying system to provide a ticket buying function for the client;
the second step is that: the mobile banking client acquires ticket purchasing information of a client through a ticket purchasing system, and inquires certificate information and biological characteristic information of the client according to the ticket purchasing information of the client;
the third step: the mobile banking client calls an encryption algorithm to encrypt ticket purchasing information and certificate information of a client to generate a ticket secret key of the client, then sets a dynamic update interval duration for the ticket secret key, starts timing when the ticket secret key of the client is generated, and re-encrypts the ticket purchasing information and the certificate information of the client when the timing reaches the dynamic update interval duration to generate a new ticket secret key;
the fourth step: when a customer arrives at a station and approaches a mobile banking client to a station gate, the mobile banking client sends a ticket key of the customer to the station gate based on Near Field Communication (NFC);
the fifth step: the station gate receives a ticket key and biological characteristic information of a client sent by a mobile banking client based on Near Field Communication (NFC), decrypts the ticket key of the client based on a decryption algorithm agreed with the mobile banking client in advance, and determines ticket purchasing information and certificate information of the client;
and a sixth step: and the station gate compares the decrypted ticket purchasing information and certificate information of the client with the ticket purchasing information and certificate information of the client which are stored in the ticket purchasing system in advance, completes the verification of the ticket purchasing information and certificate information of the client according to the comparison result, compares the biological characteristic information of the client collected in real time with the biological characteristic information of the client sent by the mobile banking client after the verification is passed, verifies the identity of the client according to the comparison result, and the client can enter the station through the gate and take the bus after the verification is passed.
In the whole station entering process, a user does not need to carry a paper ticket and an identity card, dependence on physical media such as the identity card can be avoided, if the identity card of the user is lost or forgotten to carry, the user can enter the station without additionally handling the identity card, and the efficiency of ticket verification is improved.
Based on the same inventive concept, the embodiment of the invention provides a ticket checking method (from the perspective of a mobile banking client) for improving the efficiency of ticket checking and the security of tickets, as in the following embodiments. The principle of solving the problems of the mobile banking client is similar to that of the ticket checking method, so the implementation of the method can be referred to that of the mobile banking client, and repeated parts are not described again.
Fig. 4 is a schematic diagram of a flow of a ticket verification method (from the perspective of a mobile banking client) in the embodiment of the present invention, and as shown in fig. 4, the method includes:
step 401: after receiving a ticket buying request of a client, a mobile banking client calls a ticket buying program interface;
step 402: after a customer finishes ticket purchasing through a ticket purchasing program interface, acquiring ticket purchasing information of the customer;
step 403: inquiring certificate information and biological characteristic information of the client according to ticket purchasing information of the client;
step 404: encrypting ticket purchasing information and certificate information of a client to generate a ticket secret key of the client;
step 405: when a customer approaches a mobile phone to a station gate, a ticket key and biological characteristic information of the customer are sent to the station gate; the station gate is used for verifying the ticket key and the biological characteristic information of the customer.
In one embodiment, the method further comprises:
setting a dynamic update interval duration for the ticket key;
when the ticket key of the client is generated, timing is started, and when the timing reaches the time of the dynamic updating interval, the ticket purchasing information and the certificate information of the client are encrypted again to generate a new ticket key.
In one embodiment, step 405 may comprise:
and when the customer approaches the mobile banking client to the station gate, the ticket key of the customer is sent to the station gate based on the Near Field Communication (NFC).
In one embodiment, step 404 may comprise:
dividing the plaintext cipher into multiple groups, and dividing each group of plaintext cipher into two groups of data with the same digits;
for each group of plaintext passwords, circularly shifting one group of data based on the subkeys; carrying out XOR operation on one group of data after cyclic shift and the other group of data; exchanging the positions of the two groups of data after the XOR operation;
and finally replacing the plurality of groups of plaintext passwords after the replacement to generate the ticket key of the client.
Based on the same inventive concept, embodiments of the present invention provide a ticket checking method (station gate angle) to improve the efficiency of ticket checking and the security of tickets, as in the following embodiments. Because the principle of solving the problem of the station gate is similar to that of the ticket checking method, the implementation of the method can be referred to that of the station gate, and repeated parts are not described again.
Fig. 5 is a schematic diagram (view of a station gate) of a ticket checking method according to an embodiment of the present invention, and as shown in fig. 5, the method includes:
step 501: the station gate receives a ticket key and biological characteristic information of a client sent by a mobile banking client, and the ticket key of the client is obtained by encrypting according to ticket purchasing information and certificate information of the client;
step 502: decrypting the ticket key of the client and determining ticket purchasing information and certificate information of the client;
step 503: checking ticket purchasing information and certificate information of a client; and after the ticket purchasing information and the certificate information pass the verification, verifying the identity of the client according to the biological characteristic information of the client.
In one embodiment, step 503 may comprise:
comparing the biological characteristic information of the client collected in real time with the biological characteristic information of the client sent by the mobile banking client;
and verifying the identity of the client according to the comparison result.
Based on the same inventive concept, embodiments of the present invention provide a ticket checking method (in terms of a ticket checking system) for improving the efficiency of ticket checking and the security of tickets, as in the following embodiments. Because the principle of the ticket checking system for solving the problems is similar to that of the ticket checking method, the implementation of the method can be referred to the implementation of the system, and repeated parts are not described again.
Fig. 6 is a schematic diagram of a flow of a ticket verification method in an embodiment of the present invention (from the perspective of a ticket verification system), and as shown in fig. 6, the method includes:
step 601: after receiving a ticket buying request of a client, a mobile banking client calls a ticket buying program interface; after a customer finishes ticket purchasing through a ticket purchasing program interface, acquiring ticket purchasing information of the customer; inquiring certificate information and biological characteristic information of the client according to ticket purchasing information of the client; encrypting ticket purchasing information and certificate information of a client to generate a ticket secret key of the client; when a customer approaches a mobile phone to a station gate, a ticket key and biological characteristic information of the customer are sent to the station gate;
step 602: the station gate receives a ticket key and biological characteristic information of a customer sent by a mobile banking client; decrypting the ticket key of the client and determining ticket purchasing information and certificate information of the client; checking ticket purchasing information and certificate information of a client; and after the ticket purchasing information and the certificate information pass the verification, verifying the identity of the client according to the biological characteristic information of the client.
The embodiment of the invention also provides computer equipment which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the ticket checking method is realized when the processor executes the computer program.
The embodiment of the invention also provides a computer readable storage medium, and the computer readable storage medium stores a computer program for executing the ticket checking method.
In summary, the embodiment of the present invention provides: after receiving a ticket buying request of a client, a mobile banking client calls a ticket buying program interface; after a customer finishes ticket purchasing through a ticket purchasing program interface, acquiring ticket purchasing information of the customer; inquiring certificate information and biological characteristic information of the client according to ticket purchasing information of the client; encrypting ticket purchasing information and certificate information of a client to generate a ticket secret key of the client; when a customer approaches a mobile phone to a station gate, a ticket key and biological characteristic information of the customer are sent to the station gate; the station gate receives a ticket key and biological characteristic information of a customer sent by a mobile banking client; decrypting the ticket key of the client and determining ticket purchasing information and certificate information of the client; checking ticket purchasing information and certificate information of a client; after ticket purchasing information and certificate information are verified, the identity of the customer is verified according to the biological characteristic information of the customer, dependence on physical media such as an identity card can be eliminated, ticket verification efficiency is improved, and ticket key-based verification avoids the risk of ticket embezzlement.
In addition, compared with carriers such as plain passwords, fixed encryption keys or two-dimensional codes, the dynamically updated ticket key has higher safety, and the risk of being intentionally cracked by others can be reduced; the Near Field Communication (NFC) can further strengthen the client information protection and also can get rid of the physical medium constraint.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and variations of the embodiment of the present invention may occur to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (12)
1. A mobile banking client, comprising:
the ticket buying program calling module is used for calling a ticket buying program interface after receiving a ticket buying request of a client;
the ticket-buying information obtaining module is used for obtaining the ticket-buying information of the client after the client finishes ticket-buying through the ticket-buying program interface;
the client information inquiry module is used for inquiring the certificate information and the biological characteristic information of the client according to the ticket purchasing information of the client;
the ticket key generating module is used for encrypting ticket purchasing information and certificate information of a client to generate a ticket key of the client;
the system comprises a sending module and a receiving module, wherein the sending module is used for sending the ticket key and the biological characteristic information of a client to a station gate when the client approaches the mobile phone to the station gate, and the station gate is used for verifying the ticket key and the biological characteristic information of the client.
2. The mobile banking client of claim 1 further comprising a ticket key update module to:
setting a dynamic update interval duration for the ticket key;
when the ticket key of the client is generated, timing is started, and when the timing reaches the time of the dynamic updating interval, the ticket purchasing information and the certificate information of the client are encrypted again to generate a new ticket key.
3. The mobile banking client of claim 1, wherein the sending module is specifically configured to:
and when the customer approaches the mobile banking client to the station gate, the ticket key of the customer is sent to the station gate based on the Near Field Communication (NFC).
4. The mobile banking client of claim 1, wherein the ticket key generation module is specifically configured to:
generating a plaintext password according to ticket purchasing information and certificate information of a client;
dividing the plaintext cipher into multiple groups, and dividing each group of plaintext cipher into two groups of data with the same digits;
for each group of plaintext passwords, circularly shifting one group of data based on the subkeys; carrying out XOR operation on one group of data after cyclic shift and the other group of data; exchanging the positions of the two groups of data after the XOR operation;
and finally replacing the plurality of groups of plaintext passwords after the replacement to generate the ticket key of the client.
5. A station gate, comprising:
the receiving module is used for receiving a ticket key and biological characteristic information of a client sent by a mobile banking client, and the ticket key of the client is obtained by encrypting according to ticket purchasing information and certificate information of the client;
the ticket key decryption module is used for decrypting the ticket key of the client and determining ticket purchasing information and certificate information of the client;
the verification module is used for verifying ticket purchasing information and certificate information of a client; and after the ticket purchasing information and the certificate information pass the verification, verifying the identity of the client according to the biological characteristic information of the client.
6. The station gate as claimed in claim 5, wherein the verification module is specifically configured to:
comparing the biological characteristic information of the client collected in real time with the biological characteristic information of the client sent by the mobile banking client;
and verifying the identity of the client according to the comparison result.
7. A ticket validation system, comprising: the mobile banking client side of any one of claims 1 to 4 and the station gate of any one of claims 5 to 6.
8. A ticket checking method, which is applied to the mobile banking client side of any one of claims 1 to 4, and comprises the following steps:
after receiving a ticket buying request of a client, a mobile banking client calls a ticket buying program interface;
after a customer finishes ticket purchasing through a ticket purchasing program interface, acquiring ticket purchasing information of the customer;
inquiring certificate information and biological characteristic information of the client according to ticket purchasing information of the client;
encrypting ticket purchasing information and certificate information of a client to generate a ticket secret key of the client;
when a customer approaches a mobile phone to a station gate, a ticket key and biological characteristic information of the customer are sent to the station gate; the station gate is used for verifying the ticket key and the biological characteristic information of the customer.
9. A ticket checking method applied to the station gate of any one of claims 5 to 6, the method comprising:
the station gate receives a ticket key and biological characteristic information of a client sent by a mobile banking client, and the ticket key of the client is obtained by encrypting according to ticket purchasing information and certificate information of the client;
decrypting the ticket key of the client and determining ticket purchasing information and certificate information of the client;
checking ticket purchasing information and certificate information of a client; and after the ticket purchasing information and the certificate information pass the verification, verifying the identity of the client according to the biological characteristic information of the client.
10. A ticket checking method applied to the ticket checking system of claim 7, the method comprising:
after receiving a ticket buying request of a client, a mobile banking client calls a ticket buying program interface; after a customer finishes ticket purchasing through a ticket purchasing program interface, acquiring ticket purchasing information of the customer; inquiring certificate information and biological characteristic information of the client according to ticket purchasing information of the client; encrypting ticket purchasing information and certificate information of a client to generate a ticket secret key of the client; when a customer approaches a mobile phone to a station gate, a ticket key and biological characteristic information of the customer are sent to the station gate;
the station gate receives a ticket key and biological characteristic information of a customer sent by a mobile banking client; decrypting the ticket key of the client and determining ticket purchasing information and certificate information of the client; checking ticket purchasing information and certificate information of a client; and after the ticket purchasing information and the certificate information pass the verification, verifying the identity of the client according to the biological characteristic information of the client.
11. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of any of claims 8 to 10 when executing the computer program.
12. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for executing the method of any one of claims 8 to 10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010838974.2A CN111932692A (en) | 2020-08-19 | 2020-08-19 | Ticket checking system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010838974.2A CN111932692A (en) | 2020-08-19 | 2020-08-19 | Ticket checking system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111932692A true CN111932692A (en) | 2020-11-13 |
Family
ID=73305428
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010838974.2A Pending CN111932692A (en) | 2020-08-19 | 2020-08-19 | Ticket checking system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111932692A (en) |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102063740A (en) * | 2010-11-15 | 2011-05-18 | 北京交通大学 | Real-name railway ticket detecting system based on palm vein network characteristic authentication |
CN102110312A (en) * | 2010-12-27 | 2011-06-29 | 东莞宇龙通信科技有限公司 | Electronic ticket verifying method, verification system and mobile terminal |
CN102222368A (en) * | 2011-04-28 | 2011-10-19 | 王鑫 | Electronic ticket authentication system applying short-distance communication technology and detection method |
CN102236877A (en) * | 2010-04-28 | 2011-11-09 | 陈麟华 | Method for preventing scalping tickets |
CN103258351A (en) * | 2012-02-15 | 2013-08-21 | 国民技术股份有限公司 | Real-name system ticket purchasing method and real-name system ticketing system |
WO2013164579A1 (en) * | 2012-05-02 | 2013-11-07 | Itso Limited | Ticket validation apparatus and method |
CN103400418A (en) * | 2013-07-26 | 2013-11-20 | 电子科技大学 | Electronic ticket sale and check method based on NFC (Near Field Communication) mobile terminal |
CN104092535A (en) * | 2014-07-24 | 2014-10-08 | 福建升腾资讯有限公司 | Method for encrypting DES passwords |
US20150053757A1 (en) * | 2013-08-26 | 2015-02-26 | Venuenext, Inc. | Ticket validation system |
CN106899570A (en) * | 2016-12-14 | 2017-06-27 | 阿里巴巴集团控股有限公司 | The processing method of Quick Response Code, apparatus and system |
CN107945287A (en) * | 2017-11-08 | 2018-04-20 | 中国银行股份有限公司 | One kind digitlization Tickets Systems and data processing method |
CN108074309A (en) * | 2017-11-23 | 2018-05-25 | 郑州云海信息技术有限公司 | A kind of bus ticket booking ticket-checking system and method based on Quick Response Code |
-
2020
- 2020-08-19 CN CN202010838974.2A patent/CN111932692A/en active Pending
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102236877A (en) * | 2010-04-28 | 2011-11-09 | 陈麟华 | Method for preventing scalping tickets |
CN102063740A (en) * | 2010-11-15 | 2011-05-18 | 北京交通大学 | Real-name railway ticket detecting system based on palm vein network characteristic authentication |
CN102110312A (en) * | 2010-12-27 | 2011-06-29 | 东莞宇龙通信科技有限公司 | Electronic ticket verifying method, verification system and mobile terminal |
CN102222368A (en) * | 2011-04-28 | 2011-10-19 | 王鑫 | Electronic ticket authentication system applying short-distance communication technology and detection method |
CN103258351A (en) * | 2012-02-15 | 2013-08-21 | 国民技术股份有限公司 | Real-name system ticket purchasing method and real-name system ticketing system |
WO2013164579A1 (en) * | 2012-05-02 | 2013-11-07 | Itso Limited | Ticket validation apparatus and method |
CN103400418A (en) * | 2013-07-26 | 2013-11-20 | 电子科技大学 | Electronic ticket sale and check method based on NFC (Near Field Communication) mobile terminal |
US20150053757A1 (en) * | 2013-08-26 | 2015-02-26 | Venuenext, Inc. | Ticket validation system |
CN104092535A (en) * | 2014-07-24 | 2014-10-08 | 福建升腾资讯有限公司 | Method for encrypting DES passwords |
CN106899570A (en) * | 2016-12-14 | 2017-06-27 | 阿里巴巴集团控股有限公司 | The processing method of Quick Response Code, apparatus and system |
CN107945287A (en) * | 2017-11-08 | 2018-04-20 | 中国银行股份有限公司 | One kind digitlization Tickets Systems and data processing method |
CN108074309A (en) * | 2017-11-23 | 2018-05-25 | 郑州云海信息技术有限公司 | A kind of bus ticket booking ticket-checking system and method based on Quick Response Code |
Non-Patent Citations (1)
Title |
---|
秦科: "《网络安全协议》", 31 March 2019 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10419416B2 (en) | Encryption and decryption techniques using shuffle function | |
CN110519260B (en) | Information processing method and information processing device | |
KR101863953B1 (en) | System and method for providing electronic signature service | |
US9258296B2 (en) | System and method for generating a strong multi factor personalized server key from a simple user password | |
JP2018521417A (en) | Safety verification method based on biometric features, client terminal, and server | |
US8195951B2 (en) | Data processing system for providing authorization keys | |
CN110710155A (en) | Progressive key encryption algorithm | |
CN101128831A (en) | Authentication system and authentication method | |
CN1921395B (en) | Method for improving security of network software | |
CN110138548B (en) | Quantum communication service station key negotiation method and system based on asymmetric key pool pair and DH protocol | |
CN111242611B (en) | Method and system for recovering digital wallet key | |
CZ2015473A3 (en) | The method of authentication security in electronic communication | |
CN106936588A (en) | A kind of trustship method, the apparatus and system of hardware controls lock | |
JP2002208925A (en) | Qualification authentication method using variable authentication information | |
CN104881595B (en) | The self-help remote unlocking method managed based on PIN code | |
CN110098925B (en) | Quantum communication service station key negotiation method and system based on asymmetric key pool pair and random number | |
CN110431803A (en) | Identity-based information management encryption key | |
US20030097559A1 (en) | Qualification authentication method using variable authentication information | |
CN105072136B (en) | A kind of equipment room safety certifying method and system based on virtual drive | |
CN111932692A (en) | Ticket checking system and method | |
WO2022130528A1 (en) | Recovery verification system, collation system, recovery verification method, and non-temporary computer readable medium | |
CN110113152B (en) | Quantum communication service station key negotiation method and system based on asymmetric key pool pair and digital signature | |
CN110138547B (en) | Quantum communication service station key negotiation method and system based on asymmetric key pool pair and serial number | |
KR101800503B1 (en) | Transaction signing and authentication system for multichannel electronic commerce and method thereof | |
CN114282254A (en) | Encryption and decryption method and device, and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201113 |
|
RJ01 | Rejection of invention patent application after publication |