Settlement method and system, display terminal, passenger terminal and server

By displaying the settlement QR code and pre-settlement QR code inside and outside the subway station, and combining geographical location information, the problems of equipment incompatibility and poor communication are solved, efficient outbound settlement is achieved, and congestion during peak periods is reduced.

CN112950187BActive Publication Date: 2024-12-06INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202110207476.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-02-24
Publication Date
2024-12-06
Estimated Expiration
2041-02-24

AI Technical Summary

Technical Problem

When the subway exits, during the NFC or QR code scanning communication process, passenger equipment is incompatible or communication is poor, resulting in congestion in the exit during peak periods, unable to complete the settlement process normally or the settlement is slow.

Method used

Scan the settlement QR code and pre-settlement QR code displayed by the display terminal, combined with geographical location information, and judge whether the preset conditions are met through the server to complete the settlement, avoiding equipment compatibility and communication problems.

Benefits of technology

It is possible to complete settlement by scanning the QR code outside or inside the station, reducing congestion during peak periods and improving outbound efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112950187B_ABST
    Figure CN112950187B_ABST
Patent Text Reader

Abstract

The present disclosure provides a settlement method, including: scanning a settlement QR code displayed by a first display terminal to obtain the QR code content of the settlement QR code, wherein the first display terminal is set outside a station, and the QR code content of the settlement QR code includes the station information of the station and the first timestamp information when the settlement QR code is generated; collecting its own geographical location information; sending the QR code content of the settlement QR code and the geographical location information to a server. The present disclosure also provides a settlement method and system, a display terminal, a passenger terminal and a server.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and more specifically, to a settlement method and system, a display terminal, a passenger terminal and a server. Background Art

[0002] At present, when settling at the subway station, for electronic bus cards (NFC or QR code scanning), users need to interact with the exit gate with their card information, and the gate will deduct the payment and then release them. This method is simple in principle, but for stations with large passenger flow, it is very easy to cause a large number of passengers to pile up in the subway station during peak hours in the morning and evening (waiting to scan the code or swipe the card to pass the gate).

[0003] In the process of realizing the concept of the present disclosure, the inventors found that there are at least the following problems in the related technology: the communication process involves NFC or QR code scanning, and the passengers' mobile phone devices vary greatly. There are various incompatibilities or occasional communication problems, which can easily cause a large amount of exit congestion during peak hours, and the settlement process cannot be completed normally, or the settlement is slow. Summary of the invention

[0004] A first aspect of the present disclosure provides a settlement method, applied to a passenger terminal, comprising:

[0005] Scanning a settlement QR code displayed by a first display terminal to obtain QR code content of the settlement QR code, wherein the first display terminal is arranged outside the station, and the QR code content of the settlement QR code includes station information of the station and first timestamp information when the settlement QR code is generated;

[0006] Collect your own geographic location information;

[0007] The QR code content of the settlement QR code and the geographic location information are sent to the server.

[0008] In an optional embodiment of the present disclosure, before scanning the settlement QR code displayed by the first display terminal to obtain the QR code content of the settlement QR code, the method includes:

[0009] The pre-settlement QR code displayed by the second display terminal is scanned to obtain the QR code content of the pre-settlement QR code, the second display terminal is arranged in the station, and the QR code content of the pre-settlement QR code corresponds to the QR code content of the settlement QR code.

[0010] The QR code content of the pre-settlement QR code is sent to a server, or the QR code content of the pre-settlement QR code is cached.

[0011] In an optional embodiment of the present disclosure, if the QR code content of the pre-settlement QR code is cached, the QR code content of the pre-settlement QR code is sent to the server while the operation of sending the QR code content of the settlement QR code and the geographic location information to the server is executed.

[0012] In an optional embodiment of the present disclosure, the QR code content of the pre-settlement QR code includes the station information of the station and the second timestamp information when the pre-settlement QR code is generated.

[0013] In an optional embodiment of the present disclosure, it also includes:

[0014] Recording the QR code content of the settlement QR code and a third timestamp when the geographic location information is sent to the server;

[0015] The third timestamp is sent to the server.

[0016] In an optional embodiment of the present disclosure, a geographic fence is set outside the station, and the method further includes:

[0017] When the geographical location is not within the geographical fence of the station, a prompt message of a settlement location error returned by the server is received.

[0018] In an optional embodiment of the present disclosure, if the passenger terminal does not scan the pre-settlement QR code displayed by the second display terminal, a prompt message indicating that the pre-settlement QR code has not been scanned is received from the server.

[0019] In an optional embodiment of the present disclosure, when the difference between the first timestamp and the second timestamp exceeds a first preset threshold, a prompt message of a timeout in scanning the settlement QR code is received from the server.

[0020] In an optional embodiment of the present disclosure, when the difference between the first timestamp and the third timestamp exceeds a second preset threshold, a prompt message indicating that the settlement QR code is invalid is received from the server.

[0021] A second aspect of the present disclosure provides a settlement method, applied to a server, comprising:

[0022] Obtaining the QR code content of the settlement QR code sent by the passenger terminal, as well as the geographic location information of the passenger terminal;

[0023] Determining whether the QR code content of the settlement QR code meets a first preset condition, and determining whether the geographical location of the passenger terminal meets a second preset condition;

[0024] If the QR code content of the settlement QR code meets the first preset condition, and the geographical location of the passenger terminal meets the second preset condition, the settlement is completed based on the site information of the station.

[0025] In an optional embodiment of the present disclosure, the QR code content of the settlement QR code includes the station information of the station and the first timestamp information when the settlement QR code is generated, and the determining whether the QR code content of the settlement QR code meets the first preset condition includes:

[0026] Parsing the QR code content of the settlement QR code to obtain the station address and the first timestamp of the station;

[0027] Acquire the record sent by the passenger terminal, send the QR code content of the settlement QR code, and the third timestamp of sending the geographic location information to the server;

[0028] Determine whether the difference between the first timestamp and the third timestamp exceeds a second preset threshold;

[0029] If the difference between the first timestamp and the third timestamp exceeds a second preset threshold, the QR code content of the settlement QR code does not meet the first preset condition;

[0030] If the difference between the first timestamp and the third timestamp does not exceed the second preset threshold, the QR code content of the settlement QR code meets the first preset condition.

[0031] In an optional embodiment of the present disclosure, the determining whether the geographical location of the passenger terminal meets the second preset condition includes:

[0032] Determining whether the geographic location of the passenger terminal is within the geographic fence corresponding to the station;

[0033] If the geographical location of the passenger terminal is within the geographical fence corresponding to the station, the geographical location of the passenger terminal meets the second preset condition;

[0034] If the geographical location of the passenger terminal is not within the geographical fence corresponding to the station, the geographical location of the passenger terminal does not meet the second preset condition.

[0035] In an optional embodiment of the present disclosure, when the QR code content of the settlement QR code does not meet the first preset condition, a prompt message indicating that the settlement QR code is invalid is returned to the passenger terminal.

[0036] In an optional embodiment of the present disclosure, when the geographical location of the passenger terminal does not meet the second preset condition, a prompt message of the settlement location error is returned to the passenger terminal.

[0037] In an optional embodiment of the present disclosure, before determining whether the QR code content of the settlement QR code meets the first preset condition and determining whether the geographical location of the passenger terminal meets the second preset condition, the process includes:

[0038] Searching for the QR code content of the pre-settlement QR code corresponding to the QR code content of the settlement QR code;

[0039] If the QR code content of the pre-settlement QR code corresponding to the QR code content of the settlement QR code is found, the operations of determining whether the QR code content of the settlement QR code meets the first preset condition and determining whether the geographical location of the passenger terminal meets the second preset condition are performed;

[0040] If the QR code content of the pre-settlement QR code corresponding to the QR code content of the settlement QR code is not found, the farthest station on the route where the station is located is used as the exit station to complete the settlement, and a prompt message that the pre-settlement QR code has not been scanned is returned to the passenger terminal.

