CN110197370A - Two dimensional code generation, method of payment, terminal device and storage medium - Google Patents

Two dimensional code generation, method of payment, terminal device and storage medium Download PDF

Info

Publication number
CN110197370A
CN110197370A CN201910331449.9A CN201910331449A CN110197370A CN 110197370 A CN110197370 A CN 110197370A CN 201910331449 A CN201910331449 A CN 201910331449A CN 110197370 A CN110197370 A CN 110197370A
Authority
CN
China
Prior art keywords
dimensional code
payment
businessman
code data
paid
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910331449.9A
Other languages
Chinese (zh)
Other versions
CN110197370B (en
Inventor
柴启蕾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201910331449.9A priority Critical patent/CN110197370B/en
Publication of CN110197370A publication Critical patent/CN110197370A/en
Application granted granted Critical
Publication of CN110197370B publication Critical patent/CN110197370B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06037Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding
    • 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/322Aspects of commerce using mobile devices [M-devices]
    • G06Q20/3224Transactions dependent on location of M-devices
    • 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
    • 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/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification

Abstract

The present embodiments relate to a kind of two dimensional code generation, method of payment, terminal device and storage mediums, which comprises determines from barcode scanning payment process and identifies to the two dimensional code of merchant payment;Location information when determining to merchant payment;Two-dimensional code data is generated according to two dimensional code mark and the location information;The two-dimensional code data is stored in list to be paid, location information when identifying and paying to the two dimensional code of merchant payment is generated into two-dimensional code data, store the two-dimensional code data, when user arrives again at merchant location progress mobile payment, transferring the two-dimensional code data in list to be paid according to location information can be completed this payment flow, reduce and sweep again the step of taking businessman's two dimensional code, promotes payment efficiency.

Description

Two dimensional code generation, method of payment, terminal device and storage medium
Technical field
The present embodiments relate to computer network security field more particularly to a kind of generations of two dimensional code, method of payment, end End equipment and storage medium.
Background technique
With the development of mobile payment, mobile payment is at indispensable a part in for people's lives, for example, user is logical Overscan takes the two dimensional code of businessman to carry out payment operation to businessman, can reduce user when going out shopping by mobile payment function Cash carrying amount also avoids small change bring human cost of the businessman because of cash, improves efficiency of selling goods.
However, there is also some potential safety problemss for mobile payment, e.g., businessman usually places before its shop in gathering Or paste gathering two dimensional code, criminal, which exists, is changed to the gathering two dimensional code of businessman oneself gathering two dimensional code, be easy to Businessman brings loss;In addition, purchase requires to carry out a barcode scanning operation every time for the shop that some users often patronize, Waste user time, poor user experience.
Summary of the invention
In consideration of it, to solve above-mentioned technical problem or partial technical problems, it is raw that the embodiment of the present invention provides a kind of two dimensional code At, method of payment, terminal device and storage medium.
In a first aspect, the embodiment of the present invention provides a kind of two-dimensional code generation method, comprising:
It determines from barcode scanning payment process and is identified to the two dimensional code of merchant payment;
Location information when determining to merchant payment;
Two-dimensional code data is generated according to two dimensional code mark and the location information;
The two-dimensional code data is stored in list to be paid.
In a possible embodiment, described to determine from barcode scanning payment process to the two dimensional code mark of merchant payment Know, comprising:
When carrying out barcode scanning delivery operation, the two dimensional code mark of orientation merchant payment is swept;
The Receiving information of the businessman is determined according to two dimensional code mark;
Save the two dimensional code mark and the Receiving information.
In a possible embodiment, the method, further includes:
Obtain the two dimensional code mark saved in the set time period;
The two dimensional code mark that frequency of occurrence is greater than given threshold is identified as target two dimensional code.
In a possible embodiment, described that two dimensional code is generated according to two dimensional code mark and the location information Data, comprising:
It is identified according to the target two dimensional code and determines corresponding target position information and the Receiving information;
The target position information and the Receiving information are embedded in the target two dimensional code mark, target two dimension is generated Code data.
In a possible embodiment, the method, further includes:
When carrying out barcode scanning delivery operation, the security information of businessman is obtained;
It is described that the target position information and the Receiving information are embedded in the target two dimensional code mark, generate target Two-dimensional code data, comprising:
The target position information, the Receiving information and above-mentioned security information are embedded in the target two dimensional code mark In, generate target two-dimensional code data.
In a possible embodiment, the method, further includes:
It is spaced set period of time, the two-dimensional code data that frequency of occurrence is less than given threshold is deleted from the list to be paid It removes;And
It is spaced set period of time, the two-dimensional code data that frequency of occurrence is greater than given threshold is added to the list to be paid In.
Second aspect, the embodiment of the present invention provide a kind of method of payment, comprising:
Obtain the current location information of terminal device;
According to the current location information, determination carries out paying used two dimension to the businessman from list to be paid Code data;
It is paid the bill according to the two-dimensional code data to the businessman.
In a possible embodiment, the method, further includes:
Obtain the verifying password of businessman;
Judge the verifying password whether with the security information matches in the two-dimensional code data;
When the verifying password and the security information matches, paid according to the two-dimensional code data to the businessman Money.
The third aspect, the embodiment of the present invention provide a kind of terminal device, the electronic equipment include processor, memory and Communication bus;
The communication bus is for realizing the connection communication between processor and memory;
The two dimensional code that the processor is used to execute the application stored in memory generates program or payment processing program, with Realize in above-mentioned first aspect any method of payment in any two-dimensional code generation method or above-mentioned second aspect.
Fourth aspect, the embodiment of the present invention provide a kind of storage medium, and the storage medium is stored with one or more Program, one or more of programs can be executed by one or more processor, any in above-mentioned first aspect to realize Any method of payment in the two-dimensional code generation method or above-mentioned second aspect.
The two dimensional code of the present embodiment generates scheme, by determining from barcode scanning payment process to the two dimensional code mark of merchant payment Know;Location information when determining to merchant payment;Two-dimensional code data is generated according to two dimensional code mark and the location information; The two-dimensional code data is stored in list to be paid, by location information when identifying and paying to the two dimensional code of merchant payment Two-dimensional code data is generated, the two-dimensional code data is stored, when user, which arrives again at the merchant location, carries out mobile payment, according to position This payment flow can be completed in the two-dimensional code data transferred in list to be paid of confidence breath, reduces to sweep again and takes businessman two-dimentional The step of code, promotes payment efficiency.
Detailed description of the invention
Fig. 1 is a kind of hardware structural diagram of mobile terminal provided in an embodiment of the present invention;
Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention;
Fig. 3 is the front schematic view of the mobile phone of each embodiment of the application;
Fig. 4 is the schematic rear view of the mobile phone of each embodiment of the application;
Fig. 5 is a kind of flow diagram of two-dimensional code generation method provided in an embodiment of the present invention;
Fig. 6 the present embodiments relate to slave barcode scanning payment process in determine the process that identifies to the two dimensional code of merchant payment Schematic diagram;
Fig. 7 is the flow diagram of another two-dimensional code generation method provided in an embodiment of the present invention;
Fig. 8 is a kind of flow diagram of method of payment provided in an embodiment of the present invention;
Fig. 9 is a kind of structural schematic diagram of two dimensional code generating means provided in an embodiment of the present invention;
Figure 10 is a kind of structural schematic diagram of payment mechanism provided in an embodiment of the present invention;
Figure 11 is the structural schematic diagram of the mobile terminal of another kind provided in an embodiment of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. move The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram, Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model. Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.Fig. 3 is this Shen Please each embodiment mobile phone front schematic view;Fig. 4 is the schematic rear view of the mobile phone of each embodiment of the application.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
Fig. 5 is a kind of flow diagram of two-dimensional code generation method provided in an embodiment of the present invention, as shown in figure 5, the party Method specifically includes:
S51, it is determined from barcode scanning payment process to the two dimensional code of merchant payment mark.
The two-dimensional code generation method of the embodiment of the present invention is applied to terminal device, and user moves in using terminal equipment When payment, location information when by identifying and paid two dimensional code is integrated, and the data after integration are stored in In terminal device, when being paid again, the two-dimensional barcode information of pending payment can determine by location information, and then reduce again The operation of secondary barcode scanning promotes payment efficiency.
In the present embodiment, terminal device is swept when paying to businessman by image collecting device (such as camera) The two dimensional code mark for taking businessman to collect money, and two dimensional code mark is stored in terminal using the form of image data (e.g., picture) In the memory of equipment.
In an optinal plan of the embodiment of the present invention, S51 can be realized by following sub-step, be specifically included:
S61, when carrying out barcode scanning delivery operation, sweep orientation merchant payment two dimensional code mark.
The gathering two dimension code type that user can be presented according to businessman, selects corresponding mobile payment program to be paid, such as When what businessman was presented is wechat gathering two dimensional code, user can be used the wechat program in terminal device and carry out mobile payment;For another example When what businessman was presented is Alipay gathering two dimensional code, user can be used the Alipay program in terminal device and carry out mobile payment.
User carries out corresponding payment program by trigger action, clicks the barcode scanning button that display interface is shown, opens eventually The rear camera of end equipment, and the gathering two dimensional code that camera alignment businessman is presented, sweep the two dimension of orientation merchant payment Code mark.
S62, the Receiving information that the businessman is determined according to two dimensional code mark.
Terminal device will sweep the two dimensional code that takes and identify the preservation using image data in the form of, and to the image data of storage into Row identification, determines that two dimensional code identifies the Receiving information of corresponding businessman.
Further, the Receiving information of businessman can be but be not limited to: the title of businessman, the information such as head portrait of businessman.
Such as, the Receiving information of businessman may is that the trade mark of XX Co., Ltd, XX Co., Ltd.
S63, the two dimensional code mark and the Receiving information are saved.
The two dimensional code mark got will be swept and stored based on the determining Receiving information of two dimensional code mark.
In an optinal plan of the embodiment of the present invention, storage when, can by two dimensional code identify and Receiving information together into Row storage, and two dimensional code mark and Receiving information are numbered, such as the two dimensional code mark of certain businessman is denoted as: 001a, gathering Information is denoted as 001b.
S52, location information when determining to merchant payment.
It detects user and uses operation of the payment program to merchant payment, when determining to merchant payment, pass through terminal device Locating module, location information when determining user by terminal device to merchant payment.
Wherein, location information memorize is made: 001c.
S53, two-dimensional code data is generated according to two dimensional code mark and the location information.
Terminal device is swept to the two dimensional code mark for taking businessman to collect money by image collecting device, and when to merchant payment Determining location information generates two-dimensional code data.
In an optinal plan of the embodiment of the present invention, the Receiving information of businessman can also be determined based on two dimensional code mark (e.g., the title of businessman, the information such as head portrait of businessman), generates two dimensional code according to two dimensional code mark, Receiving information and position data Data.
Such as, 001a, Receiving information 001b and location information are identified according to two dimensional code and knows 001c generation two-dimensional code data.
S54, the two-dimensional code data is stored in list to be paid.
In the present embodiment, it is stored with payment list in terminal device, is stored with two-dimensional code data in the payment list.
Such as, two-dimensional code data can be ranked up in the list to be paid according to the successive sequence that the time generates, again Such as, can also according to the distance (setting center for the residence of user) of distance by two-dimensional code data in the column to be paid Table is ranked up.
The two-dimensional code generation method of the present embodiment, by determining from barcode scanning payment process to the two dimensional code mark of merchant payment Know;Location information when determining to merchant payment;Two-dimensional code data is generated according to two dimensional code mark and the location information; The two-dimensional code data is stored in list to be paid, by location information when identifying and paying to the two dimensional code of merchant payment Two-dimensional code data is generated, the two-dimensional code data is stored, when user arrives again at merchant location progress mobile payment, according to position This payment flow can be completed in the two-dimensional code data transferred in list to be paid of confidence breath, reduces to sweep again and takes businessman two-dimentional The step of code, promotes payment efficiency.
Fig. 7 is the flow diagram of another two-dimensional code generation method provided in an embodiment of the present invention, as shown in fig. 7, should Method specifically includes:
S71, when carrying out barcode scanning delivery operation, sweep orientation merchant payment two dimensional code mark.
S72, the Receiving information that the businessman is determined according to two dimensional code mark.
S73, the two dimensional code mark and the Receiving information are saved.
The step of above-mentioned S71-S73 and S61-S63 as shown in FIG. 6, is substantially similar, can refer to such as S61-S63 in Fig. 6 Associated description, for succinct description, therefore not to repeat here.
S74, location information when determining to merchant payment.
The step of above-mentioned S74 and S52 as shown in Figure 5, is substantially similar, can refer to the associated description such as S52 in Fig. 5, for letter Clean description, therefore not to repeat here.
The two dimensional code mark that S75, acquisition save in the set time period.
In the present embodiment, to guarantee that the data in list to be paid have common property, it is added to by two-dimensional code data Before list to be paid, the two dimensional code mark saved in set period of time is chosen.
Such as, it obtains within one week, the number and each two dimensional code mark for the two dimensional code mark that terminal device saves occur Number, specifically include:
Two dimensional code identify A (5 times), two dimensional code mark B (1 time), two dimensional code mark C (2 times), two dimensional code mark D (8 times), Two dimensional code identifies E (3 times), two dimensional code mark F (4 times).
It should be noted that in the present embodiment, given threshold can be set according to actual needs, such as: 3,4,5,6 Deng in this regard, the present embodiment is not especially limited.
S76, the two dimensional code mark that frequency of occurrence is greater than to given threshold are identified as target two dimensional code.
In the present embodiment, given threshold and by the threshold value to two dimensional code mark judge, if given threshold be 3, Two dimensional code mark by frequency of occurrence greater than 3 times is identified as target two dimensional code, that is, target two dimensional code identifies corresponding target Two-dimensional code data will be stored in list to be paid.
Such as, target two dimensional code mark includes: two dimensional code mark A, two dimensional code mark D and two dimensional code mark F.
S77, determining corresponding target position information and the Receiving information are identified according to the target two dimensional code.
The corresponding target position information of two dimensional code mark A, D, F and Receiving information are determined respectively.
Such as, the corresponding target position information of two dimensional code mark A be A1, Receiving information A2;
Two dimensional code identify the corresponding target position information of D be D1, Receiving information D2;And
Two dimensional code identify the corresponding target position information of F be F1, Receiving information F2.
S78, the target position information and the Receiving information are embedded in the target two dimensional code mark, generate target Two-dimensional code data.
In the present embodiment, it can be stored in the form of image data in target two dimensional code mark, by target position Confidence breath and Receiving information are embedded in the image data, generate corresponding target two-dimensional code data.
Further, carrying out identification to target two-dimensional code data by image recognition technology can determine that corresponding businessman believes Breath, and then complete mobile payment.
In an optinal plan of the embodiment of the present invention, when carrying out barcode scanning delivery operation, the security information of businessman is obtained, The target position information, the Receiving information and above-mentioned security information are embedded in the target two dimensional code mark, mesh is generated Mark two-dimensional code data.
Wherein, the security information of businessman can be the information of the customized setting of businessman, can be carried out according to businessman's demand real-time Change, security information can be identifying code.
S79, the target two-dimensional code data is stored in list to be paid.
The step of above-mentioned S79 and S54 as shown in Figure 5, is substantially similar, can refer to the associated description such as S54 in Fig. 5, for letter Clean description, therefore not to repeat here.
S710, interval set period of time, the target two-dimensional code data by frequency of occurrence less than given threshold is from described wait prop up It pays in list and deletes.
S711, interval set period of time, the target two-dimensional code data that frequency of occurrence is greater than given threshold are added to described In list to be paid.
S710 and S711 is set period of time the step of carrying out real-time update to target two-dimensional code data in list to be paid It may be, but not limited to: one week, two weeks, one month etc.;Given threshold may be, but not limited to: 3,4,5,6 etc..
It should be noted that in the present embodiment, can be carried out according to actual needs for set period of time and given threshold Setting is in this regard, the present embodiment is not especially limited.
The two-dimensional code generation method of the present embodiment, by determining from barcode scanning payment process to the two dimensional code mark of merchant payment Know;Location information when determining to merchant payment;Two-dimensional code data is generated according to two dimensional code mark and the location information; The two-dimensional code data is stored in list to be paid, by location information when identifying and paying to the two dimensional code of merchant payment Two-dimensional code data is generated, the two-dimensional code data is stored, when user arrives again at merchant location progress mobile payment, according to position This payment flow can be completed in the two-dimensional code data transferred in list to be paid of confidence breath, reduces to sweep again and takes businessman two-dimentional The step of code, promotes payment efficiency;The security information that businessman is added in two-dimensional code data can guarantee that user hands over businessman Safety when easily.
Fig. 8 is a kind of flow diagram of method of payment provided in an embodiment of the present invention, as shown in figure 8, this method is specific Include:
S81, the current location information for obtaining terminal device.
In the present embodiment, when user reaches merchant location and carries out mobile payment to businessman, terminal device is obtained eventually The current location information of end equipment.
S82, determined from list to be paid according to the current location information and paid to the businessman used in Two-dimensional code data.
It is matched, is determined two in current location information and list to be paid from list to be paid according to front position information Whether the corresponding location information of dimension code data matches, and when matching, determines that terminal device carries out mobile payment to businessman Two-dimensional code data.
In an optinal plan of the present embodiment, error threshold, the mistake of current location information and location information can be set When difference is less than error threshold, then it is assumed that current location information location information phase corresponding with two-dimensional code data in list to be paid Match.
S83, the verifying password for obtaining businessman.
In an optinal plan of the present embodiment, two-dimensional code data further includes the security information (such as identifying code) of businessman, eventually The verifying password of end equipment acquisition businessman.
Such as, security information are as follows: identifying code please be input, verifying password is 4-digit number.
It should be understood that security information and verifying password are what businessman pre-set.
S84, judge the verifying password whether with the security information matches in the two-dimensional code data.
S85, when the verifying password and when the security information matches, according to the two-dimensional code data to the businessman into Row payment.
When the security information in verifying password and two-dimensional code data matches, then show that the two-dimensional code data is businessman's Gathering code, is paid the bill by the two-dimensional code data to businessman.
Method of payment provided in an embodiment of the present invention, by the current location information for obtaining terminal device;Worked as according to described Information determination from list to be paid in front position carries out paying used two-dimensional code data to the businessman;Obtain testing for businessman Demonstrate,prove password;Judge the verifying password whether with the security information matches in the two-dimensional code data;When the verifying password with It when the security information matches, is paid the bill according to the two-dimensional code data to the businessman, when user arrives again at the businessman When position carries out mobile payment, transferring the two-dimensional code data in list to be paid according to current location information can be completed this branch Process is paid, reduces and sweeps again the step of taking businessman's two dimensional code, promotes payment efficiency;The peace of businessman is added in two-dimensional code data Full information can guarantee safety when user and businessman trade.
Fig. 9 is a kind of structural schematic diagram of two dimensional code generating means provided in an embodiment of the present invention, as shown in figure 9, the dress It sets and specifically includes:
Determining module 901 is identified for determining from barcode scanning payment process to the two dimensional code of merchant payment;
Determining module 901 is also used to location information when determining to merchant payment;
Generation module 902, for generating two-dimensional code data according to two dimensional code mark and the location information;
Memory module 903, for the two-dimensional code data to be stored in list to be paid.
Optionally, the determining module 901 is specifically used for when carrying out barcode scanning delivery operation, sweeps orientation merchant payment Two dimensional code mark;The Receiving information of the businessman is determined according to two dimensional code mark;Save two dimensional code mark and described Receiving information.
Optionally, the determining module 901 is also used to obtain the two dimensional code mark saved in the set time period; The two dimensional code mark that frequency of occurrence is greater than given threshold is identified as target two dimensional code.
Optionally, the generation module 902 is specifically used for determining corresponding target position according to target two dimensional code mark Confidence breath and the Receiving information;The target position information and the Receiving information are embedded in the target two dimensional code mark In, generate target two-dimensional code data.
Optionally, described device further include: module 904 is obtained, for obtaining businessman's when carrying out barcode scanning delivery operation Security information;
The generation module 902 is also used to the target position information, the Receiving information and above-mentioned security information is embedding Enter in the target two dimensional code mark, generates target two-dimensional code data.
Optionally, described device, further includes: frequency of occurrence is less than by update module 905 for being spaced set period of time The two-dimensional code data of given threshold is deleted from the list to be paid;And interval set period of time, frequency of occurrence is greater than The two-dimensional code data of given threshold is added in the list to be paid.
The two dimensional code generating means of the present embodiment, by determining from barcode scanning payment process to the two dimensional code mark of merchant payment Know;Location information when determining to merchant payment;Two-dimensional code data is generated according to two dimensional code mark and the location information; The two-dimensional code data is stored in list to be paid, by location information when identifying and paying to the two dimensional code of merchant payment Two-dimensional code data is generated, the two-dimensional code data is stored, when user, which arrives again at the merchant location, carries out mobile payment, according to position This payment flow can be completed in the two-dimensional code data transferred in list to be paid of confidence breath, reduces to sweep again and takes businessman two-dimentional The step of code, promotes payment efficiency.
Figure 10 is a kind of structural schematic diagram of payment mechanism provided in an embodiment of the present invention, as shown in Figure 10, device tool Body includes:
Module 1001 is obtained, for obtaining the current location information of terminal device;
Determining module 1002 is carried out for being determined from list to be paid to the businessman according to the current location information Two-dimensional code data used in paying;
Payment module 1003, for being paid the bill according to the two-dimensional code data to the businessman.
Optionally, the acquisition module 1001, is also used to obtain the verifying password of businessman;Whether judge the verifying password With the security information matches in the two-dimensional code data;
Payment module 1003 is specifically used for when the verifying password and the security information matches, according to the two dimension Code data are paid the bill to the businessman.
Payment mechanism provided in an embodiment of the present invention, by the current location information for obtaining terminal device;Worked as according to described Information determination from list to be paid in front position carries out paying used two-dimensional code data to the businessman;Obtain testing for businessman Demonstrate,prove password;Judge the verifying password whether with the security information matches in the two-dimensional code data;When the verifying password with It when the security information matches, is paid the bill according to the two-dimensional code data to the businessman, when user arrives again at the businessman When position carries out mobile payment, transferring the two-dimensional code data in list to be paid according to current location information can be completed this branch Process is paid, reduces and sweeps again the step of taking businessman's two dimensional code, promotes payment efficiency;The peace of businessman is added in two-dimensional code data Full information can guarantee safety when user and businessman trade.
Figure 11 is the structural schematic diagram of the mobile terminal of another kind provided in an embodiment of the present invention, and movement shown in Figure 11 is eventually End 1100 includes: at least one processor 1101, memory 1102, at least one network interface 11011 and other users interface 1103.Various components in mobile terminal 1100 are coupled by bus system 1105.It is understood that bus system 1105 is used Connection communication between these components of realization.Bus system 1105 further includes power bus, control in addition to including data/address bus Bus and status signal bus in addition processed.But for the sake of clear explanation, various buses are all designated as bus system in Figure 11 1105。
Wherein, user interface 1103 may include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 1102 in the embodiment of the present invention can be volatile memory or non-volatile memories Device, or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read-OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), erasable programmable are read-only Memory (ErasablePROM, EPROM), electrically erasable programmable read-only memory (ElectricallyEPROM, EEPROM) Or flash memory.Volatile memory can be random access memory (RandomAccessMemory, RAM), be used as external high Speed caching.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory (StaticRAM, SRAM), dynamic random access memory (DynamicRAM, DRAM), Synchronous Dynamic Random Access Memory (SynchronousDRAM, SDRAM), double data speed synchronous dynamic RAM (DoubleDataRate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct rambus random access memory (DirectRambusRAM, DRRAM).Memory 1102 described herein is intended to include but is not limited to these and fits with any other Close the memory of type.
In some embodiments, memory 1102 stores following element, and unit or data structure can be performed, or Their subset of person or their superset: operating system 11021 and application program 11022.
Wherein, operating system 11021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for Realize various basic businesses and the hardware based task of processing.Application program 11022 includes various application programs, such as matchmaker Body player (MediaPlayer), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention The program of method may be embodied in application program 11022.
In embodiments of the present invention, by the program or instruction of calling memory 1102 to store, specifically, can be application The program or instruction stored in program 11022, processor 1101 is for executing method and step provided by each method embodiment, example It such as include: to determine to identify to the two dimensional code of merchant payment from barcode scanning payment process;Location information when determining to merchant payment; Two-dimensional code data is generated according to two dimensional code mark and the location information;The two-dimensional code data is stored in column to be paid In table.
Optionally, when carrying out barcode scanning delivery operation, the two dimensional code mark of orientation merchant payment is swept;According to the two dimensional code Mark determines the Receiving information of the businessman;Save the two dimensional code mark and the Receiving information.
Optionally, the two dimensional code mark saved in the set time period is obtained;Frequency of occurrence is greater than given threshold Two dimensional code mark as target two dimensional code identify.
Optionally, it is identified according to the target two dimensional code and determines corresponding target position information and the Receiving information;It will The target position information and the Receiving information are embedded in the target two dimensional code mark, generate target two-dimensional code data.
Optionally, when carrying out barcode scanning delivery operation, the security information of businessman is obtained;By the target position information, institute It states Receiving information and above-mentioned security information is embedded in the target two dimensional code mark, generate target two-dimensional code data.
Optionally, it is spaced set period of time, frequency of occurrence is less than the two-dimensional code data of given threshold from described to be paid It is deleted in list;And interval set period of time, by the two-dimensional code data that frequency of occurrence is greater than given threshold be added to it is described to It pays in list.
Or;
Obtain the current location information of terminal device;It is determined from list to be paid to institute according to the current location information Businessman is stated to carry out paying used two-dimensional code data;It is paid the bill according to the two-dimensional code data to the businessman.
Optionally, the verifying password of businessman is obtained;Judge the verifying password whether with the peace in the two-dimensional code data Full information matching;When the verifying password and when the security information matches, according to the two-dimensional code data to the businessman into Row payment.
The method that the embodiments of the present invention disclose can be applied in processor 1101, or real by processor 1101 It is existing.Processor 1101 may be a kind of IC chip, the processing capacity with signal.During realization, the above method Each step can be completed by the instruction of the integrated logic circuit of the hardware in processor 1101 or software form.Above-mentioned Processor 1101 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), dedicated collection At circuit (ApplicationSpecific IntegratedCircuit, ASIC), ready-made programmable gate array (FieldProgrammableGateArray, FPGA) either other programmable logic device, discrete gate or transistor logic Device, discrete hardware components.It may be implemented or execute disclosed each method, step and the logical box in the embodiment of the present invention Figure.General processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with the present invention The step of method disclosed in embodiment, can be embodied directly in hardware decoding processor and execute completion, or use decoding processor In hardware and software unit combination execute completion.Software unit can be located at random access memory, and flash memory, read-only memory can In the storage medium of this fields such as program read-only memory or electrically erasable programmable memory, register maturation.The storage Medium is located at memory 1102, and processor 1101 reads the information in memory 1102, completes the above method in conjunction with its hardware Step.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its Combination is to realize.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (Application SpecificIntegratedCircuits, ASIC), digital signal processor (DigitalSignalProcessing, DSP), Digital signal processing appts (DSPDevice, DSPD), programmable logic device (ProgrammableLogicDevice, PLD), Field programmable gate array (Field-ProgrammableGateArray, FPGA), general processor, controller, microcontroller In device, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, the techniques described herein can be realized by executing the unit of function described herein.Software generation Code is storable in memory and is executed by processor.Memory can in the processor or portion realizes outside the processor.
The mobile terminal of the present embodiment is identified by determining from barcode scanning payment process to the two dimensional code of merchant payment;Really Orient location information when merchant payment;Two-dimensional code data is generated according to two dimensional code mark and the location information;By institute It states two-dimensional code data to be stored in list to be paid, location information when identifying and paying to the two dimensional code of merchant payment is generated Two-dimensional code data stores the two-dimensional code data, when user, which arrives again at the merchant location, carries out mobile payment, is believed according to position Ceasing the two-dimensional code data transferred in list to be paid can be completed this payment flow, reduces to sweep again and takes businessman's two dimensional code Step promotes payment efficiency.
By the current location information for obtaining terminal device;It is determined from list to be paid according to the current location information It carries out paying used two-dimensional code data to the businessman;Obtain the verifying password of businessman;Whether judge the verifying password With the security information matches in the two-dimensional code data;When the verifying password and the security information matches, according to described Two-dimensional code data is paid the bill to the businessman, when user, which arrives again at the merchant location, carries out mobile payment, according to current This payment flow can be completed in the two-dimensional code data that location information transfers in list to be paid, reduces to sweep again and takes businessman two The step of tieing up code promotes payment efficiency;The security information that businessman is added in two-dimensional code data can guarantee that user and businessman carry out Safety when transaction.
The embodiment of the invention also provides a kind of storage medium (computer readable storage mediums).Here storage medium is deposited Contain one or more program.Wherein, storage medium may include volatile memory, such as random access memory;It deposits Reservoir also may include nonvolatile memory, such as read-only memory, flash memory, hard disk or solid state hard disk;Memory It can also include the combination of the memory of mentioned kind.
It is above-mentioned two to realize when one or more program can be executed by one or more processor in storage medium Tie up the two-dimensional code generation method that code generating device side executes.
The processor is used to execute the two dimensional code stored in memory and generates program, following in two dimensional code generation to realize The step of two-dimensional code generation method that equipment side executes:
It determines from barcode scanning payment process and is identified to the two dimensional code of merchant payment;Believe position when determining to merchant payment Breath;Two-dimensional code data is generated according to two dimensional code mark and the location information;The two-dimensional code data is stored in wait prop up It pays in list.
Optionally, when carrying out barcode scanning delivery operation, the two dimensional code mark of orientation merchant payment is swept;According to the two dimensional code Mark determines the Receiving information of the businessman;Save the two dimensional code mark and the Receiving information.
Optionally, the two dimensional code mark saved in the set time period is obtained;Frequency of occurrence is greater than given threshold Two dimensional code mark as target two dimensional code identify.
Optionally, it is identified according to the target two dimensional code and determines corresponding target position information and the Receiving information;It will The target position information and the Receiving information are embedded in the target two dimensional code mark, generate target two-dimensional code data.
Optionally, when carrying out barcode scanning delivery operation, the security information of businessman is obtained;By the target position information, institute It states Receiving information and above-mentioned security information is embedded in the target two dimensional code mark, generate target two-dimensional code data.
Optionally, it is spaced set period of time, frequency of occurrence is less than the two-dimensional code data of given threshold from described to be paid It is deleted in list;And interval set period of time, by the two-dimensional code data that frequency of occurrence is greater than given threshold be added to it is described to It pays in list.
The embodiment of the invention also provides a kind of storage medium (computer readable storage mediums).Here storage medium is deposited Contain one or more program.Wherein, storage medium may include volatile memory, such as random access memory;It deposits Reservoir also may include nonvolatile memory, such as read-only memory, flash memory, hard disk or solid state hard disk;Memory It can also include the combination of the memory of mentioned kind.
When one or more program can be executed by one or more processor in storage medium, to realize above-mentioned propping up The method of payment that dispensing apparatus side executes.
The processor is for executing the payment program stored in memory, with what is executed below realization in payment devices side The step of method of payment:
Obtain the current location information of terminal device;It is determined from list to be paid to institute according to the current location information Businessman is stated to carry out paying used two-dimensional code data;It is paid the bill according to the two-dimensional code data to the businessman.
Optionally, the verifying password of businessman is obtained;Judge the verifying password whether with the peace in the two-dimensional code data Full information matching;When the verifying password and when the security information matches, according to the two-dimensional code data to the businessman into Row payment.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form, all of these belong to the protection of the present invention.

