CN109636978A - Ticket checking method, system and computer readable storage medium - Google Patents

Ticket checking method, system and computer readable storage medium Download PDF

Info

Publication number
CN109636978A
CN109636978A CN201811527149.XA CN201811527149A CN109636978A CN 109636978 A CN109636978 A CN 109636978A CN 201811527149 A CN201811527149 A CN 201811527149A CN 109636978 A CN109636978 A CN 109636978A
Authority
CN
China
Prior art keywords
dimensional code
original
target device
address information
data
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
CN201811527149.XA
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 Bonin Fortune Intelligent Traffic Technology Development Co ltd
Original Assignee
Qingdao Bonin Fortune Intelligent Traffic Technology Development 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 Qingdao Bonin Fortune Intelligent Traffic Technology Development Co ltd filed Critical Qingdao Bonin Fortune Intelligent Traffic Technology Development Co ltd
Priority to CN201811527149.XA priority Critical patent/CN109636978A/en
Publication of CN109636978A publication Critical patent/CN109636978A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/20Individual registration on entry or exit involving the use of a pass
    • G07C9/21Individual registration on entry or exit involving the use of a pass having a variable access code

Landscapes

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

Abstract

The invention discloses a ticket checking method, which is applied to an AFC system of a subway and comprises the following steps: after scanning the initial two-dimensional code, acquiring address information in the initial two-dimensional code; establishing communication connection with the target equipment through the address information; wherein different target devices have different address information; when the initial two-dimensional code is the inbound code, writing first data for modifying the initial two-dimensional code into the target equipment, and allowing a user holding the target equipment to pass through the inbound gate when the first feedback data is detected; and when the initial two-dimensional code is the outbound code, writing second data into the target equipment, and allowing a user holding the target equipment to pass through the outbound gate when the second feedback data is detected. The method can effectively avoid the condition that an illegal user steals the two-dimension code to pass the brake. The invention also discloses a ticket checking system and a computer readable storage medium, which have corresponding effects.

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, gate is scanned the two dimensional code that user mobile phone shows in currently existing scheme Afterwards, it is correct to verify the two dimensional code, just opens a sluice gate to let pass.Other users only need to replicate the two dimensional code, such as by way of taking pictures It is replicated, just can also pass through gate.
In conclusion how underground ticket checking when, be effectively prevented from and allow illegal user's lockage since two dimensional code is stolen Situation is current those skilled in the art technical problem urgently to be solved.
Summary of the invention
The object of the present invention is to provide a kind of ticket checking method, system and computer readable storage medium, can to avoid due to Two dimensional code it is stolen and allow illegal user's lockage 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 scanning original two-dimensional code, the address information in the original two-dimensional code is obtained;
The communication connection with target device is established by the address information;Wherein, different target devices has difference Address information;
When the original two-dimensional code is to enter the station yard, the write-in of Xiang Suoshu target device is for modifying the original two-dimensional code For the first data of target two dimensional code, and when detecting the first feedback data, the user for allowing to hold the target device is logical Cross the gate that enters the station;
When the original two-dimensional code is station yard, the second data are written in Xiang Suoshu target device, and are detecting second When feedback data, the user for allowing to hold the target device passes through outbound gate.
Preferably, the address information is the MAC address information of the bluetooth of the target device;
The communication connection established by the address information with target device, comprising:
It is established by the address information and is connect with the Bluetooth communication of target device.
Preferably, when the original two-dimensional code is to enter the station yard, the original two-dimensional code be the target device utilize from The two dimensional code that yard database that enters the station of body generates at random.
Preferably, the original two-dimensional code 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, described to pass through the address information after the address information obtained in the original two-dimensional code It establishes before the communication connection with target device, further includes:
Verify whether the original two-dimensional code is abnormal two dimensional code, and is determining that the original two-dimensional code is not abnormal two-dimentional When code, the operation established by the address information with the communication connection of target device is executed.
Preferably, further includes:
When determining the original two-dimensional code is abnormal two dimensional code, Xiang Suoshu target device exports prompt information.
Preferably, the address information obtained in the original two-dimensional code, comprising:
Reader of the serial data obtained after the original two-dimensional code into AFC system will be scanned to send;
The address information in the original two-dimensional code is obtained using the reader.
Preferably, after second data of write-in to the target device, further includes: by going out for the target device Station yard is revised as the code that enters the station.
A kind of ticket-checking system, applied in the automatic ticket inspection AFC system of subway, comprising:
Address information obtains module, for after scanning original two-dimensional code, obtaining the letter of the address in the original two-dimensional code Breath;
Communication module, for establishing the communication connection with target device by the address information;Wherein, different target Equipment has different address informations;
First detection module, for when the original two-dimensional code is to enter the station yard, the write-in of Xiang Suoshu target device will be for will The original two-dimensional code is revised as the first data of target two dimensional code, and when detecting the first feedback data, allows to hold institute The user for stating target device passes through the gate that enters the station;
Second detection module, for when the original two-dimensional code is station yard, Xiang Suoshu target device write-in second to be counted According to, and when detecting the second feedback data, the user for allowing to hold the target device passes through outbound gate.
A kind of computer readable storage medium is stored with computer program on the computer readable storage medium, described The step of ticket checking method described in any of the above embodiments is realized when computer program is executed by processor.
Using technical solution provided by the embodiment of the present invention, applied in the AFC system of subway, comprising: first in scanning After beginning two dimensional code, the address information in original two-dimensional code is obtained;The communication connection with target device is established by address information;Its In, different target devices has different address informations;When initial two dimensional code is to enter the station yard, it is used for target device write-in Original two-dimensional code is revised as to the first data of target two dimensional code, and when detecting the first feedback data, allows to hold target The user of equipment passes through the gate that enters the station;When initial two dimensional code is station yard, the second data are written to target device, and detecting When to the second feedback data, the user for allowing to hold target device passes through outbound gate.
In view of two dimensional code is particularly easy to replicate, two dimensional code is only used for information in application scheme and is read, and verify Process is completed by data interaction.Specifically, the ground can be passed through after obtaining the address information in original two-dimensional code Location information establishes the communication connection with target device, and different target devices has different address informations, so that by initial Two dimensional code can uniquely determine out corresponding target device.It later can be to target device write-back.When initial two dimensional code The first data to be written, and original two-dimensional code can be modified to target two dimensional code when entering the station yard, only detecting that first is anti- When presenting data, the user for just allowing to hold target device passes through the gate that enters the station.For having usurped the illegal user of original two-dimensional code For, do not hold unique target device corresponding to the original two-dimensional code, communication connection cannot be also established, due to nothing Method completes the write-in of the first data, and then would not also be allowed through the gate that enters the station.Correspondingly, when initial two dimensional code is outbound When code, after the second data are normally only written, it can detect the second feedback data and user is allowed to pass through outbound gate. Therefore, the case where illegal user steals two dimensional code lockage can be effectively avoided in the scheme of the application.
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, and illegal user can be effectively avoided and steal two dimensional code lockage Situation.
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 scanning original two-dimensional code, the address information in original two-dimensional code is obtained.
The scanning of original two-dimensional code can be carried out by two dimensional code read head, which is the target that user carries The original two-dimensional code that equipment is shown, target device are usually the mobile phone of user, and original two-dimensional code 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.
After scanning original two-dimensional code, the related letter including address information carried in original two-dimensional code can be obtained Breath, the acquisition of address information can be obtained by the ticket-checking system being specially arranged, can also be with existing in the prior art, use It is combined in the reader that the information for carrying out entity ticket card is read, to reduce implementation cost.
That is the address information in acquisition original two-dimensional code in step S101 can use reader completion, specifically, can It is sent so that reader of the serial data obtained after original two-dimensional code into AFC system will be scanned, reader is recycled to obtain Take the address information in original 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 scanning original two-dimensional code, 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 The connection of device 60 is write, but connects other host computers, such as the host computer by being specially arranged carries out cryptographic calculation, to obtain just That is, not in conjunction with existing reader, but a ticket-check equipment is separately provided, according to practical need in the information carried in beginning two dimensional code It adaptably to be chosen, have no effect on implementation of the invention.
Step S102: the communication connection with target device is established by address information;Wherein, different target devices has Different address informations.
After ticket-checked device obtains address information, the communication link with target device can be established by address information It connects, it is contemplated that Bluetooth communication is easy to use, and popularization degree is high, usually can be using indigo plant when can use, therefore be embodied offline Tooth is as communication mode.That is step S102 can be with specifically: is established by address information and is connect with the Bluetooth communication of target device.
In this kind of embodiment, address information be the bluetooth of target device MAC (Media Access Control, Media access control) address information.In the embodiment of Fig. 2, processor 30 is to utilize Bluetooth RF circuit 70 and corresponding Antenna 80 realizes the communication connection with the mobile phone of user.Point-to-point communication is established using bluetooth, the encryption of data is high, and In the occasion for supporting data volume big, communication speed is also very fast.Certainly, in other embodiments, other types can also be chosen Communication mode, meet the needs of the application, such as the communication connection with target device is established by WLAN.
It should be noted that distinct device has different address informations, so that ticket-checked device obtains legitimate user Original two-dimensional code after, can be corresponding with the original two-dimensional code, the legitimate user uniquely determined communicates, other are usurped The illegal user of original two-dimensional code can not communicate with ticket-checked device, also can not just receive write-back, naturally also Subsequent process can not be executed.
Step S103: it when initial two dimensional code is to enter the station yard, is written to target device for original two-dimensional code to be revised as First data of target two dimensional code, and when detecting the first feedback data, allow to hold the user of target device by entering the station Gate.
Ticket-checked device can verify the original two-dimensional code got, can be to target when being determined as entering the station yard Equipment carries out write back data, i.e., the first data for original two-dimensional code to be revised as to target two dimensional code are written to target device. Target two dimensional code also just refers to user's required station yard out when outbound.
It should be noted that the first data described herein are used to original two-dimensional code being revised as target two dimensional code, refer to Be the first data be as target device generate target two dimensional code trigger condition, and be not limit target two dimensional code in carry There are the first data, or needs to generate using the first data.
For example, in a specific embodiment, original two-dimensional code is that when entering the station yard, can utilize itself for target device The two dimensional code that generates at random of yard database that enters the station.After target device receives the first data, can use itself goes out station yard Database generates a two dimensional code as target two dimensional code at random, and target two dimensional code can also constantly change according to predeterminated frequency Become, i.e., target device can use outbound code database and constantly be updated to target two dimensional code.Certainly, original two-dimensional code can also Think the two dimension that target device is generated at random using yard database that enters the station of itself, and is updated according to preset refreshing frequency Code.
Preset refreshing frequency can be configured according to actual needs, but consider the scheme of the application, even if illegally User has stolen original two-dimensional code, and the write-back for receiving ticket-checked device can not be also communicated to connect with ticket-checked device, therefore, It may not need the higher refreshing frequency of setting.
Ticket-checked device can be by verifying whether the first data are successfully written to, to decide whether to allow to hold target device User by the gate that enters the station, be determined whether to open a sluice gate to let pass.Specifically, can be opened when detecting the first feedback data Enter the station gate, and the user for allowing to hold target device passes through the gate that enters the station.Correspondingly, if not receiving the first feedback data, Or the feedback data received is wrong, can determine that the first data are not successfully written to, just not open the gate that enters the station.
And it should be noted that the first data can also carry it in addition to the generation for triggering target two dimensional code The data of his type.For example, ticket-checked device can record the user information carried in original two-dimensional code, and ought set out in advance to make arrangements Point information and user information are sent to background server, while sending the record information as the content carried in the first data To target device, so that can recorde down the information that enters the station in target device.
Step S104: when initial two dimensional code is station yard, the second data are written to target device, and detecting second When feedback data, the user for allowing to hold target device passes through outbound gate.
When user needs outbound, the original two-dimensional code that ticket-checked device is got is the station yard out that user is shown, is established After communication connection, ticket-checked device can also execute the operation of write back data, i.e., the second data are written to target device, and examining When measuring the second feedback data, the user for allowing to hold target device passes through outbound gate.
Certainly, when user is outbound, ticket-checked device can also in station yard out user information and current site information into Row record, background server can carry out deducting fees for corresponding user account according to the record information into and out of station, meanwhile, out Record data can also be carried out write-back to target device by the second data by ticket-checked device when standing, and user terminal is looked into See this time trip record.
It should also be noted that, the second data are similar with the first data, the touching of two dimensional code change can also be used as Clockwork spring part, i.e., when it is implemented, in step S04 to target device be written the second data after, can also include: by target The station yard that goes out of equipment is revised as the code that enters the station.
In this kind of embodiment, after user shows station yard out by target device, the second data can be received, and are checked For device due to receiving the second feedback data, the user for just allowing to hold target device passes through outbound gate.At the same time, this kind The second data are also used as the change condition of two dimensional code in embodiment, i.e., can will be outbound when target device receives the second data Code is revised as the code that enters the station, so as to the use of user next time by bus.Certainly, in other embodiments, out station yard be revised as into The trigger condition of station yard may be other forms, for example, user can be entered the station using target device generation at any time Code for another example can will go out station yard automatically and be updated to the code that enters the station after target device generates the preset duration of station yard.
Using method provided by the embodiment of the present invention, applied in the AFC system of subway, comprising: in scanning initial two After tieing up code, the address information in original two-dimensional code is obtained;The communication connection with target device is established by address information;Wherein, Different target devices has different address informations;When initial two dimensional code is to enter the station yard, to target device write-in for will Original two-dimensional code is revised as the first data of target two dimensional code, and when detecting the first feedback data, allows to hold target and sets Standby user passes through the gate that enters the station;When initial two dimensional code is station yard, the second data are written to target device, and detecting When the second feedback data, the user for allowing to hold target device passes through outbound gate.
In view of two dimensional code is particularly easy to replicate, two dimensional code is only used for information in application scheme and is read, and verify Process is completed by data interaction.Specifically, the ground can be passed through after obtaining the address information in original two-dimensional code Location information establishes the communication connection with target device, and different target devices has different address informations, so that by initial Two dimensional code can uniquely determine out corresponding target device.It later can be to target device write-back.When initial two dimensional code The first data to be written, and original two-dimensional code can be modified to target two dimensional code when entering the station yard, only detecting that first is anti- When presenting data, the user for just allowing to hold target device passes through the gate that enters the station.For having usurped the illegal user of original two-dimensional code For, do not hold unique target device corresponding to the original two-dimensional code, communication connection cannot be also established, due to nothing Method completes the write-in of the first data, and then would not also be allowed through the gate that enters the station.Correspondingly, when initial two dimensional code is outbound When code, after the second data are normally only written, it can detect the second feedback data and user is allowed to pass through outbound gate. Therefore, the case where illegal user steals two dimensional code lockage can be effectively avoided in the scheme of the application.
In a kind of specific embodiment of the invention, the address information in acquisition original two-dimensional code in step s101 Later, before step S102, can also include:
It verifies whether original two-dimensional code is abnormal two dimensional code, and when determining original two-dimensional code not is abnormal two dimensional code, holds Row establishes the operation with the communication connection of target device by address information.
By taking original two-dimensional code is to enter the station code as an example, ticket-checked device can verify whether the original two-dimensional code meets ticket-checked device The code that enters the station in yard database that enters the station of middle storage, to determine whether original two-dimensional code is abnormal two dimensional code.And it needs to illustrate , in this kind of embodiment, which executed after obtaining the address information in original two-dimensional code, in other embodiment party In formula, which can also execute together with the operation for obtaining the address information in original two-dimensional code, can also be preferential execution, Implementation of the invention is not influenced.
It is generated at random since the code that enters the station can be target device using yard database that enters the station of itself, and be periodically flushed Two dimensional code, and usually, after refreshing, two dimensional code before this is just not belonging to normal two dimensional code, but becomes abnormal two-dimentional Code can not be used, and therefore, when executing the operation for refreshing two dimensional code, be typically required online completion, i.e., target device into Station yard database needs synchronous with yard database holding of entering the station stored in ticket-checked device.And in view of the scheme of the application is supported User's off-line operation, therefore will not usually be arranged, without the too high two dimensional code refreshing frequency of setting.Out station yard be also in this way, Not repeated explanation herein.
Further, when determining original two-dimensional code is abnormal two dimensional code, prompt information can be exported to target device.It should Prompt information can be the prompt information of the forms such as sound or text, in addition, ticket-checked device itself can also be prompted, example Such as prompted by buzzer.
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:
Address information obtains module 301, for after scanning original two-dimensional code, obtaining the address letter in original two-dimensional code Breath;
Communication module 302, for establishing the communication connection with target device by address information;Wherein, different target Equipment has different address informations;
First detection module 303, for when initial two dimensional code is to enter the station yard, to target device write-in for by initial two Dimension code is revised as the first data of target two dimensional code, and when detecting the first feedback data, allows to hold the use of target device Family passes through the gate that enters the station;
Second detection module 304, for the second data to be written to target device when initial two dimensional code is station yard, and When detecting the second feedback data, the user for allowing to hold target device passes through outbound gate.
In a kind of specific embodiment of the invention, address information is the media access control of the bluetooth of target device Location mac address information;
Communication module 302, is specifically used for:
It is established by address information and is connect with the Bluetooth communication of target device.
In a kind of specific embodiment of the invention, further includes:
Authentication module is different for verifying whether original two-dimensional code is abnormal two dimensional code, and determining original two-dimensional code not When normal two dimensional code, communication module 302 is triggered.
In a kind of specific embodiment of the invention, further includes:
Prompt information output module, for being mentioned to target device output when determining original two-dimensional code is abnormal two dimensional code Show information.
In a kind of specific embodiment of the invention, address information obtains module 301, is specifically used for:
After scanning original two-dimensional code, read-write of the serial data obtained after original two-dimensional code into AFC system will be scanned Device is sent;The address information in original two-dimensional code is obtained using reader.
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 the 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 scanning original two-dimensional code, the address information in the original two-dimensional code is obtained;
The communication connection with target device is established by the address information;Wherein, different target devices has different ground Location information;
When the original two-dimensional code is to enter the station yard, Xiang Suoshu target device is written for the original two-dimensional code to be revised as mesh The first data for marking two dimensional code, and when detecting the first feedback data, allow to hold the user of the target device by into It stands gate;
When the original two-dimensional code is station yard, the second data are written in Xiang Suoshu target device, and are detecting the second feedback When data, the user for allowing to hold the target device passes through outbound gate.
2. ticket checking method according to claim 1, which is characterized in that the address information is the bluetooth of the target device MAC address information;
The communication connection established by the address information with target device, comprising:
It is established by the address information and is connect with the Bluetooth communication of target device.
3. ticket checking method according to claim 1, which is characterized in that described when the original two-dimensional code is to enter the station yard Original two-dimensional code is the two dimensional code that the target device is generated at random using yard database that enters the station of itself.
4. ticket checking method according to claim 3, which is characterized in that the original two-dimensional code 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.
5. ticket checking method according to claim 1, which is characterized in that in the address obtained in the original two-dimensional code It is described to be established before the communication connection with target device by the address information after information, further includes:
Verify whether the original two-dimensional code is abnormal two dimensional code, and is determining that the original two-dimensional code is not abnormal two dimensional code When, execute the operation established by the address information with the communication connection of target device.
6. ticket checking method according to claim 5, which is characterized in that further include:
When determining the original two-dimensional code is abnormal two dimensional code, Xiang Suoshu target device exports prompt information.
7. ticket checking method according to any one of claims 1 to 6, which is characterized in that described to obtain the original two-dimensional code In address information, comprising:
Reader of the serial data obtained after the original two-dimensional code into AFC system will be scanned to send;
The address information in the original two-dimensional code is obtained using the reader.
8. ticket checking method according to claim 7, which is characterized in that the second data are written to the target device described Later, further includes: the station yard that goes out of the target device is revised as the code that enters the station.
9. a kind of ticket-checking system, which is characterized in that applied in the automatic ticket inspection AFC system of subway, comprising:
Address information obtains module, for obtaining the address information in the original two-dimensional code after scanning original two-dimensional code;
Communication module, for establishing the communication connection with target device by the address information;Wherein, different target device With different address informations;
First detection module, for when the original two-dimensional code is to enter the station yard, the write-in of Xiang Suoshu target device will be for will be described Original two-dimensional code is revised as the first data of target two dimensional code, and when detecting the first feedback data, allows to hold the mesh The user of marking device passes through the gate that enters the station;
Second detection module is used for when the original two-dimensional code is station yard, and the second data are written in Xiang Suoshu target device, and When detecting the second feedback data, the user for allowing to hold the target device passes through outbound gate.
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 claimed in any one of claims 1 to 8 when being executed by processor Suddenly.
CN201811527149.XA 2018-12-13 2018-12-13 Ticket checking method, system and computer readable storage medium Pending CN109636978A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811527149.XA CN109636978A (en) 2018-12-13 2018-12-13 Ticket checking method, system and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811527149.XA CN109636978A (en) 2018-12-13 2018-12-13 Ticket checking method, system and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN109636978A true CN109636978A (en) 2019-04-16

