CN212675610U - Two-dimensional code recognition device - Google Patents

Two-dimensional code recognition device Download PDF

Info

Publication number
CN212675610U
CN212675610U CN202021307964.8U CN202021307964U CN212675610U CN 212675610 U CN212675610 U CN 212675610U CN 202021307964 U CN202021307964 U CN 202021307964U CN 212675610 U CN212675610 U CN 212675610U
Authority
CN
China
Prior art keywords
dimensional code
pin
control unit
micro control
port
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.)
Active
Application number
CN202021307964.8U
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.)
Shanghai Yinxin High Technology Development Co ltd
Original Assignee
Shanghai Yinxin High Technology Development 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 Shanghai Yinxin High Technology Development Co ltd filed Critical Shanghai Yinxin High Technology Development Co ltd
Priority to CN202021307964.8U priority Critical patent/CN212675610U/en
Application granted granted Critical
Publication of CN212675610U publication Critical patent/CN212675610U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electric Clocks (AREA)

Abstract

The utility model provides a two-dimension code recognition device, which comprises a two-dimension code recognition module and a micro control unit; the two-dimensional code identification module is provided with a first serial interface, a Wake interface, a two-dimensional code input port, an input/output port and a power port; the first serial interface is connected with a second serial interface of the micro control unit; the Wake interface and the input/output port are respectively connected with the input/output end of the micro control unit; the two-dimension code input port is connected with a camera; the power port is connected with the power conversion chip or the battery; the micro control unit is provided with a signal output port; the signal output port is connected with an access control system in a wireless communication mode; the utility model discloses make the user accessible scan two-dimensional code come in and go out the place that is equipped with access control system, improved the efficiency that personnel passed through, reduced the trouble that the staff registered; the identity information of the person in and out is made clear through the two-dimensional code, the person in and out is convenient to manage, and the safety of the user in and out is improved.

Description

