CN109977717A - Bar code method of payment and device based on light and shade code - Google Patents

Bar code method of payment and device based on light and shade code Download PDF

Info

Publication number
CN109977717A
CN109977717A CN201910205263.9A CN201910205263A CN109977717A CN 109977717 A CN109977717 A CN 109977717A CN 201910205263 A CN201910205263 A CN 201910205263A CN 109977717 A CN109977717 A CN 109977717A
Authority
CN
China
Prior art keywords
bar code
light
area
image
screen
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.)
Withdrawn
Application number
CN201910205263.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 CN201910205263.9A priority Critical patent/CN109977717A/en
Publication of CN109977717A publication Critical patent/CN109977717A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06018Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking one-dimensional coding
    • G06K19/06028Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking one-dimensional coding using bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06046Constructional details
    • G06K19/0614Constructional details the marking being selective to wavelength, e.g. color barcode or barcodes only visible under UV or IR
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14131D bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1439Methods for optical code recognition including a method step for retrieval of the optical code
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/327Short range or proximity payments by means of M-devices
    • G06Q20/3276Short range or proximity payments by means of M-devices using a pictured code, e.g. barcode or QR-code, being read by the M-device

Landscapes

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

Abstract

Present disclose provides a kind of bar code methods of payment based on light and shade code, are in the standby state in bar code reader, if detecting, user blocks operation to the screen of bar code reader, obtain the occlusion area that user blocks screen;Extract the image information of occlusion area;Deconvolution parameter in convolutional neural networks is modified, revised deconvolution parameter is obtained;Extract the bar code image in plain code area and the bar code image in private mark area in occlusion area;The characteristic parameter of the characteristic parameter of the characteristic information of the bar code image in plain code area and the characteristic information of the bar code image in private mark area is inputted into the quality evaluation network model constructed in advance, obtain recognition result and completes to pay.The method increase the accuracy of bar code reading, meanwhile, safety, agility and applicability are provided for the realization of noninductive payment.The disclosure additionally provides a kind of bar code payment mechanism based on light and shade code.

Description

