[go: up one dir, main page]

CN119206879A - NFC online travel method, storage medium and program product - Google Patents

NFC online travel method, storage medium and program product Download PDF

Info

Publication number
CN119206879A
CN119206879A CN202411747329.4A CN202411747329A CN119206879A CN 119206879 A CN119206879 A CN 119206879A CN 202411747329 A CN202411747329 A CN 202411747329A CN 119206879 A CN119206879 A CN 119206879A
Authority
CN
China
Prior art keywords
user
trip
travel
last
identification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202411747329.4A
Other languages
Chinese (zh)
Other versions
CN119206879B (en
Inventor
孙婕
许华林
赵红宇
林永珍
刘勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Shenzhentong Co ltd
Original Assignee
Shenzhen Shenzhentong Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Shenzhentong Co ltd filed Critical Shenzhen Shenzhentong Co ltd
Priority to CN202411747329.4A priority Critical patent/CN119206879B/en
Publication of CN119206879A publication Critical patent/CN119206879A/en
Application granted granted Critical
Publication of CN119206879B publication Critical patent/CN119206879B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B13/00Taximeters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/70Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The application discloses an NFC online travel method, a storage medium and a program product, which relate to the technical field of mobile payment and disclose the NFC online travel method, comprising the steps of acquiring user registration login information; the method comprises the steps of receiving and caching a user account number returned by an application end background according to user registration login information, reading cached user last trip identification according to the user account number, comparing the user last trip identification with trip identification in an information label of an equipment end, judging trip identification consistency, carrying out user trip matching according to a judgment result of the trip identification consistency, and judging whether asynchronous fee deduction operation is executed or not according to a matching result. And reading an information tag configured by the equipment end through NFC, calling the application end, realizing interconnection between the application end and the equipment, and realizing an on-line travel mode of asynchronous payment of a user by taking bus and paying after the user by interaction with the background of the application end.

Description

NFC online trip method, storage medium and program product
Technical Field
The application relates to the technical field of mobile payment, in particular to an NFC online trip method, a storage medium and a program product.
Background
In the field of modern transportation, a prepaid mode is a common payment method, and requires a user to pay a certain amount in advance before taking a bus. The prepaid mode provides convenient riding experience, the user does not need to conduct cash transaction when riding, and queuing waiting time is reduced.
Along with the development of mobile payment technology, the field of transportation also starts to introduce mobile phone APP as a payment tool, such as riding codes and mobile phone interconnection cards. The mobile payment mode provides more flexible and convenient payment experience, and the user does not need to carry an entity card, but needs to ensure that the mobile phone has enough electric quantity and network connection.
However, most of the existing transportation modes are prepaid mode or synchronous payment, and the online travel expectations of the users of riding in the bus and paying after the users cannot be realized.
Disclosure of Invention
The application mainly aims to provide an NFC online travel method, a storage medium and a program product, and aims to solve the technical problem that the existing transportation travel mode is mostly a prepayment mode or synchronous payment, and online travel expectations of users taking bus and paying after taking bus cannot be realized.
In order to achieve the above objective, the present application provides an NFC online trip method, applied to an application end, where the method includes:
Acquiring user registration login information;
receiving and caching a user account number returned by an application end background according to the user registration login information;
reading the cached last journey identification of the user according to the user account number;
Comparing the last travel mark of the user with the travel mark in the information label of the equipment end, and judging the consistency of the travel mark;
and carrying out user travel matching according to the judgment result of the travel identification consistency, and judging whether to execute asynchronous deduction operation according to the matching result.
In an embodiment, before the step of reading the cached identifier of the last trip of the user according to the user account number, the method includes:
Inquiring whether a last travel mark of a user corresponding to the user account number in a cache is empty or not;
If the last travel identification of the user is empty, a request is sent to the background of the application end, and the last travel identification of the user is requested to be inquired;
and receiving a request query response returned by the application end background, and caching the last trip identification of the user queried by the application end background.
In an embodiment, the step of comparing the last trip identifier of the user with the trip identifier in the information tag of the device side, and determining whether the trip identifier is consistent includes:
Judging whether the user is registered and logged in;
If the user does not register and log in, registering and logging in are carried out, an account number is generated in the background of the application terminal according to the registration and logging in information of the user, and the account number is cached to the user terminal;
if the user logs in, reading the information tag of the equipment end through NFC and caching the information tag to the background of the application end;
The information label of the equipment end is generated by assembling the URL of the application end, site information, equipment information and travel identification.
In an embodiment, the step of comparing the last trip identifier of the user with the trip identifier in the information tag of the device side, and the step of judging the consistency of the trip identifier includes:
Reading the last trip identification of the user and the information label of the equipment end;
Comparing the consistency of the travel identification according to the last travel identification of the user and the information label of the equipment end;
if the last trip identification of the user is consistent with the trip identification in the information label of the equipment end, issuing a trip identification non-identifier instruction, displaying or broadcasting abnormal information at the equipment end, and setting the last trip identification of the user in the cache as outbound;
If the last journey identification of the user is inconsistent with the journey identification in the information tag of the equipment end, inquiring whether the user is in an arrearage state.
In one embodiment, the step of setting the last trip identifier of the user in the cache to be outbound includes:
And clearing the last trip identification of the cached user, reading the cached application end account information through the BOM machine, assembling site equipment information to which the BOM machine belongs, generating trip pushing, and setting the last trip identification of the cached user in the trip pushing as outbound.
In an embodiment, the querying whether the user is in an arrearage state includes:
calling an application end background to inquire the arrearage state of a user;
If the user has arrears, issuing arrears error reporting instructions, displaying or broadcasting abnormal information at the equipment end, and prompting the user to finish arrears repayment;
if the user does not have arrears, the user journey identification in the information label of the equipment end is cached to the last journey identification field of the user, a brake opening instruction is issued, the current time is obtained, and the asynchronous transmission journey is pushed to the background of the application end.
In an embodiment, the step of performing user trip matching according to the result of the trip identifier consistency, and determining whether to perform the asynchronous deduction operation according to the matching result includes:
Receiving stroke pushing of an application end background and recording a current stroke;
Updating the user journey identifier in the current journey to the last journey identifier of the user, and storing the last journey identifier into a database;
checking whether the travel mark in the current travel record is an outbound record or a BOM processing record through an application end background, and judging whether user travel matching is carried out;
if the journey identifier is an outbound record or a BOM processing record, the application end background carries out user journey matching;
And when the journey matching is successful, receiving a fee deduction record generated by the background of the application end and asynchronously executing fee deduction operation.
In addition, in order to achieve the above purpose, the present application further provides an NFC online trip method, which is applied to an application end background, and the method includes:
transmitting a user account number to an application terminal according to the user registration login information;
returning the last journey identification of the user to the application end according to the user account number;
Judging the consistency of the travel marks according to the cached last travel mark of the user and the travel mark in the information label of the equipment end;
And carrying out user travel matching according to the cached travel identification consistency result, and judging whether to execute asynchronous deduction operation.
In addition, in order to achieve the above object, the present application further provides an NFC online trip device, which includes:
The information acquisition module is used for acquiring user registration login information;
The receiving and caching module is used for receiving and caching the user account numbers returned by the background of the application end according to the user registration login information;
The information reading module is used for reading the cached last journey identification of the user according to the user account number;
The consistency judging module is used for comparing the last travel mark of the user with the travel mark in the information label of the equipment end and judging the consistency of the last travel mark and the travel mark;
And the travel matching module is used for carrying out user travel matching according to the travel identification consistency result and judging whether to execute asynchronous deduction operation according to the matching result.
In addition, in order to achieve the above object, the present application further provides a storage medium, which is a computer readable storage medium, and the storage medium stores a computer program, and the computer program when executed by a processor implements the steps of the NFC online trip method as described above.
Furthermore, to achieve the above object, the present application provides a computer program product comprising a computer program which, when being executed by a processor, implements the steps of the NFC online trip method as described above.
One or more technical schemes provided by the application have at least the following technical effects:
The method comprises the steps of obtaining user registration login information, receiving and caching a user account number returned by an application end background according to the user registration login information, reading cached user last trip identification according to the user account number, comparing the user last trip identification with trip identification in an information label of an equipment end, judging trip identification consistency, carrying out user trip matching according to a judgment result of the trip identification consistency, judging whether asynchronous fee deduction operation is executed according to a matching result, solving the problem that most of existing transportation trip modes are payment modes of prepaid modes or synchronous payment, and compared with the prior art, realizing online trip expectations of first-riding and later-paying of users without opening riding codes/mobile phone interconnection cards or purchasing entity cards, and improving riding experience and satisfaction of users.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the application or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, and it will be obvious to a person skilled in the art that other drawings can be obtained from these drawings without inventive effort.
Fig. 1 is a schematic flow chart of an embodiment of an NFC online trip method according to the present application;
fig. 2 is a schematic flow chart of a second embodiment of an NFC online trip method according to the present application;
fig. 3 is a schematic flow chart of a third embodiment of an NFC online trip method according to the present application;
fig. 4 is a schematic flow chart provided in a fourth embodiment of an NFC online trip method according to the present application;
Fig. 5 is a schematic flow chart provided in a fifth embodiment of the NFC online trip method of the present application;
fig. 6 is a schematic block diagram of an NFC online trip device according to an embodiment of the present application;
fig. 7 is a schematic device structure diagram of a hardware operating environment related to an NFC online trip method in an embodiment of the present application.
The achievement of the objects, functional features and advantages of the present application will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the technical solution of the present application and are not intended to limit the present application.
For a better understanding of the technical solution of the present application, the following detailed description will be given with reference to the drawings and the specific embodiments.
In this embodiment, for convenience of description, description will be made below with the recognition application end as the execution subject.
Because most of the existing transportation modes in the prior art are prepaid modes or synchronous payment, the online travel expectations of the users for riding and paying after riding can not be realized.
The application provides a solution, which comprises the steps of obtaining user registration login information, receiving and caching a user account number returned by an application end background according to the user registration login information, reading a cached user last trip identifier according to the user account number, comparing the user last trip identifier with trip identifiers in an information tag of an equipment end, judging the consistency of the trip identifiers, carrying out user trip matching according to the judgment result of the consistency of the trip identifiers, judging whether to execute asynchronous fee deduction operation according to the matching result, and solving the problem that the existing transportation mode is mostly a prepayment mode or a payment mode of synchronous payment.
Based on this, an embodiment of the present application provides an NFC online trip method, and referring to fig. 1, fig. 1 is a flowchart of a first embodiment of the NFC online trip method of the present application.
In this embodiment, the NFC online trip method includes steps S10 to S50:
Step S10, acquiring user registration login information;
The user registration login information is necessary information input when the user registers and logs in at the application end, such as a mobile phone number, an identity card number, a mailbox, a password and the like, and is sent to the background of the application end for verification.
Step S20, receiving and caching a user account number returned by an application end background according to the user registration login information;
It should be noted that, the application end background verifies the registration login information provided by the user, including verification of the mobile phone number, mailbox verification, and the like, and after the verification is passed, the application end background generates a unique user account number based on the user registration login information, and the unique user account number is used for identifying and tracking the information of the user.
Specifically, the background of the application end returns the generated user account number to the application end, and the application end receives the user account number and caches the user account number on the user equipment, such as local storage or caching of the mobile phone.
Step S30, reading the cached last journey identification of the user according to the user account number;
it should be noted that, the last trip identifier of the user refers to an identifier of the last trip recorded by the user in the traffic system, and is used for tracking historical trip information of the user, including a start station, an end station, a timestamp, and the like of the last trip.
Specifically, the application terminal sends a reading request to the application terminal background, the reading request comprises a user account number, after the application terminal background receives the reading request, the application terminal background searches the corresponding user last trip identifier in the cache and reads the corresponding user last trip identifier, and the application terminal background returns the read user last trip identifier to the application terminal.
Step S40, comparing the last travel mark of the user with the travel mark in the information label of the equipment end, and judging the consistency of the travel mark;
The information label is an identifier for classifying and marking information, and is formed by assembling URL, site information, equipment information, journey identification and the like of the application end.
Specifically, the last trip identifier of the user is read from a cache of an application end, when the user passes through the traffic equipment, the equipment generates an information tag which contains the identifier information of the current trip, the last trip identifier of the user is compared with the trip identifier in the information tag of the equipment end, the comparison possibly comprises site information, a time stamp, equipment information and the like, so as to ensure consistency of the two identifiers, whether the two trip identifiers are consistent is judged according to a comparison result, if the two trip identifiers are consistent, the fact that the user tries to reuse the previous trip identifier is required, further processing is required, and if the two trip identifiers are inconsistent, the fact that the user performs a new trip is indicated, and normal trip processing flow can be continued.
And S50, carrying out user travel matching according to the judgment result of the travel identification consistency, and judging whether to execute asynchronous deduction operation according to the matching result.
It should be noted that, the user trip matching refers to the process of comparing and verifying the actual trip information of the user with the trip information recorded in the system, by comparing the inbound and outbound records of the user to confirm whether the user uses traffic service according to the normal trip route, and the asynchronous deduction refers to the prior riding and the later payment which do not need the user to pay instantly after the user completes the traffic trip, and the deduction mode is different from the traditional instant payment mode, which generally requires the user to pay when riding, such as swiping a card or scanning a code, and is also different from the payment mode of opening the entity card in advance and prepaid recharge amount.
The embodiment provides an NFC online travel method, which comprises the steps of obtaining user registration login information, receiving and caching a user account number returned by an application end background according to the user registration login information, reading a cached last travel identifier of a user according to the user account number, comparing the last travel identifier of the user with travel identifiers in information tags of equipment ends, judging the consistency of the travel identifiers, carrying out user travel matching according to a judgment result of the consistency of the travel identifiers, and judging whether asynchronous fee deduction operation is executed according to a matching result. The method solves the problems that the existing transportation travel mode is mostly a prepayment mode or a payment mode of synchronous payment, and compared with the prior art, the method does not need to open a riding code/mobile phone interconnection card or purchase an entity card, realizes the online travel expectation of riding and paying after the user, and improves riding experience and satisfaction of the user.
Further, referring to fig. 2, a flowchart is provided in a second embodiment of the NFC online trip method according to the present application, based on the embodiment shown in fig. 2, the steps a201 to a203 are further refined before the step S10 of reading the cached user last trip identifier according to the user account number, where the steps include:
step A201, inquiring whether a last travel identifier of a user corresponding to the user account number in a cache is empty;
Specifically, the application terminal generates a request to the background of the application terminal, the request contains the account number of the user, and the background of the application terminal searches the corresponding last journey identifier of the user in the cache after receiving the request.
Step A202, if the last trip identification of the user is empty, a request is sent to an application end background to inquire the last trip identification of the user;
It should be noted that, if the last trip mark of the user is empty, it indicates that the user has not completed any trip, or the last trip information has not been updated into the cache.
And step A203, receiving a request query response returned by the application end background, and caching the last journey identification of the user queried by the application end background.
It should be noted that the location and manner of the cache depend on the implementation of the application, such as local storage or application cache.
In the embodiment, the application end can be ensured to quickly and accurately acquire the state of the last trip identification of the user through the user account number, and smooth riding experience is provided for the user.
Further, referring to fig. 3, a flow chart is provided in a third embodiment of the NFC online trip method according to the present application, based on the embodiment shown in fig. 3, steps a301 to a303 are further included before "compare the last trip identifier of the user with the trip identifier in the information tag of the device side and determine the trip identifier consistency" in step S40:
Step A301, judging whether a user is registered and logged in;
it should be noted that, the user completes the registration and login process on the application end, and inputs necessary information, such as a mobile phone number, an identification card number, a mailbox, and the like.
Specifically, the user side checks whether the user has completed the registration and login process, usually by checking whether information such as a mobile phone number, a mailbox, a user name and the like of the user exist, if the information exists in the system, the user is registered, and also can determine whether login credentials of the user such as passwords, mobile phone verification codes, biological identification information and the like are valid, if the login credentials are valid, the user is logged in, and also can judge whether the user is logged in by analyzing a behavior pattern of the user, such as by the user checking travel information, modifying setting configuration and the like to infer that the user is logged in.
Step A302, if the user does not register and log in, generate account number in the background of the application terminal according to the user register and log in information, and buffer to the user terminal;
The application end sends the user information to the application end background for verification, and after verification, an account number is generated for the user and cached to the user end.
And step A303, if the user logs in, reading an information tag of the equipment end through NFC and caching the information tag in the background of the application end, wherein the information tag of the equipment end is generated by assembling URL (uniform resource locator), site information, equipment information and travel identification of the application end.
The NFC reader reads NFC signals of the mobile phone of the user at the equipment end to generate an information tag containing the current journey of the user.
Specifically, during the travel process of the user A, when the user A passes through the traffic equipment, the application end checks whether the user A has completed registration and login, and when the user A finds that the user A has not logged in yet, the user A is guided to register and login, after the user A completes the registration and login flow on the application end, the front end of the application end caches the account number of the user A to the application end, the user A reads an information tag generated by the traffic equipment through the NFC function of the mobile phone, and caches the read information tag to the application end.
According to the embodiment, whether the user is registered and logged in or not is judged, identity authentication and authorization of the user at the application end are ensured, the information label generated by the equipment end is read through NFC of the mobile phone, real-time travel information is obtained, information label data is transmitted to the mobile phone of the user in real time through NFC or other wireless communication modes, real-time updating and transmission of information are ensured, and risk of information leakage is reduced.
Further, referring to fig. 4, a flowchart is provided in a fourth embodiment of the NFC online trip method according to the present application, based on the embodiment shown in fig. 4, the step S40 of comparing the last trip identifier of the user with the trip identifier in the information tag of the device side, and determining the consistency of the trip identifier is further refined, which includes steps a401 to a404:
step A401, reading a last trip identifier of a user and an information tag of a device side;
It should be noted that, the application end reads the last trip identifier of the user from the cache, where the last trip identifier of the user includes the necessary information of the last trip of the user, and reads the information tag from the traffic equipment end through NFC or other wireless communication methods, where the information tag includes the identification information of the current trip, such as inbound or outbound information.
Step A402, comparing the consistency of the travel identification according to the last travel identification of the user and the information label of the equipment end;
It should be noted that the comparison content includes at least site information, a time stamp, a device, and the like, so as to ensure consistency of the two trip identifications.
Step A403, if the last trip identifier of the user is consistent with the trip identifier in the information tag of the equipment end, issuing a trip identifier non-identifier instruction, displaying or broadcasting abnormal information at the equipment end, and setting the last trip identifier of the user in the cache as outbound;
It should be noted that, if the last trip identifier of the user is consistent with the trip identifier in the information tag of the device side, which indicates that the user may attempt to reuse the previous trip identifier, the device side issues a trip identifier failure instruction, and displays or broadcasts abnormal information, such as "trip identifier failure, please swipe the card again", at the device side.
Step A404, if the last trip identification of the user is inconsistent with the trip identification in the information label of the equipment end, inquiring whether the user is in arrearage state.
If the last trip identification of the user is inconsistent with the trip identification in the information tag of the equipment end, the application end inquires whether the user is in an arrearage state, if so, the user can be prompted to carry out arrearage processing.
Specifically, when the user B passes through traffic equipment, such as a rail traffic gate or a bus gate, the application end reads the last trip identifier of the user B from the cache, and reads an information tag generated by the equipment end through NFC, compares the last trip identifier of the user B with the trip identifier in the equipment end information tag, finds out to be consistent, issues an instruction with a trip identifier at the application end, displays or broadcasts abnormal information at the equipment end, and sets the last trip identifier of the user B in the cache to be in an outbound state through customer service center processing.
According to the embodiment, the consistency of the travel identification is ensured by comparing the last travel identification of the user with the travel identification in the equipment end information label, the travel identification before the user is repeatedly used is prevented from conducting fraudulent conduct, the charging accuracy and the system safety are ensured, the user is reminded of conducting correct operation by displaying or broadcasting abnormal information at the equipment end, and the user experience is improved.
Further, in an embodiment, the further refinement of the setting the last trip identifier of the user in the cache as outbound includes:
And clearing the last trip identification of the cached user, reading the cached application end account information through the BOM machine, assembling site equipment information to which the BOM machine belongs, generating trip pushing, and setting the last trip identification of the cached user in the trip pushing as outbound.
When the last trip identifier of the user is consistent with the trip identifier in the information tag of the equipment end, the user can go to a customer service center to search for the last trip identifier of the user for the customer service personnel to clear the cache, the clearing operation can be to delete or update related data in the cache, so that the last trip identifier of the user is not used for subsequent trip processing, the BOM machine is special equipment for reading user account information and trip information, including a user account number, balance, last trip identifier and the like, site equipment information can comprise a site where the user is currently located, a used equipment number, a time for entering and exiting, and the like, the trip pushing is a request containing the current trip information of the user and is used for informing an application end of updating a trip record of the user, and an outbound state indicates that the last trip of the user is completed and a new trip identifier is needed for the next trip.
According to the embodiment, the BOM machine is used for clearing the last trip mark of the user with errors, so that possible repeated charging or error deduction is avoided, the latest trip information is facilitated to be obtained by assembling site equipment information and generating trip pushing, the trip management and deduction calculation of the background of the application end are facilitated, and the last trip mark of the user cached in the trip pushing is set to be out, so that the end of the last trip of the user is confirmed.
Further, in an embodiment, the further refining the "inquiring whether the user is in arrearage state" includes:
If the user has arrears, issuing arrears error reporting instructions, displaying or broadcasting abnormal information at the equipment end, and prompting the user to finish arrears repayment;
if the user does not have arrears, the user journey identification in the information label of the equipment end is cached to the last journey identification field of the user, a brake opening instruction is issued, the current time is obtained, and the asynchronous transmission journey is pushed to the background of the application end.
Specifically, if the user has arrears, the application end issues arrears and reports error instructions to the equipment end, abnormal information such as 'your account has arrears and finishes repayment' is displayed or reported on the equipment end, the user is prompted to finish arrears and repayment, which possibly comprises providing repayment options or guiding the user to a corresponding interface, if the user does not have arrears, a user journey identifier in an information tag of the equipment end is cached to a last journey identifier field of the user, a brake opening instruction/passing instruction is issued to the equipment end, the user is allowed to obtain the current time through the equipment, a time stamp for recording journey is obtained, and the asynchronous transmission journey is pushed to a rear end server of the application end.
Further, referring to fig. 5, a flowchart is provided in a fifth embodiment of the NFC online trip method according to the present application, based on the embodiment shown in fig. 5, the step S50 of performing user trip matching according to the result of the trip identification consistency, and determining whether to perform an asynchronous deduction operation according to the result of the matching is further refined, which includes steps a 501-a 505:
step A501, receiving the stroke pushing of an application end background and recording the current stroke;
The travel push includes current travel information of the user, such as inbound or outbound information, site information, device information, and the like.
Step A502, updating the user journey identifier in the current journey to the last journey identifier of the user, and storing the last journey identifier in a database;
Step A503, checking whether the travel mark in the current travel record is an outbound record or a BOM processing record through the background of the application end, and judging whether the user travel is matched;
It should be noted that the outbound record or the BOM process record indicates that the user has completed a complete trip.
Step A504, if the journey identifier is an outbound record or a BOM processing record, the application end background performs user journey matching;
It should be noted that the trip matching process may include comparing the inbound or outbound records of the user to ensure continuity of the trip.
And step A505, when the journey matching is successful, receiving a fee deduction record generated by the background of the application end and asynchronously executing the fee deduction operation.
It should be noted that, the deduction record includes information such as amount and deduction time, and the asynchronously executing deduction operation refers to that after the user completes the traffic journey, the user does not need to pay instantly, and the deduction mode is different from the traditional instant payment mode in which the user is required to pay instantly, such as swiping a card or scanning a code, and the payment mode of opening an entity card in advance and prepaid charging amount is different from the payment mode of opening the entity card in advance.
According to the embodiment, accurate recording of user travel information is ensured by receiving travel pushing and recording the current travel, user travel identification in the current travel is updated to be the last travel identification of a user, continuity and consistency of travel records are maintained, updated travel records are stored in a database and are convenient to inquire and process later, user travel matching is conducted by checking whether the travel identification in the travel records is outbound records or BOM processing records, accuracy and efficiency of travel processing are improved by comparing inbound and outbound records, when the travel matching is successful, fee deduction records are generated, fee deduction operation is executed asynchronously, the problem that most of existing transportation modes are a prepaid mode or a payment mode for synchronous payment is solved, a vehicle taking code/mobile phone interconnection card or a purchase entity card is not required to be opened, online expectation of user traveling before taking vehicles and paying later is achieved, and riding experience and satisfaction of users are improved.
In an embodiment, the application further provides an NFC online trip method applied to the application end background, where the method includes:
transmitting a user account number to an application terminal according to the user registration login information;
returning the last journey identification of the user to the application end according to the user account number;
Judging the consistency of the travel marks according to the cached last travel mark of the user and the travel mark in the information label of the equipment end;
And carrying out user travel matching according to the cached travel identification consistency result, and judging whether to execute asynchronous deduction operation.
According to the registration login information collected by the application end, the application end background sends the user account number to the application end, the corresponding user last trip identification is searched in the database and sent back to the application end, the last trip identification of the user cached by the application end and the trip identification in the information label of the equipment end are received, the trip information of the user is automatically matched, manual intervention is reduced, if the cached last trip identification of the user is consistent with the trip identification in the information label of the equipment end, the user trip matching is carried out, a fee deduction record is generated in the application end background, fee deduction operation is asynchronously executed, the trip efficiency of the user is improved, and the payment pressure of the user in the trip is lightened.
It should be noted that the above examples are only for understanding the present application, and do not constitute a limitation of the NFC online trip method of the present application, and more forms of simple transformation based on the technical concept are all within the scope of the present application.
In addition, the present application also provides an NFC online trip device, referring to fig. 6, the NFC online trip device includes:
The information acquisition module is used for acquiring user registration login information;
The receiving and caching module is used for receiving and caching the user account numbers returned by the background of the application end according to the user registration login information;
The information reading module is used for reading the cached last journey identification of the user according to the user account number;
The consistency judging module is used for comparing the last travel mark of the user with the travel mark in the information label of the equipment end and judging the consistency of the last travel mark and the travel mark;
and 50, a travel matching module for carrying out user travel matching according to the travel identification consistency result and judging whether to execute asynchronous deduction operation according to the matching result.
The NFC online travel device provided by the application can solve the technical problem that the existing transportation travel mode is mostly a prepayment mode or synchronous payment, and the online travel expectation of the users taking bus and paying after taking bus can not be realized by adopting the NFC online travel method in the embodiment. Compared with the prior art, the NFC online travel device has the same beneficial effects as the NFC online travel method provided by the embodiment, and other technical features in the NFC online travel device are the same as the features disclosed by the method of the embodiment, and are not repeated herein.
The application further provides the NFC online travel device, which comprises at least one processor and a memory in communication connection with the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the NFC online travel method in the first embodiment.
Referring now to fig. 7, a schematic diagram of an NFC online travel device suitable for implementing an embodiment of the present application is shown. The NFC online trip device in the embodiment of the present application may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (Personal DIGITAL ASSISTANT: personal digital assistants), PADs (Portable Application Description: tablet computers), PMPs (Portable MEDIA PLAYER: portable multimedia players), vehicle terminals (e.g., car navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. The NFC online trip device shown in fig. 7 is only an example, and should not bring any limitation to the functions and the use range of the embodiment of the present application.
As shown in fig. 7, the NFC online travel device may include a processing means 1001 (e.g., a central processor, a graphics processor, etc.) which may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 1002 or a program loaded from a storage means 1003 into a random access Memory (RAM: random Access Memory) 1004. In the RAM1004, various programs and data required for the operation of the xxx device are also stored. The processing device 1001, the ROM1002, and the RAM1004 are connected to each other by a bus 1005. An input/output (I/O) interface 1006 is also connected to the bus. In general, a system including an input device 1007 such as a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc., an output device 1008 including a Liquid crystal display (LCD: liquid CRYSTAL DISPLAY), a speaker, a vibrator, etc., a storage device 1003 including a magnetic tape, a hard disk, etc., and a communication device 1009 may be connected to the I/O interface 1006. The communication means 1009 may allow the NFC online travel device to communicate wirelessly or wired with other devices to exchange data. Although NFC online travel devices with various systems are shown in the figures, it should be understood that not all of the illustrated systems are required to be implemented or provided. More or fewer systems may alternatively be implemented or provided.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through a communication device, or installed from the storage device 1003, or installed from the ROM 1002. The above-described functions defined in the method of the disclosed embodiment of the application are performed when the computer program is executed by the processing device 1001.
The NFC online travel equipment provided by the application can solve the technical problem that the existing transportation travel mode is mostly a prepayment mode or synchronous payment, and the online travel expectation of the users taking bus and paying after taking bus can not be realized by adopting the NFC online travel method in the embodiment. Compared with the prior art, the NFC online travel device provided by the application has the same beneficial effects as the NFC online travel method provided by the embodiment, and other technical features in the NFC online travel device are the same as the features disclosed by the method of the previous embodiment, and are not described in detail herein.
It is to be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof. In the description of the above embodiments, particular features, structures, materials, or characteristics may be combined in any suitable manner in any one or more embodiments or examples.
The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
In addition, the present application also provides a computer readable storage medium having computer readable program instructions (i.e., a computer program) stored thereon, where the computer readable program instructions are configured to execute the NFC online trip method in the above embodiment.
The computer readable storage medium provided by the present application may be, for example, a U disk, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, or device, or a combination of any of the foregoing. More specific examples of a computer-readable storage medium may include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access Memory (RAM: random Access Memory), a Read-Only Memory (ROM), an erasable programmable Read-Only Memory (EPROM: erasable Programmable Read Only Memory or flash Memory), an optical fiber, a portable compact disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this embodiment, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, or device. Program code embodied on a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to electrical wiring, fiber optic cable, RF (Radio Frequency) and the like, or any suitable combination of the foregoing.
The computer readable storage medium may be included in the NFC online travel device or may exist alone without being assembled into the NFC online travel device.
The computer readable storage medium is loaded with one or more programs, when the one or more programs are executed by the NFC online travel equipment, the NFC online travel equipment is enabled to acquire user registration login information, receive and cache a user account number returned by an application end background according to the user registration login information, read a cached last travel identification of a user according to the user account number, compare the last travel identification of the user with travel identifications in information labels of equipment ends, judge travel identification consistency, conduct user travel matching according to a judgment result of the travel identification consistency, and judge whether to execute asynchronous fee deduction operation according to a matching result.
Computer program code for carrying out operations of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of remote computers, the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN: local Area Network) or a wide area network (WAN: wide Area Network), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules involved in the embodiments of the present application may be implemented in software or in hardware. Wherein the name of the module does not constitute a limitation of the unit itself in some cases.
The readable storage medium provided by the application is a computer readable storage medium, and the computer readable storage medium stores computer readable program instructions (namely computer programs) for executing the NFC online travel method, so that the technical problem that the online travel expectations of the users who take bus before pay can not be realized due to the fact that the existing transportation travel mode is mostly a prepayment mode or synchronous payment is solved. Compared with the prior art, the beneficial effects of the computer readable storage medium provided by the application are the same as those of the NFC online trip method provided by the embodiment, and are not described in detail herein.
In addition, the application also provides a computer program product, which comprises a computer program, wherein the computer program realizes the steps of the NFC online trip method when being executed by a processor.
The computer program product provided by the application can solve the technical problem that the existing transportation travel mode is mostly a prepayment mode or synchronous payment, and the online travel expectation of the user who takes bus before paying can not be realized. Compared with the prior art, the beneficial effects of the computer program product provided by the application are the same as those of the NFC online trip method provided by the embodiment, and are not repeated here.
The foregoing description is only a partial embodiment of the present application, and is not intended to limit the scope of the present application, and all the equivalent structural changes made by the description and the accompanying drawings under the technical concept of the present application, or the direct/indirect application in other related technical fields are included in the scope of the present application.

Claims (10)

1. An NFC online trip method, which is applied to an application end, the method includes:
Acquiring user registration login information;
receiving and caching a user account number returned by an application end background according to the user registration login information;
reading the cached last journey identification of the user according to the user account number;
Comparing the last travel mark of the user with the travel mark in the information label of the equipment end, and judging the consistency of the travel mark;
and carrying out user travel matching according to the judgment result of the travel identification consistency, and judging whether to execute asynchronous deduction operation according to the matching result.
2. The method of claim 1, wherein the step of reading the cached last travel identifier of the user according to the user account number comprises:
Inquiring whether a last travel mark of a user corresponding to the user account number in a cache is empty or not;
If the last travel identification of the user is empty, a request is sent to the background of the application end, and the last travel identification of the user is requested to be inquired;
and receiving a request query response returned by the application end background, and caching the last trip identification of the user queried by the application end background.
3. The method of claim 2, wherein the step of comparing the last trip identifier of the user with the trip identifier in the information tag of the device side, and determining whether the trip identifier is consistent, comprises:
Judging whether the user is registered and logged in;
If the user does not register and log in, registering and logging in are carried out, an account number is generated in the background of the application terminal according to the registration and logging in information of the user, and the account number is cached to the user terminal;
if the user logs in, reading the information tag of the equipment end through NFC and caching the information tag to the background of the application end;
The information label of the equipment end is generated by assembling the URL of the application end, site information, equipment information and travel identification.
4. The method of claim 3, wherein the step of comparing the last trip identifier of the user with the trip identifier in the information tag of the device side, and determining the consistency of the trip identifier comprises:
Reading the last trip identification of the user and the information label of the equipment end;
Comparing the consistency of the travel identification according to the last travel identification of the user and the information label of the equipment end;
if the last trip identification of the user is consistent with the trip identification in the information label of the equipment end, issuing a trip identification non-identifier instruction, displaying or broadcasting abnormal information at the equipment end, and setting the last trip identification of the user in the cache as outbound;
If the last journey identification of the user is inconsistent with the journey identification in the information tag of the equipment end, inquiring whether the user is in an arrearage state.
5. The method of claim 4, wherein the step of setting the last trip identification of the user in the cache to be outbound comprises:
And clearing the last trip identification of the cached user, reading the cached application end account information through the BOM machine, assembling site equipment information to which the BOM machine belongs, generating trip pushing, and setting the last trip identification of the cached user in the trip pushing as outbound.
6. The method of claim 5, wherein querying whether the user is in an arrearage state comprises:
calling an application end background to inquire the arrearage state of a user;
If the user has arrears, issuing arrears error reporting instructions, displaying or broadcasting abnormal information at the equipment end, and prompting the user to finish arrears repayment;
if the user does not have arrears, the user journey identification in the information label of the equipment end is cached to the last journey identification field of the user, a brake opening instruction is issued, the current time is obtained, and the asynchronous transmission journey is pushed to the background of the application end.
7. The method of claim 6, wherein the step of performing user trip matching according to the result of the determination of the trip identity consistency, and determining whether to perform an asynchronous deduction operation according to the result of the matching comprises:
Receiving stroke pushing of an application end background and recording a current stroke;
Updating the user journey identifier in the current journey to the last journey identifier of the user, and storing the last journey identifier into a database;
checking whether the travel mark in the current travel record is an outbound record or a BOM processing record through an application end background, and judging whether user travel matching is carried out;
if the journey identifier is an outbound record or a BOM processing record, the application end background carries out user journey matching;
And when the journey matching is successful, receiving a fee deduction record generated by the background of the application end and asynchronously executing fee deduction operation.
8. An NFC online travel method is characterized by being applied to an application end background, and comprises the following steps:
transmitting a user account number to an application terminal according to the user registration login information;
returning the last journey identification of the user to the application end according to the user account number;
Judging the consistency of the travel marks according to the cached last travel mark of the user and the travel mark in the information label of the equipment end;
And carrying out user travel matching according to the cached travel identification consistency result, and judging whether to execute asynchronous deduction operation.
9. A storage medium, characterized in that the storage medium is a computer-readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, realizes the steps of the NFC online trip method according to any one of claims 1 to 7.
10. A computer program product, characterized in that the computer program product comprises a computer program which, when executed by a processor, implements the steps of the NFC online trip method according to any one of claims 1 to 7.
CN202411747329.4A 2024-12-02 2024-12-02 NFC online travel method, storage medium and program product Active CN119206879B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411747329.4A CN119206879B (en) 2024-12-02 2024-12-02 NFC online travel method, storage medium and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411747329.4A CN119206879B (en) 2024-12-02 2024-12-02 NFC online travel method, storage medium and program product

Publications (2)

Publication Number Publication Date
CN119206879A true CN119206879A (en) 2024-12-27
CN119206879B CN119206879B (en) 2025-03-25

Family

ID=94055172

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411747329.4A Active CN119206879B (en) 2024-12-02 2024-12-02 NFC online travel method, storage medium and program product

Country Status (1)

Country Link
CN (1) CN119206879B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119515379A (en) * 2025-01-17 2025-02-25 深圳市深圳通有限公司 Method, device, equipment and storage medium for boarding a bus using a code

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105654617A (en) * 2014-11-26 2016-06-08 镇江雅迅软件有限责任公司 Subway card swiping system based on NFC payment
CN107103575A (en) * 2017-04-13 2017-08-29 南京熊猫电子股份有限公司 A kind of rail traffic ticket automatic selling and checking system credit payment method based on mobile phone IMEI acquisition techniques
CN110443603A (en) * 2019-07-26 2019-11-12 南京熊猫电子股份有限公司 A kind of method and system that code passes in and out lock real-time matching and settles accounts by bus for track transportation industry
CN112530028A (en) * 2019-09-02 2021-03-19 比亚迪股份有限公司 Ticket selling and checking processing method, system server and storage medium
CN114495295A (en) * 2021-12-15 2022-05-13 中国建设银行股份有限公司 Gate passing control method, system, computer equipment and storage medium
CN114723437A (en) * 2022-03-16 2022-07-08 广州广电运通智能科技有限公司 Rail transit diversified payment fusion method, system, equipment and medium
CN115862201A (en) * 2023-02-01 2023-03-28 深圳市深圳通有限公司 Exception record processing method, device, equipment and computer readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105654617A (en) * 2014-11-26 2016-06-08 镇江雅迅软件有限责任公司 Subway card swiping system based on NFC payment
CN107103575A (en) * 2017-04-13 2017-08-29 南京熊猫电子股份有限公司 A kind of rail traffic ticket automatic selling and checking system credit payment method based on mobile phone IMEI acquisition techniques
CN110443603A (en) * 2019-07-26 2019-11-12 南京熊猫电子股份有限公司 A kind of method and system that code passes in and out lock real-time matching and settles accounts by bus for track transportation industry
CN112530028A (en) * 2019-09-02 2021-03-19 比亚迪股份有限公司 Ticket selling and checking processing method, system server and storage medium
CN114495295A (en) * 2021-12-15 2022-05-13 中国建设银行股份有限公司 Gate passing control method, system, computer equipment and storage medium
CN114723437A (en) * 2022-03-16 2022-07-08 广州广电运通智能科技有限公司 Rail transit diversified payment fusion method, system, equipment and medium
CN115862201A (en) * 2023-02-01 2023-03-28 深圳市深圳通有限公司 Exception record processing method, device, equipment and computer readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119515379A (en) * 2025-01-17 2025-02-25 深圳市深圳通有限公司 Method, device, equipment and storage medium for boarding a bus using a code

Also Published As

Publication number Publication date
CN119206879B (en) 2025-03-25

Similar Documents

Publication Publication Date Title
CN103366273A (en) Payment method through a payment instrument and server and mobile terminal
US20160071082A1 (en) Automated splitting of costs incurred during a shared vehicle travel
KR102518068B1 (en) Management server for matching of online fixing, and method thereof
US20150371202A1 (en) Credit card self-paying system using mobile communications terminal and method therefor
CN119206879B (en) NFC online travel method, storage medium and program product
CN114495364A (en) Self-service car renting method and device, electronic equipment and readable storage medium
KR101431710B1 (en) The method and system for providing payment service by customer recognition
CN112330323A (en) Method for generating token seed and two-dimensional code, payment method and payment device
CN109087109B (en) Mobile payment confirmation method, device, system and storage medium
US20150058211A1 (en) User validation, amount-due validation, payment collection, and payment processing system and method thereof
CN113409520A (en) Charging method, charging device, electronic equipment and storage medium
KR100920175B1 (en) Payment system using mobile communication terminal and its payment method
KR20180124508A (en) Payment server based on vehicle number and payment system and method therefor
US20140229247A1 (en) Global transit card service
KR102033576B1 (en) System, apparatus and method for electronic payment
KR102679272B1 (en) System and method for NFC payment service for Call system
CN118898873A (en) Travel pricing method and storage medium
CN114708672B (en) Resource data processing method, device and server
CN118800001A (en) Control device and control method
CN113306437B (en) Charging method, charging device, electronic equipment and storage medium
US11288716B1 (en) Systems and methods for digital wallet transit payments
KR102182059B1 (en) Method and apparatus for providing short-term insurance
KR20090091051A (en) Online credit card payment device using mobile phone authentication and its method
KR20140115862A (en) Payment method and system enable to line with mobile terminal
KR20220049762A (en) Mehtod for installing payment terminal

Legal Events

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