CN109615367A - For the method, apparatus of payment, storage medium and electronic equipment - Google Patents

For the method, apparatus of payment, storage medium and electronic equipment Download PDF

Info

Publication number
CN109615367A
CN109615367A CN201811468445.7A CN201811468445A CN109615367A CN 109615367 A CN109615367 A CN 109615367A CN 201811468445 A CN201811468445 A CN 201811468445A CN 109615367 A CN109615367 A CN 109615367A
Authority
CN
China
Prior art keywords
payment
barcode scanning
mobile terminal
terminal
distance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811468445.7A
Other languages
Chinese (zh)
Inventor
尚洋洋
涂长东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN201811468445.7A priority Critical patent/CN109615367A/en
Publication of CN109615367A publication Critical patent/CN109615367A/en
Pending legal-status Critical Current

Links

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/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/327Short range or proximity payments by means of M-devices
    • G06Q20/3276Short range or proximity payments by means of M-devices using a pictured code, e.g. barcode or QR-code, being read by the M-device

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

This disclosure relates to a kind of method for payment, the device for payment, computer readable storage medium and electronic equipment.The method for payment that the embodiment of the present disclosure provides includes: to obtain mobile terminal at a distance from barcode scanning terminal;It is less than pre-determined distance at a distance from the barcode scanning terminal in response to the mobile terminal, pops up payment code in the form of picture on the mobile terminal;Wherein, the payment code is used to carry out barcode scanning payment in the barcode scanning terminal.In the method for payment that disclosure illustrative embodiments provide, it does not need user and active triggering is carried out to the payment class application program installed on mobile terminal, the interaction flow of user and related application is also simplified simultaneously, payment efficiency and convenience in payment are significantly improved, user experience is optimized.

Description