[0041] In an optional embodiment of the present disclosure, the QR code content of the pre-settlement QR code includes a second timestamp of generating the pre-settlement QR code, and before determining whether the QR code content of the settlement QR code meets the first preset condition and determining whether the geographical location of the passenger terminal meets the second preset condition, the steps include:

[0042] Parsing the QR code content of the pre-settlement QR code to obtain the second timestamp;

[0043] Determine whether the difference between the first timestamp and the second timestamp exceeds a first preset threshold;

[0044] If the difference between the first timestamp and the second timestamp does not exceed the first preset threshold, the operations of determining whether the QR code content of the settlement QR code meets the first preset condition and determining whether the geographical location of the passenger terminal meets the second preset condition are performed;

[0045] If the difference between the first timestamp and the second timestamp exceeds a first preset threshold, the farthest station on the route where the station is located is used as the exit station to complete the settlement, and a prompt message indicating that the scanning of the settlement QR code has timed out is returned to the passenger terminal.

[0046] In an optional embodiment of the present disclosure, a settlement QR code and a pre-settlement QR code are generated every first preset time period, and the QR code content of the settlement QR code corresponds to the QR code content of the pre-settlement QR code;

[0047] The settlement QR code is sent to the first display terminal, and the pre-settlement QR code is sent to the second display terminal.

[0048] In an optional embodiment of the present disclosure, the QR code content of the settlement QR code corresponds to the QR code content of the pre-settlement QR code and includes: the station information of the station in the QR code content of the settlement QR code is the same as the station information in the QR code content of the pre-settlement QR code.

[0049] In an optional embodiment of the present disclosure, when the QR code content of the settlement QR code sent by the passenger terminal is not obtained within a second preset time period, the farthest station on the route where the station is located is used as the exit station to complete the settlement.

[0050] A third aspect of the present disclosure provides a first display terminal, which is arranged outside a station. The first display terminal is used to display a settlement QR code. The QR code content of the settlement QR code includes the station information of the station and the first timestamp information when the settlement QR code is generated.

[0051] The fourth aspect of the present disclosure provides a second display terminal, which is arranged in a station, and the second display terminal is used to display a pre-settlement QR code, the QR code content of which includes the station information of the station and the second timestamp information when the pre-settlement QR code is generated.

[0052] A fifth aspect of the present disclosure provides a passenger terminal, comprising:

[0053] a scanning module, used for scanning the settlement QR code displayed by the first display terminal to obtain the QR code content of the settlement QR code, wherein the first display terminal is arranged outside the station, and the QR code content of the settlement QR code includes the station information of the station and the first timestamp information when the settlement QR code is generated;

[0054] A collection module is used to collect its own geographical location information;

[0055] The sending module is used to send the QR code content of the settlement QR code and the geographic location information to the server.

[0056] In an optional embodiment of the present disclosure, the passenger terminal further includes:

[0057] The scanning module is also used to scan the pre-settlement QR code displayed by the second display terminal to obtain the QR code content of the pre-settlement QR code. The second display terminal is set in the station, and the QR code content of the pre-settlement QR code corresponds to the QR code content of the settlement QR code.

[0058] The sending module is further used to send the QR code content of the pre-settlement QR code to the server, or to cache the QR code content of the pre-settlement QR code.

[0059] In an optional embodiment of the present disclosure, if the QR code content of the pre-settlement QR code is cached, the QR code content of the pre-settlement QR code is sent to the server while the operation of sending the QR code content of the settlement QR code and the geographic location information to the server is executed.

[0060] In an optional embodiment of the present disclosure, the QR code content of the pre-settlement QR code includes the station information of the station and the second timestamp information when the pre-settlement QR code is generated.

[0061] In an optional embodiment of the present disclosure, the passenger terminal further includes:

[0062] A recording module, used for recording the QR code content of the settlement QR code and a third timestamp when the geographic location information is sent to the server;

[0063] The sending module is further used to send the third timestamp to the server.

[0064] In an optional embodiment of the present disclosure, a geographic fence is set outside the station, and the passenger terminal further includes:

[0065] The receiving module is used to receive the prompt information of settlement location error returned by the server when the geographical location is not within the geographical fence of the station.

[0066] In an optional embodiment of the present disclosure, the receiving module is further configured to receive a prompt message returned by the server indicating that the pre-settlement QR code has not been scanned if the passenger terminal has not scanned the pre-settlement QR code displayed by the second display terminal.

[0067] In an optional embodiment of the present disclosure, the receiving module is further used to receive a prompt message of timeout of scanning the settlement QR code returned by the server when the difference between the first timestamp and the second timestamp exceeds a first preset threshold.

[0068] In an optional embodiment of the present disclosure, the receiving module is further used to receive a prompt message indicating that the settlement QR code is invalid, which is returned by the server, when the difference between the first timestamp and the third timestamp exceeds a second preset threshold.

[0069] A sixth aspect of the present disclosure provides a server, including:

[0070] An acquisition module, used to acquire the QR code content of the settlement QR code sent by the passenger terminal, and the geographical location information of the passenger terminal, wherein the QR code content of the settlement QR code includes the station information of the station and the first timestamp information when the settlement QR code is generated;

[0071] A judgment module, used to judge whether the QR code content of the settlement QR code meets the first preset condition, and to judge whether the geographical location of the passenger terminal meets the second preset condition;

[0072] A settlement module is used to complete the settlement based on the station information of the station if the QR code content of the settlement QR code meets the first preset condition and the geographical location of the passenger terminal meets the second preset condition.

[0073] In an optional embodiment of the present disclosure, the QR code content of the settlement QR code includes the site information of the station and the first timestamp information when the settlement QR code is generated, and the judgment module is specifically used to parse the QR code content of the settlement QR code to obtain the site information of the station and the first timestamp; obtain the record sent by the passenger terminal to send the QR code content of the settlement QR code, and the third timestamp of the geographic location information to the server; judge whether the difference between the first timestamp and the third timestamp exceeds the second preset threshold; if the difference between the first timestamp and the third timestamp exceeds the second preset threshold, the QR code content of the settlement QR code does not meet the first preset condition; if the difference between the first timestamp and the third timestamp does not exceed the second preset threshold, the QR code content of the settlement QR code meets the first preset condition.

[0074] In an optional embodiment of the present disclosure, the judgment module is specifically used to judge whether the geographical location of the passenger terminal is within the geographical fence corresponding to the station; if the geographical location of the passenger terminal is within the geographical fence corresponding to the station, the geographical location of the passenger terminal meets the second preset condition; if the geographical location of the passenger terminal is not within the geographical fence corresponding to the station, the geographical location of the passenger terminal does not meet the second preset condition.

[0075] In an optional embodiment of the present disclosure, the server further includes:

[0076] The prompt information sending module is used to return the prompt information of the settlement location error to the passenger terminal when the geographical location of the passenger terminal does not meet the second preset condition.

[0077] In an optional embodiment of the present disclosure, the server further includes:

[0078] A search module, used to search for the QR code content of the pre-settlement QR code corresponding to the QR code content of the settlement QR code;

[0079] If the QR code content of the pre-settlement QR code corresponding to the QR code content of the settlement QR code is found, the judgment module is executed;

[0080] An abnormal settlement module, for completing the settlement by taking the farthest station on the route where the station is located as the exit station if the QR code content of the pre-settlement QR code corresponding to the QR code content of the settlement QR code is not found;

[0081] The prompt information sending module is also used for the passenger terminal to return the prompt information of the unscanned pre-settlement QR code.

[0082] In an optional embodiment of the present disclosure, the server further includes:

[0083] A parsing module, configured to parse the QR code content of the pre-settlement QR code to obtain the second timestamp;

[0084] A threshold determination module, configured to determine whether a difference between the first timestamp and the second timestamp exceeds a first preset threshold;

[0085] If the difference between the first timestamp and the second timestamp does not exceed the first preset threshold, executing the judgment module;

