CN111539714A - Terminal suitable for mobile code scanning payment and implementation method thereof - Google Patents

Terminal suitable for mobile code scanning payment and implementation method thereof Download PDF

Info

Publication number
CN111539714A
CN111539714A CN202010311230.5A CN202010311230A CN111539714A CN 111539714 A CN111539714 A CN 111539714A CN 202010311230 A CN202010311230 A CN 202010311230A CN 111539714 A CN111539714 A CN 111539714A
Authority
CN
China
Prior art keywords
module
main controller
terminal
imaging component
radio frequency
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010311230.5A
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.)
Fuzhou Symbol Information Technology Co ltd
Original Assignee
Fuzhou Symbol Information 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 Fuzhou Symbol Information Technology Co ltd filed Critical Fuzhou Symbol Information Technology Co ltd
Priority to CN202010311230.5A priority Critical patent/CN111539714A/en
Publication of CN111539714A publication Critical patent/CN111539714A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/327Short range or proximity payments by means of M-devices
    • G06Q20/3274Short range or proximity payments by means of M-devices using a pictured code, e.g. barcode or QR-code, being displayed on the M-device
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/12Cash registers electronically operated
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene

Abstract

The invention relates to a terminal suitable for mobile code scanning payment and an implementation method thereof, wherein the terminal comprises an infrared distance measuring module, an imaging component module, a communication module and an operation storage module which are in communication connection with a main controller, when the infrared distance measuring module detects that a target object exists in front of the terminal, code scanning recognition is triggered, and the infrared distance measuring module measures a distance value between the target object and the imaging component module and sends the distance value to the main controller; the operation storage module stores a database of exposure parameters which are corresponding to different distance values and are to be executed by the imaging component module, the main controller reads the corresponding exposure parameters from the database according to the distance values, and then the exposure parameters of the imaging component module are set; the imaging component module collects images and sends related image data to the main controller, the main controller attempts decoding on the image data, the successfully decoded bar code data is sent to the communication module, and the bar code data is transmitted to the outside. The invention improves the decoding depth of field range, the decoding performance of the unconventional bar code and the product universality.

Description

