CN106503987A - Payment two-dimensional code display method and mobile terminal - Google Patents

Payment two-dimensional code display method and mobile terminal Download PDF

Info

Publication number
CN106503987A
CN106503987A CN201610926797.7A CN201610926797A CN106503987A CN 106503987 A CN106503987 A CN 106503987A CN 201610926797 A CN201610926797 A CN 201610926797A CN 106503987 A CN106503987 A CN 106503987A
Authority
CN
China
Prior art keywords
quick response
response code
payment
code
mobile terminal
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
CN201610926797.7A
Other languages
Chinese (zh)
Other versions
CN106503987B (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.)
Vivo Mobile Communication Hangzhou Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201610926797.7A priority Critical patent/CN106503987B/en
Publication of CN106503987A publication Critical patent/CN106503987A/en
Application granted granted Critical
Publication of CN106503987B publication Critical patent/CN106503987B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/3274Short range or proximity payments by means of M-devices using a pictured code, e.g. barcode or QR-code, being displayed on 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/382Payment protocols; Details thereof insuring higher security of transaction
    • 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 embodiment of the invention discloses a kind of payment two-dimensional code display method of mobile terminal, the method includes:Before mobile terminal two-dimensional code display, the Quick Response Code is obtained;Recognize the information of the Quick Response Code record;Judge whether the Quick Response Code is payment Quick Response Code;If so, prompting user carries out Authority Verification to the display of the payment Quick Response Code;After the Authority Verification is completed, show the payment Quick Response Code.The embodiment of the invention also discloses a kind of corresponding mobile terminal.Payment two-dimensional code display method disclosed in the embodiment of the present invention, it is achieved that when being paid the bill using payment Quick Response Code, from system level control payment risk, improves the payment security of each account in mobile terminal system.

Description

Payment two-dimensional code display method and mobile terminal
Technical field
The present invention relates to mobile communication technology field, more particularly to payment two-dimensional code display method and mobile terminal.
Background technology
As becoming increasingly popular for mobile terminal, particularly smart mobile phone is developed with technology, the convenience of mobile payment function Increasingly manifest, thus favored by user.Mobile payment is also referred to as mobile-phone payment, exactly allows user to use its mobile terminal (typically mobile phone) carries out a kind of method of service of account payment to the commodity consumed or service.Mobile payment is broadly divided into closely Pay and two kinds of remote payment, so-called near field pays, exactly with the mode of mobile phone card-brushing by bus, do shopping, very convenient;Far Cheng Zhifu is referred to by sending the means of payment that payment instruction (such as Net silver, telephone bank, mobile-phone payment etc.) is carried out, such as in supermarket The payment instruction (payment Quick Response Code etc.) that pays is provided to cashier during consumption.At present, remote payment is more popular movement The means of payment, and it is used for the bill payment of the remote payment generally by Third-party payment platform of mobile terminal, these the 3rd Square payment platform can be the platform with payment function such as Alipay, wechat.It can be said that the popularization that mobile terminal remote pays Life for user brings great convenience.
But, when user is paid using payment Quick Response Code, due to the payment of each Third-party payment platform Security set is variant, or there is good and the bad difference, user arrange or using when fail mainly to arrive one by one, will often exist The risk of maloperation, and adjoint with these risks be property loss.For example, if the account on customer mobile terminal is in quilt In the case that close payment is exempted from setting, other people either intentionally or unintentionally show the payment Quick Response Code of the account to payee, are running counter to Complete in the case of the user intention and deduct fees automatically.Therefore, the existing technology that is paid the bill using payment Quick Response Code is present Unsafe factor.
Content of the invention
The embodiment of the present invention provides payment two-dimensional code display method and mobile terminal, to solve mobile terminal in prior art Carry out paying there is unsafe factor using payment Quick Response Code.
On the one hand, the embodiment of the present invention provides payment two-dimensional code display method, is applied to mobile terminal, methods described bag Include:
Before mobile terminal two-dimensional code display, the Quick Response Code is obtained;
Recognize the information of the Quick Response Code record;
Judge whether the Quick Response Code is payment Quick Response Code;
If so, prompting user carries out Authority Verification to the display of the payment Quick Response Code;
After the Authority Verification is completed, show the payment Quick Response Code.
On the other hand, the embodiment of the present invention additionally provides a kind of mobile terminal, including:
Acquisition module, for, before mobile terminal two-dimensional code display, obtaining the Quick Response Code;
First identification module, for recognizing the information of the Quick Response Code record;
First judge module, for judging whether the Quick Response Code is payment Quick Response Code;
Reminding module, for pointing out user to carry out Authority Verification to the display of the payment Quick Response Code;
Display module, for, after the Authority Verification is completed, showing the payment Quick Response Code.
Payment two-dimensional code display method provided in an embodiment of the present invention, by, before mobile terminal two-dimensional code display, obtaining Take the Quick Response Code;Recognize the information of the Quick Response Code record;Judge whether the Quick Response Code is payment Quick Response Code;If so, carry Show that user carries out Authority Verification to the display of the payment Quick Response Code;After the Authority Verification is completed, show the payment Quick Response Code.Hereby it is achieved that when paying the bill using payment Quick Response Code, from system level control payment risk, improving movement eventually The payment security of each account in end system.
Description of the drawings
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below will be to institute in embodiment of the present invention description The accompanying drawing for using is needed to be briefly described, it should be apparent that, drawings in the following description are only some enforcements of the present invention The accompanying drawing of example, for those of ordinary skill in the art, on the premise of not paying creative work, can be with according to these Accompanying drawing obtains other accompanying drawings.
Fig. 1 is the flow chart of the first embodiment of present invention payment two-dimensional code display method;
Fig. 2 is the flow chart of the second embodiment of present invention payment two-dimensional code display method;
Fig. 3 is the structured flowchart of the first embodiment of mobile terminal of the present invention;
Fig. 4 is the structured flowchart of the second embodiment of mobile terminal of the present invention;
Fig. 5 is the structured flowchart of the 3rd embodiment of mobile terminal of the present invention.
Specific embodiment
Accompanying drawing in below in conjunction with the embodiment of the present invention, to the embodiment of the present invention in technical scheme carry out clear, complete Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.It is based on this Embodiment in bright, the every other enforcement obtained under the premise of creative work is not made by those of ordinary skill in the art Example, belongs to the scope of protection of the invention.
First embodiment
Step 101, before mobile terminal two-dimensional code display, obtains the Quick Response Code.
In the embodiment of the present invention, for avoiding the account for being used in the terminal by other people, or user is not intended to Show payment Quick Response Code to payee in knowledge, before the Quick Response Code of mobile terminal shows, first obtained and analyzed.Therefore moving Before dynamic terminal shows the Quick Response Code, first the Quick Response Code is obtained.Wherein it is possible to using monitoring screen means know whether by Two-dimensional code display, or know whether, by two-dimensional code display, to be achieved in using the acquisition of monitoring account or the action of generation Quick Response Code The Quick Response Code is obtained before mobile terminal shows the Quick Response Code.
Step 102, recognizes the information of the Quick Response Code record.
In the embodiment of the present invention, the information for recognizing the Quick Response Code record is needed.It is known that two-dimensional bar code/Quick Response Code (2- Dimensional bar code) it is distributed in plane (on two-dimensional directional) with certain specific geometric figure according to certain rules Chequered with black and white graphic recording data symbol information;Dexterously using composition computer-internal logical foundations on coding " 0 ", " 1 " bit stream concept, corresponding with binary system using several geometrical body leads to representing word numerical information Cross image input device or photoelectric scanning device automatically identifying and reading is automatically processed with realizing information.Therefore, Quick Response Code is identified Its information for recording can be read.
Step 103, judges whether the Quick Response Code is payment Quick Response Code.
In the embodiment of the present invention, it is known that ground, variation and upgrading that Quick Response Code is conventional two-dimensional code is paid, in ordinary two dimensional code In incorporate the function of on-line payment, make commodity transaction enhanced convenience quick, similar to the generation of ordinary two dimensional code, pay two dimension Code using chequered with black and white (or colored color lump alternate) being distributed on the two-dimensional directional of plane according to certain rules geometric figure come One of record data, information, are important technologies in automatic identification, and the key of Internet of Things industry, core technology.And Paying Quick Response Code includes gathering Quick Response Code and payment Quick Response Code again.Gathering Quick Response Code contains the accounts information of user, for Other side collects money;And Quick Response Code of paying the bill contains the accounts information and payment channel information of user, for paying the bill to other side.Therefore, When identifying that Quick Response Code contains accounts information and payment channel information, the payment accounts letter of mobile terminal can be first obtained Breath, then compare the payment accounts information and the Quick Response Code record accounts information whether mate, finally according to comparison result Judge whether the Quick Response Code is payment Quick Response Code.
Step 104, if so, points out user to carry out Authority Verification to the display of the payment Quick Response Code.
In the embodiment of the present invention, when judging that the Quick Response Code is payment Quick Response Code, then should first start carrying for Authority Verification Show, such as in the way of dialog box or voice message remind user to complete Authority Verification.
Wherein, the Authority Verification includes in fingerprint authentication, eyeprint checking, face verification and input password authentification Plant or multiple.Such as, ejecting prompting user input fingerprint on screen interface carries out the window of Authority Verification.
Step 105, after the Authority Verification is completed, shows the payment Quick Response Code.
In the embodiment of the present invention, after user is according to prompting input related checking, mobile terminal judges that this verifies whether With systemic presupposition checking mate, if so, obtain user mandate, therefore show the payment Quick Response Code so that its complete pay the bill move Make.Wherein, the action for showing the payment Quick Response Code can remove the picture for being covered in the payment Quick Response Code, make payment two dimension Code is revealed;Can also be that revocation is intercepted, be shown the picture comprising payment Quick Response Code of system bottom.
Payment two-dimensional code display method provided in an embodiment of the present invention, by, before mobile terminal two-dimensional code display, obtaining Take the Quick Response Code;Recognize the information of the Quick Response Code record;Judge whether the Quick Response Code is payment Quick Response Code;If so, carry Show that user carries out Authority Verification to the display of the payment Quick Response Code;After the Authority Verification is completed, show the payment Quick Response Code.Hereby it is achieved that when paying the bill using payment Quick Response Code, from system level control payment risk, improving movement eventually The payment security of each account in end system.
Second embodiment
As shown in Fig. 2 being the flow chart of the second embodiment of present invention payment two-dimensional code display method.The detection method bag Include:
Step 201, monitors the content to be displayed that the mobile terminal will show.
In the embodiment of the present invention, implementing monitoring screen monitors the content to be displayed that will show.Screen monitor technology can be with In system bottom, the content that will show is detected.
Whether step 202, judge on the content to be displayed comprising the Quick Response Code.
In the embodiment of the present invention, whether, comprising Quick Response Code, the Quick Response Code is in will for the content to be displayed in judging to monitor Show and not shown state.
Step 203, if so, delays the display Quick Response Code.
In the embodiment of the present invention, when judging to there is Quick Response Code in content to be displayed, need the Quick Response Code is entered to advance One step is analyzed, and property loss occurs to avoid maloperation, is therefore delayed and is shown the Quick Response Code.Wherein, if the Quick Response Code is to pay Money Quick Response Code, then shown after user completes Authority Verification.
Step 204, before mobile terminal two-dimensional code display, obtains the Quick Response Code.
Step 205, recognizes the information of the Quick Response Code record.
Step 204 is identical with the corresponding steps of the first embodiment of present invention payment two-dimensional code display method with step 205, Step is repeated herein.
Step 206, judges whether the information of the Quick Response Code record includes the first numerical information.
In the embodiment of the present invention, after the information of identification Quick Response Code record, judge whether include containing specific in the information First numerical information of data.It is known that scanning existing payment Quick Response Code, such as Alipay payment two dimension using conventional equipment Code, wechat payment Quick Response Code etc., typically all can obtain string number, although and this string numeral can real-time update, but exist Certain is regular, and such as present wechat payment Quick Response Code is 18 pure digi-tals of 130 beginnings, and Alipay payment Quick Response Code is then 28 18 pure digi-tals of beginning.If the Quick Response Code is payment Quick Response Code, the information which includes is necessarily to meet these rules First digital information, therefore can be analyzed accordingly.
Further, judge whether the Quick Response Code includes the first numerical information according to Quick Response Code payment algorithm.
Specifically, Quick Response Code payment algorithm should be a kind of self-defining algorithm, and by taking wechat and Alipay as an example, which is by account Family information and payment channel information in the presence of customer transaction public key, generate one group of 18 bit digital character string, wherein front 2 or 3 Bit digital is payment channel sign, and 16 or 15 bit digitals are indicated for account afterwards.Therefore, may determine that by Quick Response Code payment algorithm Whether the information included by Quick Response Code is the first numerical information.Further, due to Quick Response Code payment algorithm, be possible to can be with The upgrading of Third-party payment platform and change, therefore need into line algorithm update, to reduce erroneous judgement probability.Wherein, algorithm updates Time can be the time that system version updates, or real time propelling movement etc., not be limited herein.
Step 207, if so, judges whether Quick Response Code place image includes one-dimension code.
In the embodiment of the present invention, when the packet for judging Quick Response Code record contains the first numerical information, it is further Guarantee that the Quick Response Code is payment Quick Response Code, will also judge whether its place image includes one-dimension code.In actual use, payment two Dimension code typically coordinates one-dimension code to use, in order to adapt to the payment scenario using one-dimension code barcode scanning gun such as supermarket.
Step 208, if so, recognizes the second value information of the one-dimension code.
In the embodiment of the present invention, the second value information for recognizing one-dimension code is needed, to compare.The second value information It is only numerical information that the one-dimension code is included.
Step 209, judges whether first numerical information is identical with the second value information, when first numerical value When information is identical with the second value information, the Quick Response Code is payment Quick Response Code.
In the embodiment of the present invention, by the first numerical information and the comparison result of second value information, as judging the two dimension Whether code is to pay the bill the condition of Quick Response Code.When first numerical information is identical with the second value information, further really It is for payment to have determined the Quick Response Code, therefore may determine which is payment Quick Response Code.
Step 210, if so, points out user to carry out Authority Verification to the display of the payment Quick Response Code.
Step 211, after the Authority Verification is completed, shows the payment Quick Response Code.
Step 210 is identical with the corresponding steps of the first embodiment of present invention payment two-dimensional code display method with step 211, Here is omitted.
Payment two-dimensional code display method provided in an embodiment of the present invention, by treating that the monitoring mobile terminal will show Whether display content, judge on the content to be displayed comprising the Quick Response Code, if so, delay the display Quick Response Code, moving Before dynamic terminal two-dimensional code display, the Quick Response Code is obtained, recognize the information of the Quick Response Code record, judge the Quick Response Code note Whether the information of record includes the first numerical information, if so, judges whether Quick Response Code place image includes one-dimension code, if so, The second value information of the one-dimension code is recognized, judges whether first numerical information is identical with the second value information, When first numerical information is identical with the second value information, the Quick Response Code is payment Quick Response Code, and if so, prompting is used Family carries out Authority Verification to the display of the payment Quick Response Code, after the Authority Verification is completed, shows the payment two dimension Code, it is achieved that the numerical value according to payment Quick Response Code arranges feature and using characteristic come analysis of two-dimensional code, reaches Accurate Analysis, accurately The purpose of judgement, it also avoid the use inconvenience brought due to erroneous judgement while user account property safety is ensured.
Above the embodiment of the display packing of mobile terminal of the present invention has been made to be discussed in detail.Above-mentioned side will correspond to below The device (i.e. mobile terminal) of method is further elaborated.Wherein, mobile terminal can be that mobile phone, panel computer or intelligence wearing set The terminal such as standby.
3rd embodiment
As shown in figure 3, the structured flowchart of the first embodiment for mobile terminal of the present invention.The mobile terminal 300 includes obtaining Delivery block 301, the first identification module 302, the first judge module 303, reminding module 304 and display module 305, wherein:
Acquisition module 301, is connected with the first identification module 302, for, before mobile terminal two-dimensional code display, obtaining The Quick Response Code.
In the embodiment of the present invention, for avoiding the account for being used in the terminal by other people, or user is not intended to Show payment Quick Response Code to payee in knowledge, before the Quick Response Code of mobile terminal shows, first obtained and analyzed.Therefore moving Before dynamic terminal shows the Quick Response Code, first the Quick Response Code is obtained.Wherein it is possible to using monitoring screen means know whether by Two-dimensional code display, or know whether, by two-dimensional code display, to be achieved in using the acquisition of monitoring account or the action of generation Quick Response Code The Quick Response Code is obtained before mobile terminal shows the Quick Response Code.
First identification module 302, is connected with the first judge module 303, for recognizing the information of the Quick Response Code record.
In the embodiment of the present invention, the information for recognizing the Quick Response Code record is needed.It is known that two-dimensional bar code/Quick Response Code (2- Dimensional bar code) it is distributed in plane (on two-dimensional directional) with certain specific geometric figure according to certain rules Chequered with black and white graphic recording data symbol information;Dexterously using composition computer-internal logical foundations on coding " 0 ", " 1 " bit stream concept, corresponding with binary system using several geometrical body leads to representing word numerical information Cross image input device or photoelectric scanning device automatically identifying and reading is automatically processed with realizing information.Therefore, Quick Response Code is identified Its information for recording can be read.
First judge module 303, is connected with reminding module 304, for judging whether the Quick Response Code is payment two dimension Code.
In the embodiment of the present invention, it is known that ground, variation and upgrading that Quick Response Code is conventional two-dimensional code is paid, in ordinary two dimensional code In incorporate the function of on-line payment, make commodity transaction enhanced convenience quick, similar to the generation of ordinary two dimensional code, pay two dimension Code using chequered with black and white (or colored color lump alternate) being distributed on the two-dimensional directional of plane according to certain rules geometric figure come One of record data, information, are important technologies in automatic identification, and the key of Internet of Things industry, core technology.And Paying Quick Response Code includes gathering Quick Response Code and payment Quick Response Code again.Gathering Quick Response Code contains the accounts information of user, for Other side collects money;And Quick Response Code of paying the bill contains the accounts information and payment channel information of user, for paying the bill to other side.Therefore, When identifying that Quick Response Code contains accounts information and payment channel information, the payment accounts letter of mobile terminal can be first obtained Breath, then compare the payment accounts information and the Quick Response Code record accounts information whether mate, finally according to comparison result Judge whether the Quick Response Code is payment Quick Response Code.
Reminding module 304, is connected with display module 305, for pointing out user to enter the display of the payment Quick Response Code Row Authority Verification.
In the embodiment of the present invention, when judging that the Quick Response Code is payment Quick Response Code, then should first start carrying for Authority Verification Show, such as in the way of dialog box or voice message remind user to complete Authority Verification.
Wherein, the Authority Verification includes in fingerprint authentication, eyeprint checking, face verification and input password authentification Plant or multiple.Such as, ejecting prompting user input fingerprint on screen interface carries out the window of Authority Verification.
Display module 305, for, after the Authority Verification is completed, showing the payment Quick Response Code.
In the embodiment of the present invention, after user is according to prompting input related checking, mobile terminal judges that this verifies whether With systemic presupposition checking mate, if so, obtain user mandate, therefore show the payment Quick Response Code so that its complete pay the bill move Make.Wherein, the action for showing the payment Quick Response Code can remove the picture for being covered in the payment Quick Response Code, make payment two dimension Code is revealed;Can also be that revocation is intercepted, be shown the picture comprising payment Quick Response Code of system bottom.
Mobile terminal provided in an embodiment of the present invention, by, before mobile terminal two-dimensional code display, obtaining the two dimension Code;Recognize the information of the Quick Response Code record;Judge whether the Quick Response Code is payment Quick Response Code;If so, prompting user is to institute The display for stating payment Quick Response Code carries out Authority Verification;After the Authority Verification is completed, show the payment Quick Response Code.By This, it is achieved that when being paid the bill using payment Quick Response Code, from system level control payment risk, improve each in mobile terminal system The payment security of individual account.
4th embodiment
As shown in figure 4, the structured flowchart of the second embodiment for mobile terminal of the present invention.The mobile terminal 400 includes supervising Control module 401, the 4th judge module 402, delay display module 403, acquisition module 404, the first identification module 405, second sentence Disconnected module 406, the 3rd judge module 407, the second identification module 408, the first judge module 409, reminding module 410 and display mould Block 411, wherein:
Monitoring module 401, is connected with the 4th judge module 402, for treating of monitoring that the mobile terminal will show Display content.
In the embodiment of the present invention, 401 implementing monitoring screen of monitoring module monitors the content to be displayed that will show.Screen Monitoring technology can detect, in system bottom, the content that will show.
Whether the 4th judge module 402, is connected with display module 403 is delayed, for judging on the content to be displayed Comprising the Quick Response Code.
In the embodiment of the present invention, whether the content to be displayed during the 4th judge module 402 judges to monitor includes Quick Response Code, should Quick Response Code is in and will show and not shown state.
Display module 403 is delayed, is connected with acquisition module 404, show the Quick Response Code for delaying.
In the embodiment of the present invention, when judging to there is Quick Response Code in content to be displayed, delay display module 403 need right The Quick Response Code is further analyzed, and property loss occurs to avoid maloperation, therefore delays and shows the Quick Response Code.Wherein, If the Quick Response Code is payment Quick Response Code, shown after user completes Authority Verification.
Acquisition module 404, is connected with the first identification module 405, for, before mobile terminal two-dimensional code display, obtaining The Quick Response Code.
First identification module 405, is connected with the second judge module 406, for recognizing the information of the Quick Response Code record.
The corresponding module phase of acquisition module 404 and the first identification module 405 and the first embodiment of mobile terminal of the present invention With here is omitted.
Second judge module 406, is connected with the 3rd judge module 407, for judging the information of the Quick Response Code record Whether first numerical information is included.
In the embodiment of the present invention, identification Quick Response Code record information after, the second judge module 406 judge in the information be No including the first numerical information containing particular data.It is known that scanning existing payment Quick Response Code using conventional equipment, such as prop up Precious payment Quick Response Code, wechat payment Quick Response Code etc. is paid, typically all string number can be obtained, although and this string numeral can in real time more Newly, but have that certain is regular, such as present wechat pay the bill Quick Response Code be 130 beginnings 18 pure digi-tals, and Alipay is paid Money Quick Response Code is then 18 pure digi-tals of 28 beginnings.If the Quick Response Code is payment Quick Response Code, its information for including and is necessarily Meet the first digital information of these rules, therefore can be analyzed accordingly.
Specifically, the second judge module 406 is also included with lower unit:
According to Quick Response Code payment algorithm, second judging unit 4061, for judging whether the Quick Response Code includes the first numerical value Information.
Specifically, Quick Response Code payment algorithm should be a kind of self-defining algorithm, and by taking wechat and Alipay as an example, which is by account Family information and payment channel information in the presence of customer transaction public key, generate one group of 18 bit digital character string, wherein front 2 or 3 Bit digital is payment channel sign, and 16 or 15 bit digitals are indicated for account afterwards.Therefore, may determine that by Quick Response Code payment algorithm Whether the information included by Quick Response Code is the first numerical information.Further, due to Quick Response Code payment algorithm, be possible to can be with The upgrading of Third-party payment platform and change, therefore need into line algorithm update, to reduce erroneous judgement probability.Wherein, algorithm updates Time can be the time that system version updates, or real time propelling movement etc., not be limited herein.
3rd judge module 407, is connected with the second identification module 408, for judging that Quick Response Code place image is No including one-dimension code.
In the embodiment of the present invention, when the packet for judging Quick Response Code record contains the first numerical information, it is further Guarantee that the Quick Response Code is that payment Quick Response Code, the 3rd judge module 407 will also judge whether its place image includes one-dimension code.In reality In the use of border, payment Quick Response Code typically coordinates one-dimension code to use, in order to adapt to the payment using one-dimension code barcode scanning gun such as supermarket Scene.
Second identification module 408, is connected with the first judge module 409, for recognizing the second value of the one-dimension code Information.
In the embodiment of the present invention, the second identification module 408 needs the second value information for recognizing one-dimension code, to be compared Right.The second value information is only the numerical information included by the one-dimension code.
First judge module 409, is connected with reminding module 410, for judging whether the Quick Response Code is payment two dimension Code.
Specifically, the first judge module 409 is also included with lower unit:
First judging unit 4091, for judging whether first numerical information is identical with the second value information, When first numerical information is identical with the second value information, the Quick Response Code is payment Quick Response Code.
In the embodiment of the present invention, the comparison of the first numerical information and second value information is tied by the first judging unit 4091 Really, it is whether to pay the bill the condition of Quick Response Code as the Quick Response Code is judged.When first numerical information and the second value are believed Manner of breathing simultaneously, further determined that the Quick Response Code is for payment, therefore may determine which is payment Quick Response Code.
Reminding module 410, is connected with display module 411, for pointing out user to enter the display of the payment Quick Response Code Row Authority Verification.
Display module 411, for, after the Authority Verification is completed, showing the payment Quick Response Code.
Reminding module 410 is identical with the corresponding module of the first embodiment of mobile terminal of the present invention with display module 411, this Place repeats no more.
Mobile terminal provided in an embodiment of the present invention, by monitoring the content to be displayed that the mobile terminal will show, Whether judge on the content to be displayed comprising the Quick Response Code, if so, delay the display Quick Response Code, show in mobile terminal Before Quick Response Code, the Quick Response Code is obtained, recognize the information of the Quick Response Code record, judge that the information of the Quick Response Code record is No if so, judge whether Quick Response Code place image includes one-dimension code including the first numerical information, if so, recognize described one The second value information of dimension code, judges whether first numerical information is identical with the second value information, when described first When numerical information is identical with the second value information, the Quick Response Code is payment Quick Response Code, and if so, prompting user is to described pair The display of money Quick Response Code carries out Authority Verification, after the Authority Verification is completed, shows the payment Quick Response Code, it is achieved that root Feature is set according to the numerical value of payment Quick Response Code and carrys out analysis of two-dimensional code using characteristic, reach Accurate Analysis, the purpose for accurately judging, The use inconvenience brought due to erroneous judgement is it also avoid while user account property safety is ensured.
5th embodiment
Fig. 5 is the structured flowchart of the 3rd embodiment of mobile terminal of the present invention.Mobile terminal 800 shown in Fig. 5 includes:Extremely Few processor 801, memorizer 802, at least one network interface 804, user interface 803 and other assemblies 806, other groups Part 806 includes eyeball tracking sensor and front-facing camera.Each component in mobile terminal 800 passes through 805 coupling of bus system It is combined.It is understood that bus system 805 is used for realizing the connection communication between these components.Bus system 805 is removed includes number Outside according to bus, also include power bus, controlling bus and status signal bus in addition.But for the sake of for clear explanation, in Figure 5 Various buses are all designated as bus system 805.
Wherein, user interface 803 can include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memorizer 802 in the embodiment of the present invention can be volatile memory or nonvolatile memory, Or may include volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read only memory (Read- OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM (ErasablePROM, EPROM), Electrically Erasable Read Only Memory (ElectricallyEPROM, EEPROM) dodge Deposit.Volatile memory can be random access memory (RandomAccessMemory, RAM), and which is used as outside slow at a high speed Deposit.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM (StaticRAM, SRAM), dynamic random access memory (DynamicRAM, DRAM), Synchronous Dynamic Random Access Memory (SynchronousDRAM, SDRAM), double data speed synchronous dynamic RAM (DoubleDataRate SDRAM, DDRSDRAM), enhancement mode Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct rambus random access memory (DirectRambusRAM, DRRAM).The memorizer 802 of the system and method for embodiment of the present invention description is intended to include but does not limit In these memorizeies with any other suitable type.
In some embodiments, memorizer 802 stores following element, can perform module or data structure, or Person their subset, or their superset:Operating system 8021 and application program 8022.
Wherein, operating system 8021, comprising various system programs, such as ccf layer, core library layer, driving layer etc., are used for Realize various basic businesses and process hardware based task.Application program 8022, comprising various application programs, such as media Player (MediaPlayer), browser (Browser) etc., for realizing various applied business.Realize embodiment of the present invention side The program of method is may be embodied in application program 8022.
In embodiments of the present invention, by call memorizer 802 storage program or instruction, specifically, can be application The program stored in program 8022 or instruction, processor 801 were used for before mobile terminal two-dimensional code display, obtained the two dimension Code;Recognize the information of the Quick Response Code record;Judge whether the Quick Response Code is payment Quick Response Code;If so, prompting user is to institute The display for stating payment Quick Response Code carries out Authority Verification;After the Authority Verification is completed, show the payment Quick Response Code.
The method that the embodiments of the present invention are disclosed is can apply in processor 801, or is realized by processor 801. A kind of possibly IC chip of processor 801, the disposal ability with signal.During realization, said method each Step can be completed by the instruction of the integrated logic circuit of the hardware in processor 801 or software form.Above-mentioned process Device 801 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), special IC (ApplicationSpecific IntegratedCircuit, ASIC), ready-made programmable gate array (FieldProgrammableGateArray, FPGA) or other PLDs, discrete gate or transistor logic Device, discrete hardware components.Can realize or execute disclosed each method in the embodiment of the present invention, step and box Figure.General processor can be microprocessor or the processor can also be 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 and complete, or use decoding processor In hardware and software module combination execution complete.Software module may be located at random access memory, and flash memory, read only memory can In the ripe storage medium in this area such as program read-only memory or electrically erasable programmable memory, depositor.The storage Medium is located at memorizer 802, and processor 801 reads the information in memorizer 802, in conjunction with the step that its hardware completes said method Suddenly.
It is understood that the embodiment of the present invention description these embodiments can use hardware, software, firmware, middleware, Microcode or its combine realizing.For hardware is realized, processing unit can be realized in one or more special ICs (ApplicationSpecificIntegratedCircuits, 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, microprocessor, for executing other electronics lists of herein described function In unit or its combination.
For software realize, can pass through execute the embodiment of the present invention described in function module (such as process, function etc.) come Realize the technology described in the embodiment of the present invention.Software code is storable in memorizer and by computing device.Memorizer can To realize within a processor or outside the processor.
Alternatively, processor 801 is additionally operable to:Judge whether the information of the Quick Response Code record includes the first numerical information; If so, judge whether Quick Response Code place image includes one-dimension code;If so, the second value information of the one-dimension code is recognized; Judge whether first numerical information is identical with the second value information, when first numerical information and the described second number When value information is identical, the Quick Response Code is payment Quick Response Code.
Alternatively, processor 801 is additionally operable to:Judge whether the Quick Response Code includes the first number according to Quick Response Code payment algorithm Value information.
Alternatively, processor 801 is additionally operable to:Monitor the content to be displayed that the mobile terminal will show;Judge described Whether the Quick Response Code is included on content to be displayed;If so, the display Quick Response Code is delayed.
Alternatively, the Authority Verification is included in fingerprint authentication, eyeprint checking, face verification and input password authentification One or more.
Mobile terminal 800 can realize each process that mobile terminal is realized in previous embodiment, for avoiding repeating, here Repeat no more.
Mobile terminal provided in an embodiment of the present invention 800, by, before mobile terminal two-dimensional code display, obtaining described two Dimension code;Recognize the information of the Quick Response Code record;Judge whether the Quick Response Code is payment Quick Response Code;If so, user couple is pointed out The display of the payment Quick Response Code carries out Authority Verification;After the Authority Verification is completed, show the payment Quick Response Code.By This, it is achieved that when being paid the bill using payment Quick Response Code, from system level control payment risk, improve each in mobile terminal system The payment security of individual account.
Those of ordinary skill in the art are it is to be appreciated that with reference to each of the embodiment description disclosed in the embodiment of the present invention The unit and algorithm steps of example, being capable of being implemented in combination in electronic hardware or computer software and electronic hardware.These Function is executed with hardware or software mode actually, the application-specific and design constraint depending on technical scheme.Specialty Technical staff can use different methods to realize described function to each specific application, but this realization should Think beyond the scope of this invention.
Those skilled in the art can be understood that, for convenience and simplicity of description, the system of foregoing description, Device and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be described here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, can pass through other Mode is realized.For example, device embodiment described above is only that schematically for example, the division of the unit is only A kind of division of logic function, can have when actually realizing other dividing mode, for example multiple units or component can in conjunction with or Person is desirably integrated into another system, or some features can be ignored, or does not execute.Another, shown or discussed is mutual Between coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, device or unit Connect, can be electrical, mechanical or other forms.
The unit that illustrates as separating component can be or may not be physically separate, aobvious as unit The part for showing can be or may not be physical location, you can be located at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.
If the function is realized using in the form of SFU software functional unit and as independent production marketing or when using, can be with It is stored in a computer read/write memory medium.Such understanding is based on, technical scheme is substantially in other words The part contributed by prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, is used including some instructions so that a computer equipment (can be individual People's computer, server, or network equipment etc.) execute all or part of step of each embodiment methods described of the invention. And aforesaid storage medium includes:USB flash disk, portable hard drive, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes Medium.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (10)

1. a kind of payment two-dimensional code display method, it is characterised in that include:
Before mobile terminal two-dimensional code display, the Quick Response Code is obtained;
Recognize the information of the Quick Response Code record;
Judge whether the Quick Response Code is payment Quick Response Code;
If so, prompting user carries out Authority Verification to the display of the payment Quick Response Code;
After the Authority Verification is completed, show the payment Quick Response Code.
2. method according to claim 1, it is characterised in that the step of the information of the identification Quick Response Code record Afterwards, described judge the step of whether Quick Response Code is payment Quick Response Code before, also include:
Judge whether the information of the Quick Response Code record includes the first numerical information;
If so, judge whether Quick Response Code place image includes one-dimension code;
If so, the second value information of the one-dimension code is recognized;
Described the step of whether judge the Quick Response Code be payment Quick Response Code, including:
Judge whether first numerical information is identical with the second value information, when first numerical information and described When two numerical informations are identical, the Quick Response Code is payment Quick Response Code.
3. method according to claim 2, it is characterised in that whether the information for judging the Quick Response Code record includes The step of first numerical information, including:
Judge whether the Quick Response Code includes the first numerical information according to Quick Response Code payment algorithm.
4. the method according to any one of claim 1-3, it is characterised in that described mobile terminal two-dimensional code display it Before, obtain the Quick Response Code the step of before, also include:
Monitor the content to be displayed that the mobile terminal will show;
Whether judge on the content to be displayed comprising the Quick Response Code;
If so, the display Quick Response Code is delayed.
5. the method according to any one of claim 1-3, it is characterised in that the Authority Verification includes fingerprint authentication, eye One or more in stricture of vagina checking, face verification and input password authentification.
6. a kind of mobile terminal, it is characterised in that include:
Acquisition module, for, before mobile terminal two-dimensional code display, obtaining the Quick Response Code;
First identification module, for recognizing the information of the Quick Response Code record;
First judge module, for judging whether the Quick Response Code is payment Quick Response Code;
Reminding module, for pointing out user to carry out Authority Verification to the display of the payment Quick Response Code;
Display module, for, after the Authority Verification is completed, showing the payment Quick Response Code.
7. mobile terminal according to claim 6, it is characterised in that also include:
Second judge module, for judging whether the information of the Quick Response Code record includes the first numerical information;
3rd judge module, for judging whether Quick Response Code place image includes one-dimension code;
Second identification module, for recognizing the second value information of the one-dimension code;
First judge module, also includes:
First judging unit, for judging whether first numerical information is identical with the second value information, when described When one numerical information is identical with the second value information, the Quick Response Code is payment Quick Response Code.
8. mobile terminal according to claim 7, it is characterised in that second judge module includes:
According to Quick Response Code payment algorithm, second judging unit, for judging whether the Quick Response Code includes the first numerical information.
9. the mobile terminal according to any one of claim 6-8, it is characterised in that also include:
Monitoring module, for monitoring the content to be displayed that the mobile terminal will show;
Whether the 4th judge module, for judging on the content to be displayed comprising the Quick Response Code;
Display module is delayed, shows the Quick Response Code for delaying.
10. the mobile terminal according to any one of claim 6-8, it is characterised in that the Authority Verification includes fingerprint inspection One or more in card, eyeprint checking, face verification and input password authentification.
CN201610926797.7A 2016-10-29 2016-10-29 Payment two-dimensional code display method and mobile terminal Active CN106503987B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610926797.7A CN106503987B (en) 2016-10-29 2016-10-29 Payment two-dimensional code display method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610926797.7A CN106503987B (en) 2016-10-29 2016-10-29 Payment two-dimensional code display method and mobile terminal

Publications (2)

Publication Number Publication Date
CN106503987A true CN106503987A (en) 2017-03-15
CN106503987B CN106503987B (en) 2019-11-26

Family

ID=58318611

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610926797.7A Active CN106503987B (en) 2016-10-29 2016-10-29 Payment two-dimensional code display method and mobile terminal

Country Status (1)

Country Link
CN (1) CN106503987B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107578233A (en) * 2017-08-23 2018-01-12 中国地质大学(武汉) A kind of 2 D code information leakage prevention method, equipment and its storage device
CN108447138A (en) * 2018-01-30 2018-08-24 中兴智能交通股份有限公司 A kind of intelligent transportation method of payment and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101668065A (en) * 2008-09-02 2010-03-10 银河联动信息技术(北京)有限公司 Method and system for transmitting, storing and displaying two-dimensional codes
CN103415007A (en) * 2013-07-09 2013-11-27 南京邮电大学 Mobile phone two-dimensional code safe use method based on information hiding
CN106204029A (en) * 2016-07-28 2016-12-07 北京小米移动软件有限公司 The method and apparatus of Quick Response Code payment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101668065A (en) * 2008-09-02 2010-03-10 银河联动信息技术(北京)有限公司 Method and system for transmitting, storing and displaying two-dimensional codes
CN103415007A (en) * 2013-07-09 2013-11-27 南京邮电大学 Mobile phone two-dimensional code safe use method based on information hiding
CN106204029A (en) * 2016-07-28 2016-12-07 北京小米移动软件有限公司 The method and apparatus of Quick Response Code payment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107578233A (en) * 2017-08-23 2018-01-12 中国地质大学(武汉) A kind of 2 D code information leakage prevention method, equipment and its storage device
CN107578233B (en) * 2017-08-23 2020-10-30 中国地质大学(武汉) Two-dimensional code information leakage prevention method and device and storage device thereof
CN108447138A (en) * 2018-01-30 2018-08-24 中兴智能交通股份有限公司 A kind of intelligent transportation method of payment and device

Also Published As

Publication number Publication date
CN106503987B (en) 2019-11-26

Similar Documents

Publication Publication Date Title
US11640467B2 (en) System and methods for secure firmware validation
US9430730B2 (en) Anti-skimming payment card
JP5908487B2 (en) Readhead device having a slot configured to reduce torque
CN105247541B (en) Financial account information is extracted in the improved digital picture from card
CN107146325A (en) Automatic vending machine and its control method, control device and system
TW201933222A (en) Self-service shopping method, intelligent shopping device, backend system and self-service shopping system
CN106504003A (en) A kind of method of mobile terminal payment mandate and mobile terminal
CN107430726A (en) Electronic installation and its operating method
CN110298653A (en) User interface for payment
CN106897006A (en) A kind of method for processing payment information, device and user equipment
EP2909790A2 (en) Detecting embossed characters on cards
CN108053318A (en) It is a kind of to the method and device that is identified of merchandising extremely
CN106056386A (en) Payment method, payment terminal, server and payment system
CN204990313U (en) Disposition of equipment mandate device
CN106198084B (en) A kind of intelligent detecting method and system of POS machine
CN108140275A (en) Dynamic transaction card optimizes
CN108022102A (en) A kind of auth method, device and equipment
EP3543932A2 (en) User terminal, method, and computer program
CN105243301A (en) Keyboard input abnormality detection method and apparatus as well as security prompt method and apparatus
CN107301597A (en) Information processing method and device
CN104036591A (en) Vending machine allowing fingerprint payment
CN107688940A (en) Bio-identification transaction processing method and system
CN107730250A (en) A kind of method and mobile terminal for showing payment information
CN112784751A (en) Training method, device, equipment and medium of image recognition model
CN106503987A (en) Payment two-dimensional code display method and mobile terminal

Legal Events

Date Code Title Description
C06 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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200324

Address after: 310000 Room 305, building 2, No. 20, Longquan Road, Cangqian street, Yuhang District, Hangzhou City, Zhejiang Province

Patentee after: VIVO MOBILE COMMUNICATION (HANGZHOU) Co.,Ltd.

Address before: 283 No. 523000 Guangdong province Dongguan city Changan town usha BBK Avenue

Patentee before: VIVO MOBILE COMMUNICATION Co.,Ltd.