CN107679851A - Means of payment call method and device, computer installation and readable storage medium storing program for executing - Google Patents

Means of payment call method and device, computer installation and readable storage medium storing program for executing Download PDF

Info

Publication number
CN107679851A
CN107679851A CN201710899436.2A CN201710899436A CN107679851A CN 107679851 A CN107679851 A CN 107679851A CN 201710899436 A CN201710899436 A CN 201710899436A CN 107679851 A CN107679851 A CN 107679851A
Authority
CN
China
Prior art keywords
color
payment
graphic code
region
set image
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
CN201710899436.2A
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.)
Meizu Technology Co Ltd
Original Assignee
Meizu 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 Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201710899436.2A priority Critical patent/CN107679851A/en
Publication of CN107679851A publication Critical patent/CN107679851A/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1439Methods for optical code recognition including a method step for retrieval of the optical code

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Toxicology (AREA)
  • Business, Economics & Management (AREA)
  • Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Cash Registers Or Receiving Machines (AREA)

Abstract

The present invention provides a kind of means of payment call method and device, computer installation and readable storage medium storing program for executing, wherein, the means of payment call method includes:The pre-set image of graphic code information is included by the image acquisition device of terminal;Obtain the color in graphic code region in the pre-set image;Wherein, the color is the color in addition to black and white;Call the means of payment that the color in the graphic code region with getting is corresponding.The present invention determines corresponding payment using the color in graphic code region, can meet the payment demand of user, while lifts the payment experience of user.

Description