Terminal suitable for mobile code scanning payment and implementation method thereof
Technical Field
The invention relates to a terminal suitable for mobile code scanning payment and an implementation method thereof, and belongs to the field of code scanning payment equipment.
Background
With the supplement of mobile internet and mobile payment, mobile code scanning payment becomes a habit. An existing mobile code scanning payment method is as follows: and the code scanning payment box of the merchant scans the payment bar code generated by the intelligent terminal of the consumer to finish payment.
The existing code scanning payment box has the following problems: 1. it is fixed to sweep the focus and the exposure parameter of the imaging element module on the sign indicating number payment box, and simultaneously, the illumination intensity of light filling lamp also is fixed and sets for this type sweep sign indicating number payment box only can just have better bar code recognition decoding performance when suitable to the bar code and the light filling lamp intensity of some conventional use scenes. For some unconventional printed bar codes or bar codes with different sizes from commonly used bar codes (such as bar codes for mobile payment and bar codes for commodity packaging printing), such as high-precision bar codes and long bar codes, the limitation of the depth of field range of a camera and the fill-in light brightness of a terminal is caused, the unconventional bar codes enable bar code reading and decoding terminal equipment to be successfully decoded only in a specific range, and otherwise, image blurring or image over-explosion is easily caused. The user must try many times to find a proper position when paying, and the use experience of the user is greatly influenced. 2. Sweep code payment box's trigger scanning mode and include that the button triggers, continuous recognition, auto-induction etc. these trigger recognition modes have certain limitation, and the button triggers need manual operation, and imaging component module, main control unit, wireless module transmission module etc. are all in power-on operating condition when continuous recognition, produce very big consumption, and the auto-induction mode causes the spurious triggering again easily. 3. After scanning the payment bar code by scanning the code payment box, the bar code data of output do not contain the acquisition time, when bar code data met the unable circumstances of uploading in real time, be in the stand-alone collection state promptly, only can with bar code data temporary storage in the memory, the bar code data of gathering appears the confusion easily, is difficult to manage and can't trace back.
Disclosure of Invention
In order to solve the technical problems, the invention provides a terminal suitable for mobile code scanning payment, which automatically focuses according to the distance between a target object and an imaging component module, automatically sets an optimal exposure value, automatically sets an optimal light supplement lamp intensity, improves the range of the depth of field of decoding, particularly improves the decoding performance of an unconventional bar code, and improves the universality and the application range of a product.
The first technical scheme of the invention is as follows:
a terminal suitable for mobile code scanning payment comprises a main controller, an infrared distance measuring module, an imaging component module, a communication module, a power module and an operation storage module, wherein the infrared distance measuring module, the imaging component module, the communication module and the operation storage module are all in communication connection with the main controller, and the power module provides a working power supply for other modules in the terminal; when the infrared ranging module detects that a target object exists in front of the terminal, code scanning reading is triggered, and the infrared ranging module measures a distance value between the target object and the imaging component module and sends the distance value to the main controller; the operation storage module stores a database of exposure parameters to be executed by the imaging component modules corresponding to different distance values, and the main controller reads the corresponding exposure parameters from the database according to the distance values and then sets the exposure parameters of the imaging component modules; the imaging component module collects images and sends related image data to the main controller, the main controller performs decoding attempt on the image data, the successfully decoded bar code data is sent to the communication module, and the successfully decoded bar code data is transmitted to the outside through the communication module.
Preferably, the terminal further comprises a supplementary lighting module connected with the main controller, and the database of the operation storage module further stores lighting supplementary lighting parameters corresponding to different distance values; when the code scanning is triggered, the infrared ranging module sends the distance value to a main controller; and the main controller also reads the corresponding lighting supplementary lighting parameters from the database according to the distance values, and then sets the lighting supplementary lighting parameters of the supplementary lighting module.
Preferably, the imaging component module is an imaging component module with a variable focal length, and the database of the operation storage module further stores focal length parameters corresponding to different distance values; when the code scanning is triggered, the infrared ranging module sends the distance value to a main controller; and the main controller also reads the corresponding focal length parameter from the database according to the distance value, and then controls the focal length of the lens in the imaging component module to be adjusted to the parameter value.
Preferably, the terminal is after sweeping the sign indicating number, except that other modules except infrared ranging module get into dormant state, when infrared ranging module detects the existence target object in the distance range that the terminal was predetermine, send signal to main control unit, main control unit changes into awakening state by dormant state when receiving this signal, and simultaneously, main control unit sends awakening signal to other modules in the terminal, awakens other modules in the terminal.
Preferably, the terminal further comprises an RTC module, the RTC module is in communication connection with the main controller, and the main controller reads a current time value of the RTC module when decoding is successful, adds the current time value information to the barcode data, and then sends the current time value information to the communication module.
Preferably, the running storage module stores preset automatic startup time and automatic shutdown time, and the master controller writes information of the startup time and the shutdown time into the RTC module; the power supply module also comprises a starting circuit which is in communication connection with the RTC module; when the current time is preset shutdown time, the RTC module sends a shutdown interrupt signal to the main controller, the main controller inquires the current time of the RTC module, and if the current time is consistent with the shutdown time preset by a user, the main controller controls the terminal to automatically shut down; when the current time is consistent with the starting time preset by the user, the RTC module generates starting interruption and sends a control signal to the starting circuit, the starting circuit is connected with the power supply module to supply power to other modules in the terminal, and the terminal is automatically started.
Preferably, the terminal further comprises a radio frequency identification module, the radio frequency identification module is in communication connection with the main controller, the radio frequency identification module identifies the radio frequency tag, the read radio frequency data are sent to the main controller, and the main controller sends the radio frequency data to the outside through the communication module.
The invention also provides a realization method of the terminal suitable for mobile code scanning payment.
The second technical scheme of the invention is as follows:
a terminal suitable for mobile code scanning payment comprises a main controller, an infrared distance measuring module, an imaging component module, a communication module, a power supply module and an operation storage module, wherein the infrared distance measuring module, the imaging component module, the communication module and the operation storage module are all in communication connection with the main controller, and the power supply module provides a working power supply for other modules in the terminal; the method performs the steps of: when the infrared ranging module detects that a target object exists in front of the terminal, code scanning reading is triggered, and the infrared ranging module measures a distance value between the target object and the imaging component module and sends the distance value to the main controller; the operation storage module is internally stored with a database of exposure parameters which are corresponding to different distance values and are to be executed by the imaging component module, the main controller reads the corresponding exposure parameters from the database according to the distance values, and then sets the exposure parameters of the imaging component module; the imaging component module collects images and sends related image data to the main controller; the main controller attempts to decode the image data and transmits successfully decoded bar code data to the outside through the communication module.
The terminal also comprises a light supplement lamp module connected with the main controller, and the method also comprises the following steps: the terminal also comprises a light supplement lamp module connected with the main controller, and illumination light supplement parameters corresponding to different distance values are stored in a database of the operation storage module; when the code scanning is triggered, the infrared ranging module sends the distance value to a main controller; and the main controller also reads the corresponding lighting supplementary lighting parameters from the database according to the distance values, and then sets the lighting supplementary lighting parameters of the supplementary lighting module.
Preferably, the imaging assembly module in the terminal is a variable focal length imaging assembly module, the method further comprising the steps of: the database of the operation storage module also stores the focal length parameters corresponding to different distance values; when the code scanning is triggered, the infrared ranging module sends the distance value to a main controller; and the main controller also reads the corresponding focal length parameter from the database according to the distance value, and then controls the lens assembly in the imaging assembly module to adjust to the parameter value.
Preferably, the terminal is after sweeping the sign indicating number, except that other modules except infrared ranging module get into dormant state, when infrared ranging module detects the existence target object in the distance range that the terminal was predetermine, send signal to main control unit, main control unit changes into awakening state by dormant state when receiving this signal, and simultaneously, main control unit sends awakening signal to other modules in the terminal, awakens other modules in the terminal.
Preferably, the terminal further comprises an RTC module, the RTC module is in communication connection with the main controller, and the main controller reads a current time value of the RTC module when decoding is successful, adds the current time value information to the barcode data, and then sends the current time value information to the communication module.
More preferably, the method further comprises the steps of: the operation storage module stores preset automatic startup time and automatic shutdown time, and the master controller writes information of the startup time and the shutdown time into the RTC module; the power supply module also comprises a starting circuit which is in communication connection with the RTC module; when the current time is preset shutdown time, the RTC module sends a shutdown interrupt signal to the main controller, the main controller inquires the current time of the RTC module, and if the current time is consistent with the shutdown time preset by a user, the main controller controls the terminal to automatically shut down; when the current time is consistent with the starting time preset by the user, the RTC module generates starting interruption and sends a control signal to the starting circuit, the starting circuit is connected with the power supply module to supply power to other modules in the terminal, and the terminal is automatically started.
Preferably, the terminal further comprises a radio frequency identification module, the radio frequency identification module is in communication connection with the main controller, and the method further comprises the following steps: the radio frequency identification module identifies the radio frequency label and sends the read radio frequency data to the main controller, and the main controller sends the radio frequency data to the outside through the communication module.
The invention has the following beneficial effects:
1. a terminal suitable for mobile code scanning payment and an implementation method thereof are disclosed, wherein an infrared ranging module detects that a target object triggers code scanning, so that the terminal enters an awakening state from a dormant state, the power consumption of the terminal is greatly reduced, and the code scanning triggering is more accurate and reliable; meanwhile, the imaging component module can be controlled to automatically focus according to the measured distance value, the optimal exposure parameter of the imaging component module is set, the optimal illumination light supplement parameter of the light supplement lamp is set, the definition of a shot image and the depth range of a decoded field are improved, and the decoding performance of the unconventional bar code is improved. Meanwhile, one device meets the requirements of various depth of field ranges, so that the development cost and the product management cost are reduced, and the application range of the product is widened.
2. A terminal suitable for mobile code scanning payment and an implementation method thereof wake up the terminal through an infrared ranging module, so that power consumption can be reduced, and code scanning is more accurate and reliable.
3. A terminal suitable for mobile code scanning payment and an implementation method thereof are provided, wherein an RTC module is additionally arranged, so that real-time is added to bar code data, the manageability and traceability of the bar code data are improved, and meanwhile, automatic startup and automatic shutdown of equipment are intelligently controlled.
4. A terminal suitable for mobile code scanning payment and an implementation method thereof also comprise a radio frequency identification module, wherein the radio frequency identification module is used for expanding the radio frequency identification function on the basis of bar code identification, and the application range and the universality of the terminal are improved.
Drawings
FIG. 1 is a block diagram of a terminal adapted for mobile code-scanning payment in accordance with the present invention;
FIG. 2 is a flow chart of an intelligent mobile code scanning payment method of the present invention;
FIG. 3 is a flow chart of an automatic power on/off process in a mobile code scanning payment terminal according to the present invention;
fig. 4 is a schematic diagram of relative positions of the infrared ranging module and the radio frequency identification module according to the present invention.
1. A main controller; 2. an infrared ranging module; 3. an imaging assembly module; 4. a light supplement lamp module; 5. a communication module; 6. a power supply module; 7. a USB switch; 8. a USB interface; 9. an RTC module; 10. a radio frequency identification module; 61. and a starting circuit.
Detailed Description
The invention is described in detail below with reference to the figures and the specific embodiments.
Example one
Referring to fig. 1 and 2, the present invention provides a mobile code scanning payment terminal, wherein the infrared distance measuring module 2 generally includes an infrared chip, an infrared transmitting tube, and an infrared receiving tube, and measures a distance to a target object by calculating a voltage change at two ends of the infrared receiving tube. For example, an infrared sensing Flash single chip microcomputer produced by HOLTEK is selected, the working principle of the infrared sensing Flash single chip microcomputer is that the infrared sensing Flash single chip microcomputer controls an infrared transmitting pipe to transmit infrared light, the infrared light is reflected back when meeting a target object, the voltage of two ends of the infrared receiving pipe changes after receiving the infrared light, the voltage signal is amplified in two stages, and the infrared sensing Flash single chip microcomputer calculates the amplitude of the voltage signal to measure the distance between the target object and the object. The infrared induction Flash single chip microcomputer can be configured with different modes through an upper computer, wherein the different modes comprise a ranging mode, a short distance mode, a medium and long distance mode, a trigger time, a full speed mode, a 0.1S mode, a 0.5S mode, a 1S mode and the like, can be communicated with a main controller through a serial port, and can also be used for awakening the main controller 1 through IO.
The imaging component module 3 mainly includes a lens and an image sensor. The infrared ranging module 2 can configure different parameters according to different scenes used by a user, and when a target object approaches to the parameters set by the client, code scanning is triggered. After sweeping the sign indicating number through infrared ranging module 2 triggering, can dispose imaging component module 3's parameter and light filling lamp parameter according to actual demand, include: 1. setting the optimal lighting fill-in parameters of the fill-in lamp, for example, a fill-in intensity value; 2. setting camera exposure parameters, such as exposure time, in the imaging component module 3; 3. the imaging component module 3 with a variable focal length is adopted, and focal length parameters of the camera can be controlled, such as a focal length value; the three configurations described above may be implemented individually or in any combination. The implementation of the present invention will now be described with reference to a preferred implementation in which the above three configurations are performed simultaneously.
A terminal suitable for mobile code scanning payment comprises a main controller 1, an infrared distance measuring module 2, an imaging assembly module 3 with a variable focal length, a light supplementing lamp module 4, a communication module 5, a power supply module 6 and an operation storage module 11, wherein the infrared distance measuring module 2, the imaging assembly module 3, the light supplementing lamp module 4, the communication module 5 and the operation storage module 11 are all in communication connection with the main controller 1, and the power supply module 6 provides a working power supply for other modules in the terminal; when the infrared ranging module 2 detects that a target object exists in front of the terminal, code scanning reading is triggered, the infrared ranging module 2 measures a distance value between the target object and the imaging component module 3 and sends the distance value to the main controller 1; the operation storage module 11 stores a database of optimal exposure parameters, focal lengths, and illumination light supplement parameters to be executed by the light supplement lamp module 4, which correspond to different distance values, in the imaging module 3, and the main controller 1 reads the corresponding optimal exposure parameters, focal length parameters, and illumination light supplement parameters from the database according to the distance values, then sets the exposure parameters of the imaging module 3, controls the focal lengths of lenses in the imaging module 3 to be adjusted to the parameter values, and sets the illumination light supplement parameters of the light supplement lamp module 4. After the setting is completed, the imaging component module 3 collects images and sends related image data to the main controller 1, the main controller 1 tries to decode the image data, then sends the successfully decoded bar code data to the communication module 5, and the successfully decoded bar code data is transmitted to the outside through the communication module 5. Generally, when a decoding attempt fails, the illumination fill-in parameters, focus parameters, exposure parameters, such as exposure time, etc., may also be fine-tuned, and then the image is again acquired and decoding is attempted.
The main controller may be STM32 or Junzhen X1000, but is not limited thereto.
Table 1 shows the reference values of the optimal exposure parameter, the focal length, and the illumination fill-in parameter corresponding to different distance values.
Table 1:
Figure BDA0002457661160000091
the variable focal length imaging assembly module 3 may be: contain camera lens, image sensor and voice coil motor, the camera lens is fixed on voice coil motor's the carrier, main control unit 1 is through control the tensile position of voice coil motor's spring leaf to the position of adjusting the camera lens. The voice coil motor is abbreviated as VCM and mainly comprises a coil, a magnet group and elastic sheets, wherein the coil is fixed in the magnet group through an upper elastic sheet and a lower elastic sheet, when the coil is electrified, the coil can generate a magnetic field, the magnetic field of the coil and the magnet group interact, the coil can move upwards, a camera locked in the coil moves together, and when the coil is powered off, the coil returns under the elastic force of the elastic sheets, so that the automatic focusing function is realized. The moving distance is determined by controlling the current in the coil, so that the coil is adjusted to a proper position to shoot a clear image.
The variable focal length imaging assembly module 3 may also be: including a liquid lens and an image sensor. The liquid lens is fixed on the image sensor, and the main controller 1 adjusts the focal length of the lens by controlling the voltage applied to both ends of the liquid lens. The liquid lens is a lens which is formed by packaging a conductive liquid in a glass cylinder and leads out an electrode. The other electrode, which is insulated from this electrode, surrounds the inner wall of the glass cylinder, which is coated with a hydrophobic coating so that the inner wall is not wetted by the conductive liquid. Another non-conductive liquid fills the space in the glass cylinder not occupied by the conductive liquid. When no voltage is applied between the two electrodes, the conductive liquid presents a convex liquid surface, and when the voltage is applied to the two electrodes, the surface tension of the conductive liquid is reduced along the inner wall, so that the wet area of the inner wall is increased, the liquid surface is changed into a concave shape to form a focusing lens, and a clear image is shot by adjusting to a proper position.
The power module 6 may be powered by a power adapter or a battery module. The connection mode of the power module 6 for supplying power to other modules is a conventional technical means in the art, and therefore, the power supply connection relationship between the power module 6 and other modules is not illustrated in fig. 1.
The communication module 5 generally adopts a wireless communication module 5, which generally includes a bluetooth module and a 2.4G module, or the wireless communication module 5 with a wired network interface, as shown in fig. 1, when wireless transmission is not suitable, the wired network interface can be connected to a USB interface 8 through a USB switch 7, the USB interface 8 can be a USB2.0 or a Type-c interface, and wired data transmission is performed. The USB switch 7 is further connected to the main controller 1, and when the main controller 1 needs to transmit image data (non-decoded data), the image data can be directly transmitted to the USB interface 8 through the USB switch 7, and the image data transmission line and the decoded barcode data transmission line are switched on and off through the USB switch 7. The wired network interface may be an ethernet network interface.
According to the invention, the focal length of the imaging component module 3 with the adjustable focal length is controlled through the distance value measured by the infrared distance measuring module 2, so that automatic focusing is realized, and meanwhile, the exposure parameter and the intensity of a light supplement lamp are automatically controlled, so that the depth range of the decoded field is increased, and the decoding performance of a wide bar code and a high-precision small bar code is improved. Meanwhile, the invention improves the consistency of products, and the application range of the products is enlarged and the development cost and the product management cost are reduced by corresponding to the requirements of various depth of field ranges through one device.
In this embodiment, can also make the terminal get into the state of awakening up from the dormancy state through infrared ranging module 2, specifically, the terminal is sweeping the sign indicating number and finishing the back, except other modules outside infrared ranging module 2 get into the dormancy state, infrared ranging module 2 detects the target object in the distance range that the terminal was predetermine, awakens up other modules in the terminal, can reduce the terminal consumption, sweeps the sign indicating number moreover and triggers more accurately and reliably.
When the acquisition time needs to be added into the bar code data, the manageability and the traceability of the bar code data are improved, the RTC module 9 is arranged at the terminal, the RTC module 9 is in communication connection with the main controller 1, the main controller 1 reads the current time of the RTC module 9 when the decoding is successful, the current time is added into the bar code data, and then the bar code data is sent to the communication module 5.
The conventional RTC module 9 is generally provided with a button battery, when the terminal is powered off, the button battery provides a working power supply for the RTC module 9, and when the terminal is powered on, the power supply module 6 supplies power for the terminal.
The RTC module 9, in combination with the main controller 1, can also realize automatic startup and automatic shutdown of the terminal, and the terminal management is more intelligent. Referring to fig. 3, the user sets the auto-on time and the auto-off time, or only sets one of them. Specifically, the method comprises the following steps: the running storage module 11 stores the automatic startup time and the automatic shutdown time set by the user, and meanwhile, the master controller 1 also writes the startup time and the shutdown time into the RTC module 9 respectively; the power module 6 comprises a power-on circuit 61, and the power-on circuit 61 is in communication connection with the RTC module 9; when the current time is preset shutdown time, the RTC module 9 generates and sends a shutdown interrupt to the main controller 1, the main controller 1 queries the current time from the RTC module 9, and if the current time is consistent with the preset shutdown time of the user, the main controller 1 controls the terminal to automatically shut down; when the current time is consistent with the preset starting time of the user, the RTC module 9 generates a starting interruption and sends a control signal to the starting circuit 61, the starting circuit 61 is connected to the power module to supply power to other modules in the terminal, and the terminal is automatically started. The RTC module 9 is automatically started after generating the start-up interrupt, and the main controller 1, the imaging component module 3, the radio frequency identification module 10 and the wireless communication module 5 are all in the power-down state before generating no interrupt. The working states of the main controller 1, the imaging component module 3, the radio frequency identification module 10 and the wireless communication module 5 are controlled by controlling the on and off of the power supply.
The invention can also expand the radio frequency reading function on the basis of bar code reading. The terminal also comprises a radio frequency identification module 10. The radio frequency identification module can be an NFC module or an RFID module. The radio frequency identification module 10 is in communication connection with the main controller 1, the radio frequency identification module 10 identifies a radio frequency tag, the read radio frequency data are sent to the main controller 1, the main controller 1 sends the radio frequency data to the outside through the communication module 5, as shown in fig. 4, the infrared ranging module 2 is arranged on the front face of the mobile code scanning payment terminal, the radio frequency identification module 10 is arranged on the inner side face of the mobile code scanning payment terminal, and infrared triggering code scanning cannot be caused when a card is read. The radio frequency identification location is shown in fig. 4. The bar code reading and the radio frequency reading are combined, so that the application range and the universality of the terminal are improved.
The terminal can also comprise a reset key module and a module for light and sound prompt. For example, the radio frequency data transmission indicates that data reception is prompted when NFC transmits data to the host controller 1, the device connection indicates that connection is made when wired, bluetooth, or 2.4 connection is made, the power indication indicates the current power and charge state, the decoding success prompt, the abnormal or connected state audible prompt
Example two
Referring to fig. 1 and 2, a method for implementing a mobile code scanning payment terminal includes a main controller 1, an infrared ranging module 2, an imaging module 3, a communication module 5, a power module 6, and an operating storage module 11, where the infrared ranging module 2, the imaging module 3, the communication module 5, and the operating storage module 11 are all in communication connection with the main controller 1, and the power module 6 provides a working power supply for other modules in the terminal; the method performs the steps of: detecting a target object through the infrared ranging module 2, triggering code scanning if the target object is detected, and measuring a distance value between the target object and the imaging component module 3 by the infrared ranging module 2 and sending the distance value to the main controller 1; the operation storage module 11 stores a database of corresponding exposure parameters under different distance values, the main controller 1 reads the corresponding exposure parameters from the database according to the distance values, and then sets the exposure parameters of the imaging component module 3; the imaging component module 3 collects images and sends the images to the main controller 1, the main controller 1 tries decoding on the collected images, then sends successfully decoded bar code data to the communication module 5, and the communication module 5 externally transmits bar code information.
The terminal also comprises a light supplement lamp module 4 connected with the main controller 1, and the method also comprises the following steps: the database of the operation storage module 11 further stores corresponding lighting supplementary lighting parameters at different distance values; when the code scanning is triggered, the infrared ranging module 2 sends the distance value to the main controller 1; and the main controller 1 also reads the corresponding lighting supplementary lighting parameters from the database according to the distance values, and then sets the lighting supplementary lighting parameters of the supplementary lighting module 4.
The imaging assembly module 3 in the terminal is a variable focal length imaging assembly module 3, the method further comprising the steps of: the database of the operation storage module 11 also stores corresponding focal lengths under different distance values; when the code scanning is triggered, the infrared ranging module 2 sends the distance value to the main controller 1; and the main controller 1 also reads the corresponding focal length from the database according to the distance value, and controls the camera in the imaging component module 3 to adjust to the focal length.
After the code scanning is finished, other modules except the infrared ranging module 2 enter a dormant state, the infrared ranging module 2 detects a target object in a distance range preset by the terminal, and other modules in the terminal are awakened.
The terminal also comprises an RTC module 9, wherein the RTC module 9 is in communication connection with the main controller 1, in the method, when the main controller 1 successfully decodes, the current time of the RTC module 9 is read, the bar code data is added into the current time, and then the current time is sent to the communication module 5.
Referring to fig. 3, the method further includes the following steps: the running storage module 11 stores the automatic startup time and the automatic shutdown time set by the user, and meanwhile, the master controller 1 also writes the startup time and the shutdown time into the RTC module 9 respectively; the power module 6 comprises a power-on circuit 61, and the power-on circuit 61 is in communication connection with the RTC module 9; when the current time is preset shutdown time, the RTC module 9 generates and sends a shutdown interrupt to the main controller 1, the main controller 1 queries the current time from the RTC module 9, and if the current time is consistent with the preset shutdown time of the user, the main controller 1 controls the terminal to automatically shut down; when the current time is consistent with the preset starting time of the user, the RTC module 9 generates a starting interruption and sends a control signal to the starting circuit 61, the starting circuit 61 is connected to the power module to supply power to other modules in the terminal, and the terminal is automatically started. The RTC module 9 is automatically started after generating the start-up interrupt, and the main controller 1, the imaging component module 3, the radio frequency identification module 10 and the wireless communication module 5 are all in the power-down state before generating no interrupt. The on-off of the power supply is controlled by the starting circuit 61 to control the working states of the main controller 1, the imaging component module 3, the radio frequency identification module 10 and the wireless communication module 5.
The terminal also comprises a radio frequency identification module 10, the radio frequency identification module 10 is in communication connection with the main controller 1, and the method also comprises the following steps: the radio frequency identification module 10 identifies a radio frequency label, the read radio frequency data are sent to the main controller 1, the main controller 1 sends the radio frequency data to the outside through the communication module 5, the infrared distance measurement module 2 is arranged on the front face of the mobile code scanning payment terminal, the radio frequency identification module 10 is arranged on the inner side face of the mobile code scanning payment terminal, and infrared triggering code scanning cannot be caused when a card is read.
For the implementation mode not described in detail in this embodiment, reference may be made to the description in the first embodiment, and the technical effect brought by this embodiment is the same as that of the first embodiment.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. The utility model provides a be suitable for remove and sweep terminal of sign indicating number payment which characterized in that: the terminal comprises a main controller (1), an infrared ranging module (2), an imaging component module (3), a communication module (5), a power module (6) and an operation storage module (11), wherein the infrared ranging module (2), the imaging component module (3), the communication module (5) and the operation storage module (11) are in communication connection with the main controller (1), and the power module (6) provides a working power supply for other modules in the terminal; when the infrared ranging module (2) detects that a target object exists in front of the terminal, code scanning recognition is triggered, and the infrared ranging module (2) measures a distance value between the target object and the imaging component module (3) and sends the distance value to the main controller (1); the operation storage module (11) is internally stored with a database of exposure parameters which are corresponding to different distance values and are to be executed by the imaging component module (3), the main controller (1) reads the corresponding exposure parameters from the database according to the distance values, and then sets the exposure parameters of the imaging component module (3); the imaging component module (3) collects images and sends related image data to the main controller (1), the main controller (1) tries decoding on the image data, the successfully decoded bar code data are sent to the communication module (5), and the successfully decoded bar code data are transmitted to the outside through the communication module (5).
2. A terminal adapted for mobile code-scanning payment according to claim 1, wherein: the terminal also comprises a light supplement lamp module (4) connected with the main controller (1), and illumination light supplement parameters corresponding to different distance values are stored in a database of the operation storage module (11); when the code scanning is triggered, the infrared ranging module (2) sends the distance value to the main controller (1); and the main controller (1) reads the corresponding lighting supplementary lighting parameters from the database according to the distance values, and then sets the lighting supplementary lighting parameters of the supplementary lighting module (4).
3. A terminal adapted for mobile code-scanning payment according to claim 1, wherein: the imaging component module (3) is an imaging component module (3) with a variable focal length, and focal length parameters corresponding to different distance values are stored in a database of the operation storage module (11); when the code scanning is triggered, the infrared ranging module (2) sends the distance value to the main controller (1); and the main controller (1) also reads the corresponding focal length parameter from the database according to the distance value, and then controls the focal length of the lens in the imaging component module (3) to be adjusted to the parameter value.
4. A terminal adapted for mobile code-scanning payment according to claim 1, wherein: the terminal further comprises an RTC module (9), the RTC module (9) is in communication connection with the main controller (1), and when the main controller (1) succeeds in decoding, the current time value of the RTC module (9) is read, the current time value information is added into the bar code data, and then the bar code data is sent to the communication module (5).
5. A terminal adapted for mobile code-scanning payment according to claim 1, wherein: the terminal further comprises a radio frequency identification module (10), the radio frequency identification module (10) is in communication connection with the main controller (1), the radio frequency identification module (10) identifies the radio frequency tag, the read radio frequency data are sent to the main controller (1), and the main controller (1) sends the radio frequency data to the outside through the communication module (5).
6. The implementation method of the terminal suitable for mobile code scanning payment is characterized in that the terminal executing the method comprises a main controller (1), an infrared distance measuring module (2), an imaging component module (3), a communication module (5), a power supply module (6) and an operation storage module (11), wherein the infrared distance measuring module (2), the imaging component module (3), the communication module (5) and the operation storage module (11) are in communication connection with the main controller (1), and the power supply module (6) provides working power supply for other modules in the terminal; the method performs the steps of: when the infrared ranging module (2) detects that a target object exists in front of the terminal, code scanning recognition is triggered, and the infrared ranging module (2) measures a distance value between the target object and the imaging component module (3) and sends the distance value to the main controller (1); the operation storage module (11) is internally stored with a database of exposure parameters which are corresponding to different distance values and are to be executed by the imaging component module (3), the main controller (1) reads the corresponding exposure parameters from the database according to the distance values, and then sets the exposure parameters of the imaging component module (3); the imaging component module (3) collects images and sends related image data to the main controller (1); the main controller (1) tries decoding to the image data, and the successfully decoded bar code data is transmitted to the outside through the communication module (5).
7. The method for implementing the terminal suitable for mobile code scanning payment according to claim 6, wherein the terminal further comprises a fill light module (4) connected to the main controller (1), and the method further comprises the following steps: the terminal also comprises a light supplement lamp module (4) connected with the main controller (1), and illumination light supplement parameters corresponding to different distance values are stored in a database of the operation storage module (11); when the code scanning is triggered, the infrared ranging module (2) sends the distance value to the main controller (1); and the main controller (1) reads the corresponding lighting supplementary lighting parameters from the database according to the distance values, and then sets the lighting supplementary lighting parameters of the supplementary lighting module (4).
8. The method for implementing a terminal suitable for mobile code scanning payment according to claim 6, wherein: the imaging assembly module (3) in the terminal is a variable focal length imaging assembly module (3), the method further comprising the steps of: the database of the operation storage module (11) also stores the focal length parameters corresponding to different distance values; when the code scanning is triggered, the infrared ranging module (2) sends the distance value to the main controller (1); and the main controller (1) also reads the corresponding focal length parameter from the database according to the distance value, and then controls the lens assembly in the imaging assembly module (3) to adjust to the parameter value.
9. The method for implementing a terminal suitable for mobile code scanning payment according to claim 6, wherein: the terminal further comprises an RTC module (9), the RTC module (9) is in communication connection with the main controller (1), and when the main controller (1) succeeds in decoding, the current time value of the RTC module (9) is read, the current time value information is added into the bar code data, and then the bar code data is sent to the communication module (5).
10. The method for implementing a terminal suitable for mobile code scanning payment according to claim 6, wherein: the terminal also comprises a radio frequency identification module (10), the radio frequency identification module (10) is in communication connection with the main controller (1), and the method also comprises the following steps: the radio frequency identification module (10) identifies the radio frequency label, the read radio frequency data are sent to the main controller (1), and the main controller (1) sends the radio frequency data to the outside through the communication module (5).
CN202010311230.5A 2020-04-20 2020-04-20 Terminal suitable for mobile code scanning payment and implementation method thereof Pending CN111539714A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010311230.5A CN111539714A (en) 2020-04-20 2020-04-20 Terminal suitable for mobile code scanning payment and implementation method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010311230.5A CN111539714A (en) 2020-04-20 2020-04-20 Terminal suitable for mobile code scanning payment and implementation method thereof