[0086] An abnormal settlement module, configured to complete the settlement by taking the farthest station on the route where the station is located as the exit station if the difference between the first timestamp and the second timestamp exceeds a first preset threshold;

[0087] The prompt information sending module is also used to return a prompt information of timeout in scanning the settlement QR code to the passenger terminal.

[0088] In an optional embodiment of the present disclosure, the QR code content of the settlement QR code corresponds to the QR code content of the pre-settlement QR code and includes: the station information of the station in the QR code content of the settlement QR code is the same as the station information in the QR code content of the pre-settlement QR code.

[0089] In an optional embodiment of the present disclosure, the abnormal settlement module is also used to complete the settlement by taking the farthest station on the route where the station is located as the exit station when the QR code content of the settlement QR code sent by the passenger terminal is not obtained within a second preset time period.

[0090] A seventh aspect of the present disclosure provides a computer system, comprising:

[0091] one or more processors;

[0092] a memory for storing one or more programs,

[0093] When the one or more programs are executed by the one or more processors, the one or more processors implement the method described in the first aspect above.

[0094] An eighth aspect of the present disclosure provides a computer system, comprising:

[0095] one or more processors;

[0096] a memory for storing one or more programs,

[0097] When the one or more programs are executed by the one or more processors, the one or more processors implement the method described in the second aspect above.

[0098] A ninth aspect of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, which, when executed, are used to implement the method described in the first aspect above.

[0099] A ninth aspect of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, which, when executed, are used to implement the method described in the second aspect above.

[0100] A tenth aspect of the present disclosure provides a settlement system, including:

[0101] The first display terminal as described in the third aspect, the passenger terminal capable of implementing the method as described in the first aspect, and the server capable of implementing the method as described in the second aspect.

[0102] A tenth aspect of the present disclosure provides a settlement system, including:

[0103] The first display terminal as described in the third aspect, the second display terminal as described in the fourth aspect, a passenger terminal capable of implementing the method as described in the first aspect, and a server capable of implementing the method as described in the second aspect.

[0104] According to an embodiment of the present disclosure, the passenger terminal scans the settlement QR code displayed by the first display terminal to obtain the QR code content of the settlement QR code. The first display terminal is set outside the station. The QR code content of the settlement QR code includes the station site information and the first timestamp information when the settlement QR code is generated. The passenger terminal collects its own geographical location information. The passenger terminal sends the QR code content of the settlement QR code and the geographical location information to the server. The server obtains the QR code content of the settlement QR code sent by the passenger terminal and the geographical location information of the passenger terminal. The server determines whether the QR code content of the settlement QR code meets the first preset condition and whether the geographical location of the passenger terminal meets the second preset condition. If the QR code content of the settlement QR code meets the first preset condition and the geographical location of the passenger terminal meets the second preset condition, the server completes the settlement based on the station site information. Using this method, passengers can exit the station freely and complete the settlement by scanning the settlement QR code outside the station site. BRIEF DESCRIPTION OF THE DRAWINGS

[0105] The above and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:

[0106] Figure 1 A flowchart schematically shows a settlement method applied to a passenger terminal according to an embodiment of the present disclosure;

[0107] Figure 2a A flowchart schematically shows a settlement method applied to a passenger terminal according to an embodiment of the present disclosure;

[0108] Figure 2b A flowchart schematically shows a settlement method applied to a passenger terminal according to an embodiment of the present disclosure;

[0109] Figure 3 A flowchart schematically shows a settlement method applied to a passenger terminal according to an embodiment of the present disclosure;

[0110] Figure 4 A schematic diagram of a scene according to an embodiment of the present disclosure is schematically shown;

[0111] Figure 5 A flowchart of a settlement method applied to a server according to an embodiment of the present disclosure is schematically shown;

[0112] Figure 6 A flowchart of a settlement method applied to a server according to an embodiment of the present disclosure is schematically shown;

[0113] Figure 7 A flowchart of a settlement method applied to a server according to an embodiment of the present disclosure is schematically shown;

[0114] Figure 8 Schematically shows a block diagram of a passenger terminal according to an embodiment of the present disclosure;

[0115] Fig. 9 A block diagram of a server according to an embodiment of the present disclosure is schematically shown;

[0116] Fig.10 A block diagram schematically shows a computer system suitable for implementing the method described above according to an embodiment of the present disclosure;

[0117] Fig.11 A schematic diagram of a settlement system according to an embodiment of the present disclosure is schematically shown;

[0118] Fig.12 A schematic diagram of a settlement system according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0119] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.

[0120] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.

[0121] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.

