CN111091369A - Quick payment method and device applied in cooperation with input device - Google Patents

Quick payment method and device applied in cooperation with input device Download PDF

Info

Publication number
CN111091369A
CN111091369A CN201811244325.9A CN201811244325A CN111091369A CN 111091369 A CN111091369 A CN 111091369A CN 201811244325 A CN201811244325 A CN 201811244325A CN 111091369 A CN111091369 A CN 111091369A
Authority
CN
China
Prior art keywords
payment
image
mobile
scenes
electronic 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.)
Pending
Application number
CN201811244325.9A
Other languages
Chinese (zh)
Inventor
王越
晏成
姚远
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Inspiry Technology Co Ltd
Original Assignee
Beijing Inspiry Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Inspiry Technology Co Ltd filed Critical Beijing Inspiry Technology Co Ltd
Priority to CN201811244325.9A priority Critical patent/CN111091369A/en
Publication of CN111091369A publication Critical patent/CN111091369A/en
Pending legal-status Critical Current

Links

Images

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/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/34Payment architectures, schemes or protocols characterised by the use of specific devices or networks using cards, e.g. integrated circuit [IC] cards or magnetic cards
    • G06Q20/351Virtual cards
    • 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/34Payment architectures, schemes or protocols characterised by the use of specific devices or networks using cards, e.g. integrated circuit [IC] cards or magnetic cards
    • G06Q20/352Contactless payments by cards
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/136Segmentation; Edge detection involving thresholding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/194Segmentation; Edge detection involving foreground-background segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20081Training; Learning

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Cash Registers Or Receiving Machines (AREA)

Abstract

The utility model provides a quick payment method applied in cooperation with input equipment, which comprises the steps of networking mobile payment equipment supporting the cooperative application of the input equipment and arranged in a plurality of scenes, and connecting the mobile payment equipment, an electronic terminal and a server cluster; acquiring parameter data in real time and generating a two-dimensional code image by combining the parameter data with the commodity code; grouping and classifying the acquired ranging data; when the payment event is triggered, code scanning payment and non-contact card swiping payment are supported, and the first distance measurement sampling point is monitored, a user is started and received to complete payment operation in a buckling and scanning mode. The method adopts an Otsu algorithm to perform rough segmentation and secondary segmentation aiming at the payment image, and payment is completed when a plurality of conditions that a payment event is triggered are monitored. The code scanning payment and non-contact card swiping payment are supported to be efficiently and accurately paid in a network distribution environment based on cooperative application of a plurality of scenes and input equipment. The present disclosure also provides a quick payment apparatus applied in cooperation with an input device.

Description