Two-dimensional code recognition device
Technical Field
The utility model belongs to the technical field of entrance guard's equipment, especially, relate to a two-dimensional code recognition device.
Background
With the rapid development of social economy and science and technology, especially the development of computer networks, people have higher and higher requirements on safety and technical prevention.
Along with the introduction of various novel security concepts, closed-circuit television monitoring systems or networking alarm systems are established in various departments, industries and residential districts of the society, networking alarm networks are basically formed in national key departments such as banks, telecommunications, electric power and the like, the method plays an important role in preventing and stopping crimes and maintaining the stability of social economy, and the traditional method for the industries is that transmission room workers register and release the passing personnel, so that the method is time-consuming, labor-consuming, error-prone and difficult to manage the passing personnel.
The existing access control system is low in intellectualization, poor in flexibility, easy to cause congestion and has potential safety hazards; along with the popularization of intelligent mobile terminals, two-dimensional codes become an important interactive path at present, how to realize efficient and rapid passing of users through a two-dimensional code identification technology becomes a technical problem to be solved urgently by technical personnel in the field.
SUMMERY OF THE UTILITY MODEL
In view of the above shortcomings in the prior art, an object of the present invention is to provide a hardware implementation structure of a two-dimensional code recognition device, which can solve the problems of time consuming, labor consuming and error easily occurring in the prior art, and is released through the registration of the staff.
In order to achieve the above objects and other related objects, the present invention provides a two-dimensional code recognition device, including: the two-dimensional code recognition module and the micro control unit are arranged; the two-dimensional code identification module is provided with a first serial interface, a Wake interface, a two-dimensional code input port, an input/output port and a power port; the first serial interface is connected with the second serial interface of the micro control unit so as to realize data transmission between the micro control unit and the two-dimension code identification module in a transparent transmission mode; the Wake interface is connected with the input end and the output end of the micro control unit and used for outputting high and low level signals so as to control the micro control unit to start or sleep; the two-dimension code input port is connected with a camera and used for receiving a two-dimension code to be identified, which is sent by the camera; the input/output port is connected with the input/output end of the micro control unit and is used for outputting serial port protocol data; the power supply port is connected with a power supply conversion chip or a battery and used for supplying power to the two-dimensional code identification module through the power supply conversion chip or the battery; the two-dimension code identification module is used for sending the two-dimension code to be identified to the micro control unit through the first serial interface and the second serial interface; the micro control unit is used for identifying the two-dimensional code to be identified; the micro control unit is provided with a signal output port; the signal output port is connected with an access control system in a wireless communication mode and used for outputting the recognition processing result to the access control system.
In an embodiment of the present invention, the two-dimensional code recognition device further includes a clock circuit; the clock circuit is connected with the micro control unit and used for starting timing from the time when the two-dimensional code to be recognized is successfully recognized so as to enable the two-dimensional code to be recognized to be invalid after the preset retention time of the two-dimensional code to be recognized is reached.
In an embodiment of the present invention, the clock circuit includes a clock chip and a crystal oscillator; the clock chip comprises a first pin, a second pin, a third pin, a fourth pin, a fifth pin, a sixth pin, a seventh pin and an eighth pin; the second end of the crystal oscillator is respectively connected with the first pin and one end of the first capacitor; the other end of the first capacitor is connected with a third end of the crystal oscillator; the first end of the crystal oscillator is connected with the second pin and one end of the second capacitor respectively; the other end of the second capacitor is connected with a third end of the crystal oscillator and the fourth pin respectively; the third end of the crystal oscillator is grounded; the fifth pin and a clock signal pin of the micro control unit are respectively connected with one end of a first resistor; the other end of the first resistor is connected with a first power supply; the sixth pin and the data signal pin of the micro control unit are respectively connected with one end of a second resistor, and the other end of the second resistor is also connected with the first power supply; the eighth pin is respectively connected with the anode of the polar electrolytic capacitor, the cathode of the first diode and the cathode of the second diode; the negative electrode of the polar electrolytic capacitor is grounded; the anode of the first diode is connected with a second power supply.
As above, two-dimensional code recognition device, following beneficial effect has:
(1) a user enters and exits a place provided with the access control system by scanning the two-dimensional code, so that the passing efficiency of personnel is improved, and the registration trouble of workers is reduced;
(2) the identity information of the person in and out is made clear through the two-dimensional code, the person in and out is convenient to manage, and the safety of the user in and out is improved.
Drawings
Fig. 1 is a block diagram illustrating a working principle of the two-dimensional code recognition apparatus according to an embodiment of the present invention.
Fig. 2 is a circuit diagram of a clock circuit according to an embodiment of the present invention.
Description of the reference symbols
1 two-dimensional code recognition module
2 UART interface
3 Wake interface
4 input/output port
5 Power supply port
6 two-dimensional code input port
7 pick-up head
Detailed Description
The following description of the embodiments of the present invention is provided for illustrative purposes, and other advantages and effects of the present invention will be apparent to those skilled in the art from the disclosure herein.
It should be understood that the structures, ratios, sizes, etc. shown in the drawings attached to the present specification are only used for matching with the contents disclosed in the specification, so as to be known and read by those skilled in the art, and are not used for limiting the limit conditions that the present invention can be implemented, so that the present invention has no technical essential meaning, and any modification of the structures, changes of the ratio relationship, or adjustment of the size should still fall within the scope that the technical contents disclosed in the present invention can cover without affecting the efficacy that the present invention can produce and the purpose that the present invention can achieve. Meanwhile, the terms such as "upper", "lower", "left", "right", "middle" and "one" used in the present specification are for convenience of description, and are not intended to limit the scope of the present invention, and changes or adjustments of the relative relationship thereof may be made without substantial technical changes, and the present invention is also regarded as the scope of the present invention.
The utility model discloses a two-dimensional code recognition device is arranged in solving prior art, through staff's registration clearance, the problem that the error appears in wasting time, difficultly and easily of existence. The principle and the embodiment of the two-dimensional code recognition device of the present invention will be described in detail below, so that those skilled in the art can understand the two-dimensional code recognition device without creative labor.
See fig. 1 and 2. The embodiment provides a hardware implementation structure of the two-dimensional code recognition device, so that a user can enter and exit a place provided with an access control system by scanning a two-dimensional code, the passing efficiency of personnel is improved, and the registration trouble of the personnel is reduced; the identity information of the person in and out is made clear through the two-dimensional code, the person in and out is convenient to manage, and the safety of the user in and out is improved.
As shown in fig. 1, in an embodiment, the two-dimensional code recognition device of the present invention includes a two-dimensional code recognition module 1 and a micro control unit MCU.
Specifically, the two-dimensional code identification module 1 has a first serial interface, a Wake interface 3, a two-dimensional code input port 6, an input/output port 4, and a power port 5; the first serial interface is connected with the second serial interface of the micro control unit MCU so as to realize data transmission between the micro control unit MCU and the two-dimension code identification module 1 in a transparent transmission mode.
It should be noted that transparent transmission, i.e. pass-through, refers to that, regardless of the content of the transmitted service, it is only responsible for transmitting the transmitted content from the source address to the destination address in the communication, and does not make any change to the content of the service data.
In an embodiment, the first serial interface and the second serial interface both use a UART interface 2.
It should be noted that a Universal Asynchronous Receiver Transmitter/Transmitter (UART), which converts data to be transmitted between serial communication and parallel communication, is commonly referred to as UART; as a chip for converting a parallel input signal into a serial output signal, the UART is usually integrated on the connection of other communication interfaces; the concrete object is represented as an independent modular chip or as a peripheral device integrated in a microprocessor, generally in RS-232C specification, and is matched with a standard signal amplitude conversion chip like Maxim's MAX232 to be used as an interface for connecting external devices.
The Wake interface 3 is connected with an input end and an output end of the MCU, and is used for outputting high and low level signals to control the MCU to start or sleep.
Specifically, when the Wake interface 3 outputs a low level signal, the MCU is in a sleep state; when the Wake interface 3 outputs a high-level Wake-up signal, the micro control unit MCU is woken up to start up.
It should be noted that, in general, the MCU is in a sleep state, and only when it needs to operate, it starts to operate, so as to reduce power consumption.
The two-dimension code input port 6 is connected with a camera 7 and used for receiving the two-dimension code to be identified, which is sent by the camera 7.
Specifically, when carrying out the two-dimensional code discernment, the user is close to this two-dimensional code recognition device to wait to discern the two-dimensional code to this two-dimensional code identification module 1 show through mobile communication terminal, so that this two-dimensional code of waiting to discern is gathered to this two-dimensional code recognition device's camera 7, and sends for this two-dimensional code recognition device through two-dimensional code input port 6, realizes that two-dimensional code recognition device is to this the recognition processing of waiting to discern the two-dimensional code.
It should be noted that the two-dimensional code to be identified includes, but is not limited to, the following information: user information, preset stay time and two-dimensional code validity period; specifically, the user information, the preset retention time, the two-dimensional code validity period and the like are coded in a digitized form and then represented in a two-dimensional code form, and the represented two-dimensional code can be in multiple languages, can also be image data and the like.
Further, the user information includes any one or a combination of the following: user fingerprint, user voice, user avatar and user signature.
It should be noted that the preset stay time refers to the stay time of the user in a place after the user enters the place; the two-dimension code validity period means that a user needs to use the two-dimension code in the validity period after obtaining the two-dimension code which can enter and exit a place, and if the validity period is exceeded, the user can not enter and exit the place through the two-dimension code.
Further, when the mobile communication terminal displays the two-dimensional code to be recognized to the two-dimensional code recognition module 1, the two-dimensional code recognition device can simultaneously acquire the timestamp of the mobile communication terminal.
It should be noted that the mobile communication terminal includes, but is not limited to, a smart phone, a tablet computer, a PDA, and other terminal devices with a data processing function; generally, an intelligent terminal is a terminal device that has an independent operating system, can be used by a user to install programs provided by third-party service providers such as software and games, continuously expands the functions of a handheld device through the programs, and can realize wireless network access through a mobile communication network.
The two-dimension code identification module 1 is used for sending the two-dimension code to be identified to the MCU through the first serial interface and the second serial interface; and the micro control unit MCU is used for identifying the two-dimensional code to be identified.
It should be noted that, the identification processing of the two-dimensional code to be identified by the MCU is a conventional technical means in this technical field, and the specific identification processing method is not a limitation.
The MCU is provided with a signal output port.
Specifically, the signal output port is connected with an access control system in a wireless communication mode and used for outputting a recognition processing result to the access control system.
It should be noted that the result of the identification processing is output to the access control system through the signal output port, so that the access control system can determine whether to open the access control according to the result of the identification processing (if the identification is successful, the access control is opened, and if the identification is failed, the access control is kept in a closed state).
The input/output port 4 is connected with an input/output port MCU IO of the MCU and is used for outputting serial port protocol data.
It should be noted that the serial port protocol data includes, but is not limited to, control instructions, information data, and the like.
The power port 5 is connected with a power conversion chip or a battery and is used for supplying power to the two-dimensional code identification module 1 through the power conversion chip or the battery.
As shown in fig. 2, in an embodiment, the two-dimensional code recognition apparatus further includes a clock circuit; the clock circuit is connected with the micro control unit.
Specifically, the clock circuit comprises a clock chip U17 and a crystal oscillator Y4; the clock chip U17 includes a first pin 1, a second pin 2, a third pin 3, a fourth pin 4, a fifth pin 5, a sixth pin 6, a seventh pin 7, and an eighth pin 8; the second end 2 of the crystal oscillator Y4 is respectively connected with the first pin 1 of the clock chip U17 and one end of a first capacitor C52; the other end of the first capacitor C52 is connected with the third end 3 of the crystal oscillator Y4; the first end 1 of the crystal oscillator Y4 is respectively connected with the second pin 2 of the clock chip U17 and one end of a second capacitor C53; the other end of the second capacitor C53 is respectively connected with the third end 3 of the crystal oscillator Y4 and the fourth pin 4 of the clock chip U17; the third end 3 of the crystal oscillator Y4 is grounded; a fifth pin 5 of the clock chip U17 and a clock signal pin (connected through a clock line SCL for transmitting a clock signal) of the MCU are respectively connected to one end of a first resistor R40; the other end of the first resistor R40 is connected with a first power supply of 3.3V; a sixth pin 6 of the clock chip U17 and a data signal pin (connected through a bidirectional data line SDA for transmitting data) of the MCU are respectively connected to one end of a second resistor R39; the other end of the second resistor R39 is also connected with a first power supply of 3.3V; an eighth pin 8 of the clock chip U17 is respectively connected with the anode of the polar electrolytic capacitor E8, the cathode of the first diode D12 and the cathode of the second diode D13; the negative electrode of the polar electrolytic capacitor E8 is grounded; the anode of the first diode D12 is connected to a second power supply of 3.3V.
Preferably, the clock chip U17 adopts a PCF8563T chip; the first diode D12 and the second diode D13 both adopt 1N4148 high-speed switching diodes.
It should be noted that, with the development of integrated circuit technology, various clock chips with accurate timing, stable performance, high performance-to-cost ratio, small volume and low power consumption are developed, such as PCF8563T, DS1302, DS12887, SD2058, SD2068, etc.; in the embodiment, based on the requirement of the whole control system on low price and high quality, an automatic timing multifunctional clock/calendar chip PCF8563T with an I2C bus provided by Philips company and having extremely low power consumption, 4 alarm functions and timing functions, an internal clock circuit, an internal oscillation circuit, internal low voltage detection and the like is determined and selected, so that a peripheral circuit is concise, and the stability and reliability of the system are improved.
It should be noted that the clock circuit is configured to start timing when the two-dimensional code to be recognized is successfully recognized, so as to disable the two-dimensional code to be recognized after a preset retention time of the two-dimensional code to be recognized is reached.
Specifically, when the mobile communication terminal displays the two-dimensional code to be identified to the two-dimensional code identification module 1, the two-dimensional code identification device simultaneously obtains a timestamp of the mobile communication terminal; and starting timing by using the clock circuit, and when the preset retention time of the two-dimensional code to be recognized is reached, the two-dimensional code to be recognized is invalid, so that a user cannot leave through the two-dimensional code to be recognized.
It should be noted that, when a user enters and exits a place, the two-dimensional codes are the same, so that on one hand, the trouble that two-dimensional codes need to be provided for entering and exiting is eliminated; on the other hand, one person corresponds to one code for safety, and the safety is higher.
The two-dimensional code recognition device of the present invention is further explained by the following embodiments.
In one embodiment, the two-dimension code recognition device is applied to a visitor; specifically, a visitor enters and exits a place, and firstly, the visitor acquires a two-dimensional code entering and exiting the place on a mobile communication terminal; then, the visitor enters the place after successfully recognizing the two-dimension code through the two-dimension code recognition device within the validity period of the two-dimension code; and finally, the visitor comes out from the place after successfully recognizing the two-dimension code through the two-dimension code recognition device again within the preset residence time of the two-dimension code.
In summary, the two-dimension code recognition device of the utility model improves the efficiency of personnel passing through and reduces the trouble of registration of the staff by scanning the two-dimension code to enter and exit the place with the access control system; the identity information of the person who comes in and goes out is clarified through the two-dimensional code, so that the person who comes in and goes out is conveniently managed, and the safety of the user who comes in and goes out is improved; therefore, the utility model effectively overcomes various defects in the prior art and has high industrial utilization value.
The above embodiments are merely illustrative of the principles and effects of the present invention, and are not to be construed as limiting the invention. Modifications and variations can be made to the above-described embodiments by those skilled in the art without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which may be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.

