CN109671164A - A kind of ticket checking method, system and computer readable storage medium - Google Patents

A kind of ticket checking method, system and computer readable storage medium Download PDF

Info

Publication number
CN109671164A
CN109671164A CN201811527114.6A CN201811527114A CN109671164A CN 109671164 A CN109671164 A CN 109671164A CN 201811527114 A CN201811527114 A CN 201811527114A CN 109671164 A CN109671164 A CN 109671164A
Authority
CN
China
Prior art keywords
dimensional code
station
target device
outbound
enters
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
Application number
CN201811527114.6A
Other languages
Chinese (zh)
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.)
Qingdao Metro Group Co Ltd Operation Branch
Original Assignee
Qingdao Metro Group Co Ltd Operation Branch
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 Qingdao Metro Group Co Ltd Operation Branch filed Critical Qingdao Metro Group Co Ltd Operation Branch
Priority to CN201811527114.6A priority Critical patent/CN109671164A/en
Publication of CN109671164A publication Critical patent/CN109671164A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B11/00Apparatus for validating or cancelling issued tickets
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Devices For Checking Fares Or Tickets At Control Points (AREA)

Abstract

The invention discloses a kind of ticket checking methods, applied in the AFC system of subway, comprising: after the two dimensional code that enters the station of scanning target device, when two dimensional code of judging to enter the station is non-abnormal two dimensional code, the user for allowing to hold target device passes through the gate that enters the station;The first data that broadcast is determined according to the two dimensional code that enters the station;After the outbound two dimensional code of scanning target device, when judging outbound two dimensional code is non-abnormal two dimensional code, the user for allowing to hold target device passes through outbound gate;Wherein, the generating process of outbound two dimensional code includes: that outbound two dimensional code is generated when target device receives the first data.Using the solution of the present invention, can avoid to a certain extent illegal user steal two dimensional code can arbitrarily into lock and out lock the case where.And this programme implements convenient, wide adaptability.The invention also discloses a kind of ticket-checking system and computer readable storage mediums, have corresponding effect.

Description

