CN111199585B - Ticket checking method, device, system, storage medium and computer equipment - Google Patents

Ticket checking method, device, system, storage medium and computer equipment Download PDF

Info

Publication number
CN111199585B
CN111199585B CN202010031407.6A CN202010031407A CN111199585B CN 111199585 B CN111199585 B CN 111199585B CN 202010031407 A CN202010031407 A CN 202010031407A CN 111199585 B CN111199585 B CN 111199585B
Authority
CN
China
Prior art keywords
certificate
information
reading
train number
chip
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.)
Active
Application number
CN202010031407.6A
Other languages
Chinese (zh)
Other versions
CN111199585A (en
Inventor
苏建飞
张志强
单杏花
朱建生
徐海涛
化小刚
阎志远
刘强
赵楠
张霞
贾成强
刘文韬
尹伊伊
王红爱
张晨阳
周强
胡志鹏
刘国峰
李士达
吴首蓉
潘浪涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Railway Trip Science And Technology Co ltd
Institute of Computing Technologies of CARS
Beijing Jingwei Information Technology Co Ltd
Original Assignee
China Railway Trip Science And Technology Co ltd
Institute of Computing Technologies of CARS
Beijing Jingwei Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China Railway Trip Science And Technology Co ltd, Institute of Computing Technologies of CARS, Beijing Jingwei Information Technology Co Ltd filed Critical China Railway Trip Science And Technology Co ltd
Priority to CN202010031407.6A priority Critical patent/CN111199585B/en
Publication of CN111199585A publication Critical patent/CN111199585A/en
Application granted granted Critical
Publication of CN111199585B publication Critical patent/CN111199585B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B11/00Apparatus for validating or cancelling issued tickets

Abstract

The embodiment of the invention provides a ticket checking method, a ticket checking device, a ticket checking system, a storage medium and computer equipment. In the embodiment of the invention, the gate reads certificate chip information of a certificate, acquires a certificate number of the certificate from a certificate encryption system according to the certificate chip information, receives inquired train number information sent by a passenger ticket system if the passenger ticket system inquires train number information corresponding to the certificate number, and controls the gate to be opened if the prestored current train number information is consistent with the inquired train number information. The certificate encryption system in the embodiment of the invention can obtain the certificate number of the certificate, so that a passenger ticket system can inquire the information of the number of the vehicle outlet through the certificate number, and the gate is opened according to the information of the number of the vehicle outlet, so that overseas passengers can also use the certificate to pass through the gate, the time required by the overseas passengers to enter the station is reduced, and the efficiency of ticket checking and entering the station is further improved.

Description

Ticket checking method, device, system, storage medium and computer equipment
[ technical field ] A method for producing a semiconductor device
The invention relates to the technical field of data processing, in particular to a ticket checking method, a ticket checking device, a ticket checking system, a storage medium and computer equipment.
[ background of the invention ]
The ticket checking system is applied to the national railway range and comprises a China railway general company, eighteen railway bureau regional centers, more than two thousand passenger transport business stations and the like. With the development of railway information technology, besides the traditional manual ticket checking of railway staff, the ticket checking system can also be used for users to check tickets for entry by self-help using the identity cards of residents of the people's republic of China.
Because of numerous population in China, the ticket checking and entering demand is high, and many overseas passengers need to check tickets and enter the station, the traditional mode of checking tickets by using the identity cards of residents of the people's republic of China cannot meet the demand of the overseas passengers. The ticket checking needs to be carried out manually for the overseas passengers, so that the labor cost is increased, the ticket checking and arrival efficiency is reduced, and much inconvenience is also caused for the overseas passengers.
[ summary of the invention ]
In view of this, embodiments of the present invention provide a ticket checking method, apparatus, system, storage medium, and computer device, so as to solve the problem of low ticket checking efficiency.
In one aspect, an embodiment of the present invention provides a ticket checking method, including:
reading certificate chip information of a certificate;
acquiring the certificate number of the certificate from the certificate encryption system according to the certificate chip information;
sending a query message to a passenger ticket system, wherein the query message comprises the certificate number so that the passenger ticket system can query the train number information corresponding to the certificate number;
if the passenger ticket system inquires the train number information corresponding to the certificate number, receiving a confirmation message sent by the passenger ticket system, wherein the confirmation message comprises the inquired train number information;
judging whether the pre-stored current train number information is consistent with the inquired train number information or not;
and if the pre-stored current train number information is consistent with the inquired train number information, controlling the opening of a gate.
Optionally, the document comprises: a passport or a port and australian pass.
Optionally, the reading of the certificate chip information of the certificate comprises:
responding to the read certificate type information of the certificate, and sending a first read request to a certificate encryption system, wherein the first read request comprises the certificate type information;
receiving a reading key sent by the certificate encryption system in response to the certificate type information;
reading certificate chip information of a certificate specifically comprises:
reading certificate chip information of the certificate according to the reading secret key;
the acquiring the certificate number of the certificate from the certificate encryption system according to the certificate chip information specifically comprises the following steps:
sending the certificate chip information to the certificate encryption system so that the certificate encryption system decrypts the certificate chip information according to a decryption key to obtain certificate information;
and receiving the certificate information sent by the certificate encryption system, wherein the certificate information comprises a certificate number.
Optionally, the reading the certificate chip information of the certificate according to the reading key specifically includes:
sending a second reading request to the certificate chip, wherein the second reading request comprises a reading key, so that the certificate chip can compare whether the reading key is consistent with the certificate key or not;
and receiving certificate chip information sent by the chip when the read key is compared with the certificate key to be consistent.
Optionally, the method further comprises:
and receiving a first alarm message generated and sent by the passenger ticket system when the train number information corresponding to the certificate number is not inquired, and giving an alarm according to the first alarm message.
Optionally, the method further comprises:
and if the pre-stored train number information is judged to be inconsistent with the inquired train number information, generating a second alarm message, and giving an alarm according to the second alarm message.
On the other hand, an embodiment of the present invention provides a ticket checking device, including:
the reading module is used for reading certificate chip information of the certificate;
the communication module is used for acquiring the certificate number of the certificate from the certificate encryption system according to the certificate chip information; the ticket system is also used for sending a query message to a passenger ticket system, wherein the query message comprises the certificate number so that the passenger ticket system can query the train number information corresponding to the certificate number; the system is also used for receiving a confirmation message sent by the passenger ticket system when judging that the pre-stored train number information is consistent with the inquired train number information, wherein the confirmation message comprises the inquired train number information;
the computing module is used for judging whether the pre-stored current train number information is consistent with the inquired train number information;
and the control module is used for controlling the gate of the gate to be opened if the judging module judges that the pre-stored current train number information is consistent with the inquired train number information.
In another aspect, an embodiment of the present invention provides a ticket checking system, where the system includes: the system comprises a gate, a certificate encryption system and a passenger ticket system;
the gate is used for reading certificate chip information of the certificate; the certificate encryption system is also used for acquiring the certificate number of the certificate from the certificate encryption system according to the certificate chip information;
the gate is also used for sending a query message to a passenger ticket system, wherein the query message comprises the certificate number;
the passenger ticket system is used for inquiring train number information corresponding to the certificate number;
the gate is also used for receiving a confirmation message sent by the passenger ticket system after inquiring the train number information corresponding to the certificate number, wherein the confirmation message comprises the inquired train number information; judging whether the pre-stored current train number information is consistent with the inquired train number information or not; and if the pre-stored current train number information is consistent with the inquired train number information, controlling the opening of a gate.
In another aspect, an embodiment of the present invention provides a storage medium, including: the storage medium comprises a stored program, wherein when the program runs, the device where the storage medium is located is controlled to execute the ticket checking method.
In another aspect, an embodiment of the present invention provides a computer device, including a memory and a processor, where the memory is used to store information including program instructions, and the processor is used to control execution of the program instructions, where the program instructions are loaded by the processor and executed to implement the steps of the ticket checking method.
In the technical scheme provided by the embodiment of the invention, the gate reads certificate chip information of a certificate, acquires a certificate number of the certificate from a certificate encryption system according to the certificate chip information, receives inquired train number information sent by a passenger ticket system if the passenger ticket system inquires train number information corresponding to the certificate number, and controls the gate to be opened if the prestored current train number information is consistent with the inquired train number information. The certificate encryption system in the embodiment of the invention can obtain the certificate number of the certificate, so that a passenger ticket system can inquire the information of the number of the vehicle outlet through the certificate number, and the gate is opened according to the information of the number of the vehicle outlet, so that overseas passengers can also use the certificate to pass through the gate, the time required by the overseas passengers to enter the station is reduced, and the efficiency of ticket checking and entering the station is further improved.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
Fig. 1 is a schematic structural diagram of a ticket checking system according to an embodiment of the present invention;
fig. 2 is a flowchart of a ticket checking method according to an embodiment of the present invention;
FIG. 3 is a flow chart of another ticket checking method provided by the embodiment of the invention;
fig. 4 is a schematic structural diagram of a ticket checking device according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a computer device according to an embodiment of the present invention.
[ detailed description ] embodiments
For better understanding of the technical solutions of the present invention, the following detailed descriptions of the embodiments of the present invention are provided with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all 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.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that the term "and/or" as used herein is merely one type of associative relationship that describes an associated object, meaning that three types of relationships may exist, e.g., A and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
Fig. 1 is a schematic structural diagram of a ticket checking system according to an embodiment of the present invention, and as shown in fig. 1, the system includes: the ticket system comprises a gate 1, a certificate encryption system 2 and a passenger ticket system 3, wherein the gate 1 comprises a gate 11, a reading module 12 and a data processing unit 13.
The data processing unit 13 is connected with the passenger ticket system 3, the data processing unit 13 is connected with the certificate encryption system 2, the reading module 12 is connected with the data processing unit 13, and the data processing unit 13 is connected with the gate 11.
As shown in fig. 1, the reading module 12 is used to read credential chip information of a credential 4, the credential 4 of an outsider including a passport or a port and macaque pass.
The data processing unit 13 is used for acquiring the certificate number of the certificate 4 from the certificate encryption system 2 according to the certificate chip information; and is further configured to send a query message to the ticket system 3, where the query message includes a certificate number.
The passenger ticket system 3 is used for inquiring train number information corresponding to the certificate number.
The data processing unit 13 is further configured to receive a confirmation message sent by the ticket system 3 after inquiring the train number information corresponding to the certificate number, where the confirmation message includes the inquired train number information; and the system is also used for judging whether the pre-stored current train number information is consistent with the inquired train number information. And if the data processing unit 13 judges that the pre-stored current train number information is consistent with the inquired train number information, controlling the gate 11 to be opened.
In an embodiment of the invention, the document 4 comprises: a passport or a port and australian pass.
In the embodiment of the present invention, data transmission is performed between the certificate 4 and the reading module 12 through Near Field Communication (NFC).
In the embodiment of the present invention, the data processing unit 13 and the ticket system 3 communicate with each other via the fourth generation mobile communication technology (the 4)thGeneration mobile communication technology, 4G) or fifth Generation mobile communication technology (the 5)thGeneration mobile communication technology, 5G).
The data processing unit 13 and the certificate encryption system 2 are in data transmission through 4G or 5G technology.
In the embodiment of the invention, the gate 1 is provided with the gate 11, the gate 11 comprises a swing gate, a wing gate, a rotary gate, a linear gate, a translation gate or a three-roller gate, the barrier arranged on the gate 11 is used for regulating the passing of passengers, and only one person is allowed to pass through the barrier when the barrier is opened once, so that the trailing is prevented.
In the embodiment of the present invention, the data processing unit 13 is further configured to send a first read request to the certificate encryption system 2 in response to reading the certificate type information of the certificate 4, where the first read request includes the certificate type information; receiving the read key sent by the certificate encryption system 2 in response to the certificate type information.
The data processing unit 13 is also used for reading out certificate chip information of the certificate 4 according to the reading key; and also for sending credential chip information to the credential encryption system 2.
The certificate encryption system 2 is further configured to decrypt the certificate chip information according to the decryption key to obtain certificate information, and send the certificate information to the data processing unit 13, where the certificate information includes a certificate number.
In this embodiment of the present invention, the data processing unit 13 is further configured to send a second read request to the chip of the certificate 4, where the second read request includes a read key, so that the chip compares whether the read key is consistent with the certificate key; and the receiving chip compares the certificate chip information sent when the reading key is consistent with the certificate key.
In the embodiment of the present invention, the ticket system 3 is further configured to generate and send a first alarm message to the data processing unit 13 when the train number information corresponding to the certificate number is not queried, so that the data processing unit 13 gives an alarm according to the first alarm message.
In this embodiment of the present invention, the data processing unit 13 is further configured to generate a second alarm message if the data processing unit 13 determines that the pre-stored train number information is inconsistent with the inquired train number information.
The data processing unit 13 is further configured to alarm according to the second alarm message.
In the technical scheme of the ticket checking system provided by the embodiment of the invention, a gate reads certificate chip information of a certificate, acquires a certificate number of the certificate from a certificate encryption system according to the certificate chip information, receives train number information inquired and sent by a passenger ticket system if the passenger ticket system inquires train number information corresponding to the certificate number, and controls a gate to be opened if the prestored current train number information is consistent with the inquired train number information. The certificate encryption system in the embodiment of the invention can obtain the certificate number of the certificate, so that a passenger ticket system can inquire the information of the number of the vehicle outlet through the certificate number, and the gate is opened according to the information of the number of the vehicle outlet, so that overseas passengers can also use the certificate to pass through the gate, the time required by the overseas passengers to enter the station is reduced, and the efficiency of ticket checking and entering the station is further improved.
Fig. 2 is a flowchart of a ticket checking method according to an embodiment of the present invention, and as shown in fig. 2, the method includes:
step 101, reading certificate chip information of a certificate;
102, acquiring a certificate number of the certificate from the certificate encryption system according to the certificate chip information;
103, sending an inquiry message to a passenger ticket system, wherein the inquiry message comprises the certificate number so that the passenger ticket system can inquire train number information corresponding to the certificate number;
104, if the train number information corresponding to the certificate number is inquired by the passenger ticket system, receiving a confirmation message sent by the passenger ticket system, wherein the confirmation message comprises the inquired train number information;
step 105, judging whether the pre-stored current train number information is consistent with the inquired train number information;
and 106, if the pre-stored current train number information is consistent with the inquired train number information, controlling a gate of the gate to be opened.
In the technical scheme of the ticket checking method provided by the embodiment of the invention, a gate reads certificate chip information of a certificate, acquires a certificate number of the certificate from a certificate encryption system according to the certificate chip information, receives train number information inquired and sent by a passenger ticket system if the passenger ticket system inquires train number information corresponding to the certificate number, and controls a gate to be opened if the prestored current train number information is consistent with the inquired train number information. The certificate encryption system in the embodiment of the invention can obtain the certificate number of the certificate, so that a passenger ticket system can inquire the information of the number of the vehicle outlet through the certificate number, and the gate is opened according to the information of the number of the vehicle outlet, so that overseas passengers can also use the certificate to pass through the gate, the time required by the overseas passengers to enter the station is reduced, and the efficiency of ticket checking and entering the station is further improved.
Fig. 3 is a flowchart of another ticket checking method according to an embodiment of the present invention, and as shown in fig. 3, the method includes:
step 201, the data processing unit responds to the certificate type information read by the reading module to send a first reading request to the certificate encryption system, wherein the first reading request comprises the certificate type information.
In the step, the passenger pastes the certificate to a certificate sensor of the gate, the certificate sensor comprises a reading module, and the reading module sends a searching instruction to the outside every 50 milliseconds.
When a passenger pastes the certificate on the certificate sensor, the reading module reads the chip of the certificate in an NFC data communication mode, and certificate type information of the certificate can be obtained.
And when the reading module reads the certificate type information of the certificate, the reading module stops sending a searching instruction to the outside.
The certificate type information includes passport type information or port and Australia pass type information.
Step 202, the data processing unit receives a read key sent by the certificate encryption system in response to the certificate type information.
The certificate encryption system stores the corresponding relation between the certificate type information and the reading key, and the reading key corresponding to the certificate type information can be inquired according to the certificate type information.
One kind of certificate type information corresponds to one kind of reading key. For example: the passport type information corresponds to a reading key of the passport; the type information of the Gango and Macao pass corresponds to a read key of the Gango and Macao pass.
The reading key is used for reading the encrypted information of the chip in the certificate.
Step 203, the data processing unit sends a second read request to the chip of the certificate, where the second read request includes a read key.
Step 204, the chip compares whether the read key is consistent with the certificate key, if so, step 205 is executed; if not, go to step 206.
The certificate key for protecting information is written in the chip of the certificate, and the chip of the certificate can be read only if the reading key in the certificate encryption system is consistent with the certificate key.
If the read key is consistent with the certificate key by comparing the chip, the chip of the certificate is made by the country uniformly.
If the chip compares that the read key is inconsistent with the certificate key, the chip of the certificate is not made by the country uniformly, and the certificate is possibly a counterfeit certificate.
Step 205, the chip reads the certificate chip information of the certificate according to the reading key and sends the certificate chip information to the data processing unit, and step 207 is executed.
In this step, the credential chip information includes credential information to be decrypted.
And step 206, the chip sends an error message to the reading module, the reading module sends the error message to the data processing unit, the data processing unit gives an alarm according to the error message, and the process is ended.
The chip stores error messages in advance, and the error messages comprise light warning or voice prompt and are used for prompting the staff in the station that the certificate chip has problems.
Step 207, the data processing unit sends the certificate chip information to the certificate encryption system.
And step 208, the certificate encryption system decrypts the certificate chip information according to the decryption key to obtain the certificate information.
The certificate encryption system stores decryption keys of all certificate types, and decrypts the certificate chip information according to the decryption keys.
The certificate information includes one or more of a photograph, name, gender, place of birth, date of birth, certificate number, or certificate validity period.
And step 209, the certificate encryption system sends certificate information to the data processing unit, wherein the certificate information comprises a certificate number.
Step 210, the data processing unit sends a query message to the ticket system, wherein the query message includes a certificate number.
Step 211, the passenger ticket system determines whether the train number information corresponding to the certificate number can be inquired, if yes, step 212 is executed; if not, go to step 215.
If the passenger ticket system judges that the train number information corresponding to the certificate number can be inquired, the passenger is indicated to purchase the ticket.
If the passenger ticket system judges that the train number information corresponding to the certificate number cannot be inquired, the passenger is indicated that the passenger does not purchase the ticket.
Step 212, the ticket system sends a confirmation message to the data processing unit, where the confirmation message includes the queried train number information.
The inquired train number information includes train number information of the tickets purchased by the passengers.
Step 213, the data processing unit determines whether the pre-stored current train number information is consistent with the inquired train number information, if yes, step 214 is executed; if not, go to step 216.
The gate stores the train number information of all train numbers on the current date, and can automatically skip the current train number according to the current time.
If the calculation module judges that the pre-stored current train number information is consistent with the inquired train number information, the ticket checking time of the current train number is indicated.
If the calculation module judges that the pre-stored current train number information is inconsistent with the inquired train number information, the ticket checking time of the current train number is not reached.
And step 214, the data processing unit controls the gate of the gate to be opened, and the process is ended.
Step 215, the ticket system generates a first alarm message and sends the first alarm message to the data processing unit, and the data processing unit gives an alarm according to the first alarm message.
The first warning message comprises a light warning or a voice prompt for prompting the station staff that the passenger does not purchase the ticket.
And step 216, the data processing unit generates a second alarm message, and the data processing unit alarms according to the second alarm message.
The second alarm message comprises a light alarm or a voice prompt and is used for prompting the station staff that the train number purchased by the passenger is not up to the ticket checking time.
In the technical scheme of the ticket checking method provided by the embodiment of the invention, a gate reads certificate chip information of a certificate, acquires a certificate number of the certificate from a certificate encryption system according to the certificate chip information, receives train number information inquired and sent by a passenger ticket system if the passenger ticket system inquires train number information corresponding to the certificate number, and controls a gate to be opened if the prestored current train number information is consistent with the inquired train number information. The certificate encryption system in the embodiment of the invention can obtain the certificate number of the certificate, so that a passenger ticket system can inquire the information of the number of the vehicle outlet through the certificate number, and the gate is opened according to the information of the number of the vehicle outlet, so that overseas passengers can also use the certificate to pass through the gate, the time required by the overseas passengers to enter the station is reduced, and the efficiency of ticket checking and entering the station is further improved.
The embodiment of the invention provides a ticket checking device. Fig. 4 is a schematic structural diagram of a ticket checking device according to an embodiment of the present invention, and as shown in fig. 4, the device includes: a reading module 12, a calculation module 131, a control module 132 and a communication module 133.
In the embodiment of the present invention, the data processing unit 13 in fig. 1 may include a computing module 131, a control module 132, a communication module 133, and an alarm module 134.
The reading module 12 is used for reading certificate chip information of a certificate.
The communication module 133 is configured to obtain a certificate number of the certificate from the certificate encryption system according to the certificate chip information; the ticket system is also used for sending a query message to a passenger ticket system, wherein the query message comprises the certificate number so that the passenger ticket system can query the train number information corresponding to the certificate number; and the passenger ticket system is also used for receiving a confirmation message sent by the passenger ticket system when judging that the pre-stored train number information is consistent with the inquired train number information, wherein the confirmation message comprises the inquired train number information.
The calculating module 131 is configured to determine whether the pre-stored current train number information is consistent with the inquired train number information.
The control module 132 is configured to control the gate to open if the calculation module 131 determines that the pre-stored current train number information is consistent with the inquired train number information.
In an embodiment of the invention, the document comprises: a passport or a port and australian pass.
In this embodiment of the present invention, the communication module 133 is further configured to send a first read request to the certificate encryption system in response to reading the certificate type information of the certificate, where the first read request includes the certificate type information; and receiving a reading key sent by the certificate encryption system in response to the certificate type information.
The reading module 12 is further configured to read credential chip information of the credential according to the reading key.
The communication module 133 is specifically configured to send the certificate chip information to the certificate encryption system, so that the certificate encryption system decrypts the certificate chip information according to a decryption key to obtain certificate information; the certificate encryption system is also used for receiving the certificate information sent by the certificate encryption system, and the certificate information comprises a certificate number; the certificate management system is also used for sending a second reading request to the chip of the certificate, wherein the second reading request comprises a reading key, so that the chip can compare whether the reading key is consistent with the certificate key or not; and the certificate chip is also used for receiving certificate chip information sent by the chip when the read key is compared with the certificate key to be consistent.
In this embodiment of the present invention, the communication module 133 is further configured to receive a first alarm message that is generated and sent by the passenger ticket system when the train number information corresponding to the certificate number is not queried, so that the communication module 133 sends the first alarm message to the alarm module 134, so that the alarm module 134 gives an alarm according to the first alarm message.
In this embodiment of the present invention, the calculating module 131 is further configured to generate a second alarm message if it is determined that the pre-stored train number information is inconsistent with the inquired train number information, and send the second alarm message to the alarm module 134, so that the alarm module 134 alarms according to the second alarm message.
The ticket checking device provided by this embodiment may be used to implement the ticket checking method in fig. 2 and fig. 3, and for specific description, reference may be made to the above embodiment of the ticket checking method, and a description will not be repeated here.
In the technical scheme of the ticket checking device provided by the embodiment of the invention, a gate reads certificate chip information of a certificate, acquires a certificate number of the certificate from a certificate encryption system according to the certificate chip information, receives train number information inquired and sent by a passenger ticket system if the passenger ticket system inquires train number information corresponding to the certificate number, and controls a gate to be opened if the prestored current train number information is consistent with the inquired train number information. The certificate encryption system in the embodiment of the invention can obtain the certificate number of the certificate, so that a passenger ticket system can inquire the information of the number of the vehicle outlet through the certificate number, and the gate is opened according to the information of the number of the vehicle outlet, so that overseas passengers can also use the certificate to pass through the gate, the time required by the overseas passengers to enter the station is reduced, and the efficiency of ticket checking and entering the station is further improved.
The embodiment of the present invention provides a storage medium, where the storage medium includes a stored program, where, when the program runs, a device in which the storage medium is located is controlled to execute each step of the above ticket checking method, and for specific description, reference may be made to the above ticket checking method.
An embodiment of the present invention provides a computer device, including a memory and a processor, where the memory is used to store information including program instructions, and the processor is used to control execution of the program instructions, and the program instructions are loaded and executed by the processor to implement the steps of the above ticket checking method.
Fig. 5 is a schematic diagram of a computer device according to an embodiment of the present invention. As shown in fig. 5, the computer device 30 of this embodiment includes: a processor 31, a memory 32, and a computer program 33 stored in the memory 32 and capable of running on the processor 31, where the computer program 33 is executed by the processor 31 to implement the method applied to ticket checking in the embodiments, and in order to avoid repetition, the details are not repeated here. Alternatively, the computer program is executed by the processor 31 to implement the functions of each model/unit applied to the ticket checking device in the embodiments, which are not repeated herein to avoid repetition.
The computer device 30 includes, but is not limited to, a processor 31, a memory 32. Those skilled in the art will appreciate that fig. 5 is merely an example of a computer device 30 and is not intended to limit the computer device 30 and that it may include more or fewer components than shown, or some components may be combined, or different components, e.g., the computer device may also include input output devices, network access devices, buses, etc.
The Processor 31 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 32 may be an internal storage unit of the computer device 30, such as a hard disk or a memory of the computer device 30. The memory 32 may also be an external storage device of the computer device 30, such as a plug-in hard disk provided on the computer device 30, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the memory 32 may also include both internal and external storage units of the computer device 30. The memory 32 is used for storing computer programs and other programs and data required by the computer device. The memory 32 may also be used to temporarily store data that has been output or is to be output.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions in actual implementation, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a Processor (Processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (9)

1. A method of checking tickets, comprising:
reading certificate chip information of a certificate;
acquiring the certificate number of the certificate from a certificate encryption system according to the certificate chip information;
sending a query message to a passenger ticket system, wherein the query message comprises the certificate number so that the passenger ticket system can query the train number information corresponding to the certificate number;
if the passenger ticket system inquires the train number information corresponding to the certificate number, receiving a confirmation message sent by the passenger ticket system, wherein the confirmation message comprises the inquired train number information;
judging whether the pre-stored current train number information is consistent with the inquired train number information or not;
if the pre-stored current train number information is consistent with the inquired train number information, controlling a brake opening of a brake to be opened;
the reading of the certificate chip information of the certificate comprises the following steps:
responding to the read certificate type information of the certificate, and sending a first read request to a certificate encryption system, wherein the first read request comprises the certificate type information;
receiving a reading key sent by the certificate encryption system in response to the certificate type information;
reading certificate chip information of a certificate specifically comprises:
reading certificate chip information of the certificate according to the reading secret key;
the acquiring the certificate number of the certificate from the certificate encryption system according to the certificate chip information specifically comprises the following steps:
sending the certificate chip information to the certificate encryption system so that the certificate encryption system decrypts the certificate chip information according to a decryption key to obtain certificate information;
and receiving the certificate information sent by the certificate encryption system, wherein the certificate information comprises a certificate number.
2. The method of claim 1, wherein the document comprises: a passport or a port and australian pass.
3. The method of claim 1, wherein reading credential chip information of a credential according to the read key specifically comprises:
sending a second reading request to the certificate chip, wherein the second reading request comprises a reading secret key, so that the certificate chip can compare whether the reading secret key is consistent with the certificate secret key or not;
and receiving certificate chip information sent by the chip when the read key is compared with the certificate key to be consistent.
4. The method of claim 1, further comprising:
and receiving a first alarm message generated and sent by the passenger ticket system when the train number information corresponding to the certificate number is not inquired, and giving an alarm according to the first alarm message.
5. The method of claim 1, further comprising:
and if the pre-stored train number information is judged to be inconsistent with the inquired train number information, generating a second alarm message, and giving an alarm according to the second alarm message.
6. A ticket checking apparatus, comprising:
the reading module is used for reading certificate chip information of the certificate;
the communication module is used for acquiring the certificate number of the certificate from the certificate encryption system according to the certificate chip information; the ticket system is also used for sending a query message to a passenger ticket system, wherein the query message comprises the certificate number so that the passenger ticket system can query the train number information corresponding to the certificate number; the system is also used for receiving a confirmation message sent by the passenger ticket system when judging that the pre-stored train number information is consistent with the inquired train number information, wherein the confirmation message comprises the inquired train number information;
the computing module is used for judging whether the pre-stored current train number information is consistent with the inquired train number information;
the control module is used for controlling a gate of the gate to be opened if the calculation module judges that the pre-stored current train number information is consistent with the inquired train number information;
the communication module is also used for responding to the certificate type information read to the certificate and sending a first reading request to the certificate encryption system, wherein the first reading request comprises the certificate type information; receiving a reading key sent by the certificate encryption system in response to the certificate type information;
the reading module is also used for reading certificate chip information of the certificate according to the reading secret key;
the communication module is specifically used for sending the certificate chip information to the certificate encryption system so that the certificate encryption system decrypts the certificate chip information according to a decryption key to obtain certificate information; and the certificate encryption system is also used for receiving the certificate information sent by the certificate encryption system, wherein the certificate information comprises a certificate number.
7. A ticketing system, said system comprising: the system comprises a gate, a certificate encryption system and a passenger ticket system;
the gate is used for reading certificate chip information of the certificate; the certificate encryption system is also used for acquiring the certificate number of the certificate from the certificate encryption system according to the certificate chip information;
the gate is also used for sending a query message to a passenger ticket system, wherein the query message comprises the certificate number;
the passenger ticket system is used for inquiring train number information corresponding to the certificate number;
the gate is also used for receiving a confirmation message sent by the passenger ticket system after inquiring the train number information corresponding to the certificate number, wherein the confirmation message comprises the inquired train number information; judging whether the pre-stored current train number information is consistent with the inquired train number information or not; if the pre-stored current train number information is consistent with the inquired train number information, controlling a brake opening of a brake to be opened;
the gate is also used for responding to the read certificate type information of the certificate and sending a first reading request to the certificate encryption system, wherein the first reading request comprises the certificate type information; the certificate encryption system is also used for receiving a reading key sent by the certificate encryption system in response to the certificate type information;
the gate is also used for reading certificate chip information of the certificate according to the reading secret key; the certificate encryption system is also used for sending the certificate chip information to the certificate encryption system;
the certificate encryption system is also used for decrypting the certificate chip information according to the decryption key to obtain certificate information; and receiving the certificate information sent by the certificate encryption system, wherein the certificate information comprises a certificate number.
8. A storage medium, comprising: the storage medium includes a stored program, wherein when the program runs, the device where the storage medium is located is controlled to execute the ticket checking method of any one of claims 1 to 5.
9. A computer device comprising a memory for storing information comprising program instructions and a processor for controlling the execution of the program instructions, characterized in that the program instructions are loaded and executed by the processor to implement the steps of the ticketing method of any one of claims 1 to 5.
CN202010031407.6A 2020-01-13 2020-01-13 Ticket checking method, device, system, storage medium and computer equipment Active CN111199585B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010031407.6A CN111199585B (en) 2020-01-13 2020-01-13 Ticket checking method, device, system, storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010031407.6A CN111199585B (en) 2020-01-13 2020-01-13 Ticket checking method, device, system, storage medium and computer equipment

Publications (2)

Publication Number Publication Date
CN111199585A CN111199585A (en) 2020-05-26
CN111199585B true CN111199585B (en) 2022-04-12

Family

ID=70747014

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010031407.6A Active CN111199585B (en) 2020-01-13 2020-01-13 Ticket checking method, device, system, storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN111199585B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112381080B (en) * 2020-11-06 2022-08-16 长城信息股份有限公司 Certificate reading method, device, equipment and medium supporting multi-protocol type

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004341943A (en) * 2003-05-16 2004-12-02 Toshiba Corp Ic card processing system
CN102156853A (en) * 2010-02-11 2011-08-17 深圳鼎识科技有限公司 Certificate reading system and certificate reading method
CN102801528A (en) * 2012-08-17 2012-11-28 珠海市载舟软件技术有限公司 Authentication system and method based on intelligent mobile communication equipment
CN103714580A (en) * 2013-12-10 2014-04-09 柳州译海网络科技有限公司 Method for ticket checking for entry in railway station based on real name ticketing system
CN105279800A (en) * 2015-10-20 2016-01-27 中铁程科技有限责任公司 Identity card ticket checking method and system
CN205132633U (en) * 2015-11-19 2016-04-06 北京高立开元创新科技股份有限公司 Card card classification system
CN105678547A (en) * 2015-12-28 2016-06-15 飞天诚信科技股份有限公司 Terminal for checking identity of cardholder, and operating method thereof
CN106427280A (en) * 2016-09-25 2017-02-22 北京印刷学院 Binary information encryption certificate anti-counterfeit printing method
CN107123036A (en) * 2017-05-22 2017-09-01 成都亿盟恒信科技有限公司 What a kind of identity-based card was read exempts from get tickets riding system and method
CN107784111A (en) * 2017-11-06 2018-03-09 北京锐安科技有限公司 Data digging method, device, equipment and storage medium
CN108566272A (en) * 2018-01-02 2018-09-21 甘肃万维信息技术有限责任公司 Method for pushing is recognized each other in Public Key Infrastructure mutual trust based on E-Government
CN108932420A (en) * 2018-06-26 2018-12-04 北京旷视科技有限公司 The testimony of a witness veritifies device, method and system and certificate decrypts device and method
CN109150857A (en) * 2018-08-01 2019-01-04 中国联合网络通信集团有限公司 The method and apparatus of authentification of message

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8701857B2 (en) * 2000-02-11 2014-04-22 Cummins-Allison Corp. System and method for processing currency bills and tickets
CN109359444A (en) * 2018-09-13 2019-02-19 全链通有限公司 Live auth method, apparatus and system
CN110225034B (en) * 2019-06-11 2022-04-15 捷德(中国)科技有限公司 Method, device and equipment for protecting identity card information, identity card, server and storage medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004341943A (en) * 2003-05-16 2004-12-02 Toshiba Corp Ic card processing system
CN102156853A (en) * 2010-02-11 2011-08-17 深圳鼎识科技有限公司 Certificate reading system and certificate reading method
CN102801528A (en) * 2012-08-17 2012-11-28 珠海市载舟软件技术有限公司 Authentication system and method based on intelligent mobile communication equipment
CN103714580A (en) * 2013-12-10 2014-04-09 柳州译海网络科技有限公司 Method for ticket checking for entry in railway station based on real name ticketing system
CN105279800A (en) * 2015-10-20 2016-01-27 中铁程科技有限责任公司 Identity card ticket checking method and system
CN205132633U (en) * 2015-11-19 2016-04-06 北京高立开元创新科技股份有限公司 Card card classification system
CN105678547A (en) * 2015-12-28 2016-06-15 飞天诚信科技股份有限公司 Terminal for checking identity of cardholder, and operating method thereof
CN106427280A (en) * 2016-09-25 2017-02-22 北京印刷学院 Binary information encryption certificate anti-counterfeit printing method
CN107123036A (en) * 2017-05-22 2017-09-01 成都亿盟恒信科技有限公司 What a kind of identity-based card was read exempts from get tickets riding system and method
CN107784111A (en) * 2017-11-06 2018-03-09 北京锐安科技有限公司 Data digging method, device, equipment and storage medium
CN108566272A (en) * 2018-01-02 2018-09-21 甘肃万维信息技术有限责任公司 Method for pushing is recognized each other in Public Key Infrastructure mutual trust based on E-Government
CN108932420A (en) * 2018-06-26 2018-12-04 北京旷视科技有限公司 The testimony of a witness veritifies device, method and system and certificate decrypts device and method
CN109150857A (en) * 2018-08-01 2019-01-04 中国联合网络通信集团有限公司 The method and apparatus of authentification of message

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
身份证件的安全要求和可使用的密码学技术;武传坤;《技术研究》;20150530;全文 *

Also Published As

Publication number Publication date
CN111199585A (en) 2020-05-26

Similar Documents

Publication Publication Date Title
US11227279B2 (en) Credit payment method and apparatus based on card emulation of mobile terminal
US11646891B2 (en) Compact recordation protocol
US20190058591A1 (en) Systems and methods of providing and electronically validating tickets and tokens
CN113853775A (en) Credential verification and issuance by a credential service provider
KR101296137B1 (en) A mobile phone id card security methods and system by the using of qr code
CN104919779A (en) Method for authenticating a user with respect to a machine
EP1696367B1 (en) Information display method, mobile information apparatus, and noncontact communication device
KR20090012546A (en) Apparatus and method for authentication using mobilephone card
CN106464502A (en) Methods and systems for authentication of a communication device
US20230337000A1 (en) Securely sharing private information
CN111199585B (en) Ticket checking method, device, system, storage medium and computer equipment
TWI666565B (en) Identity authentication system and method thereof
CN107657199A (en) Mobile device, verification device and verification method thereof
CN107239936A (en) A kind of E-seal management system
KR101240231B1 (en) A mobile phone id card security system
JP7368890B2 (en) Authenticated device, authentication device, authentication request sending method, authentication method, and program
CN112446988A (en) Access control application method, device and storage medium
TWI528302B (en) System and Method of Application for Wallet
US10121038B2 (en) Dynamic barcode ticketing carrying encrypted validation transactions
TWM580206U (en) System for identifying identity through telecommunication server by identification data device
CN113723965A (en) Service processing method based on family account, and relationship establishing method and device
KR101152892B1 (en) Method and apparatus for mmanaging withdrawal with bank card
CN110728386A (en) Information verification method and device and computer equipment
CN107563242A (en) ID card information check device and system
US20230385418A1 (en) Information processing device, information processing method, program, mobile terminal, and information processing system

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
GR01 Patent grant
GR01 Patent grant