[0122] In the case of using expressions such as "at least one of A, B, and C, etc.", it should generally be interpreted in accordance with the meaning of the expression generally understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.). In the case of using expressions such as "at least one of A, B, or C, etc.", it should generally be interpreted in accordance with the meaning of the expression generally understood by those skilled in the art (for example, "a system having at least one of A, B, or C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).

[0123] Figure 1 The flowchart of the settlement method applied to the passenger terminal according to the embodiment of the present disclosure is schematically shown.

[0124] like Figure 1 As shown, the method includes operations S101 to S103.

[0125] In operation S101, a settlement QR code displayed by a first display terminal is scanned to obtain QR code content of the settlement QR code. The first display terminal is set outside the station. The QR code content of the settlement QR code includes site information of the station and first timestamp information when the settlement QR code is generated.

[0126] In operation S102, the geographic location information of the user is collected.

[0127] In operation S103, the QR code content of the settlement QR code and the geographic location information are sent to the server.

[0128] In this disclosure, the station information of each station refers to the unique identification of the station. For example, there are five stations in total, the identification of the first station is 001, the identification of the second station is 002, the identification of the third station is 003, the identification of the fourth station is 004, and the identification of the fifth station is 005. The above is only an example, and this disclosure does not limit the form of the unique identification of the station.

[0129] In the present disclosure, the QR code content of the settlement QR code may include a salted random number in addition to the station information and the first timestamp information when the settlement QR code is generated. The salted random number is used to prevent hackers from calculating the QR code content through a rainbow table. The salted random number is, for example, werxv43. Furthermore, the salted random number in the settlement QR code may be updated synchronously each time the settlement QR code is updated, or the same salted random number may be used for all QR codes in a time period, and different salted random numbers may be used for QR codes in another time period, for example, the same salted random number may be used for QR codes within three hours, or the same salted random number may be used for QR codes within a day.

[0130] In the present disclosure, the first timestamp may be a UTC timestamp, for example: 1605500030878, 1605588030878. In the present disclosure, the station information and the first timestamp information when generating the settlement QR code may be spliced ​​using a splicing symbol, and sha256 is calculated to obtain the QR code content of the settlement QR code. Taking the station information as 001 and the first timestamp information when generating the settlement QR code as 1605588030878 as an example, sha256 (001_1605588030878) is calculated. The station information, the first timestamp information when generating the settlement QR code, and the salted random number may also be spliced ​​using a splicing symbol, and sha256 is calculated to obtain the QR code content of the settlement QR code. Take the station information of the station as 001, the salted random number as werxv43, and the first timestamp information when generating the settlement QR code as 1605588030878 as an example, and calculate sha256 (001_werxv43_1605588030878). It is understandable that the above splicing method is only an example, and those skilled in the art can also use other splicing methods for splicing, which is not limited by the present disclosure.

[0131] In the present disclosure, the geographic location information of the passenger terminal can be obtained by Beidou WeChat or GPS positioning, and the present disclosure does not limit this.

[0132] According to the disclosed embodiment, the first display terminal is set outside the station. The passenger terminal obtains the QR code content of the settlement QR code by scanning the settlement QR code displayed by the first display terminal. The QR code content of the settlement QR code includes the station information of the station and the first timestamp information when the settlement QR code is generated. Then, the passenger terminal collects its own geographical location information and sends the QR code content of the settlement QR code and the geographical location information to the server. The server performs settlement according to the QR code content of the settlement QR code and the geographical location information. Passengers can settle in the designated area outside the station without queuing in the station gate to wait for exit, thus avoiding congestion during peak passenger flow periods.

[0133] Figure 2a The flowchart of the settlement method applied to the passenger terminal according to the embodiment of the present disclosure is schematically shown. Operation S202 includes operation S202a or S202b.

[0134] like Figure 2a As shown, the method includes the following operations.

[0135] In operation S201, the pre-settlement QR code displayed by the second display terminal is scanned to obtain the QR code content of the pre-settlement QR code, the second display terminal is set in the station, and the QR code content of the pre-settlement QR code corresponds to the QR code content of the settlement QR code.

[0136] In operation S202a, the QR code content of the pre-settlement QR code is sent to the server.

[0137] In operation S101, a settlement QR code displayed by a first display terminal is scanned to obtain QR code content of the settlement QR code. The first display terminal is set outside the station. The QR code content of the settlement QR code includes site information of the station and first timestamp information when the settlement QR code is generated.

[0138] In operation S102, the geographic location information of the user is collected.

[0139] In operation S103, the QR code content of the settlement QR code and the geographic location information are sent to the server.

[0140] Figure 2b The flowchart of the settlement method applied to the passenger terminal according to the embodiment of the present disclosure is schematically shown.

[0141] like Figure 2b As shown, the method includes the following operations:

[0142] In operation S201, a pre-settlement QR code displayed by a second display terminal is scanned to obtain QR code content of the pre-settlement QR code, the second display terminal is arranged in the station, and the QR code content of the pre-settlement QR code corresponds to the QR code content of the settlement QR code;

[0143] In operation S202b, the QR code content of the pre-settlement QR code is cached.

[0144] In operation S101, a settlement QR code displayed by a first display terminal is scanned to obtain QR code content of the settlement QR code. The first display terminal is set outside the station. The QR code content of the settlement QR code includes site information of the station and first timestamp information when the settlement QR code is generated.

[0145] In operation S102, the geographic location information of the user is collected.

[0146] In operation S203, the QR code content of the settlement QR code, the QR code content of the pre-settlement QR code, and the geographic location information are sent to the server.

[0147] In the present disclosure, the QR code content of the pre-settlement QR code corresponds to the QR code content of the settlement QR code, which means that the station information of the station in the QR code content of the settlement QR code scanned by the passenger terminal is the same as the station information of the station in the QR code content of the scanned pre-settlement QR code. That is, the QR code content of the pre-settlement QR code includes the second timestamp information when the pre-settlement QR code is generated, and the station information of the station in operation S101.

[0148] In the present disclosure, the pre-settlement QR code may also include a salted random number, and the second timestamp may also be a UTC timestamp. The splicing method for the QR code content of the pre-settlement QR code is the same as the splicing method for the QR code content of the above-mentioned settlement QR code, and will not be repeated here.

[0149] According to the disclosed embodiment, the first display terminal is set outside the station, and the second display terminal is set inside the station. The passenger first scans the pre-settlement QR code displayed by the second display terminal to obtain the QR code content of the pre-settlement QR code. Then, the passenger terminal obtains the QR code content of the settlement QR code by scanning the settlement QR code displayed by the first display terminal, and then collects its own geographical location information, and sends the QR code content of the pre-settlement QR code, the QR code content of the settlement QR code, and the geographical location information to the server. The server performs settlement according to the QR code content of the pre-settlement QR code, the QR code content of the settlement QR code, and the geographical location information, which can prevent passengers from maliciously going to a nearby station for settlement.

[0150] Figure 3 The flowchart of the settlement method applied to the passenger terminal according to the embodiment of the present disclosure is schematically shown.

[0151] The method includes operations S101-S103 and operations S301-S302, or the method includes operations S101-S103, operations S201-S203 and operations S301-S302, wherein operations S101-S103 and Figure 1 The operations described are the same or similar and will not be described in detail here. Operations S201-S203 are the same or similar to the operations described in FIG. 2 and will not be described in detail here.

[0152] In operation S301, the QR code content of the settlement QR code and the third timestamp of sending the geographic location information to the server are recorded.

[0153] In operation S302, the third timestamp is sent to the server.

[0154] In the present disclosure, the third timestamp may also be a UTC timestamp. The third timestamp may be sent to the server together with the third timestamp when performing operation S103, that is, the QR code content of the settlement QR code, the third timestamp, and the geographic location information are sent to the server.

[0155] According to the embodiment of the present disclosure, the QR code content of the settlement QR code and the third timestamp of sending the geographic location information to the server are recorded, and the third timestamp is sent to the server, so that the server performs settlement according to the third timestamp. This avoids the situation where the first timestamp of generating the settlement QR code and the third timestamp of sending the settlement QR code are separated by a long time, and the settlement QR code becomes invalid.

[0156] Figure 4 A schematic diagram of a scenario according to an embodiment of the present disclosure is schematically shown.

[0157] like Figure 4 As shown, a geographic fence is set outside the station. When the collected geographic location of the passenger terminal is not within the geographic fence of the station, the server will return a prompt message of a settlement location error to the passenger terminal, that is, the passenger terminal receives the prompt message of a settlement location error returned by the server.

[0158] In the present disclosure, the actual size and location of the geo-fence are not specifically limited. Those skilled in the art can set it according to the actual situation. For example, the geo-fence is set at the exit of the station and the size is 50 square meters. The first display terminal can be set inside the geo-fence or outside the geo-fence, and the present disclosure does not limit this.

[0159] In one embodiment of the present disclosure, if the passenger terminal does not scan the pre-settlement QR code displayed by the second display terminal, a prompt message indicating that the pre-settlement QR code has not been scanned is received from the server.

[0160] In one embodiment of the present disclosure, when the difference between the first timestamp and the second timestamp exceeds a first preset threshold, a prompt message of a timeout of scanning a settlement QR code returned by the server is received. It is understandable that the present disclosure does not limit the specific value of the first preset threshold, which may be 5 minutes, 10 minutes, etc.

[0161] In one embodiment of the present disclosure, when the difference between the first timestamp and the third timestamp exceeds a second preset threshold, a prompt message indicating that the settlement QR code is invalid is received from the server. It is understandable that the present disclosure does not limit the specific value of the second preset threshold, which may be 5 minutes, 10 minutes, etc.

[0162] Figure 5 The flowchart of the settlement method applied to the server according to the embodiment of the present disclosure is schematically shown.

[0163] like Figure 5 As shown, the method includes operations S501 to S503.

[0164] In operation S501, the QR code content of the settlement QR code sent by the passenger terminal and the geographic location information of the passenger terminal are obtained.

[0165] In operation S502, it is determined whether the QR code content of the settlement QR code meets the first preset condition, and it is determined whether the geographical location of the passenger terminal meets the second preset condition.

[0166] In operation S503, if the QR code content of the settlement QR code meets the first preset condition, and the geographical location of the passenger terminal meets the second preset condition, settlement is completed based on the station information of the station.

[0167] In the present disclosure, the QR code content of the settlement QR code includes the station information of the station and the first timestamp information when the settlement QR code is generated. The first preset condition may be whether the first timestamp in the QR code content of the settlement QR code satisfies a specified condition, and the second preset condition may be whether the geographical location in the QR code content of the settlement QR code satisfies another specified condition. The present disclosure does not limit the above specified conditions.

[0168] In one of the embodiments of the present disclosure, when the QR code content of the settlement QR code does not meet the first preset condition, a prompt message indicating that the settlement QR code is invalid is returned to the passenger terminal.

[0169] In one of the embodiments of the present disclosure, when the geographical location of the passenger terminal does not meet the second preset condition, a prompt message indicating that the settlement location is wrong is returned to the passenger terminal.

[0170] In one embodiment of the present disclosure, the first preset condition may specifically be whether the difference between the first timestamp and the third timestamp exceeds the second preset threshold. That is, in operation S502, determining whether the QR code content of the settlement QR code meets the first preset condition includes: parsing the QR code content of the settlement QR code, obtaining the station and the first timestamp of the station, obtaining the record sent by the passenger terminal, sending the QR code content of the settlement QR code, and the third timestamp of the geographic location information to the server, determining whether the difference between the first timestamp and the third timestamp exceeds the second preset threshold, if the difference between the first timestamp and the third timestamp exceeds the second preset threshold, then the QR code content of the settlement QR code does not meet the first preset condition, if the difference between the first timestamp and the third timestamp does not exceed the second preset threshold, then the QR code content of the settlement QR code meets the first preset condition. According to an embodiment of the present disclosure, by calculating the difference between the first timestamp and the third timestamp, it is avoided that the first timestamp of the settlement QR code generated and the third timestamp of the settlement QR code sent are separated by a long time, and the settlement QR code is invalid.

[0171] In one of the embodiments of the present disclosure, the second preset condition may specifically be whether the geographical location of the passenger terminal is within the geographical fence corresponding to the station. That is, determining whether the geographical location of the passenger terminal meets the second preset condition in operation S502 includes: determining whether the geographical location of the passenger terminal is within the geographical fence corresponding to the station; if the geographical location of the passenger terminal is within the geographical fence corresponding to the station, the geographical location of the passenger terminal meets the second preset condition; if the geographical location of the passenger terminal is not within the geographical fence corresponding to the station, the geographical location of the passenger terminal does not meet the second preset condition. According to the embodiment of the present disclosure, normal settlement can only be performed when the passenger terminal is within the geographical fence of the station, that is, normal settlement can only be performed when the passenger is within the geographical fence area, preventing hackers from obtaining the settlement QR code and the pre-settlement QR code for settlement.

[0172] Figure 6 The flowchart of the settlement method applied to the server according to the embodiment of the present disclosure is schematically shown.

[0173] The method includes operations S501-S503 and operations S601-S603, wherein operations S501-S503 and Figure 5 The operations described are the same or similar and will not be repeated here.

[0174] In operation S601, the QR code content of the pre-settlement QR code corresponding to the QR code content of the settlement QR code is searched.

[0175] In operation S602, if the QR code content of the pre-settlement QR code corresponding to the QR code content of the settlement QR code is found, operation S502 is executed.

[0176] In operation S603, if the QR code content of the pre-settlement QR code corresponding to the QR code content of the settlement QR code is not found, the farthest station on the route where the station is located is used as the exit station to complete the settlement, and a prompt message that the pre-settlement QR code has not been scanned is returned to the passenger terminal.

[0177] In the present disclosure, before determining whether the QR code content of the settlement QR code meets the first preset condition and determining whether the geographical location of the passenger terminal meets the second preset condition, the QR code content of the pre-settlement QR code corresponding to the QR code content of the settlement QR code is searched to avoid the situation where the passenger maliciously scans the settlement QR code of the closer station for settlement outside the closer station when only the settlement QR code is used. When the server does not find the QR code content of the pre-settlement QR code corresponding to the QR code content of the settlement QR code, the farthest station on the route where the station is located is used as the exit station to complete the settlement, and returns a prompt message to the passenger terminal that the pre-settlement QR code has not been scanned.

[0178] Figure 7 The flowchart of the settlement method applied to the server according to the embodiment of the present disclosure is schematically shown.

[0179] The QR code content of the pre-settlement QR code includes a second timestamp for generating the pre-settlement QR code. The method includes operations S501-S503, operations S601-S603, and operations S701-S703. Figure 5 The operations described are the same or similar, and operations S601-S603 are the same as Figure 6 The operations described are the same or similar and will not be repeated here.

[0180] In operation S701, the QR code content of the pre-settlement QR code is parsed to obtain the second timestamp;

[0181] In operation S702, it is determined whether the difference between the first timestamp and the second timestamp exceeds a first preset threshold;

[0182] If the difference between the first timestamp and the second timestamp does not exceed the first preset threshold, perform operation S502;

[0183] If the difference between the first timestamp and the second timestamp exceeds a first preset threshold, operation S703 is executed, the farthest station on the route where the station is located is used as the exit station to complete the settlement, and a prompt message indicating that the scanning of the settlement QR code has timed out is returned to the passenger terminal.

[0184] In one embodiment of the present disclosure, a settlement QR code and a pre-settlement QR code are generated every first preset time, and the QR code content of the settlement QR code corresponds to the QR code content of the pre-settlement QR code; the settlement QR code is sent to the first display terminal, and the pre-settlement QR code is sent to the second display terminal. It is understandable that the present disclosure does not impose a specific limitation on the first preset time, and it can be 1 minute, 5 minutes, etc.

[0185] In one embodiment of the present disclosure, the QR code content of the settlement QR code corresponds to the QR code content of the pre-settlement QR code, including: the station information of the station in the QR code content of the settlement QR code is the same as the station information of the station in the QR code content of the pre-settlement QR code. For example, if the station information of the station in the QR code content of the settlement QR code is 001, and the station information of the station in the QR code content of the pre-settlement QR code is also 001, it proves that the QR code content of the settlement QR code corresponds to the QR code content of the pre-settlement QR code.

[0186] In one of the embodiments of the present disclosure, when the QR code content of the settlement QR code sent by the passenger terminal is not obtained within the second preset time period, the farthest station on the route where the station is located is used as the exit station to complete the settlement.

[0187] The present disclosure also provides a first display terminal, which is arranged outside the station. The first display terminal is used to display a settlement QR code. The QR code content of the settlement QR code includes the site information of the station and the first timestamp information when the settlement QR code is generated.

[0188] The present disclosure also provides a second display terminal, which is arranged in the station, and is used to display the pre-settlement QR code. The QR code content of the pre-settlement QR code includes the station information of the station and the second timestamp information when the pre-settlement QR code is generated.

[0189] Figure 8 A block diagram of a passenger terminal according to an embodiment of the present disclosure is schematically shown.

[0190] like Figure 8 As shown, the passenger terminal 800 includes a scanning module 810 , a collection module 820 and a sending module 830 .

[0191] The scanning module 810 is used to scan the settlement QR code displayed by the first display terminal to obtain the QR code content of the settlement QR code, wherein the first display terminal is arranged outside the station, and the QR code content of the settlement QR code includes the station information of the station and the first timestamp information when the settlement QR code is generated;

[0192] A collection module 820 is used to collect its own geographical location information;

[0193] The sending module 830 is used to send the QR code content of the settlement QR code and the geographic location information to the server.

[0194] In one embodiment of the present disclosure, the passenger terminal 800 further includes:

[0195] The scanning module 810 is also used to scan the pre-settlement QR code displayed by the second display terminal to obtain the QR code content of the pre-settlement QR code. The second display terminal is set in the station, and the QR code content of the pre-settlement QR code corresponds to the QR code content of the settlement QR code.

[0196] The sending module 830 is further configured to send the QR code content of the pre-settlement QR code to the server, or cache the QR code content of the pre-settlement QR code.

[0197] In one of the embodiments of the present disclosure, if the QR code content of the pre-settlement QR code is cached, then when the operation of sending the QR code content of the settlement QR code and the geographic location information to the server is executed, the QR code content of the pre-settlement QR code is sent to the server.

[0198] In one of the embodiments of the present disclosure, the QR code content of the pre-settlement QR code includes the station information of the station and the second timestamp information when the pre-settlement QR code is generated.

[0199] In one embodiment of the present disclosure, the passenger terminal 800 further includes:

[0200] A recording module, used for recording the QR code content of the settlement QR code and a third timestamp when the geographic location information is sent to the server;

[0201] The sending module 830 is further configured to send the third timestamp to the server.

[0202] In one embodiment of the present disclosure, a geographic fence is set outside the station, and the passenger terminal 800 further includes:

[0203] The receiving module is used to receive the prompt information of settlement location error returned by the server when the geographical location is not within the geographical fence of the station.

[0204] In one embodiment of the present disclosure, the receiving module is further configured to receive a prompt message returned by the server indicating that the pre-settlement QR code has not been scanned if the passenger terminal has not scanned the pre-settlement QR code displayed by the second display terminal.

[0205] In one of the embodiments of the present disclosure, the receiving module is also used to receive a prompt message of timeout of scanning the settlement QR code returned by the server when the difference between the first timestamp and the second timestamp exceeds a first preset threshold.

[0206] In one of the embodiments of the present disclosure, the receiving module is further used to receive a prompt message indicating that the settlement QR code is invalid, which is returned by the server, when the difference between the first timestamp and the third timestamp exceeds a second preset threshold.

[0207] Fig. 9 A block diagram of a server according to an embodiment of the present disclosure is schematically shown.

[0208] like Fig. 9 As shown, the server 900 includes an acquisition module 910 , a determination module 920 and a settlement module 930 .

[0209] The acquisition module 910 acquires the QR code content of the settlement QR code sent by the passenger terminal and the geographical location information of the passenger terminal;

[0210] The judgment module 920 judges whether the QR code content of the settlement QR code meets the first preset condition, and judges whether the geographical location of the passenger terminal meets the second preset condition;

[0211] The settlement module 930 completes the settlement based on the station information if the QR code content of the settlement QR code meets the first preset condition and the geographical location of the passenger terminal meets the second preset condition.

[0212] In one embodiment of the present disclosure, the QR code content of the settlement QR code includes the site information of the station and the first timestamp information when the settlement QR code is generated. The judgment module 920 is specifically used to parse the QR code content of the settlement QR code to obtain the site information of the station and the first timestamp; obtain the record sent by the passenger terminal to send the QR code content of the settlement QR code and the third timestamp of the geographic location information to the server; determine whether the difference between the first timestamp and the third timestamp exceeds the second preset threshold; if the difference between the first timestamp and the third timestamp exceeds the second preset threshold, the QR code content of the settlement QR code does not meet the first preset condition; if the difference between the first timestamp and the third timestamp does not exceed the second preset threshold, the QR code content of the settlement QR code meets the first preset condition.

[0213] In one of the embodiments of the present disclosure, the judgment module 920 is specifically used to determine whether the geographical location of the passenger terminal is within the geographical fence corresponding to the station; if the geographical location of the passenger terminal is within the geographical fence corresponding to the station, the geographical location of the passenger terminal meets the second preset condition; if the geographical location of the passenger terminal is not within the geographical fence corresponding to the station, the geographical location of the passenger terminal does not meet the second preset condition.

[0214] In one embodiment of the present disclosure, the server 900 further includes:

[0215] The prompt information sending module is used to return a prompt information of the settlement location error to the passenger terminal when the geographical location of the passenger terminal does not meet the second preset condition.

[0216] In one embodiment of the present disclosure, the server 900 further includes:

[0217] A search module, used to search for the QR code content of the pre-settlement QR code corresponding to the QR code content of the settlement QR code;

[0218] If the QR code content of the pre-settlement QR code corresponding to the QR code content of the settlement QR code is found, the judgment module 902 is executed;

[0219] The abnormal settlement module is used to complete the settlement by taking the farthest station on the route where the station is located as the exit station if the QR code content of the pre-settlement QR code corresponding to the QR code content of the settlement QR code is not found;

[0220] The prompt information sending module is also used for the passenger terminal to return the prompt information of the unscanned pre-settlement QR code.

[0221] In one embodiment of the present disclosure, the server 900 further includes:

[0222] A parsing module, used for parsing the QR code content of the pre-settlement QR code to obtain the second timestamp;

[0223] A threshold determination module, used to determine whether the difference between the first timestamp and the second timestamp exceeds a first preset threshold;

[0224] If the difference between the first timestamp and the second timestamp does not exceed the first preset threshold, executing the judgment module 902;

[0225] An abnormal settlement module, configured to complete the settlement by taking the farthest station on the route where the station is located as the exit station if the difference between the first timestamp and the second timestamp exceeds a first preset threshold;

[0226] The prompt information sending module is also used to return a prompt information of timeout in scanning the settlement QR code to the passenger terminal.

[0227] In one embodiment of the present disclosure, the QR code content of the settlement QR code corresponds to the QR code content of the pre-settlement QR code and includes: the station information of the station in the QR code content of the settlement QR code is the same as the station information in the QR code content of the pre-settlement QR code.

[0228] In one of the embodiments of the present disclosure, the abnormal settlement module is also used to complete the settlement by taking the farthest station on the route where the station is located as the exit station when the QR code content of the settlement QR code sent by the passenger terminal is not obtained within a second preset time period.

[0229] According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits, or at least part of the functions of any one of them can be implemented in one module. According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits can be split into multiple modules for implementation. According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits can be at least partially implemented as hardware circuits, such as field programmable gate arrays (FPGAs), programmable logic arrays (PLAs), systems on chips, systems on substrates, systems on packages, application specific integrated circuits (ASICs), or can be implemented by hardware or firmware in any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation methods of software, hardware, and firmware, or in any appropriate combination of any of them. Alternatively, according to the embodiments of the present invention, one or more of the modules, submodules, units, and subunits can be at least partially implemented as computer program modules, and when the computer program modules are run, the corresponding functions can be performed.

[0230] For example, any multiple of the scanning module 810, the acquisition module 820, and the sending module 830 can be combined in one module / unit / subunit for implementation, or any one of the modules / units / subunits can be split into multiple modules / units / subunits. Alternatively, at least part of the functions of one or more of these modules / units / subunits can be combined with at least part of the functions of other modules / units / subunits and implemented in one module / unit / subunit. According to an embodiment of the present disclosure, at least one of the scanning module 810, the acquisition module 820, and the sending module 830 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or by any one of the three implementation methods of software, hardware, and firmware, or by a suitable combination of any of them. Alternatively, at least one of the scanning module 810 , the acquisition module 820 , and the sending module 830 may be at least partially implemented as a computer program module, and when the computer program module is executed, a corresponding function may be executed.

[0231] It should be noted that in the above embodiments, the description of each embodiment has its own emphasis, and for parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0232] Fig.10 A block diagram of a computer system suitable for implementing the method described above according to an embodiment of the present disclosure is schematically shown. Fig.10 The computer system shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0233] like Fig.10 As shown, the computer system 1000 according to the embodiment of the present disclosure includes a processor 1001, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 1002 or the program loaded from the storage part 1008 to the random access memory (RAM) 1003. The processor 1001 may include, for example, a general-purpose microprocessor (such as a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (for example, an application-specific integrated circuit (ASIC)), etc. The processor 1001 may also include an onboard memory for caching purposes. The processor 1001 may include a single processing unit or multiple processing units for performing different actions of the method flow according to the embodiment of the present disclosure.

[0234] In RAM 1003, various programs and data required for the operation of system 1000 are stored. Processor 1001, ROM 1002 and RAM 1003 are connected to each other through bus 1004. Processor 1001 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 1002 and / or RAM 1003. It should be noted that the program can also be stored in one or more memories other than ROM 1002 and RAM 1003. Processor 1001 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.

[0235] According to an embodiment of the present disclosure, the system 1000 may further include an input / output (I / O) interface 1005, which is also connected to the bus 1004. The system 1000 may further include one or more of the following components connected to the I / O interface 1005: an input section 1006 including a keyboard, a mouse, etc.; an output section 1007 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1008 including a hard disk, etc.; and a communication section 1009 including a network interface card such as a LAN card, a modem, etc. The communication section 1009 performs communication processing via a network such as the Internet. A drive 1010 is also connected to the I / O interface 1005 as needed. A removable medium 1011, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1010 as needed, so that a computer program read therefrom is installed into the storage section 1008 as needed.

[0236] According to an embodiment of the present disclosure, the method flow according to an embodiment of the present disclosure can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable storage medium, and the computer program contains a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 1009, and / or installed from the removable medium 1011. When the computer program is executed by the processor 1001, the above-mentioned functions defined in the system of the embodiment of the present disclosure are executed. According to an embodiment of the present disclosure, the system, equipment, device, module, unit, etc. described above can be implemented by a computer program module.

[0237] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.

[0238] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium. For example, it may include, but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, apparatus, or device.

[0239] For example, according to an embodiment of the present disclosure, the computer-readable storage medium may include the ROM 1002 and / or the RAM 1003 described above and / or one or more memories other than the ROM 1002 and the RAM 1003 .

[0240] Fig.11 The schematic diagram of a settlement system according to an embodiment of the present disclosure is schematically shown. The settlement system includes the first display terminal 100, the passenger terminal 800 and the server 900 as described above.

[0241] In the settlement system, the passenger terminal 800 scans the settlement QR code displayed by the first display terminal 100 to obtain the QR code content of the settlement QR code. The first display terminal 100 is set outside the station. The QR code content of the settlement QR code includes the station information of the station and the first timestamp information when the settlement QR code is generated. The passenger terminal 800 collects its own geographical location information. The passenger terminal 800 sends the QR code content of the settlement QR code and the geographical location information to the server 900. The server 900 obtains the QR code content of the settlement QR code sent by the passenger terminal 800 and the geographical location information of the passenger terminal 800. The server 900 determines whether the QR code content of the settlement QR code meets the first preset condition and whether the geographical location of the passenger terminal 800 meets the second preset condition. If the QR code content of the settlement QR code meets the first preset condition and the geographical location of the passenger terminal 800 meets the second preset condition, the server 900 completes the settlement based on the station information.

[0242] Fig.12 The schematic diagram of a settlement system according to an embodiment of the present disclosure is schematically shown. The settlement system includes the first display terminal 100, the second display terminal 200, the passenger terminal 800 and the server 900 as described above.

[0243] In the settlement system, the passenger terminal 800 scans the pre-settlement QR code displayed by the second display terminal 200 to obtain the QR code content of the pre-settlement QR code. The second display terminal 200 is set in the station. The QR code content of the pre-settlement QR code includes the station information of the station and the second timestamp information when the pre-settlement QR code is generated. The passenger terminal 800 sends the QR code content of the pre-settlement QR code to the server, or caches the QR code content of the pre-settlement QR code. The passenger terminal 800 scans the settlement QR code displayed by the first display terminal 100 to obtain the QR code content of the settlement QR code. The first display terminal 100 is set outside the station. The QR code content of the settlement QR code includes the station information of the station and the first timestamp information when the settlement QR code is generated. The passenger terminal 800 collects its own geographical location information. The passenger terminal 800 sends the QR code content of the settlement QR code and the geographical location information to the server 900. The server 900 searches for the QR code content of the pre-settlement QR code corresponding to the QR code content of the settlement QR code. If found, the server 900 determines whether the QR code content of the settlement QR code meets the first preset condition, and determines whether the geographical location of the passenger terminal 800 meets the second preset condition. If the QR code content of the settlement QR code meets the first preset condition, and the geographical location of the passenger terminal 800 meets the second preset condition, the server 900 completes the settlement based on the station site information.

[0244] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0245] It will be appreciated by those skilled in the art that the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations and / or combinations are not explicitly described in the present disclosure. In particular, the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways without departing from the spirit and teachings of the present disclosure. All of these combinations and / or combinations fall within the scope of the present disclosure.

