CN217543839U - External software login verification encryption circuit - Google Patents

External software login verification encryption circuit Download PDF

Info

Publication number
CN217543839U
CN217543839U CN202221591120.XU CN202221591120U CN217543839U CN 217543839 U CN217543839 U CN 217543839U CN 202221591120 U CN202221591120 U CN 202221591120U CN 217543839 U CN217543839 U CN 217543839U
Authority
CN
China
Prior art keywords
pin
chip
resistor
main control
control chip
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
CN202221591120.XU
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.)
Shandong Inspur Science Research Institute Co Ltd
Original Assignee
Shandong Inspur Science Research Institute 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 Shandong Inspur Science Research Institute Co Ltd filed Critical Shandong Inspur Science Research Institute Co Ltd
Priority to CN202221591120.XU priority Critical patent/CN217543839U/en
Application granted granted Critical
Publication of CN217543839U publication Critical patent/CN217543839U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Storage Device Security (AREA)

Abstract

The utility model provides an encryption circuit is verified in external software login. The encryption circuit uses a USB interface to carry out data communication with a computer and provides 5V power supply for a system, the 5V power enters a voltage reduction chip AMS1117-3.3 from the USB interface, 3.3V of the voltage is supplied to a main control chip STM32U575CI and an encryption chip ATSHA204A, and the ATSHA204A communicates with the main control chip through an IIC interface. The method comprises the following steps: the system comprises a main control chip, a crystal oscillator driving capacitor, a crystal oscillator circuit resistor, a reset circuit capacitor, a reset circuit resistor, an IIC bus pull-up resistor, an ATSHA204A encryption chip, an LED current-limiting resistor, a system LED lamp, an AMS1117-3.3 voltage reduction chip, a USB interface protection chip, a pull-up resistor, a USB interface, a power supply filter capacitor and a BOOT0 pull-down resistor. The login authentication of common software can be realized, the internal important data of the software can be effectively protected, and whether the software runs on an authenticated computer or not can be confirmed.

Description

一种外置式软件登录验证加密电路An external software login verification encryption circuit

技术领域technical field

本实用新型涉及一种外置式软件登录验证加密电路,属于现代软件数据安全保护技术领域。The utility model relates to an external software login verification and encryption circuit, which belongs to the technical field of modern software data security protection.

背景技术Background technique

随着软件功能以及其应用场景越来越多并且越来越复杂,导致很多软件都涉及到一些安全级别较高的数据,当软件的使用机器或者局域网不小心中了木马之后,软件后台的登录账号及随时可能被嗅探或者截取。为了防止账号被盗和软件数据被窃取事件的方式,使用硬件加密装置进行登录验证,即使账号数据被窃取,在没有硬件加密装置的情况下也很难实现软件的异地登录和操作当前机器进行后台登录。传统的软件账号登录验证存在着账号丢失或者被盗的风险,导致重要数据或者财产的损失,外置式加密装置能够在软件登录的过程中起到认证的作用,当登录认证完成后加密装置不在重复工作。With the increasing number and complexity of software functions and their application scenarios, many softwares involve some data with higher security levels. Accounts and may be sniffed or intercepted at any time. In order to prevent account theft and software data theft incidents, a hardware encryption device is used for login verification. Even if the account data is stolen, it is difficult to achieve remote software login and operate the current machine in the background without a hardware encryption device. Log in. The traditional software account login verification has the risk of account loss or theft, resulting in the loss of important data or property. The external encryption device can play an authentication role in the software login process. After the login authentication is completed, the encryption device will not be repeated. Work.

实用新型内容Utility model content

本实用新型目的是提供了一种外置式软件登录验证加密电路,能够实现常见的软件的登录认证,有效保护软件内部重要数据和确认软件是否运行在认证的计算机上。The purpose of the utility model is to provide an external software login verification encryption circuit, which can realize the login authentication of common software, effectively protect the important data inside the software and confirm whether the software is running on an authenticated computer.

本实用新型为实现上述目的,通过以下技术方案实现:In order to realize the above-mentioned purpose, the present utility model realizes through the following technical solutions:

一种外置式软件登录验证加密电路,其特征在于,包括主控芯片、晶振驱动电容、晶振、晶振电路电阻、复位电路电容、复位电路电阻、IIC总线上拉电阻,加密芯片、LED限流电阻、系统LED灯、降压芯片、USB接口保护芯片、上拉电阻、USB接口、电源滤波电容、BOOT下拉电阻;An external software login verification encryption circuit is characterized in that it includes a main control chip, a crystal oscillator drive capacitor, a crystal oscillator, a crystal oscillator circuit resistor, a reset circuit capacitor, a reset circuit resistor, an IIC bus pull-up resistor, an encryption chip, and an LED current limiting resistor. , System LED lights, step-down chip, USB interface protection chip, pull-up resistor, USB interface, power filter capacitor, BOOT pull-down resistor;