For the method, apparatus of payment, storage medium and electronic equipment
Technical field
This disclosure relates to terminal applies technical field, and in particular to a kind of method for payment, the device for payment, Computer readable storage medium and electronic equipment.
Background technique
With the development of computer and Internet technology, occur answering for various payment classes on the mobile terminal devices such as mobile phone Use tool.In the related art, starting and user of the completion of payment process dependent on the means of payment on the means of payment to propping up The problems such as active for paying function triggers, and generally existing interaction flow is long, payment efficiency is low, convenience is poor.
It should be noted that information is only used for reinforcing the reason to the background of the disclosure disclosed in above-mentioned background technology part Solution, therefore may include the information not constituted to the prior art known to persons of ordinary skill in the art.
Summary of the invention
The disclosure is designed to provide a kind of method for payment, the device for payment, computer-readable storage Medium and electronic equipment, so overcome caused by the limitation due to the relevant technologies at least to a certain extent interaction flow it is long, The technical problems such as payment efficiency is low, convenience is poor.
According to one aspect of the disclosure, a kind of method for payment is provided, is characterized in that, the method packet It includes:
Mobile terminal is obtained at a distance from barcode scanning terminal;
In response to the mobile terminal at a distance from the barcode scanning terminal be less than pre-determined distance, on the mobile terminal with The form of picture pops up payment code;
Wherein, the payment code is used to carry out barcode scanning payment in the barcode scanning terminal.
In a kind of illustrative embodiments of the disclosure, the payment code is for carrying out barcode scanning in the barcode scanning terminal Payment is to complete travel cost clearing.
In a kind of illustrative embodiments of the disclosure, before obtaining mobile terminal at a distance from barcode scanning terminal, institute State method further include:
Obtain the travel route information and trip site information of the mobile terminal association user;
A barcode scanning terminal is selected according to the travel route information and the trip site information.
In a kind of illustrative embodiments of the disclosure, the acquisition mobile terminal is at a distance from barcode scanning terminal, comprising:
Obtain the location information of the barcode scanning terminal and the location information of the mobile terminal;
It is obtained according to the positional information calculation of the location information of the mobile terminal and the barcode scanning terminal described mobile whole End is at a distance from the barcode scanning terminal.
In a kind of illustrative embodiments of the disclosure, the method also includes:
When judging to preserve payment record relevant to the payment code in the barcode scanning terminal, the payment code is matched It is set to invalid payment code.
In a kind of illustrative embodiments of the disclosure, the method also includes:
It is less than pre-determined distance at a distance from the barcode scanning terminal in response to the mobile terminal, on the mobile terminal bullet Payment reminders message out;
In a kind of illustrative embodiments of the disclosure, the payment code has default effective time.
According to one aspect of the disclosure, a kind of device for payment is also provided, is characterized in that, comprising:
Distance obtains module, is configured as obtaining mobile terminal at a distance from barcode scanning terminal;
Payment code pop-up module is configured to respond to the mobile terminal at a distance from the barcode scanning terminal less than default Distance pops up payment code in the form of picture on the mobile terminal;
Wherein, the payment code is used to carry out barcode scanning payment in the barcode scanning terminal.
According to one aspect of the disclosure, a kind of computer readable storage medium is also provided, computer journey is stored thereon with Sequence is characterized in that, is realized when the computer program is executed by processor any one in foregoing exemplary embodiment The method for payment described in.
According to one aspect of the disclosure, a kind of electronic equipment is also provided, is characterized in that, comprising:
Processor;
Memory, for storing the executable instruction of the processor;
Wherein, the processor is configured to executing foregoing exemplary embodiment via the executable instruction is executed Any one of described in for payment method.
It is whole by obtaining mobile terminal and barcode scanning in the method for payment that disclosure illustrative embodiments provide The distance at end can judge payment opportunity, can be completed using the payment code of automatic spring graphic form on mobile terminal Reimbursement of expense.It can be detached from the limitation of communication network in payment process, and do not need user to the branch installed on mobile terminal It pays class application program and carries out active triggering, while also simplifying the interaction flow of user and related application, significantly improve Payment efficiency and convenience in payment, optimize user experience.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.It should be evident that the accompanying drawings in the following description is only the disclosure Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 schematically shows the step flow chart in a kind of illustrative embodiments of the disclosure for the method for payment.
Fig. 2 schematically shows the part steps process in disclosure another exemplary embodiment for the method for payment Figure.
Fig. 3 schematically shows the part steps process in disclosure another exemplary embodiment for the method for payment Figure.
Fig. 4 schematically shows the composition block diagram in disclosure another exemplary embodiment for the device of payment.
Fig. 5 schematically shows interaction of the method in an application scenarios in disclosure illustrative embodiments for payment Flow chart.
Fig. 6 schematically shows a kind of schematic diagram of program product in disclosure illustrative embodiments.
Fig. 7 schematically shows the module diagram of a kind of electronic equipment in disclosure illustrative embodiments.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be real in a variety of forms It applies, and is not understood as limited to example set forth herein;On the contrary, these embodiments are provided so that the disclosure will more comprehensively and Completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.Described feature, structure or characteristic It can be incorporated in any suitable manner in one or more embodiments.
In addition, attached drawing is only the schematic illustrations of the disclosure, it is not necessarily drawn to scale.Identical attached drawing mark in figure Note indicates same or similar part, thus will omit repetition thereof.Some block diagrams shown in the drawings are function Energy entity, not necessarily must be corresponding with physically or logically independent entity.These function can be realized using software form Energy entity, or these functional entitys are realized in one or more hardware modules or integrated circuit, or at heterogeneous networks and/or place These functional entitys are realized in reason device device and/or microcontroller device.
A kind of method for payment is provided in the illustrative embodiments of the disclosure first, this method can mainly be applied It is carried out in the application scenarios paid under line in using payment code, such as can be used for settling accounts purchase expenses under line, in addition It can be used for settling accounts travel cost.The executing subject of this method can be mobile terminal, specifically can be and passes through shifting The payment client terminal installed in dynamic terminal realizes related payment function.
As shown in Figure 1, the method for payment provided in this illustrative embodiment mainly may comprise steps of:
Step S110. obtains mobile terminal at a distance from barcode scanning terminal.
The distance between this step mobile terminal available first and barcode scanning terminal information, can be with by the range information Payment opportunity is judged.For example, when traffic works that user needs to take bus, subway or other needs are paid When tool, the method that can use this illustrative embodiment offer settles accounts travel cost.It is mobile under the application scenarios Terminal can be the mobile phone or any other handheld mobile device for being equipped with payment client terminal of user, and barcode scanning terminal can To be the POS machine tool or any other terminal device with barcode scanning charging function installed on the corresponding vehicles.
Step S120. is less than pre-determined distance in response to mobile terminal at a distance from barcode scanning terminal, on mobile terminals to scheme The form of piece pops up payment code;Wherein, payment code is used to carry out barcode scanning payment in barcode scanning terminal.
According to the range information got in step S110, this step can by mobile terminal at a distance from barcode scanning terminal with One pre-determined distance is compared and judges based on comparative result to payment opportunity.When mobile terminal is at a distance from barcode scanning terminal When less than the pre-determined distance, it is possible to determine that reach payment opportunity, can be popped up in the form of picture on mobile terminals at this time Payment code.Can be independent of network with the payment code that graphic form pops up, it can be straight by being scanned in barcode scanning terminal It connects and completes reimbursement of expense.
In the payment scene of some prior arts, usually paid with the two dimensional code that can dynamically update, such as Two dimensional code can be automatically updated every preset time by server.This means of payment can keep the long-term of two dimensional code Validity, but there is also certain payment risks simultaneously.For example, using the conventional two dimensional code paying riding fee used time, if gone out The existing fortuitous events such as network delay or barcode scanning equipment fault, then the problem of most likely resulting in repeatedly barcode scanning payment. In addition, there is also stolen risks for this permanently effective conventional two dimensional code.
And this illustrative embodiment provide method of payment in, payment code be in the case where meeting specified conditions with The form pop-up of picture, which can't be updated during the network communication with server, once complete one The payment of secondary barcode scanning, which perhaps reaches certain preset duration payment code, can be configured or labeled as invalid payment code, because This can avoid the occurrence of the problem of repetition barcode scanning payment, while can also prevent the theft of payment code.With graphic form bullet Payment code out is particularly suitable for the clearing of travel cost, because in general payment scene, barcode scanning payment behavior each time An i.e. corresponding transaction, and for taking bus, the clearing of the travel costs such as subway usually not to transaction with payment only One corresponding relationship, which is made, to be clearly defined, thus is easy to appear the problem of repetition is paid.
For example, when user descends online carries out barcode scanning payment in shopping process, usually by cashier to primary branch The behavior of paying carries out complete monitoring and can make feedback in real time.Conventional payment flow is: cashier is according to real trade gold Volume is arranged in barcode scanning equipment answers fee charged, and then user opens payment client terminal in the mobile device held, benefit The two dimensional code for reimbursement of expense can be generated with payment client terminal.After showing the two dimensional code to cashier, cashier The two dimensional code is scanned using barcode scanning equipment, can terminate currently to trade after confirming that barcode scanning is completed and deducted fees successfully.
In this settlement process, the mobile device that user holds needs to connect network to count with server According to communicate and generate user payment two dimensional code, the two dimensional code be also required in the network communication of payment client terminal and server into Mobile state updates the real-time effectiveness to keep the two dimensional code.In addition, barcode scanning equipment used in cashier is also required to connect Network with server to carry out data communication and verifying two dimensional code provided by user.It can be seen that this means of payment pair There is high dependency in network communication.Once network communication occurs postponing or other failures, inevitably just it is easy The problems such as existing barcode scanning failure or multiple barcode scanning verifying are even repeatedly deducted fees.
If the payment code popped up with graphic form provided using this illustrative embodiment, can completely avoid user The network latency problems of payment client terminal.For example, user can preset ride-on vehicles and multiply when taking bus Sit website.When vehicle will enter the station, such as distance rides website there are also at 50 meters, can be pushed away on the mobile phone of user with message The mode sent pops up the payment code of graphic form, and the validity period of the payment code for example can be 60 seconds.Within this validity period, use Family can easily complete to get on the bus the movement of barcode scanning, and the payment code has also failed after the completion of user's barcode scanning, therefore does not have to concern It repeats barcode scanning and repeats the problems such as paying.The side of ordinary QR code automatically updated is changed with the payment code that graphic form pops up Formula is settled accounts this single payment particularly suitable for travel cost and is paid in the not high application scenarios of requirement of real-time.
In addition, the interactive action between user and application program can be reduced with graphic form pop-up payment code, so that User can more quickly and easily complete reimbursement of expense.
In the method for payment that this illustrative embodiment provides, by obtaining mobile terminal and barcode scanning terminal Distance can judge payment opportunity, and expense can be completed using the payment code of automatic spring graphic form on mobile terminal Payment.It can be detached from the limitation of communication network in payment process, and do not need user to the payment class installed on mobile terminal Application program carries out active triggering, while also simplifying the interaction flow of user and related application, significantly improves payment Efficiency and convenience in payment, optimize user experience.
As shown in Fig. 2, the payment code popped up in step S120 can be used in the another exemplary embodiment of the disclosure It is settled accounts in carrying out barcode scanning payment in barcode scanning terminal with completing travel cost.Correspondingly, step S110. obtain mobile terminal with Before the distance of barcode scanning terminal, can with the following steps are included:
Step S210. obtains the travel route information and trip site information of mobile terminal association user.
In order to accurately calculate the distance between mobile terminal and barcode scanning terminal, this step first obtains mobile terminal association user Travel route information and trip site information.Wherein, the mode for obtaining relevant information can be user in the phase of mobile terminal It closes to be set in application program and be obtained.For example, user can preset the public bus network for needing to take and can incite somebody to action Apart from nearest bus stop as trip website.In another example user can preset need the subway line taken and Can using apart from nearest subway station as trip website.
Step S220. selectes a barcode scanning terminal according to travel route information and trip site information.
According to the travel route information and trip site information got in step S210, this step can be chosen simultaneously really A fixed barcode scanning terminal, the barcode scanning equipment as the payment code popped up on mobile terminal.If mobile terminal association user goes out Line mode is bus, then barcode scanning terminal can be the tool of the vehicle-mounted POS machine on bus.If mobile terminal association user Trip mode is subway, then barcode scanning terminal can be the gate that enters the station with barcode scanning function in subway station.
In this illustrative embodiments, by obtaining the travel route information of mobile terminal association user and website of going on a journey Information is to select a barcode scanning terminal, and using the barcode scanning terminal as the basis of the calculating of follow-up distance.By taking bus trip as an example, this Illustrative embodiments can obtain multiple in public bus network according to travel route information set by user and trip site information Then the nearest bus of distance trip website is elected to be target vehicle by the driving information of the public transit vehicle of upper operation, and by mesh The vehicle-mounted POS machine tool installed on mark vehicle is as selected barcode scanning terminal.
As shown in figure 3, step S110. obtains mobile terminal and barcode scanning in the another exemplary embodiment of the disclosure The distance of terminal, may further include following steps:
Step S310. obtains the location information of mobile terminal and the location information of barcode scanning terminal.
This step by the way of real time monitoring, can obtain the location information of barcode scanning terminal and the position of mobile terminal Information.Such as can use wireless network assistant GPS location technology or other location technologies obtain in real time mobile terminal and The location information of barcode scanning terminal.It, can be by carrying out net with public transport company server by taking the payment of travel cost and clearing as an example Network is communicated to acquire the driving information of public transit vehicle, and obtains the location information of barcode scanning terminal based on the driving information.
Step S320. according to the location information of mobile terminal and the positional information calculation of barcode scanning terminal obtain mobile terminal with The distance of barcode scanning terminal.
According to the location information of the mobile terminal acquired in step S310 and the location information of barcode scanning terminal, this step Suddenly the distance between mobile terminal and barcode scanning terminal can be calculated.By taking bus trip as an example, public transit vehicle is driving towards user During the bus station at place, the barcode scanning terminal installed on the mobile terminal and public transit vehicle that user uses (such as it is vehicle-mounted POS machine tool) the distance between will persistently shorten.Again by taking subway is gone on a journey as an example, during going to subway station, user makes user The distance between barcode scanning terminal (such as the gate that enters the station with barcode scanning function) installed in mobile terminal and subway station To persistently it shorten.
It, can be with by the way that the mobile terminal being calculated in real time to be compared at a distance from barcode scanning terminal with a pre-determined distance Payment code is popped up so that user pays travel cost to user on suitable opportunity.Wherein, pre-determined distance can be one and set in advance Fixed fixed range, such as 50 meters.When public transit vehicle at a distance from the bus station where user less than 50 meters when, it can be determined that Public transit vehicle will enter the station, and can pop up payment code on the mobile terminal that user uses at this time.When the movement that user uses When terminal and subway enter the station the distance between gate less than 50 meters, it can be determined that user is to be up to the subway for wishing to take subway It stands, payment code can also be popped up on the mobile terminal that user uses at this time.In addition to this, pre-determined distance be also possible to one it is logical The dynamic distance being calculated is crossed, such as can be according to the travel speed and current traffic condition of public transit vehicle to pre-determined distance Value carry out dynamic adjustment, this illustrative embodiment do not do particular determination to this.
Based on above embodiments, the method for payment provided in disclosure another exemplary embodiment can also be wrapped Include following steps:
When judging to preserve payment record relevant to payment code in barcode scanning terminal, payment code is configured to pay in vain Code.
The content as disclosed in foregoing exemplary embodiment is it is found that the payment code popped up on mobile terminals is a picture The payment code of form, the payment code can be the off line two dimensional code independent of network connection.When user is existed using the payment code After implementing the arbitrary payment behavior such as travel cost or purchase expenses in barcode scanning terminal, barcode scanning terminal can recorde the payment code Use state, payment record relevant to the payment code can be also saved in barcode scanning terminal.When user reuses this When payment code carries out reimbursement of expense, invalid payment code just is configured by the payment code, so as to avoid the occurrence of reuse Situation.
Based on above embodiments, the method for payment provided in disclosure another exemplary embodiment can also be wrapped Include following steps:
It is less than pre-determined distance at a distance from barcode scanning terminal in response to mobile terminal, pops up payment reminders on mobile terminals and disappear Breath.
The content as disclosed in foregoing exemplary embodiment is it is found that when mobile terminal is less than in advance at a distance from barcode scanning terminal If apart from when, payment code for carrying out disbursement and sattlement can be popped up in the form of picture on mobile terminal used by a user. And in this illustrative embodiments, when meeting to apart from relevant trigger condition, in addition to popping up payment on mobile terminals Other than code, payment reminders message can also be popped up simultaneously.The payment reminders message can be to be popped up with written form, is also possible to It is popped up with graphic form, can be using any other prompting message modes such as application message, system message or short messages, this Illustrative embodiments do not do particular determination to this.
On the basis of foregoing exemplary embodiment, the payment code popped up in step S120 can be to have and preset effectively The payment code of duration, such as default effective time can be set as to 60 seconds, 120 seconds or any other duration.From pop-up branch It pays code and rises and start timing, after beyond default effective time, in spite of having completed to pay, which will be all configured as Invalid payment code.In existing barcode scanning payment scene, payment code can generally be carried out using preset time period as time interval Dynamic updates, and in addition can also be triggered and is updated manually by user.And it is used for what disclosure illustrative embodiments provided In the method for payment, payment code is the off line code popped up with graphic form, can remind use using the limitation of default effective time Barcode scanning payment is completed at family as early as possible, while can also avoid the occurrence of the problem of repetition barcode scanning is paid.In addition, some other exemplary In embodiment, payment code is also possible to not depend on network and the off line code without effective time, the disclosure do not do special limit to this It is fixed.
It should be noted that, although being described above with respect to the illustrative embodiments of the method for payment with particular order Each step of method in the disclosure, still, this, which does not require that or implies, to execute these in this particular order Step, or have to carry out whole steps and be just able to achieve desired result.Additionally or alternatively, it is convenient to omit Mou Xiebu Suddenly, multiple steps are merged into a step to execute, and/or a step is decomposed into execution of multiple steps etc..
In the another exemplary embodiment of the disclosure, a kind of device for payment is also provided, which mainly may be used To be applied to carry out in the application scenarios paid under line using payment code, such as can be used for tying purchase expenses under line It calculates, in addition can be used for settling accounts travel cost.The device can be the independent function dress installed on mobile terminal It sets, function associated with the other function unit dress being in addition also possible in the payment client terminal installed on mobile terminal It sets.
As shown in figure 4, the device 400 for payment that this illustrative embodiment provides mainly may include: that distance obtains Modulus block 410 and payment code pop-up module 420.Wherein, distance obtains module 410 and is configured as obtaining mobile terminal and barcode scanning end The distance at end.Payment code pop-up module 420 is configured to respond to mobile terminal and is less than pre-determined distance at a distance from barcode scanning terminal, Payment code is popped up in the form of picture on mobile terminals.Wherein, payment code is used to carry out barcode scanning payment in barcode scanning terminal.
The detail of the above-mentioned device device for payment has carried out in detail in the corresponding method for payment Thin description, therefore details are not described herein again.
It should be noted that although being referred to several modules or list for acting the equipment executed in the above detailed description Member, but this division is not enforceable.In fact, according to embodiment of the present disclosure, it is above-described two or more Module or the feature and function of unit can embody in a module or unit.Conversely, an above-described mould The feature and function of block or unit can be to be embodied by multiple modules or unit with further division.
The method for payment in the embodiment of the present disclosure is made below with reference to the application scenarios of travel cost clearing It is described in detail.As shown in figure 5, carrying out travel cost branch using the method and device for payment that the embodiment of the present disclosure provides The whole interaction flow paid is as follows:
1. the target public bus network for wishing to take and target bus station is arranged in user first, and can open prompting of getting on the bus Function.The function can use the related application run on mobile terminal and be configured, such as can be detailed in public bus network Achievable setting when feelings page interrogation information of vehicles.
2. obtaining the target public bus network uplink in real time according to target public bus network set by user and target bus station The running condition information for the public transit vehicle sailed, so as to which the distance between vehicle and user is calculated.It at the same time, can be with Synchronization request payment code is issued for payment code and is prepared.
3. sending push when the distance between target vehicle and user are less than 50 meters to user and reminding, push is using text Word+graphic form reminds ownership goal vehicle that will enter the station, and please gets on the bus in time in order to avoid missing vehicle and can be used subsidiary in push Payment code it is convenient by bus.
4. user is ridden using the payment code, i.e. the vehicle-mounted POS machine tool scanning of bus should ride code to complete consumption button Money.
5. the vehicle-mounted POS machine tool of bus uploads transaction record to public transport company.
Payment scheme by bus in the application scenarios integrally relies on two major parts, and first is the public affairs that public transport company provides Vehicle real-time running data is handed over, to the distance between accurate judgement ownership goal vehicle and user;Second mentions for public transport company The payment code of confession, this payment code are different from conventional payment two dimensional code, which is that off line code does not depend on network and effective time can root Customized according to business scenario, only this code is set to failure after specified public transport POS machine, which has, scans the code, applies under scene by bus More practical and Portable safety.In conjunction with the above two o'clock, can accurate judgement user ride opportunity, at suitable time point to user It issuees a notice and pushes payment code by bus, user is not necessarily to start the App application program on mobile terminal, and be used only to pay by bus The payment and settlement of expense by bus can be completed in code.
In the illustrative embodiments of the disclosure, a kind of computer readable storage medium is also provided, is stored thereon with meter Calculation machine program can realize the above-mentioned transit riding method of payment of the disclosure when computer program is executed by processor.? In some possible embodiments, various aspects of the disclosure is also implemented as a kind of form of program product comprising journey Sequence code;The program product, which can store, (can be CD-ROM, USB flash disk or mobile hard disk in a non-volatile memory medium Deng) in or network on;When described program product a calculating equipment (can be personal computer, server, terminal installation or Person's network equipment etc.) on when running, said program code is above-mentioned each exemplary in the calculatings equipment execution disclosure for making Method and step in embodiment.
It is shown in Figure 6, it, can according to the program product 600 for realizing the above method of embodiment of the present disclosure With using portable compact disc read-only memory (CD-ROM) and including program code, and can be to calculate equipment (such as a People's computer, server, terminal installation or network equipment etc.) on run.However, the program product of the disclosure is without being limited thereto. In the present example embodiment, computer readable storage medium can be any tangible medium for including or store program, the journey Sequence can be commanded execution system, device or device use or in connection.
Described program product can use any combination of one or more readable medium.Readable medium can be readable Signal media or readable storage medium storing program for executing.
Readable storage medium storing program for executing for example can be but be not limited to the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device Or device or any above combination.The more specific example (non exhaustive list) of readable storage medium storing program for executing includes: with one The electrical connection of a or multiple conducting wires, portable disc, hard disk, random access memory (RAM), read-only memory (ROM), erasable type Programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), optical memory Part, magnetic memory device or above-mentioned any appropriate combination.
Readable signal medium may include in a base band or as the data-signal that carrier wave a part is propagated, wherein carrying Readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal, optical signal Or above-mentioned any appropriate combination.Readable signal medium can also be any readable medium other than readable storage medium storing program for executing, should Readable medium can send, propagate or transmit for by instruction execution system, device or device use or it is in connection The program used.
The program code for including on readable medium can transmit with any suitable medium, including but not limited to wirelessly, have Line, optical cable, RF etc. or above-mentioned any appropriate combination.
Can with any combination of one or more programming languages come write for execute the disclosure operation program Code, described program design language include object oriented program language, Java, C++ etc., further include conventional mistake Formula programming language, such as C language or similar programming language.Program code can be calculated fully in user and be set Standby upper execution is partly executed on the user computing device, is set as an independent software package execution, partially in user's calculating Standby upper part executes on a remote computing or executes in remote computing device or server completely.It is being related to remotely In the situation for calculating equipment, remote computing device can pass through the network of any kind (including local area network (LAN) or wide area network (WAN) etc.) it is connected to user calculating equipment;Or, it may be connected to external computing device, such as provided using Internet service Quotient is connected by internet.
In the illustrative embodiments of the disclosure, also offer a kind of electronic equipment, the electronic equipment include at least one A processor and at least one be used for store the processor executable instruction memory;Wherein, the processor quilt It is configured to execute the method and step in the disclosure in above-mentioned each exemplary embodiment via the executable instruction is executed.
The electronic equipment 700 in this illustrative embodiment is described below with reference to Fig. 7.Electronic equipment 700 is only For an example, should not function to the embodiment of the present disclosure and use scope bring any restrictions.
Shown in Figure 7, electronic equipment 700 is showed in the form of universal computing device.The component of electronic equipment 700 can be with Including but not limited to: at least one processing unit 710, at least one storage unit 720, the different system components of connection (including place Manage unit 710 and storage unit 720) bus 730, display unit 740.
Wherein, storage unit 720 is stored with program code, and said program code can be executed with unit 710 processed, so that Processing unit 710 executes the method and step in the disclosure in above-mentioned each exemplary embodiment.
Storage unit 720 may include the readable medium of volatile memory cell form, such as Random Access Storage Unit 721 (RAM) and/or cache memory unit 722 can further include read-only memory unit 723 (ROM).
Storage unit 720 can also include program/utility 724 with one group of (at least one) program module 725, Such program module includes but is not limited to: operating system, one or more application program, other program modules and program It may include the realization of network environment in data, each of these examples or certain combination.
Bus 730 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in various bus structures Local bus.
Electronic equipment 700 can also be with one or more external equipments 800 (such as keyboard, sensing equipment, bluetooth equipment Deng) communication, the equipment communication that user can also be allowed to interact with the electronic equipment 700 with one or more, and/or with The electronic equipment 700 and one or more other are enabled to calculate any equipment that equipment are communicated (such as router, modulation Demodulator etc.) communication.This communication can be carried out by input/output (I/O) interface 750.Also, electronic equipment 700 may be used also To pass through network adapter 760 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network Network, such as internet) communication.As shown in fig. 7, network adapter 760 can be by other of bus 730 and electronic equipment 700 Module communication.It should be understood that although not shown in the drawings, other hardware and/or software mould can be used in conjunction with electronic equipment 700 Block, including but not limited to: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape Driver and data backup storage system etc..
It will be appreciated by those skilled in the art that various aspects of the disclosure can be implemented as system, method or program product. Therefore, various aspects of the disclosure can be with specific implementation is as follows, it may be assumed that complete hardware embodiment, complete software The embodiment that embodiment (including firmware, microcode etc.) or hardware and software combine, may be collectively referred to as here " circuit ", " module " or " system ".
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by appended Claim is pointed out.
Above-mentioned described feature, structure or characteristic can be incorporated in one or more embodiment party in any suitable manner In formula, if possible, it is characterized in discussed in each embodiment interchangeable.In the above description, it provides many specific thin Section fully understands embodiment of the present disclosure to provide.It will be appreciated, however, by one skilled in the art that this can be practiced Disclosed technical solution, or can be using other methods, component, material without one or more in specific detail Deng.In other cases, known features, material or operation are not shown in detail or describe to avoid each side of the fuzzy disclosure Face.

