CN109886671A - Two dimensional code method of payment and device based on double screen - Google Patents
Two dimensional code method of payment and device based on double screen Download PDFInfo
- Publication number
- CN109886671A CN109886671A CN201910118691.8A CN201910118691A CN109886671A CN 109886671 A CN109886671 A CN 109886671A CN 201910118691 A CN201910118691 A CN 201910118691A CN 109886671 A CN109886671 A CN 109886671A
- Authority
- CN
- China
- Prior art keywords
- screen
- light
- reading device
- code
- image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Cash Registers Or Receiving Machines (AREA)
Abstract
The two dimensional code method of payment based on double screen that present disclose provides a kind of, it is in the standby state configured with double screen and the two dimension code reading device of decoding mould group light-operated under screen, if detecting, user blocks operation to the screen of two dimension code reading device, obtains the occlusion area that user touches screen;The graphic feature parameter of image in 2 D code information in occlusion area is inputted to the quality evaluation network model constructed in advance, obtain recognition result and completes to pay.The method increase the accuracy and ease for use of the recognition two dimensional code of the two dimension code reading device based on double screen, meanwhile, safety and applicability are provided for subsequent transaction payment.The disclosure additionally provides a kind of two dimensional code payment mechanism based on double screen.
Description
Technical field
This disclosure relates to two dimension code reading and field of photoelectric technology, in particular to a kind of two dimension based on double screen
Code method of payment and device.
Background technique
In the prior art, popularizing with network payment, mobile payment become many citizen especially young man and are keen to
The means of payment, whether the payment of supermarket's sales counter, food market buy vegetables or station buy tickets, market shopping, people need to only take out hand
Machine, opposite beneficiary two dimensional code, which is swept to sweep, can be completed barcode scanning payment, and operating process is simple and convenient.But since two dimensional code makes door
Sill are low and are easily stolen, therefore there is the risk that information is tampered or forges, as criminal takes advantage of businessman not note that in quotient
Oneself preprepared two dimensional code is sticked on the gathering two dimensional code of family, can be in and sit back and wait and collect money, cause the great wealth of businessman
Produce loss.
For above situation, current general countermeasure is to require customer true face-to-face with businessman's progress before payment
Recognize, complete to pay again after confirmation is errorless, since payment two dimensional code is easily maliciously replaced, confirms beneficiary information face-to-face
The safety for advantageously ensuring that payment again is paid afterwards, avoids unnecessary loss of property.However, there are following for this means of payment
Disadvantage: security performance is not high;Convenience is not strong, and accuracy is not high.
Summary of the invention
The technical issues of in order to solve in the prior art, the embodiment of the present disclosure provide a kind of two dimensional code based on double screen
Method of payment and device are in standby configured with double screen and the two dimension code reading device of decoding mould group light-operated under screen
Under, if detecting, user blocks operation to the screen of two dimension code reading device, obtains the occlusion area that user touches screen;
The graphic feature parameter of image in 2 D code information in occlusion area is inputted to the quality evaluation network model constructed in advance, obtains and knows
Other result simultaneously is completed to pay.Improve as a result, the two dimension code reading device based on double screen recognition two dimensional code accuracy with
Ease for use, meanwhile, safety and applicability are provided for subsequent transaction payment.
In a first aspect, the embodiment of the present disclosure provides a kind of two dimensional code method of payment based on double screen, including following step
It is rapid: to be in the standby state configured with double screen and the two dimension code reading device of decoding mould group light-operated under screen, if detecting use
Operation is blocked to the screen of the two dimension code reading device in family, then obtains the occlusion area that user blocks the screen, wherein
The two dimension code reading device include the predeterminable area setting of double screen and the relatively described double screen the screen under light-operated decoding
Mould group, the double screen are provided with the first polaroid, and light-operated decoding mould group is provided with the second polaroid under the screen, and described
One polaroid is consistent with the polarization direction of second polaroid, and first polaroid and second polaroid are used for the
One optical noise is filtered, and first optical noise is reflection light, and the reflection light is described in the first light passes through
The light of screen reflection, first light are in the transmitting light of the screen along screen axis of ordinates forward direction irradiation
Light, for second polaroid for being filtered to the second optical noise, second optical noise is direct line, described
Direct line is the light reversely irradiated in the transmitting light along the screen axis of ordinates;It will be two-dimentional in the occlusion area
The graphic feature parameter of code image information inputs the quality evaluation network model constructed in advance, obtains recognition result and completes to prop up
It pays.
In one of the embodiments, further include: be suitable for the configuration for being laid in multiple scenes the camera shooting of bar code reading
The two dimension code reading device of head, double screen and the control system based on central processing unit carries out networking, and more to being laid in
The support of a scene and input equipment and the two dimension code reading device of printing equipment synergistic application, the control two dimensional code are known
The electric terminal of read apparatus and server cluster three are attached, wherein support and the input equipment and the printing
The two dimension code reading device of device synergistic application include at least one be suitable for bar code reading camera, described at least one
Light of a camera suitable for bar code reading for 360 ° of full angles of real-time perception changes, will pass through the central processing
Device triggers the variation operation that liquid crystal display completes display content.
The described pair of support for being laid in multiple scenes is cooperateed with input equipment and printing equipment in one of the embodiments,
The two dimension code reading device of application, the electric terminal of the control two dimension code reading device and server cluster three into
Row connection includes: at least one the described two dimension code reading device and cloud server cluster that will be laid in multiple scenes by WIFI
It is attached;By bluetooth connection by least one the described two dimension code reading device for being laid in multiple scenes and control described two
The electric terminal of dimension code reading device is attached.
In one of the embodiments, further include: collect image in 2 D code, the image in 2 D code of collection is divided into low quality
Two training sets of image in 2 D code and high quality image in 2 D code, are marked the image of two training sets respectively;To label
The low quality image in 2 D code and high quality image in 2 D code of completion are trained, and construct the quality evaluation network model.
In one of the embodiments, further include: if the graphic feature of image in 2 D code information is joined in the occlusion area
Number then passes through pre- lower than the graphic feature parameter of the image in 2 D code information in the quality evaluation network model constructed in advance
The quality enhancing network model first constructed carries out the quality enhancing operation of image in 2 D code.
The quality enhancing network model is to learn high quality two using TP-GAN technology in one of the embodiments,
The low quality image in 2 D code that label is completed is carried out the supplement of integrity degree and clarity and is converted into height by the characteristics of tieing up code image
The model that the building of quality image in 2 D code generates.
Light-operated decoding mould group setting is being carried on the back built in the two dimension code reading device under the screen in one of the embodiments,
The lower section of optical mode group, light-operated decoding mould group is used to receive the mobile electron that the irradiation user of infrared light supply sending uses under the screen
Infrared signal after terminal and across backlight module, the infrared signal is for detecting the mobile electronic terminal that user uses
The image in 2 D code information transferred and shown.
Second aspect, the embodiment of the present disclosure provide a kind of computer readable storage medium, are stored thereon with computer journey
The step of sequence, which realizes above-mentioned method when being executed by processor.
The third aspect, the embodiment of the present disclosure provide a kind of computer equipment, including memory, processor and are stored in
On reservoir and the computer program that can run on a processor, the processor realize above-mentioned method when executing described program
Step.
Fourth aspect, the embodiment of the present disclosure provide a kind of two dimensional code payment mechanism based on double screen, described device packet
It includes: obtaining module, for being in standby configured with double screen and the two dimension code reading device of decoding mould group light-operated under screen
Under, if detecting, user blocks operation to the screen of the two dimension code reading device, obtains user and blocks the screen
Occlusion area, wherein the two dimension code reading device includes the institute of the predeterminable area setting of double screen and the relatively described double screen
Light-operated decoding mould group under screen is stated, the screen is provided with the first polaroid, and light-operated decoding mould group is provided with second partially under the screen
Mating plate, first polaroid is consistent with the polarization direction of second polaroid, and first polaroid and described second is partially
For mating plate for being filtered to the first optical noise, first optical noise is reflection light, and the reflection light is first
Light passes through the light of the screen reflection, and first light is in the transmitting light of the screen along the screen ordinate
The light of axis forward direction irradiation, for being filtered to the second optical noise, second optical noise is second polaroid
Direct line, the direct line are the light reversely irradiated in the transmitting light along the screen axis of ordinates;Identification with
Payment module, the quality for constructing the graphic feature parameter input of image in 2 D code information in the occlusion area in advance are commented
Valence network model obtains recognition result and completes to pay.
A kind of two dimensional code method of payment and device based on double screen provided by the invention, under configured with double screen and screen
The two dimension code reading device of light-operated decoding mould group is in the standby state, if detecting user to the screen of two dimension code reading device
Block operation, then obtain user touch screen occlusion area;By the graphic feature of image in 2 D code information in occlusion area
Parameter inputs the quality evaluation network model constructed in advance, obtains recognition result and completes to pay.The method increase based on double
The accuracy and ease for use of the recognition two dimensional code of the two dimension code reading device of screen, meanwhile, peace is provided for subsequent transaction payment
Quan Xingyu applicability.
Detailed description of the invention
In order to illustrate more clearly of the technical solution of the embodiment of the present disclosure, below to needed in embodiment description
Attached drawing is briefly described:
Fig. 1 is the step process signal of two dimensional code method of payment of one of the one embodiment of the invention based on double screen
Figure;And
Fig. 2 is the structural schematic diagram of two dimensional code payment mechanism of one of the one embodiment of the invention based on double screen.
Specific embodiment
The application is further discussed in detail with reference to the accompanying drawings and examples.
In following introductions, term " first ", " second " only for descriptive purposes, and should not be understood as instruction or dark
Show relative importance.Following introductions provide multiple embodiments of the disclosure, can replace or merge between different embodiments
Combination, therefore the application is it is also contemplated that all possible combinations comprising documented identical and/or different embodiments.Thus, such as
Fruit one embodiment include feature A, B, C, another embodiment include feature B, D, then the application also should be regarded as include containing
A, the every other possible combined embodiment of one or more of B, C, D, although the embodiment may be in the following contents
In have specific literature record.
In order to make the objectives, technical solutions, and advantages of the present invention clearer, by the following examples, it and combines attached
Figure carries out further specifically a kind of specific embodiment of two dimensional code method of payment and device based on double screen of the present invention
It is bright.It should be appreciated that described herein, specific examples are only used to explain the present invention, is not intended to limit the present invention.
As shown in Figure 1, for the flow diagram of two dimensional code method of payment of one of the one embodiment based on double screen,
Specifically includes the following steps:
Step 102, it is in standby configured with double screen and the two dimension code reading device of decoding mould group light-operated under screen
Under, if detecting, user blocks operation to the screen of two dimension code reading device, obtains the occlusion area that user blocks screen.
It should be noted that under the screen that the predeterminable area that two dimension code reading device includes double screen and opposite double screen is arranged
Light-operated decoding mould group.The top of two dimension code reading device noumenon is arranged in the first screen in double screen, preferably using transparent
Display screen can not only complete the read operation for the two dimensional code that user is shown using electronics mobile terminal by transparent display screen,
It can also realize the recognition process of transparent display screen two-dimensional code display reading device, all workings state such as process of exchange, as a result,
Improve the high efficiency and safety that two dimension code reading device uses;In addition, the second screen in double screen is arranged in two dimensional code
The side of reading device ontology, the preferably color line screen using ink screen or with display advertisement, pass through ink screen or tool
There is the information content of the color line screen of advertisement to show, can not only complete the prompting of information state, depth can also be carried out
Publicity, drainage consumption.In addition, it should be noted that, light-operated decoding mould group is arranged in backlight built in two dimension code reading device under screen
The lower section of mould group, after the mobile electronic terminal that the irradiation user that light-operated decoding mould group is used to receive infrared light supply sending under screen uses
And the infrared signal of backlight module is passed through, infrared signal is transferred and is shown for detecting the mobile electronic terminal that user uses
Image in 2 D code information.Wherein, mist degree when infrared signal passes through backlight module is less than visible light for displaying images
Mist degree when across backlight module;Screen is provided with the first polaroid, and light-operated decoding mould group is provided with the second polaroid under screen, the
One polaroid is consistent with the polarization direction of the second polaroid, the first polaroid and the second polaroid be used for the first optical noise into
Row filtering, the first optical noise are reflection light, and reflection light is the light that the first light passes through screen reflection, and the first light is
Along the light of screen axis of ordinates forward direction irradiation in the transmitting light of screen, the second polaroid is used to carry out the second optical noise
Filtering, the second optical noise are direct line, and direct line is to emit the light reversely irradiated in light along screen axis of ordinates.
In addition, it should be noted that, light-operated decoding mould group includes collimation lens, the second polaroid, infrared IR film, light under screen
Two dimensional code sensor is learned, the second polaroid is provided between collimation lens and IR film, infrared IR film is set to optics two dimensional code biography
The surface of sensor.Collimation lens and the second polaroid is integrally disposed or lamination setting.Second polaroid and IR film, which integrate, to be set
It sets or lamination is arranged.In addition it is also necessary to illustrate, light-operated decoding mould group can also be including collimation lens, second partially under screen
Mating plate, infrared IR film, optics two dimensional code sensor are provided with the second polaroid between IR film and optics two dimensional code sensor, red
Outer IR film is set to the surface of collimation lens.IR film and the second polaroid is integrally disposed or lamination setting.Second polaroid and
The setting of optics two dimensional code sensor integration or lamination setting.Wherein, the screen of two dimension code reading device includes liquid crystal display
LCD screen or Organic Light Emitting Diode OLED display screen.And first optical noise and/or the second optical noise be predeterminable area
The light of transmitting.
In addition it is also necessary to explanation, the two dimension code reading device of light-operated decoding mould group under configured with double screen and screen
It is in the standby state, if detecting, user blocks operation to the screen of two dimension code reading device, obtains user and blocks screen
It include: camera, double screen and the base for being suitable for the configuration for being laid in multiple scenes bar code reading before the occlusion area of curtain
Networking, and support and input to multiple scenes are laid in are carried out in the two dimension code reading device of the control system of central processing unit
The two dimension code reading device of equipment and printing equipment synergistic application, the electric terminal and server for controlling two dimension code reading device
Cluster three is attached, wherein supports that with input equipment and the two dimension code reading device of printing equipment synergistic application include extremely
Few one is suitable for the camera of bar code reading, and the camera that at least one is suitable for bar code reading is complete for 360 ° of real-time perception
The light of angle changes, will pass through the variation operation that central processing unit triggering liquid crystal display completes display content.Specifically, to cloth
It is located at support and input equipment and the two dimension code reading device of printing equipment synergistic application, control two dimension code reading of multiple scenes
Roll electric terminal and server cluster three to be attached include: that will be laid in multiple scenes at least by WIFI
One two dimension code reading device is attached with cloud server cluster;At least the one of multiple scenes will be laid in by bluetooth connection
The electric terminal of a two dimension code reading device and control two dimension code reading device is attached.Further, it is also possible to pass through wired company
The electric terminal for connecing at least one two dimension code reading device and control two dimension code reading device for will being laid in multiple scenes carries out
Connection.The diversity and multi-selection of networking arrangement are improved as a result,.
It should be noted that the camera for being suitable for being not limited to bar code reading, which can perceive front, bar code or two dimensional code
When, display content is removed, display screen is become into transparent glass convenient for recognition.The intelligence of two dimension code reading device is enhanced as a result,
Property and ease for use.In addition, can also be distinguished while screen display content by being handled based on preset algorithm in central processing unit
Bar code or QR code content.The diversity and flexibility that two dimension code reading device uses are improved as a result,.
In addition it is also necessary to explanation, double screen is specially two-sided asynchronous liquid crystal display panel, is specifically included: the first base
Plate and the first liquid crystal display and the second liquid crystal display for being respectively arranged at first substrate two sides, the first liquid crystal display list
Member includes the first electrode layer and the liquid crystal layer being successively set in first electrode layer, the second electricity close to one side surface of first substrate
Pole layer and the second substrate;Second liquid crystal display includes the third electrode layer of close another side surface of first substrate and successively sets
Set bistable liquid crystal layer, the 4th electrode layer, third substrate and backlight module on third electrode layer.Specifically, first electrode
Layer and third electrode layer have phase equipotential.First substrate is equipped at least one via hole for running through first substrate, first electrode
Layer and third electrode layer are formed by via hole to be electrically connected.Flexible drive circuit is equipped between first electrode layer and third electrode layer
Plate, first electrode layer and third electrode layer are electrically connected with the formation of flexible drive circuit board respectively.Third electrode layer and the 4th electrode
When electric field is null field between layer, the second liquid crystal cells realize reflection display under ambient;Third electrode layer and the 4th electrode
There are when electric field between layer, pellucidity is presented in the second liquid crystal cells.There are electric fields between third electrode layer and the 4th electrode layer
When, pellucidity is presented in the second liquid crystal cells, and the light in backlight module passes through the second liquid crystal display and first substrate, the
One liquid crystal display is using light as backlight.It include the first tft array layer in first electrode layer or the second electrode lay;Third
It include the second tft array layer in electrode layer or the 4th electrode layer.The second substrate is equipped with the first polaroid far from the side of liquid crystal layer,
Color membrane substrates are additionally provided between the second substrate and the second electrode lay;Between third substrate and backlight module or first substrate and first
The second polaroid is equipped between electrode layer.By the setting of two-sided asynchronous liquid crystal display panel, effectively improve for movement
The ease for use and high experience property that payment devices are paid.
It will be appreciated by persons skilled in the art that the control system based on central processing unit mainly incudes mould by barcode scanning
Block, backlight module, supplementary lighting module, image capture module, decoder module, main control module composition.Specifically, barcode scanning induction module position
In two dimension code reading device, i.e., above barcode scanning box, the barcode scanning movement of user can be perceived, this perception information is transmitted to master control mould
Block, i.e. main control chip are handled.After main control chip receives user's barcode scanning signal, control transparence display window is closed all aobvious
Show content, transparence display window becomes to complete transparent glass, and image in 2 D code information is allowed to complete across transparency display window
Mouth is imaged.Induction module includes but is not limited to one of following several forms or multiple combinations mode: infrared distance perception
Answer module;Ultrasonic distance induction module;Light sensing module;Electromagnetic field inducing module.In addition it is also necessary to which explanation, sweeps
Also reusable image capture module carries out operation realization to code induction module, monitors mobile variation or light by image capture module
Variation, perception barcode scanning movement.Further, transparence display window can show according to the instruction that main control module transmits and mention accordingly
Show guidance information, all displays are closed in the instruction that can also be transmitted according to main control module, are become transparent glass window, are allowed two dimensional code
Image light in image capture module normal through being imaged.Transparent liquid crystal display, example can be selected in transparence display window
Such as transparent TN-LCD, transparent TFT-LCD, transparent OLED display screen, transparent PDP display screen plasma display.
Further, it should be noted that backlight module passes through light guide plate, light using white led lamps as light source
The modes such as bowl form uniform white light, obtain clearly as the backlight of transparent video screen, while also as barcode scanning light filling
Clear image in 2 D code information.Supplementary lighting module is located at transparence display with image capture module positioned at the top of transparent display screen
The two sides of optical window.When distinguishing papery bar code, clearly bar code image information can be obtained as fill-in light photograph.Image capture module
The image information in front of equipment can be obtained, collected image in 2 D code information is transmitted to decoder module.Decoder module is to obtaining
The image in 2 D code information taken carries out image procossing, and carries out two dimensional code decoding according to decoding algorithm, and decoding result is transmitted to
Main control module.Main control module realizes operation, the control of each functional module of equipment.In addition, the use based on two dimension code reading device
Before barcode scanning, scanning guidance information, amount of money prompt information or other ad contents are shown on device transparency display window.Work as barcode scanning
It when induction module perceives barcode scanning payment movement, closes window and shows information, become fully transparent barcode scanning recognition optical window, image
Acquisition module obtains the two-dimensional barcode information in front by transparent optical window, and decoder module obtains image in 2 D code information and is decoded,
After completing decoding, transparence display window shows the contents such as result information, advertising information.Subsequent equipment is recycled into next barcode scanning
Logic.The diversity and flexibility of the application of two dimension code reading device are increased as a result,.
In addition it is also necessary to explanation, the structure of two dimension code reading device can also be to be configured with LCD screen and leaded light
The spine two dimension code reading device of the shared windows of plate form, and including barcode scanning lamp bowl.Specifically, LCD screen and light guide plate
The shared windows of form specifically include shared windows main body;Fixed window is provided in main body;Fixed window includes right-angled intersection
The fisrt feature window and second feature window of setting;At least one is provided on fisrt feature window and second feature window
Fixed device.Fixed device includes grab and card slot;Grab and card slot are separately positioned on fisrt feature window or second feature window
The opposite sides of mouth is fixed after capable of being blocked LCD screen or light guide plate form by card slot by grab.In addition,
Fixed device includes the grab being arranged in pairs, and each pair of grab is separately positioned on the opposite of fisrt feature window or second feature window
Two sides.Grab includes being fixedly connected with portion and clamping portion;Portion is fixedly connected with to be fixedly connected with shared windows main body;Clamping portion fixation is set
It sets in the side for being fixedly connected with portion.Clamping portion is provided with slide-in inclined-plane far from the side of main body, can facilitate light guide plate form or
The entrance of LCD screen.Clamping portion is close to shared windows, the i.e. side of the side of tabula rasa form or LCD screen main body and fixation
Interconnecting piece is vertical.Being fixedly connected with portion is elastic material.On different grabs, the distance between clamping portion and shared windows main body are no
Together.Fisrt feature window and the coaxial arrangement of second feature window.It further include third feature window;Third feature window is respectively with
One characteristic window is connected to second feature window intersection;It is provided at least one on third feature window and fixes device.
In addition it is also necessary to which explanation, supports the two dimension code reading device with input equipment and printing equipment synergistic application
In input equipment be with the input keyboard of desktop computer cooperating or the input keyboard of PC all-in-one machine or have computing function with
Assist the digital function keyboard of delivery operation function.Printing equipment is printer, is specifically included: paper feeding entrance is arranged and prints
Mouthful body, be provided with thermal printing module in body, it is low to be provided at least one between paper feeding entrance and thermal printing module
Warm cooling chamber, thermal printing module and printing outlet between by transmission mechanism be connected in turn overlay film module, be cold-pressed module,
Cut module.Specifically, at least one sub-cooled chamber is used to reduce paper surface temperature using cold air;Thermal printing module
For printing to paper, printed paper transport is given to overlay film module;Overlay film module is for receiving thermal printing module
The paper of transmission, and by paper overlay film, give paper transport coated with film to cold pressing module;Cold pressing module is for receiving overlay film module
The paper of transmission is cold-pressed paper on overlay film surface, and gives the paper sheet delivery after cold pressing to cutting module;Module is cut to use
In the paper for receiving cold pressing module transfer, paper is cut by specification, and give the paper transport after the completion of cutting to printing outlet.This
Outside, sub-cooled chamber is additionally provided between thermal printing module and overlay film module.In addition, being additionally provided on body interconnected
Display module, controller, thermal printing module, cold pressing module, cut module and connect with controller and by work overlay film module
Working condition is transferred to display module to controller, controller by state transfer.
Step 104, the quality that the graphic feature parameter input of image in 2 D code information in occlusion area constructs in advance is commented
Valence network model obtains recognition result and completes to pay.
In one embodiment, the two dimensional code method of payment based on double screen that the disclosure proposes further include: collect two dimension
Code image, is divided into two training sets of low quality image in 2 D code and high quality image in 2 D code for the image in 2 D code of collection, right
The image of two training sets is marked respectively,;The low quality image in 2 D code and high quality image in 2 D code that label is completed
It is trained, constructs quality evaluation network model.Wherein, it should be noted that collect image in 2 D code, observer is according to receipts
The integrity degree and clarity for collecting image in 2 D code are divided into two training sets of low quality image in 2 D code and high quality image in 2 D code,
And using Resnet as base network model, labeled low quality image in 2 D code and high quality image in 2 D code are introduced,
Construct quality evaluation network model.
Further, if the graphic feature parameter of image in 2 D code information is commented lower than the quality constructed in advance in occlusion area
The graphic feature parameter of image in 2 D code information in valence network model, then by the quality that constructs in advance enhance network model into
The quality of row image in 2 D code enhances operation.Wherein, quality enhancing network model is to learn high quality two using TP-GAN technology
The low quality image in 2 D code that label is completed is carried out the supplement of integrity degree and clarity and is converted into height by the characteristics of tieing up code image
The model that the building of quality image in 2 D code generates.
Further, it is preferable that if recognition result is low quality image in 2 D code, first input quality enhances network mould
Type carries out image in 2 D code enhancing, and low quality image in 2 D code is converted into high quality image in 2 D code, then inputs cost again
Sensitive network model carries out two dimensional code Statistical error.Wherein, using Resnet as base network model, learn high quality two dimensional code
The characteristics of image, introduces cost-sensitive information, completes the building of cost-sensitive network model.
A kind of two dimensional code method of payment based on double screen provided by the invention, the light-operated solution under configured with double screen and screen
The two dimension code reading device of code mould group is in the standby state, if detecting user's blocking to the screen of two dimension code reading device
Operation then obtains the occlusion area that user touches screen;The graphic feature parameter of image in 2 D code information in occlusion area is defeated
Enter the quality evaluation network model constructed in advance, obtain recognition result and completes to pay.The method increase based on double screen
Two dimension code reading device recognition two dimensional code accuracy and ease for use, meanwhile, for subsequent transaction payment provide safety and
Applicability.
Based on the same inventive concept, a kind of two dimensional code payment mechanism based on double screen is additionally provided.Due to this device solution
Certainly the principle of problem is similar to a kind of aforementioned two dimensional code method of payment based on double screen, and therefore, the implementation of the device can be by
Realize that overlaps will not be repeated according to the specific steps of preceding method.
As shown in Fig. 2, for the structural schematic diagram of two dimensional code payment mechanism of one of the one embodiment based on double screen.
The two dimensional code payment mechanism 10 based on double screen includes: to obtain module 200 and identification and payment module 400.
Wherein, the two dimension code reading device that module 200 is used for the light-operated decoding mould group under configured with double screen and screen is obtained
It is in the standby state, if detecting, user blocks operation to the screen of two dimension code reading device, obtains user and blocks screen
The occlusion area of curtain, wherein two dimension code reading device includes light under the screen that the predeterminable area of double screen and opposite double screen is arranged
Control decoding mould group, screen is provided with the first polaroid, and light-operated decoding mould group is provided with the second polaroid under screen, the first polaroid and
The polarization direction of second polaroid is consistent, and the first polaroid and the second polaroid are used to be filtered the first optical noise, the
One optical noise is reflection light, and reflection light is the light that the first light passes through screen reflection, and the first light is the hair of screen
It penetrates along the light of screen axis of ordinates forward direction irradiation in light, the second polaroid is used to be filtered the second optical noise, the
Two optical noises are direct line, and direct line is to emit the light reversely irradiated in light along screen axis of ordinates;Identification with
Payment module 400 is used to the graphic feature parameter of image in 2 D code information in occlusion area inputting the quality evaluation constructed in advance
Network model obtains recognition result and completes to pay.
A kind of two dimensional code payment mechanism based on double screen provided by the invention is being configured with double screen by obtaining module
It is in the standby state with the two dimension code reading device of decoding mould group light-operated under screen, if detecting user to two dimension code reading device
Screen block operation, then obtain the occlusion area that user touches screen;It will be in occlusion area by identification and payment module
The graphic feature parameter of image in 2 D code information inputs the quality evaluation network model constructed in advance, obtains recognition result and completes
Payment.The arrangement increases the accuracy and ease for use of the recognition two dimensional code of the two dimension code reading device based on double screen, meanwhile,
Safety and applicability are provided for subsequent transaction payment.
The embodiment of the invention also provides a kind of computer readable storage medium, stored on the computer readable storage medium
There is computer program, which is executed by processor in Fig. 1.
The embodiment of the invention also provides a kind of computer program products comprising instruction.When the computer program product exists
When being run on computer, so that the method that computer executes above-mentioned Fig. 1.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium
In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously
Limitations on the scope of the patent of the present invention therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art
For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention
Protect range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.
The basic principle of the disclosure is described in conjunction with specific embodiments above, however, it is desirable to, it is noted that in the disclosure
The advantages of referring to, advantage, effect etc. are only exemplary rather than limitation, must not believe that these advantages, advantage, effect etc. are the disclosure
Each embodiment is prerequisite.In addition, detail disclosed above is merely to exemplary effect and the work being easy to understand
With, rather than limit, it is that must be realized using above-mentioned concrete details that above-mentioned details, which is not intended to limit the disclosure,.
Device involved in the disclosure, device, equipment, system block diagram only as illustrative example and being not intended to
It is required that or hint must be attached in such a way that box illustrates, arrange, configure.As those skilled in the art will appreciate that
, it can be connected by any way, arrange, configure these devices, device, equipment, system.Such as "include", "comprise", " tool
" etc. word be open vocabulary, refer to " including but not limited to ", and can be used interchangeably with it.Vocabulary used herein above
"or" and "and" refer to vocabulary "and/or", and can be used interchangeably with it, unless it is not such that context, which is explicitly indicated,.Here made
Vocabulary " such as " refers to phrase " such as, but not limited to ", and can be used interchangeably with it.
In addition, as used herein, the "or" instruction separation used in the enumerating of the item started with "at least one"
It enumerates, such as enumerating for " at least one of A, B or C " means A or B or C or AB or AC or BC or ABC (i.e. A and B and C).
In addition, wording " exemplary " does not mean that the example of description is preferred or more preferable than other examples.
Above description is had been presented for for purposes of illustration and description.In addition, this description is not intended to the reality of the disclosure
It applies example and is restricted to form disclosed herein.Although already discussed above multiple exemplary aspects and embodiment, this field skill
Its certain modifications, modification, change, addition and sub-portfolio will be recognized in art personnel.
Claims (10)
1. a kind of two dimensional code method of payment based on double screen, which comprises the following steps:
It is in the standby state configured with double screen and the two dimension code reading device of decoding mould group light-operated under screen, if detecting use
Operation is blocked to the screen of the two dimension code reading device in family, then obtains the occlusion area that user blocks the screen, wherein
The two dimension code reading device include the predeterminable area setting of double screen and the relatively described double screen the screen under light-operated decoding
Mould group, the double screen are provided with the first polaroid, and light-operated decoding mould group is provided with the second polaroid under the screen, and described
One polaroid is consistent with the polarization direction of second polaroid, and first polaroid and second polaroid are used for the
One optical noise is filtered, and first optical noise is reflection light, and the reflection light is described in the first light passes through
The light of screen reflection, first light are in the transmitting light of the screen along screen axis of ordinates forward direction irradiation
Light, for second polaroid for being filtered to the second optical noise, second optical noise is direct line, described
Direct line is the light reversely irradiated in the transmitting light along the screen axis of ordinates;
The graphic feature parameter of image in 2 D code information in the occlusion area is inputted to the quality evaluation network mould constructed in advance
Type obtains recognition result and completes to pay.
2. the two dimensional code method of payment according to claim 1 based on double screen, which is characterized in that further include: to laying
It is suitable for described in the camera, double screen and the control system based on central processing unit of bar code reading in the configuration of multiple scenes
Two dimension code reading device carries out networking, and to the support and input equipment and printing equipment synergistic application for being laid in multiple scenes
The two dimension code reading device, the electric terminal of the control two dimension code reading device and server cluster three connect
It connects, wherein support that with the input equipment and the two dimension code reading device of the printing equipment synergistic application include at least
One is suitable for the camera of bar code reading, at least one described camera for being suitable for bar code reading is used for 360 ° of real-time perception
The light of full angle changes, will pass through the variation operation that the central processing unit triggering liquid crystal display completes display content.
3. the two dimensional code method of payment according to claim 2 based on double screen, which is characterized in that described pair be laid in it is more
The support of a scene and input equipment and the two dimension code reading device of printing equipment synergistic application, the control two dimensional code are known
It includes: that will be laid in multiple scenes at least by WIFI that the electric terminal of read apparatus and server cluster three, which are attached,
One two dimension code reading device is attached with cloud server cluster;
By at least one the described two dimension code reading device for being laid in multiple scenes and the two dimensional code is controlled by bluetooth connection
The electric terminal of reading device is attached.
4. the two dimensional code method of payment according to claim 1 based on double screen, which is characterized in that further include: collect two
Code image is tieed up, the image in 2 D code of collection is divided into two training sets of low quality image in 2 D code and high quality image in 2 D code,
The image of two training sets is marked respectively;
The low quality image in 2 D code and high quality image in 2 D code complete to label are trained, and construct the quality evaluation net
Network model.
5. the two dimensional code method of payment according to claim 1 based on double screen, which is characterized in that further include: if described
The graphic feature parameter of image in 2 D code information is lower than in the quality evaluation network model constructed in advance in occlusion area
The graphic feature parameter of image in 2 D code information then enhances network model by the quality constructed in advance and carries out image in 2 D code
Quality enhancing operation.
6. the two dimensional code method of payment according to claim 5 based on double screen, which is characterized in that the quality enhances net
Network model is the characteristics of learning high quality image in 2 D code using TP-GAN technology, the low quality two dimensional code figure that label is completed
The model generated is constructed as carrying out the supplement of integrity degree and clarity and being converted into high quality image in 2 D code.
7. the two dimensional code method of payment according to claim 1 based on double screen, which is characterized in that light-operated solution under the screen
The lower section of backlight module built in the two dimension code reading device is arranged in code mould group, and light-operated decoding mould group is for receiving under the screen
Infrared signal after the mobile electronic terminal that the irradiation user that infrared light supply issues uses and across backlight module, it is described infrared
Optical signal is for detecting the image in 2 D code information that the mobile electronic terminal that user uses is transferred and shown.
8. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor
The step of any one of claim 1-7 the method is realized when row.
9. a kind of computer equipment including memory, processor and stores the meter that can be run on a memory and on a processor
Calculation machine program, which is characterized in that the processor realizes side described in any one of described claim 1-7 when executing described program
The step of method.
10. a kind of two dimensional code payment mechanism based on double screen, which is characterized in that described device includes:
Module is obtained, for being in standby configured with double screen and the two dimension code reading device of decoding mould group light-operated under screen
Under, if detecting, user blocks operation to the screen of the two dimension code reading device, obtains user and blocks the screen
Occlusion area, wherein the two dimension code reading device includes the institute of the predeterminable area setting of double screen and the relatively described double screen
Light-operated decoding mould group under screen is stated, the screen is provided with the first polaroid, and light-operated decoding mould group is provided with second partially under the screen
Mating plate, first polaroid is consistent with the polarization direction of second polaroid, and first polaroid and described second is partially
For mating plate for being filtered to the first optical noise, first optical noise is reflection light, and the reflection light is first
Light passes through the light of the screen reflection, and first light is in the transmitting light of the screen along the screen ordinate
The light of axis forward direction irradiation, for being filtered to the second optical noise, second optical noise is second polaroid
Direct line, the direct line are the light reversely irradiated in the transmitting light along the screen axis of ordinates;
Identification and payment module, for the graphic feature parameter of image in 2 D code information in the occlusion area to be inputted preparatory structure
The quality evaluation network model built obtains recognition result and completes to pay.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910118691.8A CN109886671A (en) | 2019-02-17 | 2019-02-17 | Two dimensional code method of payment and device based on double screen |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910118691.8A CN109886671A (en) | 2019-02-17 | 2019-02-17 | Two dimensional code method of payment and device based on double screen |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109886671A true CN109886671A (en) | 2019-06-14 |
Family
ID=66928214
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910118691.8A Pending CN109886671A (en) | 2019-02-17 | 2019-02-17 | Two dimensional code method of payment and device based on double screen |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109886671A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111259278A (en) * | 2020-01-15 | 2020-06-09 | 福州智永信息科技有限公司 | Automatic code scanning method and system |
CN111354138A (en) * | 2020-03-10 | 2020-06-30 | 北京意锐新创科技有限公司 | Payment method and device with positioning performance |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101887512A (en) * | 2010-06-18 | 2010-11-17 | 深圳市华阳信通科技发展有限公司 | Two-dimension code recognizing and reading device, use method and POS machine thereof |
JP5656316B1 (en) * | 2014-04-17 | 2015-01-21 | 善郎 水野 | System including a marker device and method using the same |
CN107194688A (en) * | 2017-05-16 | 2017-09-22 | 冯汉江 | In payment system and its method of the offline scenario based on Quick Response Code |
CN107766114A (en) * | 2017-10-19 | 2018-03-06 | 广东欧珀移动通信有限公司 | The method and apparatus of display of commodity information |
CN108803112A (en) * | 2018-06-29 | 2018-11-13 | 深圳市华星光电技术有限公司 | Two-sided liquid crystal display panel, display with double faces |
CN109214376A (en) * | 2018-11-22 | 2019-01-15 | 济南浪潮高新科技投资发展有限公司 | A kind of fingerprint identification method and device based on depth stratification |
CN109284742A (en) * | 2018-10-30 | 2019-01-29 | Oppo广东移动通信有限公司 | Shield lower fingerprint mould group, electronic equipment and fingerprint image processing method |
-
2019
- 2019-02-17 CN CN201910118691.8A patent/CN109886671A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101887512A (en) * | 2010-06-18 | 2010-11-17 | 深圳市华阳信通科技发展有限公司 | Two-dimension code recognizing and reading device, use method and POS machine thereof |
JP5656316B1 (en) * | 2014-04-17 | 2015-01-21 | 善郎 水野 | System including a marker device and method using the same |
CN107194688A (en) * | 2017-05-16 | 2017-09-22 | 冯汉江 | In payment system and its method of the offline scenario based on Quick Response Code |
CN107766114A (en) * | 2017-10-19 | 2018-03-06 | 广东欧珀移动通信有限公司 | The method and apparatus of display of commodity information |
CN108803112A (en) * | 2018-06-29 | 2018-11-13 | 深圳市华星光电技术有限公司 | Two-sided liquid crystal display panel, display with double faces |
CN109284742A (en) * | 2018-10-30 | 2019-01-29 | Oppo广东移动通信有限公司 | Shield lower fingerprint mould group, electronic equipment and fingerprint image processing method |
CN109214376A (en) * | 2018-11-22 | 2019-01-15 | 济南浪潮高新科技投资发展有限公司 | A kind of fingerprint identification method and device based on depth stratification |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111259278A (en) * | 2020-01-15 | 2020-06-09 | 福州智永信息科技有限公司 | Automatic code scanning method and system |
CN111259278B (en) * | 2020-01-15 | 2023-07-18 | 宝宝巴士股份有限公司 | Automatic code scanning method and system |
CN111354138A (en) * | 2020-03-10 | 2020-06-30 | 北京意锐新创科技有限公司 | Payment method and device with positioning performance |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103456105B (en) | Hotel intelligent self-service terminal all-in-one machine | |
CN109670819A (en) | Double vehicle positioning stop fields method of payment and device based on GPS and LBS | |
CN110210878A (en) | Commodity source tracing method and device based on two dimension code reading device | |
CN109886671A (en) | Two dimensional code method of payment and device based on double screen | |
KR101271767B1 (en) | Device for advertising products using transparent liquid crystal display | |
CN109634646A (en) | The method and apparatus of barcode scanning terminal coupling firmware updating based on SFTP | |
CN109636405A (en) | Barcode scanning method of payment and device based on face identification functions | |
CN109901865A (en) | The method and apparatus of firmware upgrade | |
CN109658107A (en) | Barcode scanning method of payment and device based on biological characteristic identification function | |
CN109614964A (en) | Suitable for the fingerprint identification method and device under shielding | |
CN109961283A (en) | Two dimensional code method of payment and device based on dynamic password and digital certificate | |
CN110727378A (en) | Aerial projection self-service system | |
CN109753834A (en) | Performance test methods and device based on two dimension code reading device | |
CN109886672A (en) | Two dimensional code method of payment and device based on dual camera | |
CN109872147A (en) | Noninductive method of payment and device based on LBS | |
CN203415045U (en) | Intelligent self-service terminal all-in-one machine for hotel | |
CN109977717A (en) | Bar code method of payment and device based on light and shade code | |
CN109829350A (en) | The two dimensional code method of payment and device of compatible for wired and wireless two-channel access public network | |
CN109903038A (en) | The two dimensional code method of payment and device that multi information is superimposed under complex background | |
CN109886375B (en) | Method and system for replacing bound two-dimensional code reading devices in batches | |
CN109903403A (en) | Expressway tol lcollection method and device based on LBS | |
CN109902525A (en) | Light-operated coding/decoding method and device based on two dimension code reading device | |
CN209216152U (en) | Support the payment mechanism of the passive barcode scanning of external equipment | |
Héricz et al. | Investigation of a 3D head-mounted projection display using retro-reflective screen | |
CN109902526A (en) | Two dimensional code method of payment and device based on quantum communication network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190614 |