Means of payment call method and device, computer installation and readable storage medium storing program for executing
Technical field
The present invention relates to graphic code identification technology field, more particularly to a kind of means of payment call method and device, calculating Machine device and readable storage medium storing program for executing.
Background technology
This part is it is intended that the embodiments of the present invention stated in claims and embodiment provide background Or context.Description herein recognizes it is prior art not because not being included in this part.
With the application programs such as wechat, Alipay (APP) popularization, Quick Response Code is into life indispensable one Part.For example, in the scene of mobile payment, Alipay Quick Response Code and wechat Quick Response Code can be placed in receipts by many hotel owners simultaneously On silver-colored platform, so that the corresponding mobile payment mode of user's unrestricted choice is paid the bill.Often occur user in this scene to beat Open Alipay interface and but scanned the Quick Response Code of wechat, or open the two dimension that wechat payment interface but scans Alipay Code, cause to pay failure, it is necessary to reopen application program, so as to waste the time of user, have a strong impact on Consumer's Experience.
Further, since dimensional code scanner is identified according to the colour contrast (Color Contrast) of bar code, therefore It is best that effect is matched with black-white colors.But in order to change Quick Response Code style sheet one, with meet user pursue individual character, follow the fashion, The demand of color is pursued, is applied and also to distinguish different types of pay, is ensureing that 2 D code information can be by just at present Really on the premise of scanning, some colored LOGO are generally also set in the center section of Quick Response Code, and part point is arranged into coloured silk Color, or set some colors, such as the center section of common wechat Quick Response Code to be typically provided with the fringe region of Quick Response Code The wechat mark of green, or the fringe region of wechat Quick Response Code is set to green, the center section of Alipay Quick Response Code is usual Alipay provided with blueness is identified, or the fringe region of Alipay Quick Response Code is set into blueness.However, user still needs to sentence The classification of disconnected Quick Response Code simultaneously opens the barcode scanning interface of corresponding application program to carry out barcode scanning, and Consumer's Experience is bad.
The content of the invention
In view of above-mentioned, the present invention provides a kind of means of payment call method and device, computer installation and readable storage medium Matter, meets the payment demand of user, while lifts user and pay experience.
On the one hand the embodiment of the present invention provides a kind of means of payment call method, the means of payment call method includes:
The pre-set image of graphic code information is included by the image acquisition device of terminal;
Obtain the color in graphic code region in the pre-set image;Wherein, the color is in addition to black and white Color;
Call the means of payment that the color in the graphic code region with getting is corresponding.
Further, the color for obtaining graphic code region in the pre-set image includes:
Obtain the color that the central area of graphic code pattern and fringe region are presented in the pre-set image;Or
Obtain the color that the central area of graphic code pattern in the pre-set image is presented;Or
Obtain the color that the fringe region of graphic code pattern in the pre-set image is presented.
Further, the means of payment call method also includes:
If the quantity for the color that the central area of graphic code pattern and fringe region are presented is more in the pre-set image Kind, then obtain the multicolour;
Calculate the region area of the graphic code pattern in the multicolour obtained corresponding to every kind of color;
Using color corresponding to the region area with maximum as the color in graphic code region in the pre-set image It is color.
Further, the corresponding means of payment of the color in the graphic code region of the calling with getting includes:
It is determined that the means of payment that the color in the graphic code region with getting is corresponding;
Start the barcode scanning interface for paying application corresponding with the means of payment determined, and by the barcode scanning interface to described Graphic code information carries out barcode scanning.
Further, the means of payment call method also includes:
The graphic code pattern in the pre-set image is identified, to obtain the information included in the graphic code pattern;
The means of payment that the color in the graphic code region of the calling with getting is corresponding includes:
It is determined that the means of payment that the color in the graphic code region with getting is corresponding;
According to the information included in the graphic code pattern, the branch for paying application corresponding with the means of payment determined is opened Interface is paid to be paid.
On the other hand the embodiment of the present invention provides a kind of means of payment calling device, it is to be understood that because power wants bar Number limitation, device item power will not embodied here corresponding to the method item in Quan Yaozhong embodiments.
The means of payment calling device of the present invention includes:
Image capture module, for including the pre-set image of graphic code information by the image acquisition device of terminal;
Acquisition module, for obtaining the color in graphic code region in the pre-set image;Wherein, the color is except black With the color beyond white;
Control module, for calling the corresponding means of payment of the color in the graphic code region with getting.
Further, the acquisition module is specifically additionally operable to:
Obtain the color that the central area of graphic code pattern and fringe region are presented in the pre-set image;Or
Obtain the color that the central area of graphic code pattern in the pre-set image is presented;Or
Obtain the color that the fringe region of graphic code pattern in the pre-set image is presented.
Further, the acquisition module is additionally operable to:When the central area of graphic code pattern in the pre-set image and When the quantity for the color that fringe region is presented is a variety of, the multicolour is obtained;
The means of payment calling device also includes:
Computing module, for calculating the area surface of the graphic code pattern in the multicolour obtained corresponding to every kind of color Product;
Determining module, for using color corresponding to the region area with maximum as scheming in the pre-set image The color in shape code region.
Further, in the means of payment that the color for calling the graphic code region with getting is corresponding, the determination Module is particularly used in the means of payment for determining that the color in the graphic code region with getting is corresponding;
The control module, which is particularly used in, starts the barcode scanning interface for paying application corresponding with the means of payment determined, and Barcode scanning is carried out to the graphic code information by the barcode scanning interface.
Further, the payment control device also includes:
Identification device, for identifying the graphic code pattern in the pre-set image, wrapped with obtaining in the graphic code pattern The information contained;
In the means of payment that the color for calling the graphic code region with getting is corresponding:
The determining module is particularly used in:It is determined that the payment that the color in the graphic code region with getting is corresponding Mode;
The control module is particularly used in:According to the information included in the graphic code pattern, the branch with determining is opened The payment interface of application is paid corresponding to the mode of paying to be paid.
Another further aspect of the embodiment of the present invention provides a kind of computer installation, and the computer installation includes processor, described The step of processor is used to realize means of payment call method as described above when performing the computer program stored in memory.
The another aspect of the embodiment of the present invention provides a kind of computer-readable recording medium, is stored thereon with computer program, The computer program realizes the step of means of payment call method as described above when being executed by processor.
Means of payment call method and device provided by the invention, computer installation and computer-readable recording medium, profit The pre-set image for including graphic code information arrived with the image acquisition device of terminal, and figure is obtained from the pre-set image The color in shape code region, and the color is the color in addition to black and white, thereafter by calling and the graphic code area The corresponding means of payment of the color in domain goes to call the corresponding means of payment to be paid to be paid according to color, meets The payment demand of user, simultaneously as determining the means of payment using color, user can be reduced and open a payment application progress barcode scanning But scanning causes to pay the probability to fail to another graphic code for paying application is associated for operation, and then lifts the payment body of user Test.
Further, means of payment call method provided by the invention can be by calculating every kind of color in the pre-set image Corresponding region area obtains the region area with maximum, and according to the region area with maximum Corresponding color determines the corresponding means of payment, adapts to the demand of collocation of colour in current market, while meet the branch of user The payment experience of the demand of paying lifting user.
Further, means of payment call method provided by the invention can it is determined that with the color in the graphic code region got After the color corresponding means of payment, start the corresponding barcode scanning interface for paying application, and by the barcode scanning interface to described Graphic code information carries out barcode scanning, save user pay apply in again row barcode scanning to obtain the disbursement letter in the graphic code information The step of breath, shorten the time of payment, lift the payment experience of user.
Further, means of payment call method provided by the invention can include the pre-set image of graphic code information in acquisition Afterwards, the graphic code pattern in the pre-set image is identified, and then obtains the information included in graphic code pattern, in foundation After color determines the means of payment, the payment interface for paying application corresponding with the means of payment determined is directly opened to be propped up Pay, save determine the means of payment after be expert at identification graphic code pattern in include information the step of, improve payment efficiency, mitigate branch Cumbersome degree is paid, lifts Consumer's Experience.
Brief description of the drawings
It is required in being described below to embodiment in order to illustrate more clearly of the technical scheme of embodiment of the present invention The accompanying drawing used is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is the flow chart of the means of payment call method of first embodiment of the invention;
Fig. 2 is the flow chart of the means of payment call method of second embodiment of the invention;
Fig. 3 is the flow chart of the means of payment call method of third embodiment of the invention;
Fig. 4 is the flow chart of the means of payment call method of four embodiment of the invention;
Fig. 5 is the exemplary functional block diagram for the means of payment calling device that an embodiment of the present invention provides;
Fig. 6 is the exemplary structural representation for the computer installation that an embodiment of the present invention provides.
Main element symbol description
Computer installation 1
Processor 10
Memory 20
Image collecting device 30
Means of payment calling device 100
Image capture module 11
Acquisition module 12
Control module 13
Computing module 14
Determining module 15
Identification module 16
Embodiment
It is below in conjunction with the accompanying drawings and specific real in order to be more clearly understood that the above objects, features and advantages of the present invention Applying mode, the present invention will be described in detail.It should be noted that in the case where not conflicting, presently filed embodiment and reality Applying the feature in mode can be mutually combined.
Many details are elaborated in the following description to facilitate a thorough understanding of the present invention, described embodiment Only a part of embodiment of the invention, rather than whole embodiments.Based on the embodiment in the present invention, this area The every other embodiment that those of ordinary skill is obtained under the premise of creative work is not made, belongs to guarantor of the present invention The scope of shield.
Unless otherwise defined, all of technologies and scientific terms used here by the article is with belonging to technical field of the invention The implication that technical staff is generally understood that is identical.Term used in the description of the invention herein is intended merely to description tool The purpose of the embodiment of body, it is not intended that in the limitation present invention.
Fig. 1 is the flow chart of the means of payment call method of first embodiment of the invention, it should be noted that the present invention is real The means of payment call method for applying mode is not limited to step and order in the flow chart shown in Fig. 1.According to different Demand, the step in shown flow chart can increase, remove or change order.
As shown in figure 1, the means of payment call method of present embodiment may include steps of:
Step 101:The pre-set image of graphic code information is included by the image acquisition device of terminal.
In present embodiment, described image harvester can be front camera and/or rear camera or The external camera being connected with terminal.
In present embodiment, the graphic code can include one-dimension code (bar code), Quick Response Code, three-dimension code, and it can quilt Image acquisition device is to so as to forming the pre-set image for including graphic code information.
Step 102:Obtain the color in graphic code region in the pre-set image;Wherein, the color is except black and in vain Color beyond color.
In present embodiment, the color for obtaining graphic code region in the pre-set image can include:
1) color that the central area of graphic code pattern and fringe region are presented in the pre-set image, is obtained;Or
2) color that the central area of graphic code pattern in the pre-set image is presented, is obtained;Or
3) color that the fringe region of graphic code pattern in the pre-set image is presented, is obtained.
It is understood that by taking Quick Response Code as an example, it is generally the case that Quick Response Code is made up of black and white color lump, and The color that the central area of pattern in 2 D code and/or fringe region are presented can be designed by Quick Response Code provider it is significant Color, the significant color applied such as wechat are green, and the significant color of Alipay is blueness.Thus, only obtain and remove herein The color that color and the central area of graphic code pattern and/or fringe region beyond black and white are presented is advantageous to raising and obtained Take the efficiency of color.
Step 103:Call the means of payment that the color in the graphic code region with getting is corresponding.
In present embodiment, the means of payment can include any of following:
1) default pay, is opened to apply;
2) default pay using and into the default barcode scanning interface for paying application, is opened;
3), open default payment application and exempt from input payment object account in the default payment application and paid;
4), open default payment application and exempt from payment verification in the default payment application and paid;
5), open default payment application and exempt from amount of money input in the default payment application and paid.
Wherein, the default payment application can be the payment application such as wechat, Alipay and Mobile banking.
If it is understood that it is described it is default payment apply perform present embodiment means of payment call method it Before, itself is in open mode, then corresponds to the above-mentioned means of payment 2) to 4), the means of payment can be described pre- into what is opened If paying the correlated activation interface of application, the correlated activation interface can include corresponding barcode scanning interface and pay boundary Face.
It is understood that the color in the graphic code region and the corresponding relation of the means of payment can be:
If the color in the graphic code region got is green, the means of payment is:Open wechat application or direct Open the barcode scanning interface of wechat application.
If the color in the graphic code region got is blueness, the means of payment is:Open Alipay application or straight Take the barcode scanning interface that Baoying County is paid in spending.
The means of payment call method of present embodiment includes graphic code using what the image acquisition device of terminal arrived The pre-set image of information, and obtain from the pre-set image color in graphic code region, and the color is except black and white Color beyond color, thereafter by the calling means of payment corresponding with the color in the graphic code region to be paid, root Go to call the corresponding means of payment to be paid according to color, meet the payment demand of user, simultaneously as determining branch using color Pay mode, can reduce user open one pay application carry out barcode scanning operation but scanning to associate it is another pay apply graphic code lead Cause to pay the probability to fail, and then lift the payment experience of user.
Fig. 2 is the flow chart of the means of payment call method of second embodiment of the invention, and present embodiment is real with first The main distinction for applying mode is, is related in second embodiment and calculates the step such as region area of every kind of color in graphic code pattern Suddenly.It should be noted that in the range of the spirit or essential attributes of the present invention, it is each specific suitable for first embodiment Scheme can also just repeat no more herein accordingly suitable for second embodiment, for the sake of saving space and avoiding repetition.
As shown in Fig. 2 the means of payment call method may include steps of:
Step 201:The pre-set image of graphic code is included by the image acquisition device of terminal.
Step 202:If the color that the central area of graphic code pattern and fringe region are presented in the pre-set image Quantity is a variety of, then obtains the multicolour.
It is understood that the collocation of multicolour, which uses, often can more cause other people attention.Carried based on graphic code Publicity for business etc. considers, is arranged in pairs or groups even with multicolour to show certain color effect, but dominant hue is presented often It still would is that the significant color of graphic code provider.
Step 203:Calculate the region area of the graphic code pattern in the multicolour obtained corresponding to every kind of color.
It is understood that the region area corresponding to every kind of color can be every kind of color in graphic code pattern Occupied area sum in regional, the region area shared by color is taken to quantify every kind of color in graphic code pattern by calculating The region of occupancy, and then realize that overall color effect judges.Wherein, the region area of the region area including maximum and The region area of minimum value.
Step 204:Using color corresponding to the region area with maximum as graphic code in the pre-set image The color in region.
It is understood that the region area with maximum can reflect the current pre-set image The dominant hue in middle graphic code region, and dominant hue tends to embody corresponding graphic code provider and pays application.
Step 205:Obtain the color in graphic code region in the pre-set image;Wherein, the color is except black and in vain Color beyond color.
Step 206:Call the means of payment that the color in the graphic code region with getting is corresponding.
Present embodiment is obtained with maximum by calculating region area corresponding to every kind of color in the pre-set image The region area, and the color according to corresponding to the region area with maximum determines corresponding payer Formula, adapts to the demand of collocation of colour in current market, while meets the payment experience of the payment demand lifting user of user.
Fig. 3 is the flow chart of the means of payment call method of third embodiment of the invention, and present embodiment is real with first Apply mode, the main distinction of second embodiment is, the barcode scanning interface etc. for paying application is involved starting up in the 3rd embodiment Step.It should be noted that in the range of the spirit or essential attributes of the present invention, suitable for first embodiment, second in fact Each concrete scheme applied in mode can also repeat accordingly suitable for the 3rd embodiment to save space and avoiding See, just repeat no more herein.
As shown in figure 3, the means of payment call method may include steps of:
Step 301:The pre-set image of graphic code information is included by the image acquisition device of terminal.
Step 302:Obtain the color in graphic code region in the pre-set image;Wherein, the color is except black and in vain Color beyond color.
Step 303:It is determined that the means of payment that the color in the graphic code region with getting is corresponding.
Step 304:Start the barcode scanning interface for paying and applying corresponding with the means of payment determined, and pass through barcode scanning circle Barcode scanning is carried out in face of the graphic code information.
For present embodiment is compared with first embodiment, second embodiment, it is determined that with the graphic code region that gets The corresponding means of payment of color after, start it is corresponding pay the barcode scanning interface of application, and pass through the barcode scanning interface pair The graphic code information carries out barcode scanning, save user pay apply in again row barcode scanning to obtain the branch in the graphic code information The step of paying information, shorten the time of payment, lift the payment experience of user.
Fig. 4 is the flow chart of the means of payment call method of four embodiment of the invention, present embodiment with it is foregoing The main distinction of embodiment is, the steps such as the information included in identification graphic code are related in the 4th embodiment.Need Bright, in the range of the spirit or essential attributes of the present invention, each concrete scheme suitable for aforementioned embodiments also may be used Suitable for present embodiment, for the sake of saving space and avoiding repetition, just to repeat no more herein accordingly.
As shown in figure 4, the means of payment call method may include steps of:
Step 401:The pre-set image of graphic code information is included by the image acquisition device of terminal.
Step 402:Obtain the color in graphic code region in the pre-set image;Wherein, the color is except black and in vain Color beyond color.
Step 403:The graphic code pattern in the pre-set image is identified, to obtain the letter included in the graphic code pattern Breath.
It is understood that the information included in the graphic code pattern can include paying object and shroff account number, receipts The information such as the money amount of money.
Step 404:It is determined that the means of payment that the color in the graphic code region with getting is corresponding.
Step 405:According to the information included in the graphic code pattern, pay corresponding with the means of payment determined is opened The payment interface of application is to be paid.
It is understood that the payment interface for paying application can be with the information phase that is included in the graphic code pattern Matching, as comprising object account is paid, then the payment interface can show confirmation to pay object account in graphic code pattern Number and amount of money input frame information interface.
The means of payment call method of present embodiment is after the pre-set image comprising graphic code information is obtained, to described pre- If the graphic code pattern in image is identified, and then obtains the information included in graphic code pattern, branch is being determined according to color After the mode of paying, the payment interface for paying application corresponding with the means of payment determined is directly opened to be paid, saves determination The step of information included in identification graphic code pattern of being expert at after the means of payment, payment efficiency is improved, mitigates and pays cumbersome degree, carry Rise Consumer's Experience.
It is, of course, understood that user voluntarily can establish payment model using terminal, such as start in user and pay application When, payment application that recordable user manually selects, and the Quick Response Code obtained when scanning Quick Response Code is applied according to the payment Dominant hue (can be obtained by calculating the size for the occupied area area for taking various colors) in pre-image, establishes the dominant hue pair The color answered and the mapping relations for paying application, to realize the learning functionality paid.
Fig. 5 is the exemplary functional block diagram of the means of payment calling device of an embodiment of the present invention.Such as Fig. 5 institutes Show, means of payment calling device 100 can utilize the default figure for including graphic code information that the image acquisition device of terminal arrives Picture, and the color in graphic code region is obtained from the pre-set image, and the color is the color in addition to black and white, Thereafter by the means of payment corresponding with the color in the graphic code region is called to be paid, gone to call phase according to color The means of payment answered is paid, and meets the payment demand of user, simultaneously as determining the means of payment according to color, can be reduced User opens a payment application progress barcode scanning operation, and but payment failure caused by the graphic code for associating another payment application is arrived in scanning Probability, and then lifted user payment experience.
It is understood that the color is the color in addition to black and white.
The means of payment calling device 100 of the present invention can include one or more modules, one or more of modules Can be stored in the memory of terminal and may be configured to by one or more processors (present embodiment be one Manage device) perform, to complete the present invention.For example, as shown in figure 5, the means of payment calling device 100 can include IMAQ Module 11, acquisition module 12, control module 13, computing module 14, determining module 15 and identification module 16.Mould alleged by the present invention Block can be the program segment for completing a specific function, than implementation procedure of the program more suitable for description software within a processor.
It should be noted that each embodiment of corresponding above-mentioned means of payment call method, means of payment calling device 100 Part or all in each functional module shown in Fig. 5 can be included, the function of each module will introduced in detail below.With Identical noun related terms and its specific illustrate can also fit in each embodiment of upper means of payment call method For below to the function introduction of each module.For the sake of saving space and avoiding repetition, just repeat no more herein.
Fig. 6 is the exemplary structural representation of the computer installation of an embodiment of the present invention.What the present embodiment provided Computer installation 1 includes:Processor 10, memory 20, image collecting device 30 and it is stored in the memory 20 and can The computer program run on the processor 10, such as means of payment caller.The processor 10 performs the calculating During machine program, realize the step in above-mentioned each means of payment call method embodiment, for example, the step 101 shown in Fig. 1 to Step 103.Or the processor 10 realizes the work(of each module in said apparatus embodiment when performing the computer program Can, such as the image capture module 11 in Fig. 5 realizes that the image acquisition device for passing through terminal includes graphic code information The function of pre-set image.
The computer installation 1 can be mobile phone, desktop PC, notebook, palm PC and cloud server etc. Computing device.The computer installation 1 may include, but be not limited to, processor 10, memory 20 and image collecting device 30.This Art personnel are appreciated that the schematic diagram is only the computer dress that the present invention is used to realize means of payment call method 1 example is put, does not form the restriction to computer installation 1, can be included than illustrating more or less parts, or combination Some parts, or different parts, such as the computer installation 1 can also include input-output equipment, network insertion is set Standby, bus etc..
Alleged processor 10 can be CPU (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng the processor 10 is the control centre of the computer installation 1, utilizes various interfaces and connection whole computer dress Put 1 various pieces.
The memory 20 can be used for storing the computer program and/or module, the processor 10 by operation or The computer program and/or module being stored in the memory 20 are performed, and calls the data being stored in memory 20, Realize the various functions of the computer installation 1.The memory 20 can mainly include storing program area and storage data field, its In, storing program area can storage program area, application program (such as sound-playing function, image needed at least one function Playing function etc.) etc.;Storage data field can store uses created data (such as voice data, phone directory according to mobile phone Deng) etc..In addition, memory 20 can include high-speed random access memory, nonvolatile memory can also be included, such as firmly Disk, internal memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) block, flash card (Flash Card), at least one disk memory, flush memory device or other volatile solid-states Part.
For described image harvester 30 to gather graphic code image, it can be specifically the front camera, rearmounted of terminal Camera or external camera.
The computer installation 1 may also include means of payment calling device 100 as shown in Figure 5, and the means of payment is adjusted It can be stored in the memory 20 with device 100.
Exemplary, the computer program can be divided into one or more modules, one or more of moulds Block is stored in the memory 20, and is performed by the processor 10, to complete the present invention.One or more of modules Can be the series of computation machine programmed instruction section that can complete specific function, the instruction segment is used to describe the computer program Implementation procedure in the computer installation 1.For example, the computer program can be divided into payment as shown in Figure 3 Mode calling device 100, including image capture module 11, acquisition module 12, control module 13, computing module 14, determining module 15 and identification module 16, each module concrete function it is as follows:
Image capture module 11, the default figure of graphic code information is included available for the image acquisition device by terminal Picture.
Acquisition module 12, available for the color for obtaining graphic code region in the pre-set image;Wherein, the color be except Color beyond black and white.
Control module 13, the means of payment corresponding available for the color for calling the graphic code region with getting.
Further, the acquisition module 12 is specifically additionally operable to:
Obtain the color that the central area of graphic code pattern and fringe region are presented in the pre-set image;Or
Obtain the color that the central area of graphic code pattern in the pre-set image is presented;Or
Obtain the color that the fringe region of graphic code pattern in the pre-set image is presented.
Further, the acquisition module 12 can be specifically additionally operable to:When the center of graphic code pattern in the pre-set image When the quantity for the color that region and fringe region are presented is a variety of, the multicolour is obtained.
Computing module 14, the region available for the graphic code pattern corresponding to every kind of color in the multicolour for calculating acquisition Area.
Determining module 15, available for using color corresponding to the region area with maximum as the pre-set image The color in middle graphic code region.
Further, in the means of payment that the color for calling the graphic code region with getting is corresponding, the determination Module 15 specifically can be additionally used in the means of payment for determining that the color in the graphic code region with getting is corresponding;
The control module 13 specifically can be additionally used in:Start barcode scanning circle for paying application corresponding with the means of payment determined Face, and barcode scanning is carried out to the graphic code information by the barcode scanning interface.
Identification device 16, for identifying the graphic code pattern in the pre-set image, to obtain in the graphic code pattern Comprising information.
In the means of payment that the color for calling the graphic code region with getting is corresponding:
The determining module 12 specifically can be additionally used in:It is determined that the color in the graphic code region with getting is corresponding The means of payment.
The control module 13 specifically can be additionally used in:According to the information included in the graphic code pattern, open and determine The means of payment corresponding to pay the payment interface of application to be paid.
If the integrated module of computer installation 1 of the present invention is realized in the form of SFU software functional unit and as independently Production marketing or in use, can be stored in a computer read/write memory medium.Based on such understanding, the present invention All or part of flow in above-described embodiment method is realized, the hardware of correlation can also be instructed come complete by computer program Into described computer program can be stored in a computer-readable recording medium, and the computer program is being executed by processor When, can be achieved above-mentioned each embodiment of the method the step of.Wherein, the computer program includes computer program code, described Computer program code can be source code form, object identification code form, executable file or some intermediate forms etc..The meter Calculation machine computer-readable recording medium can include:Can carry any entity or device of the computer program code, recording medium, USB flash disk, Mobile hard disk, magnetic disc, CD, computer storage, read-only storage (ROM, Read-Only Memory), random access memory Device (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..Need what is illustrated It is that the content that the computer-readable medium includes can be fitted according to legislation in jurisdiction and the requirement of patent practice When increase and decrease, such as in some jurisdictions, according to legislation and patent practice, computer-readable medium, which does not include electric carrier wave, to be believed Number and telecommunication signal.
It is obvious to a person skilled in the art that the invention is not restricted to the details of above-mentioned one exemplary embodiment, Er Qie In the case of without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter From the point of view of which point, embodiment all should be regarded as exemplary, and be nonrestrictive, the scope of the present invention is by appended power Profit requires rather than described above limits, it is intended that all in the implication and scope of the equivalency of claim by falling Change is included in the present invention.Any reference in claim should not be considered as to the involved claim of limitation.This Outside, it is clear that the word of " comprising " one is not excluded for other units or step, and odd number is not excluded for plural number.System, device or terminal installation right Multiple units, module or the device stated in it is required that can also pass through software or hardware by same unit, module or device To realize.The first, the second grade word is used for representing title, and is not offered as any specific order.
Embodiment of above is merely illustrative of the technical solution of the present invention and unrestricted, although the preferable embodiment party with reference to more than The present invention is described in detail formula, it will be understood by those within the art that, can be to technical scheme Modify or equivalent substitution should not all depart from the spirit and scope of technical solution of the present invention.

Claims (10)

1. a kind of means of payment call method, it is characterised in that the means of payment call method includes:
The pre-set image of graphic code information is included by the image acquisition device of terminal;
Obtain the color in graphic code region in the pre-set image;Wherein, the color is the color in addition to black and white;
Call the means of payment that the color in the graphic code region with getting is corresponding.
2. means of payment call method as claimed in claim 1, it is characterised in that described to obtain figure in the pre-set image The color in code region includes:
Obtain the color that the central area of graphic code pattern and fringe region are presented in the pre-set image;Or
Obtain the color that the central area of graphic code pattern in the pre-set image is presented;Or
Obtain the color that the fringe region of graphic code pattern in the pre-set image is presented.
3. means of payment call method as claimed in claim 2, it is characterised in that the means of payment call method also wraps Include:
If the quantity for the color that the central area of graphic code pattern and fringe region are presented is a variety of in the pre-set image, Obtain the multicolour;
Calculate the region area of the graphic code pattern in the multicolour obtained corresponding to every kind of color;
Using color corresponding to the region area with maximum as the color in graphic code region in the pre-set image.
4. means of payment call method as claimed in claim 1 or 2, it is characterised in that the calling and the figure got The means of payment that the color in code region is corresponding includes:
It is determined that the means of payment that the color in the graphic code region with getting is corresponding;
Start the barcode scanning interface for paying application corresponding with the means of payment determined, and by the barcode scanning interface to the figure Code information carries out barcode scanning.
5. means of payment call method as claimed in claim 1 or 2, it is characterised in that the means of payment call method is also Including:
The graphic code pattern in the pre-set image is identified, to obtain the information included in the graphic code pattern;
The means of payment that the color in the graphic code region of the calling with getting is corresponding includes:
It is determined that the means of payment that the color in the graphic code region with getting is corresponding;
According to the information included in the graphic code pattern, payment circle for paying application corresponding with the means of payment determined is opened Face is to be paid.
6. a kind of means of payment calling device, it is characterised in that the means of payment calling device includes:
Image capture module, for including the pre-set image of graphic code information by the image acquisition device of terminal;
Acquisition module, for obtaining the color in graphic code region in the pre-set image;Wherein, the color is except black and in vain Color beyond color;
Control module, for calling the corresponding means of payment of the color in the graphic code region with getting.
7. means of payment calling device as claimed in claim 6, it is characterised in that the acquisition module is specifically additionally operable to:
Obtain the color that the central area of graphic code pattern and fringe region are presented in the pre-set image;Or
Obtain the color that the central area of graphic code pattern in the pre-set image is presented;Or
Obtain the color that the fringe region of graphic code pattern in the pre-set image is presented.
8. means of payment calling device as claimed in claim 7, it is characterised in that the acquisition module is additionally operable to:When described When the quantity for the color that the central area of graphic code pattern and fringe region are presented is a variety of in pre-set image, obtain described more Kind color;
The means of payment calling device also includes:
Computing module, for calculating the region area of the graphic code pattern in the multicolour obtained corresponding to every kind of color;
Determining module, for using color corresponding to the region area with maximum as graphic code in the pre-set image The color in region.
9. a kind of computer installation, it is characterised in that the computer installation includes processor, and the processor is deposited for execution The step of the means of payment call method as described in any one in claim 1-5 is realized during the computer program stored in reservoir Suddenly.
10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that:The computer program The step of means of payment call method as described in any one in claim 1-5 is realized when being executed by processor.
CN201710899436.2A 2017-09-28 2017-09-28 Means of payment call method and device, computer installation and readable storage medium storing program for executing Pending CN107679851A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710899436.2A CN107679851A (en) 2017-09-28 2017-09-28 Means of payment call method and device, computer installation and readable storage medium storing program for executing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710899436.2A CN107679851A (en) 2017-09-28 2017-09-28 Means of payment call method and device, computer installation and readable storage medium storing program for executing

Publications (1)

Publication Number Publication Date
CN107679851A true CN107679851A (en) 2018-02-09

Family

ID=61139123

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710899436.2A Pending CN107679851A (en) 2017-09-28 2017-09-28 Means of payment call method and device, computer installation and readable storage medium storing program for executing

Country Status (1)

Country Link
CN (1) CN107679851A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108876356A (en) * 2018-07-24 2018-11-23 阿里巴巴集团控股有限公司 Pay abnormal determination method and device
CN110210842A (en) * 2018-05-08 2019-09-06 腾讯科技(深圳)有限公司 Resource transfers method, system, device, storage medium and computer equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140229379A1 (en) * 2013-02-08 2014-08-14 Hwal JANG Mobile communication terminal payment system using one-time code
CN105117256A (en) * 2015-08-31 2015-12-02 联想(北京)有限公司 Information processing method and electronic device
CN106327185A (en) * 2016-08-26 2017-01-11 维沃移动通信有限公司 Starting method for payment application and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140229379A1 (en) * 2013-02-08 2014-08-14 Hwal JANG Mobile communication terminal payment system using one-time code
CN105117256A (en) * 2015-08-31 2015-12-02 联想(北京)有限公司 Information processing method and electronic device
CN106327185A (en) * 2016-08-26 2017-01-11 维沃移动通信有限公司 Starting method for payment application and mobile terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110210842A (en) * 2018-05-08 2019-09-06 腾讯科技(深圳)有限公司 Resource transfers method, system, device, storage medium and computer equipment
CN110210842B (en) * 2018-05-08 2023-06-30 腾讯科技(深圳)有限公司 Resource transfer method, system, device, storage medium and computer equipment
CN108876356A (en) * 2018-07-24 2018-11-23 阿里巴巴集团控股有限公司 Pay abnormal determination method and device
CN108876356B (en) * 2018-07-24 2021-06-22 创新先进技术有限公司 Payment abnormity determining method and device

Similar Documents

Publication Publication Date Title
CN107895266A (en) Pay control method and device, terminal and readable storage medium storing program for executing
CN104517268B (en) Adjust the method and device of brightness of image
CN108446697B (en) Image processing method, electronic device and storage medium
CN107657525A (en) One kind loan measures and procedures for the examination and approval and server
CN110264288A (en) Data processing method and relevant apparatus based on information discriminating technology
CN103577801A (en) Quality metrics method and system for biometric authentication
CN106898026A (en) The dominant hue extracting method and device of a kind of picture
CN109741281A (en) Image processing method, device, storage medium and terminal
CN107180352A (en) A kind of method of payment and device, computer installation and computer-readable recording medium
CN107632758A (en) A kind of quick payment method, apparatus, computer installation and computer-readable recording medium
CN109871845A (en) Certificate image extracting method and terminal device
CN107633164A (en) Pay control method, device, computer installation and computer-readable recording medium
CN107392184A (en) Recognition of face verification method and device
CN104902143B (en) A kind of image de-noising method and device based on resolution ratio
CN109800747A (en) Medical invoice recognition methods, user equipment, storage medium and device
CN106447295A (en) Sign-off file template generation method and apparatus thereof
CN111860369A (en) Fraud identification method and device and storage medium
CN107678646A (en) Pay control method, device, computer installation and computer-readable recording medium
CN107679851A (en) Means of payment call method and device, computer installation and readable storage medium storing program for executing
CN107633424A (en) Method of payment and device, computer installation and computer-readable recording medium
CN109670835A (en) Air control method, apparatus, equipment and readable storage medium storing program for executing based on service node
CN109544384A (en) Subsidy distribution method, device, terminal, storage medium based on bio-identification
CN107833043A (en) Pay control method and device, terminal installation and computer-readable recording medium
CN108022096A (en) A kind of method of mobile payment, device, terminal and readable storage medium storing program for executing
CN108303237A (en) A kind of method, detection device and the storage medium of terminal screen detection

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180209

RJ01 Rejection of invention patent application after publication