ATM based on block chain technology
Technical Field
The invention relates to an ATM based on a block chain technology.
Background
The block chain technology is a brand new distributed infrastructure and a computing mode which utilize a block chain type data structure to verify and store data, utilize a distributed node consensus algorithm to generate and update data, utilize a cryptography mode to ensure the safety of data transmission and access, and utilize an intelligent contract composed of automatic script codes to program and operate data, and is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like.
The block chain technology has high data security degree and wide application range, and the block chain technology comprises the technical field of ATM machines.
The ATM of prior art generally adopts traditional data encryption mode, cause data loss very easily, and, prior art's ATM has problems in the aspect of dampproofing and discernment, under humid environment, the moisture can get into the inside of ATM, in case moisture content is too much, probably cause the inside electronic component of machine to wet the damage, reduce ATM's life, furthermore, current a lot of ATM have all been equipped with the face identification camera, people are when using, need adjust the face position and aim at the camera and just can discern, the use is comparatively loaded down with trivial details inconvenient, these problems have all greatly reduced ATM's practicality and reliability.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: in order to overcome the defects of the prior art, an ATM based on a block chain technology is provided.
The technical scheme adopted by the invention for solving the technical problems is as follows: an ATM based on a block chain technology comprises a main body, a display screen and a card slot, wherein a processor and a memory are arranged in the main body, the processor is electrically connected with the memory, and the memory receives block chain data written by block chain nodes and stores the block chain data;
one side of the main body is provided with an identification mechanism, the identification mechanism is positioned above the display screen, the identification mechanism comprises a shell and an identification assembly, the shell is fixedly connected with the main body, the identification assembly is arranged in the shell and comprises a swinging rod, a camera and two control units, the swinging rod is horizontally arranged, one end of the swinging rod is hinged with the inside of the shell, the other end of the swinging rod is fixedly connected with the camera, the two control units are respectively arranged at two sides of the swinging rod, the control units comprise a first motor, a wire coil and a connecting wire, the first motor is fixed at the bottom in the shell, the wire coil is horizontally arranged above the first motor, the first motor is in transmission connection with the wire coil, one end of the connecting wire is wound on the wire coil, and the other end of the connecting wire is fixedly connected with the middle part of the swinging rod, the first motor is electrically connected with the processor;
a dehumidifying mechanism is also arranged in the main body and comprises a drying component, a transmission component and an air pumping component;
the drying assembly comprises a drying chamber, an air inlet pipe, an air outlet pipe, a second motor, a rotating shaft and a stirring frame, the drying chamber is fixed in the main body, the air inlet pipe and the air outlet pipe are vertically arranged on two sides above the drying chamber respectively, the air inlet pipe and the air outlet pipe are both communicated with the inside of the drying chamber, the second motor is fixed in the main body, the rotating shaft is horizontally arranged, the stirring frame is horizontally arranged in the drying chamber, one end of the rotating shaft is fixedly connected with an output shaft of the second motor, and the other end of the rotating shaft is fixedly connected with the stirring frame;
the transmission assembly comprises a first gear, a fixed shaft, a bearing seat, a second gear, a first connecting rod and a second connecting rod, the first gear is sleeved on the rotating shaft, the fixed shaft is horizontally arranged above the rotating shaft, one end of the fixed shaft is connected with the inner wall of the main body through the bearing seat, the other end of the fixed shaft is fixedly connected with the second gear, the first gear is meshed with the second gear, the first connecting rod is obliquely arranged, the second connecting rod is vertically arranged above the first connecting rod, one end of the first connecting rod is hinged with the position, far away from the circle center, of the second gear, the other end of the first connecting rod is hinged with the bottom end of the second connecting rod, and the top end of the second connecting rod is connected with the air exhaust assembly;
the subassembly of bleeding includes inflator, piston, air exhaust cover, breather pipe and connecting pipe, the vertical top that sets up at the second connecting rod of inflator, the inside fixed connection of inflator and main part, the piston sets up the inside at the inflator, the piston matches with the inflator, piston and inflator sliding connection, the top of second connecting rod and the below fixed connection of piston, the top in the main part is fixed to the air exhaust cover, the top of inflator is equipped with the air inlet, one side of inflator is equipped with the gas outlet, air inlet and gas outlet all communicate with the inside of inflator, the air exhaust cover passes through breather pipe and air inlet intercommunication, the gas outlet passes through connecting pipe and intake pipe intercommunication, the second motor is connected with the treater electricity.
Preferably, in order to improve the security of data storage, a blockchain system is arranged in the processor, the blockchain system comprises a data layer, a network layer, a consensus layer, an incentive layer, a contract layer and an application layer, and the blockchain data is derived from the data layer.
Preferably, in order to improve the intelligent degree of the ATM, the processor is a single chip or a PLC, the memory includes a memory database and a disk database, and the memory database and the disk database respectively receive the block chain data written by the block chain node and store the block chain data.
Preferably, in order to prevent gas backflow, the vent pipe and the connecting pipe are both provided with one-way valves.
Preferably, a humidity sensor is provided inside the main body to detect the humidity inside the main body, and the humidity sensor is electrically connected to the PLC.
Preferably, in order to detect a rotation angle of the camera, an angle sensor is provided inside the housing, and the angle sensor is electrically connected to the PLC.
Preferably, the drying chamber is provided with activated carbon inside for drying the humid air.
Preferably, the second motor is a servo motor for accurate and stable operation of the second motor.
Preferably, in order to enable the second connecting rod to vertically and stably move, a limiting ring is sleeved on the second connecting rod, the second connecting rod is connected with the limiting ring in a sliding mode, and the limiting ring is fixedly connected with the main body.
Preferably, an antenna is provided inside the main body for signal transmission and remote control.
The ATM based on the block chain technology has the advantages that the block chain technology is adopted for data storage, so that the data safety degree is high, the rotation of the camera can be controlled through the identification mechanism, the shooting range of the camera is enlarged, compared with the existing ATM, the tedious process that people adjust the position to match the camera for identification is avoided, the face identification is more convenient and reliable, the dehumidification of gas can be realized through the dehumidification mechanism, compared with the existing ATM, electronic elements in the ATM are prevented from being damaged by moisture, the service life of the ATM is prolonged, and the practicability and reliability of the ATM are greatly improved.
Drawings
The invention is further illustrated with reference to the following figures and examples.
FIG. 1 is a system schematic of a blockchain system of an ATM based on blockchain technology of the present invention;
FIG. 2 is a schematic diagram of the block chain technology based ATM machine of the present invention;
FIG. 3 is a schematic diagram of the identification mechanism of the ATM based on block chain technology of the present invention;
FIG. 4 is a schematic diagram of the dryer assembly of the block chain technology based ATM of the present invention;
FIG. 5 is a schematic diagram of the construction of the drive assembly of the block chain based ATM of the present invention;
FIG. 6 is a schematic diagram of the configuration of the air extractor assembly of the block chain technology based ATM of the present invention;
in the figure: 1. the main body, 2, the display screen, 3, the clamping groove, 4, the shell, 5, the swinging rod, 6, the camera, 7, the first motor, 8, the wire coil, 9, the connecting wire, 10, the drying chamber, 11, the air inlet pipe, 12, the air outlet pipe, 13, the second motor, 14, the rotating shaft, 15, the stirring frame, 16, the first gear, 17, the fixed shaft, 18, the bearing seat, 19, the second gear, 20, the first connecting rod, 21, the second connecting rod, 22, the air cylinder, 23, the piston, 24, the air exhaust cover, 25, the vent pipe, 26, the connecting pipe and 27 are provided with the one-way valve.
Detailed Description
The present invention will now be described in further detail with reference to the accompanying drawings. These drawings are simplified schematic views illustrating only the basic structure of the present invention in a schematic manner, and thus show only the constitution related to the present invention.
As shown in fig. 1 and 2, an ATM based on a block chain technology includes a main body 1, a display screen 2, and a card slot 3, where a processor and a memory are disposed in the main body, the processor is electrically connected to the memory, the memory receives block chain data written by block chain nodes and stores the block chain data, a block chain system is disposed in the processor, the block chain system includes a data layer, a network layer, a common identification layer, an excitation layer, a contract layer, and an application layer, the block chain data is derived from the data layer, the processor is a single chip microcomputer or a PLC, the memory includes a memory database and a disk database, and the memory database and the disk database respectively receive the block chain data written by the block chain nodes and store the block chain data.
In fact, the processor is mainly used for processing data, and the memory is used for data storage, where:
the data layer encapsulates bottom data blocks and related data encryption, time stamp and other technologies;
in fact, the blockchain data received or stored by the memory database and the disk database are from the data layer.
The network layer comprises a distributed networking mechanism, a data transmission mechanism, a data verification mechanism and the like;
the consensus layer mainly encapsulates various consensus algorithms of the network nodes;
the incentive layer integrates economic factors into a block chain technology system, and mainly comprises an economic incentive issuing mechanism, an economic incentive distributing mechanism and the like;
the contract layer mainly encapsulates various scripts, algorithms and intelligent contracts and is the basis of the programmable characteristic of the block chain;
the application layer encapsulates various application scenarios and cases of the blockchain.
As shown in fig. 2-3, one side of the main body 1 is provided with an identification mechanism, the identification mechanism is located above the display screen 2, the identification mechanism comprises a housing 4 and an identification component, the housing 4 is fixedly connected with the main body 1, the identification component is arranged inside the housing 4, the identification component comprises a swinging rod 5, a camera 6 and two control units, the swinging rod 5 is horizontally arranged, one end of the swinging rod 5 is hinged with the inside of the housing 4, the other end of the swinging rod 5 is fixedly connected with the camera 6, the two control units are respectively arranged at two sides of the swinging rod 5, the control units comprise a first motor 7, a wire coil 8 and a connecting wire 9, the first motor 7 is fixed at the bottom inside the housing 4, the wire coil 8 is horizontally arranged above the first motor 7, and the first motor 7 is in transmission connection with the wire coil 8, one end of the connecting wire 9 is wound on the wire coil 8, the other end of the connecting wire 9 is fixedly connected with the middle part of the swinging rod 5, and the first motor 7 is electrically connected with the processor;
in fact main part 1's inside still can be equipped with detection device, infrared ray sensor has been contained in the detection device, position to people through infrared ray sensor detects, when people is close to main part 1, infrared ray sensor feeds back information to the treater, can control first motor 7 circular telegram after the treater is handled and start, drum 8 rotates thereupon, rotation through the first motor 7 of treater control, can make drum 8 tighten up or lengthen connecting wire 9, length through the connecting wire 9 of adjusting the connecting wire of 5 both sides of swinging arms, can make swinging arms 5 drive camera 6 and rotate, camera 6's shooting scope has been enlarged in camera 6's rotation, make people not just can carry out face identification to camera 6 like this, the loaded down with trivial details process of people adjusting position cooperation camera 6 discernment has been avoided, face identification is more convenient reliable.
As shown in fig. 4-6, a dehumidifying mechanism is further disposed in the main body 1, and the dehumidifying mechanism includes a drying component, a transmission component and an air pumping component;
the drying assembly comprises a drying chamber 10, an air inlet pipe 11, an air outlet pipe 12, a second motor 13, a rotating shaft 14 and a stirring frame 15, the drying chamber 10 is fixed inside the main body 1, the air inlet pipe 11 and the air outlet pipe 12 are respectively vertically arranged on two sides above the drying chamber 10, the air inlet pipe 11 and the air outlet pipe 12 are both communicated with the inside of the drying chamber 10, the second motor 13 is fixed inside the main body 1, the rotating shaft 14 is horizontally arranged, the stirring frame 15 is horizontally arranged inside the drying chamber 10, one end of the rotating shaft 14 is fixedly connected with an output shaft of the second motor 13, and the other end of the rotating shaft 14 is fixedly connected with the stirring frame 15;
the transmission assembly comprises a first gear 16, a fixed shaft 17, a bearing seat 18, a second gear 19, a first connecting rod 20 and a second connecting rod 21, the first gear 16 is sleeved on the rotating shaft 14, the fixed shaft 17 is horizontally arranged above the rotating shaft 14, one end of the fixed shaft 17 is connected with the inner wall of the main body 1 through the bearing seat 18, the other end of the fixed shaft 17 is fixedly connected with the second gear 19, the first gear 16 is meshed with the second gear 19, the first connecting rod 20 is obliquely arranged, the second connecting rod 21 is vertically arranged above the first connecting rod 20, one end of the first connecting rod 20 is hinged with the position, far away from the center of a circle, of the second gear 19, the other end of the first connecting rod 20 is hinged with the bottom end of the second connecting rod 21, and the top end of the second connecting rod 21 is connected with the air extraction assembly;
the subassembly of bleeding includes inflator 22, piston 23, aspirating hood 24, breather pipe 25 and connecting pipe 26, the vertical top that sets up at second connecting rod 21 of inflator 22, the inside fixed connection of inflator 22 and main part 1, piston 23 sets up the inside at inflator 22, piston 23 matches with inflator 22, piston 23 and inflator 22 sliding connection, the top of second connecting rod 21 and the below fixed connection of piston 23, the top in main part 1 is fixed to aspirating hood 24, the top of inflator 22 is equipped with the air inlet, one side of inflator 22 is equipped with the gas outlet, air inlet and gas outlet all communicate with the inside of inflator 22, aspirating hood 24 passes through breather pipe 25 and air inlet intercommunication, the gas outlet passes through connecting pipe 26 and intake pipe 11 intercommunication, second motor 13 is connected with the treater electricity.
When the humidity sensor in the main body 1 detects that the humidity is too high, the humidity sensor feeds a detected signal back to the processor, the processor controls the second motor 13 to start after processing, the rotating shaft 14 rotates, the rotating shaft 14 drives the first gear 16 to rotate, the first gear 16 drives the second gear 19 to rotate, the second gear 19 drives the second connecting rod 21 to reciprocate up and down through the first connecting rod 20, the second connecting rod 21 drives the piston 23 to reciprocate up and down inside the air cylinder 22, the movement of the piston 23 causes the gas in the main body 1 to be sucked into the air cylinder 22 through the vent pipe 25 by the air exhaust cover 24, then the gas is introduced into the air inlet pipe 11 through the connecting pipe 26, finally, the damp gas enters the inside of the drying chamber 10, the rotating shaft 14 simultaneously drives the stirring frame 15 to rotate in the drying chamber 10, the stirring frame 15 can loosen the activated carbon in the drying chamber 10 differently, flow of gas is accelerated, the area of contact of gas and active carbon has been enlarged, make active carbon fully contact with moist gas, the steam in the active carbon can the adsorbed gas, thereby play the effect to gas drying, gas after the drying can be discharged from outlet duct 12, detect when humidity transducer and detect after humidity accords with the standard, stop the dehumidification, through the dehumidification to gas, the electronic component of having avoided the inside machine damages by the tide, the life of ATM has been improved, and bleed and dry by second motor 13 simultaneous control, the power cost is saved, the economic value of ATM has been improved.
Preferably, the air pipe 25 and the connection pipe 26 are provided with check valves 27 to prevent the reverse flow of gas.
Preferably, a humidity sensor is provided inside the main body 1 to detect the humidity inside the main body 1, and the humidity sensor is electrically connected to the PLC.
Preferably, an angle sensor is provided inside the housing 4 to detect a rotation angle of the camera 6, and the angle sensor is electrically connected to the PLC.
Preferably, the drying chamber 10 is provided with activated carbon inside in order to dry the humid air.
Preferably, the second motor 13 is a servo motor for accurate and stable operation of the second motor 13.
Preferably, in order to enable the second connecting rod 21 to vertically and stably move, a limiting ring is sleeved on the second connecting rod 21, the second connecting rod 21 is connected with the limiting ring in a sliding manner, and the limiting ring is fixedly connected with the main body 1.
Preferably, an antenna is provided inside the main body 1 for signal transmission and remote control.
Through identification mechanism, can control the rotation of camera 6, enlarge camera 6's shooting scope, the loaded down with trivial details process of people's adjusting position cooperation camera 6 discernment has been avoided, face identification is more convenient reliable, through dehumidification mechanism, can be to gaseous dehumidification, electronic component inside the machine has been avoided the damage of weing, the life of ATM has been improved, and by second motor 13 simultaneous control bleed and dry, the power cost has been practiced thrift, the economic value of ATM has been improved.
Compared with the prior art, in this ATM based on block chain technique, through identification mechanism, can control the rotation of camera 6, enlarge camera 6's shooting scope, compared with current ATM, the loaded down with trivial details process of people's adjusting position cooperation camera 6 discernment has been avoided, face identification is convenient more reliable, through dehumidification mechanism, can be to gaseous dehumidification, compare with current ATM, the electronic component of having avoided the machine inside damages by damp, the life of ATM is improved, the practicality and the reliability of ATM are greatly improved.
In light of the foregoing description of the preferred embodiment of the present invention, many modifications and variations will be apparent to those skilled in the art without departing from the spirit and scope of the invention. The technical scope of the present invention is not limited to the content of the specification, and must be determined according to the scope of the claims.