CN113516787B - Automatic ticket checking method, device, computer equipment and storage medium - Google Patents

Automatic ticket checking method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN113516787B
CN113516787B CN202110429057.3A CN202110429057A CN113516787B CN 113516787 B CN113516787 B CN 113516787B CN 202110429057 A CN202110429057 A CN 202110429057A CN 113516787 B CN113516787 B CN 113516787B
Authority
CN
China
Prior art keywords
user
ticket checking
information
operation system
ticket
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
CN202110429057.3A
Other languages
Chinese (zh)
Other versions
CN113516787A (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.)
Grg Intelligent Technology Solution Co ltd
GRG Banking Equipment Co Ltd
Original Assignee
Grg Intelligent Technology Solution Co ltd
GRG Banking Equipment 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 Grg Intelligent Technology Solution Co ltd, GRG Banking Equipment Co Ltd filed Critical Grg Intelligent Technology Solution Co ltd
Priority to CN202110429057.3A priority Critical patent/CN113516787B/en
Publication of CN113516787A publication Critical patent/CN113516787A/en
Application granted granted Critical
Publication of CN113516787B publication Critical patent/CN113516787B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B11/00Apparatus for validating or cancelling issued 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

Landscapes

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

Abstract

The application relates to an automatic ticket checking method, an automatic ticket checking device, computer equipment and a storage medium. The method comprises the following steps: the ticket checking system responds to a ticket checking request sent by the first operation system, and user travel information corresponding to the ticket checking request is obtained and stored in advance; the first operation system is an operation system corresponding to a ticket checking gate for triggering a ticket checking request; based on preset ticket rules, carrying out validity detection on the user travel information; if the validity detection is passed, returning the detection result to the first operation system so that the first operation system generates a brake opening instruction and returns corresponding ticket checking transaction information; the opening instruction is used for executing opening processing on the ticket checking gate by the first operation system; and receiving ticket checking transaction information, acquiring user attributes and transaction attributes corresponding to the ticket checking transaction information, and pushing the ticket checking transaction information to a second operation system associated with the user attributes and the transaction attributes. The method can realize sharing of riding information among multiple operating systems.

Description

