CN111245947A - Ticket selling voucher generating method, mobile terminal and ticket selling system applying same - Google Patents
Ticket selling voucher generating method, mobile terminal and ticket selling system applying same Download PDFInfo
- Publication number
- CN111245947A CN111245947A CN202010047865.9A CN202010047865A CN111245947A CN 111245947 A CN111245947 A CN 111245947A CN 202010047865 A CN202010047865 A CN 202010047865A CN 111245947 A CN111245947 A CN 111245947A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- pass
- information
- server
- certificate
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 238000012795 verification Methods 0.000 claims abstract description 42
- 238000012797 qualification Methods 0.000 claims description 20
- 238000010200 validation analysis Methods 0.000 claims 1
- 238000013461 design Methods 0.000 abstract description 4
- 238000004891 communication Methods 0.000 description 14
- 230000001360 synchronised effect Effects 0.000 description 6
- 230000009286 beneficial effect Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000003672 processing method Methods 0.000 description 3
- 230000001960 triggered effect Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 230000007306 turnover Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/52—Network services specially adapted for the location of the user terminal
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/32—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
- G06Q20/322—Aspects of commerce using mobile devices [M-devices]
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07B—TICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
- G07B11/00—Apparatus for validating or cancelling issued tickets
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Signal Processing (AREA)
- Accounting & Taxation (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a ticket selling voucher generating method, a mobile terminal and a ticket selling system using the same, which comprise the following steps: the method comprises the steps that a mobile terminal obtains user identity information and positioning information, the mobile terminal generates a pass certificate according to the user identity information and the positioning information, the mobile terminal outputs the pass certificate, a site terminal obtains the pass certificate output by the mobile terminal, verification is carried out according to the position information of the site terminal and the positioning information of the mobile terminal, and a control signal is output according to a verification result to allow or prevent a user to pass; the design perfects the loophole of ticket selling payment to a certain extent and improves the rigor of the pass certificate verification.
Description
Technical Field
The invention relates to the field of transportation, in particular to a ticket selling voucher generating method, a mobile terminal and a ticket selling system using the ticket selling voucher generating method.
Background
The traditional automatic ticket selling and checking system solves the problem of inconvenience in ticket purchase queuing and cash transaction in a checking mode of generating two-dimensional code certificates on mobile terminals such as a smart phone APP.
However, in actual use, the credential generation and verification mode in the conventional automatic ticket selling and checking system is imperfect, and a new problem arises, because the two-dimensional code image can be copied and transferred for use, the travel track of the passenger entering and exiting the station cannot be truly reflected during ticket checking and verification, and the travel track of the passenger entering and exiting the station is generally estimated according to the position information of the station terminal entering the station and the station terminal exiting the station, but the mode is not accurate.
For example, passenger a generates a two-dimensional code ticket for getting in at station P1, passenger B generates a two-dimensional code ticket for getting in at station P2, passenger a arrives at station P2, passenger B arrives at station P1, passenger a generates a two-dimensional code ticket for getting out at this time, passenger B also generates a two-dimensional code ticket for getting out at station, passenger a and passenger B share the two-dimensional code ticket for getting out at both sides, passenger a uses the two-dimensional code ticket for getting out at station P2 belonging to passenger B, since passenger B arrives at station P2 before, the payment cost can be greatly reduced, and some APP manufacturers can alleviate the phenomenon of copy and delivery by adding the valid time limit of the two-dimensional code ticket, however, the problem cannot be solved fundamentally.
In addition, other problems still exist, the generation of the two-dimensional code voucher needs to be completed after the mobile terminal is interconnected with the server through a mobile network, in places with more people in peak periods, signal attenuation causes slow business response and even interruption, some cities adopt a Bluetooth technology or a WiFi technology for assistance, but the problems of slow connection, easy signal separation, user privacy disclosure and the like still exist, and the speed of passengers entering and exiting the station is slow.
Disclosure of Invention
The invention aims to solve at least one technical problem in the prior art, and provides a ticket selling voucher generating method, a mobile terminal and a ticket selling system using the ticket selling voucher generating method, wherein the ticket selling voucher generating method is used for detecting positioning information of the mobile terminal to generate a pass voucher, and the judgment accuracy is improved.
The technical scheme adopted by the invention is as follows:
a ticket selling voucher generating method comprises the following steps: acquiring user identity information and positioning information; generating a pass certificate according to the user identity information and the positioning information; and outputting the pass certificate.
The pass voucher comprises an online pass voucher and an offline pass voucher; after acquiring the user identity information and the positioning information, establishing connection with an external server request; if the connection with an external server can be established, sending the user identity information and the positioning information to the external server, acquiring verification information which is fed back by the external server and related to the user identity information and the positioning information, and generating an online passage certificate according to the user identity information, the positioning information and the verification information; if the connection with the external server is not established, the qualification condition of the historical use record of the user is checked, if the qualification condition is met, an offline pass certificate is generated according to the user identity information and the positioning information, and the user identity information, the positioning information and the offline pass certificate are stored.
And when the connection with the external server can be established, the stored user identity information, the stored positioning information and the stored offline pass certificate are sent to the external server.
The ticket selling voucher generating method provided by the embodiment of the invention at least has the following beneficial effects:
according to the ticket selling voucher generation method, the positioning information of the user is acquired in real time, the pass voucher is generated and output according to the positioning information and the user identity information, and the external station terminal can accurately know the positioning information of the user through the pass voucher, so that accurate payment services are provided for the user according to the user identity information.
The specific embodiment of the invention also discloses a mobile terminal which comprises a positioning module, a display module and a processor which is respectively electrically connected with the positioning module and the display module, wherein the processor can operate the ticket selling voucher generating method disclosed by any one of the embodiments.
The mobile terminal according to the embodiment of the invention has at least the following beneficial effects:
according to the mobile terminal, the positioning module detects real-time positioning information of the mobile terminal, so that the positioning information of a user is reflected, the processor runs the ticket selling voucher generating method to generate the pass voucher and display the pass voucher through the display module, and an external station terminal can scan the pass voucher on the display module and accurately know the positioning information of the user from the pass voucher, so that accurate payment service is provided for the user according to the identity information of the user.
The specific embodiment of the invention also discloses a ticketing system, which comprises a mobile terminal and a station terminal, wherein the mobile terminal and the station terminal can be matched to perform the following steps: the mobile terminal acquires user identity information and positioning information; the mobile terminal generates a pass certificate according to the user identity information and the positioning information; the mobile terminal outputs the pass certificate; and the station terminal acquires the pass certificate output by the mobile terminal, verifies the pass certificate according to the position information of the station terminal and the positioning information of the mobile terminal, and outputs a control signal according to a verification result to allow or prevent the user to pass.
The system also comprises a plurality of servers, and the site terminals are provided; the site terminal generates a permission request according to the verification result and the obtained pass certificate output by the mobile terminal and sends the permission request to the server, and the server feeds back a control signal to the site terminal according to the permission request so as to allow or prevent the user to pass and generate a pass record of the user; the mobile terminal establishes connection with the server to share user identity information, positioning information and a pass certificate; and the server synchronizes the information output by the site terminal and the mobile terminal, generates payment service according to the passage records of the user at different site terminals, and then sends the payment service to the mobile terminal.
The station terminal is an entrance terminal or an exit terminal, and correspondingly, the pass certificate is an entrance pass certificate or an exit pass certificate.
The pass voucher comprises an online pass voucher and an offline pass voucher; the mobile terminal requests to establish connection with a server after acquiring the user identity information and the positioning information; if the mobile terminal can establish connection with the server, the user identity information and the positioning information are sent to the server, the mobile terminal obtains verification information which is fed back by the server and related to the user identity information and the positioning information, and the mobile terminal generates an online passage certificate according to the user identity information, the positioning information and the verification information; if the mobile terminal cannot establish connection with the server, the mobile terminal checks the qualification condition of the historical use record of the user in the mobile terminal, and if the qualification condition is met, the mobile terminal generates an offline pass certificate according to the user identity information and the positioning information and stores the user identity information, the positioning information and the offline pass certificate; when the mobile terminal can establish connection with the server, the stored user identity information, the stored positioning information and the stored offline pass certificate are sent to the server; the method comprises the steps that a station terminal obtains an online pass certificate or an offline pass certificate output by a mobile terminal, and a server judges whether the pass certificate is the online pass certificate or the offline pass certificate; if the pass certificate is on-line, the server feeds back a control signal to the station terminal to allow the user to pass; if the pass certificate is offline, the server detects the qualification condition of the historical use record of the user in the server, and the server feeds back a control signal to the site terminal according to the qualification condition so as to allow or prevent the user to pass.
The historical usage records include payment records and inbound records.
And the site terminal compares the deviation between the position information of the site terminal and the positioning information of the mobile terminal, and generates the verification result according to the deviation condition.
The ticketing system provided by the embodiment of the invention at least has the following beneficial effects:
according to the ticketing system, the mobile terminal acquires the user identity information and the positioning information and correspondingly generates the pass certificate, the station terminal acquires the pass certificate and obtains the positioning information from the pass certificate, the position information of the station terminal and the positioning information of the mobile terminal are verified to obtain whether the communication certificate has a problem or not, if the communication certificate has no problem, a control signal can be output to allow the user to pass, and if the position information of the station terminal and the positioning information of the mobile terminal have overlarge deviation, the user is prohibited from passing, so that the ticket selling payment loophole is perfected to a certain extent, and the pass certificate verification rigidness is improved.
Meanwhile, in the ticketing system, a mobile terminal tries to establish connection with a server in the process of generating a pass certificate, when the connection is successful, the mobile terminal firstly sends user identity information and positioning information to the server, the server checks the user identity information and the positioning information and then feeds back verification information to the mobile terminal, the mobile terminal can generate an online pass certificate, when a site terminal acquires the online pass certificate, the user can be allowed to pass after judging that the position information and the positioning information are correct, when the connection is unsuccessful, the mobile terminal can carry out self-check so as not to obstruct the normal use of the user, after judging that illegal operation does not exist in the historical use record of the user, an offline pass certificate can be generated, the mobile terminal backups the user identity information and the positioning information, when the site terminal acquires the offline pass certificate, after judging that the position information and the positioning information are correct, the server is also required to confirm the qualification of the historical usage record of the user in the server to allow the user to pass through, and after the connection with the mobile terminal is restored later, the step of synchronizing the user identity information and the positioning information needs to be triggered.
The design provides an off-line processing method under the condition of unstable signals, normal passing of users is not influenced, the efficiency of the users for entering and exiting the station is improved, and meanwhile, the server and the mobile terminal keep synchronous data, and the stability of the system is improved.
Drawings
The following further describes embodiments of the present invention with reference to the drawings.
FIG. 1 is a flow chart of a credential generation method of the present invention.
Fig. 2 is a schematic structural diagram of the mobile terminal of the present invention.
Fig. 3 is a flow chart of the process of entering the station in the ticketing terminal of the present invention.
Fig. 4 is a flow chart of the outbound processing in the ticketing terminal of the present invention.
Detailed Description
Reference will now be made in detail to the present preferred embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to like elements throughout.
In the description of the present invention, the meaning of a plurality of means is one or more, the meaning of a plurality of means is two or more, and larger, smaller, larger, etc. are understood as excluding the number, and larger, smaller, inner, etc. are understood as including the number. If the first and second are described for the purpose of distinguishing technical features, they are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated or implicitly indicating the precedence of the technical features indicated.
In the description of the present invention, unless otherwise explicitly limited, terms such as arrangement, installation, connection and the like should be understood in a broad sense, and those skilled in the art can reasonably determine the specific meanings of the above terms in the present invention in combination with the specific contents of the technical solutions.
As shown in fig. 1, a ticket voucher generating method includes the following steps: acquiring user identity information and positioning information; generating a pass certificate according to the user identity information and the positioning information; and outputting the pass certificate.
The certificate generation method can be operated by the mobile terminal, the user identity information can be information of registered login of a user, such as identity certificate information of a passenger, mobile phone number information corresponding to the mobile terminal, equipment information corresponding to the mobile terminal and the like, the pass certificate can be a two-dimensional code certificate, a bar code certificate and the like, and positioning information is stored in the two-dimensional code certificate or the bar code certificate.
According to the ticket selling voucher generation method, the positioning information of the user is acquired in real time, the pass voucher is generated and output according to the positioning information and the user identity information, and the external station terminal can accurately know the positioning information of the user through the pass voucher, so that accurate payment services are provided for the user according to the user identity information.
In some embodiments, in order to solve the problem that the access ticket cannot be generated under the condition of unstable connection with the external server, the access ticket comprises an online access ticket and an offline access ticket; after acquiring the user identity information and the positioning information, establishing connection with an external server request; if the connection with an external server can be established, sending the user identity information and the positioning information to the external server, acquiring verification information which is fed back by the external server and related to the user identity information and the positioning information, and generating an online passage certificate according to the user identity information, the positioning information and the verification information; if the connection with the external server is not established, the qualification condition of the historical use record of the user is checked, if the qualification condition is met, an offline pass certificate is generated according to the user identity information and the positioning information, and the user identity information, the positioning information and the offline pass certificate are stored.
The design provides an off-line processing method under the condition of unstable signals, normal passing of users is not influenced, and the efficiency of the users for entering and leaving the station is improved.
When the connection with the external server can be established, the stored user identity information, the stored positioning information and the stored offline pass certificate are sent to the external server, so that the data can be kept synchronous, and the system stability is improved.
The embodiment of the invention further discloses a mobile terminal 1, as shown in fig. 2, which includes a positioning module 11, a display module 12, and a processor 13 electrically connected to the positioning module 11 and the display module 12, respectively, where the processor 13 can operate a ticket selling voucher generating method disclosed in any of the embodiments.
The mobile terminal can be a smart phone, a tablet personal computer and other devices, the positioning module can be a GPRS positioning module, a Beidou positioning module, a mobile network positioning module and the like, the processor can be composed of a CPU or an MCU and peripheral circuits thereof, and the display module can be a touch screen and the like.
According to the mobile terminal, the positioning module detects real-time positioning information of the mobile terminal, so that the positioning information of a user is reflected, the processor runs the ticket selling voucher generating method to generate the pass voucher and display the pass voucher through the display module, and an external station terminal can scan the pass voucher on the display module and accurately know the positioning information of the user from the pass voucher, so that accurate payment service is provided for the user according to the identity information of the user.
The specific embodiment of the present invention further discloses a ticketing system, as shown in fig. 3 and 4, including a mobile terminal 1 and a station terminal 2, and the mobile terminal 1 and the station terminal 2 can cooperate to perform the following steps: the mobile terminal 1 acquires user identity information and positioning information; the mobile terminal 1 generates a pass certificate according to the user identity information and the positioning information; the mobile terminal 1 outputs the pass certificate; the station terminal 2 acquires the pass certificate output by the mobile terminal 1, carries out verification according to the position information of the station terminal 2 and the positioning information of the mobile terminal 1, and outputs a control signal according to the verification result so as to allow or prevent the user to pass.
The system also comprises a server 3, and a plurality of site terminals 2; the station terminal 2 generates a permission request according to the verification result and the obtained passage certificate (positioning information) output by the mobile terminal 1 and sends the permission request to the server 3, the server 3 judges the validity of the permission request and feeds back a control signal to the station terminal 2 to allow or prevent the passage of the user and generate a passage record of the user; the mobile terminal 1 establishes connection with the server 3 to share user identity information, positioning information and a pass certificate for synchronous operation; the server 3 synchronizes the information output by the station terminal and the mobile terminal 1, generates payment service according to the passage record of the user at different station terminals 2, and then sends the payment service to the mobile terminal 1.
The site terminal 2 generally comprises an identity verification module, a position verification module, a gate control module and a central processing unit which is respectively electrically connected with the identity verification module, the position verification module and the gate control module, wherein the pass certificates such as two-dimensional codes read by the identity verification module are analyzed from the pass certificates to obtain the identity information of the mobile terminal and verify the legality of the mobile terminal, the pass certificates such as two-dimensional codes read by the position verification module are analyzed to obtain the position information of the mobile terminal, the matching verification is carried out on the pass certificates and the position information of the site terminal, the position difference is within a certain range to judge that the position is legal, when the verification is successful, the central processing unit can control the operation of the gate control module, the gate is controlled to be opened.
Wherein, every user all need hold mobile terminal when using business turn over station service, and the user can register corresponding user information on mobile terminal APP, and in the ticketing system, the server passes through the network and builds the connection with a plurality of mobile terminal, and simultaneously, the website terminal also is provided with a plurality ofly according to the quantity of website, and the website terminal has different types, can divide into terminal of leaving a station or terminal of leaving a station, and correspondingly, current voucher is for the current voucher that leaves a station or the current voucher that leaves a station.
In some embodiments, the station terminal compares the deviation between the position information of the station terminal and the positioning information of the mobile terminal, generates a verification result according to the deviation condition, and each station terminal is provided with a deviation threshold value.
According to the ticketing system, the mobile terminal acquires the user identity information and the positioning information and correspondingly generates the pass certificate, the station terminal acquires the pass certificate and obtains the positioning information from the pass certificate, the position information of the station terminal and the positioning information of the mobile terminal are verified to obtain whether the communication certificate has a problem or not, if the communication certificate has no problem, a control signal can be output to allow the user to pass, and if the position information of the station terminal and the positioning information of the mobile terminal have overlarge deviation, the user is prohibited from passing, so that the ticket selling payment loophole is perfected to a certain extent, and the pass certificate verification rigidness is improved.
The pass certificate comprises an online pass certificate and an offline pass certificate; the mobile terminal requests to establish connection with a server after acquiring the user identity information and the positioning information;
if the mobile terminal can establish connection with the server, the user identity information and the positioning information are sent to the server, the mobile terminal obtains verification information which is fed back by the server and related to the user identity information and the positioning information, and the mobile terminal generates an online passage certificate according to the user identity information, the positioning information and the verification information; if the mobile terminal cannot establish connection with the server, the mobile terminal checks the qualification condition of the historical use record of the user in the mobile terminal, and if the qualification condition is met, the mobile terminal generates an offline pass certificate according to the user identity information and the positioning information and stores the user identity information, the positioning information and the offline pass certificate; when the mobile terminal can establish connection with the server, the stored user identity information, the stored positioning information and the stored offline pass certificate are sent to the server;
the method comprises the steps that a station terminal obtains an online pass certificate or an offline pass certificate output by a mobile terminal, and a server judges whether the pass certificate is the online pass certificate or the offline pass certificate; if the pass certificate is on-line, the server feeds back a control signal to the station terminal to allow the user to pass; if the pass certificate is offline, the server detects the qualification condition of the historical use record of the user in the server, and the server feeds back a control signal to the site terminal according to the qualification condition so as to allow or prevent the user to pass.
It should be noted that the historical usage record may include a payment record and an arrival record, and when the mobile terminal generates the offline pass voucher, the following conditions for determining the qualification of the historical usage record may be provided: first, the user does not have an outstanding travel payment order; second, the passenger is not identified as an inbound status.
The invention discloses a ticketing system, a mobile terminal tries to connect with a server in the process of generating a pass certificate, when the connection is successful, the mobile terminal firstly sends user identity information and positioning information to the server, the server checks the pass certificate and then feeds back verification information to the mobile terminal, the mobile terminal can generate an online pass certificate, when a station terminal acquires the online pass certificate, the user can be allowed to pass after judging that the position information and the positioning information are correct, when the connection is unsuccessful, the mobile terminal can carry out self-check so as not to obstruct the normal use of the user, when the historical use record of the user is judged to have no illegal operation, an offline pass certificate can be generated, the mobile terminal backups the user identity information and the positioning information, when the station terminal acquires the offline pass certificate, after judging that the position information and the positioning information are correct, the server is also required to confirm the qualified condition of the historical use record of the user in the server, the user is allowed to pass through, and after the connection with the mobile terminal is recovered, the step of synchronizing the user identity information and the positioning information needs to be triggered;
the design provides an offline processing method under the condition of unstable signals, the mobile terminal can select and generate an online passage certificate or an offline passage certificate according to the network connection condition with the server, the condition that a user enters and exits a station without being influenced by mobile network signals is ensured, the normal passage of the user is not influenced, the efficiency of the user entering and exiting the station is improved, and meanwhile, the server and the mobile terminal keep synchronous data, and the stability of the system is improved.
In the inbound flow, the generation of the inbound communication certificate can be divided into the following steps:
the on-line communication certificate can be divided into an on-line communication certificate and an off-line communication certificate, the on-line communication certificate is generated by the mobile terminal submitting user identity information and positioning information to the server and sending a request, the server returns identification information of the on-line pass certificate after checking the legality of the request, and the mobile terminal generates the on-line pass certificate based on the user identity information, the positioning information and the identification information of the on-line pass certificate sent by the server.
The off-line inbound pass certificate is generated by that the mobile terminal carries out compliance check (including check of the remote inbound certificate, check of an unsettled certificate list and the like) on user identity information based on historical usage records, the mobile terminal generates identification information of the inbound pass certificate under the condition of passing the check, and then the mobile terminal generates the inbound pass certificate based on the user identity information, the positioning information and the identification information of the inbound pass certificate;
and storing the inbound pass certificate generated in the offline state so as to perform synchronous operation when the interaction state of the mobile terminal and the server is recovered to be normal.
The judgment of the inbound terminal on the inbound pass certificate can be divided into the following steps:
the inbound terminal verifies user identity information by scanning the inbound pass certificate, performs identity compliance verification based on the user identity information, the positioning information and the position information, and generates an inbound permission request of the user based on an identity verification result;
the inbound terminal submits an inbound permission request to the server and waits for its return.
After receiving the inbound permission request sent by the inbound terminal, the server may perform the following steps:
the server receives and analyzes the inbound permission request information, if the inbound permission request information carries an online inbound pass certificate, the inbound permission is directly judged to be valid, if the inbound pass certificate carries the online inbound pass certificate, the server identifies user identity information from the offline inbound pass certificate, checks whether the user identity has an offline transaction record (offline inbound certificate, offline outbound certificate and unpaid trip bill) which is not finished historically, judges that the inbound permission is valid and stores the offline inbound pass certificate information if the user identity does not have the offline transaction record, and otherwise judges that the inbound permission is invalid.
Similarly, in the outbound procedure, as similar to the inbound procedure, the generation of the outbound communication certificate may be divided into the following steps:
the outbound communication certificate can be divided into an online communication certificate and an offline communication certificate, the online outbound communication certificate is generated by submitting user identity information and positioning information to a server by a mobile terminal and sending a request, the server returns identification information of the outbound pass certificate after checking the legality of the request, and the mobile terminal generates the outbound pass certificate based on the user identity information, the positioning information and the identification information of the outbound pass certificate sent by the server.
The off-line outbound pass certificate is generated by the mobile terminal performing compliance check (including checking of the remote outbound pass certificate, checking of an unsettled certificate list and the like) on user identity information based on historical usage records, the mobile terminal generates identification information of the outbound pass certificate by itself only when the check is passed, and the mobile terminal generates the outbound pass certificate based on the user identity information, the positioning information and the identification information of the outbound pass certificate;
and storing the outbound pass certificate generated in the offline state so as to perform synchronous operation when the interactive state of the mobile terminal and the server is recovered to be normal.
The judgment of the outbound terminal on the outbound pass certificate can be divided into the following steps:
the outbound terminal verifies the user identity information by scanning the outbound pass certificate, performs identity compliance verification based on the user identity information, the positioning information and the position information, and generates an outbound permission request of the user based on an identity verification result;
the outbound terminal submits an outbound permission request to the server and waits for its return.
After receiving the outbound permission request sent by the outbound terminal, the server may perform the following steps:
the method comprises the steps that a server receives and analyzes outbound permission request information, if an online outbound pass certificate is carried in the outbound permission request information, the outbound permission is directly judged to be valid, if the offline outbound pass certificate is carried, the server identifies user identity information from the offline outbound pass certificate, checks whether the user identity has offline transaction records (the offline outbound certificate, the offline outbound certificate and an unpaid trip bill) which are not finished historically, judges that the outbound permission is valid and stores the offline outbound pass certificate information if the user identity does not have the offline transaction records, and otherwise judges that the outbound permission is invalid.
And finally, after the outbound operation is finished, the server generates corresponding payment service according to the inbound and outbound records of the user and sends the corresponding payment service to the corresponding mobile terminal.
In the above synchronization operation, the following steps can be divided:
the mobile terminal is triggered when the login of the server is successful or the connection state of the mobile terminal and the server is recovered to be normal; the mobile terminal checks whether an offline pass certificate exists under the user identity information, and if the offline pass certificate exists, the mobile terminal submits the stored information such as the pass certificate to the server; the server checks and compares the pass certificates, screens out the pass certificate records which are used legally, and synchronously returns the related record information and the travel track to the mobile terminal to complete the synchronization of the travel track information between the server and the mobile terminal.
It is readily understood by those skilled in the art that the above-described preferred modes can be freely combined and superimposed without conflict.
The embodiments of the present invention have been described in detail with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge of those skilled in the art without departing from the gist of the present invention.
Claims (10)
1. A ticket selling voucher generating method is characterized by comprising the following steps:
acquiring user identity information and positioning information;
generating a pass certificate according to the user identity information and the positioning information;
and outputting the pass certificate.
2. A ticket voucher generating method according to claim 1, wherein: the pass voucher comprises an online pass voucher and an offline pass voucher;
after acquiring the user identity information and the positioning information, establishing connection with an external server request;
if the connection with an external server can be established, sending the user identity information and the positioning information to the external server, acquiring verification information which is fed back by the external server and related to the user identity information and the positioning information, and generating an online passage certificate according to the user identity information, the positioning information and the verification information;
if the connection with the external server is not established, the qualification condition of the historical use record of the user is checked, if the qualification condition is met, an offline pass certificate is generated according to the user identity information and the positioning information, and the user identity information, the positioning information and the offline pass certificate are stored.
3. A ticket voucher generating method according to claim 2, wherein: and when the connection with the external server can be established, the stored user identity information, the stored positioning information and the stored offline pass certificate are sent to the external server.
4. A mobile terminal, comprising a positioning module, a display module, and a processor electrically connected to the positioning module and the display module, respectively, wherein the processor is capable of operating a ticket issuing voucher generating method according to any one of claims 1 to 3.
5. A ticketing system is characterized by comprising a mobile terminal and a station terminal, wherein the mobile terminal and the station terminal can cooperate to perform the following steps:
the mobile terminal acquires user identity information and positioning information;
the mobile terminal generates a pass certificate according to the user identity information and the positioning information;
the mobile terminal outputs the pass certificate;
and the station terminal acquires the pass certificate output by the mobile terminal, verifies the pass certificate according to the position information of the station terminal and the positioning information of the mobile terminal, and outputs a control signal according to a verification result to allow or prevent the user to pass.
6. A ticketing system as claimed in claim 5, further comprising a server, and a plurality of said station terminals;
the site terminal generates a permission request according to the verification result and the obtained pass certificate output by the mobile terminal and sends the permission request to the server, and the server feeds back a control signal to the site terminal according to the permission request so as to allow or prevent the user to pass and generate a pass record of the user;
the mobile terminal establishes connection with the server to share user identity information, positioning information and a pass certificate;
and the server synchronizes the information output by the site terminal and the mobile terminal, generates payment service according to the passage records of the user at different site terminals, and then sends the payment service to the mobile terminal.
7. A ticketing system as claimed in claim 6, wherein said station terminal is an inbound terminal or an outbound terminal, and said pass voucher is an inbound pass voucher or an outbound pass voucher, respectively.
8. A ticketing system as claimed in claim 6, wherein said pass documents comprise an online pass document and an offline pass document;
the mobile terminal requests to establish connection with a server after acquiring the user identity information and the positioning information;
if the mobile terminal can establish connection with the server, the user identity information and the positioning information are sent to the server, the mobile terminal obtains verification information which is fed back by the server and related to the user identity information and the positioning information, and the mobile terminal generates an online passage certificate according to the user identity information, the positioning information and the verification information;
if the mobile terminal cannot establish connection with the server, the mobile terminal checks the qualification condition of the historical use record of the user in the mobile terminal, and if the qualification condition is met, the mobile terminal generates an offline pass certificate according to the user identity information and the positioning information and stores the user identity information, the positioning information and the offline pass certificate;
when the mobile terminal can establish connection with the server, the stored user identity information, the stored positioning information and the stored offline pass certificate are sent to the server;
the method comprises the steps that a station terminal obtains an online pass certificate or an offline pass certificate output by a mobile terminal, and a server judges whether the pass certificate is the online pass certificate or the offline pass certificate;
if the pass certificate is on-line, the server feeds back a control signal to the station terminal to allow the user to pass; if the pass certificate is offline, the server detects the qualification condition of the historical use record of the user in the server, and the server feeds back a control signal to the site terminal according to the qualification condition so as to allow or prevent the user to pass.
9. A ticketing system as claimed in claim 8, wherein said historical usage records comprise payment records and inbound records.
10. A ticketing system as claimed in claim 5, characterized in that the station terminal compares the deviation of the position information of the station terminal from the positioning information of the mobile terminal, and generates the validation result on the basis of the deviation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010047865.9A CN111245947A (en) | 2020-01-16 | 2020-01-16 | Ticket selling voucher generating method, mobile terminal and ticket selling system applying same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010047865.9A CN111245947A (en) | 2020-01-16 | 2020-01-16 | Ticket selling voucher generating method, mobile terminal and ticket selling system applying same |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111245947A true CN111245947A (en) | 2020-06-05 |
Family
ID=70872700
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010047865.9A Pending CN111245947A (en) | 2020-01-16 | 2020-01-16 | Ticket selling voucher generating method, mobile terminal and ticket selling system applying same |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111245947A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113869850A (en) * | 2021-09-17 | 2021-12-31 | 南京熊猫电子股份有限公司 | Method and system for electronic card service degradation in rail transit industry |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108234517A (en) * | 2018-01-29 | 2018-06-29 | 成都智元汇信息技术股份有限公司 | A kind of subway based on offline Quick Response Code ticket card is ridden off-line processing system and method |
CN108711206A (en) * | 2018-05-17 | 2018-10-26 | 腾讯科技(深圳)有限公司 | Gate control method, relevant device, system and storage medium |
US20190259222A1 (en) * | 2018-02-22 | 2019-08-22 | Fangsong WANG | Mobile sensing and smart payment system |
-
2020
- 2020-01-16 CN CN202010047865.9A patent/CN111245947A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108234517A (en) * | 2018-01-29 | 2018-06-29 | 成都智元汇信息技术股份有限公司 | A kind of subway based on offline Quick Response Code ticket card is ridden off-line processing system and method |
US20190259222A1 (en) * | 2018-02-22 | 2019-08-22 | Fangsong WANG | Mobile sensing and smart payment system |
CN108711206A (en) * | 2018-05-17 | 2018-10-26 | 腾讯科技(深圳)有限公司 | Gate control method, relevant device, system and storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113869850A (en) * | 2021-09-17 | 2021-12-31 | 南京熊猫电子股份有限公司 | Method and system for electronic card service degradation in rail transit industry |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11783442B2 (en) | Interactive image-based communication using image coding | |
KR101742448B1 (en) | Refund system and method | |
US10489573B2 (en) | Physical token-less security screening using biometrics | |
US20130041776A1 (en) | Cash payment apparatus, system and method | |
CN110880106A (en) | Method and device for realizing double offline payment | |
US20140222691A1 (en) | System and method for formless, self-service registration for access to financial services | |
CN103824190B (en) | Method of payment, client, receiving terminal and system | |
KR102257433B1 (en) | Method and system for processing public transportation fare using qr ticket | |
CN103562973A (en) | Electronic system for quickly and securely processing transactions using mobile devices | |
CN106464724B (en) | Transport system user inspection | |
WO2017043885A1 (en) | Financial service providing method and system through mobile non-face-to-facereal name verification | |
CN111462368A (en) | Subway station entering and exiting identification method and system and computer equipment | |
JP7115369B2 (en) | Entrance/exit management system, traffic management system, entrance/exit management method, and entrance/exit management program | |
CN111245947A (en) | Ticket selling voucher generating method, mobile terminal and ticket selling system applying same | |
KR20190142065A (en) | System and method for providing drive-through payment service | |
WO2016136798A1 (en) | Combination authentication method, combination authentication device and authentication system for station service equipment | |
US20150066604A1 (en) | Fare payment method and apparatus thereof | |
US7249110B1 (en) | Individual authentication method, individual authentication apparatus, accounting method, accounting apparatus | |
CN112002024A (en) | Ticket checking method, device, equipment, server and medium based on face recognition | |
TWI495321B (en) | Qr code authentication system combining dynamic passwords and method thereof | |
US20200058086A1 (en) | Consent Obtaining Machine and Process | |
CN112019487B (en) | Offline activity permission confirmation method and device, storage medium and computer equipment | |
WO2023188003A1 (en) | Use control terminal, system and method, use management server and method, and computer-readable medium | |
CN115544185A (en) | Action track data processing method and device | |
KR20080027698A (en) | System and method for processing information and program recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200605 |