Family

ID=66073708

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811527149.XA Pending CN109636978A (en) 2018-12-13 2018-12-13 Ticket checking method, system and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109636978A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110008777A (en) * 2019-04-25 2019-07-12 厦门路桥信息股份有限公司 Two dimensional code write-back device, control method and ticket-checking system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120091202A1 (en) * 2000-06-09 2012-04-19 Flash Seats, Llc Mobile application bar code identification method and system
CN205140014U (en) * 2015-11-13 2016-04-06 广西米付网络技术有限公司 Ticket checking system based on bluetooth and two -dimensional code
CN106327637A (en) * 2016-08-25 2017-01-11 青岛亿联信息科技股份有限公司 Bluetooth door opening system based on community management and method
CN106327596A (en) * 2015-06-18 2017-01-11 湖南易世界科技有限公司 Parking lot management system and method based on two-dimensional code
CN206601733U (en) * 2017-07-27 2017-10-31 上海申通地铁集团有限公司 Ticket checking consumption system is sold in track traffic based on Quick Response Code off line certification
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
CN108090974A (en) * 2016-11-22 2018-05-29 深圳市微付充科技有限公司 gate control method and system
CN108234517A (en) * 2018-01-29 2018-06-29 成都智元汇信息技术股份有限公司 A kind of subway based on offline Quick Response Code ticket card is ridden off-line processing system and method
CN208092777U (en) * 2018-04-23 2018-11-13 毛卫军 A kind of intelligent traffic card

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120091202A1 (en) * 2000-06-09 2012-04-19 Flash Seats, Llc Mobile application bar code identification method and system
CN106327596A (en) * 2015-06-18 2017-01-11 湖南易世界科技有限公司 Parking lot management system and method based on two-dimensional code
CN205140014U (en) * 2015-11-13 2016-04-06 广西米付网络技术有限公司 Ticket checking system based on bluetooth and two -dimensional code
CN106327637A (en) * 2016-08-25 2017-01-11 青岛亿联信息科技股份有限公司 Bluetooth door opening system based on community management and method
CN108090974A (en) * 2016-11-22 2018-05-29 深圳市微付充科技有限公司 gate control method and system
CN206601733U (en) * 2017-07-27 2017-10-31 上海申通地铁集团有限公司 Ticket checking consumption system is sold in track traffic based on Quick Response Code off line certification
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
CN108234517A (en) * 2018-01-29 2018-06-29 成都智元汇信息技术股份有限公司 A kind of subway based on offline Quick Response Code ticket card is ridden off-line processing system and method
CN208092777U (en) * 2018-04-23 2018-11-13 毛卫军 A kind of intelligent traffic card

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110008777A (en) * 2019-04-25 2019-07-12 厦门路桥信息股份有限公司 Two dimensional code write-back device, control method and ticket-checking system

Similar Documents

Publication Publication Date Title
US20210182974A1 (en) Method for offering a protection policy for a mobile device
US20230007937A1 (en) Identifying electronic devices using temporally changing information
AU727710B2 (en) An electronic lottery system and its operating method and computer-readable recording medium in which the electronic lottery program code is stored
JP5009196B2 (en) Information processing apparatus, program, and information processing method
CN106534572A (en) Information display method and device and terminal
US20140097242A1 (en) Integrated card reader system
CN101673297B (en) Method for setting and prompting schedule information, system and mobile terminal therefor
CN102075627A (en) Information prompting method and mobile terminal
CN102842081A (en) Method for generating two-dimensional code and implementing mobile payment by mobile phone
CN101807319A (en) Authentication method and system based on ATM
CN101916478A (en) Method for automatically acquiring, verifying and inputting dynamic password in normal short message by client
CN111212188B (en) User dynamic monitoring method and device and telephone watch
EP1372291A1 (en) Portable information storage medium and its authentification method
CN106022181A (en) System and method for preventing unauthorized use of IC card
CN102411814A (en) Identity authentication method, handheld ATM (automated teller machine) terminal and system
CN104899785A (en) Mobile terminal self-help account opening system
CN112036868B (en) Two-dimensional code secure payment method, device, storage medium and equipment
CN107330777A (en) Bill management method and device
CN112468975A (en) Management method, device, medium and electronic equipment of analog card
CN108171863A (en) The method of inspection and device of VAT invoice
CN102968858B (en) Transaction data backup method in AFC system and transaction terminal
CN105138887B (en) A kind of input method of log-on message, device and terminal device
CN101178822A (en) Method supporting user verifying legitimacy of bank brushing card terminal equipment
CN109636978A (en) Ticket checking method, system and computer readable storage medium
CN202306708U (en) Hand-held ATM (automatic teller machine) terminal and 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190416

RJ01 Rejection of invention patent application after publication