Automatic ticket checking method, device, computer equipment and storage medium
Technical Field
The present disclosure relates to the field of traffic technologies, and in particular, to an automatic ticket checking method, an automatic ticket checking device, a computer device, and a storage medium.
Background
With the development of traffic technology, a technology for realizing ticket checking and traveling by using a smart card appears, and when a user uses the smart card to swipe a card for riding, a gate for swiping the card can write the information of entering or exiting the bus, charging of exiting the bus and other related riding information into the smart card.
The current riding media used by users are expanded from smart cards to emerging media such as two-dimension codes and financial IC cards, and the emerging media are different from the traditional smart cards in that the media have read-only properties, the device cannot write riding information into the emerging media, and particularly for a plurality of traffic operation systems, the current automatic ticket checking system cannot realize interconnection and intercommunication between riding information.
Disclosure of Invention
Based on this, it is necessary to provide an automatic ticket checking method, apparatus, computer device and storage medium in order to solve the above-mentioned technical problems.
An automatic ticket checking method applied to a ticket checking system, the method comprising:
responding to a ticket checking request sent by a first operation system, and acquiring prestored user travel information corresponding to the ticket checking request; the first operation system is an operation system corresponding to a ticket gate for triggering the ticket checking request;
Based on preset ticketing rules, carrying out validity detection on the user travel information;
if the detection result of the validity detection is that the detection is passed, returning the detection result to the first operation system so that the first operation system generates a brake-off instruction according to the detection result and returns ticket checking transaction information corresponding to the ticket checking request; the opening instruction is used for executing opening processing on the ticket checking gate by the first operation system;
and receiving the ticket checking transaction information, acquiring user attributes and transaction attributes corresponding to the ticket checking transaction information, and pushing the ticket checking transaction information to a second operation system associated with the user attributes and the transaction attributes.
In one embodiment, after receiving the ticket checking transaction information, the method further includes: acquiring updated journey information corresponding to the ticket checking transaction information according to the ticket checking transaction information; and updating the user travel information corresponding to the ticket checking request by using the updated travel information.
In one embodiment, after receiving the ticket checking transaction information, the method further includes: generating order information corresponding to the ticket checking transaction information based on a preset order generation rule and storing the order information; the method further comprises the steps of: responding to an order inquiry request initiated by an order inquiry operation system, and carrying out validity authentication processing on the order inquiry operation system; if the legal authentication result of the order inquiry operation system is that the authentication is passed, order information corresponding to the order inquiry request is obtained, and the order information is returned to the order inquiry operation system.
In one embodiment, the ticket checking request carries a user identifier; the obtaining pre-stored user travel information corresponding to the ticket checking request includes: and acquiring user journey information corresponding to the user identifier from a journey information base which stores a plurality of user journey information in advance, and taking the user journey information as the user journey information corresponding to the ticket checking request.
In one embodiment, before the obtaining the user trip information corresponding to the user identifier from the trip information base pre-stored with the plurality of user trip information, the method further includes: responding to a user registration request, and acquiring user information corresponding to the user registration request; and auditing the user information, and after the auditing is passed, acquiring a user identifier to be registered from a user identifier resource pool, and establishing a corresponding relation between the user identifier to be registered and the user information.
In one embodiment, after the establishing the correspondence between the user identifier to be registered and the user information, the method further includes: responding to a user information inquiry request initiated by a user information inquiry operation system, and carrying out validity authentication processing on the user information inquiry operation system; if the legal authentication result of the user information inquiry operation system is that the authentication passes, acquiring a user identification to be inquired corresponding to the user information inquiry request; and acquiring user information corresponding to the user identification to be queried, and returning the user information to the user information query operation system.
In one embodiment, the obtaining pre-stored user trip information corresponding to the ticket checking request includes: carrying out legal authentication processing on the first operation system; and if the legal authentication result of the first operation system is that the authentication passes, acquiring user travel information corresponding to the ticket checking request.
An automatic ticket checking apparatus for use in a ticket checking system, the apparatus comprising:
the travel information acquisition module is used for responding to the ticket checking request sent by the first operation system and acquiring prestored user travel information corresponding to the ticket checking request; the first operation system is an operation system corresponding to a ticket checking gate for triggering a ticket checking request;
the journey information detection module is used for detecting the validity of the journey information of the user based on preset ticketing rules;
the travel detection sending module is used for returning the detection result to the first operation system if the detection result of the validity detection is that the detection is passed, so that the first operation system generates a switching-on instruction according to the detection result and returns ticket checking transaction information corresponding to the ticket checking request; the opening instruction is used for executing opening processing on the ticket checking gate by the first operation system;
The transaction information sharing module is used for receiving the ticket checking transaction information, acquiring user attributes and transaction attributes corresponding to the ticket checking transaction information, and pushing the ticket checking transaction information to a second operation system associated with the user attributes and the transaction attributes.
A computer device comprising a memory storing a computer program and a processor implementing the steps of the method described above when the processor executes the computer program.
A computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method described above.
The automatic ticket checking method, the automatic ticket checking device, the computer equipment and the storage medium, wherein the ticket checking system responds to a ticket checking request sent by the first operation system to acquire prestored user travel information corresponding to the ticket checking request; the first operation system is an operation system corresponding to a ticket checking gate for triggering a ticket checking request; based on preset ticket rules, carrying out validity detection on the user travel information; if the detection result of the validity detection is that the detection is passed, returning the detection result to the first operation system so that the first operation system generates a switching-on instruction according to the detection result and returns ticket checking transaction information corresponding to the ticket checking request; the opening instruction is used for executing opening processing on the ticket checking gate by the first operation system; and receiving ticket checking transaction information, acquiring user attributes and transaction attributes corresponding to the ticket checking transaction information, and pushing the ticket checking transaction information to a second operation system associated with the user attributes and the transaction attributes. According to the ticket checking system, after the ticket checking and opening are completed by the first operation system, the transaction information of the ticket checking can be transmitted into the ticket checking system, and the transaction information is shared to other related second operation systems by the ticket checking system, so that the sharing of the riding information among multiple operation systems can be realized without writing the riding information into the riding medium.
Drawings
FIG. 1 is a diagram of an application environment for an automated ticketing method in one embodiment;
FIG. 2 is a flow chart of an automatic ticket checking method in one embodiment;
FIG. 3 is a flow diagram of order information query in one embodiment;
FIG. 4 is a flow diagram of a user information query in one embodiment;
FIG. 5 is a schematic diagram of an automated ticketing system in one example of an application;
FIG. 6 is a flow chart of user travel management in an example application;
FIG. 7 is a schematic flow chart of ticket checking transaction uploading in an application example;
FIG. 8 is a flow chart of order matching in an example application;
FIG. 9 is a block diagram of an automated ticketing apparatus in one embodiment;
fig. 10 is an internal structural view of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
The automatic ticket checking method provided by the application can be applied to an application environment shown in fig. 1. Wherein the ticket checking system 102 communicates with the first operation system 101 and the second operation system 103 via a network. The first operation system 101 may be an operation system corresponding to a ticket gate through which a user needs to pass, and the second operation system may be an operation system that needs to perform information sharing. Specifically, when a user performs ticket checking and passing through a ticket checking gate by using a riding medium, the first operation system 101 corresponding to the gate can send a corresponding ticket checking request to the ticket checking system 102, after the ticket checking system 102 obtains the journey information of the corresponding user, the ticket checking system 102 determines whether the journey of the user is legal through a ticket rule, if so, the detection result of the journey of the user is returned to the first operation system 101, a gate opening instruction is executed by the first operation system 101, corresponding ticket checking transaction information is returned, and the ticket checking system 102 shares the ticket checking transaction information to other related second operation systems 103. The ticket checking system 102, the first operation system 101, and the second operation system 103 may be implemented by a separate server or a server cluster formed by a plurality of servers.
In one embodiment, as shown in fig. 2, an automatic ticket checking method is provided, and the method is applied to the ticket checking system 102 in fig. 1 for illustration, and includes the following steps:
step S201, the ticket checking system 102 responds to the ticket checking request sent by the first operation system 101, and obtains pre-stored user travel information corresponding to the ticket checking request; the first operation system 101 is an operation system corresponding to a ticket gate for triggering a ticket checking request.
Where the ticket checking request refers to a ticket checking request triggered by the first operation system 101 to the ticket checking system 102, the request may be triggered by the first operation system 101 from a ticket checking gate managed by the first operation system, for example, when a user passes through a ticket checking gate by using a certain riding medium, the ticket checking gate may generate a corresponding ticket checking request to the corresponding first operation system 101, may be an operation system of an operation company corresponding to the ticket checking gate, and the user journey information triggers a relevant journey of the user of the ticket checking request by using the riding medium, for example, an inbound time of the user, or an inbound gate, etc.
Specifically, the ticket checking system 102 may establish network communication connection with various operation systems in advance, and when a user needs to pass through a certain ticket checking gate, the gate may trigger a corresponding ticket checking request to its corresponding first operation system 101, and the first operation system may transmit the ticket checking request to the ticket checking system 102, so that the ticket checking system 102 queries travel information corresponding to the user according to the obtained ticket checking request.
In step S202, the ticket checking system 102 performs validity detection on the user travel information based on the preset ticket rule.
The preset ticket rule refers to a rule designed in advance for detecting whether the journey of the user is legal, for example, the rule may be an urban rail transit ticket rule, and the validity detection process may be, for example, to determine whether the user takes a car maliciously according to the time of entering and exiting the gate of the user, or whether the client lacks a possible malicious ticket escaping behavior such as a gate entering record, etc., and the ticket checking system 102 may determine whether the journey of the user is legal according to the preset ticket rule.
Step S203, if the detection result of the validity detection is that the detection is passed, the ticket checking system 102 returns the detection result to the first operation system 101, so that the first operation system 101 generates a switching-off instruction according to the detection result, and returns ticket checking transaction information corresponding to the ticket checking request; the opening instruction is used for the first operation system 101 to perform opening processing on the ticket gate.
After that, if the ticket checking system 102 determines that the user journey validity detection is passed, the result of the pass detection may be sent to the first operation system 101, so that the first operation system 101 may generate a switching-off instruction according to the detection result of the pass detection, perform switching-off processing on a gate that triggers a ticket checking request, and simultaneously return corresponding ticket checking transaction information, where the ticket checking transaction information may include related information such as a riding time length, a riding start station, a terminal station, a riding fare, and the like of the user.
In step S204, the ticket checking system 102 receives the ticket checking transaction information, acquires the user attribute and the transaction attribute corresponding to the ticket checking transaction information, and pushes the ticket checking transaction information to the second operation system 102 associated with the user attribute and the transaction attribute.
Finally, the ticket checking system 102 may receive ticket checking transaction information returned by the first operation system 101, and use the user attribute and the transaction attribute corresponding to the ticket checking transaction information to associate the ticket checking transaction information with the second operation system 102, for example, the second operation system 102 associated with the user attribute and the transaction attribute, which may be a related operation system that is authorized by the user in advance and may perform information sharing on the transaction information, or the gate used by the user to enter the gate and the gate used by the user to exit the gate respectively correspond to different operation systems, and then the operation system corresponding to the gate passed by the user to enter the gate may be used as the second operation system 102.
In the automatic ticket checking method, the ticket checking system 102 responds to the ticket checking request sent by the first operation system 101 to acquire the prestored user travel information corresponding to the ticket checking request; the first operation system 101 is an operation system corresponding to a ticket gate for triggering a ticket checking request; based on preset ticket rules, carrying out validity detection on the user travel information; if the detection result of the validity detection is that the detection is passed, returning the detection result to the first operation system 101, so that the first operation system 101 generates a switching-off instruction according to the detection result and returns ticket checking transaction information corresponding to the ticket checking request; the opening instruction is used for executing opening processing on the ticket checking gate by the first operation system 101; and receiving ticket checking transaction information, acquiring user attributes and transaction attributes corresponding to the ticket checking transaction information, and pushing the ticket checking transaction information to a second operation system 103 associated with the user attributes and the transaction attributes. By setting the ticket checking system, after the first operation system 101 completes ticket checking and opening, the transaction information of ticket checking can be transmitted into the ticket checking system 102, and the ticket checking system 102 shares the transaction information to other related second operation systems 103, so that sharing of the riding information among multiple operation systems can be realized without writing the riding information into the riding medium.
In one embodiment, after step S204, the method may further include: the ticket checking system 102 acquires updated journey information corresponding to ticket checking transaction information according to the ticket checking transaction information; and updating the user travel information corresponding to the ticket checking request by using the updated travel information.
The updated trip information refers to updated information for updating the user trip information stored in the ticket checking system 102, and since the corresponding trip information of the user must be updated after the user passes through the gate, the ticket checking system 102 may obtain the updated trip information based on the ticket checking transaction information returned by the first operation system 101, and update the user trip information stored in the ticket checking system 102 by using the updated trip information, for example, the ticket checking transaction information may carry the gate-out station and the gate-out time of the user, and then the ticket checking system 102 may use the gate-out station and the gate-out time as updated trip information, thereby updating the stored user trip information of the user.
In this embodiment, the ticket checking system 102 may further update the stored user trip information according to the ticket checking transaction information returned by the first operation system 101, so as to form a closed loop with transaction data and user trip update, thereby ensuring the real-time accuracy of the user trip information stored in the ticket checking system 102.
Further, after step S204, the method may further include: the ticket checking system 102 generates and stores order information corresponding to ticket checking transaction information based on preset order generation rules; as shown in fig. 3, the automatic ticket checking method may further include:
in step S301, the ticket checking system 102 performs validity authentication processing on the order inquiry operation system in response to the order inquiry request initiated by the order inquiry operation system.
After obtaining the ticket transaction information returned by the first operation system 101 in step S204, the ticket checking system 102 may generate a complete deduction order according to the ticket transaction information and related order generation rules, for example, according to the time of departure, the station of departure or the deducted bus fare in the ticket transaction information, and generate a corresponding order and store the order. The order inquiry operation system is an operation system that needs to execute an order inquiry service, and the operation system may be any operation system that builds a connection with the ticket checking system 102 in advance and needs to inquire order information stored in the ticket checking system 102.
Specifically, the order inquiry operation system may initiate an order inquiry request for inquiring the stored order information to the ticket checking system 102, then, the ticket checking system 102 may perform validity authentication on the order inquiry operation system that initiates the request to determine whether the authority of acquiring the order information exists, a validity authentication process may be that the ticket checking system 102 stores in advance a system identifier of an operation system that can implement the order inquiry function, and in the validity authentication process, it may be determined whether the system identifier of the order inquiry operation system that initiates the request is within a system identifier of an operation system that can implement the order inquiry function, and if so, it may be considered that the validity authentication result of the order inquiry operation system is authentication passing.
In step S302, if the legal authentication result of the order inquiry operation system is that the authentication is passed, the ticket checking system 102 obtains the order information corresponding to the order inquiry request, and returns the order information to the order inquiry operation system.
If the validity authentication result of the order inquiry operation system is that the authentication is passed, the ticket checking system 102 may read the order information corresponding to the order inquiry request from the pre-stored order information, and return the order information to the order inquiry operation system to execute the response of the order inquiry request.
In this embodiment, the ticket checking system 102 may store order information corresponding to ticket checking transaction information, and when the operation system needs to query the order information, the order information may be returned, and at the same time, the operation system initiating the order query request may be authenticated, so as to ensure the security of the order information.
In one embodiment, the ticket checking request carries a user identification; step S201 may further include: the ticket checking system 102 acquires user trip information corresponding to the user identification from a trip information base in which a plurality of user trip information are stored in advance, as user trip information corresponding to a ticket checking request.
The user identifier may be used to identify the identity of the user, for example, may be a user number of the user or a ticket number corresponding to the user, which may uniquely identify the identity. Specifically, when a user passes through the ticket gate using the riding medium, the ticket gate may read the user identifier from the riding medium, and send a ticket checking request including the user identifier to the first operation system 101, and the first operation system 101 may upload the ticket checking request to the ticket checking system 102. After obtaining the ticket checking request, the ticket checking system 102 may extract the user identifier from the ticket checking request, and query the user travel information corresponding to the user identifier from the travel information base storing all the user travel information by using the user identifier, as the user travel information corresponding to the ticket checking request.
In this embodiment, the ticket checking request obtained by the ticket checking system 102 may carry a user identifier for identifying the user, so that corresponding user trip information may be retrieved from the trip information base according to the user identifier, thereby improving the efficiency of obtaining the user trip information.
Further, before the ticket checking system 102 obtains the user trip information corresponding to the user identifier from the trip information base pre-stored with the plurality of user trip information, the method may further include: the ticket checking system 102 responds to the user registration request and acquires user information corresponding to the user registration request; and auditing the user information, and after the auditing is passed, acquiring a user identifier to be registered from the user identifier resource pool, and establishing a corresponding relation between the user identifier to be registered and the user information.
The user registration request is a registration request of a user aiming at a corresponding user identifier, and before the user uses the riding medium to check a ticket and go out, the registration operation is needed to be performed firstly, the registration operation can be performed through a terminal of the user, for example, various personal computers, notebook computers, smart phones, tablet computers, portable wearable devices and the like of the user, and the user information is related registration information which is needed to be input when the user initiates the registration request, for example, the name, the mobile phone number and the like of the user.
Specifically, the user may initiate a user registration request to the ticket checking system 102 through a user terminal held, fill in relevant user information, then the ticket checking system 102 may perform verification on the user information, or may perform identity verification on the user information, after the verification is passed, may randomly select one to-be-registered user identifier from a resource pool storing a plurality of to-be-registered user identifiers, and establish a correspondence between the to-be-registered user identifier and the obtained user information, so as to implement user registration, and the obtained to-be-registered user identifier may be used as a user identifier corresponding to the user.
In this embodiment, the ticket checking system 102 can realize the registration of the user information, and can also realize the binding of the user information and the user identifier after the registration is successful, thereby providing technical support for the inquiry of the user travel information.
In addition, as shown in fig. 4, after the ticket checking system 102 establishes the correspondence between the user identifier to be registered and the user information, the method may further include:
in step S401, the ticket checking system 102 performs validity authentication processing on the user information inquiry operation system in response to the user information inquiry request initiated by the user information inquiry operation system.
In this embodiment, the operation system communicatively connected to the ticket checking system 102 may also query the ticket checking system 102 for the user information stored in the ticket checking system 102. Specifically, when a certain operation system needs to query user information, the operation system can be used as the user information query operation system to initiate a query request of stored user information to the ticket checking system 102, the ticket checking system 102 can perform legal authentication on the user information query operation system initiating the request, and the legal authentication process can be performed in a similar manner to the legal authentication of the order query operation system, so as to obtain a legal authentication result of the user information query operation system.
Step S402, if the legal authentication result of the user information inquiry operation system is that the authentication passes, the ticket checking system 102 acquires the user identification to be inquired corresponding to the user information inquiry request;
in step S403, the ticket checking system 102 acquires the user information corresponding to the user identifier to be queried, and returns the user information to the user information query operation system.
The user identification to be queried is a user identification corresponding to a user information query request initiated by the user information query operation system. In the process that the user information inquiry operation system triggers the user information inquiry request to the ticket checking system 102, the user information inquiry operation system needs to indicate user information of which users need to be inquired, so that the user information inquiry operation system can send the user identification which needs to be inquired as the user identification to be inquired and the user information inquiry request to the ticket checking system 102, and after the ticket checking system 102 determines that the legality authentication of the user information inquiry operation system passes, the obtained user identification to be inquired corresponding to the identification can be utilized to inquire the corresponding user information, and the corresponding user information is returned to the user information inquiry operation system.
In this embodiment, the operation system may also obtain the stored user information from the ticket checking system 102, and the ticket checking system 102 may also authenticate the operation system to ensure the security of the user information.
In one embodiment, step S201 may further include: the ticket checking system 102 performs legal authentication processing on the first operation system 101; if the legal authentication result of the first operation system 101 is that the authentication passes, the user travel information corresponding to the ticket checking request is obtained.
In this embodiment, when the first operation system 101 initiates a ticket checking request to the ticket checking system 102, the ticket checking system 102 may perform validity authentication on the first operation system 101 to ensure validity of the initiated ticket checking request, and the authentication process may be similar to the process of the ticket checking system 102 on the order inquiry operation system or the user information inquiry operation system, and after the authentication is passed, the ticket checking system 102 may perform acquisition of user travel information corresponding to the ticket checking request.
In the above embodiment, the ticket checking system 102 may perform validity authentication on the first operation system 101, and perform the acquisition of the user trip information after the authentication is passed, so as to ensure the validity of the ticket checking request and the security of the user trip information.
In one example application, as shown in fig. 5, an automated ticketing system is provided, the system comprising: access authentication module, push module, user information management module, ticket card parameter management module, equipment management module, passenger transaction processing module, transaction management module, order management module, clock synchronization module, etc., wherein:
the access authentication module is used for carrying out legal authentication on the accessed operation system and equipment transaction and providing interfaces such as ticket checking, transaction uploading, ticket card processing and the like; providing information inquiry interfaces of transactions, orders, users and the like; and providing interfaces such as account checking file downloading. The module can flexibly support the extended access of multiple operation systems, and the operation access system numbers, keys and the like distributed by the automatic ticket selling and checking system through interconnection and intercommunication are managed and authorized in a unified mode. Can quickly adapt to the complex and changeable rail transit operation management requirements.
The information pushing module is used for pushing corresponding journey transaction information, matching order data and the like to different operation systems according to the transaction and the identification of the order; a unified connection management interface is provided. The module can configure multiple operation access system parameters, and according to the formed transaction and the attribute information of the order, the transaction order data is classified and forwarded and sent to the corresponding operation system background. The scheme can flexibly control the breadth of the information which can be acquired by each operation system. Transaction and order data of the whole network or related lines of the self operation system are controlled. The data boundary is effectively controlled, the value of the data is reflected, and reliable support is provided for the data security assurance.
And the user information module is used for providing real name information data management, travel data management and the like for the user. As the unified user management data center of the urban rail transit, the system has the most complete and comprehensive user data and travel data, so that the most timely and ready judgment on the entrance and exit behaviors of passengers can be conveniently made.
And the ticket card management module is used for providing unified coding management of the ticket cards, unified management of operation parameters, management of key files and the like.
And the device management module provides unified registration management authorization and the like for the devices, and is used for effectively controlling the range of the access device and preventing the access of illegal devices.
The passenger transaction module provides ticket checking service for the ticket card; ticket exception handling is provided. The ticket analysis and ticket abnormality processing functions of the semi-automatic ticket vending machine are provided for the in-out station request of the equipment under the management of the operation system of each operation company.
A transaction management module providing transaction storage management; providing a transaction matching function. The module manages transaction information transmitted by each operation system, arranges and combines the transaction information of the whole network, matches effective legal journey transactions, forms complete journey matching information, and forms order information.
And the order management module provides an order management function.
The clock service module is used for maintaining the uniformity of clocks of the system and the terminal equipment under the management of each operation system, maintaining the same clock source, providing a clock synchronization function and the like.
Specifically, the automatic ticket checking system can realize the following business processes:
and (3) managing the user journey, as shown in fig. 6, when the user registers, providing necessary registration information (such as name, mobile phone number, identity information and the like), calling a registration interface of the user information module, and after the user information module verifies the registration information, applying a logic card number to the ticket card parameter management module, and finally returning a registration result to the client. The card number is written according to a certain naming rule, the ticket parameter management module maintains a card number resource pool available to the system, and related card number resources are allocated or timely recovered, so that the purpose of recycling the card number resources is achieved. The user information module provides a user information updating function and a user logout function, when a user logs out, the user needs to confirm whether the user has order information of unfinished payment, and after confirming that the order information is not abnormal, the user applies for the logout of a logic card number to the ticket card parameter management module, and the card number is released to the resource pool after logging out to ensure the recycling of card number resources. According to the attribute of the registered user and the configuration of the related ticket business rules, the user travel management module can actively and synchronously push the related user information to other related operation systems. Other operating systems may also actively query for relevant user information.
Ticket checking and transaction uploading processes, as shown in fig. 7, the operation system sends a ticket checking request to the system, and the system performs validity check on the request. After verification, a ticket checking interface of the passenger transaction module is called, and the passenger transaction module inquires and acquires the latest user travel information from the user information module, so that the legality of the user passing gate is judged. And after the judgment of the urban rail transit ticket business rule, returning a ticket checking result. If the ticket checking is successful and the user successfully enters and exits, the operation system sends the business in and out to the business management module. The transaction management module updates the latest transaction information to the user travel information, so that a closed loop of transaction data and user travel update is formed. Depending on the nature of the user and the transaction, the associated user transaction information may be synchronized to other related operating systems.
In the order matching process, as shown in fig. 8, the transaction management module matches all the transactions processed by the incoming, outgoing and other services according to rules to form a complete deduction order, and synchronizes the associated order information to other related operation systems by following the user attribute and the transaction attribute. The order deduction can be initiated by the interconnected automatic ticket vending and checking system or by each operation system according to the attribution of the order. The order management module provides an order inquiry function and can inquire detailed order information within a certain time range of a certain user/card number. The accuracy of the transaction time among the modules is required to be certain, so that a unified clock source is needed to be used, namely clock data are synchronized to a clock server.
The automatic ticket checking system provided by the application example can flexibly expand and support the access of a multi-operation system, flexibly expand the access of various riding media modes, and can also meet the requirements of each operation company on the aspects of respective sharing data range and information security.
It should be understood that, although the steps in the flowcharts of this application are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least a portion of the steps in the figures may include steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor does the order in which the steps or stages are performed necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the steps or stages in other steps.
In one embodiment, as shown in fig. 9, there is provided an automatic ticket checking apparatus applied to a ticket checking system, comprising: a trip information acquisition module 901, a trip information detection module 902, a trip detection transmission module 903, and a transaction information sharing module 904, wherein:
The trip information acquisition module 901 is used for responding to a ticket checking request sent by the first operation system and acquiring prestored user trip information corresponding to the ticket checking request; the first operation system is an operation system corresponding to a ticket checking gate for triggering a ticket checking request;
the trip information detection module 902 is configured to perform validity detection on the trip information of the user based on a preset ticketing rule;
the trip detection sending module 903 is configured to return the detection result to the first operation system if the detection result of the validity detection is that the detection is passed, so that the first operation system generates an opening command according to the detection result, and returns ticket checking transaction information corresponding to the ticket checking request; the opening instruction is used for executing opening processing on the ticket checking gate by the first operation system;
the transaction information sharing module 904 is configured to receive ticket checking transaction information, obtain a user attribute and a transaction attribute corresponding to the ticket checking transaction information, and push the ticket checking transaction information to a second operation system associated with the user attribute and the transaction attribute.
In one embodiment, the automated ticketing apparatus further comprises: the travel information updating module is used for acquiring updated travel information corresponding to ticket checking transaction information according to the ticket checking transaction information; and updating the user travel information corresponding to the ticket checking request by using the updated travel information.
In one embodiment, the automated ticketing apparatus further comprises: the order information processing module is used for generating and storing order information corresponding to ticket checking transaction information based on a preset order generation rule; the system is used for responding to an order inquiry request initiated by the order inquiry operation system and carrying out validity authentication processing on the order inquiry operation system; if the legal authentication result of the order inquiry operation system is that the authentication is passed, the order information corresponding to the order inquiry request is obtained, and the order information is returned to the order inquiry operation system.
In one embodiment, the ticket checking request carries a user identification; the trip information obtaining module 901 is further configured to obtain, from a trip information base in which a plurality of pieces of user trip information are stored in advance, user trip information corresponding to the user identifier, as user trip information corresponding to the ticket checking request.
In one embodiment, the automated ticketing apparatus further comprises: the user information processing module is used for responding to the user registration request and acquiring user information corresponding to the user registration request; and checking the user information, and after the user information passes the checking, acquiring a user identifier to be registered from a user identifier resource pool, and establishing a corresponding relation between the user identifier to be registered and the user information.
In one embodiment, the user information processing module is further configured to perform validity authentication processing on the user information query operation system in response to a user information query request initiated by the user information query operation system; if the legal authentication result of the user information inquiry operation system is that the authentication passes, acquiring a user identification to be inquired corresponding to the user information inquiry request; and acquiring user information corresponding to the user identification to be queried, and returning the user information to the user information query operation system.
In one embodiment, the trip information obtaining module 901 is further configured to perform validity authentication processing on the first operation system; and if the legal authentication result of the first operation system is that the authentication passes, acquiring user travel information corresponding to the ticket checking request.
For specific limitations of the automatic ticket gate apparatus, reference may be made to the above limitations of the automatic ticket gate method, and no further description is given here. The modules in the automatic ticket checking device can be realized in whole or in part by software, hardware and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a ticketing system, the internal structure of which may be as shown in FIG. 10. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is for storing user travel data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement an automatic ticket checking method.
It will be appreciated by those skilled in the art that the structure shown in fig. 10 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In an embodiment, there is also provided a computer device comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the method embodiments described above when the computer program is executed.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when executed by a processor, carries out the steps of the method embodiments described above.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, or the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples merely represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the invention. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.

