CN106503987B - 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
CN106503987B
CN106503987B CN201610926797.7A CN201610926797A CN106503987B CN 106503987 B CN106503987 B CN 106503987B CN 201610926797 A CN201610926797 A CN 201610926797A CN 106503987 B CN106503987 B CN 106503987B
Authority
CN
China
Prior art keywords
dimensional code
payment
information
mobile terminal
display
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.)
Active
Application number
CN201610926797.7A
Other languages
Chinese (zh)
Other versions
CN106503987A (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

Landscapes

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

Abstract

The embodiment of the invention discloses a kind of payment two-dimensional code display methods of mobile terminal, this method comprises: obtaining the two dimensional code before mobile terminal two-dimensional code display;Identify the information of the two dimensional code record;Judge whether the two dimensional code is payment two dimensional code;If so, prompt user carries out Authority Verification to the display of the payment two dimensional code;After completing the Authority Verification, the payment two dimensional code is shown.The embodiment of the invention also discloses a kind of corresponding mobile terminals.Payment two-dimensional code display method disclosed by the embodiments of the present invention is realized when being paid the bill using payment two dimensional 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 fields, more particularly to payment two-dimensional code display method and mobile terminal.
Background technique
As becoming increasingly popular for mobile terminal, especially smart phone is developed with technology, the convenience of mobile payment function Increasingly show, thus the favor by user.Mobile payment is also referred to as mobile-phone payment, and user is exactly allowed to use its mobile terminal (usually mobile phone) carries out a kind of method of service of account payment to the commodity or service consumed.Mobile payment is broadly divided into closely Payment and two kinds of remote payment, the payment of so-called near field, exactly with the mode of mobile phone card-brushing by bus, do shopping, it is very convenient;Far Cheng Zhifu refers to the means of payment carried out by sending payment instruction (such as Internetbank, telephone bank, mobile-phone payment), such as in supermarket The payment instruction (payment two dimensional code etc.) of payment is provided to cashier when consumption.Currently, remote payment is more popular movement The means of payment, and the remote payment of mobile terminal is used for generally by the bill payment of Third-party payment platform, these thirds Square payment platform can be the platform that Alipay, wechat etc. have payment function.It can be said that mobile terminal remote payment is universal Great convenience is brought for the life of user.
But when user is paid using payment two dimensional code, due to the payment of each Third-party payment platform Security setting is variant, or there are good and the bad difference, user setting or using when fail mainly to arrive one by one, will often exist The risk of maloperation, and with these risks it is adjoint 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 two dimensional code of the account to payee, are violating It completes in the case where the user intention and deducts fees automatically.Therefore, the existing technology paid the bill using payment two dimensional code is existed Insecurity factor.
Summary of the invention
The embodiment of the present invention provides payment two-dimensional code display method and mobile terminal, to solve mobile terminal in the prior art Carrying out payment using payment two dimensional code has insecurity factor.
On the one hand, the embodiment of the present invention provides payment two-dimensional code display method, is applied to mobile terminal, the method packet It includes:
Before mobile terminal two-dimensional code display, the two dimensional code is obtained;
Identify the information of the two dimensional code record;
Judge whether the two dimensional code is payment two dimensional code;
If so, prompt user carries out Authority Verification to the display of the payment two dimensional code;
After completing the Authority Verification, the payment two dimensional code is shown.
On the other hand, the embodiment of the invention also provides a kind of mobile terminals, comprising:
Module is obtained, for obtaining the two dimensional code before mobile terminal two-dimensional code display;
First identification module, the information that the two dimensional code records for identification;
First judgment module, for judging whether the two dimensional code is payment two dimensional code;
Cue module, for prompting user to carry out Authority Verification to the display of the payment two dimensional code;
Display module, for showing the payment two dimensional code after completing the Authority Verification.
Payment two-dimensional code display method provided in an embodiment of the present invention, by obtaining before mobile terminal two-dimensional code display Take the two dimensional code;Identify the information of the two dimensional code record;Judge whether the two dimensional code is payment two dimensional code;If so, mentioning Show that user carries out Authority Verification to the display of the payment two dimensional code;After completing the Authority Verification, the payment is shown Two dimensional code.Hereby it is achieved that, from system level control payment risk, improving movement eventually when paying the bill using payment two dimensional code The payment security of each account in end system.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, institute in being described below to the embodiment of the present invention Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention The attached drawing of example for those of ordinary skill in the art without creative efforts, can also be according to these Attached drawing obtains other attached 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 structural block diagram of the first embodiment of mobile terminal of the present invention;
Fig. 4 is the structural block diagram of the second embodiment of mobile terminal of the present invention;
Fig. 5 is the structural block diagram of the 3rd embodiment of mobile terminal of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
First embodiment
Step 101, before mobile terminal two-dimensional code display, the two dimensional code is obtained.
In the embodiment of the present invention, for avoid in the terminal used in account by other people or user unintentionally Show that payment two dimensional code is first obtained and analyzed before the two dimensional code of mobile terminal is shown to payee in knowledge.Therefore it is moving Before dynamic terminal shows the two dimensional code, first the two dimensional code is obtained.Wherein it is possible to using the means of monitoring screen know whether by Two-dimensional code display, or know whether for two-dimensional code display to be achieved in using the movement that monitoring account obtained or generated two dimensional code The two dimensional code is obtained before mobile terminal shows the two dimensional code.
Step 102, the information of the two dimensional code record is identified.
In the embodiment of the present invention, need to identify the information of two dimensional code record.It is known that two-dimensional bar code/two dimensional code (2- Dimensional bar code) it is to be distributed according to certain rules at plane (on two-dimensional directional) with certain specific geometric figure Chequered with black and white graphic recording data symbol information;Composition computer-internal logical foundations are dexterously utilized in code compilation " 0 ", " 1 " bit stream concept, indicate text numerical information using several geometrical bodies corresponding with binary system, lead to Image input device or photoelectric scanning device automatically identifying and reading are crossed to realize automatic processing of information.Therefore, two dimensional code is identified The information of its record can be read.
Step 103, judge whether the two dimensional code is payment two dimensional code.
In the embodiment of the present invention, it is known that ground, payment two dimensional code is the variation and upgrading of conventional two-dimensional code, in ordinary QR code The middle function of incorporating on-line payment, makes commodity transaction enhanced convenience quick, similar to the generation of ordinary QR code, payment two dimension Code using the geometric figure of chequered with black and white (or colour color lump alternate) that is distributed according to certain rules on the two-dimensional directional of plane come Data, information are recorded, are one of key, core technology of an important technology in automatic identification and Internet of Things industry.And Payment two dimensional code includes gathering two dimensional code and payment two dimensional code again.Gathering two dimensional code contain the account information of user, for Other side's gathering;And two dimensional code of paying the bill contains the account information and payment channel information of user, for paying the bill to other side.Therefore, When identifying that two dimensional code contains account 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 two dimensional code record account information whether match, finally according to comparison result Judge whether the two dimensional code is payment two dimensional code.
Step 104, if so, prompt user carries out Authority Verification to the display of the payment two dimensional code.
In the embodiment of the present invention, when judging the two dimensional code is payment two dimensional code, then it should first start mentioning for Authority Verification Show, user is such as reminded to complete Authority Verification in a manner of dialog box or voice prompting.
Wherein, the Authority Verification includes one in fingerprint authentication, eyeprint verifying, face verification and input password authentification Kind is a variety of.Such as, pop-up prompt user inputs the window that fingerprint carries out Authority Verification on screen interface.
Step 105, after completing the Authority Verification, the payment two dimensional code is shown.
In the embodiment of the present invention, after user inputs relevant verifying according to prompt, mobile terminal judges that this is verified whether It is matched with systemic presupposition verifying, if so, obtaining user's authorization, therefore shows the payment two dimensional code so that its completion payment is dynamic Make.Wherein, it shows that the movement of the payment two dimensional code can be the picture for removing and being covered on the payment two dimensional code, keeps the payment two-dimentional Code reveals;It is also possible to revocation to intercept, the picture comprising payment two dimensional code of system bottom is enable to show.
Payment two-dimensional code display method provided in an embodiment of the present invention, by obtaining before mobile terminal two-dimensional code display Take the two dimensional code;Identify the information of the two dimensional code record;Judge whether the two dimensional code is payment two dimensional code;If so, mentioning Show that user carries out Authority Verification to the display of the payment two dimensional code;After completing the Authority Verification, the payment is shown Two dimensional code.Hereby it is achieved that, from system level control payment risk, improving movement eventually when paying the bill using payment two dimensional code 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 packet It includes:
Step 201, the content to be displayed that the mobile terminal will be shown is monitored.
In the embodiment of the present invention, implementing monitoring screen monitors the content to be displayed that will be shown.Screen monitor technology can be with In system bottom, detect content to be shown.
Step 202, whether judge on the content to be displayed comprising the two dimensional code.
In the embodiment of the present invention, judge whether the content to be displayed in monitoring includes two dimensional code, which is in will It shows and not shown state.
Step 203, if so, delaying the display two dimensional code.
In the embodiment of the present invention, when judge in content to be displayed there are when two dimensional code, need to carry out the two dimensional code into The analysis of one step, property loss occurs to avoid maloperation, therefore delays and show the two dimensional code.Wherein, if the two dimensional code is to pay Money two dimensional code is then being shown after user completes Authority Verification.
Step 204, before mobile terminal two-dimensional code display, the two dimensional code is obtained.
Step 205, the information of the two dimensional code record is identified.
Step 204 and step 205 are identical as the present invention payment corresponding steps of first embodiment of two-dimensional code display method, Step repeats herein.
Step 206, whether the information for judging the two dimensional code record includes the first numerical information.
In the embodiment of the present invention, after the information of identification two dimensional code record, judge in the information whether to include containing specific First numerical information of data.It is known that existing payment two dimensional code is scanned using conventional equipment, such as Alipay payment two dimension Code, wechat payment two dimensional code etc., generally can all obtain string number, although and this string number can real-time update, but exist 18 pure digi-tals that certain regularity, such as present wechat payment two dimensional code are 130 beginnings, and Alipay payment two dimensional code is then 28 18 pure digi-tals of beginning.If the two dimensional code be payment two dimensional code, it includes information be necessarily meet these rule First digital information, therefore can be analyzed accordingly.
Further, judge whether the two dimensional code includes the first numerical information according to two dimensional code payment algorithm.
Specifically, two dimensional code payment algorithm should be a kind of customized algorithm, by taking wechat and Alipay as an example, by account Family information and payment channel information generate one group of 18 bit digital character string, wherein preceding 2 or 3 under the action of customer transaction public key Bit digital is payment channel mark, and rear 16 or 15 bit digitals are account mark.Therefore, it may determine that by two dimensional code payment algorithm Whether the information that two dimensional code is included is the first numerical information.Further, since be possible to can be with for two dimensional code payment algorithm The upgrading of Third-party payment platform and change, therefore need to carry out algorithm update, to reduce erroneous judgement probability.Wherein, algorithm updates Time can be the time of system version update, be also possible to push etc. in real time, herein with no restrictions.
Step 207, if so, judging whether image where the two dimensional code includes one-dimension code.
It is further when the packet for judging two dimensional code record contains the first numerical information in the embodiment of the present invention Ensure the two dimensional code for payment two dimensional code, will also judge whether image where it includes one-dimension code.In actual use, payment two Dimension code generally cooperates one-dimension code to use, and uses the payment scenario of one-dimension code barcode scanning gun in order to adapt to supermarket etc..
Step 208, if so, identifying the second value information of the one-dimension code.
In the embodiment of the present invention, need to identify the second value information of one-dimension code, to be compared.The second value information The only one-dimension code numerical information that is included.
Step 209, judge whether first numerical information and the second value information are identical, when first numerical value When information is identical as the second value information, the two dimensional code is payment two dimensional code.
In the embodiment of the present invention, by the comparison result of the first numerical information and second value information, as judging the two dimension Code whether be pay the bill two dimensional code condition.When first numerical information is identical as the second value information, further really Determined the two dimensional code be for payment, therefore may determine that its for payment two dimensional code.
Step 210, if so, prompt user carries out Authority Verification to the display of the payment two dimensional code.
Step 211, after completing the Authority Verification, the payment two dimensional code is shown.
Step 210 and step 211 are identical as the present invention payment corresponding steps of first embodiment of two-dimensional code display method, Details are not described herein again.
Payment two-dimensional code display method provided in an embodiment of the present invention, by monitor that the mobile terminal will show to It shows content, judges, if so, delaying the display two dimensional code, moving whether comprising the two dimensional code on the content to be displayed Before dynamic terminal two-dimensional code display, the two dimensional code is obtained, identifies the information of the two dimensional code record, judges the two dimensional code note Whether the information of record includes the first numerical information, if so, judge whether image where the two dimensional code includes one-dimension code, if so, The second value information for identifying the one-dimension code judges whether first numerical information and the second value information are identical, When first numerical information is identical as the second value information, the two dimensional code is payment two dimensional code, if so, prompt is used Family carries out Authority Verification to the display of the payment two dimensional code, after completing the Authority Verification, shows the payment two dimension Code is realized according to the numerical value setting feature of payment two dimensional code and using characteristic come analysis of two-dimensional code, reaches Accurate Analysis, accurate The purpose of judgement, also avoids while ensureing user account property safety due to erroneous judgement and bring is inconvenient for use.
The embodiment of the display methods of mobile terminal of the present invention is discussed in detail above.It will correspond to above-mentioned side below The device (i.e. mobile terminal) of method is further elaborated.Wherein, mobile terminal can be mobile phone, tablet computer or intelligence wearing and set The terminals such as standby.
3rd embodiment
As shown in figure 3, the structural block diagram of the first embodiment for mobile terminal of the present invention.The mobile terminal 300 includes obtaining Modulus block 301, the first identification module 302, first judgment module 303, cue module 304 and display module 305, in which:
Module 301 is obtained, is connected with the first identification module 302, for obtaining before mobile terminal two-dimensional code display The two dimensional code.
In the embodiment of the present invention, for avoid in the terminal used in account by other people or user unintentionally Show that payment two dimensional code is first obtained and analyzed before the two dimensional code of mobile terminal is shown to payee in knowledge.Therefore it is moving Before dynamic terminal shows the two dimensional code, first the two dimensional code is obtained.Wherein it is possible to using the means of monitoring screen know whether by Two-dimensional code display, or know whether for two-dimensional code display to be achieved in using the movement that monitoring account obtained or generated two dimensional code The two dimensional code is obtained before mobile terminal shows the two dimensional code.
First identification module 302, is connected with first judgment module 303, for identification the information of the two dimensional code record.
In the embodiment of the present invention, need to identify the information of two dimensional code record.It is known that two-dimensional bar code/two dimensional code (2- Dimensional bar code) it is to be distributed according to certain rules at plane (on two-dimensional directional) with certain specific geometric figure Chequered with black and white graphic recording data symbol information;Composition computer-internal logical foundations are dexterously utilized in code compilation " 0 ", " 1 " bit stream concept, indicate text numerical information using several geometrical bodies corresponding with binary system, lead to Image input device or photoelectric scanning device automatically identifying and reading are crossed to realize automatic processing of information.Therefore, two dimensional code is identified The information of its record can be read.
First judgment module 303 is connected with cue module 304, for judging whether the two dimensional code is payment two dimension Code.
In the embodiment of the present invention, it is known that ground, payment two dimensional code is the variation and upgrading of conventional two-dimensional code, in ordinary QR code The middle function of incorporating on-line payment, makes commodity transaction enhanced convenience quick, similar to the generation of ordinary QR code, payment two dimension Code using the geometric figure of chequered with black and white (or colour color lump alternate) that is distributed according to certain rules on the two-dimensional directional of plane come Data, information are recorded, are one of key, core technology of an important technology in automatic identification and Internet of Things industry.And Payment two dimensional code includes gathering two dimensional code and payment two dimensional code again.Gathering two dimensional code contain the account information of user, for Other side's gathering;And two dimensional code of paying the bill contains the account information and payment channel information of user, for paying the bill to other side.Therefore, When identifying that two dimensional code contains account 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 two dimensional code record account information whether match, finally according to comparison result Judge whether the two dimensional code is payment two dimensional code.
Cue module 304 is connected with display module 305, for prompt user to it is described payment two dimensional code display into Row Authority Verification.
In the embodiment of the present invention, when judging the two dimensional code is payment two dimensional code, then it should first start mentioning for Authority Verification Show, user is such as reminded to complete Authority Verification in a manner of dialog box or voice prompting.
Wherein, the Authority Verification includes one in fingerprint authentication, eyeprint verifying, face verification and input password authentification Kind is a variety of.Such as, pop-up prompt user inputs the window that fingerprint carries out Authority Verification on screen interface.
Display module 305, for showing the payment two dimensional code after completing the Authority Verification.
In the embodiment of the present invention, after user inputs relevant verifying according to prompt, mobile terminal judges that this is verified whether It is matched with systemic presupposition verifying, if so, obtaining user's authorization, therefore shows the payment two dimensional code so that its completion payment is dynamic Make.Wherein, it shows that the movement of the payment two dimensional code can be the picture for removing and being covered on the payment two dimensional code, keeps the payment two-dimentional Code reveals;It is also possible to revocation to intercept, the picture comprising payment two dimensional code of system bottom is enable to show.
Mobile terminal provided in an embodiment of the present invention, by obtaining the two dimension before mobile terminal two-dimensional code display Code;Identify the information of the two dimensional code record;Judge whether the two dimensional code is payment two dimensional code;If so, prompt user is to institute The display for stating payment two dimensional code carries out Authority Verification;After completing the Authority Verification, the payment two dimensional code is shown.By This, is realized when being paid the bill using payment two dimensional code, from system level control payment risk, is improved each in mobile terminal system The payment security of a account.
4th embodiment
As shown in figure 4, the structural block diagram of the second embodiment for mobile terminal of the present invention.The mobile terminal 400 includes prison Control module 401, the 4th judgment module 402 delay display module 403, obtain module 404, the first identification module 405, second sentence Disconnected module 406, third judgment module 407, the second identification module 408, first judgment module 409, cue module 410 and display mould Block 411, in which:
Monitoring module 401 is connected with the 4th judgment module 402, for monitor that the mobile terminal will show to Show content.
In the embodiment of the present invention, 401 implementing monitoring screen of monitoring module monitors the content to be displayed that will be shown.Screen Monitoring technology can detect in system bottom by content to be shown.
4th judgment module 402 is connected with display module 403 is delayed, for judge on the content to be displayed whether Include the two dimensional code.
In the embodiment of the present invention, the 4th judgment module 402 judges whether the content to be displayed in monitoring includes two dimensional code, should Two dimensional code is in and will show and not shown state.
Display module 403 is delayed, is connected with module 404 is obtained, for delaying the display two dimensional code.
In the embodiment of the present invention, when judge in content to be displayed there are when two dimensional code, delay display module 403 need pair The two dimensional code is further analyzed, and property loss occurs to avoid maloperation, therefore delays and show the two dimensional code.Wherein, If the two dimensional code is payment two dimensional code, shown after user completes Authority Verification.
Module 404 is obtained, is connected with the first identification module 405, for obtaining before mobile terminal two-dimensional code display The two dimensional code.
First identification module 405 is connected with the second judgment module 406, for identification the information of the two dimensional code record.
Obtain the corresponding module phase of module 404 and the first identification module 405 and the first embodiment of mobile terminal of the present invention Together, details are not described herein again.
Second judgment module 406, is connected with third judgment module 407, for judging the information of the two dimensional code record It whether include the first numerical information.
In the embodiment of the present invention, identification two dimensional code record information after, the second judgment module 406 judge be in the information No includes the first numerical information containing specific data.It is known that scanning existing payment two dimensional code using conventional equipment, such as prop up Precious payment two dimensional code, wechat payment two dimensional code etc. are paid, string number generally can be all obtained, although and this string number can in real time more Newly, but there are 18 pure digi-tals that certain regularity, such as present wechat payment two dimensional code are 130 beginnings, and Alipay is paid Money two dimensional code is then 18 pure digi-tals of 28 beginnings.If the two dimensional code be payment two dimensional code, it includes information be necessarily Meet the first digital information of these rules, therefore can be analyzed accordingly.
Specifically, the second judgment module 406 further includes with lower unit:
Second judgment unit 4061, for judging whether the two dimensional code includes the first numerical value according to two dimensional code payment algorithm Information.
Specifically, two dimensional code payment algorithm should be a kind of customized algorithm, by taking wechat and Alipay as an example, by account Family information and payment channel information generate one group of 18 bit digital character string, wherein preceding 2 or 3 under the action of customer transaction public key Bit digital is payment channel mark, and rear 16 or 15 bit digitals are account mark.Therefore, it may determine that by two dimensional code payment algorithm Whether the information that two dimensional code is included is the first numerical information.Further, since be possible to can be with for two dimensional code payment algorithm The upgrading of Third-party payment platform and change, therefore need to carry out algorithm update, to reduce erroneous judgement probability.Wherein, algorithm updates Time can be the time of system version update, be also possible to push etc. in real time, herein with no restrictions.
Third judgment module 407 is connected with the second identification module 408, for judging that image where the two dimensional code is No includes one-dimension code.
It is further when the packet for judging two dimensional code record contains the first numerical information in the embodiment of the present invention Ensure the two dimensional code for payment two dimensional code, third judgment module 407 will also judge whether image where it includes one-dimension code.In reality Border is in use, payment two dimensional code generally cooperates one-dimension code to use, in order to adapt to the payment that supermarket etc. uses one-dimension code barcode scanning gun Scene.
Second identification module 408, is connected with first judgment module 409, for identification the second value of the one-dimension code Information.
In the embodiment of the present invention, the second identification module 408 needs to identify the second value information of one-dimension code, to be compared It is right.The second value information is only the numerical information that the one-dimension code is included.
First judgment module 409 is connected with cue module 410, for judging whether the two dimensional code is payment two dimension Code.
Specifically, first judgment module 409 further includes with lower unit:
First judging unit 4091, for judging whether first numerical information and the second value information are identical, When first numerical information is identical as the second value information, the two dimensional code is payment two dimensional code.
In the embodiment of the present invention, the first judging unit 4091 is by the comparison knot of the first numerical information and second value information Fruit, as judge the two dimensional code whether be pay the bill two dimensional code condition.When first numerical information and the second value are believed Manner of breathing simultaneously, further determined the two dimensional code be for payment, therefore may determine that its for payment two dimensional code.
Cue module 410 is connected with display module 411, for prompt user to it is described payment two dimensional code display into Row Authority Verification.
Display module 411, for showing the payment two dimensional code after completing the Authority Verification.
Cue module 410 and display module 411 are identical as the corresponding module of the first embodiment of mobile terminal of the present invention, this Place repeats no more.
Mobile terminal provided in an embodiment of the present invention, the content to be displayed that will be shown by monitoring the mobile terminal, Judge, if so, delaying the display two dimensional code, to show in mobile terminal whether comprising the two dimensional code on the content to be displayed Before two dimensional code, the two dimensional code is obtained, identifies the information of the two dimensional code record, judges that the information of the two dimensional code record is No includes the first numerical information, if so, judging whether image where the two dimensional code includes one-dimension code, if so, identification described one The second value information for tieing up code, judges whether first numerical information and the second value information are identical, when described first When numerical information is identical as the second value information, the two dimensional code is payment two dimensional code, if so, prompt user is to described pair The display of money two dimensional code carries out Authority Verification, after completing the Authority Verification, shows the payment two dimensional code, realizes root Carry out analysis of two-dimensional code according to the numerical value setting feature of payment two dimensional code and using characteristic, achieve the purpose that Accurate Analysis, accurate judgement, It is also avoided while ensureing user account property safety due to erroneous judgement and bring is inconvenient for use.
5th embodiment
Fig. 5 is the structural block diagram of the 3rd embodiment of mobile terminal of the present invention.Mobile terminal 800 shown in fig. 5 include: to A few processor 801, memory 802, at least one network interface 804, user interface 803 and other assemblies 806, other groups Part 806 includes eyeball tracking sensor and front camera.Various components in mobile terminal 800 pass through 805 coupling of bus system It is combined.It is understood that bus system 805 is for realizing the connection communication between these components.It includes number that bus system 805, which is removed, It further include power bus, control bus and status signal bus in addition except bus.But for the sake of clear explanation, in Fig. 5 Various buses are all designated as bus system 805.
Wherein, user interface 803 may include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 802 in the embodiment of the present invention can be volatile memory or nonvolatile memory, It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read- OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM (ErasablePROM, EPROM), electrically erasable programmable read-only memory (ElectricallyEPROM, EEPROM) dodge It deposits.Volatile memory can be random access memory (RandomAccessMemory, RAM), and it is slow to be used as external high speed It deposits.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory (StaticRAM, SRAM), dynamic random access memory (DynamicRAM, DRAM), Synchronous Dynamic Random Access Memory (SynchronousDRAM, SDRAM), double data speed synchronous dynamic RAM (DoubleDataRate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct rambus random access memory (DirectRambusRAM, DRRAM).The memory 802 of the system and method for description of the embodiment of the present invention is intended to include but unlimited In the memory of these and any other suitable type.
In some embodiments, memory 802 stores following element, executable modules or data structures, or Their subset of person or their superset: operating system 8021 and application program 8022.
Wherein, operating system 8021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for Realize various basic businesses and the hardware based task of processing.Application program 8022 includes 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 may be embodied in application program 8022.
In embodiments of the present invention, by the program or instruction of calling memory 802 to store, specifically, can be application The program or instruction stored in program 8022, processor 801 are used for before mobile terminal two-dimensional code display, obtain the two dimension Code;Identify the information of the two dimensional code record;Judge whether the two dimensional code is payment two dimensional code;If so, prompt user is to institute The display for stating payment two dimensional code carries out Authority Verification;After completing the Authority Verification, the payment two dimensional code is shown.
The method that the embodiments of the present invention disclose can be applied in processor 801, or be realized by processor 801. Processor 801 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 801 or the instruction of software form.Above-mentioned processing Device 801 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), specific integrated circuit (ApplicationSpecific IntegratedCircuit, ASIC), ready-made programmable gate array (FieldProgrammableGateArray, FPGA) either other programmable logic device, discrete gate or transistor logic Device, discrete hardware components.It may be implemented or execute disclosed each method, step and the logical box in the embodiment of the present invention Figure.General processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with the present invention The step of method disclosed in embodiment, can be embodied directly in hardware decoding processor and execute completion, or use decoding processor In hardware and software module combination execute completion.Software module can be located at random access memory, and flash memory, read-only memory can In the storage medium of this fields such as program read-only memory or electrically erasable programmable memory, register maturation.The storage Medium is located at memory 802, and processor 801 reads the information in memory 802, and the step of the above method is completed in conjunction with its hardware Suddenly.
It is understood that the embodiment of the present invention description these embodiments can with hardware, software, firmware, middleware, Microcode or combinations thereof is realized.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (App LicationSpecificIntegratedCircuits, 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, other electronics lists for executing herein described function In member or combinations thereof.
For software implementations, can by execute the embodiment of the present invention described in function module (such as process, function etc.) come Realize technology described in the embodiment of the present invention.Software code is storable in memory and is executed by processor.Memory can With portion realizes in the processor or outside the processor.
Optionally, processor 801 is also used to: whether the information for judging the two dimensional code record includes the first numerical information; If so, judging whether image where the two dimensional code includes one-dimension code;If so, identifying the second value information of the one-dimension code; Judge whether first numerical information and the second value information are identical, when first numerical information and second number When value information is identical, the two dimensional code is payment two dimensional code.
Optionally, processor 801 is also used to: judging whether the two dimensional code includes the first number according to two dimensional code payment algorithm Value information.
Optionally, processor 801 is also used to: monitoring the content to be displayed that the mobile terminal will be shown;Described in judgement It whether include the two dimensional code on content to be displayed;If so, delaying the display two dimensional code.
Optionally, the Authority Verification includes in fingerprint authentication, eyeprint verifying, face verification and input password authentification It is one or more.
Mobile terminal 800 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here It repeats no more.
Mobile terminal 800 provided in an embodiment of the present invention, by obtaining described two before mobile terminal two-dimensional code display Tie up code;Identify the information of the two dimensional code record;Judge whether the two dimensional code is payment two dimensional code;If so, prompt user couple The display of the payment two dimensional code carries out Authority Verification;After completing the Authority Verification, the payment two dimensional code is shown.By This, is realized when being paid the bill using payment two dimensional code, from system level control payment risk, is improved each in mobile terminal system The payment security of a account.
Those of ordinary skill in the art may be aware that the embodiment in conjunction with disclosed in the embodiment of the present invention describe it is each Exemplary unit and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (8)

1. a kind of payment two-dimensional code display method characterized by comprising
Before mobile terminal two-dimensional code display, the two dimensional code is obtained;
Identify the information of the two dimensional code record;
Judge whether the two dimensional code is payment two dimensional code;
If so, prompt user carries out Authority Verification to the display of the payment two dimensional code;
After completing the Authority Verification, the payment two dimensional code is shown;
It is described judge whether the two dimensional code is that payment is two-dimentional after the information of the identification two dimensional code record the step of Before the step of code, further includes:
Whether the information for judging the two dimensional code record includes the first numerical information;
If so, judging whether image where the two dimensional code includes one-dimension code;
If so, identifying the second value information of the one-dimension code;
It is described that the step of whether two dimensional code is payment two dimensional code judged, comprising:
Judge whether first numerical information and the second value information are identical, when first numerical information and described the When two numerical informations are identical, the two dimensional code is payment two dimensional code.
2. the method according to claim 1, wherein the information for judging two dimensional code record whether include The step of first numerical information, comprising:
Judge whether the two dimensional code includes the first numerical information according to two dimensional code payment algorithm.
3. method according to claim 1 or 2, which is characterized in that described before mobile terminal two-dimensional code display, obtain Before the step of taking the two dimensional code, further includes:
Monitor the content to be displayed that the mobile terminal will be shown;
Whether judge on the content to be displayed comprising the two dimensional code;
If so, delaying the display two dimensional code.
4. method according to claim 1 or 2, which is characterized in that the Authority Verification includes that fingerprint authentication, eyeprint are tested One of card, face verification and input password authentification are a variety of.
5. a kind of mobile terminal characterized by comprising
Module is obtained, for obtaining the two dimensional code before mobile terminal two-dimensional code display;
First identification module, the information that the two dimensional code records for identification;
First judgment module, for judging whether the two dimensional code is payment two dimensional code;
Cue module, for prompting user to carry out Authority Verification to the display of the payment two dimensional code;
Display module, for showing the payment two dimensional code after completing the Authority Verification;
Second judgment module, for judging whether the information of the two dimensional code record includes the first numerical information;
Third judgment module, for judging whether image where the two dimensional code includes one-dimension code;
Second identification module, for identification the second value information of the one-dimension code;
The first judgment module, further includes:
First judging unit, for judging whether first numerical information and the second value information are identical, when described When one numerical information is identical as the second value information, the two dimensional code is payment two dimensional code.
6. mobile terminal according to claim 5, which is characterized in that second judgment module includes:
Second judgment unit, for judging whether the two dimensional code includes the first numerical information according to two dimensional code payment algorithm.
7. mobile terminal according to claim 5 or 6, which is characterized in that further include:
Monitoring module, the content to be displayed that will be shown for monitoring the mobile terminal;
4th judgment module, for whether judging on the content to be displayed comprising the two dimensional code;
Display module is delayed, for delaying the display two dimensional code.
8. mobile terminal according to claim 5 or 6, which is characterized in that the Authority Verification includes fingerprint authentication, eyeprint One of verifying, face verification and input password authentification are a variety of.
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 CN106503987A (en) 2017-03-15
CN106503987B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (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
CN103415007B (en) * 2013-07-09 2016-06-01 南京邮电大学 A kind of mobile phone two-dimension code safe handling method based on Information hiding
CN106204029B (en) * 2016-07-28 2019-04-26 北京小米支付技术有限公司 The method and apparatus of two dimensional code payment

Also Published As

Publication number Publication date
CN106503987A (en) 2017-03-15

Similar Documents

Publication Publication Date Title
US20230252439A1 (en) Automatic storage of electronic receipts across merchants and transaction cards
US9443237B2 (en) Systems and methods for financial transaction through card reader in communication with third party financial institution with encrypted information
US8840024B2 (en) Systems and methods for financial transaction through miniaturized card reader with decoding on a seller's mobile device
CN107194697B (en) The method and system of authorization are provided by mobile terminal
US9016572B2 (en) Systems and methods for financial transaction through miniaturized card with ASIC
JP2017062844A (en) Method of conducting financial transaction where payer's financial account information is entered only once with payment system
CN108269187A (en) Verification method, device, equipment and the computer storage media of financial business
JP2013539889A (en) Readhead device having a slot configured to reduce torque
CN108399692A (en) Self-help shopping method, smart shopper equipment, background system and self-help shopping system
US20130031004A1 (en) Payment methods with a payment service and tabs selected by a first party and opened by a second party at any geographic location of the first partys mobile device
JP2013539890A (en) How to transfer funds using a payment service where financial deposit account information is entered once into the payment service and does not need to be re-entered for future transfers
US20120091200A1 (en) Card reader device without
JP2013543180A (en) How to make online purchases using mobile devices and payment services
JP2017033603A (en) Payment method for using settlement service and tab selected by first party and opened by second party in geological position of one of mobile devices of first party
CN102509238A (en) Bank non-cash business processing method, apparatus and system
CN106056386A (en) Payment method, payment terminal, server and payment system
CN107590660A (en) Method of mobile payment
CN106503987B (en) Payment two-dimensional code display method and mobile terminal
CN108399540A (en) Code scanning payment method and device based on mobile terminal, terminal and storage medium
CN112446704A (en) Safe transaction management method and safe transaction management device
US20240005298A1 (en) Pre-authorized transfer
CN107563735A (en) Information processing method and electronic equipment
CN109313782A (en) Pre-approval financial transaction provides system and method
CN107633194A (en) A kind of recognition methods of Quick Response Code and terminal
CN106339620B (en) A kind of auth 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.