Claims (10)

1. a kind of two-dimensional code generation method characterized by comprising
It determines from barcode scanning payment process and is identified to the two dimensional code of merchant payment;
Location information when determining to merchant payment;
Two-dimensional code data is generated according to two dimensional code mark and the location information;
The two-dimensional code data is stored in list to be paid.
2. the method according to claim 1, wherein described determine from barcode scanning payment process to merchant payment Two dimensional code mark, comprising:
When carrying out barcode scanning delivery operation, the two dimensional code mark of orientation merchant payment is swept;
The Receiving information of the businessman is determined according to two dimensional code mark;
Save the two dimensional code mark and the Receiving information.
3. according to the method described in claim 2, it is characterized in that, the method, further includes:
Obtain the two dimensional code mark saved in the set time period;
The two dimensional code mark that frequency of occurrence is greater than given threshold is identified as target two dimensional code.
4. according to the method described in claim 3, it is characterized in that, described according to two dimensional code mark and the location information Generate two-dimensional code data, comprising:
It is identified according to the target two dimensional code and determines corresponding target position information and the Receiving information;
The target position information and the Receiving information are embedded in the target two dimensional code mark, target two dimension yardage is generated According to.
5. according to the method described in claim 4, it is characterized in that, the method, further includes:
When carrying out barcode scanning delivery operation, the security information of businessman is obtained;
It is described that the target position information and the Receiving information are embedded in the target two dimensional code mark, generate target two dimension Code data, comprising:
The target position information, the Receiving information and above-mentioned security information are embedded in the target two dimensional code mark, it is raw At target two-dimensional code data.
6. the method according to claim 1, wherein the method, further includes:
It is spaced set period of time, the two-dimensional code data that frequency of occurrence is less than given threshold is deleted from the list to be paid; And
It is spaced set period of time, the two-dimensional code data that frequency of occurrence is greater than given threshold is added in the list to be paid.
7. a kind of method of payment characterized by comprising
Obtain the current location information of terminal device;
According to the current location information from list to be paid determine to the businessman paid used in two dimension yardage According to;
It is paid the bill according to the two-dimensional code data to the businessman.
8. the method according to the description of claim 7 is characterized in that the method, further includes:
Obtain the verifying password of businessman;
Judge the verifying password whether with the security information matches in the two-dimensional code data;
When the verifying password and the security information matches, paid the bill according to the two-dimensional code data to the businessman.
9. a kind of terminal device, which is characterized in that the electronic equipment includes processor, memory and communication bus;
The communication bus is for realizing the connection communication between processor and memory;
The two dimensional code that the processor is used to execute the application stored in memory generates program or payment processing program, to realize Any method of payment in any two-dimensional code generation method or 7~8 in claim 1~6.
10. a kind of storage medium, which is characterized in that the storage medium is stored with one or more program, it is one or The multiple programs of person can be executed by one or more processor, and to realize, any two dimensional code is generated in claim 1~6 Or any method of payment in 7~8.
CN201910331449.9A 2019-04-23 2019-04-23 Two-dimensional code generation and payment method, terminal equipment and storage medium Active CN110197370B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910331449.9A CN110197370B (en) 2019-04-23 2019-04-23 Two-dimensional code generation and payment method, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910331449.9A CN110197370B (en) 2019-04-23 2019-04-23 Two-dimensional code generation and payment method, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110197370A true CN110197370A (en) 2019-09-03
CN110197370B CN110197370B (en) 2024-04-05

