WO2020042812A1 - 乘车计费方法及装置 - Google Patents

乘车计费方法及装置 Download PDF

Info

Publication number
WO2020042812A1
WO2020042812A1 PCT/CN2019/096474 CN2019096474W WO2020042812A1 WO 2020042812 A1 WO2020042812 A1 WO 2020042812A1 CN 2019096474 W CN2019096474 W CN 2019096474W WO 2020042812 A1 WO2020042812 A1 WO 2020042812A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
boarding
record
riding
position information
Prior art date
Application number
PCT/CN2019/096474
Other languages
English (en)
French (fr)
Inventor
李查
李廷温
Original Assignee
阿里巴巴集团控股有限公司
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 阿里巴巴集团控股有限公司 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2020042812A1 publication Critical patent/WO2020042812A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/14Payment architectures specially adapted for billing systems
    • G06Q20/145Payments according to the detected use or quantity
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0025Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device the arrangement consisting of a wireless interrogation device in combination with a device for optically marking the record carrier

Definitions

  • the present application relates to the field of computer technology, and in particular, to a method and a device for charging vehicles.
  • buses mainly use segmented charging rules.
  • users take a bus, they use a physical bus card to swipe the card.
  • the physical card has the problems of being inconvenient to carry and aging easily.
  • a method for charging for public transportation needs to be proposed.
  • the purpose of the embodiments of the present specification is to provide a method and device for vehicle charging.
  • the embodiments of the present specification are implemented as follows:
  • a method for charging a ride which is applied to an on-board terminal of a public transportation vehicle, and the method includes:
  • the location information of the public transportation vehicle is obtained, The position information is used as the boarding position information of the riding user;
  • the boarding record and the boarding record are used by the payment server to charge the ride user in sections.
  • a ride-charging method which is applied to a payment server, the method comprising:
  • the boarding fee of the boarding user is determined and paid.
  • a ride charging device which is applied to a vehicle-mounted terminal of a public transportation vehicle, and the device includes:
  • a first obtaining module configured to obtain, in response to a first scanning operation of a first two-dimensional code of a rider user, user identifier-related information of the rider user in the first two-dimensional code;
  • a second obtaining module configured to obtain the public transportation based on an electronic fence corresponding to the public transportation vehicle and / or a positioning system of the on-board terminal in response to a first scanning operation of a first two-dimensional code of a passenger user;
  • the position information of the vehicle, and the position information is used as the boarding position information of the riding user;
  • a first sending module configured to send a boarding record of the boarding user to a payment server based on the user identification related information of the boarding user and the boarding position information;
  • a third obtaining module configured to obtain, in response to a second scanning operation of the second two-dimensional code of the riding user, user identification related information of the riding user in the second two-dimensional code
  • a fourth acquisition module configured to acquire the second scanning code based on the second QR code of the riding user based on the electronic fence corresponding to the public transportation vehicle and / or the positioning system of the onboard terminal; Position information of a public transportation vehicle, and using the position information as the alighting position information of the riding user;
  • a second sending module configured to send the getting off record of the riding user to the payment server based on the user identification related information of the riding user and the getting off location information;
  • the boarding record and the boarding record are used by the payment server to charge the ride user in sections.
  • a ride-charging device which is applied to a payment server, and the device includes:
  • a first receiving module configured to receive a boarding record of a rider
  • a second receiving module configured to receive a disembarkation record of the riding user
  • a billing module is configured to determine and pay a ride fee of the rider according to the boarding record, disembarkation record, and preset public transport segment charge rules of the rider.
  • an electronic device including:
  • a memory arranged to store computer-executable instructions that, when executed, cause the processor to perform the following operations:
  • the location information of the public transportation vehicle is obtained, and The position information is used as the boarding position information of the riding user;
  • the boarding record and the boarding record are used by the payment server to charge the ride user in sections.
  • an electronic device including:
  • a memory arranged to store computer-executable instructions that, when executed, cause the processor to perform the following operations:
  • the boarding fee of the boarding user is determined and paid.
  • a computer storage medium stores one or more programs, and the one or more programs, when executed by an electronic device including a plurality of application programs, cause the electronic The device does the following:
  • the location information of the public transportation vehicle is obtained, and The position information is used as the boarding position information of the riding user;
  • the boarding record and the boarding record are used by the payment server to charge the ride user in sections.
  • a computer storage medium stores one or more programs, and the one or more programs, when executed by an electronic device including multiple application programs, cause the electronic The device does the following:
  • the boarding fee of the boarding user is determined and paid.
  • the payment terminal when the payment terminal scans the QR code of the rider, it obtains the boarding and alighting position information of the rider and provides it to the payment server.
  • the on-board billing is implemented through the cooperation between the vehicle terminal and the payment server to realize the segmented billing of QR codes for riding on the bus, without having to rely on a physical card, and the operation is relatively simple.
  • FIG. 1 is a flowchart of a fare charging method according to an embodiment of the present specification
  • FIG. 2 is an application scenario diagram of a fare charging method according to an embodiment of the present specification
  • FIG. 3 is a system architecture diagram of a fare collection method according to an embodiment of the present specification.
  • FIG. 4 is a flowchart of a fare charging method according to another embodiment of the present specification.
  • FIG. 5 is a schematic structural diagram of a ride charging device according to an embodiment of the present specification.
  • FIG. 6 is a schematic structural diagram of a fare collection device according to another embodiment of the present specification.
  • FIG. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present specification.
  • FIG. 8 is a schematic structural diagram of an electronic device according to another embodiment of the present specification.
  • the embodiments of the present specification provide a method and a device for charging a car.
  • LBS Location-Based Service: Obtain the location information (geographical coordinates, or geodetic coordinates) of the mobile terminal user through the telecommunication mobile operator's radio communication network (such as GSM network, CDMA network).
  • GIS Geographic Supported by the Information System (Geographic Information System) platform, a value-added service that provides users with corresponding services.
  • GPS Global Positioning System
  • Vehicle terminal also known as intelligent vehicle terminal: It integrates GPS positioning, 3G communication, video monitoring, vehicle condition collection, dispatch management and other functions for modern management of public transportation vehicles, including: driving safety monitoring management, operation management, Service quality management, intelligent centralized dispatch management, and electronic station sign control management.
  • the front-end service system of the vehicle terminal runs in the server of the bus system and is used for data communication with the vehicle terminal.
  • Electronic fence also known as intelligent electronic fence: It is a smart bus based on global satellite positioning system, bus core calculation technology and text to speech (TTS) technology. ⁇ ⁇ Loaded equipment. Specifically, the coordinates of each stop of the bus line are stored in the electronic fence. When the bus enters the coordinate range, it will calculate whether to arrive at the station. If it arrives, the station announcer in the electronic fence will automatically predict the station name of the station using TTS voice. When the bus leaves the preset range of station coordinates, it will forecast the name of the next stop, and provide voice transfer services for passengers in the bus.
  • TTS text to speech
  • FIG. 1 is a flowchart of a method for charging a car in an embodiment of the present specification. The method is applied to an on-board terminal of a public transportation vehicle. As shown in FIG. 1, the method may include the following steps: step 102, step 104, step 106, step 108, step 110, and step 112, wherein:
  • step 102 in response to the first scanning operation of the first two-dimensional code of the riding user, the user identification related information of the riding user in the first two-dimensional code is obtained.
  • a user needs to swipe a QR code when getting on the bus when taking a bus.
  • the vehicle terminal can read the QR code from the QR code.
  • User ID-related information that is, user ID-related information of the rider.
  • the information related to the user identification of the riding user may be the account identification of the riding user in the payment system.
  • the payment server will set up another set of numbering systems, which includes user numbers, and each user number corresponds to the account ID of the user in the payment system.
  • the user ID related information of the user is the user ID of the rider in the payment system, not the account ID of the rider in the payment system.
  • step 104 in response to the first scanning operation of the first two-dimensional code of the riding user, based on the electronic fence and / or the positioning system of the on-board terminal of the public transportation vehicle, the location information of the public transportation vehicle is obtained, and the The position information is used as boarding position information of the boarding user.
  • the position information of the public transportation vehicle may be obtained based on the positioning system of the vehicle terminal.
  • the positioning system of the vehicle terminal may include a base station positioning module and a GPS positioning module, wherein the base station positioning module is used for positioning based on a base station of a telecommunication mobile operator, and the GPS positioning module is used for positioning a satellite based on GPS Position the position.
  • the position information of the public transportation vehicle may be acquired based on the GPS positioning module in the positioning system of the vehicle terminal; or the base station positioning in the positioning system of the vehicle terminal may be obtained.
  • the positioning system based on the electronic fence can obtain the location information of the public transportation vehicle.
  • the positioning system based on the in-vehicle terminal obtains the position information of the public transportation vehicle.
  • step 106 the boarding record of the boarding user is sent to the payment server based on the user identification related information and boarding position information of the boarding user.
  • the boarding record of the boarding user is used by the payment server to charge the boarding user in sections.
  • the boarding record carries the user identification-related information of the boarding user and the time when the boarding user boarded
  • the station information further, the boarding record can also carry the boarding time information of the boarding user.
  • the bus stop closest to the boarding position of the riding user may be used as the boarding stop of the riding user.
  • the timing of sending the boarding record of the passenger can be determined according to the network quality of the vehicle terminal. Specifically, the network quality of the vehicle terminal reaches the pre-determined level.
  • the network quality is set (that is, when the network condition is relatively good)
  • the boarding record of the boarding user is sent to the payment server based on the user identification related information and boarding position information of the boarding user.
  • the in-vehicle terminal can send the boarding record to the payment server through the server of the bus system, that is, the on-board terminal sends the boarding record of the rider to the server of the bus system, and the server of the bus system will board the boarding user. Records are forwarded to the payment server.
  • step 108 in response to the second scanning operation of the second two-dimensional code of the riding user, the user identification related information of the riding user in the second two-dimensional code is obtained.
  • the first two-dimensional code and the second two-dimensional code may be the same two-dimensional code or different two-dimensional codes, but the first two-dimensional code and the second two-dimensional code carry the same User ID related information.
  • a user needs to swipe a QR code when getting off the bus when taking the bus.
  • the vehicle terminal can read the QR code from the QR code.
  • User ID-related information that is, user ID-related information of the rider.
  • the information related to the user identification of the riding user may be the account identification of the riding user in the payment system.
  • the payment server will set up another set of numbering systems, which includes user numbers, and each user number corresponds to the account ID of the user in the payment system.
  • the user ID related information of the user is the user ID of the rider in the payment system, not the account ID of the rider in the payment system.
  • step 110 in response to the second scanning operation of the second two-dimensional code of the riding user, the location information of the public transportation vehicle is acquired based on the positioning system of the electronic fence and / or the on-board terminal corresponding to the public transportation vehicle, and The position information is used as the alighting position information of the boarding user.
  • the location information of the public transportation vehicle may be obtained based on the positioning system of the vehicle terminal.
  • the positioning system of the vehicle terminal may include a base station positioning module and a GPS positioning module, wherein the base station positioning module is used for positioning based on the network of a telecommunication mobile operator, and the GPS positioning module is used for positioning satellites based on GPS Position the position.
  • the position information of the public transportation vehicle can be obtained based on the GPS positioning module in the positioning system of the vehicle terminal; or the base station positioning in the positioning system based on the vehicle terminal Module to obtain the location information of public transportation vehicles; or, based on the base station positioning module and GPS positioning module in the positioning system of the vehicle terminal, to obtain the location information of public transportation vehicles.
  • the in-vehicle terminal is sometimes inaccurate due to being blocked, and the position data recorded in the electronic fence is usually accurate, based on this situation, in the embodiment of this specification, when the user is scanned, the QR code is scanned At this time, the electronic fence on the public transportation vehicle can be preferentially called, and the positioning system based on the electronic fence can obtain the location information of the public transportation vehicle.
  • the positioning system based on the electronic fence fails to obtain the position information (that is, the invocation of the electronic fence fails)
  • the positioning system based on the in-vehicle terminal obtains the position information of the public transportation vehicle.
  • step 112 based on the user identification related information of the boarding user and the boarding position information, the boarding user's boarding record is sent to the payment server.
  • the disembarkation record of the rider is used by the payment server to charge the rider in sections, and the disembarkation record carries the user identification-related information of the rider and the time when the rider disembarks.
  • the station information, further, the disembarkation record can also carry the disembarkation time information of the rider.
  • the bus stop closest to the boarding position of the boarding user may be used as the boarding station of the boarding user.
  • the timing of sending the disembarkation record of the passenger can be determined according to the network quality of the vehicle terminal; specifically, the network quality of the vehicle terminal reaches the When the network quality is set (that is, when the network condition is relatively good), based on the user identification-related information and the alighting position information of the rider, the disembarkation record of the rider is sent to the payment server.
  • the in-vehicle terminal may send the alighting record to the payment server through the server of the bus system, that is, the in-vehicle terminal sends the alighting record of the passenger to the server of the bus system, and the server of the bus system Records are forwarded to the payment server.
  • the payment server determines the boarding and alighting stations of the boarding user according to the boarding and alighting records of the boarding user; Then, according to the boarding, alighting, and segmented charging rules of the rider, calculate the rider's fare, and deduct the corresponding rider's fare from the rider's account.
  • FIG. 2 In order to facilitate understanding, an example description will be given in combination with the application scenario diagram shown in FIG. 2.
  • the user 20 when the user 20 is riding on the bus 22, he needs to scan the QR code on the vehicle terminal when getting on the bus. 26 Swipe the QR code displayed on the screen of the payment terminal 24.
  • the on-board terminal obtains the boarding position information of the rider 20; when you get off, you need to swipe the payment terminal on the on-board QR code scanner 26 again.
  • the two-dimensional code displayed on the screen 24 At this time, the vehicle terminal acquires the alighting position information of the passenger 20.
  • the architecture diagram includes a payment terminal, a vehicle terminal, an electronic fence, a server of a bus system, and a payment server.
  • the process for passengers taking a bus is as follows: on the vehicle ’s QR code scanner on the vehicle terminal, swipe the QR code displayed on the screen of the payment terminal.
  • the vehicle terminal scans the QR code, it will read it from the QR code Take the user ID related information of the rider and call the electronic fence. If the call is successful, the positioning system based on the electronic fence will get the boarding position information of the rider. If the call fails, the vehicle based terminal system will get the ride.
  • Vehicle user's boarding position information and then send the boarding user's boarding record to the server of the bus system based on the user identification related information and boarding position information of the boarding user, and the server of the bus system forwards the boarding user's boarding record To the payment server.
  • the vehicle terminal scans the QR code, the passenger will be read from the QR code
  • the positioning system based on the electronic fence will obtain the disembarkation position information of the rider. If the call fails, the location system of the vehicle terminal will be used to obtain the disembarkation of the rider.
  • the vehicle location information is then transmitted to the server of the bus system based on the user identification-related information of the boarding user and the boarding location information, and the server of the bus system forwards the boarding record of the boarding user to the payment server.
  • the payment server calculates the rider's fare according to the bus segment charging rules.
  • the payment terminal when the payment terminal scans the QR code of the rider, the payment terminal acquires the boarding and alighting position information of the rider and provides it to the payment server for ride charging.
  • the on-board terminal and the payment server cooperate with each other to realize the segmented billing of QR codes for riding on public transportation without having to rely on a physical card, and the operation is relatively simple.
  • FIG. 4 is a flowchart of a fare charging method according to another embodiment of the present specification. The method is applied to a payment server. As shown in FIG. 4, the method may include the following steps: step 402, step 404, and step 406, where ,
  • step 402 a boarding record of the boarding user is received.
  • the boarding record carries the user identification related information of the boarding user and the station information when the boarding user gets on the bus. Further, the boarding record may also carry the boarding time information of the boarding user.
  • step 404 a disembarkation record of the boarding user is received.
  • the disembarkation record carries the user identification related information of the rider and the station information when the disembarkation user gets off the bus. Further, the disembarkation record may also carry the disembarkation time information of the rider.
  • step 406 the ride fee of the rider is determined and paid according to the boarding record, the disembarkation record and the preset public transport segment charging rules of the rider.
  • the payment server after receiving the boarding and alighting records of the boarding user, determines the boarding and alighting stations of the boarding user according to the boarding and alighting records of the boarding user; Then, according to the boarding, alighting, and segmented charging rules of the rider, calculate the rider's fare, and deduct the corresponding rider's fare from the rider's account. After the payment of the fare is successfully paid, the payment server may also send a notification message of payment success to the payment terminal.
  • the payment terminal when the payment terminal scans the QR code of the rider, the payment terminal acquires the boarding and alighting position information of the rider and provides it to the payment server for ride charging.
  • the on-board terminal and the payment server cooperate with each other to realize the segmented billing of QR codes for riding on public transportation without having to rely on a physical card, and the operation is relatively simple.
  • FIG. 5 is a schematic structural diagram of a car charging device according to an embodiment of the present specification.
  • the car charging device is applied to an on-board terminal of a public transportation vehicle.
  • the charging device 500 may include a first obtaining module 501, a second obtaining module 502, a first sending module 503, a third obtaining module 504, a fourth obtaining module 505, and a second sending module 506.
  • a first obtaining module 501 configured to obtain, in response to a first scanning operation of a first two-dimensional code of a rider user, related information of a user identification of the rider in the first two-dimensional code;
  • the second obtaining module 502 is configured to obtain the public based on the electronic fence corresponding to the public transportation vehicle and / or the positioning system of the on-board terminal in response to the first scanning operation of the first two-dimensional code of the riding user. Position information of a traffic vehicle, and using the position information as boarding position information of the riding user;
  • a first sending module 503, configured to send a boarding record of the boarding user to a payment server based on the user identification related information of the boarding user and the boarding position information;
  • a third obtaining module 504 configured to obtain, in response to a second scanning operation of the second two-dimensional code of the riding user, user identifier-related information of the riding user in the second two-dimensional code;
  • a fourth obtaining module 505 configured to obtain a location based on an electronic fence corresponding to the public transportation vehicle and / or a positioning system of the on-board terminal in response to a second scanning operation of the second two-dimensional code of the riding user Describing the position information of the public transportation vehicle, and using the position information as the alighting position information of the riding user;
  • a second sending module 506, configured to send the getting off record of the riding user to the payment server based on the user identification related information of the riding user and the getting off location information;
  • the boarding record and the boarding record are used by the payment server to charge the ride user in sections.
  • the payment terminal when the payment terminal scans the QR code of the rider, the payment terminal acquires the boarding and alighting position information of the rider and provides it to the payment server for ride charging.
  • the on-board terminal and the payment server cooperate with each other to realize the segmented billing of QR codes for riding on public transportation without having to rely on a physical card, and the operation is relatively simple.
  • the second obtaining module 502 is specifically configured to:
  • the positioning system based on the electronic fence fails to obtain the location information, obtaining the location information of the public transportation vehicle based on the positioning system of the vehicle terminal;
  • the fourth obtaining module 505 is specifically configured to:
  • the positioning system based on the electronic fence fails to obtain the location information
  • the positioning system based on the on-board terminal obtains the location information of the public transportation vehicle.
  • the first two-dimensional code and the second two-dimensional code are the same two-dimensional code or different two-dimensional codes, and the first two-dimensional code and the second two-dimensional code are The dimension code carries the same user identification related information.
  • the first sending module 503 is specifically configured to:
  • the second sending module 506 is specifically configured to:
  • the network quality of the in-vehicle terminal reaches a preset network quality, based on the user identification related information of the riding user and the getting off location information, sending the getting off of the riding user to the payment server recording.
  • FIG. 6 is a schematic structural diagram of a car charging device according to another embodiment of the present specification.
  • the car charging device is applied to a payment server.
  • the car charging device 600 may include: a first receiving module 601, a second receiving module 602, and a charging module 603, where:
  • a first receiving module 601, configured to receive a boarding record of a riding user
  • a second receiving module 602 configured to receive a disembarkation record of the riding user
  • a billing module 603 is configured to determine and pay a ride fee of the rider according to the boarding record, the disembarkation record, and a preset public transportation segment charge rule of the rider.
  • the payment terminal when the payment terminal scans the QR code of the rider, the payment terminal acquires the boarding and alighting position information of the rider and provides it to the payment server for ride charging.
  • the on-board terminal and the payment server cooperate with each other to realize the segmented billing of QR codes for riding on public transportation without having to rely on a physical card, and the operation is relatively simple.
  • FIG. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present specification.
  • the electronic device may be a vehicle-mounted terminal.
  • the electronic device includes a processor, and optionally an internal bus and a network. Interface, memory.
  • the memory may include a memory, such as a high-speed random access memory (Random-Access Memory, RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
  • RAM random access memory
  • non-volatile memory such as at least one disk memory.
  • the electronic device may also include hardware required for other services.
  • the processor, network interface and memory can be connected to each other through an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture (Extended Industry Standard Architecture) bus and so on.
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only a two-way arrow is used in FIG. 7, but it does not mean that there is only one bus or one type of bus.
  • the program may include program code, where the program code includes a computer operation instruction.
  • the memory may include memory and non-volatile memory, and provide instructions and data to the processor.
  • the processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it to form a vehicle charging device on a logical level.
  • the processor executes a program stored in the memory, and is specifically used to perform the following operations:
  • the location information of the public transportation vehicle is obtained, and The position information is used as the boarding position information of the riding user;
  • the boarding record and the boarding record are used by the payment server to charge the ride user in sections.
  • the acquiring the location information of the public transportation vehicle based on the electronic fence corresponding to the public transportation vehicle and / or the on-board terminal positioning system includes:
  • the positioning system based on the electronic fence fails to obtain the location information
  • the positioning system based on the on-board terminal obtains the location information of the public transportation vehicle.
  • the first two-dimensional code and the second two-dimensional code are the same two-dimensional code or different two-dimensional codes, and the first two-dimensional code and the second two-dimensional code are The dimension code carries the same user identification related information.
  • the sending the boarding record of the boarding user to the payment server based on the user identification related information of the boarding user and the boarding position information includes:
  • the sending the getting off record of the riding user to the payment server based on the user identification related information of the riding user and the getting off location information includes:
  • the network quality of the in-vehicle terminal reaches a preset network quality, based on the user identification related information of the riding user and the getting off location information, sending the getting off of the riding user to the payment server recording.
  • the method performed by the ride-charging device disclosed in the embodiment shown in FIG. 7 of the present specification may be applied to a processor, or implemented by a processor.
  • the processor may be an integrated circuit chip with signal processing capabilities.
  • each step of the above method may be completed by an integrated logic circuit of hardware in a processor or an instruction in a software form.
  • the aforementioned processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc .; it may also be a digital signal processor (DSP), special integration Circuit (Application Specific Integrated Circuit, ASIC), Field Programmable Gate Array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
  • a general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the steps of the method disclosed in combination with the embodiments of the present specification may be directly embodied as being executed by a hardware decoding processor, or may be executed and completed by using a combination of hardware and software modules in the decoding processor.
  • the software module may be located in a mature storage medium such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, and the like.
  • the storage medium is located in a memory, and the processor reads the information in the memory and completes the steps of the foregoing method in combination with its hardware.
  • the electronic device can also execute the method in FIG. 1 and implement the functions of the embodiment of the fare charging apparatus shown in FIG. 1, which will not be described in detail in the embodiments of the present specification.
  • FIG. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present specification.
  • the electronic device may be a payment server.
  • the electronic device includes a processor, and optionally an internal bus and network Interface, memory.
  • the memory may include a memory, such as a high-speed random access memory (Random-Access Memory, RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
  • RAM random access memory
  • non-volatile memory such as at least one disk memory.
  • the electronic device may also include hardware required for other services.
  • the processor, network interface and memory can be connected to each other through an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture (Extended Industry Standard Architecture) bus and so on.
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only a two-way arrow is used in FIG. 8, but it does not mean that there is only one bus or one type of bus.
  • the program may include program code, where the program code includes a computer operation instruction.
  • the memory may include memory and non-volatile memory, and provide instructions and data to the processor.
  • the processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it to form a vehicle charging device on a logical level.
  • the processor executes a program stored in the memory, and is specifically used to perform the following operations:
  • the boarding fee of the boarding user is determined and paid.
  • the method performed by the ride-charging device disclosed in the embodiment shown in FIG. 8 of the present specification may be applied to a processor, or implemented by a processor.
  • the processor may be an integrated circuit chip with signal processing capabilities.
  • each step of the above method may be completed by an integrated logic circuit of hardware in a processor or an instruction in a form of software.
  • the aforementioned processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc .; it may also be a digital signal processor (DSP), special integration Circuit (Application Specific Integrated Circuit, ASIC), Field Programmable Gate Array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
  • a general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the steps of the method disclosed in combination with the embodiments of the present specification may be directly embodied as being executed by a hardware decoding processor, or may be executed and completed by using a combination of hardware and software modules in the decoding processor.
  • the software module may be located in a mature storage medium such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, and the like.
  • the storage medium is located in a memory, and the processor reads the information in the memory and completes the steps of the foregoing method in combination with its hardware.
  • the electronic device can also execute the method in FIG. 4 and implement the functions of the embodiment of the fare charging apparatus shown in FIG. 4, which will not be described in detail in the embodiments of the present specification.
  • An embodiment of the present specification also provides a computer-readable storage medium, where the computer-readable storage medium stores one or more programs, the one or more programs include instructions, and the instructions should be a portable electronic device including a plurality of application programs.
  • the portable electronic device can be caused to execute the method in the embodiment shown in FIG. 1, and is specifically configured to execute the following method:
  • the location information of the public transportation vehicle is obtained, and The position information is used as the boarding position information of the riding user;
  • the boarding record and the boarding record are used by the payment server to charge the ride user in sections.
  • An embodiment of the present specification also provides a computer-readable storage medium, where the computer-readable storage medium stores one or more programs, the one or more programs include instructions, and the instructions should be a portable electronic device including a plurality of application programs.
  • the portable electronic device can be caused to execute the method in the embodiment shown in FIG. 4, and is specifically configured to execute the following method:
  • the boarding fee of the boarding user is determined and paid.
  • the system, device, module, or unit described in the foregoing embodiments may be specifically implemented by a computer chip or entity, or a product with a certain function.
  • a typical implementation device is a computer.
  • the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or A combination of any of these devices.
  • Computer-readable media includes both permanent and non-persistent, removable and non-removable media.
  • Information can be stored by any method or technology.
  • Information can be computer-readable instructions, data structures, modules of a program, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), and read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, read-only disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media may be used to store information that can be accessed by computing devices.
  • computer-readable media does not include temporary computer-readable media, such as modulated data signals and carrier waves.

Abstract

本说明书实施例提供一种乘车计费方法及装置,该方法包括:响应于对乘车用户的第一二维码的第一扫描操作,获取乘车用户的用户标识相关信息,基于公共交通车辆对应的电子围栏和/或车载终端的定位系统获取公共交通车辆的位置信息,并将其作为乘车用户的上车位置信息;基于乘车用户的用户标识相关信息和上车位置信息向支付服务器发送乘车用户的上车记录;响应于对乘车用户的第二二维码的第二扫描操作,获取乘车用户的用户标识相关信息,基于公共交通车辆对应的电子围栏和/或车载终端的定位系统获取公共交通车辆的位置信息,并将其作为乘车用户的下车位置信息;基于乘车用户的用户标识相关信息和下车位置信息向支付服务器发送乘车用户的下车记录。

Description

乘车计费方法及装置 技术领域
本申请涉及计算机技术领域,尤其涉及一种乘车计费方法及装置。
背景技术
近年来,随着城市交通网络的发达,越来越多的用户选择乘坐公交车出行。目前,公交车主要采用分段计费的计费规则,用户在乘坐公交车时,使用实体公交卡刷卡,通过上车刷卡和下车刷卡的方式,实现公交车的分段计费扣费,但是实体卡存在携带不方便、且容易老化的问题。为了解决上述问题,需要提出一种公共交通的乘车计费方法。
发明内容
本说明书实施例的目的是提供一种乘车计费方法及装置,本说明书实施例是这样实现的:
第一方面,提供了一种乘车计费方法,应用于公共交通车辆的车载终端,所述方法包括:
响应于对乘车用户的第一二维码的第一扫描操作,获取所述第一二维码中所述乘车用户的用户标识相关信息;
响应于对乘车用户的第一二维码的第一扫描操作,基于所述公共交通车辆对应的电子围栏和/或所述车载终端的定位系统获取所述公共交通车辆的位置信息,并将该位置信息作为所述乘车用户的上车位置信息;
基于所述乘车用户的用户标识相关信息和所述上车位置信息,向支付服务器发送所述乘车用户的上车记录;
响应于对所述乘车用户的第二二维码的第二扫描操作,获取所述第二二维码中所述乘车用户的用户标识相关信息;
响应于对所述乘车用户的第二二维码的第二扫描操作,基于所述公共交通车辆对应的电子围栏和/或所述车载终端的定位系统获取所述公共交通车辆的位置信息,并将该位置信息作为所述乘车用户的下车位置信息;
基于所述乘车用户的用户标识相关信息和所述下车位置信息,向所述支付服务器发送所述乘车用户的下车记录;
所述上车记录和所述下车记录用于所述支付服务器对所述乘车用户进行分段计费。
第二方面,提供了一种乘车计费方法,应用于支付服务器,所述方法包括:
接收乘车用户的上车记录;
接收所述乘车用户的下车记录;
根据所述乘车用户的上车记录、下车记录和预设公共交通分段计费规则,确定所述乘车用户的乘车费用,并支付。
第三方面,提供了一种乘车计费装置,应用于公共交通车辆的车载终端,所述装置包括:
第一获取模块,用于响应于对乘车用户的第一二维码的第一扫描操作,获取所述第一二维码中所述乘车用户的用户标识相关信息;
第二获取模块,用于响应于对乘车用户的第一二维码的第一扫描操作,基于所述公共交通车辆对应的电子围栏和/或所述车载终端的定位系统获取所述公共交通车辆的位置信息,并将该位置信息作为所述乘车用户的上车位置信息;
第一发送模块,用于基于所述乘车用户的用户标识相关信息和所述上车位置信息,向支付服务器发送所述乘车用户的上车记录;
第三获取模块,用于响应于对所述乘车用户的第二二维码的第二扫描操作,获取所述第二二维码中所述乘车用户的用户标识相关信息;
第四获取模块,用于响应于对所述乘车用户的第二二维码的第二扫描操作,基于所述公共交通车辆对应的电子围栏和/或所述车载终端的定位系统获取所述公共交通车辆的位置信息,并将该位置信息作为所述乘车用户的下车位置信息;
第二发送模块,用于基于所述乘车用户的用户标识相关信息和所述下车位置信息,向所述支付服务器发送所述乘车用户的下车记录;
所述上车记录和所述下车记录用于所述支付服务器对所述乘车用户进行分段计费。
第四方面,提供了一种乘车计费装置,应用于支付服务器,所述装置包括:
第一接收模块,用于接收乘车用户的上车记录;
第二接收模块,用于接收所述乘车用户的下车记录;
计费模块,用于根据所述乘车用户的上车记录、下车记录和预设公共交通分段计费规则,确定所述乘车用户的乘车费用,并支付。
第五方面,提供了一种电子设备,包括:
处理器;以及
被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器执行以下操作:
响应于对乘车用户的第一二维码的第一扫描操作,获取所述第一二维码中所述乘车用户的用户标识相关信息;
响应于对乘车用户的第一二维码的第一扫描操作,基于所述公共交通车辆对应的电子围栏和/或所述车载终端的定位系统获取所述公共交通车辆的位置信息,并将该位置信息作为所述乘车用户的上车位置信息;
基于所述乘车用户的用户标识相关信息和所述上车位置信息,向支付服务器发送所述乘车用户的上车记录;
响应于对所述乘车用户的第二二维码的第二扫描操作,获取所述第二二维码中所述乘车用户的用户标识相关信息;
响应于对所述乘车用户的第二二维码的第二扫描操作,基于所述公共交通车辆对应的电子围栏和/或所述车载终端的定位系统获取所述公共交通车辆的位置信息,并将该位置信息作为所述乘车用户的下车位置信息;
基于所述乘车用户的用户标识相关信息和所述下车位置信息,向所述支付服务器发送所述乘车用户的下车记录;
所述上车记录和所述下车记录用于所述支付服务器对所述乘车用户进行分段计费。
第六方面,提供了一种电子设备,包括:
处理器;以及
被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器执行以下操作:
接收乘车用户的上车记录;
接收所述乘车用户的下车记录;
根据所述乘车用户的上车记录、下车记录和预设公共交通分段计费规则,确定所述乘车用户的乘车费用,并支付。
第七方面,提供了一种计算机存储介质,所述计算机可读存储介质存储一个或多个程序,所述一个或多个程序当被包括多个应用程序的电子设备执行时,使得所述电子设备执行以下操作:
响应于对乘车用户的第一二维码的第一扫描操作,获取所述第一二维码中所述乘车用户的用户标识相关信息;
响应于对乘车用户的第一二维码的第一扫描操作,基于所述公共交通车辆对应的电子围栏和/或所述车载终端的定位系统获取所述公共交通车辆的位置信息,并将该位置信息作为所述乘车用户的上车位置信息;
基于所述乘车用户的用户标识相关信息和所述上车位置信息,向支付服务器发送所述乘车用户的上车记录;
响应于对所述乘车用户的第二二维码的第二扫描操作,获取所述第二二维码中所述乘车用户的用户标识相关信息;
响应于对所述乘车用户的第二二维码的第二扫描操作,基于所述公共交通车辆对应的电子围栏和/或所述车载终端的定位系统获取所述公共交通车辆的位置信息,并将该位置信息作为所述乘车用户的下车位置信息;
基于所述乘车用户的用户标识相关信息和所述下车位置信息,向所述支付服务器发送所述乘车用户的下车记录;
所述上车记录和所述下车记录用于所述支付服务器对所述乘车用户进行分段计费。
第八方面,提供了一种计算机存储介质,所述计算机可读存储介质存储一个或多个程序,所述一个或多个程序当被包括多个应用程序的电子设备执行时,使得所述电子设备执行以下操作:
接收乘车用户的上车记录;
接收所述乘车用户的下车记录;
根据所述乘车用户的上车记录、下车记录和预设公共交通分段计费规则,确定所述乘车用户的乘车费用,并支付。
由以上本说明书实施例提供的技术方案可见,本说明书实施例中,支付终端在扫描到乘车用户的二维码时,获取该乘车用户的上、下车位置信息,并提供给支付服务器进行乘车计费,通过车载终端与支付服务器的相互配合,实现刷二维码乘坐公交的分段计费,而不必依赖于实体卡,操作比较简单。
附图说明
为了更清楚地说明本说明书实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本说明书中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1是本说明书的一个实施例的乘车计费方法的流程图;
图2是本说明书的一个实施例的乘车计费方法的应用场景图;
图3是本说明书的一个实施例的乘车计费方法的系统架构图;
图4是本说明书的另一个实施例的乘车计费方法的流程图;
图5是本说明书的一个实施例的乘车计费装置的结构示意图;
图6是本说明书的另一个实施例的乘车计费装置的结构示意图;
图7是本说明书的一个实施例的电子设备的结构示意图;
图8是本说明书的另一个实施例的电子设备的结构示意图。
具体实施方式
为了使本技术领域的人员更好地理解本说明书中的技术方案,下面将结合本说明书实施例中的附图,对本说明书实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本说明书一部分实施例,而不是全部的实施例。基于本说明书中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本说明书保护的范围。
本说明书实施例提供了一种乘车计费方法及装置。
下面首先对本说明书实施例中涉及到的一些概念进行介绍。
基于位置的服务(Location Based Service,LBS):通过电信移动运营商的无线电通 讯网络(例如GSM网、CDMA网),获取移动终端用户的位置信息(地理坐标,或大地坐标),在GIS(Geographic Information System,地理信息系统)平台的支持下,为用户提供相应服务的一种增值业务。
全球卫星定位系统(Global Positioning System,GPS):利用GPS定位卫星,在全球范围内实时进行定位、导航的系统。
车载终端(又称为智能车载终端):集GPS定位、3G通讯、视频监控、车况采集、调度管理等功能为一体,用于对公交车辆进行现代化管理,包括:行车安全监控管理、运营管理、服务质量管理、智能集中调度管理和电子站牌控制管理等。
车载终端的前置服务系统:运行于公交系统的服务器中,用于与车载终端进行数据通讯。
电子围栏(又称为智能电子围栏):是基于全球卫星定位系统、公交车到站自动计算核心技术以及从文本到语音(Text To Speech,TTS)技术,实现公交车自动报站的智能公交车载设备。具体的,公交线路每个站点坐标存储在电子围栏中,当公交车进入坐标范围就会计算是否到站,如果到站,则电子围栏中的报站器利用TTS语音自动预报该站的站名,当公交车驶出站点坐标预设的范围时会预报下一站的站名,为公交车内乘客提供语音换乘服务。
接下来对本说明书实施例提供的一种乘车计费方法进行介绍。
图1是本说明书的一个实施例的乘车计费方法的流程图,该方法应用于公共交通车辆的车载终端,如图1所示,该方法可以包括以下步骤:步骤102、步骤104、步骤106、步骤108、步骤110和步骤112,其中,
在步骤102中,响应于对乘车用户的第一二维码的第一扫描操作,获取第一二维码中乘车用户的用户标识相关信息。
本说明书实施例中,用户在乘坐公交车时,上车需要刷二维码,在扫描到乘车用户的二维码时,车载终端可以从二维码中读取该二维码中携带的用户标识相关信息,即乘车用户的用户标识相关信息。
本说明书实施例中,乘车用户的用户标识相关信息可以为乘车用户在支付系统中的账户标识。或者,为了避免支付系统中的账户信息被泄露,支付服务器会设置另外一套编号体系,该编号体系中包括用户编号,每个用户编号分别对应支付系统中用户的账户标识,相应的,乘车用户的用户标识相关信息为乘车用户在支付系统中的用户编号,而 不是乘车用户在支付系统中的账户标识。
在步骤104中,响应于对乘车用户的第一二维码的第一扫描操作,基于公共交通车辆对应的电子围栏和/或车载终端的定位系统获取公共交通车辆的位置信息,并将该位置信息作为乘车用户的上车位置信息。
本说明书实施例中,在扫描到乘车用户上车刷二维码时,可以基于车载终端的定位系统获取公共交通车辆的位置信息。
本说明书实施例中,车载终端的定位系统中可以包括基站定位模块和GPS定位模块,其中,基站定位模块用于基于电信移动运营商的基站进行位置的定位,GPS定位模块用于基于GPS定位卫星进行位置的定位。具体的,在扫描到乘车用户上车刷二维码时,可以基于车载终端的定位系统中的GPS定位模块,获取公共交通车辆的位置信息;或者,基于车载终端的定位系统中的基站定位模块,获取公共交通车辆的位置信息;或者,基于车载终端的定位系统中的基站定位模块和GPS定位模块,获取公共交通车辆的位置信息。
考虑到车载终端有时会因被遮挡而造成定位不准确、且电子围栏中记录的位置数据通常比较准确,基于这种情况,本说明书实施例中,在扫描到乘车用户上车刷二维码时,可以优先选择调用公共交通车辆上的电子围栏,基于该电子围栏的定位系统获取公共交通车辆的位置信息。当基于电子围栏的定位系统获取位置信息失败(即调用电子围栏失败)时,再基于车载终端的定位系统获取公共交通车辆的位置信息。
在步骤106中,基于乘车用户的用户标识相关信息和上车位置信息,向支付服务器发送乘车用户的上车记录。
本说明书实施例中,乘车用户的上车记录用于支付服务器对该乘车用户进行分段计费,其中,上车记录中携带乘车用户的用户标识相关信息和乘车用户上车时的站点信息,进一步的,上车记录中还可以携带乘车用户的上车时间信息。
本说明书实施例中,可以将乘车用户的上车位置距离最近的公交站点作为乘车用户的上车站点。
为了保证上车记录可以被支付服务器接收到,本说明书实施例中,可以根据车载终端的网络质量,来决定发送乘车用户的上车记录的时机;具体的,在车载终端的网络质量达到预设网络质量的情况下(即在网络状况比较好的情况下),基于乘车用户的用户标识相关信息和上车位置信息,向支付服务器发送乘车用户的上车记录。
本说明书实施例中,车载终端可以通过公交系统的服务器向支付服务器发送上车记录,即车载终端向公交系统的服务器发送乘车用户的上车记录,公交系统的服务器将乘车用户的上车记录转发给支付服务器。
在步骤108中,响应于对乘车用户的第二二维码的第二扫描操作,获取第二二维码中乘车用户的用户标识相关信息。
本说明书实施例中,第一二维码与第二二维码可以为相同的二维码,也可以为不同的二维码,但是第一二维码和第二二维码中携带相同的用户标识相关信息。
本说明书实施例中,用户在乘坐公交车时,下车需要刷二维码,在扫描到乘车用户的二维码时,车载终端可以从二维码中读取该二维码中携带的用户标识相关信息,即乘车用户的用户标识相关信息。
本说明书实施例中,乘车用户的用户标识相关信息可以为乘车用户在支付系统中的账户标识。或者,为了避免支付系统中的账户信息被泄露,支付服务器会设置另外一套编号体系,该编号体系中包括用户编号,每个用户编号分别对应支付系统中用户的账户标识,相应的,乘车用户的用户标识相关信息为乘车用户在支付系统中的用户编号,而不是乘车用户在支付系统中的账户标识。
在步骤110中,响应于对乘车用户的第二二维码的第二扫描操作,基于公共交通车辆对应的电子围栏和/或车载终端的定位系统获取公共交通车辆的位置信息,并将该位置信息作为乘车用户的下车位置信息。
本说明书实施例中,在扫描到乘车用户下车刷二维码时,可以基于车载终端的定位系统获取公共交通车辆的位置信息。
本说明书实施例中,车载终端的定位系统中可以包括基站定位模块和GPS定位模块,其中,基站定位模块用于基于电信移动运营商的网络进行位置的定位,GPS定位模块用于基于GPS定位卫星进行位置的定位。具体的,在扫描到乘车用户下车刷二维码时,可以基于车载终端的定位系统中的GPS定位模块,获取公共交通车辆的位置信息;或者,基于车载终端的定位系统中的基站定位模块,获取公共交通车辆的位置信息;或者,基于车载终端的定位系统中的基站定位模块和GPS定位模块,获取公共交通车辆的位置信息。
考虑到车载终端有时会因被遮挡而造成定位不准确、且电子围栏中记录的位置数据通常比较准确,基于这种情况,本说明书实施例中,在扫描到乘车用户下车刷二维码时, 可以优先选择调用公共交通车辆上的电子围栏,基于该电子围栏的定位系统获取公共交通车辆的位置信息。当基于电子围栏的定位系统获取位置信息失败(即调用电子围栏失败)时,再基于车载终端的定位系统获取公共交通车辆的位置信息。
在步骤112中,基于乘车用户的用户标识相关信息和下车位置信息,向支付服务器发送乘车用户的下车记录。
本说明书实施例中,乘车用户的下车记录用于支付服务器对该乘车用户进行分段计费,其中,下车记录中携带乘车用户的用户标识相关信息和乘车用户下车时的站点信息,进一步的,下车记录中还可以携带乘车用户的下车时间信息。
本说明书实施例中,可以将乘车用户的下车位置距离最近的公交站点作为乘车用户的下车站点。
为了保证下车记录可以被支付服务器接收到,本说明书实施例中,可以根据车载终端的网络质量,来决定发送乘车用户的下车记录的时机;具体的,在车载终端的网络质量达到预设网络质量的情况下(即在网络状况比较好的情况下),基于乘车用户的用户标识相关信息和下车位置信息,向支付服务器发送乘车用户的下车记录。
本说明书实施例中,车载终端可以通过公交系统的服务器向支付服务器发送下车记录,即车载终端向公交系统的服务器发送乘车用户的下车记录,公交系统的服务器将乘车用户的下车记录转发给支付服务器。
本说明书实施例中,在接收到乘车用户的上车记录和下车记录后,支付服务器根据乘车用户的上车记录和下车记录,确定乘车用户的上车站点和下车站点;之后,根据乘车用户的上车站点、下车站点和公交分段计费规则,计算乘车用户的乘车费用,并从乘车用户的账户扣除相应的乘车费用。
为了便于理解,结合图2所示的应用场景图进行举例描述,如图2所示,乘车用户20在乘坐公交车22的过程中,上车时需要在车载终端的二维码扫码机26上刷支付终端24屏幕上显示的二维码,此时,车载终端获取乘车用户20的上车位置信息;下车时需要再次在车载终端的二维码扫码机26上刷支付终端24屏幕上显示的二维码,此时,车载终端获取乘车用户20的下车位置信息。
结合图3所示的系统架构图对后台的处理过程进行描述,如图3所示,该架构图中包括:支付终端、车载终端、电子围栏、公交系统的服务器和支付服务器。乘车用户乘坐公交车的流程如下:上车时在车载终端的二维码扫描机上,刷支付终端屏幕上显 示的二维码,车载终端扫描到二维码时,会从二维码中读取乘车用户的用户标识相关信息,并去调用电子围栏,如果调用成功,则基于电子围栏的定位系统获取乘车用户的上车位置信息,如果调用失败,则基于车载终端的定位系统获取乘车用户的上车位置信息,之后基于乘车用户的用户标识相关信息和上车位置信息向公交系统的服务器发送乘车用户的上车记录,公交系统的服务器将乘车用户的上车记录转发给支付服务器。在乘车用户下车时,再次在车载终端的二维码扫描机上,刷支付终端屏幕上显示的二维码,车载终端扫描到二维码时,会从二维码中读取乘车用户的用户标识相关信息,并去调用电子围栏,如果调用成功,则基于电子围栏的定位系统获取乘车用户的下车位置信息,如果调用失败,则基于车载终端的定位系统获取乘车用户的下车位置信息,之后基于乘车用户的用户标识相关信息和下车位置信息向公交系统的服务器发送乘车用户的下车记录,公交系统的服务器将乘车用户的下车记录转发给支付服务器。支付服务器在接收到乘车用户的上车记录和下车记录后,根据公交分段计费规则计算乘车用户的乘车费用。
由上述实施例可见,该实施例中,支付终端在扫描到乘车用户的二维码时,获取该乘车用户的上、下车位置信息,并提供给支付服务器进行乘车计费,通过车载终端与支付服务器的相互配合,实现刷二维码乘坐公交的分段计费,而不必依赖于实体卡,操作比较简单。
图4是本说明书的另一个实施例的乘车计费方法的流程图,该方法应用于支付服务器,如图4所示,该方法可以包括以下步骤:步骤402、步骤404和步骤406,其中,
在步骤402中,接收乘车用户的上车记录。
本说明书实施例中,上车记录中携带乘车用户的用户标识相关信息和乘车用户上车时的站点信息,进一步的,上车记录中还可以携带乘车用户的上车时间信息。
在步骤404中,接收乘车用户的下车记录。
本说明书实施例中,下车记录中携带乘车用户的用户标识相关信息和乘车用户下车时的站点信息,进一步的,下车记录中还可以携带乘车用户的下车时间信息。
在步骤406中,根据乘车用户的上车记录、下车记录和预设公共交通分段计费规则,确定乘车用户的乘车费用,并支付。
本说明书实施例中,在接收到乘车用户的上车记录和下车记录后,支付服务器根据乘车用户的上车记录和下车记录,确定乘车用户的上车站点和下车站点;之后,根 据乘车用户的上车站点、下车站点和公交分段计费规则,计算乘车用户的乘车费用,并从乘车用户的账户扣除相应的乘车费用。在乘车费用支付成功之后,支付服务器还可以向支付终端发送支付成功的通知消息。
由上述实施例可见,该实施例中,支付终端在扫描到乘车用户的二维码时,获取该乘车用户的上、下车位置信息,并提供给支付服务器进行乘车计费,通过车载终端与支付服务器的相互配合,实现刷二维码乘坐公交的分段计费,而不必依赖于实体卡,操作比较简单。
图5是本说明书的一个实施例的乘车计费装置的结构示意图,该乘车计费装置应用于公共交通车辆的车载终端,如图5所示,在一种软件实施方式中,乘车计费装置500,可以包括:第一获取模块501、第二获取模块502、第一发送模块503、第三获取模块504、第四获取模块505和第二发送模块506,其中,
第一获取模块501,用于响应于对乘车用户的第一二维码的第一扫描操作,获取所述第一二维码中所述乘车用户的用户标识相关信息;
第二获取模块502,用于响应于对乘车用户的第一二维码的第一扫描操作,基于所述公共交通车辆对应的电子围栏和/或所述车载终端的定位系统获取所述公共交通车辆的位置信息,并将该位置信息作为所述乘车用户的上车位置信息;
第一发送模块503,用于基于所述乘车用户的用户标识相关信息和所述上车位置信息,向支付服务器发送所述乘车用户的上车记录;
第三获取模块504,用于响应于对所述乘车用户的第二二维码的第二扫描操作,获取所述第二二维码中所述乘车用户的用户标识相关信息;
第四获取模块505,用于响应于对所述乘车用户的第二二维码的第二扫描操作,基于所述公共交通车辆对应的电子围栏和/或所述车载终端的定位系统获取所述公共交通车辆的位置信息,并将该位置信息作为所述乘车用户的下车位置信息;
第二发送模块506,用于基于所述乘车用户的用户标识相关信息和所述下车位置信息,向所述支付服务器发送所述乘车用户的下车记录;
所述上车记录和所述下车记录用于所述支付服务器对所述乘车用户进行分段计费。
由上述实施例可见,该实施例中,支付终端在扫描到乘车用户的二维码时,获 取该乘车用户的上、下车位置信息,并提供给支付服务器进行乘车计费,通过车载终端与支付服务器的相互配合,实现刷二维码乘坐公交的分段计费,而不必依赖于实体卡,操作比较简单。
可选地,作为一个实施例,所述第二获取模块502,具体用于:
响应于对乘车用户的第一二维码的第一扫描操作,调用所述公共交通车辆对应的电子围栏,基于电子围栏的定位系统获取所述公共交通车辆的位置信息;
如果基于所述电子围栏的定位系统获取位置信息失败,则基于所述车载终端的定位系统获取所述公共交通车辆的位置信息;
所述第四获取模块505,具体用于:
响应于对所述乘车用户的第二二维码的第二扫描操作,调用所述公共交通车辆对应的电子围栏,基于电子围栏的定位系统获取所述公共交通车辆的位置信息;
如果基于所述电子围栏的定位系统获取位置信息失败,则基于所述车载终端的定位系统获取所述公共交通车辆的位置信息。
可选地,作为一个实施例,所述第一二维码与所述第二二维码为相同的二维码或者不同的二维码,所述第一二维码和所述第二二维码中携带相同的用户标识相关信息。
可选地,作为一个实施例,所述第一发送模块503,具体用于:
在所述车载终端的网络质量达到预设网络质量的情况下,基于所述乘车用户的用户标识相关信息和所述上车位置信息,向支付服务器发送所述乘车用户的上车记录;
所述第二发送模块506,具体用于:
在所述车载终端的网络质量达到预设网络质量的情况下,基于所述乘车用户的用户标识相关信息和所述下车位置信息,向所述支付服务器发送所述乘车用户的下车记录。
图6是本说明书的另一个实施例的乘车计费装置的结构示意图,该乘车计费装置应用于支付服务器,如图6所示,在一种软件实施方式中,乘车计费装置600,可以包括:第一接收模块601、第二接收模块602和计费模块603,其中,
第一接收模块601,用于接收乘车用户的上车记录;
第二接收模块602,用于接收所述乘车用户的下车记录;
计费模块603,用于根据所述乘车用户的上车记录、下车记录和预设公共交通分段计费规则,确定所述乘车用户的乘车费用,并支付。
由上述实施例可见,该实施例中,支付终端在扫描到乘车用户的二维码时,获取该乘车用户的上、下车位置信息,并提供给支付服务器进行乘车计费,通过车载终端与支付服务器的相互配合,实现刷二维码乘坐公交的分段计费,而不必依赖于实体卡,操作比较简单。
图7是本说明书的一个实施例的电子设备的结构示意图,该电子设备可以为车载终端,如图7所示,在硬件层面,该电子设备包括处理器,可选地还包括内部总线、网络接口、存储器。其中,存储器可能包含内存,例如高速随机存取存储器(Random-Access Memory,RAM),也可能还包括非易失性存储器(non-volatile memory),例如至少1个磁盘存储器等。当然,该电子设备还可能包括其他业务所需要的硬件。
处理器、网络接口和存储器可以通过内部总线相互连接,该内部总线可以是ISA(Industry Standard Architecture,工业标准体系结构)总线、PCI(Peripheral Component Interconnect,外设部件互连标准)总线或EISA(Extended Industry Standard Architecture,扩展工业标准结构)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图7中仅用一个双向箭头表示,但并不表示仅有一根总线或一种类型的总线。
存储器,用于存放程序。具体地,程序可以包括程序代码,所述程序代码包括计算机操作指令。存储器可以包括内存和非易失性存储器,并向处理器提供指令和数据。
处理器从非易失性存储器中读取对应的计算机程序到内存中然后运行,在逻辑层面上形成乘车计费装置。处理器,执行存储器所存放的程序,并具体用于执行以下操作:
响应于对乘车用户的第一二维码的第一扫描操作,获取所述第一二维码中所述乘车用户的用户标识相关信息;
响应于对乘车用户的第一二维码的第一扫描操作,基于所述公共交通车辆对应的电子围栏和/或所述车载终端的定位系统获取所述公共交通车辆的位置信息,并将该位置信息作为所述乘车用户的上车位置信息;
基于所述乘车用户的用户标识相关信息和所述上车位置信息,向支付服务器发送所述乘车用户的上车记录;
响应于对所述乘车用户的第二二维码的第二扫描操作,获取所述第二二维码中 所述乘车用户的用户标识相关信息;
响应于对所述乘车用户的第二二维码的第二扫描操作,基于所述公共交通车辆对应的电子围栏和/或所述车载终端的定位系统获取所述公共交通车辆的位置信息,并将该位置信息作为所述乘车用户的下车位置信息;
基于所述乘车用户的用户标识相关信息和所述下车位置信息,向所述支付服务器发送所述乘车用户的下车记录;
所述上车记录和所述下车记录用于所述支付服务器对所述乘车用户进行分段计费。
可选地,作为一个实施例,所述基于所述公共交通车辆对应的电子围栏和/或所述车载终端的定位系统获取所述公共交通车辆的位置信息,包括:
调用所述公共交通车辆对应的电子围栏,基于电子围栏的定位系统获取所述公共交通车辆的位置信息;
如果基于所述电子围栏的定位系统获取位置信息失败,则基于所述车载终端的定位系统获取所述公共交通车辆的位置信息。
可选地,作为一个实施例,所述第一二维码与所述第二二维码为相同的二维码或者不同的二维码,所述第一二维码和所述第二二维码中携带相同的用户标识相关信息。
可选地,作为一个实施例,所述基于所述乘车用户的用户标识相关信息和所述上车位置信息,向支付服务器发送所述乘车用户的上车记录,包括:
在所述车载终端的网络质量达到预设网络质量的情况下,基于所述乘车用户的用户标识相关信息和所述上车位置信息,向支付服务器发送所述乘车用户的上车记录;
所述基于所述乘车用户的用户标识相关信息和所述下车位置信息,向所述支付服务器发送所述乘车用户的下车记录,包括:
在所述车载终端的网络质量达到预设网络质量的情况下,基于所述乘车用户的用户标识相关信息和所述下车位置信息,向所述支付服务器发送所述乘车用户的下车记录。
上述如本说明书图7所示实施例揭示的乘车计费装置执行的方法可以应用于处理器中,或者由处理器实现。处理器可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形 式的指令完成。上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本说明书实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本说明书实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。
该电子设备还可执行图1的方法,并实现乘车计费装置在图1所示实施例的功能,本说明书实施例在此不再赘述。
图8是本说明书的一个实施例的电子设备的结构示意图,该电子设备可以为支付服务器,如图8所示,在硬件层面,该电子设备包括处理器,可选地还包括内部总线、网络接口、存储器。其中,存储器可能包含内存,例如高速随机存取存储器(Random-Access Memory,RAM),也可能还包括非易失性存储器(non-volatile memory),例如至少1个磁盘存储器等。当然,该电子设备还可能包括其他业务所需要的硬件。
处理器、网络接口和存储器可以通过内部总线相互连接,该内部总线可以是ISA(Industry Standard Architecture,工业标准体系结构)总线、PCI(Peripheral Component Interconnect,外设部件互连标准)总线或EISA(Extended Industry Standard Architecture,扩展工业标准结构)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图8中仅用一个双向箭头表示,但并不表示仅有一根总线或一种类型的总线。
存储器,用于存放程序。具体地,程序可以包括程序代码,所述程序代码包括计算机操作指令。存储器可以包括内存和非易失性存储器,并向处理器提供指令和数据。
处理器从非易失性存储器中读取对应的计算机程序到内存中然后运行,在逻辑层面上形成乘车计费装置。处理器,执行存储器所存放的程序,并具体用于执行以下操作:
接收乘车用户的上车记录;
接收所述乘车用户的下车记录;
根据所述乘车用户的上车记录、下车记录和预设公共交通分段计费规则,确定所述乘车用户的乘车费用,并支付。
上述如本说明书图8所示实施例揭示的乘车计费装置执行的方法可以应用于处理器中,或者由处理器实现。处理器可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本说明书实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本说明书实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。
该电子设备还可执行图4的方法,并实现乘车计费装置在图4所示实施例的功能,本说明书实施例在此不再赘述。
本说明书实施例还提供了一种计算机可读存储介质,该计算机可读存储介质存储一个或多个程序,该一个或多个程序包括指令,该指令当被包括多个应用程序的便携式电子设备执行时,能够使该便携式电子设备执行图1所示实施例的方法,并具体用于执行以下方法:
响应于对乘车用户的第一二维码的第一扫描操作,获取所述第一二维码中所述乘车用户的用户标识相关信息;
响应于对乘车用户的第一二维码的第一扫描操作,基于所述公共交通车辆对应的电子围栏和/或所述车载终端的定位系统获取所述公共交通车辆的位置信息,并将该位置信息作为所述乘车用户的上车位置信息;
基于所述乘车用户的用户标识相关信息和所述上车位置信息,向支付服务器发 送所述乘车用户的上车记录;
响应于对所述乘车用户的第二二维码的第二扫描操作,获取所述第二二维码中所述乘车用户的用户标识相关信息;
响应于对所述乘车用户的第二二维码的第二扫描操作,基于所述公共交通车辆对应的电子围栏和/或所述车载终端的定位系统获取所述公共交通车辆的位置信息,并将该位置信息作为所述乘车用户的下车位置信息;
基于所述乘车用户的用户标识相关信息和所述下车位置信息,向所述支付服务器发送所述乘车用户的下车记录;
所述上车记录和所述下车记录用于所述支付服务器对所述乘车用户进行分段计费。
本说明书实施例还提供了一种计算机可读存储介质,该计算机可读存储介质存储一个或多个程序,该一个或多个程序包括指令,该指令当被包括多个应用程序的便携式电子设备执行时,能够使该便携式电子设备执行图4所示实施例的方法,并具体用于执行以下方法:
接收乘车用户的上车记录;
接收所述乘车用户的下车记录;
根据所述乘车用户的上车记录、下车记录和预设公共交通分段计费规则,确定所述乘车用户的乘车费用,并支付。
总之,以上所述仅为本说明书的较佳实施例而已,并非用于限定本说明书的保护范围。凡在本说明书的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本说明书的保护范围之内。
上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机。具体的,计算机例如可以为个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他 数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。

Claims (11)

  1. 一种乘车计费方法,应用于公共交通车辆的车载终端,所述方法包括:
    响应于对乘车用户的第一二维码的第一扫描操作,获取所述第一二维码中所述乘车用户的用户标识相关信息;
    响应于对乘车用户的第一二维码的第一扫描操作,基于所述公共交通车辆对应的电子围栏和/或所述车载终端的定位系统获取所述公共交通车辆的位置信息,并将该位置信息作为所述乘车用户的上车位置信息;
    基于所述乘车用户的用户标识相关信息和所述上车位置信息,向支付服务器发送所述乘车用户的上车记录;
    响应于对所述乘车用户的第二二维码的第二扫描操作,获取所述第二二维码中所述乘车用户的用户标识相关信息;
    响应于对所述乘车用户的第二二维码的第二扫描操作,基于所述公共交通车辆对应的电子围栏和/或所述车载终端的定位系统获取所述公共交通车辆的位置信息,并将该位置信息作为所述乘车用户的下车位置信息;
    基于所述乘车用户的用户标识相关信息和所述下车位置信息,向所述支付服务器发送所述乘车用户的下车记录;
    所述上车记录和所述下车记录用于所述支付服务器对所述乘车用户进行分段计费。
  2. 根据权利要求1所述的方法,所述基于所述公共交通车辆对应的电子围栏和/或所述车载终端的定位系统获取所述公共交通车辆的位置信息,包括:
    调用所述公共交通车辆对应的电子围栏,基于电子围栏的定位系统获取所述公共交通车辆的位置信息;
    如果基于所述电子围栏的定位系统获取位置信息失败,则基于所述车载终端的定位系统获取所述公共交通车辆的位置信息。
  3. 根据权利要求1所述的方法,所述第一二维码与所述第二二维码为相同的二维码或者不同的二维码,所述第一二维码和所述第二二维码中携带相同的用户标识相关信息。
  4. 根据权利要求1所述的方法,所述基于所述乘车用户的用户标识相关信息和所述上车位置信息,向支付服务器发送所述乘车用户的上车记录,包括:
    在所述车载终端的网络质量达到预设网络质量的情况下,基于所述乘车用户的用户标识相关信息和所述上车位置信息,向支付服务器发送所述乘车用户的上车记录;
    所述基于所述乘车用户的用户标识相关信息和所述下车位置信息,向所述支付服务 器发送所述乘车用户的下车记录,包括:
    在所述车载终端的网络质量达到预设网络质量的情况下,基于所述乘车用户的用户标识相关信息和所述下车位置信息,向所述支付服务器发送所述乘车用户的下车记录。
  5. 一种乘车计费方法,应用于支付服务器,所述方法包括:
    接收乘车用户的上车记录;
    接收所述乘车用户的下车记录;
    根据所述乘车用户的上车记录、下车记录和预设公共交通分段计费规则,确定所述乘车用户的乘车费用,并支付。
  6. 一种乘车计费装置,应用于公共交通车辆的车载终端,所述装置包括:
    第一获取模块,用于响应于对乘车用户的第一二维码的第一扫描操作,获取所述第一二维码中所述乘车用户的用户标识相关信息;
    第二获取模块,用于响应于对乘车用户的第一二维码的第一扫描操作,基于所述公共交通车辆对应的电子围栏和/或所述车载终端的定位系统获取所述公共交通车辆的位置信息,并将该位置信息作为所述乘车用户的上车位置信息;
    第一发送模块,用于基于所述乘车用户的用户标识相关信息和所述上车位置信息,向支付服务器发送所述乘车用户的上车记录;
    第三获取模块,用于响应于对所述乘车用户的第二二维码的第二扫描操作,获取所述第二二维码中所述乘车用户的用户标识相关信息;
    第四获取模块,用于响应于对所述乘车用户的第二二维码的第二扫描操作,基于所述公共交通车辆对应的电子围栏和/或所述车载终端的定位系统获取所述公共交通车辆的位置信息,并将该位置信息作为所述乘车用户的下车位置信息;
    第二发送模块,用于基于所述乘车用户的用户标识相关信息和所述下车位置信息,向所述支付服务器发送所述乘车用户的下车记录;
    所述上车记录和所述下车记录用于所述支付服务器对所述乘车用户进行分段计费。
  7. 一种乘车计费装置,应用于支付服务器,所述装置包括:
    第一接收模块,用于接收乘车用户的上车记录;
    第二接收模块,用于接收所述乘车用户的下车记录;
    计费模块,用于根据所述乘车用户的上车记录、下车记录和预设公共交通分段计费规则,确定所述乘车用户的乘车费用,并支付。
  8. 一种电子设备,包括:
    处理器;以及
    被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器执行以下操作:
    响应于对乘车用户的第一二维码的第一扫描操作,获取所述第一二维码中所述乘车用户的用户标识相关信息;
    响应于对乘车用户的第一二维码的第一扫描操作,基于所述公共交通车辆对应的电子围栏和/或所述车载终端的定位系统获取所述公共交通车辆的位置信息,并将该位置信息作为所述乘车用户的上车位置信息;
    基于所述乘车用户的用户标识相关信息和所述上车位置信息,向支付服务器发送所述乘车用户的上车记录;
    响应于对所述乘车用户的第二二维码的第二扫描操作,获取所述第二二维码中所述乘车用户的用户标识相关信息;
    响应于对所述乘车用户的第二二维码的第二扫描操作,基于所述公共交通车辆对应的电子围栏和/或所述车载终端的定位系统获取所述公共交通车辆的位置信息,并将该位置信息作为所述乘车用户的下车位置信息;
    基于所述乘车用户的用户标识相关信息和所述下车位置信息,向所述支付服务器发送所述乘车用户的下车记录;
    所述上车记录和所述下车记录用于所述支付服务器对所述乘车用户进行分段计费。
  9. 一种电子设备,包括:
    处理器;以及
    被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器执行以下操作:
    接收乘车用户的上车记录;
    接收所述乘车用户的下车记录;
    根据所述乘车用户的上车记录、下车记录和预设公共交通分段计费规则,确定所述乘车用户的乘车费用,并支付。
  10. 一种计算机存储介质,所述计算机可读存储介质存储一个或多个程序,所述一个或多个程序当被包括多个应用程序的电子设备执行时,使得所述电子设备执行以下操作:
    响应于对乘车用户的第一二维码的第一扫描操作,获取所述第一二维码中所述乘车用户的用户标识相关信息;
    响应于对乘车用户的第一二维码的第一扫描操作,基于所述公共交通车辆对应的电 子围栏和/或所述车载终端的定位系统获取所述公共交通车辆的位置信息,并将该位置信息作为所述乘车用户的上车位置信息;
    基于所述乘车用户的用户标识相关信息和所述上车位置信息,向支付服务器发送所述乘车用户的上车记录;
    响应于对所述乘车用户的第二二维码的第二扫描操作,获取所述第二二维码中所述乘车用户的用户标识相关信息;
    响应于对所述乘车用户的第二二维码的第二扫描操作,基于所述公共交通车辆对应的电子围栏和/或所述车载终端的定位系统获取所述公共交通车辆的位置信息,并将该位置信息作为所述乘车用户的下车位置信息;
    基于所述乘车用户的用户标识相关信息和所述下车位置信息,向所述支付服务器发送所述乘车用户的下车记录;
    所述上车记录和所述下车记录用于所述支付服务器对所述乘车用户进行分段计费。
  11. 一种计算机存储介质,所述计算机可读存储介质存储一个或多个程序,所述一个或多个程序当被包括多个应用程序的电子设备执行时,使得所述电子设备执行以下操作:
    接收乘车用户的上车记录;
    接收所述乘车用户的下车记录;
    根据所述乘车用户的上车记录、下车记录和预设公共交通分段计费规则,确定所述乘车用户的乘车费用,并支付。
PCT/CN2019/096474 2018-08-31 2019-07-18 乘车计费方法及装置 WO2020042812A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811015731.8 2018-08-31
CN201811015731.8A CN109299928A (zh) 2018-08-31 2018-08-31 乘车计费方法及装置

Publications (1)

Publication Number Publication Date
WO2020042812A1 true WO2020042812A1 (zh) 2020-03-05

Family

ID=65165842

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/096474 WO2020042812A1 (zh) 2018-08-31 2019-07-18 乘车计费方法及装置

Country Status (3)

Country Link
CN (1) CN109299928A (zh)
TW (1) TWI776068B (zh)
WO (1) WO2020042812A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111612115A (zh) * 2020-06-15 2020-09-01 支付宝(杭州)信息技术有限公司 交通卡的计次方法、装置、扫码设备和计次卡服务器
CN114267110A (zh) * 2021-12-02 2022-04-01 支付宝(杭州)信息技术有限公司 通行处理方法及装置
CN115033309A (zh) * 2021-12-01 2022-09-09 荣耀终端有限公司 地铁出行检测方法及电子设备

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109299928A (zh) * 2018-08-31 2019-02-01 阿里巴巴集团控股有限公司 乘车计费方法及装置
CN109919593A (zh) * 2019-03-21 2019-06-21 京东方科技集团股份有限公司 结算方法及系统、车载设备、计算机设备及介质
CN117974266A (zh) * 2019-04-26 2024-05-03 财付通支付科技有限公司 一种乘车订单生成方法和装置
CN110675134A (zh) * 2019-09-09 2020-01-10 北京智联云海科技有限公司 一种公共交通自动计费结算系统及方法
CN111447254A (zh) * 2020-03-02 2020-07-24 广州如约数据科技有限公司 一种车载智能控制系统
CN111402433A (zh) * 2020-03-03 2020-07-10 厦门蓝斯通信股份有限公司 一种公交车双终端模式乘车码计费方法及系统
CN111429131B (zh) * 2020-03-26 2022-12-06 支付宝(杭州)信息技术有限公司 二维码开通、支付处理方法及其装置、系统、电子设备
CN111640209A (zh) * 2020-05-15 2020-09-08 支付宝(杭州)信息技术有限公司 一种乘车计费方法、装置及电子设备
CN112184208A (zh) * 2020-08-17 2021-01-05 汉海信息技术(上海)有限公司 扫码乘车方法、客户端、服务端、电子设备及存储介质
CN113034130B (zh) * 2021-05-25 2021-11-26 盛威时代科技集团有限公司 自动报站和智能售票联动方法、系统、设备及存储介质
CN115497177A (zh) * 2021-06-17 2022-12-20 深圳怡化电脑科技有限公司 公交付费方法、装置、电子设备、以及机器可读介质
CN115731626A (zh) * 2021-08-30 2023-03-03 青岛海尔科技有限公司 计费信息的确认方法和装置、存储介质及电子装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120101942A1 (en) * 2010-10-25 2012-04-26 Samsung Electronics Co. Ltd. Method and system for paying public transportation fare via mobile device
CN104680647A (zh) * 2013-11-30 2015-06-03 富泰华工业(深圳)有限公司 刷卡管理装置、系统及方法
CN106296934A (zh) * 2016-08-22 2017-01-04 常州新天轨道交通科技有限公司 一种轨道交通管理方法及终端
CN107016538A (zh) * 2017-04-11 2017-08-04 杭州纳戒科技有限公司 载运支付方法以及系统
CN109299928A (zh) * 2018-08-31 2019-02-01 阿里巴巴集团控股有限公司 乘车计费方法及装置

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201023074A (en) * 2008-12-09 2010-06-16 Trade Van Information Services Co System and method of in-vehicle integration-type real-time audio/video transmission and online payment
CN207337475U (zh) * 2016-08-17 2018-05-08 成都仁通融合信息技术有限公司 一种基于二维码的地铁站免购票通行控制系统
CN106447328A (zh) * 2016-10-20 2017-02-22 严珂 电子支付方法及公交电子支付系统、地铁电子支付系统
CN106740671A (zh) * 2017-01-19 2017-05-31 上海斐讯数据通信技术有限公司 一种汽车防盗方法及系统
CN107316188A (zh) * 2017-06-09 2017-11-03 郭进伟 公交乘坐支付结算方法及系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120101942A1 (en) * 2010-10-25 2012-04-26 Samsung Electronics Co. Ltd. Method and system for paying public transportation fare via mobile device
CN104680647A (zh) * 2013-11-30 2015-06-03 富泰华工业(深圳)有限公司 刷卡管理装置、系统及方法
CN106296934A (zh) * 2016-08-22 2017-01-04 常州新天轨道交通科技有限公司 一种轨道交通管理方法及终端
CN107016538A (zh) * 2017-04-11 2017-08-04 杭州纳戒科技有限公司 载运支付方法以及系统
CN109299928A (zh) * 2018-08-31 2019-02-01 阿里巴巴集团控股有限公司 乘车计费方法及装置

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111612115A (zh) * 2020-06-15 2020-09-01 支付宝(杭州)信息技术有限公司 交通卡的计次方法、装置、扫码设备和计次卡服务器
CN111612115B (zh) * 2020-06-15 2023-10-20 支付宝(杭州)信息技术有限公司 交通卡的计次方法、装置、扫码设备和计次卡服务器
CN115033309A (zh) * 2021-12-01 2022-09-09 荣耀终端有限公司 地铁出行检测方法及电子设备
CN114267110A (zh) * 2021-12-02 2022-04-01 支付宝(杭州)信息技术有限公司 通行处理方法及装置

Also Published As

Publication number Publication date
CN109299928A (zh) 2019-02-01
TWI776068B (zh) 2022-09-01
TW202011307A (zh) 2020-03-16

Similar Documents

Publication Publication Date Title
WO2020042812A1 (zh) 乘车计费方法及装置
CN100474944C (zh) 位置信息服务系统和方法
US8754781B2 (en) Control method for a road toll system
EP1209933B1 (en) Method and apparatus for assisting positional information service
US20090292597A1 (en) Parking payment and enforcement mechanism
TWI420131B (zh) 在位置決定中所用的方法及設備
CN107919013B (zh) 一种上车点处理方法及服务器
US20100144367A1 (en) Method for location determination and a mobile device
CN103680132B (zh) 一种出租车调度方法和系统
CN105139641A (zh) 一种基于WiFi中继站的车辆调度方法及系统
CN101826256A (zh) 车辆派遣方法与车辆派遣系统
CN103188598A (zh) 智能群呼抢答约车方法、系统及出租车约车平台
CN107292604B (zh) 一种移动支付方法、移动终端、蓝牙信标设备和支付系统
CN107705576A (zh) 车辆套牌检测方法、服务器及存储介质
US7136657B2 (en) Area-dependent service system and method for mobile stations
JP5545780B2 (ja) 車載装置、車両および路側機
JP5156040B2 (ja) 通信装置、dsrcユニット、路側機および車載装置
US20230252447A1 (en) Method and system for detecting multiple users traveling together and charging a single toll among the users automatically
CN111080824A (zh) 一种自由流不停车收费方法、系统、终端和可读存储介质
CN115119176A (zh) 高铁用户终端识别方法、装置及存储介质
JP4704718B2 (ja) 移動情報管理システム、管理装置、管理装置の移動情報管理方法および移動情報管理プログラム
CN109615717B (zh) 道路收费的收费方法、系统、装置和电子设备
JP2009179075A (ja) 交通機関の遅延情報通知方法および装置
CN105741152A (zh) 一种基于打车的身份信息的验证方法和装置
JP2006331334A (ja) 有料道路の通行料金課金システム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19856293

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19856293

Country of ref document: EP

Kind code of ref document: A1