[0246] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. The scope of the present disclosure is defined by the attached claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.

Claims

1. A settlement method, applied to a passenger terminal, comprising: Scanning a settlement QR code displayed by a first display terminal to obtain QR code content of the settlement QR code, wherein the first display terminal is arranged outside the station, and the QR code content of the settlement QR code includes station information of the station and first timestamp information when the settlement QR code is generated; Collect your own geographic location information; The QR code content of the settlement QR code and the geographic location information are sent to the server, so that the server executes the following method: Obtaining the QR code content of the settlement QR code sent by the passenger terminal, as well as the geographic location information of the passenger terminal; Determining whether the QR code content of the settlement QR code meets a first preset condition, and determining whether the geographical location of the passenger terminal meets a second preset condition; If the QR code content of the settlement QR code meets the first preset condition, and the geographical location of the passenger terminal meets the second preset condition, then the settlement is completed based on the station information of the station; The QR code content of the settlement QR code includes the station information of the station and the first timestamp information when the settlement QR code is generated, and the determining whether the QR code content of the settlement QR code meets the first preset condition includes: Parsing the QR code content of the settlement QR code to obtain the station address and the first timestamp of the station; Acquire the record sent by the passenger terminal, send the QR code content of the settlement QR code, and the third timestamp of sending the geographic location information to the server; Determining whether a difference between the first timestamp and the third timestamp exceeds a second preset threshold; If the difference between the first timestamp and the third timestamp exceeds a second preset threshold, the QR code content of the settlement QR code does not meet the first preset condition; If the difference between the first timestamp and the third timestamp does not exceed the second preset threshold, the QR code content of the settlement QR code meets the first preset condition; The determining whether the geographical location of the passenger terminal meets the second preset condition includes: Determining whether the geographic location of the passenger terminal is within the geographic fence corresponding to the station; If the geographical location of the passenger terminal is within the geographical fence corresponding to the station, the geographical location of the passenger terminal meets the second preset condition; If the geographical location of the passenger terminal is not within the geographical fence corresponding to the station, the geographical location of the passenger terminal does not meet the second preset condition.