A kind of ticket checking method, system and computer readable storage medium
Technical field
The present invention relates to rail traffics to sell ticket checking technical field, more particularly to a kind of ticket checking method, system and computer Readable storage medium storing program for executing.
Background technique
With the continuous development of technology of track traffic, selection one of of the subway as daily traffic trip has been obtained more next More it is widely applied.The scheme of traditional seating subway is using subway card or transportation card, and with the maturation of planar bar code technology And application, no card trip are gradually introducing in subway, are brought great convenience to the trip of people.
But since two dimensional code is one as it can be seen that reproducible graphical information, at present in the AFC system of subway, often The case where two dimensional code is usurped in appearance.Specifically, user can generate two dimensional code by mobile phone app in currently existing scheme, needing It is outbound or when entering the station, it is to show the two dimensional code to gate to test after gate is scanned the two dimensional code that user mobile phone shows It is correct to demonstrate,prove the two dimensional code, just opens a sluice gate to let pass.Other users only need to replicate the two dimensional code, such as are answered by way of taking pictures System, just can also freely enter the station and outbound.
In conclusion being effectively prevented from how in underground ticket checking and making illegal user random since two dimensional code is stolen It is current those skilled in the art technical problem urgently to be solved into lock and out the case where lock.
Summary of the invention
The object of the present invention is to provide a kind of ticket checking method, system and computer readable storage mediums, to avoid due to two Dimension code it is stolen and allow illegal user arbitrarily into lock and out lock the case where.
In order to solve the above technical problems, the invention provides the following technical scheme:
A kind of ticket checking method, applied in the automatic ticket inspection AFC system of subway, comprising:
After the two dimensional code that enters the station of scanning target device, when judging the two dimensional code that enters the station is non-abnormal two dimensional code, The user for allowing to hold the target device passes through the gate that enters the station;
Broadcast the first data that the two dimensional code that enters the station according to is determined;
After the outbound two dimensional code for scanning the target device, when judging that the outbound two dimensional code is non-abnormal two dimensional code When, the user for allowing to hold the target device passes through outbound gate;
Wherein, the generating process of the outbound two dimensional code includes: when the target device receives first data Generate the outbound two dimensional code.
Preferably, first data are that the target device passes through the received data of bluetooth.
Preferably, the two dimensional code that enters the station is generated for the target device using yard database that enters the station of itself at random, and The two dimensional code being updated according to preset refreshing frequency.
Preferably, further includes:
When entering the station two dimensional code described in the determination as abnormal two dimensional code, Xiang Suoshu target device exports prompt information.
Preferably, the generating process of the outbound two dimensional code further include: when the target device receives the second data The outbound two dimensional code is generated, the information carried in first data, and second number are carried in second data Pass through WLAN or the received data of mobile communications network according to for the target device.
Preferably, by following steps judge described in the two dimensional code that enters the station whether be non-abnormal two dimensional code:
Reader of the serial data obtained after the two dimensional code that enters the station described in scanning into AFC system is sent;
The serial data is analyzed using the reader, whether is that non-exception is two-dimentional with the two dimensional code that enters the station described in judgement Code.
Preferably, it is described judge that the outbound two dimensional code is non-abnormal two dimensional code when, allow to hold the target and set Standby user passes through after outbound gate, further includes: the third data that broadcast is determined according to the outbound two dimensional code, so that institute It states target device and generates the two dimensional code that enters the station.
A kind of ticket-checking system, applied in the automatic ticket inspection AFC system of subway, comprising:
First detection module, for after the two dimensional code that enters the station of scanning target device, when judging the two dimensional code that enters the station When for non-abnormal two dimensional code, the user for allowing to hold the target device passes through the gate that enters the station;
Broadcast module, the first data determined for broadcasting the two dimensional code that enters the station according to;
Second detection module, for after the outbound two dimensional code for scanning the target device, when judging described outbound two When dimension code is non-abnormal two dimensional code, the user for allowing to hold the target device passes through outbound gate;Wherein, the outbound two dimension The generating process of code includes: that the outbound two dimensional code is generated when the target device receives first data.
Preferably, the first detection module, is specifically used for:
Scanning target device the two dimensional code that enters the station after, by the serial data obtained after the two dimensional code that enters the station described in scanning to Reader in AFC system is sent;The serial data is analyzed using the reader, when judging the two dimension that enters the station When code is non-abnormal two dimensional code, the user for allowing to hold the target device passes through the gate that enters the station.
A kind of computer readable storage medium is stored with computer program on the computer readable storage medium, described When computer program is executed by processor the step of ticket checking method described in any of the above embodiments.
Using technical solution provided by the embodiment of the present invention, applied in the AFC system of subway, comprising: in scanning mesh After the two dimensional code that enters the station of marking device, when two dimensional code of judging to enter the station is non-abnormal two dimensional code, allow to hold the use of target device Family passes through the gate that enters the station;The first data that broadcast is determined according to the two dimensional code that enters the station;In the outbound two dimensional code of scanning target device Afterwards, when judging outbound two dimensional code is non-abnormal two dimensional code, the user for allowing to hold target device passes through outbound gate;Its In, the generating process of outbound two dimensional code includes: that outbound two dimensional code is generated when target device receives the first data.
In view of two dimensional code is particularly easy to replicate, in application scheme, the two dimensional code that normally enters the station only is allowed when entering the station Pass through, and outbound two dimensional code needs to trigger by data write-in later.Specifically, broadcast basis enters the station what two dimensional code was determined First data, first data are to need by the data of write-back, and target device just can be generated after receiving the first data Outbound two dimensional code.When judging outbound two dimensional code is non-abnormal two dimensional code, allow to hold target device user pass through it is outbound Gate.If the invalid user stealing two dimensional code that enters the station, after entering the station, can not be generated by receiving first data It stands two dimensional code.Therefore, the scheme of the application illegal user can be avoided to steal two dimensional code to a certain extent can be arbitrarily into lock And out lock the case where.Further, since the write-back of the first data is carried out by the way of broadcast, without establishing point-to-point communication Convenient, wide adaptability is implemented in connection.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of implementation flow chart of ticket checking method in the present invention;
Fig. 2 is the structural schematic diagram of the ticket-checked device in a kind of specific embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of ticket-checking system in the present invention.
Specific embodiment
Core of the invention is to provide a kind of ticket checking method, illegal user can be avoided to steal two dimensional code to a certain extent Can arbitrarily into lock and out lock the case where.In addition, scheme implements convenient, wide adaptability.
In order to enable those skilled in the art to better understand the solution of the present invention, with reference to the accompanying drawings and detailed description The present invention is described in further detail.Obviously, described embodiments are only a part of the embodiments of the present invention, rather than Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise Under every other embodiment obtained, shall fall within the protection scope of the present invention.
Referring to FIG. 1, Fig. 1 is a kind of implementation flow chart of ticket checking method in the present invention, this method is applied to the AFC of subway In (Automatic Fare Collection, automatic ticket inspection) system, it may comprise steps of:
Step S101: after the two dimensional code that enters the station of scanning target device, when two dimensional code of judging to enter the station is that non-exception is two-dimentional When code, the user for allowing to hold target device passes through the gate that enters the station.
Can be entered the station the scanning of two dimensional code by two dimensional code read head, which is the target that user carries What equipment was shown enter the station two dimensional code, target device is usually the mobile phone of user, and the two dimensional code that enters the station is that user passes through cell phone application The two dimensional code shown, the cell phone application are the preassembled APP suitable for application scheme.
Ticket-check equipment may determine that scanning to the two dimensional code that enters the station whether be abnormal two dimensional code, specifically, can should be into Two dimensional code of standing is compared with the data in the two dimensional code library of entering the station of itself, when determining that the two dimensional code that enters the station meets entering the station for itself When two dimensional code library, determines that the two dimensional code is normal two dimensional code, just allow to hold the user of target device by the gate that enters the station, i.e., It opens a sluice gate to let pass.Two dimensional code on the contrary then for exception, without the operation opened a sluice gate.
In the specific implementation, the two dimensional code that enters the station can be generated for target device using yard database that enters the station of itself at random, And the two dimensional code being updated according to preset refreshing frequency.It is in view of the scheme of the application only needs to verify the two dimensional code that enters the station No exception just decides whether to open the gate that enters the station, in order to avoid by the gate that enters the station, therefore illegal user steals the two dimensional code that enters the station It can be updated according to enter the station two dimensional code of the preset refreshing frequency to generation.Refreshing frequency usually can be higher, for example, Once per second can reduce the two dimensional code that enters the station to a certain extent and be stolen the risk used by illegal user.
It should be noted that in the refreshing for the two dimensional code that enters the station, it usually needs on line refreshable is needed user The data in data and ticket-check equipment in APP synchronize, and the two dimensional code that enters the station for enabling user newly-generated is set by ticket checking Yard database that enters the station that standby correct identification, i.e. two dimensional code before update are no longer complies with new ticket-check equipment, and updated two dimension Code symbol closes yard database that enters the station of new ticket-check equipment.
In the whether abnormal judgement of the two dimensional code that enters the station, can be realized by the ticket-checking system being specially arranged, it can also be with With existing in the prior art, the reader combination of the information reading for carrying out entity ticket card, to reduce implementation cost.
That is step S101 can use reader completion, specifically, judgement is entered the station, whether two dimensional code is non-abnormal two dimensional code It may include: that will scan reader of the serial data obtained after the two dimensional code that enters the station into AFC system to send;Utilize read-write Device analyzes serial data, and to judge to enter the station, whether two dimensional code is non-abnormal two dimensional code.
It can be found in shown in Fig. 2, in this embodiment, two dimensional code read head 10 is that two-dimension code image is converted to digital association The medium of view sends data to processor 30 by the first RS232 serial port module 20 after two dimensional code is entered the station in scanning, processing Device 30 is connect with reader 60, specifically, being by the 2nd RS232 serial port module 40 or RS422 serial port module 50 by serial ports Data are sent to reader 60.The same of processor 30 can be used in 2nd RS232 serial port module 40 and RS422 serial port module 50 Communication port determines which serial port module used by selection switch.Due to being provided with 40 He of the 2nd RS232 serial port module RS422 serial port module 50 can be compatible with the reader 60 of two kinds of communication forms.Certainly, the scheme of the application can not be with reading Write the connection of device 60, but connect other host computers, such as the host computer by being specially arranged carries out cryptographic calculation, with obtain into It stands the information carried in two dimensional code, i.e., not in conjunction with existing reader, but a ticket-check equipment is separately provided, according to practical need It adaptably to be chosen, have no effect on implementation of the invention.
Step S102: the first data that broadcast is determined according to the two dimensional code that enters the station.
In view of different users uses the mobile phone of different brands, operating system is different, carries out if necessary point-to-point Communication connection, communication is complex, and needs suitable for different operating system, and enforcement difficulty is larger.Therefore the application Scheme carries out the transmission of the first data in the form of broadcast, so that the mobile phone of various operating systems can be easily using this The scheme of application, it is convenient to carry out.
And in view of Bluetooth communication is easy to use, popularization degree is high, therefore can usually be carried out using bluetooth when specific implementation The broadcast of first data.Such as square wave pattern can be used, the first data for needing to carry out write-back are stored in Bluetooth broadcast number According in domain.In the embodiment of Fig. 2, processor 30 is to carry out bluetooth number using Bluetooth RF circuit 70 and respective antenna 80 According to broadcast.Certainly, in other embodiments, other kinds of broadcast mode can also be chosen, enables target device The first data are obtained, implementation of the invention is had no effect on.
Ticket-check equipment can determine the first data according to the two dimensional code that enters the station, it usually needs be arranged in the first data related Mark, so that the target device uniquely determined can identify and receive first number for some first data According to, for example, mark can be user account name, and can be carried in the two dimensional code that enters the station the account name so that detection device into It can be got when the reading of traveling station two dimensional code, and then the first data are determined according to the two dimensional code that enters the station.Certainly, at other Also other kinds of mark can be used in embodiment, have no effect on implementation of the invention.
Step S103: scanning target device outbound two dimensional code after, when judge outbound two dimensional code be non-exception it is two-dimentional When code, the user for allowing to hold target device passes through outbound gate;Wherein, the generating process of outbound two dimensional code includes: to work as target Equipment generates outbound two dimensional code when receiving the first data.
In the scheme of the application, target device can generate outbound two dimensional code only after obtaining the first data. Make to have stolen the two dimensional code that enters the station even if illegal user in this way, but the two dimensional code that enters the station can not be used for it is outbound, as long as and illegal User does not complete the acquisition of the first data, and you can't get outbound two dimensional codes, therefore avoid illegal user to a certain extent Steal two dimensional code can lockage the case where.
By taking the broadcast mode of bluetooth as an example, target device can call the Bluetooth function of itself, complete connecing for the first data It receives, and then generates outbound two dimensional code.Detection device is after the outbound two dimensional code of scanning target device, when judging outbound two dimensional code When for non-abnormal two dimensional code, the user for allowing to hold target device passes through outbound gate.
It should be noted that the first data of the application are that the trigger condition of outbound two dimensional code is generated as target device, And be not to limit that the first data must be carried in outbound two dimensional code, or need to generate using the first data, i.e., The content for including in one data can be set and be adjusted according to actual needs.For example, in a specific embodiment, mesh Marking device generates the two dimensional code that enters the station using yard database that enters the station of itself at random, and target device correctly identifies first be broadcasted Mark in data, and then after obtaining the first data, relevant outbound program, such as going out using itself can be triggered Station yard database generates a two dimensional code at random, as outbound two dimensional code.Similar with the two dimensional code that enters the station, outbound two dimensional code can also be with Constantly change according to predeterminated frequency, i.e., target device can use outbound code database and constantly be updated to outbound two dimensional code. But when updating, it usually needs online updating, i.e., the related data in the data and ticket-check equipment in realization target device is same Step.For another example in another embodiment, the first data also carry current site information.
In addition, ticket-checked device is to two dimensional code is entered the station and when outbound two dimensional code is verified, it can be in two dimensional code The user information of carrying is recorded, and current site information and user information are sent to background server, background server Deducting fees for corresponding user account can be carried out according to the record information into and out of station.Certainly, server can also be by dependency number According to target device is sent to, user is allowed to check this time trip record.
It can also include: broadcast according to outbound two after step s 103 in a kind of specific embodiment of the invention The third data that dimension code is determined, the two dimensional code so that target device generation is entered the station.
The broadcast of third data is carried out in this kind of embodiment, similar with the first data, third data are connect by target device After receipts, target device can generate the two dimensional code that enters the station, that is, carry out the change of two dimensional code: before receiving third data, mesh Marking device shows outbound two dimensional code, and by the triggering of third data, target device generates the two dimensional code that enters the station, so as to next time It is used when by bus.Certainly, in other embodiments, outbound two dimensional code be revised as the entering the station trigger condition of two dimensional code may be Other forms, for example, user can at any time using target device generation enter the station two dimensional code for another example can be in target After equipment generates the preset duration of outbound two dimensional code, outbound two dimensional code is updated to the two dimensional code that enters the station automatically.
Using method provided by the present invention, applied in the AFC system of subway, comprising: scanning target device into It stands after two dimensional code, when two dimensional code of judging to enter the station is non-abnormal two dimensional code, allows to hold the user of target device by entering the station Gate;The first data that broadcast is determined according to the two dimensional code that enters the station;After the outbound two dimensional code of scanning target device, when judging When outbound two dimensional code is non-abnormal two dimensional code, the user for allowing to hold target device passes through outbound gate;Wherein, outbound two dimensional code Generating process include: that outbound two dimensional code is generated when target device receives the first data.
In view of two dimensional code is particularly easy to replicate, in application scheme, the two dimensional code that normally enters the station only is allowed when entering the station Pass through, and outbound two dimensional code needs to trigger by data write-in later.Specifically, broadcast basis enters the station what two dimensional code was determined First data, first data are to need by the data of write-back, and target device just can be generated after receiving the first data Outbound two dimensional code.When judging outbound two dimensional code is non-abnormal two dimensional code, allow to hold target device user pass through it is outbound Gate.If the invalid user stealing two dimensional code that enters the station, after entering the station, can not be generated by receiving first data It stands two dimensional code.Therefore, the scheme of the application illegal user can be avoided to steal two dimensional code to a certain extent can be arbitrarily into lock And out lock the case where.Further, since the write-back of the first data is carried out by the way of broadcast, without establishing point-to-point communication Convenient, wide adaptability is implemented in connection.
In a kind of specific embodiment of the invention, further includes: when determining the two dimensional code that enters the station is abnormal two dimensional code, to Target device exports prompt information.The prompt information can be the prompt information of the forms such as sound or text, in addition, ticket checking dress Setting itself can also be prompted, such as be prompted by buzzer.
In a kind of specific embodiment of the invention, the generating process of outbound two dimensional code further include: when target device connects Outbound two dimensional code is generated when receiving the second data, and the information carried in the first data, and the second data are carried in the second data Pass through WLAN or the received data of mobile communications network for target device.
In this kind of embodiment, it is contemplated that there may be the Bluetooth functions for forgetting to turn on bluetooth or target device by user It is occupied, damage situations such as, in order to guarantee that data can just be provided with a kind of redundancy side by smooth write-back, this kind of embodiment Case.Write back data is carried out by the second data.The information carried in the first data, and the second number are carried in second data Pass through WLAN or the received data of mobile communications network according to for target device.Such scheme, so that target device It only needs to receive the first data and the second data alternative one, can realize write back data, successfully obtain outbound two dimensional code, mention The high serious forgiveness and application range of scheme.
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of ticket-checking system and a kind of computers Readable storage medium storing program for executing can correspond to each other reference with above-described ticket checking method.
It is stored with computer program on computer readable storage medium, is realized when computer program is executed by processor above-mentioned The step of ticket checking method in any embodiment.Computer readable storage medium mentioned here include random access memory (RAM), Memory, read-only memory (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD- Any other form of storage medium well known in ROM or technical field.
It is shown in Figure 3, for a kind of structural schematic diagram of ticket-checking system in the present invention, applied in the AFC system of subway, It comprises the following modules:
First detection module 301, for after the two dimensional code that enters the station of scanning target device, two dimensional code to be when judging to enter the station When non-exception two dimensional code, the user for allowing to hold target device passes through the gate that enters the station;
Broadcast module 302, for broadcasting the first data determined according to the two dimensional code that enters the station;
Second detection module 303, for after the outbound two dimensional code of scanning target device, when judging that outbound two dimensional code is When non-exception two dimensional code, the user for allowing to hold target device passes through outbound gate;Wherein, the generating process packet of outbound two dimensional code It includes: generating outbound two dimensional code when target device receives the first data.
In a kind of specific embodiment of the invention, the first data are that target device passes through the received data of bluetooth.
In a kind of specific embodiment of the invention, the two dimensional code that enters the station is enter the station a yard data of the target device using itself Library generates at random, and the two dimensional code being updated according to preset refreshing frequency.
In a kind of specific embodiment of the invention, further includes:
Prompt information output module, for being mentioned to target device output when determining the two dimensional code that enters the station is abnormal two dimensional code Show information.
In a kind of specific embodiment of the invention, the generating process of outbound two dimensional code further include: when target device connects Outbound two dimensional code is generated when receiving the second data, and the information carried in the first data, and the second data are carried in the second data Pass through WLAN or the received data of mobile communications network for target device.
In a kind of specific embodiment of the invention, first detection module 301 is specifically used for:
After the two dimensional code that enters the station of scanning target device, the serial data that obtains after two dimensional code that scanning is entered the station is to AFC system Reader in system is sent;Serial data is analyzed using reader, when two dimensional code of judging to enter the station is non-abnormal two dimensional code When, the user for allowing to hold target device passes through the gate that enters the station.
It should also be noted that, herein, relational terms such as first and second and the like are used merely to one Entity or operation are distinguished with another entity or operation, without necessarily requiring or implying between these entities or operation There are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant are intended to contain Lid non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including element.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond the scope of this invention.
Used herein a specific example illustrates the principle and implementation of the invention, and above embodiments are said It is bright to be merely used to help understand technical solution of the present invention and its core concept.It should be pointed out that for the common of the art , without departing from the principle of the present invention, can be with several improvements and modifications are made to the present invention for technical staff, these Improvement and modification are also fallen within the protection scope of the claims of the present invention.

Claims (10)

1. a kind of ticket checking method, which is characterized in that applied in the automatic ticket inspection AFC system of subway, comprising:
After the two dimensional code that enters the station of scanning target device, when judging the two dimensional code that enters the station is non-abnormal two dimensional code, allow The user for holding the target device passes through the gate that enters the station;
Broadcast the first data that the two dimensional code that enters the station according to is determined;
After the outbound two dimensional code for scanning the target device, when judging the outbound two dimensional code is non-abnormal two dimensional code, The user for allowing to hold the target device passes through outbound gate;
Wherein, the generating process of the outbound two dimensional code includes: the generation when the target device receives first data The outbound two dimensional code.
2. ticket checking method according to claim 1, which is characterized in that first data are that the target device passes through indigo plant The received data of tooth.
3. ticket checking method according to claim 1, which is characterized in that the two dimensional code that enters the station is target device utilization The two dimensional code that yard database that enters the station of itself is generated at random, and is updated according to preset refreshing frequency.
4. ticket checking method according to claim 1, which is characterized in that further include:
When entering the station two dimensional code described in the determination as abnormal two dimensional code, Xiang Suoshu target device exports prompt information.
5. ticket checking method according to claim 1, which is characterized in that the generating process of the outbound two dimensional code further include: The outbound two dimensional code is generated when the target device receives the second data, carries described first in second data The information carried in data, and second data are that the target device is connect by WLAN or mobile communications network The data of receipts.
6. ticket checking method according to any one of claims 1 to 5, which is characterized in that by following steps judgement it is described into Whether two dimensional code of standing is non-abnormal two dimensional code:
Reader of the serial data obtained after the two dimensional code that enters the station described in scanning into AFC system is sent;
The serial data is analyzed using the reader, whether two dimensional code is non-abnormal two dimensional code to enter the station described in judgement.
7. according to right want 6 described in ticket checking method, which is characterized in that it is described judge the outbound two dimensional code be non-exception When two dimensional code, the user for allowing to hold the target device passes through after outbound gate, further includes: broadcast is according to described outbound two The third data that dimension code is determined, the two dimensional code so that target device generation is entered the station.
8. a kind of ticket-checking system, which is characterized in that applied in the automatic ticket inspection AFC system of subway, comprising:
First detection module, for after the two dimensional code that enters the station of scanning target device, when judging that the two dimensional code that enters the station is non- When abnormal two dimensional code, the user for allowing to hold the target device passes through the gate that enters the station;
Broadcast module, the first data determined for broadcasting the two dimensional code that enters the station according to;
Second detection module, for after the outbound two dimensional code for scanning the target device, when judging the outbound two dimensional code When for non-abnormal two dimensional code, the user for allowing to hold the target device passes through outbound gate;Wherein, the outbound two dimensional code Generating process includes: that the outbound two dimensional code is generated when the target device receives first data.
9. ticket-checking system according to claim 8, which is characterized in that the first detection module is specifically used for:
After the two dimensional code that enters the station of scanning target device, by the serial data obtained after the two dimensional code that enters the station described in scanning to AFC system Reader in system is sent;The serial data is analyzed using the reader, when judging that the two dimensional code that enters the station is When non-exception two dimensional code, the user for allowing to hold the target device passes through the gate that enters the station.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program, the computer program realize the step of ticket checking method as described in any one of claim 1 to 7 when being executed by processor Suddenly.
CN201811527114.6A 2018-12-13 2018-12-13 A kind of ticket checking method, system and computer readable storage medium Pending CN109671164A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811527114.6A CN109671164A (en) 2018-12-13 2018-12-13 A kind of ticket checking method, system and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811527114.6A CN109671164A (en) 2018-12-13 2018-12-13 A kind of ticket checking method, system and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN109671164A true CN109671164A (en) 2019-04-23

Family

ID=66145060

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811527114.6A Pending CN109671164A (en) 2018-12-13 2018-12-13 A kind of ticket checking method, system and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109671164A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9038896B2 (en) * 2013-08-26 2015-05-26 Venuenext, Inc. Ticket validation system
CN105261071A (en) * 2015-11-13 2016-01-20 广西米付网络技术有限公司 Bluetooth and two-dimensional code-based ticket checking system and method
CN106022819A (en) * 2016-05-13 2016-10-12 昆山爱贝儿网络科技有限公司 Method and system of carfare payment via mobile terminal for rail transit
CN107122973A (en) * 2017-04-28 2017-09-01 上海华铭智能终端设备股份有限公司 A kind of asynchronous ticket processing method and relevant device
CN107221035A (en) * 2017-06-16 2017-09-29 余清 A kind of intelligent card-reading module and intelligence ticket checking terminal
CN107481328A (en) * 2017-09-14 2017-12-15 珠海优仕达信息科技有限公司 A kind of novel intelligent subway gate passes through method, system and circuit
CN107516210A (en) * 2017-08-31 2017-12-26 八维通科技有限公司 A kind of method of mobile payment based on Quick Response Code and bluetooth for track traffic
CN207068064U (en) * 2017-06-16 2018-03-02 余清 A kind of intelligent card-reading module and intelligence ticket checking terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9038896B2 (en) * 2013-08-26 2015-05-26 Venuenext, Inc. Ticket validation system
CN105261071A (en) * 2015-11-13 2016-01-20 广西米付网络技术有限公司 Bluetooth and two-dimensional code-based ticket checking system and method
CN106022819A (en) * 2016-05-13 2016-10-12 昆山爱贝儿网络科技有限公司 Method and system of carfare payment via mobile terminal for rail transit
CN107122973A (en) * 2017-04-28 2017-09-01 上海华铭智能终端设备股份有限公司 A kind of asynchronous ticket processing method and relevant device
CN107221035A (en) * 2017-06-16 2017-09-29 余清 A kind of intelligent card-reading module and intelligence ticket checking terminal
CN207068064U (en) * 2017-06-16 2018-03-02 余清 A kind of intelligent card-reading module and intelligence ticket checking terminal
CN107516210A (en) * 2017-08-31 2017-12-26 八维通科技有限公司 A kind of method of mobile payment based on Quick Response Code and bluetooth for track traffic
CN107481328A (en) * 2017-09-14 2017-12-15 珠海优仕达信息科技有限公司 A kind of novel intelligent subway gate passes through method, system and circuit

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《建设事业IC卡应用技术与发展》编委会: "《建设事业IC卡应用技术与发展》", 30 April 2003, 中国建筑工业出版社 *

Similar Documents

Publication Publication Date Title
US20230007937A1 (en) Identifying electronic devices using temporally changing information
AU2005304438B2 (en) Actuating a security system using a wireless device
JP4126039B2 (en) SIM card control apparatus and method for portable terminal
US20180063126A1 (en) Methods and user device and authenticator device for authentication of the user device
EP1383266A1 (en) Personal authentication system, portable electronic device, terminal and authentication method
CN103617668A (en) Visitor management system and visitor management method
CN109583824A (en) A kind of Work attendance method, system, equipment and computer readable storage medium
CN109920174A (en) Book borrowing and reading method, apparatus, electronic equipment and storage medium
CN105427203A (en) House renting information management method and system
CN111652096B (en) Face recognition method, device and system based on block chain
CN109543078A (en) Social relationships determine method, apparatus, equipment and computer readable storage medium
CN111212188B (en) User dynamic monitoring method and device and telephone watch
US10469493B2 (en) Mobile device, authentication device and authentication methods thereof
US8281150B2 (en) Smart card and access method thereof
CN109671164A (en) A kind of ticket checking method, system and computer readable storage medium
CN109636978A (en) Ticket checking method, system and computer readable storage medium
CN110020864A (en) Recognition methods, device and the equipment traded extremely under weak net environment
EA025025B1 (en) Portable communication equipment, system and method for communicating between a local terminal and a plurality of portable equipment
CN103413416A (en) Intelligent meter reading system and method
CN113436048A (en) Public place smoking set automatic locking method and device and electronic equipment
JP2004094341A (en) Electronic voting system, and method and program for preventing fraudulent use of ballot card in the system
US20220198532A1 (en) Consumer comments storage method, electronic device, and storage medium
CN110324482A (en) A kind of information management-control method of the mobile phone based on face recognition
CN116485404A (en) Campus intelligent all-purpose card system
CN111815123A (en) Riding safety control method and device based on riding voucher

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: 20190423

RJ01 Rejection of invention patent application after publication