Claims (3)

1. A two-dimensional code recognition device, comprising: the two-dimensional code recognition module and the micro control unit are arranged;
the two-dimensional code identification module is provided with a first serial interface, a Wake interface, a two-dimensional code input port, an input/output port and a power port;
the first serial interface is connected with the second serial interface of the micro control unit so as to realize data transmission between the micro control unit and the two-dimension code identification module in a transparent transmission mode;
the Wake interface is connected with the input end and the output end of the micro control unit and used for outputting high and low level signals so as to control the micro control unit to start or sleep;
the two-dimension code input port is connected with a camera and used for receiving a two-dimension code to be identified, which is sent by the camera;
the input/output port is connected with the input/output end of the micro control unit and is used for outputting serial port protocol data;
the power supply port is connected with a power supply conversion chip or a battery and used for supplying power to the two-dimensional code identification module through the power supply conversion chip or the battery;
the two-dimension code identification module is used for sending the two-dimension code to be identified to the micro control unit through the first serial interface and the second serial interface;
the micro control unit is used for identifying the two-dimensional code to be identified; the micro control unit is provided with a signal output port;
the signal output port is connected with an access control system in a wireless communication mode and used for outputting the recognition processing result to the access control system.
2. The two-dimensional code recognition device according to claim 1, further comprising a clock circuit; the clock circuit is connected with the micro control unit and used for starting timing from the time when the two-dimensional code to be recognized is successfully recognized so as to enable the two-dimensional code to be recognized to be invalid after the preset retention time of the two-dimensional code to be recognized is reached.
3. The two-dimensional code recognition device according to claim 2, wherein the clock circuit includes a clock chip and a crystal oscillator; wherein,
the clock chip comprises a first pin, a second pin, a third pin, a fourth pin, a fifth pin, a sixth pin, a seventh pin and an eighth pin; the second end of the crystal oscillator is respectively connected with the first pin and one end of the first capacitor; the other end of the first capacitor is connected with a third end of the crystal oscillator; the first end of the crystal oscillator is connected with the second pin and one end of the second capacitor respectively; the other end of the second capacitor is connected with a third end of the crystal oscillator and the fourth pin respectively; the third end of the crystal oscillator is grounded; the fifth pin and a clock signal pin of the micro control unit are respectively connected with one end of a first resistor; the other end of the first resistor is connected with a first power supply; the sixth pin and the data signal pin of the micro control unit are respectively connected with one end of a second resistor, and the other end of the second resistor is also connected with the first power supply; the eighth pin is respectively connected with the anode of the polar electrolytic capacitor, the cathode of the first diode and the cathode of the second diode; the negative electrode of the polar electrolytic capacitor is grounded; the anode of the first diode is connected with a second power supply.
CN202021307964.8U 2020-07-06 2020-07-06 Two-dimensional code recognition device Active CN212675610U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202021307964.8U CN212675610U (en) 2020-07-06 2020-07-06 Two-dimensional code recognition device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202021307964.8U CN212675610U (en) 2020-07-06 2020-07-06 Two-dimensional code recognition device