Claims (10)

1. a kind of method for payment, which is characterized in that the described method includes:
Mobile terminal is obtained at a distance from barcode scanning terminal;
It is less than pre-determined distance at a distance from the barcode scanning terminal in response to the mobile terminal, on the mobile terminal with picture Form pop up payment code;
Wherein, the payment code is used to carry out barcode scanning payment in the barcode scanning terminal.
2. the method according to claim 1 for payment, which is characterized in that the payment code is used for whole in the barcode scanning Barcode scanning payment is carried out on end to complete travel cost clearing.
3. the method according to claim 2 for payment, which is characterized in that obtaining mobile terminal and barcode scanning terminal Before distance, the method also includes:
Obtain the travel route information and trip site information of the mobile terminal association user;
A barcode scanning terminal is selected according to the travel route information and the trip site information.
4. the method according to claim 1 for payment, which is characterized in that the acquisition mobile terminal and barcode scanning terminal Distance, comprising:
Obtain the location information of the mobile terminal and the location information of the barcode scanning terminal;
According to the positional information calculation of the location information of the mobile terminal and the barcode scanning terminal obtain the mobile terminal with The distance of the barcode scanning terminal.
5. the method according to claim 1 for payment, which is characterized in that the method also includes:
When judging to preserve payment record relevant to the payment code in the barcode scanning terminal, configure the payment code to Invalid payment code.
6. the method according to claim 1 for payment, which is characterized in that the method also includes:
It is less than pre-determined distance at a distance from the barcode scanning terminal in response to the mobile terminal, on the mobile terminal pop-up branch Pay reminder message.
7. the method described in -6 for payment according to claim 1, which is characterized in that the payment code is with when presetting effective It is long.
8. a kind of device for payment characterized by comprising
Distance obtains module, is configured as obtaining mobile terminal at a distance from barcode scanning terminal;
Payment code pop-up module, be configured to respond to the mobile terminal be less than at a distance from the barcode scanning terminal it is default away from From, on the mobile terminal in the form of picture pop up payment code;
Wherein, the payment code is used to carry out barcode scanning payment in the barcode scanning terminal.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt The method described in any one of claim 1-7 for payment is realized when processor executes.
10. a kind of electronic equipment characterized by comprising
Processor;
Memory, for storing the executable instruction of the processor;
Wherein, the processor is configured to carrying out any one of perform claim requirement 1-7 via the executable instruction is executed The method for payment.
CN201811468445.7A 2018-12-03 2018-12-03 For the method, apparatus of payment, storage medium and electronic equipment Pending CN109615367A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811468445.7A CN109615367A (en) 2018-12-03 2018-12-03 For the method, apparatus of payment, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811468445.7A CN109615367A (en) 2018-12-03 2018-12-03 For the method, apparatus of payment, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN109615367A true CN109615367A (en) 2019-04-12