Family

ID=67752013

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910331449.9A Active CN110197370B (en) 2019-04-23 2019-04-23 Two-dimensional code generation and payment method, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110197370B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111784481A (en) * 2020-08-03 2020-10-16 支付宝(杭州)信息技术有限公司 Code scanning ordering method, service code creating device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107730260A (en) * 2017-09-30 2018-02-23 努比亚技术有限公司 A kind of method, equipment and terminal realized Quick Response Code and paid
CN108171506A (en) * 2017-12-27 2018-06-15 珠海市魅族科技有限公司 A kind of method of mobile payment and terminal, electronic equipment and readable storage medium storing program for executing
CN108647957A (en) * 2018-05-11 2018-10-12 维沃移动通信有限公司 A kind of method of payment, device and mobile terminal
CN108898206A (en) * 2018-06-11 2018-11-27 上海掌门科技有限公司 A kind of method and barcode scanning safe checking method generating gathering code

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109064160A (en) * 2018-07-19 2018-12-21 许兴磊 A kind of method of payment, checkout terminal and cash receiving terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107730260A (en) * 2017-09-30 2018-02-23 努比亚技术有限公司 A kind of method, equipment and terminal realized Quick Response Code and paid
CN108171506A (en) * 2017-12-27 2018-06-15 珠海市魅族科技有限公司 A kind of method of mobile payment and terminal, electronic equipment and readable storage medium storing program for executing
CN108647957A (en) * 2018-05-11 2018-10-12 维沃移动通信有限公司 A kind of method of payment, device and mobile terminal
CN108898206A (en) * 2018-06-11 2018-11-27 上海掌门科技有限公司 A kind of method and barcode scanning safe checking method generating gathering code

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111784481A (en) * 2020-08-03 2020-10-16 支付宝(杭州)信息技术有限公司 Code scanning ordering method, service code creating device and electronic equipment
CN111784481B (en) * 2020-08-03 2023-08-08 支付宝(中国)网络技术有限公司 Code scanning ordering method, service code creating method, device and electronic equipment