Claims (10)

1. An automated ticketing method for use with a ticketing system that communicates with a first operating system and a second operating system over a network, the method comprising:
responding to an out-gate ticket checking request sent by a first operation system, and carrying out legal authentication processing on the first operation system;
if the legal authentication result of the first operation system is that authentication passes, obtaining user travel information corresponding to the gate ticket checking request; the first operation system is an operation system corresponding to a ticket gate for triggering the ticket-out ticket-checking request;
Based on preset ticketing rules, carrying out validity detection on the user travel information;
if the detection result of the validity detection is that the detection is passed, returning the detection result to the first operation system so that the first operation system generates a brake-off instruction according to the detection result and returns ticket checking transaction information corresponding to the brake-off ticket checking request; the opening instruction is used for executing opening processing on the ticket checking gate by the first operation system; the ticket checking transaction information comprises the riding time of a user, a riding starting station, a terminal station and a riding fare;
receiving the ticket checking transaction information, acquiring user attributes and transaction attributes corresponding to the ticket checking transaction information, and pushing the ticket checking transaction information to a second operation system associated with the user attributes and the transaction attributes; the second operation system is a system corresponding to a gate through which the user enters the gate.
2. The automated ticketing method of claim 1, wherein after receiving the ticketing transaction information, further comprising:
acquiring updated journey information corresponding to the ticket checking transaction information according to the ticket checking transaction information;
And updating the user travel information corresponding to the ticket issuing and checking request by using the updated travel information.
3. The automated ticketing method of claim 2, wherein after receiving the ticketing transaction information, further comprising: generating order information corresponding to the ticket checking transaction information based on a preset order generation rule and storing the order information;
the method further comprises the steps of:
responding to an order inquiry request initiated by an order inquiry operation system, and carrying out validity authentication processing on the order inquiry operation system;
if the legal authentication result of the order inquiry operation system is that the authentication is passed, order information corresponding to the order inquiry request is obtained, and the order information is returned to the order inquiry operation system.
4. The automated ticketing method of claim 1, wherein the out-gate ticketing request carries a user identification;
the method for acquiring the pre-stored user travel information corresponding to the gate ticket checking request comprises the following steps:
and acquiring user travel information corresponding to the user identifier from a travel information base which stores a plurality of user travel information in advance, and taking the user travel information as the user travel information corresponding to the ticket issuing and checking request.
5. The automated ticketing method of claim 4, wherein before obtaining the user trip information corresponding to the user identification from a trip information base that stores a plurality of user trip information in advance, further comprising:
responding to a user registration request, and acquiring user information corresponding to the user registration request;
and auditing the user information, and after the auditing is passed, acquiring a user identifier to be registered from a user identifier resource pool, and establishing a corresponding relation between the user identifier to be registered and the user information.
6. The automatic ticket checking method according to claim 5, wherein after the correspondence between the user identifier to be registered and the user information is established, further comprising:
responding to a user information inquiry request initiated by a user information inquiry operation system, and carrying out validity authentication processing on the user information inquiry operation system;
if the legal authentication result of the user information inquiry operation system is that the authentication passes, acquiring a user identification to be inquired corresponding to the user information inquiry request;
and acquiring user information corresponding to the user identification to be queried, and returning the user information to the user information query operation system.
7. An automated ticketing apparatus for use with a ticketing system that communicates with a first operating system and a second operating system over a network, the apparatus comprising:
the trip information acquisition module is used for responding to an exit ticket checking request sent by a first operation system and carrying out legal authentication processing on the first operation system; if the legal authentication result of the first operation system is that authentication passes, obtaining user travel information corresponding to the gate ticket checking request; the first operation system is an operation system corresponding to a ticket checking gate for triggering a ticket checking request;
the journey information detection module is used for detecting the validity of the journey information of the user based on preset ticketing rules;
the travel detection sending module is used for returning the detection result to the first operation system if the detection result of the validity detection is that the detection is passed, so that the first operation system generates a brake opening instruction according to the detection result and returns ticket checking transaction information corresponding to the brake opening ticket checking request; the opening instruction is used for executing opening processing on the ticket checking gate by the first operation system;
The transaction information sharing module is used for receiving the ticket checking transaction information, acquiring user attributes and transaction attributes corresponding to the ticket checking transaction information, and pushing the ticket checking transaction information to a second operation system associated with the user attributes and the transaction attributes; the second operation system is a system corresponding to a gate through which the user enters the gate.
8. The automated ticketing apparatus of claim 7, wherein the apparatus further comprises:
the travel information updating module is used for acquiring updated travel information corresponding to the ticket checking transaction information according to the ticket checking transaction information; and updating the user travel information corresponding to the ticket issuing and checking request by using the updated travel information.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 6 when the computer program is executed.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
CN202110429057.3A 2021-04-21 2021-04-21 Automatic ticket checking method, device, computer equipment and storage medium Active CN113516787B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110429057.3A CN113516787B (en) 2021-04-21 2021-04-21 Automatic ticket checking method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110429057.3A CN113516787B (en) 2021-04-21 2021-04-21 Automatic ticket checking method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113516787A CN113516787A (en) 2021-10-19
CN113516787B true CN113516787B (en) 2024-02-06