Family

ID=66005259

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811468445.7A Pending CN109615367A (en) 2018-12-03 2018-12-03 For the method, apparatus of payment, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN109615367A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110166985A (en) * 2019-05-28 2019-08-23 阿里巴巴集团控股有限公司 A kind of service awaking method and applications client
CN110533826A (en) * 2019-09-02 2019-12-03 阿里巴巴集团控股有限公司 A kind of information identifying method and system
CN110705984A (en) * 2019-10-12 2020-01-17 上海立可芯半导体科技有限公司 Mobile payment method, mobile terminal and mobile payment system
CN111475072A (en) * 2020-04-08 2020-07-31 维沃移动通信有限公司 Payment information display method and electronic equipment
CN112348510A (en) * 2019-08-09 2021-02-09 深圳市优克联新技术有限公司 Information processing method, information processing device, electronic equipment and storage medium
US10931814B2 (en) 2019-05-28 2021-02-23 Advanced New Technologies Co., Ltd. Service recommendation
CN113570362A (en) * 2021-07-30 2021-10-29 北京达佳互联信息技术有限公司 Two-dimensional code checking method and device
CN114187715A (en) * 2021-11-29 2022-03-15 中国银联股份有限公司 Code scanning state reminding method, device and equipment and computer readable storage medium

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110166985A (en) * 2019-05-28 2019-08-23 阿里巴巴集团控股有限公司 A kind of service awaking method and applications client
CN110166985B (en) * 2019-05-28 2020-08-21 阿里巴巴集团控股有限公司 Service calling method and application client
US10931814B2 (en) 2019-05-28 2021-02-23 Advanced New Technologies Co., Ltd. Service recommendation
CN112348510A (en) * 2019-08-09 2021-02-09 深圳市优克联新技术有限公司 Information processing method, information processing device, electronic equipment and storage medium
CN110533826A (en) * 2019-09-02 2019-12-03 阿里巴巴集团控股有限公司 A kind of information identifying method and system
CN110533826B (en) * 2019-09-02 2021-04-20 创新先进技术有限公司 Information identification method and system
CN110705984A (en) * 2019-10-12 2020-01-17 上海立可芯半导体科技有限公司 Mobile payment method, mobile terminal and mobile payment system
CN111475072A (en) * 2020-04-08 2020-07-31 维沃移动通信有限公司 Payment information display method and electronic equipment
CN113570362A (en) * 2021-07-30 2021-10-29 北京达佳互联信息技术有限公司 Two-dimensional code checking method and device
CN114187715A (en) * 2021-11-29 2022-03-15 中国银联股份有限公司 Code scanning state reminding method, device and equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN109615367A (en) For the method, apparatus of payment, storage medium and electronic equipment
US7562818B1 (en) Mobile device having a transit card application
US8181867B1 (en) Transit card credit authorization
WO2020038092A1 (en) Payment risk control method and system
CN102426780A (en) Paging system used for summoning taxis and paging method thereof
US20160140774A1 (en) Method and system for wireless payment for parking
US20160307182A1 (en) Toll history recording method and device
CN109410634A (en) Vehicles management method, system and storage medium
CN107046553B (en) Vehicle service processing method and mobile terminal
TWI643142B (en) Apparatus and method for self-service payment
CN109034951A (en) Method, system, equipment and the storage medium of take-away are subscribed on the run
CN103959355A (en) A system and a method for locating one or more peers
KR20170067179A (en) Call taxi service system and call taxi service method using the system
CN104063905A (en) Road cost payment method and device
KR101206238B1 (en) System and method for payment bus fare
KR102298285B1 (en) Method and system for managing car wash
CN110991837A (en) Online taxi appointment transaction data processing method, device and system
JP5140866B2 (en) Portable terminal device and program
KR101704464B1 (en) System and method for paying mobile vehicle fare
JP6646008B2 (en) Payment system, host terminal, payment method, program, and vehicle
CN105046755A (en) Motor vehicle passing method and system, mobile terminal, and charging system
CN105160579A (en) Internet-of-things-based automobile insurance billing method and system
CN111353781B (en) Transaction data processing method and system
CN114047717A (en) Usage control method, user terminal, server and shared vehicle system
JP7144381B2 (en) Insurance premium calculation device and insurance premium calculation method

Legal Events

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