2. The method according to claim 1, wherein: Before scanning the settlement QR code displayed by the first display terminal to obtain the QR code content of the settlement QR code, the method includes: Scanning the pre-settlement QR code displayed by the second display terminal to obtain the QR code content of the pre-settlement QR code, the second display terminal being arranged in the station, and the QR code content of the pre-settlement QR code corresponding to the QR code content of the settlement QR code; The QR code content of the pre-settlement QR code is sent to a server, or the QR code content of the pre-settlement QR code is cached.

3. The method according to claim 2, wherein: If the QR code content of the pre-settlement QR code is cached, the QR code content of the pre-settlement QR code is sent to the server while executing the operation of sending the QR code content of the settlement QR code and the geographic location information to the server.

4. The method according to claim 2 or 3, wherein: The QR code content of the pre-settlement QR code includes the station information of the station and the second timestamp information when the pre-settlement QR code is generated.

5. The method according to any one of claims 1 to 3, wherein: Also includes: Recording the QR code content of the settlement QR code and a third timestamp when the geographic location information is sent to the server; The third timestamp is sent to the server.

6. The method according to claim 1, wherein: A geographic fence is set outside the station, and the method further includes: When the geographical location is not within the geographical fence of the station, a prompt message of a settlement location error returned by the server is received.