Publications (1)

Publication Number Publication Date
CN111539714A true CN111539714A (en) 2020-08-14

Family

ID=71975266

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010311230.5A Pending CN111539714A (en) 2020-04-20 2020-04-20 Terminal suitable for mobile code scanning payment and implementation method thereof

Country Status (1)

Country Link
CN (1) CN111539714A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114125244A (en) * 2021-12-03 2022-03-01 上海商米科技集团股份有限公司 Camera module, implementation method and mobile device
CN116709017A (en) * 2022-09-26 2023-09-05 荣耀终端有限公司 Code scanning method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060202038A1 (en) * 2005-03-11 2006-09-14 Ynjiun Wang System and method to automatically focus an image reader
CN104504357A (en) * 2014-12-23 2015-04-08 福建新大陆自动识别技术有限公司 Automatic barcode scanner and scanning method
CN108763987A (en) * 2018-05-07 2018-11-06 深圳市民德电子科技股份有限公司 A kind of intelligent scanning identification device, method and system
CN109934034A (en) * 2019-02-22 2019-06-25 无锡盈达聚力科技有限公司 A kind of scanning means and barcode scanning method of Parameter adjustable
CN110070684A (en) * 2019-04-16 2019-07-30 北京意锐新创科技有限公司 A kind of barcode scanning payment devices for open air

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060202038A1 (en) * 2005-03-11 2006-09-14 Ynjiun Wang System and method to automatically focus an image reader
CN104504357A (en) * 2014-12-23 2015-04-08 福建新大陆自动识别技术有限公司 Automatic barcode scanner and scanning method
CN108763987A (en) * 2018-05-07 2018-11-06 深圳市民德电子科技股份有限公司 A kind of intelligent scanning identification device, method and system
CN109934034A (en) * 2019-02-22 2019-06-25 无锡盈达聚力科技有限公司 A kind of scanning means and barcode scanning method of Parameter adjustable
CN110070684A (en) * 2019-04-16 2019-07-30 北京意锐新创科技有限公司 A kind of barcode scanning payment devices for open air

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114125244A (en) * 2021-12-03 2022-03-01 上海商米科技集团股份有限公司 Camera module, implementation method and mobile device
CN116709017A (en) * 2022-09-26 2023-09-05 荣耀终端有限公司 Code scanning method and electronic equipment