所述主控芯片中的VDD电源引脚全部连接到电容后接地,主控芯片的PA11和PA12引脚通过USB接口保护芯片与USB接口进行连接,PB15引脚连接到系统功能指示LED灯,BOOT0引脚为通过BOOT0下拉电阻接地;The VDD power pins in the main control chip are all connected to the capacitor and then grounded. The PA11 and PA12 pins of the main control chip are connected to the USB interface through the USB interface protection chip, and the PB15 pin is connected to the system function indicator LED light, BOOT0 The pin is grounded through the BOOT0 pull-down resistor;

所述主控芯片的引脚NRST引脚与复位电路电容和复位电路电阻的一端进行连接,所述复位电路电容另一端接地;The pin NRST pin of the main control chip is connected with one end of the reset circuit capacitor and the reset circuit resistor, and the other end of the reset circuit capacitor is grounded;

所述主控芯片的OSC_IN和OSC_OUT引脚与晶振电路进行连接,所述OSC_IN引脚与晶振的2号引脚连接,OSC_OUT引脚与晶振电路电阻的一端相连,电阻的另一端与晶振相连,所述晶振的1号2号引脚还连接到晶振驱动电容后接地;所述USB接口的D-引脚和D+引脚分别与USB静电保护芯片的I/O2引脚和I/O1引脚连接;The OSC_IN and OSC_OUT pins of the main control chip are connected with the crystal oscillator circuit, the OSC_IN pin is connected with the No. 2 pin of the crystal oscillator, the OSC_OUT pin is connected with one end of the crystal oscillator circuit resistance, and the other end of the resistance is connected with the crystal oscillator, The No. 1 and No. 2 pins of the crystal oscillator are also connected to the ground after the crystal oscillator drive capacitor; connect;

所述加密芯片通过IIC总线与主控芯片进行数据通讯,加密芯片的SDA引脚与主控芯片的PB9引脚连接,SCL引脚与主控芯片的PB8引脚连接,并且在IIC两条线还连接有上拉电阻。The encryption chip performs data communication with the main control chip through the IIC bus, the SDA pin of the encryption chip is connected with the PB9 pin of the main control chip, the SCL pin is connected with the PB8 pin of the main control chip, and two lines of the IIC are connected. There are also pull-up resistors connected.

优选的,所述USB接口保护芯片的号引脚和号引脚分别与主控芯片的PA11和PA12引脚连接,其中USB保护芯片的型号为USBLC6_2SC6。Preferably, the number pin and the number pin of the USB interface protection chip are respectively connected to the PA11 and PA12 pins of the main control chip, wherein the model of the USB protection chip is USBLC6_2SC6.

优选的,系统指示LED灯一端接地,另一端通过LED限流电阻与主控芯片的PA15引脚连接。Preferably, one end of the system indicating LED light is grounded, and the other end is connected to the PA15 pin of the main control chip through the LED current limiting resistor.

优选的,所述加密芯片型号为ATSHA204A,所述主控芯片的型号为STM32U575CI。Preferably, the model of the encryption chip is ATSHA204A, and the model of the main control chip is STM32U575CI.

本实用新型的优点在于:本申请通过安全的主控芯片和加密芯片能够实现常见的软件的登录认证,有效保护软件内部重要数据和确认软件是否运行在认证的计算机上。为知识产权保护和数据安全提供了有效的解决方案。The utility model has the advantages that the application can realize the login authentication of common software through the secure main control chip and the encryption chip, effectively protect the important data in the software and confirm whether the software runs on the authenticated computer. It provides effective solutions for intellectual property protection and data security.

附图说明Description of drawings

附图用来提供对本实用新型的进一步理解,并且构成说明书的一部分,与本实用新型的实施例一起用于解释本实用新型,并不构成对本实用新型的限制。The accompanying drawings are used to provide a further understanding of the present invention, and constitute a part of the specification, and are used to explain the present invention together with the embodiments of the present invention, and do not constitute a limitation to the present invention.

图1为本实用新型电路结构示意图。FIG. 1 is a schematic diagram of the circuit structure of the utility model.

具体实施方式Detailed ways

下面将结合本实用新型实施例中的附图,对本实用新型实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本实用新型一部分实施例,而不是全部的实施例。基于本实用新型中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本实用新型保护的范围。The technical solutions in the embodiments of the present utility model will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present utility model. Obviously, the described embodiments are only a part of the embodiments of the present utility model, rather than all the implementations. example. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present invention.

本专利提供了一种外置式软件登录验证加密电路。This patent provides an external software login verification encryption circuit.

该加密电路使用USB接口与计算机进行数据通讯,并且为系统提供5V电源供电,5V电源从USB接口进入降压芯片AMS1117-3.3将电压将的3.3V供主控芯片STM32U575CI和加密芯片ATSHA204A使用,并且ATSHA204A通过IIC接口与主控芯片进行通讯。The encryption circuit uses the USB interface for data communication with the computer, and provides 5V power supply for the system. The 5V power supply enters the step-down chip AMS1117-3.3 from the USB interface, and the voltage will be 3.3V for the main control chip STM32U575CI and encryption chip ATSHA204A use, and ATSHA204A communicates with the main control chip through the IIC interface.

如附图所示:一种外置式软件登录验证加密电路,包括:主控芯片1、晶振驱动电容2、晶振3、晶振电路电阻4、复位电路电容5、复位电路电阻6、IIC总线上拉电阻7、ATSHA204A加密芯片8、LED限流电阻9、系统LED灯10、AMS1117-3.3降压芯片11、USB接口保护芯片12、上拉电阻13、USB接口14、电源滤波电容15、BOOT0下拉电阻16。As shown in the attached drawings: an external software login verification encryption circuit, including: main control chip 1, crystal oscillator drive capacitor 2, crystal oscillator 3, crystal oscillator circuit resistor 4, reset circuit capacitor 5, reset circuit resistor 6, IIC bus pull-up Resistor 7, ATSHA204A encryption chip 8, LED current limiting resistor 9, system LED light 10, AMS1117-3.3 step-down chip 11, USB interface protection chip 12, pull-up resistor 13, USB interface 14, power filter capacitor 15, BOOT0 pull-down resistor 16.

1)电源电路设计:1) Power circuit design:

所述加密电路使用USB接口14为系统提供5V供电,USB接口14的1引脚为5V电源的输入引脚,1引脚与AMS1117-3.3降压芯片11的电源输入3引脚进行连接通过降压芯片之后在引脚2输出3.3V电压,AMS1117-3.3降压芯片11的1引脚与系统电源GND连接,并且在AMS1117-3.3降压芯片11电压输入和输出端连接电源滤波电容15对电源中的高频干扰信号进行滤波。The encryption circuit uses the USB interface 14 to provide 5V power supply for the system, the 1 pin of the USB interface 14 is the input pin of the 5V power supply, and the 1 pin is connected to the power input 3 pin of the AMS1117-3.3 step-down chip 11 through the drop. After pressing the chip, output 3.3V voltage at pin 2, pin 1 of AMS1117-3.3 step-down chip 11 is connected to the system power GND, and the voltage input and output terminals of AMS1117-3.3 step-down chip 11 are connected to power supply filter capacitors 15 pairs of power high-frequency interference signals in the filter.

2)主控芯片与各功能模块连接方式:2) The connection method between the main control chip and each functional module:

所述主控芯片1的型号为STM32U575CI,该芯片能够实现系统的低功耗和程序的安全管理。主控芯片1中的VDD电源引脚全部使用104电容进行去耦处理。主控芯片1的第32和33引脚通过USB接口保护芯片与USB接口进行连接,第28引脚PA15连接系统功能指示LED灯。该电路使用外部8M晶振为系统提供是时钟源,主控芯片1的第7引脚连接系统上电复位电路。主控芯片1的44引脚为BOOT0单片机启动模式选择引脚,通过BOOT0下拉电阻16与GND连接,保证系统从FLASH启动The model of the main control chip 1 is STM32U575CI, which can realize the low power consumption of the system and the security management of the program. All the VDD power pins in the main control chip 1 use 104 capacitors for decoupling. The 32nd and 33rd pins of the main control chip 1 are connected to the USB interface through the USB interface protection chip, and the 28th pin PA15 is connected to the system function indicator LED. This circuit uses an external 8M crystal oscillator to provide a clock source for the system, and the seventh pin of the main control chip 1 is connected to the system power-on reset circuit. The 44th pin of the main control chip 1 is the boot mode selection pin of the BOOT0 microcontroller. It is connected to GND through the BOOT0 pull-down resistor 16 to ensure that the system starts from FLASH.