Publications (1)

Publication Number Publication Date
CN212675610U true CN212675610U (en) 2021-03-09

Family

ID=74839003

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202021307964.8U Active CN212675610U (en) 2020-07-06 2020-07-06 Two-dimensional code recognition device

Country Status (1)

Country Link
CN (1) CN212675610U (en)

Similar Documents

Publication Publication Date Title
CN201820280U (en) Intelligent door access control device with function of face recognition
Kumari et al. PiCam: IoT based wireless alert system for deaf and hard of hearing
CN106710022A (en) Online patrol management system
CN103985072A (en) Kindergarten pickup system based on mobile internet and implementation method
CN101729695B (en) Wired multi-seat paging talkback method and device for reader positioning mobile personnel
CN212675610U (en) Two-dimensional code recognition device
CN201331764Y (en) Multifunctional handhold terminal
CN207397364U (en) A kind of intelligent access control system
CN206224485U (en) A kind of computer network supervisory systems
CN212809322U (en) Hand vein face multi-mode identification entrance guard attendance all-in-one
CN208092808U (en) A kind of gate inhibition remotely enabling monitoring device and system
CN204791221U (en) Novel control of long -range entrance guard device
CN212675598U (en) Bluetooth attendance equipment
CN209168213U (en) A kind of antitheft access control system
CN202795506U (en) Light-operated access control system based on mobile phone iris recognition
CN202771442U (en) Portable face identification equipment
CN201662823U (en) Anti-disassembling wrist electronic tag
CN111932747A (en) Cloud visitor intelligent entrance guard machine based on believe two-dimensional code a little
CN204795236U (en) Wireless calling system of fingerprint identification
CN201369074Y (en) Shielding prevention alarm device
CN213844235U (en) Gate mainboard
CN205028319U (en) Card system is read to bluetooth ID card based on intelligent Mobile Terminal
CN205594716U (en) Fingerprint attendance checking system
CN110287794A (en) A kind of production line face intelligent identifying system
CN215867898U (en) Bluetooth NFC gateway read-write configurator

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant