CN113706128A - Financial transaction control circuit and method and financial terminal - Google Patents

Financial transaction control circuit and method and financial terminal Download PDF

Info

Publication number
CN113706128A
CN113706128A CN202110898186.7A CN202110898186A CN113706128A CN 113706128 A CN113706128 A CN 113706128A CN 202110898186 A CN202110898186 A CN 202110898186A CN 113706128 A CN113706128 A CN 113706128A
Authority
CN
China
Prior art keywords
resistance value
detected
processor
component
resistor
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
CN202110898186.7A
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.)
PAX Computer Technology Shenzhen Co Ltd
Original Assignee
PAX Computer Technology Shenzhen 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 PAX Computer Technology Shenzhen Co Ltd filed Critical PAX Computer Technology Shenzhen Co Ltd
Priority to CN202110898186.7A priority Critical patent/CN113706128A/en
Publication of CN113706128A publication Critical patent/CN113706128A/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/04Payment circuits
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/71Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information
    • 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/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction

Abstract

The application provides a financial transaction control circuit, a method and a financial terminal, wherein the financial transaction control circuit comprises: the resistance value detection circuit is used for detecting the resistance value of the component to be detected; a temperature detection circuit for detecting an ambient temperature; the processor is electrically connected with the resistance value detection circuit and the temperature detection circuit respectively; the processor stores an initial resistance value of the component to be detected and a correlation coefficient between the resistance value and the temperature of the component to be detected; the processor is used for compensating the resistance value of the component to be detected according to the correlation coefficient and the environment temperature to obtain a compensation resistance value, comparing and analyzing the compensation resistance value and the initial resistance value, and generating a transaction control instruction according to an analysis result. The problem that current payment equipment's payment security is low has been solved in this application.

Description

Financial transaction control circuit and method and financial terminal
Technical Field
The present disclosure relates to the field of circuits, and in particular, to a financial transaction control circuit, method and financial terminal.
Background
Because the payment equipment in the financial industry needs to have high security, the actual security requirement is considered in the use process besides the requirement of passing the security test authentication, and the payment equipment is prevented from being attacked and tampered by illegal molecules to cause the leakage of funds or personal payment information. In order to meet the corresponding financial payment safety requirements and the corresponding safety detection specifications, the existing payment equipment needs to be realized through some specific physical safety protection designs and measures (such as winding, Keymesh, zebra stripes and other parts), but the physical protection parts all have risks of being attacked, for example, drilling, short-circuiting and other ways are adopted, so that the payment safety of the payment equipment is greatly reduced.
Disclosure of Invention
The embodiment of the application provides a financial transaction control circuit, a financial transaction control method and a financial terminal, and solves the problem that the payment safety of existing payment equipment is low.
The invention is realized in such a way that a financial transaction control circuit comprises:
the resistance value detection circuit is used for detecting the resistance value of the component to be detected;
a temperature detection circuit for detecting an ambient temperature;
the processor is electrically connected with the resistance value detection circuit and the temperature detection circuit respectively;
the processor stores the initial resistance value of the component to be detected and a correlation coefficient between the resistance value and the temperature of the component to be detected;
the processor is used for compensating the resistance value of the component to be detected according to the correlation coefficient and the environment temperature to obtain a compensation resistance value, comparing and analyzing the compensation resistance value and the initial resistance value, and generating a transaction control instruction according to an analysis result.
According to the financial transaction control circuit provided by the embodiment of the application, the resistance value of the component to be detected can be automatically detected, temperature compensation is carried out to obtain a more accurate compensation resistance value, the compensation resistance value of the component to be detected is compared with the initial resistance value to obtain the resistance value variation of the component to be detected, whether the component to be detected is illegally attacked can be judged by judging whether the resistance value variation of the component to be detected is in a normal range, if the component to be detected is illegally attacked, the financial transaction can be controlled to stop by a transaction control instruction generated by the processor, and the security of the financial transaction is greatly enhanced.
In one embodiment, the financial transaction control circuitry further comprises a display screen electrically connected to the processor;
the processor is further used for generating prompt information according to the analysis result, and the display screen is used for displaying the prompt information.
In one embodiment, the temperature detection circuit includes:
one end of the temperature detection resistor is respectively connected with a first detection pin and a first resistor of the processor, and the other end of the temperature detection resistor is grounded;
the other end of the first resistor is connected with a power supply.
In one embodiment, the resistance value detection circuit includes:
the non-inverting input end of the operational amplifier is respectively connected with the component to be detected and a second resistor, the other end of the component to be detected is grounded, and the other end of the second resistor is connected with a power supply;
the inverting input end of the operational amplifier is respectively connected with a third resistor and a feedback resistor, the other end of the third resistor is grounded, and the other end of the feedback resistor is connected with the output end of the operational amplifier;
the output end of the operational amplifier is connected with a second detection pin of the processor;
and the non-inverting input end of the operational amplifier is connected with the signal detection pin of the processor.
In one embodiment, the resistance value detection circuit includes:
the non-inverting input end of the operational amplifier is respectively connected with the component to be detected and a second resistor, the other end of the component to be detected is connected with a power supply, and the other end of the second resistor is grounded;
the inverting input end of the operational amplifier is respectively connected with a third resistor and a feedback resistor, the other end of the third resistor is connected with a power supply, and the other end of the feedback resistor is connected with the output end of the operational amplifier;
the output end of the operational amplifier is connected with a second detection pin of the processor;
and the non-inverting input end of the operational amplifier is connected with the signal detection pin of the processor.
In one embodiment, the resistance value detection circuit includes:
the non-inverting input end of the operational amplifier is respectively connected with the component to be detected and a second resistor, the other end of the component to be detected is connected with the signal output pin of the processor, and the other end of the second resistor is grounded;
the inverting input end of the operational amplifier is respectively connected with a third resistor and a feedback resistor, the other end of the third resistor is connected with a signal output pin of the processor, and the other end of the feedback resistor is connected with the output end of the operational amplifier;
the output end of the operational amplifier is connected with a second detection pin of the processor;
and the non-inverting input end of the operational amplifier is connected with the signal input pin of the processor.
In one embodiment, the signal is a pointer signal.
In one embodiment, the part to be detected is any one of Keymesh, zebra stripes and wire winding.
The embodiment of the application further provides a financial transaction control method, which is applied to the financial transaction control circuit in any embodiment, and the method comprises the following steps:
the resistance value detection circuit detects the resistance value of the component to be detected and transmits the resistance value to the processor;
the temperature detection circuit detects the ambient temperature and transmits the ambient temperature to the processor;
the processor compensates the resistance value of the component to be detected according to the stored correlation coefficient between the resistance value and the temperature of the component to be detected and the environment temperature, and obtains the compensation resistance value of the component to be detected;
the processor calculates the difference value between the compensation resistance value and the initial resistance value of the component to be detected;
the processor judges whether the absolute value of the difference value falls into a preset range or not;
if not, the processor generates prompt information and sends the prompt information to the display screen for displaying, and controls the transaction to stop or forbid the running of the specific program.
In one embodiment, the initial resistance value of the component to be detected is a resistance value detected in an initialization process of the equipment where the component to be detected is located when the equipment leaves a factory, and the initial resistance value of the component to be detected is stored in a safe storage area of the processor.
In one embodiment, if the processor determines that the absolute value of the difference falls within a preset range, the processor controls the transaction to be carried out; and after the preset duration, executing the step of detecting the resistance value of the component to be detected by the resistance value detection circuit and transmitting the resistance value to the processor.
The embodiment of the application also provides a financial terminal which comprises the financial transaction control circuit in any embodiment.
The financial transaction control circuit, the method and the financial terminal have the advantages that: the method and the device can automatically detect the actual resistance value of the component to be detected after temperature compensation, the resistance value variation of the component to be detected can be obtained by comparing the actual resistance value of the component to be detected with the initial resistance value, whether the component to be detected is illegally attacked can be judged by judging whether the resistance value variation of the component to be detected is in a normal range, if the component to be detected is illegally attacked, the transaction control instruction generated by the processor can control financial transaction to stop or forbid specific programs to run, so that an illegal attacker cannot successfully attack and destroy the component to be detected, and the safety of the financial transaction is greatly enhanced.
Drawings
Fig. 1 is a block diagram of a financial transaction control circuit according to an embodiment of the present disclosure.
Fig. 2 is a circuit diagram of a financial transaction control circuit according to a second embodiment of the present application.
Fig. 3 is a circuit diagram of a financial transaction control circuit according to a third embodiment of the present application.
Fig. 4 is a circuit diagram of a financial transaction control circuit according to the fourth embodiment of the present application.
Fig. 5 is a flowchart of a financial transaction control method according to a fifth embodiment of the present application.
Fig. 6 is a flow chart of the storage of the initial resistance value.
Reference numerals: 10. a resistance value detection circuit;
20. a temperature detection circuit;
30. a processor;
40. a display screen.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It should be noted that the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.
The embodiment of the application provides a financial transaction control circuit, a financial transaction control method and a financial terminal, and solves the problem that the payment safety of existing payment equipment is low.
Example one
Referring to fig. 1, the financial transaction control circuit provided in the embodiment of the present application includes a resistance value detection circuit 10, where the resistance value detection circuit 10 is configured to detect a resistance value of a component to be detected; the temperature detection circuit 20, the temperature detection circuit 20 is used for detecting the ambient temperature; the processor 30, the processor 30 is electrically connected with the resistance value detection circuit 10 and the temperature detection circuit 20 respectively; the processor 30 stores an initial resistance value of the component to be detected and a correlation coefficient between the resistance value and the temperature of the component to be detected; the processor 30 is configured to compensate the resistance value of the component to be detected according to the correlation coefficient and the ambient temperature to obtain a compensation resistance value, compare and analyze the compensation resistance value and the initial resistance value, and generate a transaction control instruction according to an analysis result.
According to the financial transaction control circuit provided by the embodiment of the application, the resistance value of the component to be detected can be automatically detected, temperature compensation is carried out to obtain a more accurate compensation resistance value, the compensation resistance value of the component to be detected is compared with the initial resistance value to obtain the resistance value variation of the component to be detected, whether the component to be detected is illegally attacked can be judged by judging whether the resistance value variation of the component to be detected is in a normal range, if the component to be detected is illegally attacked, a transaction control instruction generated by the processor 30 can control financial transaction to stop or forbid specific programs to run, and the safety of the financial transaction is greatly enhanced.
It can be understood that, in order to meet the corresponding financial payment security requirement and the corresponding security detection specification, a payment device such as a POS generally needs to be implemented by some specific physical security protection measures, and in a common design, components such as Keymesh, zebra stripe, wire winding and the like are used, because the components adopt the physical characteristics of materials, the components all have a certain resistance value, generally ranging from several hundred ohms to several thousand ohms, and an illegal party generally needs to break the components such as Keymesh, zebra stripe and wire winding in order to obtain sensitive information such as a payment card account number or a payment password, because the components are connected with a tamper signal and have a real-time detection function, once disconnected, the POS prompts to trigger and prohibit payment transactions, so the attack means can only adopt a short-circuit mode, but the resistance value of the link of the tamper signal changes, although an attacker can also serially connect a resistor when attacking short circuit, because the Keymesh, zebra stripe, winding and other components of each device have the characteristic of different resistance values, and because the attacker cannot acquire the initial resistance values of the components, the attacker cannot know the actual resistance values of the components and serially connect an accurate resistor, once the detection circuit detects that the change of the resistance values on the circuit exceeds the normal range, the POS machine equipment can prompt alarm information and forbid payment transaction, so that the illegal attacker cannot successfully attack and damage the components to be detected, the safety of the whole machine is improved, the difficulty of attacking the equipment by the illegal attacker is improved, and the leakage of sensitive information such as user card number information, account password and the like and fund loss are avoided. From the above, it can be seen that the component to be detected in the embodiment of the present application is any one of Keymesh, zebra stripe, and wire winding. Of course, the problem is solved by detecting the resistance value of the part to be detected, so that the part to be detected can be made of other conductive materials with certain resistance values.
The zebra stripes are conductive rubber connectors, and are formed by alternately layering conductive silica gel and insulating silica gel and then vulcanizing; keymesh is a security component using silver paste for serpentine winding, consisting of silver paste windings and an insulating support component. The processor 30 may be a safety processor or other processor with safety function, and the safety processor is a processor with processing function and capable of processing the pointer detection signal. The correlation coefficient between the resistance value and the temperature of the component to be detected is obtained through experimental measurement and calculation when the component to be detected leaves a factory.
The initial resistance value of the component to be detected in this embodiment is used for comparing with the resistance value of the component to be detected to determine the resistance value variation of the component to be detected, and the initial resistance value of the component to be detected is initially measured when the device on which the component to be detected is mounted leaves a factory and is stored in a safe storage area of the device, that is, the safe storage area of the processor 30; referring to fig. 6, the factory initialization and storage process of the initial resistance value of the component to be detected specifically includes: when the device leaves the factory, the whole machine is powered on and started, a resistance value detection operation program is entered after the device is started, then an ambient temperature detection value at the moment is read, and meanwhile a detection resistance value of a component to be detected at the moment is read, the processor 30 conducts compensation calibration on the detection resistance value of the component to be detected according to the read ambient temperature and the incidence relation between the component to be detected and the temperature, the compensation resistance value after the compensation calibration is stored in a safe storage area of the processor 30, and when the resistance value change of the component to be detected is judged to be beyond a reasonable range subsequently, the resistance value stored in the safe storage area of the processor 30 is used as an initial resistance value for comparison. It should be noted that the above-mentioned secure storage area refers to an area which is physically isolated or otherwise protected so that signals or circuits therein cannot be directly or indirectly detected by the outside.
Referring to fig. 1, the financial transaction control circuit of the embodiment of the present application further includes a display screen 40, the display screen 40 being electrically connected to the processor 30; the processor 30 is further configured to generate a prompt message according to the analysis result, and the display screen 40 is configured to display the prompt message.
Through the structure, when the analysis result is that the compensation resistance value of the component to be detected is not in the normal range, the resistance value variation of the component to be detected, which is obtained by comparing the compensation resistance value with the initial resistance value, indicates that the component to be detected is illegally attacked, at the moment, the processor 30 can generate prompt information besides stopping the transaction in time, and the prompt information is displayed through the display screen 40 to prompt a user that the component to be detected is illegally attacked, so that the user is prevented from being damaged by property.
Example two
Referring to fig. 2, the temperature detection circuit 20 includes a temperature detection resistor having one end connected to the first detection pin a/D1 and a first resistor R1 of the processor 30, respectively, and the other end grounded; the other end of the first resistor R1 is connected to the power supply VDD.
The temperature detection resistor is a temperature sensitive resistor Rz, the temperature sensitive resistor Rz and the first resistor R1 are divided to generate a voltage V3, the resistance value of the temperature sensitive resistor Rz changes along with the change of the temperature, which means that the voltage V3 changes synchronously, the voltage V3 is input into the first detection pin A/D1 of the processor 30, and the processor 30 can obtain the real-time environment temperature according to the resistance value of the temperature sensitive resistor Rz and the characteristic curve of the temperature change.
Besides detecting the real-time temperature of the environment through the temperature sensitive resistor Rz, the real-time temperature of the environment may be detected through an IC having a temperature detection function, or detected directly through a temperature sensor provided in the processor 30.
Referring to fig. 2, the resistance detection circuit 10 includes an operational amplifier U1, a non-inverting input terminal of the operational amplifier U1 is connected to the component to be detected and a second resistor R2, respectively, another end of the component to be detected is grounded, and another end of the second resistor R2 is connected to the power supply VDD; the inverting input end of the operational amplifier U1 is respectively connected with a third resistor R3 and a feedback resistor R4, the other end of the third resistor R3 is grounded, and the other end of the feedback resistor R4 is connected with the output end of the operational amplifier U1; the output end of the operational amplifier is connected with a second detection pin A/D2 of the processor 30; the non-inverting input of operational amplifier U1 is connected to the signal detect pin static pointer _ P0 of processor 30.
In the second embodiment, the component to be detected has a certain resistance value, generally ranging from several hundred ohms to several thousand ohms due to the physical characteristics of the material itself, the component to be detected can be equivalent to the resistor Rx, the Rx is connected in series to the high-trigger static pointer _ P0 signal link, the other end of the resistor is grounded, the resistor Rx forms a voltage division with the second resistor R2 to generate a voltage V1, the voltage V1 is input to the non-inverting input terminal of the operational amplifier U1, the third resistor R3 and the feedback resistor R4 generate a voltage V2 to be input to the inverting input terminal of the operational amplifier U1, the amplification factor of the operational amplifier U1 can be set freely according to the actual situation through the third resistor R3 and the feedback resistor R4, once the resistor Rx changes, the change of the Rx can be converted to the voltage V1 in real time due to the voltage division effect of the second resistor R2, and simultaneously due to the virtual short characteristic of the operational amplifier U1, the voltage V1 is equal to the voltage V2, then due to the negative feedback effect of the feedback resistor R4, the voltage V4 output by the output terminal of the operational amplifier U1 can reflect the variation of the resistor Rx in real time, and at the same time, the voltage V4 is input to the second detection pin a/D2 of the processor 30, the processor 30 only needs to detect the voltage V4, so that the resistor Rx of the component to be detected and the variation thereof can be obtained, once the component to be detected is attacked, the resistance value of the resistor Rx exceeds the normal range, and the processor 30 can prompt warning information on the display screen 40 and stop payment transaction. Meanwhile, the resistor Rx of the component to be detected is connected to the Tamper signal network, so the resistor Rx cannot be disconnected, once the resistor Rx is disconnected, the voltage V1 is pulled high by the second resistor R2, the Tamper signal is triggered, the processor 30 can prompt warning information on the display screen 40 and erase touch sensitive information, and the safety of payment transaction is improved.
EXAMPLE III
Referring to fig. 3, the temperature detection circuit 20 includes a temperature detection resistor having one end connected to the first detection pin a/D1 and a first resistor R1 of the processor 30, respectively, and the other end grounded; the other end of the first resistor R1 is connected to the power supply VDD.
The temperature detection resistor is a temperature sensitive resistor Rz, the temperature sensitive resistor Rz and the first resistor R1 are divided to generate a voltage V3, the resistance value of the temperature sensitive resistor Rz changes along with the change of the temperature, which means that the voltage V3 changes synchronously, the voltage V3 is input into the first detection pin A/D1 of the processor 30, and the processor 30 can obtain the real-time environment temperature according to the resistance value of the temperature sensitive resistor Rz and the characteristic curve of the temperature change.
The resistance value detection circuit 10 comprises an operational amplifier U1, the non-inverting input end of the operational amplifier U1 is respectively connected with a component to be detected and a second resistor R2, the other end of the component to be detected is connected with a power supply VDD, and the other end of the second resistor R2 is grounded; the inverting input end of the operational amplifier U1 is respectively connected with a third resistor R3 and a feedback resistor R4, the other end of the third resistor R3 is connected with a power supply VDD, and the other end of the feedback resistor R4 is connected with the output end of the operational amplifier U1; the output end of the operational amplifier U1 is connected with a second detection pin A/D2 of the processor 30; the non-inverting input of operational amplifier U1 is connected to the signal detect pin static pointer _ N0 of processor 30.
In the third embodiment, the component to be detected has a certain resistance value, generally ranging from several hundred ohms to several thousand ohms due to the physical characteristics of the material itself, the component to be detected may be equivalent to a resistor Rx, the Rx is connected in series to the low-trigger static pointer _ N0 signal link, the other end is connected to the power supply VDD, the component is divided by the second resistor R2 to generate a voltage V1, the voltage V1 is input to the non-inverting input terminal of the operational amplifier U1, the third resistor R3 and the feedback resistor R4 generate a voltage V2, the voltage V2 is input to the inverting input terminal of the operational amplifier U1, the amplification factor of the operational amplifier U1 may be set freely according to the actual situation by the third resistor R3 and the feedback resistor R4, once the resistor Rx changes, the change in size of the Rx may be converted to the voltage V1 in real time due to the voltage dividing effect of the second resistor R2, and due to the virtual short characteristic of the operational amplifier U1, the voltage V1 is equal to the voltage V2, then due to the negative feedback effect of the feedback resistor R4, the voltage V4 output by the output terminal of the operational amplifier U1 can reflect the variation of the resistor Rx in real time, and at the same time, the voltage V4 is input to the second detection pin a/D2 of the processor 30, the processor 30 only needs to detect the voltage V4, and can know the resistor Rx of the component to be detected and the variation thereof, once the component to be detected is attacked, the resistance value of the resistor Rx exceeds the normal range, and the processor 30 can prompt warning information on the display screen 40 and stop payment transaction. Meanwhile, the resistor Rx of the component to be detected is connected to the Tamper signal network, so the resistor Rx cannot be disconnected, once the resistor Rx is disconnected, the voltage V1 is pulled down by the second resistor R2, the Tamper signal is triggered, the processor 30 can prompt warning information on the display screen 40 and erase touch sensitive information, and the safety of payment transaction is improved.
Example four
Referring to fig. 4, the temperature detection circuit 20 includes a temperature detection resistor having one end connected to the first detection pin a/D1 and a first resistor R1 of the processor 30, respectively, and the other end grounded; the other end of the first resistor R1 is connected to the power supply VDD.
The temperature detection resistor is a temperature sensitive resistor Rz, the temperature sensitive resistor Rz and the first resistor R1 are divided to generate a voltage V3, the resistance value of the temperature sensitive resistor Rz changes along with the change of the temperature, which means that the voltage V3 changes synchronously, the voltage V3 is input into the first detection pin A/D1 of the processor 30, and the processor 30 can obtain the real-time environment temperature according to the resistance value of the temperature sensitive resistor Rz and the characteristic curve of the temperature change.
The resistance value detection circuit 10 comprises an operational amplifier U1, the non-inverting input end of the operational amplifier U1 is respectively connected with a component to be detected and a second resistor R2, the other end of the component to be detected is connected with a signal output pin dynamic pointer _ P of the processor 30, and the other end of the second resistor R2 is grounded; the inverting input end of the operational amplifier U1 is respectively connected with a third resistor R3 and a feedback resistor R4, the other end of the third resistor R3 is connected with a signal output pin dynamic pointer _ P of the processor 30, and the other end of the feedback resistor R4 is connected with the output end of the operational amplifier U1; the output end of the operational amplifier U1 is connected with a second detection pin A/D2 of the processor 30; the non-inverting input of operational amplifier U1 is connected to the signal input pin dynamic pointer _ N of processor 30.
In the fourth embodiment, the component to be detected has a certain resistance value due to the physical characteristics of the material itself, which is generally in the range from several hundred ohms to several thousand ohms, and the component to be detected can be equivalent to a resistor Rx, the resistor Rx is connected in series to the dynamic trigger pointer _ P/N signal link, the output terminal pointer _ P signal of the dynamic pointer signal passes through the third resistor R3 and then is connected to the negative input terminal of the operational amplifier U1, the amplification factor of the operational amplifier U1 can be set through the third resistor R3 and the feedback resistor R4, and the amplification factor can be freely set according to the actual situation; the output terminal of the dynamic pointer signal pointer _ P is divided by a resistor Rx followed by a second resistor R2 to form a voltage V1, the voltage V1 is input to the non-inverting input terminal of the operational amplifier U1, and once the resistor Rx is changed, due to the voltage division effect of the second resistor R2, the change of Rx will be converted to the voltage V1 in real time, meanwhile, due to the virtual short characteristic of the operational amplifier U1, the voltage V1 is equal to the voltage V2, and then due to the negative feedback effect of the feedback resistor R4, the voltage V4 output by the output end of the operational amplifier U1 can reflect the variation of the resistor Rx in real time, while the voltage V4 is input to the second test pin a/D2 of the processor 30, the processor 30 only needs to test the voltage V4, the resistance value and the variation of the resistor Rx of the component to be detected can be known, and once the component to be detected is attacked, the resistance value of the resistor Rx exceeds the normal range, and the processor 30 will prompt warning information on the display screen 40 and stop payment transaction. Meanwhile, the resistor Rx of the component to be detected is connected to the Tamper signal network, so the resistor Rx cannot be disconnected, once the resistor Rx is disconnected, the voltage V1 is pulled down by the second resistor R2, the input terminal tab _ N of the dynamic tab signal cannot receive a normal waveform, the Tamper signal is triggered, the processor 30 can prompt warning information on the display screen 40 and wipe touch sensitive information, and the safety of payment transaction is improved.
In the second to fourth embodiments, the signal accessed by the resistor Rx of the component to be detected is not limited, and may be a pointer signal or other general signals, and the signal pin connected to the resistor Rx of the component to be detected may be a pointer signal pin or a signal pin having high and low level detection capability or pulse and square wave detection capability, which is not limited in the embodiments of the present application. the pointer signal line is a signal line whose level change is detectable by the processor 30, and when the processor 30 detects that the level on the signal line does not correspond to the set level value, the processor 30 will trigger a security mechanism, erase keys and other sensitive information.
The resistance of the resistors in the second to fourth embodiments is variable, a plurality of resistors can be connected in parallel, and parallel capacitors can be added to the resistors as required to improve the stability of the voltage and reduce interference.
EXAMPLE five
Referring to fig. 5, a financial transaction control method provided in the fifth embodiment of the present application is applied to the financial transaction control circuit in any of the above embodiments, and includes the following steps:
s51, the resistance value detection circuit 10 detects the resistance value of the component to be detected and transmits the resistance value to the processor 30;
s52, the temperature detection circuit 20 detects the environmental temperature and transmits the environmental temperature to the processor 30;
s53, the processor 30 compensates the resistance value of the component to be detected according to the stored correlation coefficient between the resistance value and the temperature of the component to be detected and the environment temperature, and the compensation resistance value of the component to be detected is obtained;
s54, calculating the difference value between the compensation resistance value and the initial resistance value of the component to be detected by the processor 30;
optionally, the initial resistance value of the component to be detected is a resistance value detected in an initialization process when the device where the component to be detected is located leaves a factory, and the initial resistance value of the component to be detected is stored in the secure storage area of the processor 30.
S55, the processor 30 judges whether the absolute value of the difference value falls into a preset range; if not, go to step S56; if so, go to step S57;
the preset range is determined according to the manufacturing material of the component to be detected and the correlation between the resistance value and the temperature of the component to be detected, so that the preset ranges are different when the components to be detected are different. The preset range is a reasonable range in which the resistance value of the component to be detected can be changed, the resistance value change of the component to be detected is reasonable when the resistance value change quantity of the component to be detected falls into the preset range, and the resistance value change quantity of the component to be detected is unreasonable when the resistance value change quantity of the component to be detected falls out of the preset range, namely, illegal attack is suffered.
S56, the processor 30 generates prompt information and sends the prompt information to the display screen 40 for displaying, and controls the transaction to stop or forbid the running of a specific program;
s57, the processor 30 controls the transaction to be carried out; after the preset time period, step S51 is executed.
Illustratively, the whole processing process of the resistance detection and the variation range judgment of the component to be detected by the equipment where the component to be detected is located is as follows: the method comprises the following steps that each time the computer is started, a logic flow for performing resistance value detection and variation range judgment on a part to be detected is firstly entered; the method comprises the steps that firstly, the whole machine is powered on, then a resistance value detection operation program is entered, then an ambient temperature detection value is read, meanwhile, the detection resistance value of a component to be detected is read, compensation calibration is carried out on the detection resistance value of the component to be detected according to the incidence relation between the detection resistance value and the temperature of the component to be detected and the read ambient temperature value, the resistance value after compensation calibration is compared with the initial resistance value stored in a safe storage area of a processor 30, then whether the resistance value of the component to be detected is in a normal range is judged, if not, the fact that the equipment is possibly attacked to cause the equipment to be unsafe is judged, warning information is displayed on a display screen 40, and the equipment is prohibited from entering a transaction program; if so, indicating that the resistance value of the part to be detected is in a normal range, and the equipment can continue to operate and enter a normal operation main program; furthermore, the resistance value detection operation program is used for detecting the resistance value change condition of the component to be detected once every interval of the period time T1, the period time T1 can be freely set according to actual requirements, therefore, the transaction can be stopped in time when the equipment is attacked, and the condition that the equipment detects the resistance value change condition of the component to be detected in real time to influence the service life of the equipment can be avoided.
The financial transaction control method is applied to the financial transaction control circuit, automatic detection of the resistance of the component to be detected and automatic judgment of the variable quantity of the resistance of the component to be detected are achieved, whether the component to be detected is illegally damaged can be judged by judging whether the variable quantity of the resistance value of the component to be detected is in a normal range, namely whether equipment where the component to be detected is located is illegally attacked, if the component to be detected is illegally damaged, alarm information is automatically prompted, transaction is stopped or specific programs are forbidden to run, and safety of equipment transaction is greatly improved.
The embodiment of the application also provides a financial terminal which comprises the financial transaction control circuit in any embodiment.
The financial terminal of the embodiment of the application adopts the financial transaction control circuit, so that the scheme is simple to realize, the cost is lower, and under the same safety requirement, the physical safety design scheme in the financial terminal is greatly simplified, and the manufacturing cost of the financial terminal and the complexity of the safety scheme are reduced.
The financial terminal can be a POS machine or other financial payment equipment.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (12)

1. A financial transaction control circuit, comprising:
the resistance value detection circuit (10), the resistance value detection circuit (10) is used for detecting the resistance value of the component to be detected;
a temperature detection circuit (20), the temperature detection circuit (20) being configured to detect an ambient temperature;
the processor (30), the said processor (30) is connected electrically with said resistance detection circuit (10) and said temperature detection circuit (20) separately;
the processor (30) stores the initial resistance value of the component to be detected and the correlation coefficient between the resistance value and the temperature of the component to be detected;
the processor (30) is used for compensating the resistance value of the component to be detected according to the correlation coefficient and the ambient temperature to obtain a compensation resistance value, comparing and analyzing the compensation resistance value and the initial resistance value, and generating a transaction control instruction according to an analysis result.
2. The financial transaction control circuit of claim 1, further comprising:
a display screen (40), the display screen (40) being electrically connected to the processor (30);
the processor (30) is further configured to generate prompt information according to the analysis result, and the display screen (40) is configured to display the prompt information.
3. The financial transaction control circuit of claim 2, wherein the temperature detection circuit (20) comprises:
one end of the temperature detection resistor is respectively connected with a first detection pin and a first resistor of the processor, and the other end of the temperature detection resistor is grounded;
the other end of the first resistor is connected with a power supply.
4. The financial transaction control circuit of claim 3, wherein the resistance value detection circuit (10) comprises:
the non-inverting input end of the operational amplifier is respectively connected with the component to be detected and a second resistor, the other end of the component to be detected is grounded, and the other end of the second resistor is connected with a power supply;
the inverting input end of the operational amplifier is respectively connected with a third resistor and a feedback resistor, the other end of the third resistor is grounded, and the other end of the feedback resistor is connected with the output end of the operational amplifier;
the output end of the operational amplifier is connected with a second detection pin of the processor;
and the non-inverting input end of the operational amplifier is connected with the signal detection pin of the processor.
5. The financial transaction control circuit of claim 3, wherein the resistance value detection circuit (10) comprises:
the non-inverting input end of the operational amplifier is respectively connected with the component to be detected and a second resistor, the other end of the component to be detected is connected with a power supply, and the other end of the second resistor is grounded;
the inverting input end of the operational amplifier is respectively connected with a third resistor and a feedback resistor, the other end of the third resistor is connected with a power supply, and the other end of the feedback resistor is connected with the output end of the operational amplifier;
the output end of the operational amplifier is connected with a second detection pin of the processor;
and the non-inverting input end of the operational amplifier is connected with the signal detection pin of the processor.
6. The financial transaction control circuit of claim 3, wherein the resistance value detection circuit (10) comprises:
the non-inverting input end of the operational amplifier is respectively connected with the component to be detected and a second resistor, the other end of the component to be detected is connected with the signal output pin of the processor, and the other end of the second resistor is grounded;
the inverting input end of the operational amplifier is respectively connected with a third resistor and a feedback resistor, the other end of the third resistor is connected with a signal output pin of the processor, and the other end of the feedback resistor is connected with the output end of the operational amplifier;
the output end of the operational amplifier is connected with a second detection pin of the processor;
and the non-inverting input end of the operational amplifier is connected with the signal input pin of the processor.
7. The financial transaction control circuit of any of claims 4-6, wherein the signal is a pointer signal.
8. The financial transaction control circuit of any one of claims 1-6, wherein the component to be tested is any one of Keymesh, zebra stripe, and wire wrap.
9. A financial transaction control method applied to the financial transaction control circuit according to any one of claims 1 to 8, comprising the steps of:
the resistance value detection circuit (10) detects the resistance value of the component to be detected and transmits the resistance value to the processor (30);
the temperature detection circuit (20) detects the ambient temperature and transmits the ambient temperature to the processor (30);
the processor (30) compensates the resistance value of the component to be detected according to the stored correlation coefficient between the resistance value and the temperature of the component to be detected and the environment temperature to obtain the compensation resistance value of the component to be detected;
the processor (30) calculates a difference value between the compensation resistance value and the initial resistance value of the component to be detected;
the processor (30) determines whether the absolute value of the difference falls within a preset range;
if not, the processor (30) generates prompt information and sends the prompt information to the display screen (40) for displaying, and controls the transaction to stop or forbid the running of a specific program.
10. The financial transaction control method according to claim 9, wherein the initial resistance value of the component to be detected is a resistance value detected during initialization at the time of factory shipment of a device in which the component to be detected is located, and the initial resistance value of the component to be detected is stored in a secure storage area of the processor (30).
11. The financial transaction control method according to claim 10, if the processor (30) judges that the absolute value of the difference value falls within a preset range, comprising the steps of:
the processor (30) controls the transaction to proceed;
after the preset time length, the step that the resistance value detection circuit (10) detects the resistance value of the component to be detected and transmits the resistance value to the processor (30) is executed.
12. A financial terminal including a financial transaction control circuit as claimed in any one of claims 1 to 8.
CN202110898186.7A 2021-08-05 2021-08-05 Financial transaction control circuit and method and financial terminal Pending CN113706128A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110898186.7A CN113706128A (en) 2021-08-05 2021-08-05 Financial transaction control circuit and method and financial terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110898186.7A CN113706128A (en) 2021-08-05 2021-08-05 Financial transaction control circuit and method and financial terminal