3)复位电路:3) Reset circuit:

考虑到该加密电路PCB板的功能和尺寸问题,所以选择上电复位电路,取消常见的按键复位电路,主控芯片1的7引脚NRST与复位电路电容5和复位电路电阻6的一端进行连接,复位电路电阻6保证系统在正常运行时NRST引脚为高电平,复位电路电容5保证在系统上电时NRST引脚为低电平,触发系统复位。Considering the function and size of the encryption circuit PCB board, the power-on reset circuit is selected, and the common button reset circuit is cancelled. The 7-pin NRST of the main control chip 1 is connected to one end of the reset circuit capacitor 5 and the reset circuit resistor 6. , the reset circuit resistor 6 ensures that the NRST pin is at a high level during normal operation of the system, and the reset circuit capacitor 5 ensures that the NRST pin is at a low level when the system is powered on, triggering a system reset.

4)外部晶振电路:4) External crystal oscillator circuit:

所述加密电路采用8M无源晶振为系统提供时钟源,主控芯片1的第5和第6引脚与晶振电路进行连接,5引脚与晶振3的2引脚连接,6引脚与晶振电路电阻4的一端相连,电阻4的另一端与晶振3相连,用于防止晶振的过驱动。其中晶振驱动电容2用于驱动晶振3起振。The encryption circuit uses an 8M passive crystal oscillator to provide a clock source for the system, the 5th and 6th pins of the main control chip 1 are connected to the crystal oscillator circuit, the 5th pin is connected to the 2nd pin of the crystal oscillator 3, and the 6th pin is connected to the crystal oscillator. One end of the circuit resistor 4 is connected to the crystal oscillator 3, and the other end of the resistor 4 is connected to the crystal oscillator 3 to prevent over-driving of the crystal oscillator. The crystal oscillator drive capacitor 2 is used to drive the crystal oscillator 3 to start vibrating.

5)USB接口电路:5) USB interface circuit:

所述加密电路通过USB接口14与计算机进行数据通讯,所述USB接口14的2引脚和3引脚分别于USB静电保护芯片12的4引脚和6引脚进行连接,USB接口保护芯片12的1引脚和3引脚分别与主控芯片1的33引脚USB_DP和34引脚USB_DM进行连接。其中USB保护芯片12的型号为USBLC6_2SC6,为USB接口专用的保护芯片。The encryption circuit communicates data with the computer through the USB interface 14. The 2-pin and the 3-pin of the USB interface 14 are respectively connected to the 4-pin and the 6-pin of the USB electrostatic protection chip 12. The USB interface protection chip 12 The 1 and 3 pins of the main control chip 1 are respectively connected to the 33-pin USB_DP and 34-pin USB_DM of the main control chip 1. The model of the USB protection chip 12 is USBLC6_2SC6, which is a dedicated protection chip for the USB interface.

6)系统指示灯电路:6) System indicator circuit:

所述系统指示LED灯10用于提示系统正常工作的状态。The system indicating LED light 10 is used to indicate the normal working state of the system.

系统指示LED10一端与GND进行连接,另一端通过LED限流电阻9与主控芯片1的第28引脚PA15进行连接。The system indicates that one end of the LED10 is connected to GND, and the other end is connected to the 28th pin PA15 of the main control chip 1 through the LED current limiting resistor 9 .

7)加密芯片电路:7) Encryption chip circuit:

所述加密电路的加密芯片型号为ATSHA204A,加密芯片8通过IIC总线与主控芯片1进行数据通讯,加密芯片8的第5和第6引脚分别于主控芯片1的第46和45引脚进行连接,并且需要在IIC两条线上通过上拉电阻7进行实现通信过程中的高电平。The encryption chip model of the encryption circuit is ATSHA204A, the encryption chip 8 carries out data communication with the main control chip 1 through the IIC bus, and the 5th and 6th pins of the encryption chip 8 are respectively on the 46th and 45th pins of the main control chip 1. Connect, and need to achieve high level in the communication process through pull-up resistor 7 on the two lines of IIC.

Claims (4)