Similar Documents

Publication Publication Date Title
Yeager et al. WISP: A passively powered UHF RFID tag with sensing and computation
US10905355B2 (en) Electrodynamic field strength triggering system
TWI484716B (en) Method and apparatus for reducing poewr consumption in power system
CN111539714A (en) Terminal suitable for mobile code scanning payment and implementation method thereof
US20130244578A1 (en) Method, apparatus, and computer program product for short-range wireless communication
US8621568B2 (en) WAN module based remote wakeup system and terminal thereof
CN105958670A (en) Radio-frequency energy collection device for supplying power to wireless sensing node, and working method of wireless sensing node
JPWO2007010869A1 (en) Sensor tag, sensor tag device, power receiving circuit, and power supply method for sensor tag device
US20110090063A1 (en) Apparatus and method using histogram-based techniques for avoiding overpolling
CN111766591A (en) High accuracy bluetooth BLE ranging system based on TOF sensor
CN102496042A (en) RFID (Radio Frequency Identification) device
CN111813248A (en) Intelligent pen energy-saving method
CN111322982A (en) Settlement displacement measuring method and device based on laser spots
CN112949809B (en) RFID electronic tag and tag power-on communication method
CN202084066U (en) Electronic paper smart card
CN110490288A (en) A kind of electronic labelling system that low-power consumption multi-protocols are compatible
JP2004356765A (en) Resonance frequency adjustment apparatus, non-contact reader / writer, and non-contact data carrier system
JP5938142B1 (en) Data carrier and data carrier system
CN111507118A (en) NFC-based low-power-consumption powerless thermometer
Mika et al. Practical implementations of passive and semi-passive nfc enabled sensors
CN109684935A (en) A kind of acquisition of high-precision 3D face, payment system and method
CN111854889A (en) Water level monitoring system and monitoring method based on image processing technology
CN210380925U (en) Temperature return equipment based on narrowband Internet of things integrated lamp switching function
KR101574058B1 (en) Data Carrier and Data Carrier System
CN208737468U (en) A kind of scanner aiming mechanism

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200814

RJ01 Rejection of invention patent application after publication