ATM monitoring system based on block chain
1. A ATM monitoring system based on a block chain is characterized in that the ATM monitoring system based on the block chain comprises a camera, an image processing device, an image checking device, a pressure sensor module, a signal processing circuit, a currency counting device, a signal processing device, a signal checking device, a block chain storage device and a display device;
the output end of the camera is connected with the input end of the image processing device, the output end of the image processing device is connected with the input end of the image checking device, the output end of the pressure sensing module is connected with the input end of the signal processing circuit, the output end of the currency counting device is connected with the input end of the signal processing device, the output end of the signal processing device is connected with the input end of the signal checking device, the output end of the image checking device is connected with the input end of the block chain storage device, the output end of the signal checking device is connected with the input end of the block chain storage device, and the output end of the block chain storage device is connected with the input end of the display device;
the system comprises a camera, an image processing device, an image checking device, a pressure sensor module, a signal processing circuit and a currency counting device, wherein the camera is used for collecting image information of a user, the camera is used for transmitting the collected image information to the image processing device, the image processing device is used for carrying out image processing on the received image and then transmitting the image to the image checking device, the image checking device is used for checking the received image information, if the image is consistent with the image of the user stored in the image checking device, the image checking device is used for transmitting the received image information to the block chain storage device, the pressure sensor module is used for collecting pressure information of currency placed on a currency placing plate in a cash dispenser and transmitting the collected pressure information to the signal processing circuit, the signal processing circuit is used for carrying out signal processing on all received pressure signals and then transmitting the pressure signals to the signal processing device, and the currency counting device is used for counting the number of, and calculating a standard pressure signal according to the number, transmitting the standard pressure signal to the signal processing device, integrating all the received pressure signals by the signal processing device to obtain an actually measured pressure signal, comparing the actually measured pressure signal with the standard pressure signal, transmitting deposit information to the block chain storage device by the signal verification device if the error is within a preset range, correspondingly encrypting and storing the received image information and the deposit information by the block chain storage device, and transmitting the image information and the deposit information to the display device for displaying.
2. The system according to claim 1, wherein the camera is configured to collect image information of a user, the camera transmits the collected image information to the image processing apparatus, and the image processing apparatus performs image processing on the received image, and the method includes:
step S1, performing image segmentation on the image information f (x, y) collected by the camera, and dividing the image information f (x, y) into four regions by taking the center of the image information f (x, y) as a coordinate midpoint: g1(x,y)、 g2(x,y) 、g3(x,y)、 g4(x,y);
Step S2, for the pieces of diagonal image information g1(x, y) and g3(x, y) to obtain image information k1(x, y) in the presence of,
;
step S3, for the pieces of diagonal image information g2(x, y) and g4(x, y) to obtain image information k2(x, y) in the presence of,
;
step S4, for image information k1(x, y) and image information k2(x, y) are integrated to obtain image information d (x, y) including,
。
3. the block chain based cash machine monitoring system according to claim 1, wherein the pressure sensing module comprises n pressure sensors, namely a 1 st pressure sensor and a 2 nd pressure sensor … … n pressure sensor, the 1 st pressure sensor, the 2 nd pressure sensor … … and the n th pressure sensor are all connected with an input end of the signal processing circuit, and the signal processing circuit comprises a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, a first triode Q0, a second triode Q1, a third triode Q2, a fourth triode Q3, a fifth triode Q4, a sixth triode Q5, a seventh triode Q6, an operational amplifier A and a capacitor C;
wherein, the output terminals of the n pressure sensors in the pressure sensing module are all connected with the first end of the first resistor R1, the second end of the first resistor R1 is connected with the base of the first triode Q0, the base of the first triode Q0 is connected with the first end of the second resistor R2, the emitter of the first triode Q0 is connected with the first end of the seventh resistor R7, the second end of the seventh resistor R7 is connected with a power supply Vcc, the second end of the seventh resistor R7 is grounded, the first end of the second resistor R2 is connected with the power supply Vcc, the collector of the first triode Q0 is connected with the base thereof, the collector of the second triode Q1 is connected with the emitter of the seventh triode Q6, the base of the seventh triode Q6 is connected with the collector thereof, the collector of the seventh triode Q6 is connected with the power supply Vcc, the emitter of the second triode Q1 is connected with the first end of the seventh resistor R7, an emitter of the seventh transistor Q6 is connected to a collector of the fifth transistor Q4, an emitter of the fifth transistor Q4 is connected to a power Vcc, a base of the fifth transistor Q4 is connected to a base of the sixth transistor Q5, a base of the second transistor Q1 is connected to a first end of the third resistor R3, a second end of the third resistor R3 is connected to a first end of the fourth resistor R4, a second end of the fourth resistor R4 is connected to a base of the third transistor Q2, an emitter of the third transistor Q2 is connected to a first end of the eighth resistor R8, a second end of the eighth resistor R8 is grounded, a second end of the eighth resistor R8 is connected to a second end of the seventh resistor R7, a second end of the second resistor R2 is connected to a first end of the fifth resistor R5, and a second end of the fifth resistor R5 is connected to a base of the fourth transistor Q3, an emitter of the fourth transistor Q3 is connected to a first end of the eighth resistor R8, a base of the fourth transistor Q3 is connected to a first end of the sixth resistor R6, a second end of the sixth resistor R6 is connected to the power Vcc, a collector of the fourth transistor Q3 is connected to the base, a base of the sixth transistor Q5 is connected to a base of the fifth transistor Q4, a base of the fifth transistor Q4 is connected to an inverting input terminal of the operational amplifier a, a collector of the fifth transistor Q4 is connected to an emitter of the seventh transistor Q6, an emitter of the seventh transistor Q6 is connected to a non-inverting input terminal of the operational amplifier a, an output terminal of the operational amplifier a is connected to an input terminal of the signal processing device, a first end of the capacitor C is connected to an output terminal of the operational amplifier a, the second end of the capacitor C is grounded.
4. The system according to claim 3, wherein the n pressure sensors are respectively a 1 st pressure sensor and a 2 nd pressure sensor … … n pressure sensor, wherein the pressure signal processed by the signal processing circuit by the 1 st pressure sensor is x (1), the pressure signal processed by the signal processing circuit by the 2 nd pressure sensor is x (2) … … the pressure signal processed by the signal processing circuit by the n nth pressure sensor is x (n), and the signal processing device performs the integrated analysis on the received n pressure signals, and the method comprises the following steps:
step 1: first, the pressure signals processed by the signal processing circuit of the 1 st pressure sensor, the 2 nd pressure sensor … … and the nth pressure sensor are averaged to obtain a pressure signal X, if any,
;
step 2: the pressure signal X is processed by removing noise signals, wherein a is a noise signal, and the pressure signal after removing the noise signal is Y, if,
;
wherein the content of the first and second substances,。
5. the blockchain based cash machine monitoring system according to claim 1, wherein the blockchain storage device and the display device are connected by a wireless network.
Background
Automatic teller machines (ATM for short) greatly facilitate customer withdrawal. The device is a highly precise electromechanical integrated device, realizes self-service of financial transactions by utilizing a magnetic code card or an intelligent card, and replaces the work of bank counter personnel. The work of withdrawing cash, inquiring deposit balance, transferring funds among accounts, inquiring balance and the like can be carried out; it can also perform cash deposit (real-time account entry), check deposit (domestic nothing), bankbook subsidy, intermediate business, etc. The card holder can use credit card or deposit card to transact services such as automatic withdrawal, balance inquiry, account transfer, cash deposit, bankbook registration, fund purchase, password change, mobile phone charge payment and the like according to the password.
However, in the prior art, data of the automatic teller machine is easy to cause errors and be stolen, and under the circumstance, the development of the automatic teller machine which can identify users and the amount of money to be deposited with high precision and store the data by using a safe storage device is urgently needed, and only then, the safety of bank data can be guaranteed to the greatest extent.
Disclosure of Invention
Therefore, in order to overcome the above problems, the present invention provides a monitoring system for a cash machine based on a block chain, which includes a camera, an image processing device, an image checking device, a pressure sensor module, a signal processing circuit, a cash counting device, a signal processing device, a signal checking device, a block chain storage device, and a display device.
The output end of the camera is connected with the input end of the image processing device, the output end of the image processing device is connected with the input end of the image checking device, the output end of the pressure sensing module is connected with the input end of the signal processing circuit, the output end of the currency counting device is connected with the input end of the signal processing device, the output end of the signal processing device is connected with the input end of the signal checking device, the output end of the image checking device is connected with the input end of the block chain storage device, the output end of the signal checking device is connected with the input end of the block chain storage device, and the output end of the block chain storage device is connected with the input end of the display device.
The system comprises a camera, an image processing device, an image checking device, a pressure sensor module, a signal processing circuit and a currency counting device, wherein the camera is used for collecting image information of a user, the camera is used for transmitting the collected image information to the image processing device, the image processing device is used for carrying out image processing on the received image and then transmitting the image to the image checking device, the image checking device is used for checking the received image information, if the image is consistent with the image of the user stored in the image checking device, the image checking device is used for transmitting the received image information to the block chain storage device, the pressure sensor module is used for collecting pressure information of currency placed on a currency placing plate in a cash dispenser and transmitting the collected pressure information to the signal processing circuit, the signal processing circuit is used for carrying out signal processing on all received pressure signals and then transmitting the pressure signals to the signal processing device, and the currency counting device is used for counting the number of the currency placed on the currency placing plate, and calculating a standard pressure signal according to the number, transmitting the standard pressure signal to the signal processing device, integrating all the received pressure signals by the signal processing device to obtain an actually measured pressure signal, comparing the actually measured pressure signal with the standard pressure signal, transmitting deposit information to the block chain storage device by the signal verification device if the error is within a preset range, correspondingly encrypting and storing the received image information and the deposit information by the block chain storage device, and transmitting the image information and the deposit information to the display device for displaying.
Preferably, the camera is configured to collect image information of a user, the camera transmits the collected image information to the image processing apparatus, and the image processing apparatus performs image processing on a received image, and includes the following steps:
step S1, performing image segmentation on the image information f (x, y) collected by the camera, and dividing the image information f (x, y) into four regions by taking the center of the image information f (x, y) as a coordinate midpoint: g1(x,y)、 g2(x,y) 、g3(x,y)、 g4(x,y);
Step S2, for the pieces of diagonal image information g1(x, y) and g3(x, y) to obtain image information k1(x, y) in the presence of,
;
step S3, for the pieces of diagonal image information g2(x, y) and g4(x, y) processing to obtain a graphImage information k2(x, y) in the presence of,
;
step S4, for image information k1(x, y) and image information k2(x, y) are integrated to obtain image information d (x, y) including,
。
preferably, the pressure sensing module includes n pressure sensors, which are a 1 st pressure sensor and a 2 nd pressure sensor … … nth pressure sensor, the 1 st pressure sensor, the 2 nd pressure sensor … … and the nth pressure sensor are all connected to an input end of the signal processing circuit, and the signal processing circuit includes a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, a first triode Q0, a second triode Q1, a third triode Q2, a fourth triode Q3, a fifth triode Q4, a sixth triode Q5, a seventh triode Q6, an operational amplifier a and a capacitor C.
Wherein, the output terminals of the n pressure sensors in the pressure sensing module are all connected with the first end of the first resistor R1, the second end of the first resistor R1 is connected with the base of the first triode Q0, the base of the first triode Q0 is connected with the first end of the second resistor R2, the emitter of the first triode Q0 is connected with the first end of the seventh resistor R7, the second end of the seventh resistor R7 is connected with a power supply Vcc, the second end of the seventh resistor R7 is grounded, the first end of the second resistor R2 is connected with the power supply Vcc, the collector of the first triode Q0 is connected with the base thereof, the collector of the second triode Q1 is connected with the emitter of the seventh triode Q6, the base of the seventh triode Q6 is connected with the collector thereof, the collector of the seventh triode Q6 is connected with the power supply Vcc, the emitter of the second triode Q1 is connected with the first end of the seventh resistor R7, an emitter of the seventh transistor Q6 is connected to a collector of the fifth transistor Q4, an emitter of the fifth transistor Q4 is connected to a power Vcc, a base of the fifth transistor Q4 is connected to a base of the sixth transistor Q5, a base of the second transistor Q1 is connected to a first end of the third resistor R3, a second end of the third resistor R3 is connected to a first end of the fourth resistor R4, a second end of the fourth resistor R4 is connected to a base of the third transistor Q2, an emitter of the third transistor Q2 is connected to a first end of the eighth resistor R8, a second end of the eighth resistor R8 is grounded, a second end of the eighth resistor R8 is connected to a second end of the seventh resistor R7, a second end of the second resistor R2 is connected to a first end of the fifth resistor R5, and a second end of the fifth resistor R5 is connected to a base of the fourth transistor Q3, an emitter of the fourth transistor Q3 is connected to a first end of the eighth resistor R8, a base of the fourth transistor Q3 is connected to a first end of the sixth resistor R6, a second end of the sixth resistor R6 is connected to the power Vcc, a collector of the fourth transistor Q3 is connected to the base, a base of the sixth transistor Q5 is connected to a base of the fifth transistor Q4, a base of the fifth transistor Q4 is connected to an inverting input terminal of the operational amplifier a, a collector of the fifth transistor Q4 is connected to an emitter of the seventh transistor Q6, an emitter of the seventh transistor Q6 is connected to a non-inverting input terminal of the operational amplifier a, an output terminal of the operational amplifier a is connected to an input terminal of the signal processing device, a first end of the capacitor C is connected to an output terminal of the operational amplifier a, the second end of the capacitor C is grounded.
Preferably, the n pressure sensors are respectively a 1 st pressure sensor and a 2 nd pressure sensor … … nth pressure sensor, wherein a pressure signal processed by the signal processing circuit by the 1 st pressure sensor is x (1), a pressure signal processed by the signal processing circuit by the 2 nd pressure sensor is x (2) … … a pressure signal processed by the signal processing circuit by the nth pressure sensor is x (n), and the signal processing device performs integrated analysis on the received n pressure signals, and includes the following steps:
step 1: first, the pressure signals processed by the signal processing circuit of the 1 st pressure sensor, the 2 nd pressure sensor … … and the nth pressure sensor are averaged to obtain a pressure signal X, if any,
;
step 2: the pressure signal X is processed by removing noise signals, wherein a is a noise signal, and the pressure signal after removing the noise signal is Y, if,
;
wherein the content of the first and second substances,。
preferably, the blockchain storage device and the display device are connected through a wireless network.
Compared with the prior art, the invention has the following beneficial effects:
the invention provides a cash dispenser monitoring system based on a block chain, which comprises a camera, an image processing device, an image checking device, a pressure sensor module, a signal processing circuit, a cash counting device, a signal processing device, a signal checking device, a block chain storage device and a display device, wherein the camera is used for collecting image information of a user, the camera transmits the collected image information to the image processing device, the image processing device carries out image processing on the received image and then transmits the image to the image checking device, the image checking device checks the received image information, if the image information is consistent with a user image stored in the image checking device, the image checking device transmits the received image information to the block chain storage device, the pressure sensor module is used for collecting pressure information of paper money placed on a paper money placing plate in a cash dispenser and transmitting the collected pressure information to the signal processing circuit, the signal processing circuit is used for processing all received pressure signals and then transmitting the pressure signals to the signal processing device, the currency counting device is used for counting the number of the currency placed on the currency placing plate, calculating standard pressure signals according to the number of the currency placed on the currency placing plate and transmitting the standard pressure signals to the signal processing device, the signal processing device is used for integrating all the received pressure signals to obtain actually measured pressure signals, comparing the actually measured pressure signals with the standard pressure signals, if the error is within a preset range, the signal checking device transmits deposit information to the block chain storage device, the block chain storage device correspondingly encrypts and stores the received image information and the deposit information, and transmits the image information and the deposit information to the display device for displaying. The invention is characterized in that the image processing algorithm is used to perform diagonal mixing operation on the image acquired by the camera, and the diagonal image is a region with complementary gray difference, so that the definition of the image can be greatly improved.
Drawings
FIG. 1 is a schematic diagram of a block chain based cash machine monitoring system of the present invention;
FIG. 2 is a schematic diagram of a pressure sensing module according to the present invention;
FIG. 3 is a functional diagram of a block chain based cash machine monitoring system of the present invention;
fig. 4 is a circuit diagram of a signal processing circuit of the present invention.
Description of the drawings:
1-a camera; 2-a display; 3-a money inlet; 4-a cash outlet; 5-a box body; 6-money placing plate; 7-pressure sensing module.
Detailed Description
The block chain based cash machine monitoring system provided by the invention is described in detail below with reference to the accompanying drawings and embodiments.
As shown in fig. 1-3, the monitoring system for a teller machine based on a block chain according to the present invention includes a camera, an image processing device, an image checking device, a pressure sensor module, a signal processing circuit, a banknote counting device, a signal processing device, a signal checking device, a block chain storage device, and a display device.
The output end of the camera is connected with the input end of the image processing device, the output end of the image processing device is connected with the input end of the image checking device, the output end of the pressure sensing module is connected with the input end of the signal processing circuit, the output end of the currency counting device is connected with the input end of the signal processing device, the output end of the signal processing device is connected with the input end of the signal checking device, the output end of the image checking device is connected with the input end of the block chain storage device, the output end of the signal checking device is connected with the input end of the block chain storage device, and the output end of the block chain storage device is connected with the input end of the display device.
Wherein, the camera is used for collecting the image information of a user, the camera transmits the collected image information to the image processing device, the image processing device processes the received image and then transmits the image to the image checking device, the image checking device checks the received image information, if the image information is consistent with the user image stored in the image checking device, the image checking device transmits the received image information to the block chain storage device, the pressure sensor module is used for collecting the pressure information of the banknotes placed on the banknote plate in the cash dispenser and transmitting the collected pressure information to the signal processing circuit, the signal processing circuit processes the signals of all the received pressure signals and then transmits the processed signals to the signal processing device, the banknote counting device is used for counting the number of the banknotes placed on the banknote plate and calculating the standard pressure signals according to the number, and transmitting the standard pressure signal to a signal processing device, integrating all the received pressure signals by the signal processing device to obtain an actually measured pressure signal, comparing the actually measured pressure signal with the standard pressure signal, if the error is within a preset range, transmitting deposit information to a block chain storage device by a signal checking device, correspondingly encrypting and storing the received image information and the deposit information by the block chain storage device, and transmitting the image information and the deposit information to a display device for displaying.
In the embodiment, the image processing algorithm is used for carrying out diagonal mixing operation on the image acquired by the camera, and the diagonal image is an area with complementary gray difference, so that the definition of the image can be greatly improved.
Specifically, the camera is used for collecting image information of a user, the camera transmits the collected image information to the image processing device, and the image processing device performs image processing on a received image, and the steps are as follows:
step S1, performing image segmentation on the image information f (x, y) collected by the camera, and dividing the image information f (x, y) into four regions by taking the center of the image information f (x, y) as a coordinate midpoint: g1(x,y)、 g2(x,y) 、g3(x,y)、 g4(x,y);
Step S2, for the pieces of diagonal image information g1(x, y) and g3(x, y) to obtain image information k1(x, y) in the presence of,
;
step S3, for the pieces of diagonal image information g2(x, y) and g4(x, y) to obtain image information k2(x, y) in the presence of,
;
step S4, for image information k1(x, y) and image information k2(x, y) are integrated to obtain image information d (x, y) including,
。
specifically, the pressure sensing module includes n pressure sensors, which are the 1 st pressure sensor and the 2 nd pressure sensor … … nth pressure sensor respectively, the 1 st pressure sensor and the 2 nd pressure sensor … … nth pressure sensor are connected to an input end of the signal processing circuit, the signal processing circuit includes a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, a first triode Q0, a second triode Q1, a third triode Q2, a fourth triode Q3, a fifth triode Q4, a sixth triode Q5, a seventh triode Q6, an operational amplifier a and a capacitor C.
Wherein, the output ends of the n pressure sensors in the pressure sensing module are all connected with the first end of a first resistor R1, the second end of the first resistor R1 is connected with the base of a first triode Q0, the base of the first triode Q0 is connected with the first end of a second resistor R2, the emitter of the first triode Q0 is connected with the first end of a seventh resistor R7, the second end of the seventh resistor R7 is connected with a power supply Vcc, the second end of the seventh resistor R7 is grounded, the first end of a second resistor R2 is connected with the power supply Vcc, the collector of the first triode Q0 is connected with the base thereof, the collector of a second triode Q1 is connected with the emitter of the seventh triode Q6, the base of a seventh triode Q6 is connected with the collector thereof, the collector of the seventh triode Q6 is connected with the power supply Vcc, the emitter of the second triode Q1 is connected with the first end of the seventh resistor R7, the emitter of the seventh triode Q6 is connected with the collector of the fifth triode Q4, an emitter of the fifth transistor Q4 is connected with a power supply Vcc, a base of the fifth transistor Q4 is connected with a base of the sixth transistor Q5, a base of the second transistor Q1 is connected with a first end of a third resistor R3, a second end of a third resistor R3 is connected with a first end of a fourth resistor R4, a second end of a fourth resistor R4 is connected with a base of a third transistor Q2, an emitter of the third transistor Q2 is connected with a first end of an eighth resistor R8, a second end of the eighth resistor R8 is grounded, a second end of an eighth resistor R8 is connected with a second end of a seventh resistor R7, a second end of the second resistor R2 is connected with a first end of a fifth resistor R5, a second end of the fifth resistor R5 is connected with a base of a fourth transistor Q3, an emitter of the fourth transistor Q3 is connected with a first end of an eighth resistor R8, a base of a fourth transistor Q3 is connected with a sixth end of a sixth resistor R6, a second end of the resistor R6 is connected with the power supply Vcc, the collector of the fourth triode Q3 is connected with the base, the base of the sixth triode Q5 is connected with the base of the fifth triode Q4, the base of the fifth triode Q4 is connected with the inverting input end of the operational amplifier A, the collector of the fifth triode Q4 is connected with the emitter of the seventh triode Q6, the emitter of the seventh triode Q6 is connected with the non-inverting input end of the operational amplifier A, the output end of the operational amplifier A is connected with the input end of the signal processing device, the first end of the capacitor C is connected with the output end of the operational amplifier A, and the second end of the capacitor C is grounded.
Specifically, the n pressure sensors are respectively a 1 st pressure sensor and a 2 nd pressure sensor … … nth pressure sensor, wherein a pressure signal of the 1 st pressure sensor processed by the signal processing circuit is x (1), a pressure signal of the 2 nd pressure sensor processed by the signal processing circuit is x (2), a pressure signal of the 2 nd pressure sensor processed by the signal processing circuit is x (n), and the signal processing device performs integration analysis on the received n pressure signals, and the steps are as follows:
step 1: first, the pressure signals of the 1 st pressure sensor and the 2 nd pressure sensor … … n th pressure sensor processed by the signal processing circuit are averaged to obtain a pressure signal X, if any,
;
step 2: the pressure signal X is processed by removing noise signals, wherein a is a noise signal, and the pressure signal after removing the noise signal is Y, if,
;
wherein the content of the first and second substances,。
specifically, the blockchain storage device and the display device are connected through a wireless network.
Finally, it should be noted that the above embodiments are only used for illustrating the technical solutions of the present invention and are not limited. Although the present invention has been described in detail with reference to the embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted without departing from the spirit and scope of the invention as defined in the appended claims.
- 上一篇:石墨接头机器人自动装卡簧、装栓机
- 下一篇:基于手机银行的ATM机业务处理方法及装置