Summary of the invention
The technical problem to be solved by the present invention is for overcome the deficiencies in the prior art, providing a kind of based on block chain skill
The ticket-selling device for rail traffic of art.
The technical solution adopted by the present invention to solve the technical problems is: a kind of handing over for track based on block chain technology
Logical ticket-selling device, including main body, pedestal, display screen and pillar, the main body are fixed on the top of pedestal, and the display screen is logical
The top that pillar is fixed on main body is crossed, the main body is equipped with fingerprint window, touch screen, Ticket issuing equipment and collection box, the collection
Box is located at the lower section of Ticket issuing equipment, and processor and memory, the processor and memory electrical connection, institute are equipped in the main body
It states memory and receives the block chain data of block chain link point write-in, and block chain data are stored, the fingerprint window touches
Screen and display screen are electrically connected with processor;
The Ticket issuing equipment include shell, two buy one's ticket after normal time mechanism and two ticket dispensing mechanisms, the shell are fixed in main body,
Two mechanisms of buying one's ticket after normal time are located at the two sides of shell, and two ticket dispensing mechanisms are located at the two sides of the inside of shell, described to draw a bill
Mechanism and mechanism one-to-one correspondence of buying one's ticket after normal time;
The ticket dispensing mechanism includes several components of drawing a bill, and the component of drawing a bill is uniformly distributed inside the shell from top to down, institute
Stating component of drawing a bill includes caching box and several units of drawing a bill, and the caching box is fixed inside the shell, and the unit of drawing a bill uniformly divides
For cloth in the outside of the side of the close main body of caching box, the unit of drawing a bill includes draw a bill pipe, reciprocal unit and reciprocating plate, described
Reciprocating plate is located at the bottom drawn a bill in pipe, and the reciprocal unit and reciprocating plate are sequentially connected, draw a bill pipe and the caching box it is upper
Portion's connection, interior be equipped with of the caching box adjust unit and directional plate, and the top in caching box is arranged in the adjusting unit, described
It adjusts unit and directional plate is sequentially connected, the inner wall of the side close to pipe of drawing a bill of the directional plate and caching box is hinged;
The mechanism of buying one's ticket after normal time includes several components of buying one's ticket after normal time, and the quantity of the component of buying one's ticket after normal time is equal with the quantity for unit of drawing a bill,
It is described buy one's ticket after normal time component and draw a bill unit one-to-one correspondence, it is described buy one's ticket after normal time component include buy one's ticket after normal time pipe, cover board, indicator light, two cylinders and
Several units of buying one's ticket after normal time, on the shell, the cover board is located at the top for pipe of buying one's ticket after normal time, two cylinders point for the top setting of the pipe of buying one's ticket after normal time
Wei Yu not buy one's ticket after normal time pipe top two sides, the cylinder body of the cylinder, which is fixed on, buys one's ticket after normal time on pipe, the top of the gas bar of the cylinder with
Cover board is fixedly connected, and the cylinder is electrically connected with processor, and the unit of buying one's ticket after normal time is evenly distributed on from top to down buys one's ticket after normal time on pipe, institute
The quantity for stating unit of buying one's ticket after normal time is equal with the quantity for component of drawing a bill, unit and the component one-to-one correspondence of drawing a bill of buying one's ticket after normal time.
Preferably, being equipped with block catenary system, the block in the processor to improve the safety of data storage
Catenary system includes data Layer, network layer, common recognition layer, excitation layer, contract layer and application layer, and the block chain data source is in data
Layer.
Preferably, in order to improve the intelligence degree of equipment, the processor is single-chip microcontroller or PLC, the memory
Including memory database and disk database, the memory database and disk database receive the write-in of block chain link point respectively
Block chain data, and block chain data are stored.
Preferably, the reciprocating movement in order to realize reciprocating plate, the reciprocal unit include first motor, first connecting rod and
Second connecting rod, the first motor is fixed, and the first motor is electrically connected with processor inside the shell, the first motor and the
The connection of one link transmission, the first connecting rod is hinged by second connecting rod and reciprocating plate, and the reciprocating plate passes through pipe of drawing a bill.
Preferably, fallen for the ease of the license plate in caching box, the adjusting unit include the second motor, driving wheel,
Bracing wire and limit plate, second motor are fixed on the top in caching box, and second motor is electrically connected with processor, described
Second motor and driving wheel are sequentially connected, and the driving wheel is connect by bracing wire with directional plate, and the limit plate is located at directional plate
Top, the limit plate be fixed on caching box far from draw a bill pipe side inner wall on.
Preferably, in order to detect the surplus for the ticket in pipe of drawing a bill, the top drawn a bill in pipe is equipped with first and surveys
Distance meter, first rangefinder are electrically connected with processor.
Preferably, the lower section of the cover board is equipped with the second rangefinder in order to detect the surplus for the ticket in pipe of buying one's ticket after normal time,
Second rangefinder is electrically connected with processor.
Preferably, falling into collection box for the ease of the ticket in caching box, the component of drawing a bill further includes inclined plate, institute
It is fixed inside the shell to state inclined plate, the inclined plate is located at the lower section of caching box, one end of the close housing central axis of the inclined plate
Height lower than inclined plate the other end height.
Preferably, drawing a bill in pipe in order to which the ticket bought one's ticket after normal time in pipe to be delivered to, the unit of buying one's ticket after normal time includes connecting tube,
Three motors, screw rod and pushing block, the pipe of buying one's ticket after normal time are connected to by connecting tube with the top for pipe of drawing a bill, and the third motor, which is located at, buys one's ticket after normal time
The side of the separate connecting tube of pipe, the pushing block pass through pipe of buying one's ticket after normal time, and the third motor is fixed inside the shell, the third motor
It is electrically connected with processor, one end transmission connection of the third motor and screw rod, the pushing block is set in the other end of screw rod, institute
It is stating pushing block to be equipped with screw rod junction and the matched screw thread of screw rod.
Preferably, being equipped with antenna, the antenna and processor in the main body for the ease of administrative staff's remote control operation
Electrical connection.
The invention has the advantages that the ticket-selling device for rail traffic based on block chain technology is somebody's turn to do, using block
Chain technology carries out data storage, so that data safety degree is high, and people can be paid in advance by scanning display, then be set
It is standby to prepare ticket in advance, fingerprint recognition is directly carried out in purchase, equipment carries out identities match, by after verifying by prepared vehicle
Tickets-raise up supplies people, to increase substantially ticketing efficiency, reduces people's queuing time, moreover, mechanism can by buying one's ticket after normal time
In time to pipe supplement ticket of drawing a bill, while administrative staff also being facilitated to add ticket into pipe of buying one's ticket after normal time, to improve the reality of equipment
The property used.
Specific embodiment
In conjunction with the accompanying drawings, the present invention is further explained in detail.These attached drawings are simplified schematic diagram, only with
Illustration illustrates basic structure of the invention, therefore it only shows the composition relevant to the invention.
As shown in Figure 1, a kind of ticket-selling device for rail traffic based on block chain technology, including main body 1, pedestal 2,
Display screen 3 and pillar 4, the main body 1 is interior to be equipped with processor and memory, and the processor and memory are electrically connected, described to deposit
Reservoir receives the block chain data of block chain link point write-in, and stores to block chain data, and area is equipped in the processor
Block catenary system, the block catenary system include data Layer, network layer, common recognition layer, excitation layer, contract layer and application layer, the area
Block chain data source is single-chip microcontroller or PLC in data Layer, the processor, and the memory includes memory database and disk number
According to library, the memory database and disk database receive the block chain data that block chain link point is written respectively, and to block chain
Data are stored.
In fact, processor is mainly used for handling data, and memory is stored for data, herein:
Data Layer encapsulates bottom data block and the technologies such as relevant data encryption and timestamp;
In fact, the block chain data that memory database and disk database receive or store come from data
Layer.
Network layer then includes distributed networking mechanism, data dissemination mechanism and data authentication mechanism etc.;
All kinds of common recognition algorithms of common recognition layer predominant package network node;
Economic factor is integrated into block chain technical system by excitation layer, main issuing mechanism including economic incentives and
Distribution mechanism etc.;
All kinds of scripts of contract layer predominant package, algorithm and intelligent contract, are the bases of block chain programmable features;
Application layer then encapsulates the various application scenarios and case of block chain.
As shown in Fig. 2, the main body 1 is fixed on the top of pedestal 2, the display screen 3 is fixed on main body 1 by pillar 4
Top, the main body 1 is equipped with fingerprint window 5, touch screen 6, Ticket issuing equipment and collection box 7, and the collection box 7, which is located at, draws a bill dress
The lower section set, the fingerprint window 5, touch screen 6 and display screen 3 are electrically connected with processor;
In the ticket-selling device, main body 1 is fixedly mounted on to the top of pedestal 2, display screen 3 is supported by pillar 4,
When carrying out ticketing, the people in 1 front of main body can directly be operated by touch screen 6 equipment, select booking, and for convenience
The subsequent people of troop carries out booking, and the two dimensional code that people can be scanned using mobile phone on display screen 3 carries out payment work, and payment is completed
Afterwards, the license plate for storing people in advance by Ticket issuing equipment, when the people wait which license plate pre-purchase is moved to the front of main body 1, by finger
By on fingerprint window 5, by carrying out fingerprint recognition, the identity of user is confirmed, when purchasing in advance in the identity of user and Ticket issuing equipment
When the identity of the personnel of ticket is consistent, Ticket issuing equipment can directly carry out operation of drawing a bill, and people is facilitated to get tickets, and such equipment is in reality
In the application process of border, the personnel in 1 front of main body can carry out booking, and the personnel at rear can scan the two-dimensional code preparatory booking, mobile
To 1 front of main body, after carrying out quick authentication by fingerprint recognition, the license plate that people pre-purchase Ticket issuing equipment spits receipts
Collect in box 7, quickly get tickets convenient for people, by so operating, the ticketing efficiency of equipment can be increased substantially, reduces people and be lined up
The time of waiting, to improve the practicability of equipment.
As shown in Figure 3-4, the Ticket issuing equipment includes 8, two, shell buy one's ticket after normal time mechanism and two ticket dispensing mechanisms, the shell
8 fix on the body 1, and two mechanisms of buying one's ticket after normal time are located at the two sides of shell 8, and two ticket dispensing mechanisms are located at the interior of shell 8
The two sides in portion, the ticket dispensing mechanism and mechanism one-to-one correspondence of buying one's ticket after normal time;
In Ticket issuing equipment, administrative staff can supplement ticket, and drawing machine by the ticket dispensing mechanism of the outside shell 8 of mechanism of buying one's ticket after normal time
Structure is used to spue ticket to collection box 7, and convenient for booking, personnel get tickets.
As shown in Figure 3 and Figure 6, the ticket dispensing mechanism includes several components of drawing a bill, and the component of drawing a bill is uniform from top to down
It being distributed in shell 8, the component of drawing a bill includes caching box 9 and several units of drawing a bill, and the caching box 9 is fixed in shell 8,
The unit of drawing a bill is evenly distributed on the outside of the side of the close main body 1 of caching box 9, and the unit of drawing a bill includes pipe of drawing a bill
10, reciprocal unit and reciprocating plate 11, the reciprocating plate 11 are located at the bottom drawn a bill in pipe 10, the reciprocal unit and reciprocating plate 11
Transmission connection, the pipe 10 of drawing a bill are connected to the top of caching box 9, are equipped in the caching box 9 and are adjusted unit and directional plate 30,
The top in caching box 9 is arranged in the adjusting unit, and the adjusting unit and directional plate 30 are sequentially connected, the directional plate 30
It is hinged with the inner wall of the side close to pipe 10 of drawing a bill of caching box 9;
Ticket dispensing mechanism is made of multiple components of drawing a bill, and component of each drawing a bill is used to cache the vehicle of single booking personnel purchase
Board, in component of individually drawing a bill, by each successively store various types ticket of pipe 10 of drawing a bill, people are after pre-purchaseing ticket, root
According to the quantity of the ticket of purchase, processor controls reciprocal unit operation, the number that control reciprocating plate 11 moves back and forth, when past
When compound plate 11 carries out the reciprocating movement of single, the license plate for 10 bottom of pipe of drawing a bill is pushed into caching pipe, reciprocating plate more than 11 times reciprocal
It is mobile, multiple license plates for the bottom in pipe 10 of drawing a bill can be pushed into caching pipe, ticket is made to fall in the directional plate 30 in caching pipe
Top, after people are by the fingerprint recognition of fingerprint window 5, processor controls to adjust unit operation, and directional plate 30 is driven to tilt
It is down-set, so that license plate slides in collection box 7 downwards along inclined directional plate 30, so that people be facilitated to get tickets.
As shown in Figure 4 and Figure 5, the mechanism of buying one's ticket after normal time includes several components of buying one's ticket after normal time, the quantity of the component of buying one's ticket after normal time with draw a bill
The quantity of unit is equal, and buy one's ticket after normal time component and the unit one-to-one correspondence of drawing a bill, the component of buying one's ticket after normal time includes buy one's ticket after normal time pipe 12, cover board
13, the top of 15, two cylinders 16 of indicator light and several units of buying one's ticket after normal time, the pipe 12 of buying one's ticket after normal time is arranged on shell 8, the cover board
13 are located at the top for pipe 12 of buying one's ticket after normal time, and two cylinders 16 are located at the two sides on the top for pipe 12 of buying one's ticket after normal time, the cylinder body of the cylinder 16
It is fixed on and buys one's ticket after normal time on pipe 12, the top of the gas bar of the cylinder 16 is fixedly connected with cover board 13, the cylinder 16 and processor electricity
Connection, the unit of buying one's ticket after normal time is evenly distributed on from top to down buys one's ticket after normal time on pipe 12, the quantity of the unit of buying one's ticket after normal time and component of drawing a bill
Quantity is equal, unit and the component one-to-one correspondence of drawing a bill of buying one's ticket after normal time.
Mechanism of buying one's ticket after normal time is used to supplement license plate to pipe 10 of drawing a bill, and continues to provide ticket to booking personnel convenient for equipment.Compensation ticketing machine
In structure, processor control is bought one's ticket after normal time unit operation, is drawn a bill in pipe 10 so that the ticket bought one's ticket after normal time in pipe 12 is delivered to, when needing to benefit
In ticket pipe 12 when supplement ticket, processor controls cylinder 16 and starts, and increases the intracorporal air pressure of cylinder of cylinder 16, so that cylinder 16
Gas bar moves up, so that cover board 13 be driven to move up, so that the opening of pipe 12 of buying one's ticket after normal time, and then facilitates administrative staff to buying one's ticket after normal time
Ticket is supplemented in pipe 12, and exhaust hood 16 starts, and drives cover board 13 to move down, blocks pipe 12 of buying one's ticket after normal time.
As shown in fig. 6, the reciprocal unit includes first motor 17, first connecting rod 18 and second connecting rod 29, described first
Motor 17 is fixed in shell 8, and the first motor 17 is electrically connected with processor, and the first motor 17 is passed with first connecting rod 18
Dynamic connection, the first connecting rod 18 is hinged by second connecting rod 29 and reciprocating plate 11, and the reciprocating plate 11 passes through pipe 10 of drawing a bill.Place
It manages device control first motor 17 to start, drives first connecting rod 18 to move in a circle, first connecting rod 18 is acted on by second connecting rod 29
In reciprocating plate 11, so that reciprocating plate 11 moves back and forth in the horizontal direction, the ticket for 10 bottom of pipe of drawing a bill is pushed into slow
It deposits in pipe.
Preferably, falling for the ease of the license plate in caching box 9, the adjusting unit includes the second motor 19, driving
Wheel 20, bracing wire 21 and limit plate 22, second motor 19 are fixed on the top in caching box 9, second motor 19 and place
Device electrical connection is managed, second motor 19 is sequentially connected with driving wheel 20, and the driving wheel 20 passes through bracing wire 21 and directional plate 30
Connection, the limit plate 22 are located at the top of directional plate 30, and the limit plate 22 is fixed on the separate pipe 10 of drawing a bill of caching box 9
On the inner wall of side.Processor controls the starting of the second motor 19, and driving wheel 20 is driven to rotate, so that bracing wire 21 is tightened or put
Pine, when bracing wire 21 is loosened.Directional plate 30 rotates down, and slides downwards along inclined directional plate 30 to collection box 7 convenient for ticket
It is interior, and when directional plate 30 is rotated up, the rotational angle of directional plate 30 can be limited using limit plate 22, avoid ticket from caching box
Falling in 9.
Preferably, in order to detect the surplus for the ticket in pipe 10 of drawing a bill, the top drawn a bill in pipe 10 is equipped with the
One rangefinder 23, first rangefinder 23 are electrically connected with processor.The bottom drawn a bill in pipe 10 is detected using the first rangefinder 23
The distance of ticket of the portion away from its internal highest point, and range data is fed back into processor, when range data is excessive, indicate
Ticket surplus is smaller in ticket pipe 10, and processor controls unit operation of buying one's ticket after normal time at this time, supplements ticket into pipe 10 of drawing a bill.
Preferably, in order to detect the surplus for the ticket in pipe 12 of buying one's ticket after normal time, the lower section of the cover board 13 is equipped with second and surveys
Distance meter 24, second rangefinder 24 are electrically connected with processor.It is bought one's ticket after normal time pipe 12 using the second rangefinder 24 detection 13 distance of cover board
The distance of the ticket of interior the top, and range data is passed into processor, when the range data that processor obtains is excessive, table
Ticket surplus in visible subsidy ticket pipe 12 is insufficient, and processor control instructions lamp 15 flashes at this time, convenient for administrative staff in time to benefit
Ticket is supplemented in ticket pipe 12.
Preferably, falling into collection box 7 for the ease of the ticket in caching box 9, the component of drawing a bill further includes inclined plate
14, the inclined plate 14 is fixed in shell 8, and the inclined plate 14 is located at the lower section of caching box 9, the close shell 8 of the inclined plate 14
Height of the height of one end of central axis lower than the other end of inclined plate 14.After directional plate 30 rotates down, on directional plate 30
Ticket slid on inclined plate 14 downwards along directional plate 30, then ticket slides downwards along the surface of inclined plate 14 to collection box
In 7.
Preferably, drawing a bill in pipe 10 in order to which the ticket bought one's ticket after normal time in pipe 12 to be delivered to, the unit of buying one's ticket after normal time includes connection
Pipe 25, third motor 26, screw rod 27 and pushing block 28, the pipe 12 of buying one's ticket after normal time are connected to by connecting tube 25 with the top for pipe 10 of drawing a bill,
The third motor 26 is located at the side of separate the connecting tube 25 for pipe 12 of buying one's ticket after normal time, and the pushing block 28 is across buying one's ticket after normal time pipe 12, and described the
Three motors 26 are fixed in shell 8, and the third motor 26 is electrically connected with processor, the third motor 26 and the one of screw rod 27
End transmission connection, the pushing block 28 are set in the other end of screw rod 27, the pushing block 28 with the junction of screw rod 27 be equipped with
The matched screw thread of screw rod 27.Processor controls third motor 26 and starts, and screw rod 27 is driven to rotate, and screw rod 27 is existed by threaded function
On pushing block 28, the ticket in front is delivered to by connecting tube 25 and is drawn a bill in pipe 10 by pushing block 28.
Preferably, being equipped with antenna, the antenna and processing in the main body 1 for the ease of administrative staff's remote control operation
Device electrical connection.Facilitate equipment to receive or send wireless signal using antenna, convenient for equipment administrative staff by remote control device with
Equipment establishes wireless signal connection, understands the operation conditions of equipment while being convenient for remote control operation equipment.
The ticket-selling device is in use, the people for coming troop rear can be carried out in advance by the two dimensional code on scanning pillar 4
Booking, in the ticket dispensing mechanism of equipment, by drawing a bill, the ticket that people pre-purchase in advance for component prepares to the tune in caching box 9
To the lower section of plate 30, when people are moved to 1 front of main body, fingerprint recognition is carried out by fingerprint window 5, when confirmation identity and booking
After personnel identity is consistent, adjusting unit and directional plate 30 is driven to rotate down, the ticket convenient for preparing in advance is fallen in collection box 7,
Facilitate people to get tickets, so that the booking efficiency of equipment be greatly improved, reduces the time that people wait in line, while passing through benefit
Ticket member, which facilitates for the ticket bought one's ticket after normal time in pipe 12 to be delivered to, draws a bill in pipe 10, cover board 13 can be facilitated to open by the starting of cylinder 16,
Ticket is supplemented into pipe 12 of buying one's ticket after normal time convenient for administrative staff, persistently provides people's trip ticket used convenient for equipment, to improve
The practicability of equipment.
Compared with prior art, it is somebody's turn to do the ticket-selling device for rail traffic based on block chain technology, using block chain skill
Art carries out data storage, so that data safety degree is high, and people can be paid in advance by scanning display, and then equipment is pre-
First prepare ticket, fingerprint recognition is directly carried out in purchase, equipment carries out identities match, by mentioning prepared ticket after verifying
People are supplied, to increase substantially ticketing efficiency, reduce people's queuing time, moreover, mechanism can be timely by buying one's ticket after normal time
To drawing a bill, pipe 10 supplements ticket, while administrative staff also being facilitated to add ticket into pipe 12 of buying one's ticket after normal time, to improve the reality of equipment
The property used.
Taking the above-mentioned ideal embodiment according to the present invention as inspiration, through the above description, relevant staff is complete
Various changes and amendments can be carried out without departing from the scope of the technological thought of the present invention' entirely.The technology of this invention
Property range is not limited to the contents of the specification, it is necessary to which the technical scope thereof is determined according to the scope of the claim.