Bar code method of payment and device based on light and shade code
Technical field
This disclosure relates to bar code reading and mobile payment technical field, in particular to a kind of item based on light and shade code 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 bar code, which sweeps to sweep, can be completed barcode scanning payment, and operating process is simple and convenient.But since bar code production threshold is low And be easily stolen, therefore there is the risk that information is tampered or forges, as criminal takes advantage of businessman not note that in businessman Oneself preprepared bar code is sticked in gathering bar code, can be in and sit back and wait and collect money, cause the great property loss of businessman.This It outside, how to be current urgent problem to be solved by the safety for being implemented in combination with payment of light and shade code.
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 bar code branch based on light and shade code Method and apparatus are paid, the light-operated decoding under configured with LBS interface, time zone and longitude table of comparisons memory module, dual camera and screen The bar code reader of mould group is in the standby state, if detecting, user blocks operation to the screen of bar code reader, Then obtain the occlusion area that user blocks screen, wherein LBS interface is configured for the control platform of bar code reader with pre- If frequency grabs the current position LBS of bar code reader by it, the relationship between the current position LBS and fixed position is judged; Time zone and longitude table of comparisons memory module are used to calculate the ontology time of bar code reader;Bar code reader includes double camera shootings Light-operated decoding mould group under the screen that the predeterminable area of head and opposite dual camera is arranged, dual camera are provided with the first polaroid, Light-operated decoding mould group is provided with the second polaroid under screen, and the first polaroid is consistent with the polarization direction of the second polaroid, and first partially For being filtered to the first optical noise, the first optical noise is reflection light for mating plate and the second polaroid, and reflection light is First light passes through the light of screen reflection, and the first light is in the transmitting light of screen along the irradiation of screen axis of ordinates forward direction Light, for the second polaroid for being filtered to the second optical noise, the second optical noise is direct line, and direct line is hair Penetrate the light reversely irradiated in light along screen axis of ordinates;Extract the image information of occlusion area, wherein image information includes Plain code area and private mark area, plain code area and the private mark area correspond;Deconvolution parameter in convolutional neural networks is modified, Obtain revised deconvolution parameter;Blocked area is extracted according to the image information feature that dual camera repeatedly obtains within a preset time The bar code image in Yu Zhong plain code area and the bar code image in private mark area;Based on convolutional neural networks according to revised deconvolution parameter The characteristic information of the bar code image of the characteristic information and private mark area of the bar code image in plain code area in occlusion area is extracted, and will be bright The characteristic parameter of the characteristic parameter and the characteristic information of the bar code image in private mark area of the characteristic information of the bar code image in code area is defeated Enter the quality evaluation network model constructed in advance, obtain recognition result and completes to pay.The accurate of bar code reading is improved as a result, Property, meanwhile, safety, agility and applicability are provided for the realization of noninductive payment.
In a first aspect, the embodiment of the present disclosure provides a kind of bar code method of payment based on light and shade code, comprising the following steps: The bar code reading of light-operated decoding mould group under configured with LBS interface, time zone and longitude table of comparisons memory module, dual camera and screen Device is in the standby state, if detecting, user blocks operation to the screen of the bar code reader, obtains user Block the occlusion area of the screen;Wherein, the LBS interface be configured for the control platform of the bar code reader with Predeterminated frequency grabs the current position LBS of bar code reader by it, judges between the current position LBS and fixed position Relationship;The time zone and longitude table of comparisons memory module are used to calculate the ontology time of the bar code reader;The bar code Light-operated decoding mould group under the screen of the predeterminable area setting including dual camera and the relatively described dual camera of reading device, The dual camera is provided with the first polaroid, and light-operated decoding mould group is provided with the second polaroid under the screen, and described first Polaroid is consistent with the polarization direction of second polaroid, and first polaroid and second polaroid are used for first Optical noise is filtered, and first optical noise is reflection light, and the reflection light is that the first light passes through the screen The light of curtain reflection, first light are the light in the transmitting light of the screen along screen axis of ordinates forward direction irradiation Line, for second polaroid for being filtered to the second optical noise, second optical noise is direct line, described straight Penetrating light is the light reversely irradiated in the transmitting light along the screen axis of ordinates;Extract the image of the occlusion area Information, wherein described image information includes plain code area and private mark area, and the plain code area and the private mark area correspond;To volume Deconvolution parameter in product neural network is modified, and obtains revised deconvolution parameter;According to the dual camera when default The interior image information feature repeatedly obtained extracts the bar code image in plain code area described in the occlusion area and the private mark The bar code image in area;Institute in the occlusion area is extracted according to the revised deconvolution parameter based on the convolutional neural networks State the characteristic information of the characteristic information of the bar code image in yard area and the bar code image in the private mark area clearly, and by the plain code area Bar code image the characteristic information characteristic parameter and the private mark area bar code image the characteristic information feature Parameter inputs the quality evaluation network model constructed in advance, obtains recognition result and completes to pay.
In one of the embodiments, further include: the double of bar code reading are suitable for the configuration for being laid in multiple scenes and are taken the photograph As the bar code reader of head and the control system based on central processing unit carries out networking, and to being laid in multiple scenes Support the electronics with input equipment and the bar code reader of printing equipment synergistic application, the control bar code reader Terminal and server cluster three are attached, wherein support and the input equipment and the printing equipment synergistic application The bar code reader include at least one be suitable for bar code reading camera, it is described at least one be suitable for bar code knowledge Light of the camera of reading for 360 ° of full angles of real-time perception changes, complete will pass through the central processing unit triggering liquid crystal display At the variation operation of 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 bar code reader of application, the electric terminal of the control bar code reader and server cluster three connect Connect includes: to be connected at least one the described bar code reader for being laid in multiple scenes with cloud server cluster by WIFI It connects;By at least one the described bar code reader for being laid in multiple scenes and the bar code reading dress is controlled by bluetooth connection The electric terminal set is attached.
In one of the embodiments, further include: collect bar code image, the bar code image of collection is divided into low quality bar code Two training sets of image and high quality bar code image, are marked the image of two training sets respectively;Label is completed low Quality bar code image and high quality bar code image are trained, and construct the quality evaluation network model.
In one of the embodiments, further include: if in the occlusion area in the characteristic information of bar code image The characteristic parameter is lower than in the characteristic information of the bar code image in the quality evaluation network model constructed in advance The characteristic parameter then enhances the quality enhancing operation that network model carries out bar code image by the quality constructed in advance.
The quality enhancing network model is to learn high quality item using TP-GAN technology in one of the embodiments, The low quality bar code image that label is completed is carried out the supplement of integrity degree and clarity and is converted into high quality by the characteristics of code image The model that bar code image building generates.
The deconvolution parameter in convolutional neural networks is modified in one of the embodiments, after obtaining amendment Deconvolution parameter include: will acquire include the bar code image information input of plain code area and private mark area difference information superposition extremely Convolutional neural networks obtain the corresponding feature vector of each bar code image information;Variant plain code area and private mark area is calculated to believe Cease the corresponding characteristic central point of the bar code image information of superposition;According to the characteristic central point calculate variant plain code area with The similarity for the bar code image that private mark area information superposition and same information plain code area are superimposed with private mark area;According to the phase The deconvolution parameter is modified like degree.
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 bar code payment mechanism based on light and shade code, and described device includes: Module is obtained, for the light-operated decoding under configured with LBS interface, time zone and longitude table of comparisons memory module, dual camera and screen The bar code reader of mould group is in the standby state, if detecting, user blocks behaviour to the screen of the bar code reader Make, then obtains the occlusion area that user blocks the screen;Wherein, the LBS interface is configured for the bar code reading dress The control platform set grabs the current position LBS of bar code reader by it with predeterminated frequency, judge the current position LBS with Relationship between fixed position;The time zone and longitude table of comparisons memory module are used to calculate the ontology of the bar code reader Time;The bar code reader include the predeterminable area setting of dual camera and the relatively described dual camera the screen under light Control decoding mould group, the dual camera are provided with the first polaroid, and light-operated decoding mould group is provided with the second polarisation under the screen Piece, first polaroid is consistent with the polarization direction of second polaroid, first polaroid and second polarisation For piece for being filtered to the first optical noise, first optical noise is reflection light, and the reflection light is the first light Line passes through the light of the screen reflection, and first light is in the transmitting light of the screen along the screen axis of ordinates The light of forward direction irradiation, for second polaroid for being filtered to the second optical noise, second optical noise is straight Light is penetrated, the direct line is the light reversely irradiated in the transmitting light along the screen axis of ordinates;First extracts Module, for extracting the image information of the occlusion area, wherein described image information includes plain code area and private mark area, described Plain code area and the private mark area correspond;Correction module is obtained for being modified to the deconvolution parameter in convolutional neural networks Take revised deconvolution parameter;Second extraction module, the figure for repeatedly being obtained within a preset time according to the dual camera As information characteristics extract the bar code image of the bar code image in plain code area described in the occlusion area and the private mark area;Identification With payment module, extracted in the occlusion area for being based on the convolutional neural networks according to the revised deconvolution parameter The characteristic information of the characteristic information of the bar code image in the plain code area and the bar code image in the private mark area, and by the plain code The spy of the characteristic information of the characteristic parameter of the characteristic information of the bar code image in area and the bar code image in the private mark area Sign parameter inputs the quality evaluation network model constructed in advance, obtains recognition result and completes to pay.
A kind of bar code method of payment and device based on light and shade code provided by the invention, configured with LBS interface, time zone with The bar code reader of light-operated decoding mould group is in the standby state under longitude table of comparisons memory module, dual camera and screen, if It detects that user blocks operation to the screen of bar code reader, then obtains the occlusion area that user blocks screen, wherein It is current by its crawl bar code reader with predeterminated frequency that LBS interface is configured for the control platform of bar code reader The position LBS judges the relationship between the current position LBS and fixed position;Time zone is with longitude table of comparisons memory module for calculating The ontology time of bar code reader;Bar code reader includes dual camera and is arranged with respect to the predeterminable area of dual camera Light-operated decoding mould group under screen, dual camera are provided with the first polaroid, and light-operated decoding mould group is provided with the second polaroid under screen, First polaroid is consistent with the polarization direction of the second polaroid, and the first polaroid and the second polaroid are used for the first optical noise It is filtered, the first optical noise is reflection light, and reflection light is the light that the first light passes through screen reflection, the first light For screen transmitting light in along screen axis of ordinates forward direction irradiation light, the second polaroid be used for the second optical noise into Row 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 Line;Extract the image information of occlusion area, wherein image information includes plain code area and private mark area, and plain code area and private mark area are one by one It is corresponding;Deconvolution parameter in convolutional neural networks is modified, revised deconvolution parameter is obtained;According to dual camera pre- If the image information feature repeatedly obtained in the time extracts the bar code image in plain code area and the bar code in private mark area in occlusion area Image;The feature of the bar code image in plain code area in occlusion area is extracted according to revised deconvolution parameter based on convolutional neural networks The characteristic information of the bar code image in information and private mark area, and by the characteristic parameter of the characteristic information of the bar code image in plain code area with The characteristic parameter of the characteristic information of the bar code image in private mark area inputs the quality evaluation network model constructed in advance, obtains identification As a result it and completes to pay.The accuracy of bar code reading is improved as a result, meanwhile, safety, fast is provided for the realization of noninductive payment Victory and 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 bar code method of payment of one of the one embodiment of the invention based on light and shade code Figure;And
Fig. 2 is the structural schematic diagram of bar code payment mechanism of one of the one embodiment of the invention based on light and shade code.
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 bar code method of payment and device based on light and shade code 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 bar code method of payment of one of the one embodiment based on light and shade code, tool Body the following steps are included:
Step 102, configured with LBS (Location Based Service is based on location-based service) interface, time zone and warp The bar code reader of light-operated decoding mould group is in the standby state under degree table of comparisons memory module, dual camera and screen, if inspection It measures user and operation is blocked to the screen of bar code reader, then obtain the occlusion area that user blocks screen.
It should be noted that before obtaining the occlusion area that user blocks screen further include: the control of bar code reader Platform grabs the current position LBS of bar code reader by LBS interface with predeterminated frequency, judges the current position LBS and fixed bit Relationship between setting.Wherein, the parameter information with the associated bar code reader of mobile electronic terminal is set, and parameter information includes Control information for bar code reader and the fixation location information for bar code reader.It is filled as a result, for bar code reading It sets the noninductive payment based on LBS and accuracy and ease for use is provided.
In addition it is also necessary to which explanation, passes through the current position LBS of LBS interface real-time judge bar code reader and fixation Except relationship between position, further including bar code reader obtains UTC time to ntp server;By LBS interface obtain with The base station information of bar code reader connection;The longitude information of base station is obtained based on base station information;Inquiry is pre-stored within bar code Time zone and the longitude table of comparisons in reading device time zone and longitude table of comparisons memory module, by time zone and the longitude table of comparisons, with Time-zone information of the corresponding time zone of the longitude information of base station as bar code reader;It is calculated according to UTC time and time-zone information The local zone time of bar code reader.Accuracy is provided and can be realized based on the noninductive payment of LBS for bar code reader as a result, Property.
It should be noted that bar code reader includes the screen of the predeterminable area setting of dual camera and opposite dual camera Under light-operated decoding mould group, dual camera is provided with the first polaroid, and the first camera setting in dual camera is known in bar code The lower section of read apparatus transparent display screen, it is anti-using electronics mobile terminal via user above transparent display screen for receiving Penetrate the optical signal to be formed, wherein optical signal is used to detect the characteristic information that user uses electronics mobile terminal, in the first camera Built-in sensing chip be used for based on pass through the first camera optical signal be imaged, wherein the photosurface of sensing chip with The distance between imaging surface of first camera is more than or equal to preset value, and the imaging surface of the first camera is located at sensing chip Photosurface either above or below, preset value be 10 μm.In addition, it should be noted that, the lens focus model of the first camera It encloses for 0.4mm-1.8mm.In addition it is also necessary to which explanation, the sensing chip built in the first camera are fixed on by crystal-bonding adhesive The upper surface of flexible circuit board, and sensing chip is electrically connected flexible circuit board by binding line.Wherein, fixed glue tool There is at least one of following characteristic: being opaque to visible light but, with a thickness of 0.02mm~0.10mm, viscosity > 20000mPas, solidification is received Shrinkage < 3%.In addition it is also necessary to which explanation, is fixed with optically filtering piece by optical cement on sensing chip, wherein light Learning filter plate is that infrared cutoff optically filtering piece and/or blue light end optical filter.Those skilled in the art are also understood that , the first camera in dual camera can also be used to receive touching above transparent display screen via user's finger Or the optical signal that pressing reflects to form, wherein optical signal is used to detect the biological information of user's finger.
Further, the lower section of bar code reader transparent display screen is arranged in the second camera in dual camera, uses In receiving the optical signal reflected to form via user using the bar code that electronics mobile terminal is shown above transparent display screen, Wherein, optical signal is used to detect the image feature information for the bar code that user is shown using electronics mobile terminal, in second camera Built-in sensing chip be used for based on pass through second camera optical signal be imaged, wherein the photosurface of sensing chip with The distance between imaging surface of second camera is more than or equal to preset value, and the imaging surface of second camera is located at sensing chip Photosurface either above or below, preset value be 10 μm.It should be noted that the lens focus range of second camera is 0.2mm-2.0mm.In addition it is also necessary to which explanation, the sensing chip built in second camera are fixed on flexibility by crystal-bonding adhesive The upper surface of printed circuit board, and sensing chip is electrically connected flexible circuit board by binding line.Wherein, fixed glue have with At least one of lower characteristic: being opaque to visible light but, with a thickness of 0.02mm~0.10mm, viscosity > 20000mPas, cure shrinkage < 3%.In addition it is also necessary to which explanation, is fixed with optically filtering piece by optical cement on sensing chip, wherein optics filter Wave plate is that infrared cutoff optically filtering piece and/or blue light end optical filter.
In addition, it should be noted that, light-operated decoding mould group is provided with the second polaroid under screen, the first polaroid and second is partially The polarization direction of mating plate is consistent, and the first polaroid and the second polaroid are for being filtered the first optical noise, the first optics Noise is reflection light, and reflection light is the light that the first light passes through screen reflection, and the first light is the transmitting light of screen The middle light along the irradiation of screen axis of ordinates forward direction, the second polaroid is for being filtered the second optical noise, the second optics Noise is 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 Bar code sensor is learned, the second polaroid is provided between collimation lens and infrared IR film, infrared IR film is set to optical bar 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, optical bar code sensor are provided with the second polaroid between infrared IR film and optical bar code sensor, red Outer IR film is set to the surface of collimation lens.Infrared IR film and the second polaroid is integrally disposed or lamination setting.Second polarisation Piece and the setting of optical bar code sensor integration or lamination setting.Wherein, the screen of bar code reader 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 bar code reader of light-operated decoding mould group under configured with dual camera and screen It is in the standby state, if detecting, user blocks operation to the screen of bar code reader, obtains user and blocks screen Occlusion area before include: to the configuration for being laid in multiple scenes be suitable for the dual camera of bar code reading with based on centre The bar code reader for managing the control system of device carries out networking, and support and input equipment and printing to multiple scenes are laid in The bar code reader of device synergistic application, the electric terminal for controlling bar code reader and server cluster three connect It connects, wherein support to include that at least one is suitable for bar code with the bar code reader of input equipment and printing equipment synergistic application The camera of recognition, at least one is suitable for light of the camera of bar code reading for 360 ° of full angles of real-time perception and changes, Will pass through the variation operation that central processing unit triggering liquid crystal display completes display content.Specifically, to multiple scenes are laid in Support with the bar code reader of input equipment and printing equipment synergistic application, control bar code reader electric terminal and It includes: at least one bar code reader and cloud that multiple scenes will be laid in by WIFI that server cluster three, which is attached, Server cluster is attached;At least one bar code reader and control strip of multiple scenes will be laid in by bluetooth connection The electric terminal of code reading device is attached.Further, it is also possible to which at least the one of multiple scenes will be laid in by wired connection The electric terminal of a bar code reader and control bar code reader is attached.The multiplicity of networking arrangement is improved as a result, Property and multi-selection.
It should be noted that the dual camera for being suitable for being not limited to bar code reading, which can perceive front, bar code or bar code When, display content is removed, display screen is become into transparent glass convenient for recognition.The intelligence of bar code reader is enhanced as a result, With ease for use.In addition, also item can be distinguished while screen display content by handling based on preset algorithm in central processing unit Code or bar code content.The diversity and flexibility that bar code reader uses are improved as a result,.
In addition it is also necessary to which explanation, bar code reader can also be preferable configured with double screen, which is two-sided Asynchronous liquid crystal display panel, specifically include first substrate and be respectively arranged at first substrate two sides the first liquid crystal display and Second liquid crystal display, the first liquid crystal display include the first electrode layer of close one side surface of first substrate and successively set Set liquid crystal layer, the second electrode lay and the second substrate in first electrode layer;Second liquid crystal display includes close to the first base The third electrode layer of another side surface of plate and the bistable liquid crystal layer being successively set on third electrode layer, the 4th electrode layer, the Three substrates and backlight module.Specifically, first electrode layer and third electrode layer have phase equipotential.First substrate is equipped at least One runs through the via hole of first substrate, first electrode layer and third electrode layer and forms electrical connection by via hole.First electrode layer with Be equipped with flexible drive circuit board between third electrode layer, first electrode layer and third electrode layer respectively with flexible drive circuit board shape At electrical connection.When electric field is null field between third electrode layer and the 4th electrode layer, the second liquid crystal cells are realized under ambient Reflection display;There are when electric field between third electrode layer and the 4th electrode layer, pellucidity is presented in the second liquid crystal cells.Third electricity There are when electric field between pole layer and the 4th electrode layer, pellucidity is presented in the second liquid crystal cells, and the light in backlight module passes through Second liquid crystal display and first substrate, the first liquid crystal display is using light as backlight.First electrode layer or second It include the first tft array layer in electrode layer;It include the second tft array layer in third electrode layer or the 4th electrode layer.The second substrate Side far from liquid crystal layer is equipped with the first polaroid, and color membrane substrates are additionally provided between the second substrate and the second electrode lay;Third base The second polaroid is equipped between plate and backlight module or between first substrate and first electrode layer.Pass through two-sided asynchronous liquid crystal display The setting of panel effectively improves the ease for use paid for mobile payment device and high experience property.
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 bar code reader, 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 bar code image information is allowed to complete across transparence display window It is imaged.Induction module includes but is not limited to one of following several forms or multiple combinations mode: infrared distance perception is answered Module;Ultrasonic distance induction module;Light sensing module;Electromagnetic field inducing module.In addition it is also necessary to explanation, barcode scanning Also reusable image capture module carries out operation realization to induction module, monitors mobile variation by image capture module or light becomes Change, perception barcode scanning movement.Further, transparence display window can show corresponding prompt according to the instruction that main control module transmits Guidance information, the instruction that can also be transmitted according to main control module close all displays, become transparent glass window, allow bar code image Light in image capture module normal through being imaged.Transparent liquid crystal display can be selected in transparence display window, such as thoroughly Bright TN-LCD, transparent TFT-LCD, transparent OLED display screen, transparent PDP display screen plasma display etc..
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 bar code image information.Supplementary lighting module is located at transparence display light with image capture module positioned at the top of transparent display screen The two sides of window.When distinguishing papery bar code, clearly bar code image information can be obtained as fill-in light photograph.Image capture module can The image information in front of equipment is obtained, collected bar code image information is transmitted to decoder module.Decoder module is to acquisition Bar code image information carries out image procossing, and carries out bar 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 bar code reader be barcode scanning before, if Scanning guidance information, amount of money prompt information or other ad contents are shown on standby transparence display window.When barcode scanning induction module sense It when knowing barcode scanning payment movement, closes window and shows information, become fully transparent barcode scanning recognition optical window, image capture module is logical The bar code information that transparent optical window obtains front is crossed, decoder module obtains bar code image information and is decoded, transparent after completing decoding Display window shows the contents such as result information, advertising information.Subsequent equipment enters next barcode scanning circle logic.Increase as a result, The diversity and flexibility of bar code reader application.
In addition it is also necessary to explanation, the structure of bar code reader can also be to be configured with LCD screen and light guide plate The spine bar code reader of the shared windows of form, and including barcode scanning lamp bowl.Specifically, LCD screen and light guide plate form Shared windows specifically include shared windows main body;Fixed window is provided in main body;Fixed window includes right-angled intersection setting Fisrt feature window and second feature window;At least one is provided on fisrt feature window and second feature window to fix Device.Fixed device includes grab and card slot;Grab and card slot are separately positioned on fisrt feature window or second feature window Opposite sides 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 opposite the two of fisrt feature window or second feature window Side.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 fixed setting 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 liquid The entrance of brilliant form.Clamping portion is close to shared windows, the i.e. side of the side of tabula rasa form or LCD screen main body and fixed company Socket part 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 in explanation, support and input equipment and the bar code reader of printing equipment synergistic application 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 it is auxiliary Help the digital function keyboard of delivery operation function.Printing equipment is printer, is specifically included: setting paper feeding entrance and printing outlet Body, be provided with thermal printing module in body, at least one low temperature be provided between paper feeding entrance and thermal printing module Cooling chamber is connected with overlay film module in turn by transmission mechanism between thermal printing module and printing outlet, cold pressing module, cuts out Cut-off-die block.Specifically, at least one sub-cooled chamber is used to reduce paper surface temperature using cold air;Thermal printing module is used It is printed in paper, gives printed paper transport to overlay film module;Overlay film module is for receiving thermal printing module biography Defeated paper, and by paper overlay film, give paper transport coated with film to cold pressing module;Cold pressing module is for receiving overlay film module biography Defeated paper is cold-pressed paper on overlay film surface, and gives the paper sheet delivery after cold pressing to cutting module;Module is cut to be used for The paper for receiving cold pressing module transfer cuts paper by specification, and gives 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 image information of occlusion area is extracted.Wherein, image information includes plain code area and private mark area, plain code area It is corresponded with private mark area.
Specifically, using coding techniques, according to transaction scene, transaction trade company, the user that trades signing messages and branch The combination of the information such as channel is paid, plain code area is generated;Plain code area or the plain code area configured with code key marker are encrypted, it is raw At the visualization plain code area and not visibleization private mark area for being directed to trading activity.As a result, for based on the realization bar code payment of light and shade code Safety and accuracy.Further, it should be noted that plain code Qu Kewei bar code or two dimensional code, wherein need to illustrate It is that bar code includes but is not limited to small bar code or big bar code;Two dimensional code includes but is not limited to QR code or Chinese letter co etc. according to any raw The image shown in the form of transverse and longitudinal is alternate that ink recorder system generates, private mark Qu Kewei bar code or one-dimension code or NFC tags.By This, improves the correspondence in plain code area Yu private mark area technology, and the diversity and flexibility that show.
Step 106, the deconvolution parameter in convolutional neural networks is modified, obtains revised deconvolution parameter.
Specifically, be modified to the deconvolution parameter in convolutional neural networks, obtain revised deconvolution parameter include: by The bar code image information input including plain code area and private mark area difference information superposition obtained obtains each item to convolutional neural networks The corresponding feature vector of code image information;It is corresponding with the bar code image information of private mark area information superposition to calculate variant plain code area Characteristic central point;According to characteristic central point calculate variant plain code area and private mark area information superposition and same information plain code area with The similarity of the bar code image of private mark area superposition;Deconvolution parameter is modified according to similarity.Modified height is improved as a result, Effect property and accuracy.
In addition it is also necessary to explanation, according to characteristic central point calculate variant plain code area and private mark area information superposition with And the similarity of bar code image that same information plain code area is superimposed with private mark area includes: to calculate same information plain code area and private mark area The Euclidean distance of the feature vector of superposition and corresponding characteristic central point counts each feature vector and corresponds to Euclidean distance Stir situation, the similarity as variant plain code area and the bar code image of private mark area information superposition;Calculate variant plain code Euclidean distance between area and the characteristic central point of private mark area information superposition, it is folded as variant plain code area and private mark area information The similarity of the bar code image added.Wherein, counting each feature vector and corresponding to the situation of stirring of Euclidean distance includes: to calculate respectively Feature vector corresponds to the variance of Euclidean distance.In addition it is also necessary to which explanation, repairs deconvolution parameter according to similarity It is just including: the loss function that convolutional neural networks are constructed according to similarity, and according to loss function to the volume of convolutional neural networks Product parameter is modified.Those skilled in the art, which is also understood that, is, it is preferable that can also be based on stochastic gradient according to loss function Descending method is modified the deconvolution parameter of convolutional neural networks.
Step 108, it is extracted in occlusion area according to the image information feature that dual camera repeatedly obtains within a preset time The bar code image in plain code area and the bar code image in private mark area.
Step 110, the item in plain code area in occlusion area is extracted according to revised deconvolution parameter based on convolutional neural networks The characteristic information of the bar code image of the characteristic information and private mark area of code image, and by the characteristic information of the bar code image in plain code area Characteristic parameter and the characteristic parameter of characteristic information of bar code image in private mark area input the quality evaluation network constructed in advance Model obtains recognition result and completes to pay.
It should be noted that can directly be distinguished to the characteristic information of the bar code image in plain code area, to the bar code in private mark area The characteristic information of image needs first to decrypt, and is then distinguished.Safety and the accuracy of payment are improved as a result,.
In one embodiment, the bar code method of payment based on light and shade code that the disclosure proposes further include: collect bar code figure The bar code image of collection is divided into two training sets of low quality bar code image and high quality bar code image, to two training sets by picture Image be marked respectively;The low quality bar code image and high quality bar code image complete to label are trained, and construct matter Amount evaluation network model.In addition, it should be noted that, in one embodiment, the bar code based on light and shade code that the disclosure proposes Method of payment further include: commented if the characteristic parameter in occlusion area in the characteristic information of bar code image is lower than the quality constructed in advance Characteristic parameter in the characteristic information of bar code image in valence network model then enhances network model by the quality constructed in advance The quality for carrying out bar code image enhances operation.Wherein, quality enhancing network model is to learn high quality item using TP-GAN technology The low quality bar code image that label is completed is carried out the supplement of integrity degree and clarity and is converted into high quality by the characteristics of code image The model that bar code image building generates.
A kind of bar code method of payment based on light and shade code provided by the invention is being configured with LBS interface, time zone and longitude pair It is in the standby state according to the bar code reader of decoding mould group light-operated under table memory module, dual camera and screen, if detecting User blocks operation to the screen of bar code reader, then obtains the occlusion area that user blocks screen, wherein LBS interface It is configured for the control platform of bar code reader and the current position LBS of bar code reader is grabbed by it with predeterminated frequency, Judge the relationship between the current position LBS and fixed position;Time zone and longitude table of comparisons memory module are for calculating bar code reading The ontology time of device;Bar code reader includes light-operated under dual camera and the screen being arranged with respect to the predeterminable area of dual camera Mould group is decoded, dual camera is provided with the first polaroid, and light-operated decoding mould group is provided with the second polaroid, the first polarisation under screen Piece is consistent with the polarization direction of the second polaroid, and the first polaroid and the second polaroid are for filtering the first optical noise Wave, 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 screen Transmitting light in along the irradiation of screen axis of ordinates forward direction light, the second polaroid is for filtering the second optical noise Wave, the second optical noise are direct line, and direct line is to emit the light reversely irradiated in light along screen axis of ordinates;It mentions Take the image information of occlusion area, wherein image information includes plain code area and private mark area, and plain code area and private mark area correspond; Deconvolution parameter in convolutional neural networks is modified, revised deconvolution parameter is obtained;According to dual camera when default The interior image information feature repeatedly obtained extracts the bar code image in plain code area and the bar code image in private mark area in occlusion area; The characteristic information of the bar code image in plain code area in occlusion area is extracted according to revised deconvolution parameter based on convolutional neural networks And the characteristic information of the bar code image in private mark area, and by the characteristic parameter of the characteristic information of the bar code image in plain code area and private mark The characteristic parameter of the characteristic information of the bar code image in area inputs the quality evaluation network model constructed in advance, obtains recognition result And it completes to pay.The method increase the accuracy of bar code reading, meanwhile, safety, quick is provided for the realization of noninductive payment Property and applicability.
Based on the same inventive concept, a kind of bar code payment mechanism based on light and shade code is additionally provided.Since this device solves The principle of problem is similar to a kind of aforementioned bar code method of payment based on light and shade code, and therefore, the implementation of the device can be according to preceding The specific steps for stating method realize that overlaps will not be repeated.
As shown in Fig. 2, for the structural schematic diagram of bar code payment mechanism of one of the one embodiment based on light and shade code.It should Bar code payment mechanism 10 based on light and shade code includes: to obtain module 100 first to propose power module 200, correction module 300, second mention Modulus block 400 and identification and payment module 500.
Wherein, module 100 is obtained to be used for configured with LBS interface, time zone and longitude table of comparisons memory module, dual camera It is in the standby state with the bar code reader of decoding mould group light-operated under screen, if detecting user to the screen of bar code reader Curtain blocks operation, then obtains the occlusion area that user blocks screen;Wherein, LBS interface is configured for bar code reader Control platform with predeterminated frequency by its grab the current position LBS of bar code reader, judge the current position LBS and fixed bit Relationship between setting;Time zone and longitude table of comparisons memory module are used to calculate the ontology time of bar code reader;Bar code reading Device includes light-operated decoding mould group under the screen that the predeterminable area of dual camera and opposite dual camera is arranged, and dual camera is respectively provided with There is the first polaroid, light-operated decoding mould group is provided with the second polaroid, the polarisation side of the first polaroid and the second polaroid under screen To consistent, for being filtered to the first optical noise, the first optical noise is reflected light for the first polaroid and the second polaroid Line, reflection light are the light that the first light passes through screen reflection, and the first light is in the transmitting light of screen along the vertical seat of screen The light of parameter forward direction irradiation, for the second polaroid for being filtered to the second optical noise, the second optical noise is direct light Line, direct line are to emit the light reversely irradiated in light along screen axis of ordinates;First extraction module 200 hides for extracting Keep off the image information in region, wherein image information includes plain code area and private mark area, and plain code area and private mark area correspond;Amendment Module 300 obtains revised deconvolution parameter for being modified to the deconvolution parameter in convolutional neural networks;Second extracts mould The image information feature that block 400 is used to repeatedly be obtained within a preset time according to dual camera extracts plain code area in occlusion area Bar code image and the bar code image in private mark area;After identification is used to be based on convolutional neural networks according to amendment with payment module 500 Deconvolution parameter extract occlusion area in plain code area bar code image characteristic information and private mark area bar code image feature Information, and by the spy of the characteristic parameter of the characteristic information of the bar code image in plain code area and the characteristic information of the bar code image in private mark area Sign parameter inputs the quality evaluation network model constructed in advance, obtains recognition result and completes to pay.
A kind of bar code payment mechanism based on light and shade code provided by the invention is being configured with LBS by obtaining module first Under interface, time zone and longitude table of comparisons memory module, dual camera and screen it is light-operated decoding mould group bar code reader be in Under machine state, if detecting, user blocks operation to the screen of bar code reader, obtains user and blocks blocking for screen Region, wherein LBS interface is configured for the control platform of bar code reader and grabs bar code reading by it with predeterminated frequency The current position LBS of device judges the relationship between the current position LBS and fixed position;Time zone and longitude table of comparisons memory module For calculating the ontology time of bar code reader;Bar code reader includes the preset areas of dual camera and opposite dual camera Light-operated decoding mould group under the screen of domain setting, dual camera is provided with the first polaroid, and light-operated decoding mould group is provided with the under screen Two polaroids, the first polaroid is consistent with the polarization direction of the second polaroid, and the first polaroid and the second polaroid are used for the One optical noise is filtered, and the first optical noise is reflection light, and reflection light is the light that the first light passes through screen reflection Line, the first light are the light in the transmitting light of screen along the irradiation of screen axis of ordinates forward direction, and the second polaroid is used for the Two optical noises are filtered, and the second optical noise is direct line, and direct line is in transmitting light along screen axis of ordinates The light reversely irradiated;The image information of occlusion area is extracted by the first extraction module, wherein image information includes plain code area With private mark area, plain code area and private mark area are corresponded;The deconvolution parameter in convolutional neural networks is repaired by correction module Just, revised deconvolution parameter is obtained;The figure repeatedly obtained within a preset time by the second extraction module according to dual camera As information characteristics extract the bar code image in plain code area and the bar code image in private mark area in occlusion area;Eventually by identification and branch Pay the spy that module extracts the bar code image in plain code area in occlusion area based on convolutional neural networks according to revised deconvolution parameter The characteristic information of reference breath and the bar code image in private mark area, and by the characteristic parameter of the characteristic information of the bar code image in plain code area The quality evaluation network model constructed in advance is inputted with the characteristic parameter of the characteristic information of the bar code image in private mark area, is obtained and is known Other result simultaneously is completed to pay.The arrangement increases the accuracy of bar code reading, meanwhile, the realization for noninductive payment provides safety Property, agility and applicability.
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 bar code method of payment based on light and shade code, which comprises the following steps:
The bar code of light-operated decoding mould group under configured with LBS interface, time zone and longitude table of comparisons memory module, dual camera and screen Reading device is in the standby state, if detecting, user blocks operation to the screen of the bar code reader, is obtained User blocks the occlusion area of the screen;Wherein, the control that the LBS interface is configured for the bar code reader is put down Platform grabs the current position LBS of bar code reader by it with predeterminated frequency, judge the current position LBS and fixed position it Between relationship;The time zone and longitude table of comparisons memory module are used to calculate the ontology time of the bar code reader;It is described Light-operated decoding under the screen of the predeterminable area setting including dual camera and the relatively described dual camera of bar code reader Mould group, the dual camera are provided with the first polaroid, and light-operated decoding mould group is provided with the second polaroid under the screen, described First polaroid is consistent with the polarization direction of second polaroid, first polaroid and second polaroid for pair First optical noise is filtered, and first optical noise is reflection light, and the reflection light passes through institute for the first light The light of screen reflection is stated, first light is to irradiate in the transmitting light of the screen along the screen axis of ordinates forward direction Light, for second polaroid for being filtered to the second optical noise, second optical noise is direct line, institute Stating direct line is the light reversely irradiated in the transmitting light along the screen axis of ordinates;
Extract the image information of the occlusion area, wherein described image information includes plain code area and private mark area, the plain code area It is corresponded with the private mark area;
Deconvolution parameter in convolutional neural networks is modified, revised deconvolution parameter is obtained;
The image information feature repeatedly obtained within a preset time according to the dual camera extracts described in the occlusion area The bar code image in plain code area and the bar code image in the private mark area;
Plain code area described in the occlusion area is extracted according to the revised deconvolution parameter based on the convolutional neural networks Bar code image characteristic information and the private mark area bar code image characteristic information, and by the bar code figure in the plain code area The characteristic parameter of the characteristic information of picture and the characteristic parameter of the characteristic information of the bar code image in the private mark area are defeated Enter the quality evaluation network model constructed in advance, obtain recognition result and completes to pay.
2. the bar code method of payment according to claim 1 based on light and shade code, which is characterized in that further include: to being laid in The configuration of multiple scenes is suitable for the dual camera of bar code reading and the bar code of the control system based on central processing unit is known Read apparatus carries out networking, and to the bar code of the support and input equipment and printing equipment synergistic application that are laid in multiple scenes Reading device, the electric terminal of the control bar code reader and server cluster three are attached, wherein support with The input equipment and the bar code reader of the printing equipment synergistic application include that at least one knows suitable for bar code The camera of reading, the light that at least one described camera for being suitable for bar code reading is used for 360 ° of full angles of real-time perception become Change, will pass through the variation operation that the central processing unit triggering liquid crystal display completes display content.
3. the bar code method of payment according to claim 2 based on light and shade code, which is characterized in that described pair be laid in it is multiple The support of scene and input equipment and the bar code reader of printing equipment synergistic application, the control bar code reader Electric terminal and server cluster three to be attached include: at least one institute that multiple scenes will be laid in by WIFI Bar code reader is stated to be attached with cloud server cluster;
By at least one the described bar code reader for being laid in multiple scenes and the bar code reading is controlled by bluetooth connection The electric terminal of device is attached.
4. the bar code method of payment according to claim 1 based on light and shade code, which is characterized in that further include: collect bar code The bar code image of collection is divided into two training sets of low quality bar code image and high quality bar code image, to two training by image The image of collection is marked respectively;
The low quality bar code image and high quality bar code image complete to label are trained, and construct the quality evaluation network mould Type.
5. the bar code method of payment according to claim 1 based on light and shade code, which is characterized in that further include: if the screening The characteristic parameter in gear region in the characteristic information of bar code image is lower than the quality evaluation network constructed in advance The characteristic parameter in the characteristic information of bar code image in model then enhances network mould by the quality constructed in advance The quality that type carries out bar code image enhances operation.
6. the bar code method of payment according to claim 5 based on light and shade code, which is characterized in that the quality enhances network Model is the characteristics of learning high quality bar code image using TP-GAN technology, and the low quality bar code image that label is completed carries out The supplement of integrity degree and clarity is simultaneously converted into the model that the building of high quality bar code image generates.
7. the bar code method of payment according to claim 1 based on light and shade code, which is characterized in that described to convolutional Neural net Deconvolution parameter in network is modified, and is obtained revised deconvolution parameter and is included:
What be will acquire includes the bar code image information input of plain code area and private mark area difference information superposition to convolutional Neural net Network obtains the corresponding feature vector of each bar code image information;
Calculate variant plain code area characteristic central point corresponding with the bar code image information of private mark area information superposition;
According to the variant plain code area of characteristic central point calculating and private mark area information superposition and same information plain code area and secretly The similarity of the bar code image of code area superposition;
The deconvolution parameter is modified according to the similarity.
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 bar code payment mechanism based on light and shade code, which is characterized in that described device includes:
Module is obtained, for light-operated under configured with LBS interface, time zone and longitude table of comparisons memory module, dual camera and screen The bar code reader of decoding mould group is in the standby state, if detecting screening of the user to the screen of the bar code reader Gear operation, then obtain the occlusion area that user blocks the screen;Wherein, the LBS interface is configured for the bar code knowledge The control platform of read apparatus grabs the current position LBS of bar code reader by it with predeterminated frequency, judges LBS current Set the relationship between fixed position;The time zone and longitude table of comparisons memory module are for calculating the bar code reader The ontology time;The bar code reader includes the screen of the predeterminable area setting of dual camera and the relatively described dual camera Under light-operated decoding mould group, the dual camera is provided with the first polaroid, and light-operated decoding mould group is provided with second under the screen Polaroid, first polaroid is consistent with the polarization direction of second polaroid, first polaroid and described second For polaroid for being filtered to the first optical noise, first optical noise is reflection light, and the reflection light is the One light passes through the light of the screen reflection, and first light is in the transmitting light of the screen along the vertical seat of the screen The light of parameter forward direction irradiation, second polaroid is for being filtered the second optical noise, second optical noise For direct line, the direct line is the light reversely irradiated in the transmitting light along the screen axis of ordinates;
First extraction module, for extracting the image information of the occlusion area, wherein described image information include plain code area and Private mark area, the plain code area and the private mark area correspond;
Correction module obtains revised deconvolution parameter for being modified to the deconvolution parameter in convolutional neural networks;
Second extraction module, the image information feature for repeatedly being obtained within a preset time according to the dual camera extract institute State the bar code image of plain code area described in occlusion area and the bar code image in the private mark area;
Identification and payment module, for extracting the screening according to the revised deconvolution parameter based on the convolutional neural networks The characteristic information of the characteristic information of the bar code image in plain code area described in region and the bar code image in the private mark area is kept off, and will The feature of the characteristic parameter of the characteristic information of the bar code image in the plain code area and the bar code image in the private mark area The characteristic parameter of information inputs the quality evaluation network model constructed in advance, obtains recognition result and completes to pay.
CN201910205263.9A 2019-03-18 2019-03-18 Bar code method of payment and device based on light and shade code Withdrawn CN109977717A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910205263.9A CN109977717A (en) 2019-03-18 2019-03-18 Bar code method of payment and device based on light and shade code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910205263.9A CN109977717A (en) 2019-03-18 2019-03-18 Bar code method of payment and device based on light and shade code