Publications (1)

Publication Number Publication Date
CN113706128A true CN113706128A (en) 2021-11-26

Family

ID=78651653

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110898186.7A Pending CN113706128A (en) 2021-08-05 2021-08-05 Financial transaction control circuit and method and financial terminal

Country Status (1)

Country Link
CN (1) CN113706128A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4413917A (en) * 1980-06-13 1983-11-08 Lucas Industries Limited Resistance measuring system
JPH0989952A (en) * 1995-09-27 1997-04-04 Toshiba Microelectron Corp Resistance detecting circuit
JP2005274372A (en) * 2004-03-25 2005-10-06 Chofu Seisakusho Co Ltd Temperature detector
US20100327856A1 (en) * 2009-04-09 2010-12-30 Direct Payment Solutions Limited Security Device
CN105372499A (en) * 2015-11-25 2016-03-02 亿和精密工业(苏州)有限公司 Micro-resistance measurement equipment and measurement method
CN205247156U (en) * 2015-12-30 2016-05-18 宁波小匠电子科技有限公司 Humiture monitoring system of humidifier
CN107204494A (en) * 2017-07-11 2017-09-26 深圳天珑无线科技有限公司 Detection method, terminal and the computer-readable recording medium of battery temperature
CN108051641A (en) * 2017-10-10 2018-05-18 国网浙江宁波市鄞州区供电公司 For the measuring circuit of measuring loop resistance

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4413917A (en) * 1980-06-13 1983-11-08 Lucas Industries Limited Resistance measuring system
JPH0989952A (en) * 1995-09-27 1997-04-04 Toshiba Microelectron Corp Resistance detecting circuit
JP2005274372A (en) * 2004-03-25 2005-10-06 Chofu Seisakusho Co Ltd Temperature detector
US20100327856A1 (en) * 2009-04-09 2010-12-30 Direct Payment Solutions Limited Security Device
CN105372499A (en) * 2015-11-25 2016-03-02 亿和精密工业(苏州)有限公司 Micro-resistance measurement equipment and measurement method
CN205247156U (en) * 2015-12-30 2016-05-18 宁波小匠电子科技有限公司 Humiture monitoring system of humidifier
CN107204494A (en) * 2017-07-11 2017-09-26 深圳天珑无线科技有限公司 Detection method, terminal and the computer-readable recording medium of battery temperature
CN108051641A (en) * 2017-10-10 2018-05-18 国网浙江宁波市鄞州区供电公司 For the measuring circuit of measuring loop resistance

Similar Documents

Publication Publication Date Title
KR101560114B1 (en) Apparatuses, systems, and methods for detecting and reacting to exposure of an electronic device to moisture
US5416423A (en) Method and apparatus for verifying the integrity of a smart card
US20020105435A1 (en) Electric power meter including a temperature sensor and controller
US20110253788A1 (en) Monitoring current level and current into and out of the icc reader power contacts to detect a parasitic shim
US7141960B2 (en) Method and device system for testing electrical components
CA2752311A1 (en) Device for protecting a connector and a communications wire of a memory card reader
JP2008122378A (en) Method of monitoring and/or measuring condition of force meter, and force meter
US20150301919A1 (en) Protection method for data information about electronic device and protection circuit therefor
AU2006332047B8 (en) Linear fire-detector alarming system based on data fusion and the method
KR20050089880A (en) Detection of tampering of a smart card interface
CA2489637C (en) Electronic data processing device
RU2496201C2 (en) Control method and device of protection function sensitivity
CN113706128A (en) Financial transaction control circuit and method and financial terminal
US6081195A (en) System for monitoring operability of fire event sensors
US20240061028A1 (en) System and method for detecting arc in an electrical meter
US6154682A (en) Self-checking circuit in microwave equipment
US20190258830A1 (en) Hardware intrusion detection system
KR20050064410A (en) Lightning arrester analyzer and analyzing method
US20110130989A1 (en) System and method for identifying a peripheral component interconnect express signal
WO2001028061A1 (en) Sensor supply open load detector circuit
CN205861834U (en) Failure tester
AU2013100883A4 (en) Detection of device tampering
KR101191235B1 (en) Apparatus for automated compensation and method for operating the same
Lakshmana et al. Automatic Lpg Cylinder Leakage Detection And Booking System Using Arduino
CN116559561B (en) State evaluation method, controller and monitoring system of experimental production verification equipment

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