Also Published As

Publication number Publication date
CN110197370B (en) 2024-04-05

Similar Documents

Publication Publication Date Title
CN107786732A (en) Terminal applies method for pushing, mobile terminal and computer-readable recording medium
CN107507007A (en) One kind pays 2 D code verification method, terminal and computer-readable recording medium
CN110097419A (en) Commodity data processing method, computer equipment and storage medium
CN107248072A (en) Barcode scanning method of payment, mobile terminal and computer-readable recording medium
CN107527200A (en) A kind of payment management method, mobile terminal and computer-readable recording medium
CN107657039A (en) Bill recording method, mobile terminal and computer-readable recording medium
CN107908350A (en) A kind of unlocking method, terminal and computer-readable recording medium
CN107885474A (en) Multi-screen terminal mobile payment control method, terminal and computer-readable recording medium
CN110321474A (en) Recommended method, device, terminal device and storage medium based on search term
CN107643860A (en) A kind of method of information alert, mobile terminal and computer-readable recording medium
CN107230058A (en) A kind of method of payment, equipment, server and computer-readable recording medium
CN107566980A (en) The localization method and mobile terminal of a kind of mobile terminal
CN107730260A (en) A kind of method, equipment and terminal realized Quick Response Code and paid
CN109885764A (en) A kind of subscription information processing method, mobile terminal and computer readable storage medium
CN107239567A (en) A kind of recognition methods of object scene, equipment and computer-readable recording medium
CN107967056A (en) Control method, terminal and the computer-readable recording medium of flexible screen
CN107230065A (en) A kind of two-dimensional code display method, equipment and computer-readable recording medium
CN109544139A (en) A kind of method of payment, terminal and readable storage medium storing program for executing
CN108601004A (en) NFC uses bootstrap technique, mobile terminal and computer readable storage medium
CN107133795A (en) A kind of method, equipment and computer-readable recording medium for switching payment environment
CN108062669A (en) A kind of method of payment, terminal and computer readable storage medium
CN107358432A (en) Mobile terminal is swiped the card method, apparatus and computer-readable recording medium
CN107124708A (en) The display methods of international roaming service, device, computer-readable recording medium
CN109711830A (en) The quick display methods and device, mobile terminal and storage medium of two dimensional code payment
CN109600714A (en) A kind of method of payment, terminal and readable storage medium storing program for executing

Legal Events

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