1. An external software login verification encryption circuit is characterized by comprising a main control chip (1), a crystal oscillator driving capacitor (2), a crystal oscillator (3), a crystal oscillator circuit resistor (4), a reset circuit capacitor (5), a reset circuit resistor (6), an IIC bus pull-up resistor (7), an encryption chip (8), an LED current-limiting resistor (9), a system indication LED lamp (10), a voltage reduction chip (11), a USB interface protection chip (12), a pull-up resistor (13), a USB interface (14), a power supply filtering capacitor (15) and a BOOT0 pull-down resistor (16);
VDD power supply pins in the main control chip (1) are all grounded after being connected to a 104 capacitor, pins PA11 and PA12 of the main control chip (1) are connected with a USB interface through a USB interface protection chip, a PB15 pin is connected to a system function indication LED lamp, and a BOOT0 pin is grounded through a BOOT0 pull-down resistor (16);
a pin NRST of the main control chip (1) is connected with one end of a reset circuit capacitor (5) and one end of a reset circuit resistor (6), and the other end of the reset circuit capacitor (5) is grounded;
OSC _ IN and OSC _ OUT pins of the main control chip (1) are connected with a crystal oscillator circuit, the OSC _ IN pin is connected with a No. 2 pin of a crystal oscillator (3), the OSC _ OUT pin is connected with one end of a resistor (4) of the crystal oscillator circuit, the other end of the resistor (4) is connected with the crystal oscillator (3), and the No. 1 and No. 2 pins of the crystal oscillator (3) are grounded after being connected with a crystal oscillator driving capacitor (2); a D-pin and a D + pin of the USB interface (14) are respectively connected with an I/O2 pin and an I/O1 pin of the USB interface protection chip (12);
encrypt chip (8) and carry out data communication through IIC bus and main control chip (1), the SDA pin of encrypting chip (8) is connected with the PB9 pin of main control chip (1), and the SCL pin is connected with the PB8 pin of main control chip (1) to still be connected with IIC bus pull-up resistance (7) at two lines of IIC.
2. The external software login authentication encryption circuit according to claim 1, wherein the pin 1 and the pin 3 of the USB interface protection chip (12) are respectively connected to the pins PA11 and PA12 of the main control chip (1), and the USB interface protection chip (12) has a model number of USBLC6_2SC6.
3. The external software login verification encryption circuit as claimed in claim 1, wherein one end of the system indication LED lamp (10) is grounded, and the other end is connected with a PA15 pin of the main control chip (1) through an LED current limiting resistor (9).
4. The external software login authentication encryption circuit of claim 1, wherein the type of the encryption chip (8) is ATSHA204A, and the type of the main control chip (1) is STM32U575CI.
CN202221591120.XU 2022-06-24 2022-06-24 External software login verification encryption circuit Active CN217543839U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202221591120.XU CN217543839U (en) 2022-06-24 2022-06-24 External software login verification encryption circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202221591120.XU CN217543839U (en) 2022-06-24 2022-06-24 External software login verification encryption circuit

Publications (1)

Publication Number Publication Date
CN217543839U true CN217543839U (en) 2022-10-04

Family

ID=83420312

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202221591120.XU Active CN217543839U (en) 2022-06-24 2022-06-24 External software login verification encryption circuit

Country Status (1)

Country Link
CN (1) CN217543839U (en)

Similar Documents

Publication Publication Date Title
TWI441399B (en) Overvoltage protection circuit, interfacing system for providing overvoltage protection and overvoltage protection method in a data bus interface
US9032107B2 (en) USB key and a method for communication between the USB key and a terminal
CN101546285A (en) Device for testing USB interface I/O board
CN104298575B (en) Mainboard debug circuit
CN101308484A (en) Serial bus device, transmission method and universal serial bus (USB) device
CN110447971A (en) Electronic cigarette and its control method with electrical child lock
US9287669B2 (en) SATA express connector
CN1890620A (en) Expresscard power switch device with enhanced communications paths and security functions
CN106406967A (en) STM32-based USB online upgrade method and system
CN217543839U (en) External software login verification encryption circuit
US9529756B2 (en) Method and terminal for starting universal serial USB state machine
CN208873142U (en) A kind of FPGA development board
CN103425943B (en) Embedded multimedia card and related electronic devices and its engineering board
CN102236415A (en) Keyboard with fingerprint power-on device
CN102591407B (en) Mainboard
CN111143140B (en) Data maintenance port detection system and method
CN101526841B (en) Computer system and power saving method
CN203520380U (en) A New Program Programming Circuit
CN205091745U (en) Can prevent box without safety certificate's USB flash disk linked computers
CN101968843A (en) Computer operation locking device
CN204697180U (en) Chip main board and television set
CN211236623U (en) Industrial electronic lock
CN102622278B (en) Watchdog monitoring circuit and monitoring method
CN110176996B (en) Safety protection device of distribution network terminal
CN111862418B (en) A software-upgradable USB smart lock

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant