CN108090974B - Gate control method and system - Google Patents

Gate control method and system Download PDF

Info

Publication number
CN108090974B
CN108090974B CN201611042188.1A CN201611042188A CN108090974B CN 108090974 B CN108090974 B CN 108090974B CN 201611042188 A CN201611042188 A CN 201611042188A CN 108090974 B CN108090974 B CN 108090974B
Authority
CN
China
Prior art keywords
information
gate
terminal
user
coded image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611042188.1A
Other languages
Chinese (zh)
Other versions
CN108090974A (en
Inventor
戴亦军
戴友平
戴辉辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Vfuchong Technology Co ltd
Original Assignee
Shenzhen Vfuchong Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Vfuchong Technology Co ltd filed Critical Shenzhen Vfuchong Technology Co ltd
Priority to CN201611042188.1A priority Critical patent/CN108090974B/en
Publication of CN108090974A publication Critical patent/CN108090974A/en
Application granted granted Critical
Publication of CN108090974B publication Critical patent/CN108090974B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B11/00Apparatus for validating or cancelling issued tickets
    • G07B11/02Apparatus for validating or cancelling issued tickets for validating inserted tickets
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B1/00Machines for printing and issuing tickets
    • 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/22Individual registration on entry or exit involving the use of a pass in combination with an identity check of the pass holder
    • 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/27Individual registration on entry or exit involving the use of a pass with central registration

Abstract

The invention relates to a gate control method.A terminal acquires encoded image information and sends the encoded image information to a gate, and the gate analyzes and verifies the encoded image information to obtain an analysis result and a verification result; the gate machine judges whether the verification result is passed, if so, the gate machine is opened, order information is generated according to the analysis result and the verification result, the mode of receiving the coded image information is judged, and if the gate machine receives the coded image information in a scanning mode, the order information is uploaded to a background server; if the gate receives the coded image information in an NFC or RFID mode, writing the order information into the terminal in the NFC or RFID mode, and uploading the order information to the background server; if the terminal is on line, the gate is closed, the user information is added into the blacklist, the background server matches the synchronous order information, the blacklist uploaded by the gate is received, and if the terminal is on line, the terminal returns confirmation information. In addition, a gate control system is also provided. The gate control method and the gate control system improve the efficiency of riding and passing.

Description

Gate control method and system
Technical Field
The invention relates to the field of access control, in particular to a gate control method and a gate control system.
Background
With the rapid development of economy and society, urban rail transit has become an important transportation mode. In the traditional mode, when a gate is passed, a user needs to buy a ticket in advance to pass through the gate, and an automatic ticket vending machine and manual ticket vending have the defects of complex operation, long waiting time and the like, so that the increasing demand of peak passenger flow cannot be met in the peak time periods of passenger flow such as commuting, holidays and the like, and the problem of low riding efficiency is caused.
Disclosure of Invention
In view of the above, it is desirable to provide a gate control method and system capable of improving riding efficiency.
A gate control method, the method comprising:
a terminal acquires encoded image information, wherein the encoded image information comprises user information of the terminal;
the gate receives the coded image information sent by the terminal, and analyzes and verifies the coded image information to obtain a corresponding analysis result and a corresponding verification result;
the gate machine judges whether the verification result is passed, if the verification result is passed, the gate machine is opened, order information is generated according to the analysis result and the verification result, the mode of receiving the coded image information is judged, and if the gate machine receives the coded image information in a scanning mode, the gate machine uploads the order information to a background server; if the gate receives the coded image information in a Near Field Communication (NFC) or radio frequency technology (RFID) transmission mode, the gate writes the order information into the terminal in the NFC or RFID transmission mode and uploads the order information to the background server;
if the verification result is that the user information passes the verification result, the gate is closed, and the user information is added into a blacklist;
and the background server synchronizes the order information in a matching way, receives the blacklist uploaded by the gate, and returns order confirmation information to the terminal if the terminal is online.
In one embodiment, the step of the terminal acquiring encoded image information, the encoded image information including user information of the terminal further comprises:
if the terminal is on line, checking whether the local user identity token information is valid, and if the user identity token information is invalid, applying for valid user identity token information to a background server, wherein the valid user identity token information comprises user authorization information of the terminal.
In one embodiment, the step of the terminal acquiring encoded image information, the encoded image information including user information of the terminal, comprises:
if the terminal is on line, sending a coded image information acquisition request to a background server, and receiving on-line coded image information generated by the background server, wherein the on-line coded image information comprises user information of the terminal;
and if the terminal is offline, generating offline coded image information according to the valid user identity token information, wherein the offline coded image information comprises the user information of the terminal.
In one embodiment, the gate machine analyzes and verifies the encoded image information to obtain a corresponding analysis result and a corresponding verification result, and the gate machine analyzes the encoded image information to obtain corresponding user information, where the user information includes at least one of user identity token information, user account information, NFC card number information, RFID card number information, amount information, and time information; and according to the user information, the gate machine verifies whether the user information meets a preset verification condition, if so, the verification result is pass, and if not, the verification result is reject to pass.
In one embodiment, the order information includes at least one of user account information, NFC card number information, RFID card number information, amount information, gate number and site information, and time information, and the step of matching and synchronizing the order information by the background server includes:
and the background server analyzes the order information to obtain corresponding analysis content, and synchronizes the order information according to the analysis content.
A gate control system, the system comprising:
the system comprises an information acquisition module, a gateway and a display module, wherein the information acquisition module is used for a terminal to acquire coded image information and send the coded image information to the gateway, and the coded image information comprises user information of the terminal;
the information processing module is used for receiving the coded image information sent by the terminal by the gate, analyzing and verifying the coded image information and obtaining a corresponding analysis result and a corresponding verification result;
the judging module is used for judging whether the verification result is passed or not;
the first processing module is used for opening the gate if the verification result is that the order information passes through the NFC or RFID transmission mode, generating order information according to the analysis result and the verification result, and judging a mode for receiving the coded image information, uploading the order information to a background server if the gate receives the coded image information in a scanning mode, and writing the order information into the terminal through the NFC or RFID transmission mode and uploading the order information to the background server if the gate receives the coded image information through the NFC or RFID transmission mode;
the second processing module is used for closing the gate and adding the user information into a blacklist if the verification result is that the user passes the authentication result;
and the background processing module is used for matching and synchronizing the order information by the background server, receiving the blacklist uploaded by the gate, and returning confirmation information to the terminal if the terminal is online.
In one embodiment, the system further includes a user token generation module, configured to check whether local user identity token information is valid if the terminal is online, and apply for valid user identity token information to a backend server if the user identity token information is invalid, where the valid user identity token information includes user authorization information of the terminal.
In one embodiment, the information obtaining module is further configured to send a coded image information obtaining request to a backend server if the terminal is online, and receive online coded image information generated by the backend server, where the online coded image information includes user information of the terminal; and if the terminal is offline, generating offline coded image information according to the valid user identity token information, wherein the offline coded image information comprises the user information of the terminal.
In an embodiment, the information processing module is further configured to analyze the encoded image information by the gate to obtain corresponding user information, where the user information includes at least one of user identity token information, user account information, NFC card number information, RFID card number information, amount information, and time information, and according to the user information, the gate verifies whether the user information meets a preset verification condition, and if so, the verification result is a pass, and if not, the verification result is a reject pass.
In an embodiment, the order information includes at least one of user account information, NFC card number information, RFID card number information, amount information, gate number and site information, and time information, and the background processing module is further configured to analyze the order information to obtain corresponding analysis content, and synchronize the order information according to the analysis content.
According to the gate control method and the gate control system, the coded image information is obtained through the terminal, and the coded image information comprises the user information of the terminal; the gate receives the coded image information sent by the terminal, and analyzes and verifies the coded image information to obtain a corresponding analysis result and a corresponding verification result; the gate judges whether the verification result is passed, if the verification result is passed, the gate is opened, order information is generated according to the analysis result and the verification result, the mode of receiving the coded image information is judged, and if the gate receives the coded image information in a scanning mode, the gate uploads the order information to the background server; if the gate receives the coded image information through a near field communication NFC or radio frequency technology RFID transmission mode, the gate writes the order information into the terminal through the NFC or RFID transmission mode and uploads the order information to the background server, the background server matches the synchronous order information and receives the blacklist uploaded by the gate, if the terminal is on line, confirmation information is returned to the terminal, and the coded image technology and the NFC or RFID technology are combined and applied to gate control, so that the terminal can be verified through the gate in an on-line state, an off-line state or a mobile phone black screen state, the process of ticket buying by bus and ticket checking by the gate is combined integrally, the defects of long waiting time, complex operation and the like when the traditional automatic ticket vending machine singly sells tickets are overcome, and the efficiency of bus passing is obviously improved.
Drawings
FIG. 1 is a diagram of an exemplary embodiment of a method for controlling a gate;
FIG. 2 is a flow chart of a gate control method in one embodiment;
FIG. 3 is a flow chart illustrating the gate receiving, parsing and verifying the encoded image information to obtain corresponding parsing results and verification results according to an embodiment;
FIG. 4 is a flow chart illustrating a method for controlling a gate in an embodiment;
FIG. 5 is a block diagram of a gate control system in one embodiment;
FIG. 6 is a block diagram of a gate control system in one embodiment;
FIG. 7 is a block diagram of a gate information processing module in one embodiment.
Detailed Description
In a specific embodiment, an application environment of the gate control method is shown in fig. 1, and includes a terminal 110, a gate 120, a background server 130, and a third-party server 140, where the terminal 110 is configured to provide a coded image, the gate 120 includes a gate switch, a gate information receiving device, and a gate server, where the gate 120 may receive coded image information sent by the terminal 110 through the gate information receiving device, the gate 120 may perform network communication with the background server 130 through the gate server, the terminal 110 may respectively perform communication with the background server 130 and the third-party server 140 through network connection, the terminal 110 includes, but is not limited to, a mobile phone, a tablet, an intelligent wearable device, and the like, and the background server is a device that provides services to the third party, and the provided services include a front-end service, an application service, a business service, a database service, and the like.
In one embodiment, as shown in fig. 2, there is provided a gate control method applied to the above environment, including the steps of:
in step S210, the terminal acquires encoded image information, which includes user information of the terminal.
Specifically, the mode of acquiring the encoded image information by the terminal may be that the terminal obtains the encoded image information from a server, or the encoded image information is generated locally by the terminal, that is, the encoded image generation algorithm may be placed in the server or the terminal, and the generated encoded image information is dynamic encoded image information, the encoded image information includes user information corresponding to the terminal, the user information includes related identification information of the user, and the encoded image may be, but is not limited to, an image such as a two-dimensional code, a barcode, or a combination of the two.
And step S220, the gate receives the coded image information sent by the terminal, and analyzes and verifies the coded image information to obtain a corresponding analysis result and a verification result.
Specifically, the gate information receiving device includes a gate code image reading device and at least one of an NFC (Near Field Communication) or RFID (Radio Frequency Identification) sensing device, when the terminal provides a display code image display pattern, the gate scans the code image information displayed by the terminal through the gate code image reading device, when the terminal does not provide the display code image pattern, the gate receives the code image information sent by the terminal through the NFC or RFID sensing device, and further analyzes the code image information to obtain corresponding user information, and determines whether the user information meets a gate preset condition to obtain a corresponding verification result.
In step S230, the gate determines whether the verification result is a pass.
Specifically, the gate verifies the current user information according to a preset verification condition, and the step S240 is performed when the user information meets the preset condition, and the step S270 is performed when the user information does not meet the preset condition.
And S240, if the verification result is that the order passes, opening the gate, generating order information according to the analysis result and the verification result, and judging the mode of receiving the coded image information, if the order passes, entering the step S250, and if the order passes, entering the step S260, if the order passes, entering the step S250.
Specifically, when the gate reads the encoded image information of the terminal through the encoded image reading device, that is, when the encoded image information is received in a scanning manner, the gate generates order information according to the user information and the verification result obtained from the analysis result, and the number and the site information of the gate itself, and can store the order information in the gate local server. Further, when the terminal enters the station, the entrance gate generates entrance order information according to the entrance user information and the entrance verification result obtained by the analysis result, and the number and the station information of the entrance gate; and when the terminal leaves the station, the gate machine of leaving the station generates order information of leaving the station according to the user information of leaving the station, the verification result of leaving the station, the number of the gate machine of leaving the station and the station information obtained by the analysis result.
When the gate receives the coded image information through the NFC card or the RFID card sensing device, the gate generates order information according to the user information and the verification result obtained by the analysis result and the number information of the gate, and the order information can be stored in a gate local server. Specifically, when the terminal enters the station and passes through the gate, the station entering gate generates station entering order information according to the station entering user information, the station entering verification result and the number and the station information of the station entering gate obtained according to the analysis result, and further stores the station entering order information in the gate local server; when the terminal leaves the gate, the terminal transmits the inbound information order and the coded image information to the outbound gate through the NFC or RFID sensing device, the outbound gate obtains corresponding outbound user information, outbound verification results, the number of the outbound gate and station information according to the coded image information analysis result, and further payment deduction processing is carried out by combining the gate inbound order information to generate outbound order information.
And step S250, when the coded image information is received in a scanning mode, the gate uploads the order information to a background server.
Specifically, when the gate reads the terminal coded image information through the coded image reading device, that is, when the coded image information is received in a scanning mode, the gate can firstly store the order information of entering the station and the order information of leaving the station in the gate local server, then asynchronously upload the order information to the background server, and also can synchronously transmit the order information to the background server in real time.
And step S260, when the coded image information is received through an NFC or RFID transmission mode, the gate writes the order information into the terminal through the NFC or RFID transmission mode and uploads the order information to the background server.
Specifically, when the gate receives the encoded image information through the NFC card or the RFID card sensing device, the gate may store the order information in the gate local server, and then asynchronously upload the order information to the background server, or synchronously transmit the order information to the background server in real time. Further, when the terminal enters the station and passes through the gate, the station entering gate transmits the station entering order information to the terminal through an NFC or RFID sensing device in the station entering gate, further stores the station entering order information in a gate local server, and then asynchronously uploads the station entering order information to the background server or synchronously transmits the station entering order information to the background server in real time. When the terminal leaves the gate when the terminal is out of the station, on one hand, the order information is written into the NFC card or the RFID card corresponding to the terminal through the NFC card or the RFID card induction device of the gate, on the other hand, the gate can further synchronously or asynchronously upload the order information stored in the local server to the background server, wherein the gate can synchronously or asynchronously acquire the order information of the terminal from the background server when the terminal is out of the station.
And step S270, if the verification result is that the user passes the verification, the gate machine continues to keep the closing state, and corresponding user information is added into a blacklist.
Specifically, when the user information corresponding to the terminal does not meet the preset verification condition of the gate, the gate keeps the gate switch closed and continues to be in a closed state, and adds the corresponding user information such as user identity information and user identification information into the gate blacklist, the gate can keep the blacklist synchronous with the background server in an asynchronous uploading and asynchronous downloading mode, namely, the gate can check whether the relevant order information and blacklist data which are not uploaded to the background server exist in a local preset time period when the gate is online, and can asynchronously download the blacklist for local maintenance.
And step S280, the background server matches the synchronous order information, receives the blacklist uploaded by the gate, and returns confirmation information to the terminal if the terminal is online.
Specifically, the gate uploads order information and a blacklist to a background server in an asynchronous and synchronous processing mode, the background server obtains corresponding user identity information, user identification information, gate number and site information, gate verification results and payment transaction information by analyzing the order information, matches and synchronizes orders according to the analysis results of the order information, further matches and determines the order information of entering and leaving stations belonging to the same user, then conducts fee accounting processing to obtain fee deduction amount information of the same user payment account, if the amount of the user payment account is insufficient, sends a corresponding payment fee deduction request to a third party server according to bank card information bound by the user to conduct fee deduction processing to obtain corresponding fee deduction amount information, the fee deduction amount information can be stored in the background server firstly, when the terminal is on line, and returning confirmation information such as corresponding fee deduction amount and the like to the terminal, and if the background server cannot match the synchronous order information to perform accounting fee deduction, listing the order information as abnormal order information and adding the abnormal order information into a blacklist.
In the embodiment, the coded image information is obtained through the terminal, and the coded image information comprises user information of the terminal; the gate receives the coded image information sent by the terminal, and analyzes and verifies the coded image information to obtain a corresponding analysis result and a corresponding verification result; the gate machine judges whether the verification result is passed, if the verification result is passed, the gate machine is opened, the mode of receiving the coded image information is judged, and when the coded image information is received in a scanning mode, the gate machine generates order information according to the analysis result and the verification result and uploads the order information to the background server; when receiving the coded image information in an NFC or RFID transmission mode, the gate generates order information according to the analysis result and the verification result, writes the order information into the terminal in the NFC or RFID transmission mode, and uploads the order information to the background server; if the verification result is that the ticket passes the ticket passing process, the gate is closed, corresponding user information is added into a blacklist, the background server is matched with synchronous order information, the blacklist uploaded by the gate is received, if the terminal is online, confirmation information is returned to the terminal, and the coded image technology and the NFC or RFID technology are combined and applied to gate control, so that the terminal can be verified by the gate no matter the terminal is online, offline or in a mobile phone black screen state, the process of ticket buying by bus and ticket checking by gate entering and exiting is combined integrally, the defects of long waiting time, complex operation and the like when the traditional automatic ticket vending machine sells tickets independently are overcome, and the efficiency of bus passing is obviously improved.
In one embodiment, step S210 is preceded by: and if the terminal is on line, checking whether the local user identity token information is valid, and if the user identity token information is invalid, applying the valid user identity token information to a background server, wherein the valid user identity token information comprises user authorization information of the terminal.
Specifically, when the terminal is online, the terminal checks whether the local user identity token information is valid and available, if the user identity token information is invalid, an application request for updating the user identity token information is sent to a background server, the valid user identity token information issued by the server is received and stored on the local terminal equipment, so that the valid user identity token information is selected to be used as an element of a terminal offline generated coded image when the terminal is offline, and the valid user identity token information comprises user authorization information of the terminal and has timeliness.
In the embodiment, the effective user identity token information is set as an element of the terminal offline coded image, so that the terminal can generate the coded image information according to the effective user identity token information when offline and further passes the verification of the gate.
In one embodiment, step S210 includes: if the terminal is on-line, sending a coded image information acquisition request to the background server, receiving on-line coded image information generated by the background server, wherein the on-line coded image information comprises user information of the terminal, and if the terminal is off-line, generating off-line coded image information according to the valid user identity token information.
Specifically, when the terminal is on line, a coded image information acquisition request is sent to a background server, at the moment, the background server searches for corresponding user information in the server according to user account information sent by the terminal, the background server generates corresponding on-line coded image information according to the user information by using a preset coded image generation algorithm, and then sends the on-line coded image information to the terminal, wherein the on-line coded image information can be dynamic coded image information; when the terminal is off-line, the effective user identity token information is used as one of the elements of the terminal for generating the off-line coded image, the off-line coded image information can also be dynamic coded image information, by the two modes, the offline coding image information is acquired in the terminal offline state and the corresponding online coding image information is acquired in the terminal online state respectively, the user identity token information acquired from the background server in the terminal online state and the offline coding image are skillfully combined, the problem that the offline two-dimensional code is generated in the terminal offline state to pass gate verification is solved, the coded image information can be set as dynamic coded image information, the possibility of copying the coded image information is further avoided, the security and the confidentiality of the coded image information acquired by the terminal are enhanced, and the verification of the terminal passing through the gate is further ensured to be safer.
In one embodiment, as shown in fig. 3, step S220 includes:
s222, the gate receives the coded image information sent by the terminal;
s224, the gate machine analyzes the coded image information to obtain corresponding user information, wherein the user information comprises at least one of user identity token information, user account information, NFC card number information, RFID card number information, money information and time information.
Specifically, the gate machine analyzes the encoded image information through the local server to obtain corresponding user information, where the user information includes user identification information, such as at least one of user identity token information, user account information, NFC card number information, RFID card number information, amount information, and time information, where the user account information refers to payment account information of a terminal APP (Application) electronic payment wallet, and the terminal APP can communicate with the gate machine background server, where the account may correspond to the amount information of the terminal user, and may also be bound with the NFC card number or the RFID card number information of the terminal user, and the user information may also include time information of the terminal transmitting the encoded image to the gate machine.
S226, according to the user information, the gate machine verifies whether the user information meets a preset verification condition, if so, the verification result is pass, and if not, the verification result is reject to pass.
Specifically, according to the analyzed user information, the gate machine verifies whether the user account information in the user information is in a blacklist, and whether the amount information corresponding to the user account and the amount information corresponding to the NFC card or the RFID card are sufficient, if any condition is not met, the verification result is failed, and if all the verification conditions are met, the verification result is passed.
In the embodiment, the gate machine firstly analyzes the coded image information to obtain a corresponding analysis result, and verifies the coded image information through the preset verification condition, so that the situations that the balance of a terminal user is insufficient, the coded image information belongs to a blacklist and the like can be avoided, and the control capability of the gate machine is improved.
In one embodiment, the order information includes at least one of user account information, NFC card number information, RFID card number information, amount information, gate number and site information, and time information, and the step of matching the synchronized order information by the background server in step S260 includes: and the background server analyzes the order information to obtain a corresponding analysis result, and matches the synchronous order information according to the analysis result.
Specifically, the time information in the order information refers to time information of the gate receiving the encoded image information, and the gate number and the site information refer to the gate number and the site information of the order generated in one order, that is, the gate number of the encoded image information corresponding to the received order information is the same as the site information thereof.
In one embodiment, the background server analyzes the order information, obtains user information, gate number and site information corresponding to the order information and a verification result, and synchronizes the order information according to the analysis content.
In one embodiment, as shown in fig. 4, the gate control method includes the following steps:
1. the terminal acquires coded image information, the coded image information comprises user information of the terminal, and the coded image information is displayed on the terminal and is sent to the gate.
2. And the gate receives the coded image information sent by the terminal, and analyzes and verifies the coded image information to obtain a corresponding analysis result and a corresponding verification result.
3. And (4) judging whether the verification result is passed or not by the gate, if so, entering the step 4, and if not, entering the step 7.
4. And generating order information according to the analysis result and the verification result, and judging the mode of receiving the coded image information, if the order information is in a scanning mode, entering a step 5, and if the order information is in an NFC or RFID mode, entering a step 6.
5. When the coded image information is received in a scanning mode, the gate uploads the order information to the background server.
6. And when receiving the coded image information in an NFC or RFID transmission mode, the gate writes the order information into the terminal in an NFC or RFID transmission mode and uploads the order information to the background server.
7. And if the verification result is that the user passes the verification, closing the gate and adding the corresponding user information into the blacklist.
8. And the background server is matched with the synchronous order information, receives the blacklist uploaded by the gate, and returns confirmation information to the terminal if the terminal is online.
As shown in fig. 5, in one embodiment, there is provided a gate control system comprising:
and a terminal information obtaining module 310, configured to obtain, by the terminal, encoded image information and send the encoded image information to the gate, where the encoded image information includes user information of the terminal.
And the gate information processing module 320 is configured to receive the encoded image information sent by the terminal, analyze and verify the encoded image information, and obtain a corresponding analysis result and a corresponding verification result.
The determining module 330 is configured to determine whether the verification result is passed.
The first processing module 340 is configured to open the gate if the verification result is that the order information passes, generate order information according to the analysis result and the verification result, upload the order information to the background server if the gate receives the encoded image information in a scanning manner, and write the order information into the terminal in an NFC or RFID transmission manner and upload the order information to the background server if the gate receives the encoded image information in an NFC or RFID transmission manner.
And the second processing module 350, configured to, if the verification result is that the user information is rejected to pass, keep the gate in a closed state, and add the corresponding user information to the blacklist.
And the background processing module 360 is used for matching the synchronous order information by the background server, receiving the blacklist uploaded by the gate, and returning confirmation information to the terminal if the terminal is online.
In one embodiment, as shown in fig. 6, the system further includes an end user token generation module 370, configured to check whether the local user identity token information is valid if the end terminal is online, and apply for valid user identity token information to the background server if the user identity token information is invalid, where the valid user identity token information includes user authorization information of the end terminal.
In one embodiment, the information obtaining module 310 is further configured to send a coded image information obtaining request to the backend server if the terminal is online, and receive online coded image information generated by the backend server, where the online coded image information includes user information of the terminal; and if the terminal is offline, generating offline coded image information according to the valid user identity token information, wherein the offline coded image information comprises the user information of the terminal.
As shown in fig. 7, in one embodiment, the gate information processing module 320 includes:
and a gate information receiving unit 322, configured to receive the encoded image information sent by the terminal through the gate.
And the gate information analyzing unit 324 is configured to analyze the encoded image information by the gate to obtain corresponding user information, where the user information includes at least one of user identity token information, user account information, NFC card number information, RFID card number information, amount information, and time information.
The gate information verifying unit 326 verifies whether the user information meets a preset verification condition according to the user information, if so, the verification result is pass, and if not, the verification result is reject pass.
In one embodiment, the order information includes at least one of user account information, NFC card number information, RFID card number information, amount information, gate number and site information, and time information, and the background processing module is further configured to analyze the order information to obtain corresponding analysis content, and synchronize the order information according to the analysis content.
It will be understood by those skilled in the art that all or part of the processes in the methods of the embodiments described above may be implemented by hardware related to instructions of a computer program, which may be stored in a computer readable storage medium, for example, in the storage medium of a computer system, and executed by at least one processor in the computer system, so as to implement the processes of the embodiments including the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (12)

1. A gate control method, the method comprising:
the terminal acquires the coded image information, and comprises the following steps: if the terminal is offline, generating offline coded image information in the prestored valid user identity token information; the coded image information comprises user information of the terminal, the user information comprises user identity token information, user account information, NFC card number information, RFID card number information and amount information, and the coded image information is dynamic coded image information;
the gate receives the coded image information sent by the terminal, analyzes the coded image information to obtain the user information, takes the user information as an analysis result, and verifies the user information to obtain a corresponding verification result;
the gate machine judges whether the verification result is passed, when the user account information in the user information is not in a blacklist and the amount information corresponding to the user account information and the amount information corresponding to the NFC card number information or the RFID card number information are sufficient, the verification result is passed, otherwise, the verification result is refused to pass;
if the verification result is that the order passes, the gate is opened, order information is generated according to the analysis result and the verification result, the mode of receiving the coded image information is judged, and if the gate receives the coded image information in a scanning mode, the gate uploads the order information to a background server; if the gate receives the coded image information in a Near Field Communication (NFC) or radio frequency technology (RFID) transmission mode, the gate writes the order information into the terminal in the NFC or RFID transmission mode and uploads the order information to the background server;
if the verification result is that the user information passes the verification result, the gate is closed, and the user information is added into a blacklist;
the background server matches and synchronizes the order information and carries out fee deduction processing, receives the blacklist uploaded by the gate machine, and returns order confirmation information to the terminal if the terminal is online; the order confirmation information includes deduction amount information.
2. The method of claim 1, wherein the step of the terminal obtaining encoded image information, the encoded image information including user information of the terminal, is preceded by the step of:
if the terminal is on line, checking whether the local user identity token information is valid, and if the user identity token information is invalid, applying for valid user identity token information to a background server, wherein the valid user identity token information comprises user authorization information of the terminal.
3. The method of claim 2, wherein the step of the terminal obtaining encoded image information, the encoded image information including user information of the terminal comprises:
and if the terminal is on line, sending a coded image information acquisition request to a background server, and receiving on-line coded image information generated by the background server, wherein the on-line coded image information comprises user information of the terminal.
4. The method of claim 1, wherein the user information comprises time information.
5. The method of claim 1, wherein the order information comprises at least one of user account information, NFC card number information, RFID card number information, amount information, gate number and site information, and time information, and the step of the background server matching and synchronizing the order information comprises:
and the background server analyzes the order information to obtain corresponding analysis content, and synchronizes the order information according to the analysis content.
6. A gate control system, the system comprising:
the information acquisition module is used for the terminal to acquire the coding image information and send to the floodgate machine, includes: if the terminal is offline, generating offline coded image information in the prestored valid user identity token information; the coded image information comprises user information of the terminal, the user information comprises user identity token information, user account information, NFC card number information, RFID card number information and amount information, and the coded image information is dynamic coded image information;
the information processing module is used for receiving the coded image information sent by the terminal by the gate, analyzing the coded image information to obtain the user information, taking the user information as an analysis result, and verifying the user information to obtain a corresponding verification result;
the judging module is used for judging whether the verification result passes or not by the gate, when the user account information in the user information is not in a blacklist and the amount information corresponding to the user account information and the amount information corresponding to the NFC card number information or the RFID card number information are sufficient, the verification result passes, otherwise, the verification result refuses to pass;
the first processing module is used for opening the gate if the verification result is that the order passes, generating order information according to the analysis result and the verification result, judging a mode of receiving the coded image information, and uploading the order information to a background server if the gate receives the coded image information in a scanning mode; if the gate receives the coded image information in a Near Field Communication (NFC) or radio frequency technology (RFID) transmission mode, the gate writes the order information into the terminal in the NFC or RFID transmission mode and uploads the order information to the background server;
the second processing module is used for closing the gate if the verification result is that the user passes the verification result and adding the user information into a blacklist;
the background processing module is used for matching and synchronizing the order information by the background server, carrying out fee deduction processing, receiving the blacklist uploaded by the gate machine, and returning order confirmation information to the terminal if the terminal is online; the order confirmation information includes deduction amount information.
7. The system of claim 6, further comprising:
and the user token generation module is used for checking whether the local user identity token information is valid or not if the terminal is online, and applying for valid user identity token information to a background server if the user identity token information is invalid, wherein the valid user identity token information comprises user authorization information of the terminal.
8. The system according to claim 7, wherein the information obtaining module is further configured to send a coded image information obtaining request to a backend server if the terminal is online, and receive online coded image information generated by the backend server, where the online coded image information includes user information of the terminal.
9. The system of claim 6, wherein the user information comprises time information.
10. The system of claim 6, wherein the order information includes at least one of user account information, NFC card number information, RFID card number information, amount information, gate number and site information, and time information, and the background processing module is further configured to parse the order information by the background server to obtain corresponding parsing content, and synchronize the order information according to the parsing content.
11. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 5.
12. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
CN201611042188.1A 2016-11-22 2016-11-22 Gate control method and system Active CN108090974B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611042188.1A CN108090974B (en) 2016-11-22 2016-11-22 Gate control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611042188.1A CN108090974B (en) 2016-11-22 2016-11-22 Gate control method and system

Publications (2)

Publication Number Publication Date
CN108090974A CN108090974A (en) 2018-05-29
CN108090974B true CN108090974B (en) 2021-09-03

Family

ID=62170989

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611042188.1A Active CN108090974B (en) 2016-11-22 2016-11-22 Gate control method and system

Country Status (1)

Country Link
CN (1) CN108090974B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108846730A (en) * 2018-06-22 2018-11-20 北京京东金融科技控股有限公司 Method and apparatus for handling request
CN110634191B (en) * 2018-06-22 2022-03-01 腾讯科技(深圳)有限公司 Authentication method, apparatus, medium, and device
CN109145561B (en) * 2018-08-09 2021-10-29 顾宏超 Authentication method of computer, apparatus thereof and storage medium
CN109087425B (en) * 2018-08-09 2021-07-30 顾宏超 Access control method, device and storage medium for access device
CN109117617B (en) * 2018-08-09 2021-10-29 顾宏超 Remote authentication method of self-service terminal, device, equipment and storage medium thereof
CN109636978A (en) * 2018-12-13 2019-04-16 青岛博宁福田智能交通科技发展有限公司 A kind of ticket checking method, system and computer readable storage medium
CN109982237B (en) * 2018-12-21 2021-03-23 维沃移动通信有限公司 Communication method and device
WO2020142993A1 (en) * 2019-01-10 2020-07-16 环球雅途集团有限公司 Control method, ticket selling and checking systems and storage medium
CN112216000A (en) * 2019-06-25 2021-01-12 比亚迪股份有限公司 Gate machine
CN110648147B (en) * 2019-09-11 2023-11-21 郑州地铁集团有限公司 Information interaction method and storage medium for two-dimension code transaction of rail transit gate
CN111031125A (en) * 2019-12-10 2020-04-17 咪付(广西)网络技术有限公司 User data pushing method and system based on travel record
CN113538954A (en) * 2021-07-12 2021-10-22 深圳市三联众瑞科技有限公司 Bus travel rule identification method
CN114495295A (en) * 2021-12-15 2022-05-13 中国建设银行股份有限公司 Gate pass control method, system, computer device and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102222368A (en) * 2011-04-28 2011-10-19 王鑫 Electronic ticket authentication system applying short-distance communication technology and detection method
CN103177297A (en) * 2013-04-02 2013-06-26 浙江中呼科技有限公司 Method for carrying out electronic identity recognition by utilizing two-dimensional code
CN105574629B (en) * 2014-10-13 2020-08-21 航天信息股份有限公司 Electronic ticket checking method and system based on graphic coding
CN105261071B (en) * 2015-11-13 2018-07-27 咪付(广西)网络技术有限公司 Ticket-checking system based on bluetooth and Quick Response Code and method
CN106022819A (en) * 2016-05-13 2016-10-12 昆山爱贝儿网络科技有限公司 Method and system of carfare payment via mobile terminal for rail transit

Also Published As

Publication number Publication date
CN108090974A (en) 2018-05-29

Similar Documents

Publication Publication Date Title
CN108090974B (en) Gate control method and system
TWI749577B (en) Two-dimensional bar code processing method, device and system
US8533123B2 (en) Systems and methods for conducting contactless payments using a mobile device and a magstripe payment card
CN108257226B (en) Code scanning ticket checking method, system, device, computer equipment and storage medium
KR101512001B1 (en) System and method for user authentication by using a physical financial card and mobile communication terminal
CN103415858A (en) Mobile application bar code identification method and system
CN104919779A (en) Method for authenticating a user with respect to a machine
CN101916478A (en) Method for automatically acquiring, verifying and inputting dynamic password in normal short message by client
CN101388066A (en) Method for implementing two-dimensional code certification
CN206684807U (en) gate and gate system
CN103632436B (en) A kind of method of the withdrawal based on terminal
CN106897874B (en) Mobile payment method, device and system
CN107194694A (en) A kind of off line method of payment based on Quick Response Code
CN109887112B (en) Data processing method and device and electronic equipment
CN101448257A (en) Control system for validating user terminal and control method thereof
CN108460593A (en) A kind of offline Quick Response Code method of payment and device
KR20100135617A (en) Accounting method in electronic commerce using a one time password and system thereof
CN105550928A (en) System and method of network remote account opening for commercial bank
CN110147991A (en) A kind of method, apparatus and system of the multi-platform payment of graphic code
CN110310018B (en) License plate information processing method and device, electronic equipment and storage medium
CN113628352B (en) Subway ticket business system based on secondary selling and subway ticket secondary selling method
CN107341656A (en) A kind of interactive coded image recognition methods and system
WO2016136798A1 (en) Combination authentication method, combination authentication device and authentication system for station service equipment
CN115564430A (en) Transaction authorization
KR102392147B1 (en) Method for Converging Facing and Non-facing Certification

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant