Riding code riding method, device and equipment and storage medium

The mobile terminal receives and processes the NFC tags sent by the traffic payment terminal, generates and returns the ride code data, solving the existing ride code process of users with cumbersome operations and low traffic efficiency, and achieving a more efficient and convenient ride experience.

CN119515379AInactive Publication Date: 2025-02-25深圳市深圳通有限公司
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510074745.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-17
Publication Date
2025-02-25
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing ride code is cumbersome for users to operate, and the traffic efficiency is low in environments with poor networks.

Method used

The mobile terminal receives the near field communication NFC tag sent by the traffic payment terminal, generates ride code data based on the tag information, and returns to the traffic payment terminal through the NFC channel to complete asynchronous deduction.

Benefits of technology

It simplifies user operations, improves the convenience of riding and traffic efficiency, especially in environments with poor networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119515379A_ABST
    Figure CN119515379A_ABST
Patent Text Reader

Abstract

The invention discloses a riding method and device based on a riding code, equipment and a storage medium, and relates to the technical field of intelligent electronic payment, and the method comprises the steps: when a mobile terminal receives a near field communication (NFC) tag sent by a traffic payment terminal, generating riding code data according to tag information in the NFC tag; and returning the riding code data to the traffic payment terminal through the NFC channel, and finishing asynchronous fee deduction by the traffic payment terminal according to the riding code data. According to the scheme, the mobile device receives the NFC label sent by the traffic payment terminal, generates the riding code data based on the NFC label, and sends the riding code data to the traffic payment device through the NFC channel, so that the existing riding code scanning riding processing flow is reused, the riding can be realized by swiping the code without opening a riding APP, the improvement cost is low, and the riding efficiency is improved. And the problem of insufficient riding convenience of the riding code user is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent electronic payment technology, and in particular to a method, device, equipment and storage medium for boarding a bus using a QR code. Background Art

[0002] The existing process of using the QR code to board a bus requires users to first unlock their phones and open a specific application (APP), then navigate to the QR code display page, and finally scan the generated QR code or barcode with the camera on the bus machine or subway gate. This method makes the user operation more cumbersome and the travel efficiency is low in poor network environments. Summary of the invention

[0003] The main purpose of this application is to provide a method, device, equipment and storage medium for boarding a bus using a boarding code, aiming to solve the technical problem of insufficient convenience for users to board a bus using a boarding code.

[0004] To achieve the above purpose, the present application proposes a method for boarding a bus using a boarding code, the method being applied to a mobile terminal having a boarding APP installed thereon, the method comprising: When receiving a near field communication NFC tag sent by a transportation payment terminal, generating boarding code data according to the tag information in the NFC tag; The boarding code data is returned to the transportation payment terminal through the NFC channel, and the transportation payment terminal completes asynchronous deduction based on the boarding code data.

[0005] In one embodiment, when the NFC tag sent by the transportation payment terminal is received, before the step of generating the boarding code data according to the tag information in the NFC tag, the step includes: When installing the ride APP, the tag information of the ride APP is configured, and the tag information at least includes a tag jump address and a tag parameter.

[0006] In one embodiment, the step of generating boarding code data according to the tag information in the NFC tag includes: Parsing the tag parameters in the NFC tag by the ride APP to obtain the parsed tag parameters; According to the parsed label parameters and the label jump address, the boarding code data is generated according to the preset boarding code format.

[0007] In one embodiment, after returning the boarding code data to the transportation payment terminal through the NFC channel and the transportation payment terminal completing the step of asynchronously deducting the fee according to the boarding code data, the method further includes: Receive a code scanning success signal sent by a transportation payment terminal, and close the NFC channel based on the code scanning success signal.

[0008] In addition, to achieve the above purpose, the present application also proposes a method for riding a bus using a ride code, which is applied to a transportation payment terminal and includes: Load the NFC tag containing the boarding code; When a mobile terminal running a ride APP is identified, the NFC tag is transmitted to the mobile terminal, so that when the mobile terminal receives the NFC tag, the ride code data is generated according to the tag information in the NFC tag; Receive the boarding code data sent by the mobile terminal, and complete asynchronous fee deduction according to the boarding code data.

[0009] In one embodiment, the step of completing the asynchronous fee deduction process according to the ride code data includes: Validate the boarding code data; When the boarding code data passes the validity verification, a deduction request is asynchronously sent to the deduction system, so that the deduction system deducts the fee based on the deduction request according to the boarding code and the travel fee.

[0010] In one embodiment, after the step of receiving the boarding code data sent by the mobile terminal and completing the asynchronous fee deduction according to the boarding code data, the following steps are performed: A code scanning success signal is sent to the mobile terminal so that the mobile terminal closes the NFC channel based on the code scanning success signal.

[0011] In addition, to achieve the above-mentioned purpose, the present application also proposes a boarding code boarding device, which includes a mobile terminal and a transportation payment terminal; The mobile terminal comprises: A generating module, for generating boarding code data according to tag information in a near field communication NFC tag when receiving the tag sent by the transportation payment terminal; The return module is used to return the boarding code data to the transportation payment terminal through the NFC channel, and the transportation payment terminal completes the asynchronous deduction according to the boarding code data.

[0012] The transportation payment terminal comprises: Loading module, used to load the NFC tag containing the boarding code; A sending module, configured to transmit the NFC tag to the mobile terminal when identifying the mobile terminal running the ride APP, so that when the mobile terminal receives the NFC tag, the mobile terminal generates the ride code data according to the tag information in the NFC tag; The business processing module is used to receive the boarding code data sent by the mobile terminal and complete asynchronous deduction based on the boarding code data.

[0013] In addition, to achieve the above-mentioned purpose, the present application also proposes a device for boarding a bus using a boarding code, which includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, and the computer program is configured to implement the steps of the method for boarding a bus using a boarding code as described above.

[0014] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the method of boarding by using the boarding code are implemented as described above.

[0015] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the steps of the method of boarding by using the boarding code as described above.

[0016] The embodiment of the present application provides a method, device, equipment and storage medium for boarding a bus using a boarding code. The method includes: when a mobile terminal receives a near field communication NFC tag sent by a transportation payment terminal, boarding code data is generated according to the tag information in the NFC tag; the boarding code data is returned to the transportation payment terminal through the NFC channel, and the transportation payment terminal completes asynchronous deductions based on the boarding code data. This solution reuses the existing boarding code scanning boarding process by receiving an NFC tag sent by a transportation payment terminal on a mobile device, generating boarding code data based on the NFC tag, and sending it to the transportation payment device through the NFC channel. The user can scan the code to board the bus, which not only has a low transformation cost, but also solves the problem of insufficient convenience for boarding code users to board the bus. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0018] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0019] Figure 1 A flowchart diagram of the first embodiment of the method for boarding a bus using a bus code in this application; Figure 2A flow chart of the second embodiment of the method for boarding a bus using a bus code in this application; Figure 3 A flowchart diagram of the third embodiment of the method for boarding a bus using a bus code in this application; Figure 4 A brief flowchart of the boarding code boarding method provided in Examples 1 to 3 of the present application; Figure 5 This is a schematic diagram of the module structure of the boarding code device according to an embodiment of the present application; Figure 6 This is a schematic diagram of the equipment structure of the hardware operating environment involved in the boarding code boarding method in the embodiment of the present application.

[0020] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0021] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0022] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0023] The main solution of the embodiment of the present application is: when the mobile terminal detects and receives the near-field communication NFC tag sent by the transportation payment terminal, the boarding code data is generated according to the tag information in the NFC tag; the boarding code data is returned to the transportation payment terminal through the NFC channel, and the transportation payment terminal completes asynchronous deduction based on the boarding code data.

[0024] The existing process of using the QR code to board a bus requires users to first unlock their phones and open a specific application (APP), then navigate to the QR code display page, and finally scan the generated QR code or barcode with the camera on the bus machine or subway gate. This method makes the user operation more cumbersome and the travel efficiency is low in poor network environments.

[0025] This application provides a solution, specifically: when the mobile terminal detects and receives the near field communication NFC tag sent by the transportation payment terminal, the boarding code data is generated according to the tag information in the NFC tag; the boarding code data is returned to the transportation payment terminal through the NFC channel, and the transportation payment terminal completes the asynchronous deduction according to the boarding code data. This solution uses NFC technology and the existing business process of the boarding code. It only needs to load the NFC tag (touch and pay module) on the device and send the boarding code data to the scanning device through the NFC channel to realize the Shenzhentong boarding code touch and pay. The scanning steps are greatly simplified and the convenience is high. Users can enjoy the convenient services of the boarding code and NFC technology at the same time.

[0026] It should be noted that the execution subject of this embodiment may be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a smart watch, a mobile phone, etc., or an electronic device capable of realizing the above functions, etc. The following takes a mobile phone as an example to illustrate this embodiment and the following embodiments.

[0027] Based on this, the embodiment of the present application provides a method for boarding a bus using a bus code. Figure 1 , Figure 1 This is a flow chart of the first embodiment of the boarding code boarding method of this application.

[0028] In this embodiment, the boarding code boarding method includes steps S10 to S20: Step S10, when receiving a near field communication NFC tag sent by a transportation payment terminal, generating boarding code data according to tag information in the NFC tag; It should be noted that the method of this embodiment is applied to a mobile terminal, such as a mobile phone, a smart watch or a tablet computer that can install a program application, etc. This embodiment is described by taking a mobile phone as an example.

[0029] In addition, it should be noted that NFC (Near Field Communication) tags are a short-range high-frequency wireless communication technology that allows contactless point-to-point data transmission between electronic devices and sharing of information within a few centimeters. Tag information includes but is not limited to NFC tag jump address, tag parameters, etc. The ride code data refers to the one-time coded information dynamically generated by the ride APP based on the NFC tag information. It contains the user's identity authentication information, transaction details and security verification information, which is used to realize contactless public transportation payment.

[0030] It is worth noting that in the traditional way of riding the bus using the QR code, the user needs to open the riding APP, enter the riding QR code display page, and then aim at the bus machine or subway gate camera to scan the code. The user operation is relatively cumbersome. In an environment with poor network, the traffic efficiency is low. Therefore, by executing step S10, the user can scan the code to ride the bus without opening the APP, which improves the convenience of the user's ride.

[0031] In a feasible embodiment, step S10 may further include steps S11 to S13: Step S11, parsing the tag parameters in the NFC tag of the ride APP through the ride APP to obtain the parsed tag parameters; Specifically, the user first ensures that a ride APP that supports the NFC function has been installed on the mobile phone. When the user needs to take a ride, the user starts the NFC function module. When the user carries a mobile phone with the NFC function turned on and approaches a transportation payment terminal that is also loaded with an NFC tag (for example, a bus machine or a subway gate), the on-board machine will check whether the NFC tag of the user's mobile phone is within a preset effective distance. If the on-board machine recognizes that the NFC tag in the user's mobile phone is within a preset distance from the on-board machine, it will send its own on-board NFC tag to the mobile phone. The on-board NFC tag contains the designated APP boarding code information and related tag parameters.

[0032] When the NFC function module of the ride APP on the mobile phone receives the vehicle-mounted NFC tag, the ride APP will decode the data and extract the tag parameters contained therein. These parameters include but are not limited to the vehicle-mounted device ID, site code, timestamp, etc.

[0033] Step S12, generating boarding code data according to the parsed label parameters and the label jump address in accordance with the preset boarding code format.

[0034] It should be noted that the tag jump address is a URL path inside the ride APP, which is used to guide the ride APP on how to handle the next operation.

[0035] It should also be noted that the boarding code data is the data used to construct the boarding QR code, but in this embodiment, in order to improve the convenience of passengers boarding, it is only necessary to generate and transmit the boarding QR code data without displaying the QR code.

[0036] When the ride APP recognizes that this is an entry operation by analyzing the label jump address and determines that the label jump address points to the entry function module, the ride APP automatically jumps to the entry function module and passes parameters such as the site code to the module.

[0037] In the specified functional module, a data packet containing necessary information is constructed based on the parsed tag parameters through a pre-set ride code generator. This usually includes the user's identity information, transaction details (such as boarding location and time), and any necessary security verification information. And in accordance with the format requirements specified by the system, the ride code data is organized into a form that can be quickly and accurately read by the transportation payment terminal.

[0038] Through the above steps and methods, NFC technology is used to generate the boarding code data, which is conducive to providing a data basis for subsequent rapid gate passing or convenient fee deduction, so that users do not need to open the APP, find the boarding code page or manually display the QR code, and can complete the payment by simply placing the mobile phone close to the transportation payment terminal. This greatly reduces the user's operation steps and improves the convenience of use.

[0039] Step S20, returning the boarding code data to the transportation payment terminal through the NFC channel, and the transportation payment terminal completes asynchronous deduction according to the boarding code data.

[0040] It should be noted that the NFC channel refers to a secure short-range wireless communication connection established between two devices using near field communication technology. In this embodiment, the NFC channel specifically refers to the communication path between the mobile phone and the transportation payment terminal, which is used to transmit the boarding code data and other necessary transaction information.

[0041] Specifically, after the boarding code data is generated in step S10, the boarding code data is directly transmitted from the mobile phone to the transportation payment terminal through the established NFC channel by the boarding APP. After the transportation payment terminal receives the boarding code data through the touch module, it forwards the boarding code data to the on-board machine boarding code business processing module through the NFC channel. In the business processing module, the same business processing is performed according to the processing logic of the boarding code data after the camera scans the code, including the validity verification of the boarding code data, and the deduction request is asynchronously sent to the deduction system. The deduction system deducts the fee based on the deduction request according to the user's boarding code and travel charges.

[0042] Once the deduction is successful, the transportation payment terminal can send a code scanning success signal to the mobile phone through the NFC channel to inform the user that the transaction is completed. The mobile phone receives the code scanning success signal sent by the transportation payment terminal and closes the NFC channel based on the code scanning success signal to complete the boarding process.

[0043] Through the above steps, the process of using the NFC channel to return the boarding code data and complete the asynchronous deduction not only improves the passenger's travel efficiency, but also ensures the security and reliability of the transaction, while also simplifying the user's operation and improving the overall user experience.

[0044] Through the above-mentioned embodiment method, when the mobile terminal detects and receives the NFC tag sent by the transportation payment terminal, the boarding code data is generated according to the tag information in the NFC tag; the boarding code data is returned to the transportation payment terminal through the NFC channel, and the transportation payment terminal completes the asynchronous deduction according to the boarding code data. This method uses the mobile device to detect and receive the NFC tag sent by the transportation payment terminal, generates the boarding code data based on the NFC tag, and sends it to the transportation payment device through the NFC channel. It reuses the existing boarding code scanning and boarding processing process, and can scan the code to board the bus. Not only is the transformation cost low, but it also solves the problem of insufficient convenience for boarding code users to board the bus.

[0045] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 2 Before step S10, the boarding code boarding method further includes step S01: Step S01, when installing the ride APP, configure the tag information of the ride APP, and the tag information at least includes the tag jump address and tag parameters.

[0046] In order to ensure that the ride APP can immediately have the ability to interact with the transportation payment terminal through NFC after the user installs it, and can correctly identify and process the NFC tags sent from the transportation payment terminal, this embodiment also performs internal configuration tag information operations during the process of the user using the mobile terminal to install the ride APP, where the tag information at least includes relevant information such as the NFC tag jump address and parameters.

[0047] Specifically, when the corresponding ride-hailing APP is packaged during application development, it configures the NFC tag jump address, tag parameters and other related information so that the NFC function module of the ride-hailing APP can recognize the NFC tag sent by the transportation payment terminal. Among them, NFC tag jump and tag parameters are key components in defining NFC tag behavior, which determine how the application will respond when the NFC tag is read. The NFC tag jump address refers to the internal path of the application that the ride-hailing APP should navigate to or the operation performed after the NFC tag is read. It is not limited to a simple URL path, but can also include other forms of instructions or identifiers. Tag parameters refer to additional information attached to the NFC tag, which is used to refine and personalize the behavior of each interaction, including but not limited to site information, device information, timestamp, transaction details, user identity, etc.

[0048] Through the above detailed configuration of the ride APP, the ride APP will be able to process NFC tags sent from transportation payment terminals when it is installed, thereby achieving a seamless and secure contactless public transportation payment experience.

[0049] Based on this, the embodiment of the present application provides a method for boarding a bus using a bus code. Figure 3 , Figure 3 This is a flow chart of the third embodiment of the boarding code boarding method of the present application.

[0050] In this embodiment, the boarding code boarding method includes steps S30 to S50: Step S30, loading the NFC tag containing the boarding code; It should be noted that the method of this embodiment is applied to transportation payment terminals, including but not limited to bus-mounted terminals, subway gate terminals, etc. This embodiment is described by taking a bus-mounted terminal as an example.

[0051] Specifically, the vehicle-mounted machine loads an NFC tag module (in this embodiment, the module can also be called a touch module) with the meaning of the APP boarding code, and the tag complies with the NDEF (NFC data exchange format) specification.

[0052] Step S40, when a mobile terminal running a ride APP is identified, the NFC tag is transmitted to the mobile terminal, so that when the mobile terminal receives the NFC tag of the transportation payment terminal, the ride code data is generated according to the tag information in the NFC tag of the ride APP; Specifically, when a user's mobile device approaches the bus machine, the NFC module of the bus machine will automatically detect the presence of the device. And it will verify the identity or authority of the mobile device. For example, by checking whether the mobile terminal has a specific version of the ride APP installed. Once it is confirmed that the mobile terminal is legitimate, the bus machine will initiate a handshake request to establish a secure NFC communication connection.

[0053] After the handshake is completed, the onboard machine reads the pre-loaded onboard NFC tag from its internal storage, and transmits the onboard NFC tag directly to the mobile terminal through the established NFC channel. Since the ride APP on the mobile terminal has been configured with the ability to process tag information when the application was developed, after receiving the onboard NFC tag, the ride APP can extract the necessary tag jump address and tag parameters by parsing the tag information in the onboard NFC tag. The ride APP jumps to the specified function module according to the initialized tag information, generates complete ride code data in the function module, and sends the ride code data to the touch module of the onboard machine.

[0054] Step S50, receiving the boarding code data sent by the mobile terminal, and completing asynchronous deduction according to the boarding code data.

[0055] Specifically, when the touch-and-pay module of the vehicle-mounted machine receives the boarding code data sent by the mobile terminal, it forwards the data to the boarding code business processing module of the vehicle-mounted machine through the NFC channel. After receiving the boarding code data, the boarding code business processing module verifies the validity of the boarding code data, including but not limited to verifying tag parameters, user identity verification, and duplicate transaction detection.

[0056] Then, based on the verified boarding code data, a deduction request is constructed, including the necessary transaction details (such as user ID, trip information, fee amount, etc.). Subsequently, the deduction request is asynchronously sent to the deduction system so that the specific fee amount can be calculated based on the boarding code and trip information in the background, and the corresponding amount can be deducted from the user's account. Once the deduction is successful, the on-board machine can send a code scanning success signal to the mobile terminal through the NFC channel, informing the user that the transaction is successful and notifying the mobile terminal to close the NFC channel.

[0057] Through the above-mentioned embodiment method, that is, loading an NFC tag containing a ride code through a transportation payment terminal; when a mobile terminal running a ride APP is identified, the NFC tag is transmitted to the mobile terminal, so that when the mobile terminal detects and receives the NFC tag, the ride code data is generated according to the tag information in the NFC tag; the ride code data sent by the mobile terminal is received, and asynchronous deduction is completed according to the ride code data. This method sends an NFC tag to a mobile device through a transportation payment terminal, and the mobile device generates the ride code data based on the NFC tag, and sends it to the transportation payment device through an NFC channel. The existing ride code scanning and boarding processing process is reused, and the code can be scanned to board the bus without opening the ride APP. Not only is the transformation cost low, but it also solves the problem of insufficient convenience for users of ride codes to board the bus.

[0058] For example, in order to help understand the implementation process of the boarding code boarding method obtained by combining this embodiment with the above-mentioned embodiment 1, please refer to Figure 4 , Figure 4 A brief flowchart of the method of using a QR code to board a bus is provided, specifically: In this embodiment, it involves a mobile terminal with a ride APP installed, a ride code issuing system, a transportation payment terminal (bus-mounted machine / subway gate), and a ride code deduction system; the modules involved include the ride APP user module, the ride APP ride code module, the ride APP NFC function module, and the transportation payment terminal NFC tag module. The functions involved include generating an offline ride code, sending the ride code data through the NFC channel, and verifying and deducting the ride code data. The following takes a mobile phone and a bus-mounted machine as an example.

[0059] First, the vehicle-mounted machine loads an NFC tag module (named the touch module in this solution) with the meaning of the corresponding APP boarding code. The tag complies with the preset format specification, such as NDEF (NFC data exchange format). And when the boarding APP is packaged during application development, the NFC tag jump address, tag parameters and other related information are configured, so that the NFC module of the boarding APP has the ability to identify and process the NFC tag of the vehicle-mounted machine.

[0060] When the user successfully activates the ride code service on the ride APP on the mobile phone and uses the ride APP to approach the vehicle-mounted machine, the NFC module of the ride APP detects the NFC tag of the vehicle-mounted machine and jumps to the specified function module according to the initialized tag information. The vehicle-mounted machine NFC tag is parsed on the function module, and the complete ride code data is generated based on the tag jump address, tag parameters and other information. The ride code data is then sent to the vehicle-mounted machine.

[0061] After the onboard machine receives the boarding code data through the touch module, it forwards the boarding code data to the onboard machine boarding code business processing module through the NFC channel. After receiving the boarding code data, the onboard machine boarding code business processing module performs validity verification and generates a deduction request based on the verified data.

[0062] Finally, the vehicle-mounted machine sends the deduction request to the backend deduction system, which deducts the fee according to the ride code and the trip fee. Once the deduction is successful, the vehicle-mounted machine sends a signal indicating the code is scanned successfully to the mobile phone, and the mobile phone closes the NFC channel after receiving the signal.

[0063] Through the above-mentioned embodiment method, based on the original technology, using NFC technology and the existing business process of the boarding code, only minor modifications are needed on the APP, the vehicle-mounted machine, and the gate machine to realize the boarding code tapping to board the bus, which greatly simplifies the code scanning steps and is more convenient. Users can enjoy the convenient services of the boarding code and NFC technology at the same time.

[0064] Next, the above embodiment method is described in detail by taking a user passing through a subway turnstile as a specific scenario: First, the user's mobile terminal (such as a smartphone) is installed with an NFC-enabled ride APP, and the subway station's gate is equipped with a payment terminal that can send and receive NFC tag information. The gate's NFC module is activated and ready to communicate with any NFC device that enters its sensing range.

[0065] When the user brings the mobile terminal close to the gate, the NFC module of the ride APP on the mobile terminal detects the NFC tag sent by the gate and receives the tag information contained therein. The tag information includes but is not limited to the tag jump address and tag parameters.

[0066] The NFC module of the ride APP jumps to the specified function module according to the tag jump address, and generates the ride code data according to the preset format. The generated ride code data is transmitted back to the gate through the NFC channel.

[0067] After receiving the boarding code data sent back by the mobile terminal, the gate will immediately verify the data. The verification content may include checking the validity period of the boarding code and confirming whether the user's account balance is sufficient.

[0068] After successful verification, the gate allows the user to pass and sends a deduction request to the background deduction system to complete the deduction process.

[0069] Through the above-mentioned embodiment method, users do not need to take out the physical card or open the APP interface, but only need to put the mobile phone close to the gate to achieve fast passage, which greatly improves the user experience. At the same time, the asynchronous deduction mechanism ensures service continuity and efficiency under high throughput.

[0070] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the boarding code boarding method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.

[0071] This application also provides a boarding code boarding device, please refer to Figure 5 , the boarding code boarding device includes a mobile terminal and a transportation payment terminal; The mobile terminal comprises: The generating module 10 is used to generate the boarding code data according to the tag information in the NFC tag when detecting and receiving the NFC tag sent by the transportation payment terminal; A return module 20 is used to return the boarding code data to the transportation payment terminal through the NFC channel, and the transportation payment terminal completes asynchronous fee deduction according to the boarding code data; The transportation payment terminal comprises: A loading module 30, used to load an NFC tag containing a boarding code; The sending module 40 is used to transmit the NFC tag to the mobile terminal when the mobile terminal running the ride APP is identified, so that when the mobile terminal detects and receives the NFC tag, the ride code data is generated according to the tag information in the NFC tag; The business processing module 50 is used to receive the boarding code data sent by the mobile terminal and complete asynchronous deduction according to the boarding code data.

[0072] The boarding code boarding device provided by the present application adopts the boarding code boarding method in the above-mentioned embodiment, which can solve the technical problem that the user is not convenient enough to board the bus using the boarding code. Compared with the prior art, the beneficial effects of the boarding code boarding device provided by the present application are the same as the beneficial effects of the boarding code boarding method provided by the above-mentioned embodiment, and the other technical features of the boarding code boarding device are the same as the features disclosed in the above-mentioned embodiment method, which will not be repeated here.

[0073] The present application provides a boarding code boarding device, which includes: at least one processor; and a memory communicatively connected to 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 boarding code boarding method in the above-mentioned embodiment one.

[0074] Reference below Figure 6 , which shows a schematic diagram of the structure of a boarding code boarding device suitable for implementing the embodiment of the present application. The boarding code boarding device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6 The boarding code boarding device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0075] like Figure 6 As shown, the boarding code boarding device may include a processing device 1001 (such as a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM: Read Only Memory) 1002 or the program loaded from the storage device 1003 to the random access memory (RAM: Random Access Memory). In RAM1004, various programs and data required for the operation of the boarding code boarding device are also stored. The processing device 1001, ROM1002 and RAM1004 are connected to each other through a bus 1005. The input / output (I / O) interface 1006 is also connected to the bus. Generally, the following devices can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the ride code boarding device to communicate wirelessly or wired with other devices to exchange data. Although the figure shows the ride code boarding device with various devices, it should be understood that it is not required to implement or have all the devices shown. More or fewer devices can be implemented or provided alternatively.

[0076] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0077] The boarding code boarding device provided by the present application adopts the boarding code boarding method in the above embodiment, which can solve the technical problem that the user is not convenient enough to board the bus using the boarding code. Compared with the prior art, the beneficial effects of the boarding code boarding device provided by the present application are the same as the beneficial effects of the boarding code boarding method provided by the above embodiment, and the other technical features of the boarding code boarding device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0078] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0079] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0080] The present application provides a computer-readable storage medium having computer-readable program instructions (i.e., computer programs) stored thereon, and the computer-readable program instructions are used to execute the boarding code boarding method in the above-mentioned embodiment.

[0081] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor devices, devices or components, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution device, device or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.

[0082] The above-mentioned computer-readable storage medium may be included in the boarding code device; or it may exist independently without being assembled into the boarding code device.

[0083] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the boarding code boarding device, the boarding code boarding device: when the mobile terminal detects and receives the near-field communication NFC tag sent by the transportation payment terminal, generates the boarding code data according to the tag information in the NFC tag; returns the boarding code data to the transportation payment terminal through the NFC channel, and the transportation payment terminal completes asynchronous deduction according to the boarding code data.

[0084] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0085] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the device, method and computer program product according to various embodiments of the present application. 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 module, the program segment or a part of the 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 and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based device that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0086] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0087] The readable storage medium provided in this application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned boarding code boarding method, and can solve the technical problem that users are not convenient enough to board a bus using a boarding code. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as the beneficial effects of the boarding code boarding method provided in the above-mentioned embodiment, and will not be repeated here.

