CN105654012A - POS code scanning payment method and device - Google Patents
POS code scanning payment method and device Download PDFInfo
- Publication number
- CN105654012A CN105654012A CN201511025083.0A CN201511025083A CN105654012A CN 105654012 A CN105654012 A CN 105654012A CN 201511025083 A CN201511025083 A CN 201511025083A CN 105654012 A CN105654012 A CN 105654012A
- Authority
- CN
- China
- Prior art keywords
- pos
- barcode
- barcode scanning
- bar code
- light
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/10544—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum
- G06K7/10712—Fixed beam scanning
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/10544—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum
- G06K7/10821—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum further details of bar or optical code scanning devices
- G06K7/10861—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum further details of bar or optical code scanning devices sensing of data fields affixed to objects or articles, e.g. coded labels
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07G—REGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
- G07G1/00—Cash registers
- G07G1/0036—Checkout procedures
- G07G1/0045—Checkout procedures with a code reader for reading of an identifying code of the article to be registered, e.g. barcode reader or radio-frequency identity [RFID] reader
- G07G1/0081—Checkout procedures with a code reader for reading of an identifying code of the article to be registered, e.g. barcode reader or radio-frequency identity [RFID] reader the reader being a portable scanner or data reader
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Electromagnetism (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Toxicology (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Theoretical Computer Science (AREA)
- Cash Registers Or Receiving Machines (AREA)
Abstract
The invention discloses a POS code scanning payment method and device. The method includes the following steps that: S1, a barcode is aligned with the front-surface camera of a POS machine, the image frame sequence of the barcode is collected; and S2, image frame sequence data are transmitted to a data decoding module, and decoding is carried out. With the POS code scanning payment method provided by the above technical schemes of the invention adopted, operation is convenient, and code scanning can be realized without holding the heavy POS machine required.
Description
Technical field
The present invention relates to image decoding technique field, especially relate to a kind of POS barcode scanning payment procedure and device.
Background technology
Traditional barcode scanning payment system is all the camera collection bar code image utilizing the back side, owing to external light source is general all above barcode, the design of back side camera is convenient to utilize ambient, barcode paper is avoided to be in backlight state, opening simultaneously and mending light lamp is that camera mends light, guarantee to gather bar code image when light abundance, to be the bar code image frame sequence of decoder module transmission better quality.
Meanwhile, present mobile telephone bar code pays the big focus having become payment, and micro-letter barcode pays, pays releasing one after another of precious barcode payment so that barcode pays under becoming line the main flow mode paid. People go on a journey even without the need to cash, as long as a smart mobile phone can realize payment, the module that POS pays for mobile telephone bar code is also arisen at the historic moment thereupon. But this kind of mode needs to pick up POS and carries out barcode scanning, and it is convenient not to operate; And user does not make full use of the characteristic of mobile telephone bar code self with regard to being camera benefit light, the wasting of resources, can there is unnecessary benefit light in some, cause unnecessary current consumption.
Summary of the invention
Technical problem to be solved by this invention is: provides a kind of carrying based on POS front camera to mend the light lamp barcode modes of payments, utilizes the light that mobile phone screen penetrates, for camera provides light source, and do not need additionally to mend light. Meanwhile, during for usual bar code paper, adaptability is opened and is mended light lamp, meets wider barcode scanning demand.
In order to solve the problems of the technologies described above, the technical solution used in the present invention is: provides a kind of POS barcode scanning payment procedure, comprising:
S1: barcode is directed at POS front camera, gathers the sequence of image frames of barcode;
S2: transmit described sequence of image frames to data decode module, decode.
For solving the problem, the present invention also provides a kind of POS barcode scanning to pay device, comprising:
Image capture module, comprises the front camera being located at device front, for gathering bar code image frame sequence;
Control module, for whether control opens front image pickup mode to gather bar code image frame sequence;
Data decode module, for decoding bar code image.
The useful effect of the present invention is: be different from prior art, and the present invention, by barcode is directed at POS front camera, gathers the sequence of image frames of barcode; And it is sent to data decode module, decode, pay to realize POS barcode scanning. The present invention is easy to operate, need not hold the POS holding heaviness and can carry out barcode scanning.
Accompanying drawing explanation
Fig. 1 is the outward appearance front schematic view of the bar code payment system based on POS front camera of the specific embodiment of the invention;
The bar code based on POS front camera that Fig. 2 is the specific embodiment of the invention pays device schematic diagram;
Fig. 3 is the bar code payment system schematic flow sheet based on POS front camera of the specific embodiment of the invention.
Embodiment
By the technology contents of the present invention being described in detail, is realized object and effect, below in conjunction with enforcement mode and coordinate accompanying drawing to be explained.
The design of most critical of the present invention is: when barcode is directed at POS front camera, judges whether to need to mend light, mends light with selectively unlocking, it is achieved gather image, and decode.
The embodiment of the present invention one provides a kind of POS barcode scanning payment procedure, comprising:
S1: barcode is directed at POS front camera, gathers the sequence of image frames of barcode;
S2: transmit described sequence of image frames to data decode module, decode.
Wherein, in step S1, if barcode is on the carrier needing benefit light, then opens and mend light lamp; If barcode is in without the need on the carrier mending light, then directly barcode being directed at camera. Here the carrier mending light that needs comprises barcode paper; The described carrier without the need to mending light comprises mobile terminal.
In actually operating, it is necessary to before carrying out barcode scanning, it is necessary to perform step S0: open POS front camera. After opening front camera, it may be preferred that described camera field depth is 30��500mm; When barcode is directed at POS front camera, it is 50��200mm with front camera distance.
Being different from prior art, the present invention, by barcode is directed at POS front camera, gathers the sequence of image frames of barcode; And it is sent to data decode module, decode, pay to realize POS barcode scanning. The present invention is easy to operate, need not hold the POS holding heaviness and can carry out barcode scanning.
Holding, the embodiment of the present invention two correspondence provides a kind of POS barcode scanning to pay device, comprising:
Image capture module, comprises the front camera being located at device front;
Control module, for whether control opens front image pickup mode to gather bar code image frame sequence;
Data decode module, for decoding bar code image.
Wherein, also comprising illumination module, described illumination module comprises at least one and mends light lamp, mends the On/Off of light lamp by control module control; When being in the carrier needing to mend light when barcode, can open and mend light lamp. Described POS barcode scanning pays device front and also comprises a benefit photoswitch being connected with control module, for controlling the On/Off of illumination module.
During decoding, described data decode module uses ZBar to be decoded by bar code image. Preferably, during decoding, described camera field depth is set to 30��500mm.
Understand technical solution of the present invention for convenience, it is described in detail by specific embodiment below in conjunction with accompanying drawing.
First, the present invention is to provide a kind of bar code modes of payments carrying benefit light lamp based on POS front camera, when the bar code obtained is mobile terminal barcode, it is possible to utilize the light that mobile terminal screen penetrates, for camera provides light source, and do not need additionally to open for camera to mend light lamp. The setting of front camera, when not moving POS, it is only necessary to mobile terminal recalls barcode, screen is directed at POS down, just can realize barcode scanning and pay, easy to operate. Meanwhile, when bar code is common bar code paper, can open in good time mend light lamp, meet the barcode scanning demand of common bar code paper.
Mobile terminal of the present invention can be mobile phone, panel computer or other are with the electronics that can show bar code screen.
Fig. 1 is the outward appearance front schematic view of the bar code payment system based on POS front camera of the embodiment of the present invention, the barcode scanning that the present invention realizes mobile terminal barcode with front camera pays, do not need to open LED light supplement lamp, cost-saving, this design simultaneously only needs mobile terminal barcode is directed at camera, and do not need mobile POS, design reasonableness more, operate more convenient.
The bar code based on POS front camera that Fig. 2 is the embodiment of the present invention pays device, and as shown in Figure 2, system of the present invention comprises control module, image capture module and data decode module, wherein:
Control module comprises camera control unit. Camera control unit is electrically connected with image capture module, and when image pickup mode control unit receives the signal starting to gather bar code image, control front camera is started to gather bar code image by this unit.
Specifically, image capture module can be made up of traditional analog or digital cameras more than 300,000 pixels, the front camera of construction system, and described control module is electrically connected with this module, by camera control unit, whether control is opened front image pickup mode and is gathered bar code image frame sequence;
Described control module at least comprises shooting switch control unit, signal light control unit.
Described illumination module is made up of one or more LED light supplement lamp, is electrically connected with control module, is realized the unlatching of LED light supplement lamp by the signal light control unit of control module.
Described shooting switch control unit, is electrically connected with image capture module, opens front camera by this control unit.
The front of described payment device can arrange a benefit photoswitch, and described benefit photoswitch is connected with described control module, when barcode needs to mend light, can open illumination module by Non-follow control benefit photoswitch.
The present invention also provides the bar code payment scheme of a kind of system described above: mend light guide button by arranging, it is achieved the unlatching of artificial controlled benefit light lamp. Adopt POS front camera collection bar code image, when bar code is mobile phone bar code, utilize the characteristic of mobile phone screen carrys itself illuminating device, it is not necessary to open LED light supplement lamp, save energy; When bar code is common bar code paper, pressing and mend light guide button, opening LED light supplement lamp is that camera mends light, facilitates camera collection high quality bar code image frame sequence. Simultaneously without the need to mobile POS so that barcode scanning pays convenient.
As shown in Figure 3, it is the bar code payment system schematic flow sheet based on POS front camera of the embodiment of the present invention. The concrete implementation step of the embodiment of the present invention is as follows:
1. people's eye judges that bar code is mobile phone bar code or common bar code paper, if mobile phone bar code, performs step S2, otherwise performs step S4;
2. mobile phone recalls barcode;
3. camera control unit control image capture module enters front camera image pickup mode, and mobile phone bar code is placed in camera 50��200mm place, distance POS front, and alignment front camera, carries out bar code image collection, perform step S5;
4. camera control unit control image capture module enters front camera image pickup mode, presses and mends light guide button, opens LED light supplement lamp, bar code paper is placed in camera 50��200mm place, distance POS front, and alignment front camera, carries out bar code image collection;
5. transmit bar code sequence of image frames to data decode module, use ZBar to decode;
6.POS machine completes barcode scanning and pays.
At this, choosing of camera is done a supplementary explanation, when POS carries out barcode scanning payment, bar code and camera distance are general at 50��200mm, for ensureing that the bar code image sharpness obtained and target are in the appropriate degree of entire image proportion, camera field depth should control at about 30��500mm.
In addition, data decode module can use the code ZBar that increases income to decode, but is not limited to ZBar, and on decoding process, those skilled in the art can do some distortion on this basis or optimize.
Bar code payment system based on POS front camera adopts the design of front camera can make full use of the feature (automatic light source) of mobile phone bar code, adopt front image pickup mode, when not needing to mend light for camera, it is achieved the barcode scanning of mobile phone bar code pays. Inventive design has more practicality and convenience.
The foregoing is only embodiments of the invention; not thereby the patent scope of the present invention is limited; every equivalents utilizing specification sheets of the present invention and accompanying drawing content to do, or directly or indirectly it is used in relevant technical field, all it is included in the scope of patent protection of the present invention with reason.
Claims (10)
1. a POS barcode scanning payment procedure, it is characterised in that, comprising:
S1: barcode is directed at POS front camera, gathers the sequence of image frames of barcode;
S2: transmit described sequence of image frames to data decode module, decode.
2. POS barcode scanning payment procedure according to claim 1, it is characterised in that, in step S1, if barcode is on the carrier needing benefit light, then opens and mend light lamp; If barcode is in without the need on the carrier mending light, then directly barcode being directed at camera.
3. POS barcode scanning payment procedure according to claim 1, it is characterised in that, before step S1, also comprise:
S0: open POS front camera.
4. POS barcode scanning payment procedure according to claim 1, it is characterised in that,
Described camera field depth is 30��500mm;
When barcode is directed at POS front camera, it is 50��200mm with front camera distance.
5. POS barcode scanning payment procedure according to claim 2, it is characterised in that, described need mend light carrier comprise barcode paper; The described carrier without the need to mending light comprises mobile terminal.
6. a POS barcode scanning pays device, it is characterised in that, comprising:
Image capture module, comprises the front camera being located at device front;
Control module, for whether control opens front image pickup mode to gather bar code image frame sequence;
Data decode module, for decoding bar code image.
7. POS barcode scanning according to claim 6 pays device, it is characterised in that, also comprise:
Illumination module, comprises at least one and mends light lamp, mends the On/Off of light lamp by control module control; When being in the carrier needing to mend light when barcode, can open and mend light lamp.
8. POS barcode scanning according to claim 6 pays device, it is characterised in that, described data decode module uses ZBar to be decoded by bar code image.
9. POS barcode scanning according to claim 7 pays device, it is characterised in that, device front also comprises a benefit photoswitch being connected with control module, for controlling the On/Off of illumination module.
10. POS barcode scanning according to claim 5 pays device, it is characterised in that, described camera field depth is 30��500mm.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511025083.0A CN105654012A (en) | 2015-12-30 | 2015-12-30 | POS code scanning payment method and device |
PCT/CN2016/092344 WO2017113784A1 (en) | 2015-12-30 | 2016-07-29 | Barcode scanning payment method and apparatus of pos terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511025083.0A CN105654012A (en) | 2015-12-30 | 2015-12-30 | POS code scanning payment method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105654012A true CN105654012A (en) | 2016-06-08 |
Family
ID=56490908
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201511025083.0A Pending CN105654012A (en) | 2015-12-30 | 2015-12-30 | POS code scanning payment method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105654012A (en) |
WO (1) | WO2017113784A1 (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017113784A1 (en) * | 2015-12-30 | 2017-07-06 | 福建联迪商用设备有限公司 | Barcode scanning payment method and apparatus of pos terminal |
CN107609434A (en) * | 2017-07-28 | 2018-01-19 | 福建联迪商用设备有限公司 | A kind of method and its system for testing barcode scanning equipment performance |
CN107704182A (en) * | 2017-09-29 | 2018-02-16 | 维沃移动通信有限公司 | A kind of barcode scanning method and mobile terminal |
CN107798268A (en) * | 2016-09-02 | 2018-03-13 | 东芝泰格有限公司 | Article reading device and control method, terminal device, computer-readable recording medium |
CN107808284A (en) * | 2017-11-17 | 2018-03-16 | 上海瀚银信息技术有限公司 | A kind of method of payment based on POS system |
CN110677595A (en) * | 2019-10-16 | 2020-01-10 | 广东旭龙物联科技股份有限公司 | Exposure control method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201622651U (en) * | 2009-12-29 | 2010-11-03 | 江西科技师范学院 | Wireless POS machine supporting two-dimensional bar code recognition |
US20110309138A1 (en) * | 2010-06-17 | 2011-12-22 | Mstar Semiconductor, Inc. | Barcode Image Recognition System and Associated Method for Hand-Held Device |
CN204557682U (en) * | 2015-04-25 | 2015-08-12 | 张志超 | A kind of intelligent financial POS machine device |
CN105138940A (en) * | 2015-08-14 | 2015-12-09 | 福建联迪商用设备有限公司 | Light supplementing method in two-dimensional code scanning and system thereof |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN200969098Y (en) * | 2006-06-20 | 2007-10-31 | 北京意锐新创科技有限公司 | Hand-hold two-dimensional bar code reader |
CN104598862A (en) * | 2015-01-04 | 2015-05-06 | 江苏智联天地科技有限公司 | Miniature embedded code scanning system and method for mobile intelligent terminal |
CN105654634A (en) * | 2015-12-30 | 2016-06-08 | 福建联迪商用设备有限公司 | Mobile terminal payment method |
CN105654012A (en) * | 2015-12-30 | 2016-06-08 | 福建联迪商用设备有限公司 | POS code scanning payment method and device |
-
2015
- 2015-12-30 CN CN201511025083.0A patent/CN105654012A/en active Pending
-
2016
- 2016-07-29 WO PCT/CN2016/092344 patent/WO2017113784A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201622651U (en) * | 2009-12-29 | 2010-11-03 | 江西科技师范学院 | Wireless POS machine supporting two-dimensional bar code recognition |
US20110309138A1 (en) * | 2010-06-17 | 2011-12-22 | Mstar Semiconductor, Inc. | Barcode Image Recognition System and Associated Method for Hand-Held Device |
CN204557682U (en) * | 2015-04-25 | 2015-08-12 | 张志超 | A kind of intelligent financial POS machine device |
CN105138940A (en) * | 2015-08-14 | 2015-12-09 | 福建联迪商用设备有限公司 | Light supplementing method in two-dimensional code scanning and system thereof |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017113784A1 (en) * | 2015-12-30 | 2017-07-06 | 福建联迪商用设备有限公司 | Barcode scanning payment method and apparatus of pos terminal |
CN107798268A (en) * | 2016-09-02 | 2018-03-13 | 东芝泰格有限公司 | Article reading device and control method, terminal device, computer-readable recording medium |
CN107798268B (en) * | 2016-09-02 | 2021-01-26 | 东芝泰格有限公司 | Article reading apparatus, control method, terminal device, and computer-readable storage medium |
CN107609434A (en) * | 2017-07-28 | 2018-01-19 | 福建联迪商用设备有限公司 | A kind of method and its system for testing barcode scanning equipment performance |
CN107609434B (en) * | 2017-07-28 | 2020-05-19 | 福建联迪商用设备有限公司 | Method and system for testing performance of code scanning equipment |
CN107704182A (en) * | 2017-09-29 | 2018-02-16 | 维沃移动通信有限公司 | A kind of barcode scanning method and mobile terminal |
CN107808284A (en) * | 2017-11-17 | 2018-03-16 | 上海瀚银信息技术有限公司 | A kind of method of payment based on POS system |
CN107808284B (en) * | 2017-11-17 | 2021-12-28 | 上海瀚银信息技术有限公司 | Payment method based on POS machine system |
CN110677595A (en) * | 2019-10-16 | 2020-01-10 | 广东旭龙物联科技股份有限公司 | Exposure control method and device |
Also Published As
Publication number | Publication date |
---|---|
WO2017113784A1 (en) | 2017-07-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105654012A (en) | POS code scanning payment method and device | |
CN105654633A (en) | POS code scanning payment method, system and device | |
CN105654634A (en) | Mobile terminal payment method | |
CN103220421B (en) | Method and device for using mobile terminal to carry out self photographing | |
CN105138940A (en) | Light supplementing method in two-dimensional code scanning and system thereof | |
WO2019184809A1 (en) | Suspension touch camera module, electronic device and touch method | |
CN209105238U (en) | A kind of double screen smart phone with foldable vice screen | |
CN105721748A (en) | Photographing control device and auxiliary flash control device | |
CN116405783A (en) | Shooting light supplementing method and related device | |
CN101207955B (en) | Energy-saving lamp light scene synchronous controller | |
WO2024032379A1 (en) | Optical information collector and method therefor | |
CN212694810U (en) | High-partition regional light control television | |
CN105791694A (en) | Shooting control device, auxiliary flashing device and auxiliary flashing control system | |
CN102223475A (en) | Identification card photographing terminal equipment | |
CN111008536A (en) | Characteristic information acquisition method, system and storage medium based on wireless burning | |
CN115396572B (en) | Optical information collector and method | |
CN100365490C (en) | Backlight module, LCD unit, and method for driving backlight module | |
CN115426442B (en) | Optical information collector and method | |
CN201491129U (en) | Camera with day and night switching filters | |
CN101577080A (en) | TV display system and display method thereof under power saving mode | |
CN207218885U (en) | A kind of intelligent terminal auto-exposure control structure for wireless light communication | |
CN105913587A (en) | Password keyboard, payment terminal integrating camera module, and payment method of payment terminal integrating camera module | |
CN102117521A (en) | Method and system for information collection and recognition for non-cash payment | |
CN114070916B (en) | Shooting light supplementing method and related device | |
CN201937710U (en) | Mobile terminal with function of magnifying glass |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160608 |
|
RJ01 | Rejection of invention patent application after publication |