Publications (1)

Publication Number Publication Date
CN109977717A true CN109977717A (en) 2019-07-05

Family

ID=67079374

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910205263.9A Withdrawn CN109977717A (en) 2019-03-18 2019-03-18 Bar code method of payment and device based on light and shade code

Country Status (1)

Country Link
CN (1) CN109977717A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112836779A (en) * 2021-02-04 2021-05-25 北京戴纳实验科技有限公司 One-dimensional code format and printing device thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101984456A (en) * 2010-10-20 2011-03-09 福建省优艾迪网络信息有限公司 Preparation method of multiple-expression tag of master-slave plain-secret code
CN108921181A (en) * 2018-08-02 2018-11-30 广东工业大学 A kind of local image characteristics extracting method, device, system and readable storage medium storing program for executing
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101984456A (en) * 2010-10-20 2011-03-09 福建省优艾迪网络信息有限公司 Preparation method of multiple-expression tag of master-slave plain-secret code
CN108921181A (en) * 2018-08-02 2018-11-30 广东工业大学 A kind of local image characteristics extracting method, device, system and readable storage medium storing program for executing
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 (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112836779A (en) * 2021-02-04 2021-05-25 北京戴纳实验科技有限公司 One-dimensional code format and printing device thereof
CN112836779B (en) * 2021-02-04 2023-10-31 北京戴纳实验科技有限公司 Printing device of one-dimensional code format

Similar Documents

Publication Publication Date Title
CN109670819A (en) Double vehicle positioning stop fields method of payment and device based on GPS and LBS
CN109859410A (en) A kind of wisdom terminal automatic teller machine and its application
CN110210878A (en) Commodity source tracing method and device based on two dimension code reading device
CN106339648A (en) Scanner including a switchable mirror
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
CN109961283A (en) Two dimensional code method of payment and device based on dynamic password and digital certificate
CN109886672A (en) Two dimensional code method of payment and device based on dual camera
CN109886671A (en) Two dimensional code method of payment and device based on double screen
CN109636405A (en) Barcode scanning method of payment and device based on face identification functions
CN109901865A (en) The method and apparatus of firmware upgrade
CN109614964A (en) Suitable for the fingerprint identification method and device under shielding
CN109658107A (en) Barcode scanning method of payment and device based on biological characteristic identification function
CN109977717A (en) Bar code method of payment and device based on light and shade code
CN109872147A (en) Noninductive method of payment and device based on LBS
CN109829350A (en) The two dimensional code method of payment and device of compatible for wired and wireless two-channel access public network
JP6136484B2 (en) Information code display medium
CN109903038A (en) The two dimensional code method of payment and device that multi information is superimposed under complex background
CN109903403A (en) Expressway tol lcollection method and device based on LBS
CN109978090A (en) The method of payment and device combined based on two dimensional code and private mark
CN105452007B (en) Method for verifying genuineness of document
CN209216152U (en) Support the payment mechanism of the passive barcode scanning of external equipment
CN109872146A (en) Third party&#39;s interface call method and system based on two dimension code reading device
CN109902526A (en) Two dimensional code method of payment and device based on quantum communication network
CN109886054A (en) The two dimensional code method of payment and device of compatible for wired and wireless two-channel access Intranet

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20190705

WW01 Invention patent application withdrawn after publication