[0088] The present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the above-mentioned method of using a boarding code.

[0089] The computer program product provided by this application can solve the technical problem that it is not convenient for users to use the boarding code to board a bus. Compared with the prior art, the beneficial effects of the computer program product provided by this application are the same as the beneficial effects of the boarding code boarding method provided in the above embodiment, which will not be repeated here.

[0090] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A method for boarding a bus using a boarding code, characterized in that: The method is applied to a mobile terminal, on which a ride APP is installed, and the method comprises: When receiving a near field communication NFC tag sent by a transportation payment terminal, generating boarding code data according to the tag information in the NFC tag; The boarding code data is returned to the transportation payment terminal through the NFC channel, and the transportation payment terminal completes asynchronous deduction based on the boarding code data.

2. The method according to claim 1, characterized in that When receiving the NFC tag sent by the transportation payment terminal, before the step of generating the boarding code data according to the tag information in the NFC tag, the method includes: When installing the ride APP, the tag information of the ride APP is configured, and the tag information at least includes a tag jump address and a tag parameter.

3. The method according to claim 2, characterized in that The step of generating boarding code data according to the tag information in the NFC tag comprises: Parsing the tag parameters in the NFC tag by the ride APP to obtain the parsed tag parameters; According to the parsed label parameters and the label jump address, the boarding code data is generated according to the preset boarding code format.

4. The method according to claim 1, characterized in that After the step of returning the boarding code data to the transportation payment terminal through the NFC channel, and the transportation payment terminal completing the asynchronous fee deduction according to the boarding code data, the method further includes: Receive a code scanning success signal sent by a transportation payment terminal, and close the NFC channel based on the code scanning success signal.

5. A method for boarding a bus using a boarding code, characterized in that: The method is applied to a transportation payment terminal, and the method comprises: Load the NFC tag containing the boarding code; When a mobile terminal running a ride APP is identified, the NFC tag is transmitted to the mobile terminal, so that when the mobile terminal receives the NFC tag, the ride code data is generated according to the tag information in the NFC tag; Receive the boarding code data sent by the mobile terminal, and complete asynchronous fee deduction according to the boarding code data.

6. The method according to claim 5, characterized in that The step of completing the asynchronous fee deduction process according to the boarding code data includes: Validate the boarding code data; When the boarding code data passes the validity verification, a deduction request is asynchronously sent to the deduction system, so that the deduction system deducts the fee based on the deduction request according to the boarding code and the travel fee.

7. The method according to claim 5, characterized in that After the step of receiving the boarding code data sent by the mobile terminal and completing the asynchronous fee deduction according to the boarding code data, the method further comprises: A code scanning success signal is sent to the mobile terminal so that the mobile terminal closes the NFC channel based on the code scanning success signal.

8. A device for boarding a vehicle by using a boarding code, characterized in that: The device includes a mobile terminal and a transportation payment terminal; The mobile terminal comprises: A generating module, for generating boarding code data according to tag information in the NFC tag when detecting and receiving a near field communication NFC tag sent by a transportation payment terminal; A return module, used for returning the boarding code data to the transportation payment terminal through the NFC channel, and the transportation payment terminal completes asynchronous fee deduction according to the boarding code data; The transportation payment terminal comprises: Loading module, used to load the NFC tag containing the boarding code; A sending module, configured to transmit the NFC tag to the mobile terminal when a mobile terminal running a ride APP is identified, so that when the mobile terminal detects and receives the NFC tag, the mobile terminal generates ride code data according to the tag information in the NFC tag; The business processing module is used to receive the boarding code data sent by the mobile terminal and complete asynchronous deduction based on the boarding code data.

9. A boarding code boarding device, characterized in that: The device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the method for boarding a bus using a code as described in any one of claims 1 to 7.

10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the boarding code method as described in any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Bus taking payment method and bus taking payment system

    CN105096109A

  • Methods and devices of paying vehicle riding fare and equipment

    CN108492101A

  • NFC online travel method, storage medium and program product

    CN119206879A