Quick payment method and device applied in cooperation with input device
Technical Field
The disclosure relates to the technical field of mobile payment and the technical field of image recognition, in particular to a quick payment method and a quick payment device cooperatively applied with an input device.
Background
In the prior art, the cash register modes applied to a plurality of scenes are pos machine card swiping modes, cash modes and the like. The electronic terminal is opened for the payer in a few scenes, static two-dimensional codes provided by a plurality of scenes are scanned (in the process of manufacturing and image acquisition of static payment images, impurities, interference and the like are inevitably mixed in the images, so that the problems of noise, blurring and uneven gray scale exist in the images), information of the two-dimensional codes is read, and payment operation is completed. The cash register mode enables the cash register mode to be single, and due to the fact that a plurality of scenes are different in real environment, higher requirements are provided for payment diversity. The existing scheme does not have the diversity and flexibility of payment.
Disclosure of Invention
In order to solve technical problems in the prior art, the disclosed embodiment provides a fast payment method and device cooperatively applied with an input device, wherein mobile payment devices arranged in a plurality of scenes are networked, and the mobile payment devices arranged in the plurality of scenes and supporting cooperative application with the input device, an electronic terminal controlling the mobile payment devices and a server cluster are connected; the method comprises the steps of acquiring data of a plurality of parameters, which are sent by a server cluster and are suitable for payment of the mobile payment equipment, in real time, and generating a two-dimensional code image suitable for the mobile payment equipment according to the data of the plurality of parameters and a commodity code; grouping continuous ranging data acquired by at least one ranging sensor aiming at a generated two-dimensional code image into a plurality of data groups according to the adjacent relation of corresponding sequences, and classifying ranging data points in each data group to be divided into a first ranging sampling point and a second ranging sampling point, wherein each data group comprises the same number of ranging data points; when a payment event is monitored to be triggered, whether an initial system of the mobile payment device supports a multi-form payment system or not is judged, wherein the multi-form payment system supports code scanning payment and non-contact card swiping payment, the multi-form payment system comprises a closed payment system and an open payment system, the closed payment system is used for presetting a single scene and a single payment position and combining a payment system formed by a virtual value storage card or a real value storage card, and the open payment system is used for presetting at least two scenes and at least two payment positions and combining a payment system formed by the virtual value storage card or the real value storage card; and if the multi-form payment system is supported and the first distance measurement sampling point is monitored, starting and receiving the payment operation finished by the user in a buckling and scanning mode.
In a first aspect, an embodiment of the present disclosure provides a quick payment method applied in cooperation with an input device, including the following steps: networking mobile payment equipment arranged in a plurality of scenes, and connecting the mobile payment equipment which is arranged in the plurality of scenes and supports the cooperative application with input equipment, an electronic terminal for controlling the mobile payment equipment and a server cluster; acquiring data of a plurality of parameters which are sent by the server cluster and are suitable for payment of the mobile payment equipment in real time, and generating a two-dimensional code image suitable for the mobile payment equipment according to the data of the plurality of parameters and a commodity code; grouping continuous ranging data acquired by at least one ranging sensor for the generated two-dimensional code image into a plurality of data groups according to the adjacent relation of corresponding sequences, and classifying ranging data points in each data group to be divided into a first ranging sampling point and a second ranging sampling point, wherein each data group comprises the same number of ranging data points; when a payment event is monitored to be triggered, judging whether an initial system of the mobile payment device supports a multi-form payment system or not, wherein the multi-form payment system supports code scanning payment and non-contact card swiping payment, the multi-form payment system comprises a closed payment system and an open payment system, the closed payment system is combined with a payment system formed by a virtual value storage card or a real value storage card in a preset single scene and a preset single payment position, and the open payment system is combined with the payment system formed by the virtual value storage card or the real value storage card in a preset at least two scenes and at least two payment positions; and if the multi-form payment system is supported and the first distance measurement sampling point is monitored, starting and receiving the payment operation finished by the user in a buckling and scanning mode.
In one embodiment, the connecting the mobile payment device supporting the cooperative application with the input device, the electronic terminal controlling the mobile payment device, and the server cluster, which are arranged in a plurality of scenes, includes: connecting at least one mobile payment device arranged in a plurality of scenes with a cloud server cluster through WIFI; and connecting the at least one mobile payment device arranged in a plurality of scenes with the electronic terminal for controlling the mobile payment device through Bluetooth connection.
In one embodiment, the method further comprises the following steps: acquiring capability values corresponding to a plurality of protocol stacks in the mobile payment equipment and a channel identifier currently bound with the protocol stack with the maximum value of the capability values; selecting a corresponding channel according to the acquired channel identifier; and completing the payment operation applicable to the mobile payment device through the selected channel.
In one embodiment, the method further comprises the following steps: in a preset time period, when the payment event is monitored to be triggered, and when the electronic terminal is charged, deleting the payment image from the picture library, and setting a default picture in a built-in system of the electronic terminal as a prompt image; and when the current electric quantity of the electronic terminal is lower than a preset electric quantity threshold value, setting a default picture in a built-in system of the electronic terminal as a prompt image.
In one embodiment, the method further comprises the following steps: the method comprises the steps of obtaining the illumination intensity of a screen of the electronic terminal and the illumination intensity reflected by the screen of the electronic terminal in a preset time period, and constructing a screen illumination intensity database aiming at the electronic terminal and a screen reflection illumination intensity database aiming at the electronic terminal.
In one embodiment, the method further comprises the following steps: intercepting the generated two-dimensional code image suitable for the mobile payment equipment, and dividing the payment image after the two-dimensional code image is intercepted as the payment image; according to the Dajin algorithm, performing rough segmentation operation on the region of interest in the divided payment image; performing secondary segmentation on the roughly segmented payment image by using an active contour model of a gradient vector flow; and completing the segmentation operation suitable for the payment image by shape testing on the result obtained after the secondary segmentation operation.
In one embodiment, the dividing the payment image includes: selecting a segmentation channel based on statistical rules of the payment image data of training samples; selecting a segmentation threshold value in the segmentation channel, and performing foreground and background segmentation on the payment image; and carrying out communication area analysis according to the segmented foreground pixels and background pixels to obtain a qualified two-dimensional code area, wherein the payment image subblocks are divided in the qualified two-dimensional code area in a preset row and preset column dividing mode, and the preset row and the preset column are equivalent numerical values.
In a second aspect, the disclosed embodiments provide a computer-readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps of the method described above.
In a third aspect, the disclosed embodiments provide a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method described above when executing the program.
In a fourth aspect, an embodiment of the present disclosure provides an apparatus for fast payment used in cooperation with an input device, where the apparatus includes: the networking and connecting module is used for networking the mobile payment equipment arranged in a plurality of scenes and connecting the mobile payment equipment which is arranged in a plurality of scenes and supports the cooperative application of input equipment, the electronic terminal for controlling the mobile payment equipment and the server cluster; the acquisition and image generation module is used for acquiring data of a plurality of parameters which are sent by the server cluster and are suitable for the payment of the mobile payment equipment in real time and generating a two-dimensional code image suitable for the mobile payment equipment according to the data of the plurality of parameters and a commodity code; the classification module is used for grouping continuous ranging data acquired by at least one ranging sensor aiming at the generated two-dimensional code image into a plurality of data groups according to the adjacent relation of corresponding sequences, and classifying ranging data points in each data group to be divided into a first ranging sampling point and a second ranging sampling point, wherein each data group comprises the same number of ranging data points; the system comprises a judging module, a payment processing module and a payment processing module, wherein the judging module is used for judging whether an initial system of the mobile payment device supports a multi-form payment system when a payment event is triggered, the multi-form payment system supports code scanning payment and non-contact card swiping payment, the multi-form payment system comprises a closed payment system and an open payment system, the closed payment system is combined with a payment system formed by a virtual value card or a real value card in a mode of presetting a single scene and a single payment position, and the open payment system is combined with a payment system formed by a virtual value card or a real value card in a mode of presetting at least two scenes and at least two payment positions; and the deducting and scanning payment module is used for starting and receiving the payment operation finished by the user in a deducting and scanning mode if the multi-form payment system is supported and the first distance measurement sampling point is monitored.
The invention provides a quick payment method and a quick payment device cooperatively applied with input equipment, which are used for networking mobile payment equipment arranged in a plurality of scenes and connecting the mobile payment equipment which is arranged in the plurality of scenes and supports the cooperative application with the input equipment, an electronic terminal for controlling the mobile payment equipment and a server cluster; the method comprises the steps of acquiring data of a plurality of parameters, which are sent by a server cluster and are suitable for payment of the mobile payment equipment, in real time, and generating a two-dimensional code image suitable for the mobile payment equipment according to the data of the plurality of parameters and a commodity code; grouping continuous ranging data acquired by at least one ranging sensor aiming at a generated two-dimensional code image into a plurality of data groups according to the adjacent relation of corresponding sequences, and classifying ranging data points in each data group to be divided into a first ranging sampling point and a second ranging sampling point, wherein each data group comprises the same number of ranging data points; when a payment event is monitored to be triggered, whether an initial system of the mobile payment device supports a multi-form payment system or not is judged, wherein the multi-form payment system supports code scanning payment and non-contact card swiping payment, the multi-form payment system comprises a closed payment system and an open payment system, the closed payment system is used for presetting a single scene and a single payment position and combining a payment system formed by a virtual value storage card or a real value storage card, and the open payment system is used for presetting at least two scenes and at least two payment positions and combining a payment system formed by the virtual value storage card or the real value storage card; and if the multi-form payment system is supported and the first distance measurement sampling point is monitored, starting and receiving the payment operation finished by the user in a buckling and scanning mode. The method comprises the steps of firstly, networking is carried out, aiming at a payment image, rough segmentation and secondary segmentation are carried out on the payment image by adopting an Otsu algorithm, segmentation operation suitable for the payment image is completed through shape testing on a result obtained after the secondary segmentation operation, after payment information sent by a server is received, a two-dimensional code image is intercepted to be used as the payment image, when a payment event is monitored to be triggered, whether an initial system of the mobile payment device supports a multi-form payment system or not is judged, and if the multi-form payment system is supported and a first ranging sampling point is monitored, the payment operation completed by a user in a buckling and scanning mode is started and received. Therefore, the operation of recognizing and reading the payment image can be efficiently, accurately and quickly realized aiming at the payment image under the networking environment supporting the multi-form payment system based on a plurality of scene conditions, so that the payment operation can be quickly and efficiently completed, and the method has safety and applicability.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings needed to be used in the description of the embodiments are briefly introduced as follows:
FIG. 1 is a flow chart illustrating steps of a quick payment method used in conjunction with an input device according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating steps of a quick payment method used in conjunction with an input device according to another embodiment of the present invention; and
fig. 3 is a schematic structural diagram of a quick payment apparatus used in conjunction with an input device according to an embodiment of the present invention.
Detailed Description
The present application will now be described in further detail with reference to the accompanying drawings and examples.
In the following description, the terms "first" and "second" are used for descriptive purposes only and are not intended to indicate or imply relative importance. The following description provides embodiments of the disclosure, which may be combined or substituted for various embodiments, and this application is therefore intended to cover all possible combinations of the same and/or different embodiments described. Thus, if one embodiment includes feature A, B, C and another embodiment includes feature B, D, then this application should also be considered to include an embodiment that includes one or more of all other possible combinations of A, B, C, D, even though this embodiment may not be explicitly recited in text below.
In order to make the objects, technical solutions and advantages of the present invention more clearly apparent, the following describes in detail a specific implementation of a fast payment method and apparatus applied in cooperation with an input device according to an embodiment of the present invention with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It can be understood that the cash collecting mode applied to a plurality of scenes in most cases is a pos machine card swiping mode, a cash payment mode and the like. The electronic terminal is opened for the payer to receive the cash mode under the few scenes, and scan the most static two-dimensional code (static payment image inevitably mix with some impurities, interference and the like in the image in the process of manufacturing and image acquisition, so that the image has the problems of noise, blurring and uneven gray scale) that is provided, the information of the two-dimensional code is read, and the payment operation is completed. It should be noted that the above-mentioned cash-collecting method makes the form of collecting cash single, and because the multiple scenes are different in real environment, it has influence on the diversity, the rapidity and the accuracy of payment. Therefore, the method is suitable for the two-dimensional code image generated by combining the commodity code under the condition of multiple scenes, and the rapid recognition and reading of the payment image can be realized efficiently, accurately and rapidly under the network distribution environment supporting the multi-form payment system, and the payment can be further completed, so that the work which has both academic value and practical significance is realized.
Fig. 1 is a schematic flow chart of a quick payment method applied in cooperation with an input device in an embodiment, and specifically includes the following steps:
102, networking the mobile payment devices arranged in a plurality of scenes, and connecting the mobile payment devices arranged in the plurality of scenes, which support the cooperative application of the input devices, the electronic terminal for controlling the mobile payment devices and the server cluster. The input device is an input keyboard cooperatively operated with a desktop computer, or an input keyboard of a PC all-in-one machine, or a digital function keyboard with a computing function and an auxiliary payment operation function. It should be noted that the auxiliary payment operation function includes, but is not limited to: inquiring payment data, checking payment data, cancelling payment data and the like. Specifically, connecting the mobile payment device arranged in a plurality of scenes, the electronic terminal controlling the mobile payment device and the server cluster comprises: connecting at least one mobile payment device arranged in a plurality of scenes with a cloud server cluster through WIFI; and connecting at least one mobile payment device arranged in a plurality of scenes with an electronic terminal for controlling the mobile payment device through Bluetooth connection. In addition, at least one mobile payment device arranged in a plurality of scenes can be connected with the electronic terminal for controlling the mobile payment device through wired connection. Therefore, the diversity and the multi-selectivity of the networking layout are improved.
And 104, acquiring data of a plurality of parameters which are sent by the server cluster and are suitable for payment of the mobile payment equipment in real time, and generating a two-dimensional code image suitable for the mobile payment equipment according to the data of the plurality of parameters and the commodity code.
It should be noted that the setting information required in the two-dimensional code is acquired; converting the acquired setting information into a binary file; carrying out information segmentation processing required by a structural link mode on the converted binary file to generate a plurality of different binary information with structural link characteristic characters, wherein the number of segments in the information segmentation processing required by the structural link mode on the converted binary file can be set by two-dimensional code numerical values in a range of 2-32 according to the size and application of set information; the binary file is disassembled into a plurality of corresponding parts within the range of 2-32, and corresponding start characters and end characters are respectively added before and after the binary file of each part which is disassembled; providing original binary coding information which is coded one by one for a coding part corresponding to each split part; a plurality of binary information which are different and have structural link characteristic characters are coded by two-dimensional codes which are encrypted or not one by one and are correspondingly sequenced, then information in commodity codes is obtained by combination, information conversion, encryption and sequencing are carried out according to the principle, and finally a plurality of two-dimensional code images which are sequenced according to a certain sequence are formed.
Further, the present disclosure relates to a fast payment method applied in cooperation with an input device, further comprising: intercepting the generated two-dimensional code image suitable for the mobile payment equipment, and dividing the payment image after the two-dimensional code image is intercepted as the payment image; according to the Otsu algorithm, performing rough segmentation operation on the region of interest in the divided payment image, wherein the Otsu algorithm is to divide the original image into two images, namely a foreground image and a background image, by using a threshold value. Specifically, the prospect is: points, mass moments and average gray levels of the foreground under the current threshold are represented by n1, csum and m 1; background: the number of points, the mass moment and the average gray level of the background under the current threshold are represented by n2, sum-csum and m 2. When the optimal threshold is taken, the difference between the background and the foreground is the largest, and the key is how to select a standard for measuring the difference, namely an Otsu algorithm, namely the maximum between-class variance, which is represented by sb, and the maximum between-class variance which is represented by fmax. Further, regarding the sensitivity of Otsu's algorithm to noise and target size, it only produces better segmentation effect on images with a single peak between classes variance. When the size ratio of the target to the background is very different, the inter-class variance criterion function may present double peaks or multiple peaks, which is not good, but the greater amount of algorithm is the least time-consuming. Further, the formula for the Otsu algorithm is derived as: recording t as a segmentation threshold of the foreground and the background, wherein the number of foreground points accounts for w0 of the image proportion, and the average gray level is u 0; the number of background points is w1 in the image scale, and the average gray scale is u 1. The total average gray scale of the image is: u-w 0 u0+ w1 u 1. The variance of the foreground and background images can be expressed by the following formula:
g (w 0 (u0-u) (u0-u) + w1 (u1-u) (u1-u) (w 0) w1 (u0-u1) (u0-u 1). It should be noted that the above formula is a variance formula. The formula for g can be referred to in probability theory, i.e. the expression for sb as described below. When the variance g is maximum, the difference between the foreground and the background at this time can be considered as maximum, and the gray level t at this time is the optimal threshold sb — w0 — w1 (u1-u0) (u0-u 1).
Further, performing secondary segmentation on the roughly segmented payment image by using an active contour model of the gradient vector flow; and completing the segmentation operation suitable for the payment image by shape testing on the result obtained after the secondary segmentation operation.
Further, it should be noted that dividing the payment image includes: selecting a segmentation channel based on a statistical rule of payment image data of a training sample; selecting a segmentation threshold value in a segmentation channel, and performing foreground and background segmentation on the payment image; and carrying out communication area analysis according to the segmented foreground pixels and background pixels to obtain a qualified two-dimensional code area, wherein the payment image subblocks are divided in the qualified two-dimensional code area in a preset row and preset column dividing mode, and the preset row and the preset column are equivalent numerical values. Thereby providing the necessary data basis for subsequent rapid recognition of the payment image.
Further, selecting the split channel based on statistical rules of the payment image data of the training samples comprises: based on the statistical rules of the payment image data of the training samples, the distribution conditions of the image values in different color channels are obtained, and the color channel with the largest image value variance is obtained from the distribution conditions to form a segmentation channel. In addition, it should be further noted that selecting a segmentation threshold in a segmentation channel, and performing foreground and background segmentation on the payment image includes: obtaining a segmentation threshold value through a minimization algorithm in the Dajin algorithm; acquiring an image pixel value of a payment image; and performing dichotomy segmentation according to the image pixel value and the segmentation threshold value to obtain the foreground and the background. Further, it should be noted that, performing bisection segmentation according to the image pixel value and the segmentation threshold, and acquiring the foreground and the background includes: acquiring a region of which the image pixel value is higher than a segmentation threshold value as a foreground; and acquiring a region of which the image pixel value is lower than or equal to the segmentation threshold as a background.
Furthermore, performing connected region analysis according to the segmented foreground pixels and background pixels, and acquiring the two-dimensional code regions meeting the conditions includes: clustering the segmented foreground pixels and background pixels to form a communication area; and selecting the area with the largest size and meeting the prior position information in the communication area to form a two-dimensional code area meeting the conditions, and outputting the two-dimensional code area meeting the conditions. Further, it should be noted that the performing of the segmentation operation suitable for the payment image by the shape test on the result obtained after the secondary segmentation operation includes: and completing the graph segmentation operation suitable for the payment image according to the result obtained after the secondary segmentation operation through an area test, wherein the area test is to judge whether the number of the pixel points in the region of interest meets a pixel point threshold interval of a preset normal two-dimensional code area. Furthermore, it should be noted that the performing of the segmentation operation applicable to the payment image by the shape test on the result obtained after the secondary segmentation operation includes: completing the graph segmentation operation suitable for the payment image by a simple malformation degree calculation formula gamma l/N on the result obtained after the rough segmentation operation through a malformation degree testpCalculating the degree of deformity of the region of interest, wherein l is the perimeter of the region of interest, and N ispThe number of pixel points in the region of interest is counted; presetting a high threshold gamma of degree of deformityT(ii) a When gamma is less than or equal to gammaTJudging that the result obtained after the rough segmentation operation passes the deformity degree test; when gamma is larger than gamma T, the segmentation method of the active contour model based on the gradient vector flow carries out secondary rough segmentation operation on the interested region and carries out secondary rough segmentation operation on the interested regionAnd finishing the segmentation operation suitable for the payment image through the shape test according to the result obtained after the rough segmentation operation.
And 106, grouping continuous ranging data acquired by at least one ranging sensor aiming at the generated two-dimensional code image into a plurality of data groups according to the adjacent relation of the corresponding sequences, and classifying the ranging data points in each data group to be divided into a first ranging sampling point and a second ranging sampling point, wherein each data group comprises the same number of ranging data points.
Specifically, classify the range finding data point in every data set to divide into first range finding sampling point and second range finding sampling point and include: one or more distance measurement data points are selected from each data group according to a selection rule to serve as first distance measurement sampling points, the rest distance measurement data points serve as second distance measurement sampling points, and meanwhile, the same number of key distance measurement sampling points are contained in each data group. It should be noted that the selection rule includes at least any one of the following: selecting a range data point of an effective range measurement from each data set as a first range sampling point, wherein the effective range measurement satisfies the following condition: reading data exceeding a preset distance, measuring a target distance or measuring a signal within a preset range; and determining the distance between each data group and other ranging data points as ranging data points exceeding a preset distance threshold value to serve as first ranging sampling points.
And 108, when the payment event is monitored to be triggered, judging whether the initial system of the mobile payment device supports a multi-form payment system. The multi-form payment system supports code scanning payment and non-contact card swiping payment, and comprises a closed payment system and an open payment system. The closed payment system is a payment system which is formed by presetting a single scene, a single payment position and combining a virtual value storage card or a real value storage card; the open payment system is a payment system which is formed by presetting at least two scenes and at least two payment positions and combining a virtual stored value card or a real stored value card.
Further, it is understood that a closed payment system, such as a savings system in a retail store, may be used by a consumer to save money for later use, based on a stored value card (virtual or physical) that can only be held back at one store, and a mobile application may be deployed to allow the consumer to hold back the stored value. When the system is used, the QR code or the bar code is displayed at a point of sale, a user can store the value of the card infinitely, only money which is wanted to be spent in a specific merchant is stored, the financial information and the bank account exposure of the user are avoided, and the system is also an effective mode for arranging budget for specific types of consumption for the user. Such as groceries or restaurants, merchants typically combine customer loyalty with a closed payment system, such as a closed payment card, to keep customers back streaming. In addition, open payment systems, such as a savings system in a retail store, a savings system in a restaurant or grocery store, where the consumer may have a deposit for later use, may be based on a stored value card (virtual or real) that can be held back at multiple stores, and a mobile application may be deployed to allow the consumer to hold back the stored value. When the method is used, the QR code or the bar code is displayed at a point of sale, a user can store the value of the card infinitely and only stores money which the user wants to spend in a specific merchant, so that the compatibility and the data sharing of the financial information and the bank account of the user in a plurality of payment scenes and payment positions are facilitated, and the method is an effective way for the user to arrange budget for specific types of consumption. Such as groceries or restaurants, merchants typically combine customer consumption replacement with an open payment system, such as an open payment card, to allow customers to consume back-streams.
And step 110, if the multi-form payment system is supported and the first distance measurement sampling point is monitored, starting and receiving the payment operation finished by the user in a buckling and scanning mode.
Specifically, if support the multi-form payment system and when monitoring first range finding sampling point, start and receive the payment operation that the user accomplished through deducting and sweeping the mode and include: establishing a mapping relation between the characteristics of the cash register commodity and the price of the cash register commodity; according to the mapping relation, the commodity price in each commodity and the price of the commodity corresponding to the current payment image are obtained; and finishing the cash register operation according to the price of the commodity corresponding to the current payment image. And obtaining the commodity price of each commodity according to the mapping relation, accumulating the commodity prices, and obtaining the price of the commodity corresponding to the current payment image. It can be understood that the prices of the accumulated commodities are pre-stored, and the prices of the commodities can be quickly analyzed and obtained through neural network learning according to historical data of user shopping. It should be noted that, in order to increase the user experience, the data of the cash register operation and the completion status are displayed. In addition, it should be noted that the snap-scanning mode is that the user holds the electronic terminal by hand, and faces the display screen of the electronic terminal and the two-dimensional code scanning window of the mobile payment device. The technical field personnel can understand that the built-in binocular camera or at least one optical sensor of mobile payment equipment can be effectively sensed by the buckling and sweeping mode, and technical support is provided for efficient payment.
In one embodiment, it should be noted that the present disclosure relates to a quick payment method applied in cooperation with an input device, further including: after the payment event is monitored to be triggered, when the electronic terminal is charged, deleting the payment image from the picture library, and setting a default picture in a built-in system of the electronic terminal as a prompt image; and when the current electric quantity of the electronic terminal is lower than a preset electric quantity threshold value, setting a default picture in a built-in system of the electronic terminal as a prompt image. The prompt image is a power-off low-power prompt image of the mobile payment device. In addition, the method further comprises the following steps: the method comprises the steps of obtaining the illumination intensity of a screen of the electronic terminal and the illumination intensity reflected by the screen of the electronic terminal in a preset time period, and constructing a screen illumination intensity database aiming at the electronic terminal and a screen reflection illumination intensity database aiming at the electronic terminal. Therefore, payment operation can be completed quickly and accurately by adapting corresponding illumination intensity of different mobile payment equipment models according to different scenes.
In order to more clearly and accurately understand and apply the quick payment method applied in cooperation with the input device according to the present disclosure, the following example is made in conjunction with fig. 2, and it should be noted that the scope of protection of the present disclosure is not limited to the following example.
Specifically, the steps 201 to 208 are sequentially: receiving a plurality of images; dividing N × N subblocks into the image, performing rough segmentation operation through an Otsu algorithm, judging whether the region of interest accords with the basic form of the two-dimensional code, and if the region of interest accords with the basic form of the two-dimensional code, sending the image of the region of interest to a preset feature model to finish feature extraction of the payment image; if the region of interest does not accord with the basic form of the two-dimensional code, performing secondary segmentation operation on the active contour model based on the gradient vector flow, and then judging whether the region of interest accords with the basic form of the two-dimensional code, if so, sending the image of the region of interest to a preset feature model to finish feature extraction of the payment image; and if the region of interest does not conform to the basic form of the two-dimensional code, removing impurities in the payment image.
It is understood that the received payment image is divided; according to the Dajin algorithm, performing rough segmentation operation and secondary segmentation operation on the region of interest in the divided payment image; and completing the segmentation operation suitable for the payment image according to the result obtained after the secondary segmentation operation through shape testing. Specifically, for a payment image, the payment image is roughly segmented by adopting an Otsu algorithm and secondarily segmented by an active contour model of a gradient vector flow to obtain the payment image which is free of noise and convenient to read; the results of the above segmentation were then subjected to shape testing.
It should be noted that the test conditions are: and (6) area testing. Number N Of pixels in ROI (Region Of Interest)pI.e. whether the ROI area conforms to the range of the normal two-dimensional code area [ Nmin,Nmax]Within; and (5) testing the degree of deformity. Calculating the formula gamma as l/N by simple malformation degreepCalculating the malformation degree of the ROI region, wherein l is the perimeter of the ROI and is provided with a high malformation degree threshold value gammaTWhen gamma is less than or equal to gammaTThe test passed. Further, if the test condition passes, the ROI is a payment image and enters a feature extraction module; based on the dominance of the gradient vector flow if the ROI area where the test condition does not pass, i.e. possibly a pay image with noise or impurities present, isThe segmentation method of the dynamic contour model performs secondary segmentation on the ROI, and then performs shape test on the secondary segmentation result, wherein the test conditions are as described above. Wherein, as can be understood by those skilled in the art, the ROI is an impurity when the test is not passed, and is directly discarded; and the ROI passing the test is a payment image, and a preset feature extraction module is used for carrying out feature extraction on the payment image.
As will be understood by those skilled in the art, the classical active contour model often has certain disadvantages when selecting an initial contour curve, such as being far away from a target curve and unable to converge on the target curve, and also has a poor convergence effect on a concave edge. Aiming at the problems, the traditional active contour model is improved, and an active contour model based on gradient vector flow is provided. The active contour model based on gradient vector flow replaces a Gaussian potential energy field in a traditional model, and the mathematical theoretical basis of the active contour model is Helmholtz theorem in an electromagnetic field. Compared with a Gaussian potential energy field, the gradient vector diagram of the whole image is obtained based on the field of the gradient vector flow, so that the action range of the external force field is larger. This also means that even if the selected initial contour is far from the target contour, it will eventually converge to the target contour through successive approximation. Meanwhile, after the external force action range is enlarged, the external force action of the concave part at the target contour is enlarged, so that the boundary can be converged to the concave part.
The invention provides a quick payment method cooperatively applied with input equipment, which is used for networking mobile payment equipment arranged in a plurality of scenes and connecting the mobile payment equipment which is arranged in the plurality of scenes and supports the cooperative application with the input equipment, an electronic terminal for controlling the mobile payment equipment and a server cluster; the method comprises the steps of acquiring data of a plurality of parameters, which are sent by a server cluster and are suitable for payment of the mobile payment equipment, in real time, and generating a two-dimensional code image suitable for the mobile payment equipment according to the data of the plurality of parameters and a commodity code; grouping continuous ranging data acquired by at least one ranging sensor aiming at a generated two-dimensional code image into a plurality of data groups according to the adjacent relation of corresponding sequences, and classifying ranging data points in each data group to be divided into a first ranging sampling point and a second ranging sampling point, wherein each data group comprises the same number of ranging data points; when a payment event is monitored to be triggered, judging whether an initial system of the mobile payment device supports a multi-form payment system or not, wherein the multi-form payment system supports code scanning payment and non-contact card swiping payment, and the multi-form payment system comprises a closed payment system which is formed by combining a virtual value storage card or a real value storage card with a preset single scene and a preset single payment position; the open payment system is formed by presetting at least two scenes and at least two payment positions and combining a virtual value-stored card or a real value-stored card; and if the multi-form payment system is supported and the first distance measurement sampling point is monitored, starting and receiving the payment operation finished by the user in a buckling and scanning mode. The method comprises the steps of firstly, networking is carried out, aiming at a payment image, rough segmentation and secondary segmentation are carried out on the payment image by adopting an Otsu algorithm, segmentation operation suitable for the payment image is completed through shape testing on a result obtained after the secondary segmentation operation, after payment information sent by a server is received, a two-dimensional code image is intercepted to be used as the payment image, when a payment event is monitored to be triggered, whether an initial system of the mobile payment device supports a multi-form payment system or not is judged, and if the multi-form payment system is supported and a first ranging sampling point is monitored, the payment operation completed by a user in a buckling and scanning mode is started and received. Therefore, the operation of recognizing and reading the payment image can be efficiently, accurately and quickly realized aiming at the payment image under the networking environment supporting the multi-form payment system based on a plurality of scene conditions, so that the payment operation can be quickly and efficiently completed, and the method has safety and applicability.
Based on the same inventive concept, a quick payment device cooperatively applied with the input device is also provided. Because the principle of the device for solving the problems is similar to that of the quick payment method cooperatively applied with the input device, the implementation of the device can be realized according to the specific steps of the method, and repeated parts are not repeated.
Fig. 3 is a schematic structural diagram of a quick payment apparatus used in conjunction with an input device in one embodiment. The quick payment apparatus 10 applied in cooperation with an input device includes: networking and connection module 100, acquisition and image generation module 200, classification module 300, judgment module 400, and swipe payment module 500.
The networking and connecting module 100 is used for networking mobile payment devices arranged in a plurality of scenes and connecting the mobile payment devices which are arranged in the plurality of scenes and support the cooperative application of input devices, an electronic terminal for controlling the mobile payment devices and a server cluster; the acquisition and image generation module 200 is used for acquiring data of a plurality of parameters suitable for payment of the mobile payment device, which are sent by the server cluster, in real time, and generating a two-dimensional code image suitable for the mobile payment device according to the data of the plurality of parameters and the commodity code; the classification module 300 is configured to group continuous ranging data acquired by at least one ranging sensor for a generated two-dimensional code image into a plurality of data groups according to an adjacent relationship of corresponding sequences, and classify ranging data points in each data group to be divided into a first ranging sampling point and a second ranging sampling point, where each data group includes the same number of ranging data points; the judging module 400 is configured to judge whether an initial system of the mobile payment device supports a multi-form payment system when it is monitored that a payment event is triggered, where the multi-form payment system supports code scanning payment and contactless card swiping payment, the multi-form payment system includes a closed payment system and an open payment system, the closed payment system presets a single scene and a single payment position and combines a payment system composed of a virtual value storage card or a real value storage card, and the open payment system presets at least two scenes and at least two payment positions and combines a payment system composed of a virtual value storage card or a real value storage card; the deduction and scanning payment module 500 is used for starting and receiving the payment operation finished by the user in the deduction and scanning mode if the multi-form payment system is supported and the first distance measurement sampling point is monitored.
The invention provides a quick payment device cooperatively applied with input equipment, which firstly carries out networking on mobile payment equipment arranged in a plurality of scenes through a networking and connecting module, and connects the mobile payment equipment which supports the cooperative application with the input equipment and is arranged in the plurality of scenes, an electronic terminal for controlling the mobile payment equipment and a server cluster; the data of a plurality of parameters which are sent by the server cluster and are suitable for payment of the mobile payment equipment are obtained in real time through the obtaining and image generating module, and a two-dimensional code image suitable for the mobile payment equipment is generated according to the data of the parameters and the commodity code; grouping continuous ranging data acquired by at least one ranging sensor aiming at the generated two-dimensional code image into a plurality of data groups according to the adjacent relation of the corresponding sequences through a classification module, and classifying ranging data points in each data group to be divided into a first ranging sampling point and a second ranging sampling point, wherein each data group comprises the same number of ranging data points; when the payment event is monitored to be triggered, whether an initial system of the mobile payment device supports a multi-form payment system or not is judged through the judging module, wherein the multi-form payment system supports code scanning payment and non-contact card swiping payment, and comprises a closed payment system which is formed by combining a virtual value storage card or a real value storage card with a preset single scene and a preset single payment position; the open payment system is formed by presetting at least two scenes and at least two payment positions and combining a virtual value-stored card or a real value-stored card; and finally, if the multi-form payment system is supported and the first distance measurement sampling point is monitored through the deduction and scanning payment module, starting and receiving the payment operation finished by the user in the deduction and scanning mode. The device firstly carries out networking, roughly divides and secondarily divides a payment image by adopting an Otsu algorithm aiming at the payment image, finishes the division operation suitable for the payment image by shape testing on the result obtained after the secondary division operation, intercepts a two-dimensional code image as the payment image after receiving payment information sent by a server, judges whether an initial system of the mobile payment device supports a multi-form payment system or not when monitoring that a payment event is triggered, and starts and receives the payment operation finished by a user in a buckling and scanning mode if the initial system supports the multi-form payment system and monitors a first distance measurement sampling point. Therefore, the operation of recognizing and reading the payment image can be efficiently, accurately and quickly realized aiming at the payment image under the networking environment supporting the multi-form payment system based on a plurality of scene conditions, so that the payment operation can be quickly and efficiently completed, and the method has safety and applicability.
As described above, according to the fast payment method and apparatus applied in cooperation with an input device and a computer-readable storage medium according to the embodiments of the present disclosure, networking is performed first, a bold algorithm is used to perform rough segmentation and secondary segmentation on a payment image, segmentation operations suitable for the payment image are completed through shape testing on a result obtained after the secondary segmentation operations, a two-dimensional code image is intercepted as the payment image after payment information sent by a server is received, when a payment event is monitored to be triggered, it is determined whether an initial system of a mobile payment device supports a multi-form payment system, and if the multi-form payment system is supported, payment operations completed by a user in a click-and-scan manner are started and received when code-scan payment and non-contact card-swiping payment are supported and a first distance measurement sampling point is monitored. Therefore, the operation of recognizing and reading the payment image can be efficiently, accurately and quickly realized aiming at the payment image under the networking environment supporting the multi-form payment system based on a plurality of scene conditions, so that the payment operation can be quickly and efficiently completed, and the method has safety and applicability. An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and the computer program is executed by the processor in fig. 1 or fig. 2.
The embodiment of the invention also provides a computer program product containing the instruction. When the computer program product is run on a computer, it causes the computer to perform the method of fig. 1 or fig. 2 described above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.
The foregoing describes the general principles of the present disclosure in conjunction with specific embodiments, however, it is noted that the advantages, effects, etc. mentioned in the present disclosure are merely examples and are not limiting, and they should not be considered essential to the various embodiments of the present disclosure. Furthermore, the foregoing disclosure of specific details is for the purpose of illustration and description and is not intended to be limiting, since the disclosure is not intended to be limited to the specific details so described.
The block diagrams of devices, apparatuses, systems referred to in this disclosure are only given as illustrative examples and are not intended to require or imply that the connections, arrangements, configurations, etc. must be made in the manner shown in the block diagrams. These devices, apparatuses, devices, systems may be connected, arranged, configured in any manner, as will be appreciated by those skilled in the art. Words such as "including," "comprising," "having," and the like are open-ended words that mean "including, but not limited to," and are used interchangeably therewith. The words "or" and "as used herein mean, and are used interchangeably with, the word" and/or, "unless the context clearly dictates otherwise. The word "such as" is used herein to mean, and is used interchangeably with, the phrase "such as but not limited to".
Also, as used herein, the use of "or" in a list of items beginning with "at least one" indicates a separate list, e.g., "A, B or at least one of C" means A or B or C, or AB or AC or BC, or ABC (i.e., A and B and C). Furthermore, the word "exemplary" does not mean that the described example is preferred or better than other examples.
It is also noted that in the systems and methods of the present disclosure, components or steps may be decomposed and/or re-combined. These decompositions and/or recombinations are to be considered equivalents of the present disclosure.
Various changes, substitutions and alterations to the techniques described herein may be made without departing from the techniques of the teachings as defined by the appended claims. Moreover, the scope of the claims of the present disclosure is not limited to the particular aspects of the process, machine, manufacture, composition of matter, means, methods and acts described above. Processes, machines, manufacture, compositions of matter, means, methods, or acts, presently existing or later to be developed that perform substantially the same function or achieve substantially the same result as the corresponding aspects described herein may be utilized. Accordingly, the appended claims are intended to include within their scope such processes, machines, manufacture, compositions of matter, means, methods, or acts.
The previous description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects without departing from the scope of the disclosure. Thus, the present disclosure is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing description has been presented for purposes of illustration and description. Furthermore, this description is not intended to limit embodiments of the disclosure to the form disclosed herein. While a number of example aspects and embodiments have been discussed above, those of skill in the art will recognize certain variations, modifications, alterations, additions and sub-combinations thereof.

Claims (10)

1. A quick payment method for use in conjunction with an input device, comprising the steps of:
networking mobile payment equipment arranged in a plurality of scenes, and connecting the mobile payment equipment which is arranged in the plurality of scenes and supports the cooperative application with input equipment, an electronic terminal for controlling the mobile payment equipment and a server cluster;
acquiring data of a plurality of parameters which are sent by the server cluster and are suitable for payment of the mobile payment equipment in real time, and generating a two-dimensional code image suitable for the mobile payment equipment according to the data of the plurality of parameters and a commodity code;
grouping continuous ranging data acquired by at least one ranging sensor for the generated two-dimensional code image into a plurality of data groups according to the adjacent relation of corresponding sequences, and classifying ranging data points in each data group to be divided into a first ranging sampling point and a second ranging sampling point, wherein each data group comprises the same number of ranging data points;
when a payment event is monitored to be triggered, judging whether an initial system of the mobile payment device supports a multi-form payment system or not, wherein the multi-form payment system supports code scanning payment and non-contact card swiping payment, the multi-form payment system comprises a closed payment system and an open payment system, the closed payment system is combined with a payment system formed by a virtual value storage card or a real value storage card in a preset single scene and a preset single payment position, and the open payment system is combined with the payment system formed by the virtual value storage card or the real value storage card in a preset at least two scenes and at least two payment positions;
and if the multi-form payment system is supported and the first distance measurement sampling point is monitored, starting and receiving the payment operation finished by the user in a buckling and scanning mode.
2. The fast payment method applied in cooperation with an input device according to claim 1, wherein the connecting the mobile payment device supporting the application in cooperation with the input device, the electronic terminal controlling the mobile payment device, and the server cluster, which are deployed in a plurality of scenes, comprises: connecting at least one mobile payment device arranged in a plurality of scenes with a cloud server cluster through WIFI;
and connecting the at least one mobile payment device arranged in a plurality of scenes with the electronic terminal for controlling the mobile payment device through Bluetooth connection.
3. The quick payment method in conjunction with an input device of claim 1 further comprising: acquiring capability values corresponding to a plurality of protocol stacks in the mobile payment equipment and a channel identifier currently bound with the protocol stack with the maximum value of the capability values;
selecting a corresponding channel according to the acquired channel identifier;
and completing the payment operation applicable to the mobile payment device through the selected channel.
4. The quick payment method in conjunction with an input device of claim 1 further comprising: in a preset time period, when the payment event is monitored to be triggered, and when the electronic terminal is charged, deleting the payment image from the picture library, and setting a default picture in a built-in system of the electronic terminal as a prompt image;
and when the current electric quantity of the electronic terminal is lower than a preset electric quantity threshold value, setting a default picture in a built-in system of the electronic terminal as a prompt image.
5. The quick payment method in conjunction with an input device of claim 1 further comprising: the method comprises the steps of obtaining the illumination intensity of a screen of the electronic terminal and the illumination intensity reflected by the screen of the electronic terminal in a preset time period, and constructing a screen illumination intensity database aiming at the electronic terminal and a screen reflection illumination intensity database aiming at the electronic terminal.
6. The quick payment method in conjunction with an input device of claim 1 further comprising: intercepting the generated two-dimensional code image suitable for the mobile payment equipment, and dividing the payment image after the two-dimensional code image is intercepted as the payment image;
according to the Dajin algorithm, performing rough segmentation operation on the region of interest in the divided payment image;
performing secondary segmentation on the roughly segmented payment image by using an active contour model of a gradient vector flow;
and completing the segmentation operation suitable for the payment image by shape testing on the result obtained after the secondary segmentation operation.
7. The quick payment method in conjunction with an input device of claim 6 wherein said dividing the payment image comprises: selecting a segmentation channel based on statistical rules of the payment image data of training samples;
selecting a segmentation threshold value in the segmentation channel, and performing foreground and background segmentation on the payment image;
and carrying out communication area analysis according to the segmented foreground pixels and background pixels to obtain a qualified two-dimensional code area, wherein the payment image subblocks are divided in the qualified two-dimensional code area in a preset row and preset column dividing mode, and the preset row and the preset column are equivalent numerical values.
8. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1-7 are implemented when the program is executed by the processor.
10. A quick payment apparatus for use in conjunction with an input device, the apparatus comprising:
the networking and connecting module is used for networking the mobile payment devices arranged in a plurality of scenes and connecting the mobile payment devices which are arranged in the plurality of scenes and support the cooperative application of the input devices, the electronic terminal for controlling the mobile payment devices and the server cluster;
the acquisition and image generation module is used for acquiring data of a plurality of parameters which are sent by the server cluster and are suitable for the payment of the mobile payment equipment in real time and generating a two-dimensional code image suitable for the mobile payment equipment according to the data of the plurality of parameters and a commodity code;
the classification module is used for grouping continuous ranging data acquired by at least one ranging sensor aiming at the generated two-dimensional code image into a plurality of data groups according to the adjacent relation of corresponding sequences, and classifying ranging data points in each data group to be divided into a first ranging sampling point and a second ranging sampling point, wherein each data group comprises the same number of ranging data points;
the system comprises a judging module, a payment processing module and a payment processing module, wherein the judging module is used for judging whether an initial system of the mobile payment device supports a multi-form payment system when a payment event is triggered, the multi-form payment system supports code scanning payment and non-contact card swiping payment, the multi-form payment system comprises a closed payment system and an open payment system, the closed payment system is combined with a payment system formed by a virtual value card or a real value card in a mode of presetting a single scene and a single payment position, and the open payment system is combined with a payment system formed by a virtual value card or a real value card in a mode of presetting at least two scenes and at least two payment positions;
and the deducting and scanning payment module is used for starting and receiving the payment operation finished by the user in a deducting and scanning mode if the multi-form payment system is supported and the first distance measurement sampling point is monitored.
CN201811244325.9A 2018-10-24 2018-10-24 Quick payment method and device applied in cooperation with input device Pending CN111091369A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811244325.9A CN111091369A (en) 2018-10-24 2018-10-24 Quick payment method and device applied in cooperation with input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811244325.9A CN111091369A (en) 2018-10-24 2018-10-24 Quick payment method and device applied in cooperation with input device

Publications (1)

Publication Number Publication Date
CN111091369A true CN111091369A (en) 2020-05-01

Family

ID=70392192

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811244325.9A Pending CN111091369A (en) 2018-10-24 2018-10-24 Quick payment method and device applied in cooperation with input device

Country Status (1)

Country Link
CN (1) CN111091369A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105590198A (en) * 2014-10-30 2016-05-18 中国银联股份有限公司 Two-dimensional code payment method and payment system
CN105848123A (en) * 2016-05-04 2016-08-10 深圳市万普拉斯科技有限公司 Emergency call method in dual-card mode and emergency call device thereof
CN108122349A (en) * 2018-01-17 2018-06-05 深圳市德卡科技股份有限公司 Integrate barcode scanning and the contactless payment terminal swiped the card
CN108171509A (en) * 2018-03-12 2018-06-15 宁波大学 Realize that mobile terminal multi-screen upsets the safe payment method of display
CN108205755A (en) * 2016-12-19 2018-06-26 北京握奇智能科技有限公司 A kind of electronic fare payment system and method
CN108257227A (en) * 2018-02-12 2018-07-06 上海与德科技有限公司 A kind of Quick Response Code settlement method, terminal and system
CN108306649A (en) * 2018-02-09 2018-07-20 上海思岚科技有限公司 A kind of method and apparatus of data processing for distance measuring sensor
CN108335307A (en) * 2018-04-19 2018-07-27 云南佳叶现代农业发展有限公司 Adaptive tobacco leaf picture segmentation method and system based on dark primary

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105590198A (en) * 2014-10-30 2016-05-18 中国银联股份有限公司 Two-dimensional code payment method and payment system
CN105848123A (en) * 2016-05-04 2016-08-10 深圳市万普拉斯科技有限公司 Emergency call method in dual-card mode and emergency call device thereof
CN108205755A (en) * 2016-12-19 2018-06-26 北京握奇智能科技有限公司 A kind of electronic fare payment system and method
CN108122349A (en) * 2018-01-17 2018-06-05 深圳市德卡科技股份有限公司 Integrate barcode scanning and the contactless payment terminal swiped the card
CN108306649A (en) * 2018-02-09 2018-07-20 上海思岚科技有限公司 A kind of method and apparatus of data processing for distance measuring sensor
CN108257227A (en) * 2018-02-12 2018-07-06 上海与德科技有限公司 A kind of Quick Response Code settlement method, terminal and system
CN108171509A (en) * 2018-03-12 2018-06-15 宁波大学 Realize that mobile terminal multi-screen upsets the safe payment method of display
CN108335307A (en) * 2018-04-19 2018-07-27 云南佳叶现代农业发展有限公司 Adaptive tobacco leaf picture segmentation method and system based on dark primary

Similar Documents

Publication Publication Date Title
CN110874732A (en) Scanned payment method and device based on mobile payment equipment
CN111311244A (en) Passive code scanning method and device based on QR (quick response) code
CN111091369A (en) Quick payment method and device applied in cooperation with input device
CN110874734A (en) Dynamic two-dimensional code generation method and device
CN111091363A (en) Quick payment method and device cooperatively applied with POS device
CN111091376A (en) Payment method and device integrating code scanning and non-contact card swiping
CN111091375A (en) Quick payment method and device based on commodity code recognition
CN110874733A (en) Passive code scanning payment method and device supporting external equipment
CN111091371A (en) Quick payment method and device
CN109816393B (en) Method and device for identifying and verifying biological characteristics under screen
CN111091367A (en) Open type quick payment method and device
CN111091368A (en) Closed type quick payment method and device
CN111091374A (en) Quick payment method and device applied in cooperation with input device and printing device
CN110910127A (en) Mobile payment device-based cash registering method and device applied to restaurant
CN111091372A (en) Quick payment method and device applied in cooperation with input device and printing device
CN111091366A (en) Deduction and scanning type payment method and device applied to long distance
CN111091668A (en) Zero-distance cash registering method and device based on two-dimensional code recognition device
CN111311241A (en) Two-dimensional code reading method and device based on scene perception
CN111091017A (en) Cash register optimization method and device of mobile payment device in high-frequency transaction state
CN111091373A (en) Intelligent voice shopping guide method and device
CN110910125A (en) Mobile payment device-based cash registering method and device applied to exhibition sign-in
CN110910128A (en) Mobile payment device-based cash registering method and device applied to schools
CN111091370A (en) Payment method and device supporting external equipment based on electromagnetic interference state
CN111310500A (en) Two-dimensional code reading method and device based on Windows system
CN110910591A (en) Cash registering method and device based on mobile payment device and applied to scenic spot

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200501

WD01 Invention patent application deemed withdrawn after publication