7. The method according to claim 2 or 3, wherein: If the passenger terminal does not scan the pre-settlement QR code displayed by the second display terminal, a prompt message indicating that the pre-settlement QR code has not been scanned is received from the server.

8. The method according to claim 4, wherein: When the difference between the first timestamp and the second timestamp exceeds a first preset threshold, a prompt message of timeout of scanning the settlement QR code returned by the server is received.

9. The method according to claim 5, wherein: When the difference between the first timestamp and the third timestamp exceeds a second preset threshold, a prompt message indicating that the settlement QR code is invalid is received from the server.

10. A settlement method, applied to a server, comprising: Obtaining the QR code content of the settlement QR code sent by the passenger terminal, as well as the geographic location information of the passenger terminal; Determining whether the QR code content of the settlement QR code meets a first preset condition, and determining whether the geographical location of the passenger terminal meets a second preset condition; If the QR code content of the settlement QR code meets the first preset condition, and the geographical location of the passenger terminal meets the second preset condition, the settlement is completed based on the station information; The QR code content of the settlement QR code includes the station information of the station and the first timestamp information when the settlement QR code is generated, and the determining whether the QR code content of the settlement QR code meets the first preset condition includes: Parsing the QR code content of the settlement QR code to obtain the station address and the first timestamp of the station; Acquire the record sent by the passenger terminal, send the QR code content of the settlement QR code, and the third timestamp of sending the geographic location information to the server; Determining whether a difference between the first timestamp and the third timestamp exceeds a second preset threshold; If the difference between the first timestamp and the third timestamp exceeds a second preset threshold, the QR code content of the settlement QR code does not meet the first preset condition; If the difference between the first timestamp and the third timestamp does not exceed the second preset threshold, the QR code content of the settlement QR code meets the first preset condition; The determining whether the geographical location of the passenger terminal meets the second preset condition includes: Determining whether the geographic location of the passenger terminal is within the geographic fence corresponding to the station; If the geographical location of the passenger terminal is within the geographical fence corresponding to the station, the geographical location of the passenger terminal meets the second preset condition; If the geographical location of the passenger terminal is not within the geographical fence corresponding to the station, the geographical location of the passenger terminal does not meet the second preset condition.