Family

ID=78062580

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110429057.3A Active CN113516787B (en) 2021-04-21 2021-04-21 Automatic ticket checking method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113516787B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103679492A (en) * 2012-09-12 2014-03-26 卓望数码技术(深圳)有限公司 Method and system for goods order and consumption recognition in O2O mode
CN106203233A (en) * 2016-08-16 2016-12-07 成都仁通融合信息技术有限公司 A kind of subway gate automatic ticket checking system
CN106296934A (en) * 2016-08-22 2017-01-04 常州新天轨道交通科技有限公司 A kind of track traffic management method and terminal
CN106600716A (en) * 2016-12-07 2017-04-26 深圳市万通顺达科技股份有限公司 One-way ticket purchasing and checking method and system based on two-dimensional code
CN106846504A (en) * 2017-01-18 2017-06-13 中铁二院工程集团有限责任公司 Track traffic ticket checking method based on internet booking
CN107016759A (en) * 2017-04-11 2017-08-04 合肥龙图腾信息技术有限公司 A kind of intelligent gate system and control method
CN107209921A (en) * 2015-01-30 2017-09-26 索尼公司 Information processing system and method and information processor and method
CN207690150U (en) * 2017-08-11 2018-08-03 比亚迪股份有限公司 AFC system and Rail Transit System
CN108460867A (en) * 2018-01-12 2018-08-28 深圳市海东青软件科技股份有限公司 Gate control method, device, gate and storage medium
CN108470390A (en) * 2018-03-01 2018-08-31 山东广安车联科技股份有限公司 Vehicle inlet/outlet pipe reason method and its system under used automobile market line
WO2019100634A1 (en) * 2017-11-23 2019-05-31 平安科技(深圳)有限公司 Method, system, and storage medium for online ride-hailing settlement and reimbursement
CN110232759A (en) * 2019-06-12 2019-09-13 浙江机电职业技术学院 A kind of station ticket selling and checking system and method
CN112002049A (en) * 2019-05-08 2020-11-27 腾讯科技(深圳)有限公司 Gate control method, system, gate, server and storage medium
CN112669471A (en) * 2020-12-24 2021-04-16 杭州趣链科技有限公司 Gate and ticket checking transaction method, device and storage medium thereof

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103679492A (en) * 2012-09-12 2014-03-26 卓望数码技术(深圳)有限公司 Method and system for goods order and consumption recognition in O2O mode
CN107209921A (en) * 2015-01-30 2017-09-26 索尼公司 Information processing system and method and information processor and method
CN106203233A (en) * 2016-08-16 2016-12-07 成都仁通融合信息技术有限公司 A kind of subway gate automatic ticket checking system
CN106296934A (en) * 2016-08-22 2017-01-04 常州新天轨道交通科技有限公司 A kind of track traffic management method and terminal
CN106600716A (en) * 2016-12-07 2017-04-26 深圳市万通顺达科技股份有限公司 One-way ticket purchasing and checking method and system based on two-dimensional code
CN106846504A (en) * 2017-01-18 2017-06-13 中铁二院工程集团有限责任公司 Track traffic ticket checking method based on internet booking
CN107016759A (en) * 2017-04-11 2017-08-04 合肥龙图腾信息技术有限公司 A kind of intelligent gate system and control method
CN207690150U (en) * 2017-08-11 2018-08-03 比亚迪股份有限公司 AFC system and Rail Transit System
WO2019100634A1 (en) * 2017-11-23 2019-05-31 平安科技(深圳)有限公司 Method, system, and storage medium for online ride-hailing settlement and reimbursement
CN108460867A (en) * 2018-01-12 2018-08-28 深圳市海东青软件科技股份有限公司 Gate control method, device, gate and storage medium
CN108470390A (en) * 2018-03-01 2018-08-31 山东广安车联科技股份有限公司 Vehicle inlet/outlet pipe reason method and its system under used automobile market line
CN112002049A (en) * 2019-05-08 2020-11-27 腾讯科技(深圳)有限公司 Gate control method, system, gate, server and storage medium
CN110232759A (en) * 2019-06-12 2019-09-13 浙江机电职业技术学院 A kind of station ticket selling and checking system and method
CN112669471A (en) * 2020-12-24 2021-04-16 杭州趣链科技有限公司 Gate and ticket checking transaction method, device and storage medium thereof

Also Published As

Publication number Publication date
CN113516787A (en) 2021-10-19

Similar Documents

Publication Publication Date Title
US12026703B2 (en) Blockchain-implemented method and system for access control on remote internet-enabled resources
CN109889503B (en) Identity management method based on block chain, electronic device and storage medium
US9373110B2 (en) Information processing apparatus, information processing method, program, and information processing system
US11159510B2 (en) Utilizing federated user identifiers to enable secure information sharing
CN107204957B (en) Account binding and service processing method and device
CN111833507B (en) Visitor authentication method, device, equipment and computer readable storage medium
CN109544335B (en) Transaction data processing method, device, equipment and storage medium based on blockchain
KR102067808B1 (en) System and method for communicating credentials
CN111292174A (en) Tax payment information processing method and device and computer readable storage medium
US20180293580A1 (en) Systems and methods for processing an access request
CN112819617B (en) Data uplink method and device, electronic equipment and storage medium
TWI839875B (en) Payment method, user terminal, device, equipment, system and medium
CN110599311A (en) Resource processing method and device, electronic equipment and storage medium
CN112650732A (en) Service processing method, device, equipment and storage medium
CN101437227B (en) Application access control system and method
US9705861B2 (en) Method of authorizing a person, an authorizing architecture and a computer program product
US10440056B2 (en) Method for deploying an application in a secure element
CN113516787B (en) Automatic ticket checking method, device, computer equipment and storage medium
CN111045725A (en) Control method, device and storage medium of code management system
CN112632497B (en) Identity information verification method and system based on blockchain
CN115271691A (en) Resource transfer method, device, system, equipment, storage medium and related product
CN111383003B (en) Method, device, computer equipment and storage medium for fast platform access
CN114493565A (en) Account association method and account association management system
CN113472781A (en) Service acquisition method, server and computer readable storage medium
CN106330821B (en) A kind of authentication code acquisition methods, the apparatus and system of integrated circuit card

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