11. The method according to claim 10, wherein: When the QR code content of the settlement QR code does not meet the first preset condition, a prompt message indicating that the settlement QR code is invalid is returned to the passenger terminal.

12. The method according to claim 10, wherein: When the geographical location of the passenger terminal does not meet the second preset condition, a prompt message of the settlement location error is returned to the passenger terminal.

13. The method according to claim 10, wherein: Before determining whether the QR code content of the settlement QR code meets the first preset condition and determining whether the geographical location of the passenger terminal meets the second preset condition, the method includes: Searching for the QR code content of the pre-settlement QR code corresponding to the QR code content of the settlement QR code; If the QR code content of the pre-settlement QR code corresponding to the QR code content of the settlement QR code is found, the operations of determining whether the QR code content of the settlement QR code meets the first preset condition and determining whether the geographical location of the passenger terminal meets the second preset condition are performed; If the QR code content of the pre-settlement QR code corresponding to the QR code content of the settlement QR code is not found, the farthest station on the route where the station is located is used as the exit station to complete the settlement, and a prompt message that the pre-settlement QR code has not been scanned is returned to the passenger terminal.

14. The method according to claim 13, wherein: The QR code content of the pre-settlement QR code includes a second timestamp of generating the pre-settlement QR code, and before determining whether the QR code content of the settlement QR code meets the first preset condition and determining whether the geographical location of the passenger terminal meets the second preset condition, the method includes: Parsing the QR code content of the pre-settlement QR code to obtain the second timestamp; Determine whether the difference between the first timestamp and the second timestamp exceeds a first preset threshold; If the difference between the first timestamp and the second timestamp does not exceed the first preset threshold, the operations of determining whether the QR code content of the settlement QR code meets the first preset condition and determining whether the geographical location of the passenger terminal meets the second preset condition are performed; If the difference between the first timestamp and the second timestamp exceeds a first preset threshold, the farthest station on the route where the station is located is used as the exit station to complete the settlement, and a prompt message indicating that the scanning of the settlement QR code has timed out is returned to the passenger terminal.

15. The method according to claim 10, further comprising: Generate a settlement QR code and a pre-settlement QR code every first preset time period, wherein the QR code content of the settlement QR code corresponds to the QR code content of the pre-settlement QR code; The settlement QR code is sent to the first display terminal, and the pre-settlement QR code is sent to the second display terminal.

16. According to the method of any one of claims 13 to 15, the QR code content of the settlement QR code corresponds to the QR code content of the pre-settlement QR code and comprises: The station site information in the QR code content of the settlement QR code is the same as the station site information in the QR code content of the pre-settlement QR code.

17. The method according to claim 10, wherein: When the QR code content of the settlement QR code sent by the passenger terminal is not obtained within the second preset time period, the farthest station on the route where the station is located is used as the exit station to complete the settlement.

18. A first display terminal, applied to the settlement method according to any one of claims 1 to 9, and arranged outside a station, wherein the first display terminal is used to display a settlement QR code, and the QR code content of the settlement QR code includes the station information of the station and the first timestamp information when the settlement QR code is generated.

19. A second display terminal, applied to the settlement method according to any one of claims 1 to 9, and arranged in a station, wherein the second display terminal is used to display a pre-settlement QR code, wherein the QR code content of the pre-settlement QR code includes the station information of the station and the second timestamp information when the pre-settlement QR code is generated.

20. A passenger terminal, applied to the settlement method according to any one of claims 1 to 9, comprising: a scanning module, used for scanning the settlement QR code displayed by the first display terminal to obtain the QR code content of the settlement QR code, wherein the first display terminal is arranged outside the station, and the QR code content of the settlement QR code includes the station information of the station and the first timestamp information when the settlement QR code is generated; A collection module is used to collect its own geographical location information; The sending module is used to send the QR code content of the settlement QR code and the geographic location information to the server.

21. The passenger terminal according to claim 20, wherein: The scanning module is further used to scan the pre-settlement QR code displayed by the second display terminal to obtain the QR code content of the pre-settlement QR code, wherein the second display terminal is arranged in the station, and the QR code content of the pre-settlement QR code includes the station information of the station and the second timestamp information when the pre-settlement QR code is generated; The sending module is further used to send the QR code content of the pre-settlement QR code to the server.

22. A server, comprising: An acquisition module, used to acquire the QR code content of the settlement QR code sent by the passenger terminal, and the geographical location information of the passenger terminal, wherein the QR code content of the settlement QR code includes the station information of the station and the first timestamp information when the settlement QR code is generated; A judgment module, used to judge whether the QR code content of the settlement QR code meets the first preset condition, and to judge whether the geographical location of the passenger terminal meets the second preset condition; A settlement module, configured to complete the settlement based on the station information of the station if the QR code content of the settlement QR code meets the first preset condition and the geographical location of the passenger terminal meets the second preset condition; The QR code content of the settlement QR code includes the station information of the station and the first timestamp information when the settlement QR code is generated, and the determining whether the QR code content of the settlement QR code meets the first preset condition includes: Parsing the QR code content of the settlement QR code to obtain the station address and the first timestamp of the station; Acquire the record sent by the passenger terminal, send the QR code content of the settlement QR code, and the third timestamp of sending the geographic location information to the server; Determining whether a difference between the first timestamp and the third timestamp exceeds a second preset threshold; If the difference between the first timestamp and the third timestamp exceeds a second preset threshold, the QR code content of the settlement QR code does not meet the first preset condition; If the difference between the first timestamp and the third timestamp does not exceed the second preset threshold, the QR code content of the settlement QR code meets the first preset condition; The determining whether the geographical location of the passenger terminal meets the second preset condition includes: Determining whether the geographic location of the passenger terminal is within the geographic fence corresponding to the station; If the geographical location of the passenger terminal is within the geographical fence corresponding to the station, the geographical location of the passenger terminal meets the second preset condition; If the geographical location of the passenger terminal is not within the geographical fence corresponding to the station, the geographical location of the passenger terminal does not meet the second preset condition.

23. A computer system comprising: one or more processors; a memory for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 9.

24. A computer system comprising: one or more processors; a memory for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 10 to 17.

25. A computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, enables the processor to implement the method according to any one of claims 1 to 9.

26. A computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to implement the method according to any one of claims 10 to 17.

27. A settlement system comprising: The first display terminal as described in claim 18, the passenger terminal capable of implementing the method as described in any one of claims 1 to 9, and the server capable of implementing the method as described in any one of claims 10 to 17.

28. A settlement system comprising: The first display terminal as claimed in claim 18, the second display terminal as claimed in claim 19, a passenger terminal capable of implementing the method as claimed in any one of claims 1 to 9, and a server capable of implementing the method as claimed in any one of claims 10 to 17.

Citation Information

Patent Citations

  • Metro ticket buying and checking method based on two-dimension code recognition

    CN104134142A

  • Electronic payment method, bus electronic payment system, and metro electronic payment system

    CN106447328A

  • Automatic payment system of riding fees in subway station and method of system

    CN106971300A

  • Traffic segment billing payment method, billing system and payment system

    CN107038562A

  • Metro one-code pass management method and system based on intelligent terminal

    CN108364051A