Ticket issuing control method and ticket issuing device
By detecting that the ticket paper leaves the ticket box and stops the movement of the first conveying component after it leaves the ticket box, the problem of multiple tickets caused by blockage of the ticket door is solved, and the accuracy of the number of tickets and the protection of merchant interests is achieved.
Patent Information
- Application Number
- CN202410072766.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-17
- Publication Date
- 2025-07-18
AI Technical Summary
When the ticket gate is blocked, multiple ticket papers are easily stuck in the ticket issuing channel, resulting in the actual number of ticket papers outputted than the number purchased by users, causing economic losses to merchants.
By controlling the first conveying component to stop movement when the ticket paper is detected to leave the ticket box, it is ensured that only one ticket paper enters the issuing channel and avoids multiple ticket papers being stuck.
It effectively avoids the problem of excessive ticket issuance caused by blockage of ticket gates, ensures the accurate number of tickets, and prevents economic losses from merchants.
Smart Images

Figure CN120340158A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of self-service devices, and more particularly, to a ticket issuing control method and a ticket issuing device. Background Art
[0002] Existing ticket issuing devices are usually applied to self-service lottery ticket vending devices for selling lottery tickets to users. The ticket issuing device provided by the related art includes a frame, a conveying component arranged on the frame, a ticket taking sensor and a counter. The frame is provided with a ticket bin and a ticket issuing channel communicating with the ticket bin. The ticket bin is used for placing multiple single ticket papers stacked in a stack. After receiving a ticket issuing instruction, the conveying component drives a ticket paper into the ticket issuing channel, conveys the ticket paper along the ticket issuing channel to the ticket issuing port and outputs it from the ticket issuing port, and the user can take away the ticket paper discharged from the ticket issuing port. The ticket taking sensor is arranged downstream of the ticket issuing port. When the ticket paper extends out of the ticket issuing port and covers the ticket taking sensor, the ticket taking sensor outputs a signal that the user has taken away the ticket paper, and the control device controls the counter to count. When the actual number of issued tickets counted by the counter is equal to the number of ticket papers purchased by the user in the ticket issuing instruction, the control device controls the conveying component to stop moving, and the ticket issuing process is completed.
[0003] However, this kind of ticket issuing device and ticket issuing control method sometimes face the situation that the ticket issuing port is blocked due to abnormal reasons. At this time, the continuous operation of the conveying component will cause multiple ticket papers to be conveyed into the ticket issuing channel and stay in the ticket issuing channel. When multiple ticket papers stay in the ticket issuing channel, they may be arranged in an overlapping manner or in a continuous arrangement along the ticket issuing direction. When the blockage is eliminated and the user takes out multiple ticket papers at one time, since multiple continuously arranged or overlapping ticket papers are usually judged as one ticket paper, the control device only controls the counter to count once. This will result in the number of ticket papers the user gets being more than the number of tickets purchased. Therefore, the existing ticket issuing device is prone to the situation that when the ticket issuing port is blocked and the blockage is eliminated subsequently, the actual number of issued ticket papers is more than the number of ticket papers purchased by the user, causing economic losses to the merchant. Summary of the Invention
[0004] The objectives of this application include providing a ticket issuing control method and a ticket issuing device, which can avoid the problem of over-issuing tickets caused by the blockage of the ticket issuing port.
[0005] The embodiments of this application can be implemented as follows:
[0006] In a first aspect, the present application provides a ticket issuing control method, which is applied to a ticket issuing device. The ticket issuing device includes a frame, a first conveying component and a second conveying component. The frame includes a ticket bin, a ticket outlet and a ticket issuing channel. The ticket bin and the ticket outlet are arranged at intervals along the ticket issuing direction. The ticket bin is used to support ticket papers, and the ticket bin has an outlet. The ticket issuing channel is communicated between the outlet and the ticket outlet. The first conveying component is arranged in the ticket bin and is used to drive the ticket papers in the ticket bin to move from the outlet to the ticket issuing channel. The second conveying component is arranged in the ticket issuing channel and is used to drive the ticket papers to move towards the ticket outlet. The ticket issuing control method includes:
[0007] When receiving a ticket issuing instruction, controlling the first conveying component and the second conveying component to move to drive the ticket papers to move towards the ticket outlet;
[0008] Judging whether the ticket papers leave the ticket bin;
[0009] When it is determined that the ticket papers leave the ticket bin, controlling the first conveying component to stop moving.
[0010] In an optional implementation manner, the ticket issuing device further includes a first detection component arranged in the ticket issuing channel. The step of judging whether the ticket papers leave the ticket bin includes:
[0011] When it is detected that the front end of the ticket papers reaches the first detection component, determining that the ticket papers leave the ticket bin.
[0012] In an optional implementation manner, the first detection component includes a first sensor arranged in the ticket issuing channel. The distance between the first sensor and the outlet is not less than the length of one ticket paper and less than twice the length of one ticket paper. The step of judging whether the ticket papers leave the ticket bin includes:
[0013] When it is detected that the front end of the ticket papers reaches the first sensor, determining that the ticket papers leave the ticket bin.
[0014] In an optional implementation manner, the first detection component includes a first sensor and a second sensor which are arranged in the ticket issuing channel at intervals in sequence along the ticket issuing direction. The distance between the first sensor and the outlet is not less than a first length and less than twice the first length. The distance between the second sensor and the outlet is not less than a second length and less than twice the second length. The second length is greater than the first length. The ticket issuing control method further includes:
[0015] Before receiving the ticket issuing instruction and before controlling the first conveying component and the second conveying component to move, detecting the length of the ticket papers in the ticket bin;
[0016] The step of judging whether the ticket papers leave the ticket bin includes:
[0017] When it is detected that the ticket paper in the ticket bin is of the first length, when it is detected that the front end of the ticket paper reaches the first sensor, it is determined that the ticket paper leaves the ticket bin; when it is detected that the ticket paper in the ticket bin is of the second length, when it is detected that the front end of the ticket paper reaches the second sensor, it is determined that the ticket paper leaves the ticket bin.
[0018] In an alternative embodiment, the ticket issuing instruction includes outputting N sheets of ticket paper, and the ticket issuing control method further includes:
[0019] Recording the total number of tickets issued for the ticket paper that has left the ticket bin;
[0020] When it is detected that the rear end of the ticket paper has left the second sensor, determining whether the total number of tickets issued is equal to N;
[0021] When the total number of tickets issued is not equal to N, controlling the first conveying component to move;
[0022] When the total number of tickets issued is equal to N, controlling the second conveying component to stop moving.
[0023] In an alternative embodiment, the distance between the first sensor and the ticket outlet is less than the second length, and the distance between the second sensor and the ticket outlet is less than the first length. The step of recording the total number of tickets issued for the ticket paper that has left the ticket bin includes:
[0024] When it is detected that the ticket paper in the ticket bin is of the first length, when it is detected that the rear end of the ticket paper has left the second sensor, recording the total number of tickets issued as the previous statistical data plus 1;
[0025] When it is detected that the ticket paper in the ticket bin is of the second length, when it is detected that the rear end of the ticket paper has left the first sensor, recording the total number of tickets issued as the previous statistical data plus 1.
[0026] In a second aspect, the present application provides a ticket issuing device, including a frame, a first conveying component, a second conveying component and a control device. The frame includes a ticket bin, a ticket outlet and a ticket issuing channel. The ticket bin and the ticket outlet are arranged at intervals in sequence along the ticket issuing direction. The ticket bin is used to support the ticket paper. The ticket bin has an outlet. The ticket issuing channel is connected between the outlet and the ticket outlet. The first conveying component is arranged in the ticket bin. The first conveying component is used to drive the ticket paper to move towards the ticket issuing channel. The second conveying component is arranged in the ticket issuing channel and is used to drive the ticket paper to move towards the ticket outlet. The control device is configured to:
[0027] When receiving a ticket issuing instruction, controlling the first conveying component and the second conveying component to move to drive the ticket paper to move towards the ticket outlet; determining whether the ticket paper has left the ticket bin, and when it is determined that the ticket paper has left the ticket bin, controlling the first conveying component to stop moving.
[0028] In an alternative embodiment, the ticket issuing device further includes a first detection component arranged in the ticket issuing channel. The control device is configured to:
[0029] Judge whether the ticket paper has left the ticket bin according to the output signal of the first detection component.
[0030] In an alternative embodiment, the first detection component includes a first sensor disposed in the ticket issuing channel. The distance between the first sensor and the outlet is not less than the length of one ticket paper and less than twice the length of one ticket paper. When no ticket paper triggers the first sensor, the first sensor outputs a first signal. When there is ticket paper triggering the first sensor, the first sensor outputs a second signal. The control device is configured to:
[0031] When the output signal of the first sensor changes from the first signal to the second signal, it is determined that the ticket paper has left the ticket bin.
[0032] In an alternative embodiment, the first detection component includes a first sensor and a second sensor disposed in the ticket issuing channel at intervals in sequence along the ticket issuing direction. The distance between the first sensor and the outlet is not less than a first length and less than twice the first length. The distance between the second sensor and the outlet is not less than a second length and less than twice the second length. The second length is greater than the first length. The ticket issuing device further includes a second detection component for detecting the length of the ticket paper. The control device is configured to:
[0033] Before receiving the ticket issuing instruction and before controlling the first conveying component and the second conveying component to move, determine the length of the ticket paper in the ticket bin according to the output signal of the second detection component. When it is determined that the ticket paper in the ticket bin is of the first length, when it is detected that the front end of the ticket paper reaches the first sensor, it is determined that the ticket paper has left the ticket bin. When it is determined that the ticket paper in the ticket bin is of the second length, when it is detected that the front end of the ticket paper reaches the second sensor, it is determined that the ticket paper has left the ticket bin.
[0034] The beneficial effects of the embodiments of the present application include:
[0035] A ticket issuing control method provided by the present application is applied to a ticket issuing device. The ticket issuing device includes a frame, a first conveying component and a second conveying component. The frame includes a ticket bin, a ticket issuing port and a ticket issuing channel. The ticket bin and the ticket issuing port are arranged at intervals along the ticket issuing direction. The ticket bin is used to support ticket papers, and the ticket bin is provided with an outlet. The ticket issuing channel is connected between the outlet and the ticket issuing port. The first conveying component is arranged in the ticket bin and is used to drive the ticket papers to move from the ticket bin to the ticket issuing channel. The second conveying component is arranged in the ticket issuing channel and is used to drive the ticket papers to move towards the ticket issuing port. The ticket issuing control method includes: when receiving a ticket issuing instruction, controlling the first conveying component and the second conveying component to move to convey the ticket papers; determining whether the ticket papers leave the ticket bin. When the ticket papers leave the ticket bin, controlling the first conveying component to stop moving. Such a setting enables controlling the first conveying component to stop moving when it is detected that the ticket papers leave the ticket bin, so as to ensure that only one ticket paper is driven into the ticket issuing channel when the first conveying component moves. Through this ticket issuing control method, even when the ticket issuing port is blocked and the ticket papers cannot be output from the ticket issuing port, the situation that multiple ticket papers stay in the ticket issuing channel will not occur. Therefore, the problem of excessive ticket issuing caused by the blockage of the ticket issuing port is solved. The ticket issuing device provided by the embodiments of the present application is used to implement the above-mentioned ticket issuing method, so that the problem of excessive ticket issuing caused by the blockage of the ticket issuing port can be avoided. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings required in the embodiments. It should be understood that the following drawings only show some embodiments of the present application, and therefore should not be regarded as limiting the scope. For those of ordinary skill in the art, without creative efforts, other related drawings can also be obtained based on these drawings.
[0037] Figure 1 Schematic diagram of a ticket issuing device in an embodiment of the present application;
[0038] Figure 2 Partial cross-sectional view of a ticket issuing device in an embodiment of the present application;
[0039] Figure 3 Partial schematic diagram of a ticket issuing device in an embodiment of the present application;
[0040] Figure 4 Partial schematic diagram of a ticket bin in an embodiment of the present application;
[0041] Figure 5 Schematic diagram of a baffle in the first position in an embodiment of the present application;
[0042] Figure 6 Schematic diagram of a baffle in the second position in an embodiment of the present application;
[0043] Figure 7 This is a control block diagram of a ticket issuing device in an embodiment of the present application;
[0044] Figure 8 This is a flowchart of a ticket issuing control method in an embodiment of the present application.
[0045] Icons: 010 - Ticket issuing device; 100 - Frame; 110 - Ticket bin; 111 - Side plate; 112 - Bottom plate; 113 - Limiting plate; 114 - Fitting window; 115 - First card slot; 116 - Second card slot; 117 - Outlet; 118 - Baffle; 119 - Trigger part; 120 - Ticket issuing port; 130 - Ticket issuing channel; 200 - First conveying assembly; 210 - Ticket kicking roller; 220 - Ticket separating roller; 230 - First motor; 300 - Second conveying assembly; 310 - First conveying roller; 320 - Second conveying roller; 330 - Second motor; 400 - First detection assembly; 410 - First sensor; 420 - Second sensor; 500 - Second detection assembly; 510 - Third sensor; 520 - Fourth sensor; 600 - Control device. Detailed implementation manners
[0046] To make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Apparently, the described embodiments are some but not all of the embodiments of the present application. Usually, the components of the embodiments of the present application described and illustrated in the accompanying drawings here can be arranged and designed in various different configurations.
[0047] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application claimed, but merely represents selected embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without making creative efforts shall fall within the scope of protection of the present application.
[0048] It should be noted that: Similar reference numerals and letters denote similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings.
[0049] In the description of the present application, it should be noted that if terms such as "upper", "lower", "inner", "outer", etc. are used to indicate the orientation or positional relationship, it is based on the orientation or positional relationship shown in the accompanying drawings or the orientation or positional relationship in which the inventive product is usually placed during use. It is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as a limitation to the present application.
[0050] In addition, terms such as "first" and "second" are only used for distinguishing descriptions and should not be construed as indicating or implying relative importance.
[0051] It should be noted that, without conflict, the features in the embodiments of the present application can be combined with each other.
[0052] In the ticket issuing device in the related art applied to the self-service lottery ticket selling device, there is a situation where the actual number of tickets finally issued is greater than the number of ticket papers purchased by the user due to the blockage of the ticket outlet. For example, when a user uses a self-service lottery ticket selling device, it is possible to deliberately block the ticket outlet of the ticket issuing channel, causing the ticket papers in the ticket issuing channel to be blocked at the ticket outlet because they cannot be output through the ticket outlet. Since the ticket taking sensor does not detect that the ticket paper has been taken away by the user, the control device does not control the counter to count, and it is determined that the actual number of tickets counted by the counter does not reach the number of ticket papers purchased by the user in the ticket issuing instruction. Therefore, the control device controls the conveying component to continuously convey ticket papers to the ticket issuing channel, resulting in multiple ticket papers being detained in the ticket issuing channel at the same time. Multiple ticket papers are arranged continuously along the ticket issuing direction in the ticket issuing channel or multiple ticket papers are arranged overlappingly in the ticket issuing channel. When the user opens the ticket outlet after blocking the ticket outlet for a set time, the conveying component will output multiple ticket papers in the ticket issuing channel through the ticket outlet. When the user takes away multiple ticket papers arranged continuously or overlappingly, since multiple ticket papers arranged continuously or overlappingly are usually determined as one ticket paper, the control device only controls the counter to count once. This will cause the number of ticket papers the user gets to be more than the number of ticket papers purchased. Therefore, in the existing ticket issuing device, once the ticket outlet is artificially blocked, it will cause the problem that the actual number of ticket papers output by the ticket issuing device is more than the number of ticket papers purchased by the user, causing economic losses to the merchant.
[0053] To solve the problem of excessive ticket issuing easily caused by the blockage of the ticket outlet in the related art, an embodiment of the present application provides a ticket issuing device and a ticket issuing control method for implementing the ticket issuing device. By controlling the conveying mechanism to stop conveying the ticket papers in the ticket warehouse to the ticket issuing channel after sending out one ticket paper from the ticket warehouse, it is ensured that only one ticket paper can pass through the ticket issuing channel at the same time, avoiding the situation of multiple ticket papers being detained in the ticket issuing channel, and thus solving the problem of possible excessive ticket issuing.
[0054] Figure 1 It is a schematic diagram of the ticket issuing device 010 in an embodiment of the present application; Figure 2 It is a partial cross-sectional view of the ticket issuing device 010 in an embodiment of the present application; Figure 3 It is a partial schematic diagram of the ticket issuing device 010 in an embodiment of the present application. As Figures 1 to 3As shown, the ticket dispensing device 010 provided in the embodiment of the present application includes a frame 100, a first conveying assembly 200, a second conveying assembly 300, a first detection assembly 400, a second detection assembly 500 and a control device 600. The frame 100 includes a ticket bin 110, a ticket outlet 120 and a ticket dispensing channel 130. The ticket bin 110 and the ticket outlet 120 are arranged at intervals along the ticket dispensing direction. The ticket bin 110 is used to support the ticket paper. The ticket bin 110 has an outlet 117. The ticket dispensing channel 130 is connected between the outlet 117 and the ticket dispensing channel 130. The first conveying assembly 200 is arranged in the ticket bin 110. The first conveying assembly 200 is used to drive the ticket paper in the ticket bin 110 to move from the outlet 117 to the ticket dispensing channel 130; the second conveying assembly 300 is arranged in the ticket dispensing channel 130, and is used to drive the ticket paper to move toward the ticket outlet 120. The first detection assembly 400 is used to detect whether the ticket paper leaves the ticket bin 110, and the second detection assembly 500 is used to detect the length of the ticket paper. The first conveying assembly 200 , the second conveying assembly 300 , the first detecting assembly 400 , and the second detecting assembly 500 are all electrically connected to the control device 600 .
[0055] In this embodiment, the ticket compartment 110 includes two side panels 111 that are opposite and spaced apart and a bottom panel 112 connected between the two side panels 111. The bottom panel 112 and the two side panels 111 form a space for accommodating ticket papers, and the bottom panel 112 is used to support multiple ticket papers that are overlapped into a stack.
[0056] The first conveying assembly 200 includes a ticket kicking roller 210 and a ticket separating roller 220 arranged in sequence along the ticket dispensing direction. The ticket kicking roller 210 is arranged on the bottom plate 112, and the ticket separating roller 220 is arranged at the exit 117 of the ticket chamber 110. The ticket kicking roller 210 and the ticket separating roller 220 are both used to drive the ticket paper to move toward the ticket dispensing passage 130. The ticket kicking roller 210 can contact the ticket paper at the bottom layer in the ticket chamber 110. When the ticket kicking roller 210 rotates, it can provide a friction force to the ticket paper it contacts, so that the ticket paper moves toward the exit 117 of the ticket chamber 110. The ticket separating roller 220 located at the exit 117 of the ticket chamber 110 can receive the ticket paper conveyed by the ticket kicking roller 210, and drive the ticket paper to be sent out of the ticket chamber 110 from the exit 117, and then enter the ticket dispensing passage 130.
[0057] Furthermore, the first conveying assembly 200 further includes a first motor 230, which is connected to the ticket-kicking roller 210 and the ticket-splitting roller 220 for driving the ticket-kicking roller 210 and the ticket-splitting roller 220 to rotate, so as to convey the ticket paper from the ticket chamber 110 to the ticket dispensing channel 130. The transmission components between the first motor 230 and the ticket-kicking roller 210 and the ticket-splitting roller 220 include but are not limited to gears, racks, transmission belts, chains, worm gears, and the like.
[0058] In the embodiment of the present application, the second conveying assembly 300 includes a first conveying roller 310 and a second conveying roller 320 which are arranged at intervals along the ticket issuing direction. Both the first conveying roller 310 and the second conveying roller 320 are used to drive the ticket paper to move along the ticket issuing channel 130 towards the ticket issuing port 120. The second conveying assembly 300 further includes a second motor 330. The second motor 330 is drivingly connected to the first conveying roller 310 and the second conveying roller 320, and is used to drive the first conveying roller 310 and the second conveying roller 320 to rotate so as to convey the ticket paper from the ticket issuing port 120 to the outside of the ticket issuing device 010. The transmission components between the first motor 230 and the first conveying roller 310 and the second conveying roller 320 include but are not limited to gears, racks, transmission belts, chains, worm gears, etc.
[0059] It should be understood that the structural forms of the first conveying assembly 200 and the second conveying assembly 300 can be adjusted as needed; for example, the second conveying assembly 300 can use a conveyor belt to support and convey the ticket paper.
[0060] Optionally, the distance between the first detection assembly 400 and the outlet 117 of the ticket bin 110 is adapted to the length of the ticket paper. When it is detected that the front end of the ticket paper reaches the first detection assembly 400, it indicates that the tail of the ticket paper just leaves the outlet 117 of the ticket bin 110, that is, the ticket paper leaves the ticket bin 110. In other embodiments, the ticket issuing device 010 may include a ticket paper detection sensor located in the ticket issuing channel 130 and adjacent to the outlet 117. In this case, determining whether the ticket paper leaves the ticket bin 110 may include: when it is detected that the rear end of the ticket paper leaves the ticket paper detection sensor, determining that the ticket paper leaves the ticket bin 110.
[0061] Optionally, the first detection component 400 includes a first sensor 410 disposed in the ticket issuing channel 130. The distance between the first sensor 410 and the outlet 117 is not less than the length of one ticket paper and less than the length of two ticket papers. When no ticket paper triggers the first sensor 410, the first sensor 410 outputs a first signal; when a ticket paper triggers the first sensor 410, that is, when the front end of the ticket paper reaches the first sensor 410, the first sensor 410 outputs a second signal. It should be understood that when the ticket paper is conveyed by the first conveying component 200 and the second conveying component 300, the length direction thereof is consistent with the ticket issuing direction. Therefore, the distance between the front end and the rear end of the ticket paper during conveyance is the length dimension of the ticket paper. Since the distance between the first sensor 410 and the outlet 117 is not less than the length of one ticket paper, when the front end of the ticket paper triggers the first sensor 410, it means that the rear end of the ticket paper has been completely sent out from the outlet 117. At the same time, since the ticket papers are sent out from the outlet 117 one by one without overlap, and the distance between the first sensor 410 and the outlet 117 is less than the length of two ticket papers, when the first sensor 410 detects that the previous ticket paper has been completely sent out from the outlet 117 (i.e., leaves the ticket bin 110), the next ticket paper must not have been completely sent out from the outlet 117 of the ticket bin 110 yet. In this way, when it is detected and determined by the first detection component 400 that a ticket paper leaves the ticket bin 110, there will be no situation where another ticket paper also completely leaves the ticket bin 110 and enters the ticket issuing channel 130.
[0062] Since the ticket papers stored in the ticket issuing device 010 may have different length specifications, sensors can be set at different positions in the ticket issuing channel 130 to correspondingly detect whether the ticket papers of different length specifications have left the ticket magazine 110. In this embodiment, the first detection component 400 includes a first sensor 410 and a second sensor 420 that are sequentially arranged at intervals along the ticket issuing direction in the ticket issuing channel 130. Among them, the distance between the first sensor 410 and the outlet 117 is not less than the first length and less than twice the first length, and the distance between the second sensor 420 and the outlet 117 is not less than the second length and less than twice the second length, and the second length is greater than the first length. Such a setting enables the ticket issuing device 010 to effectively detect whether the ticket papers of two different length specifications have left the ticket magazine 110. That is, the first sensor 410 is used to detect whether the ticket paper with the first length has left the ticket magazine 110, and it is determined that the ticket paper has left the ticket magazine 110 when the front end of the ticket paper with the first length reaches the first sensor 410; the second sensor 420 is used to detect whether the ticket paper with the second length has left the ticket magazine 110, and it is determined that the ticket paper has left the ticket magazine 110 when the front end of the ticket paper with the second length reaches the second sensor 420. Thus, for the ticket papers of two different length specifications, it can be ensured that when it is detected and determined by the first detection component 400 that a ticket paper has left the ticket magazine 110, there will be no situation where another ticket paper has also completely left the ticket magazine 110 and entered the ticket issuing channel 130. It can be understood that in other alternative embodiments, more sensors can also be set to adapt to the detection of ticket papers of more specifications.
[0063] Furthermore, the distance between the first sensor 410 and the ticket outlet 120 is less than the second length, and the distance between the second sensor 420 and the ticket outlet 120 is less than the first length. In this embodiment, the first sensor 410 and the second sensor 420 can also be used to detect whether the ticket paper extends out of the ticket outlet 120. In the case where the ticket paper extends out of the ticket outlet 120, the ticket paper can be pulled out by the user. In this embodiment, since the distance between the first sensor 410 and the ticket outlet 120 is less than the second length, it can be determined that the ticket paper with the second length has extended out of the ticket outlet 120 when the rear end of the ticket paper with the second length is detected by the first sensor 410; since the distance between the second sensor 420 and the ticket outlet 120 is less than the first length, it can be determined that the ticket paper with the first length has extended out of the ticket outlet 120 when the rear end of the ticket paper with the first length is detected by the second sensor 420.
[0064] Further, the first conveying roller 310 is disposed between the first sensor 410 and the outlet 117 of the ticket bin 110, and the second conveying roller 320 is disposed between the first sensor 410 and the second sensor 420, and the distance between the second conveying roller 320 and the ticket outlet 120 is less than the length of a ticket paper. Such a setting enables the front end of the ticket paper of the first length to reach the first sensor 410. Even if the first conveying assembly 200 stops moving, the first conveying roller 310 can continue to drive the ticket paper to move, ensuring the driving force for the ticket paper. In addition, it can be ensured that when the rear end of the ticket paper disengages from the second conveying roller 320, the front end of the ticket paper has extended out of the ticket outlet 120. Even if there is no driving force to drive the ticket paper to move further at this time, the user can pull out the entire ticket paper from the ticket outlet 120 by holding the front end of the ticket paper, facilitating the user to pick up the ticket.
[0065] Figure 4 It is a partial schematic view of the ticket bin 110 in an embodiment of the present application; Figure 5 It is a schematic view of the baffle 118 in the first position in an embodiment of the present application; Figure 6 It is a schematic view of the baffle 118 in the second position in an embodiment of the present application. As Figures 2 to 6 shown, in the embodiment of the present application, the second detection assembly 500 includes a third sensor 510 and a fourth sensor 520. The ticket bin 110 further includes a limiting plate 113 and a baffle 118. The limiting plate 113 is connected between the two side plates 111. The outlet 117 is disposed below the limiting plate 113. The limiting plate 113 is used to limit the position of the front end of the ticket paper in the ticket bin 110. The baffle 118 is connected to the two side plates 111. The baffle 118 and the limiting plate 113 are opposite and spaced along the ticket issuing direction. The baffle 118 is used to limit the position of the rear end of the ticket paper in the ticket bin 110. The position of the baffle 118 relative to the limiting plate 113 along the ticket issuing direction is adjustable. The baffle 118 has a first position and a second position relative to the limiting plate 113. When the baffle 118 is in the first position, the ticket bin 110 is used to support the ticket paper of the first length, and the baffle 118 cooperates with the third sensor 510. When the baffle 118 is in the second position, the ticket bin 110 is used to support the ticket paper of the second length, and the baffle 118 cooperates with the fourth sensor 520. The control device 600 can determine whether the ticket paper in the ticket bin 110 is of the first length or the second length according to the detection signals output by the third sensor 510 and the fourth sensor 520.
[0066] It should be understood that in this embodiment, the installation position of the baffle 118 needs to be set in advance according to the length specification of the ticket paper, wherein the distance between the baffle 118 and the limiting plate 113 is adapted to the length of the ticket paper, that is, the length of the ticket paper used can determine the installation position of the baffle 118. When the ticket paper of the first length is used, the baffle 118 is placed at the first position, and when the ticket paper of the second length is used, the baffle 118 is placed at the second position. When the ticket paper is placed in the ticket chamber 110, the front end of the ticket paper abuts against the limiting plate 113, and the rear end of the ticket paper abuts against the baffle 118. The limiting plate 113 and the baffle 118 respectively limit the positions of the front end and the rear end of the ticket paper in the ticket chamber 110, so as to prevent the ticket paper from moving in the ticket chamber 110, thereby improving the neatness of the ticket paper stacking in the ticket chamber 110.
[0067] In this embodiment, the second detection assembly 500 is arranged on the outer side of the side plate 111 of the ticket chamber 110, that is, on the side away from the ticket paper, so that the second detection assembly 500 can be prevented from interfering with the ticket paper. A matching window 114 is arranged on the side plate 111, and a first card slot 115 and a second card slot 116 are arranged at the lower edge of the matching window 114, which are spaced apart from each other along the ticket dispensing direction. A trigger portion 119 is arranged at the side edge of the baffle 118. When the baffle 118 is installed in the ticket chamber 110, the trigger portion 119 extends from the matching window 114 and can be selectively embedded in the first card slot 115 or the second card slot 116. When the trigger portion 119 is embedded in the first card slot 115, the baffle 118 is in the first position; when the trigger portion 119 is embedded in the second card slot 116, the baffle 118 is in the second position. The position of the third sensor 510 corresponds to the first card slot 115. When the trigger part 119 is embedded in the first card slot 115, it can trigger the third sensor 510 located on the outside of the side panel 111; the position of the fourth sensor 520 corresponds to the second card slot 116. When the trigger part 119 is embedded in the second card slot 116, it can trigger the fourth sensor 520 located on the outside of the side panel 111.
[0068] In this embodiment, cooperation windows 114, a first card slot 115 and a second card slot 116 are provided on the lower edge of the cooperation window 114 are provided on both side plates 111; correspondingly, trigger portions 119 are provided on two opposite side edges of the baffle 118. When the two trigger portions 119 are respectively inserted into the first card slots 115 on the two side plates 111, the baffle 118 is in the first position. When the two trigger portions 119 are respectively inserted into the second card slots 116 on the two side plates 111, the baffle 118 is in the second position. Optionally, the second detection assembly 500 is installed on the outer side of one of the two side plates 111. Of course, the third sensor 510 and the fourth sensor 520 of the second detection assembly 500 can also be respectively installed on the outer sides of the two side plates. Further, a plurality of cooperation windows 114 arranged at intervals in the height direction (that is, the stacking direction of the ticket papers in the ticket bin 110) are provided on each side plate 111; correspondingly, a plurality of trigger portions 119 arranged at intervals in the height direction are provided on both side edges of the baffle 118. The number of trigger portions 119 is equal to the number of cooperation windows 114 and the positions correspond one by one. The second detection assembly 500 can be arranged below one of the cooperation windows 114. Further, when the baffle 118 is in any one of the first position and the second position, the bottom of the baffle 118 is inserted and cooperated with the bottom plate 112, which can improve the connection stability between the baffle 118 and the ticket bin 110.
[0069] In the embodiment of the present application, the first sensor 410, the second sensor 420, the third sensor 510, and the fourth sensor 520 can be selected as photoelectric sensors. In two cases where the optical path formed by the sensors is blocked and unblocked, the sensors can output two different signals. The control device 600 can judge whether the corresponding target objects (such as ticket papers, trigger portions 119) reach or leave the positions corresponding to the sensors according to the signal changes fed back by the sensors.
[0070] Figure 7 It is a control block diagram of the ticket issuing device 010 in an embodiment of the present application. As Figure 7 shown, in this embodiment, the first motor 230, the second motor 330, the first sensor 410, the second sensor 420, the third sensor 510, and the fourth sensor 520 are all electrically connected to the control device 600. The control device 600 can collect the signals of each sensor and determine the operation strategies of the first motor 230 and the second motor 330 according to the signals fed back by these sensors. In this embodiment, the control device 600 is configured to:
[0071] When receiving a ticket issuing instruction, control the first conveying assembly 200 and the second conveying assembly 300 to move to drive the ticket paper to move towards the ticket outlet 120; judge whether the ticket paper leaves the ticket bin 110. When it is determined that the ticket paper leaves the ticket bin 110, control the first conveying assembly 200 to stop moving.
[0072] Such a setting enables the control device 600 to detect that the ticket paper leaves the ticket bin 110, and then the first conveying assembly 200 stops moving. Thus, it can be ensured that when the first conveying assembly 200 moves, only one ticket paper is driven into the ticket issuing channel 130, and the problem of multiple ticket issuances caused by the first conveying assembly 200 conveying multiple ticket papers into the ticket issuing channel 130 when the ticket issuing port 120 is blocked can be avoided.
[0073] Furthermore, the control device 600 can determine whether the ticket paper leaves the ticket bin 110 according to the output signal of the first detection assembly 400. For example, the control device 600 can determine whether the ticket paper with the first length leaves the ticket bin 110 according to the output signal of the first sensor 410; the control device 600 can determine whether the ticket paper with the second length leaves the ticket bin 110 according to the output signal of the second sensor 420.
[0074] Furthermore, when the first detection assembly 400 includes the first sensor 410, the distance between the first sensor 410 and the outlet 117 is not less than the length of one ticket paper and less than the length of two ticket papers. When no ticket paper triggers the first sensor 410, the first sensor 410 outputs a first signal. When there is a ticket paper triggering the first sensor 410, that is, when the front end of the ticket paper reaches the first sensor 410, the first sensor 410 outputs a second signal. The control device 600 is specifically configured to: when the output signal of the first sensor 410 changes from the first signal to the second signal, it is determined that the ticket paper leaves the ticket bin 110.
[0075] Furthermore, when the first detection assembly 400 includes the first sensor 410 and the second sensor 420, the distance between the first sensor 410 and the outlet 117 is not less than the first length and less than twice the first length, and the distance between the second sensor 420 and the outlet 117 is not less than the second length and less than twice the second length, and the second length is greater than the first length. The control device 600 is specifically configured to: before receiving the ticket issuing instruction and before controlling the first conveying assembly 200 and the second conveying assembly 300 to move, determine the length of the ticket paper in the ticket bin 110 according to the output signal of the second detection assembly 500; when it is detected that the ticket paper in the ticket bin 110 is of the first length, when it is detected that the front end of the ticket paper reaches the first sensor 410, it is determined that the ticket paper leaves the ticket bin 110; when it is detected that the ticket paper in the ticket bin 110 is of the second length, when it is detected that the front end of the ticket paper reaches the second sensor 420, it is determined that the ticket paper leaves the ticket bin 110.
[0076] In the embodiment of the present application, the control device 600 can implement a ticket issuing control method to solve the problem of multiple ticket issuances caused by the blockage of the ticket issuing port 120. For the specific control method of the control device 600, reference can be made to the introduction of the ticket issuing control method below.
[0077] Figure 8 This is a flowchart of a ticket issuing control method in an embodiment of the present application. As Figure 8 shown, the ticket issuing control method provided in the embodiment of the present application is applied to the ticket issuing device 010 provided in the above embodiment. The ticket issuing control method includes the following steps:
[0078] Step S100, when receiving a ticket issuing instruction, control the first conveying component and the second conveying component to move to drive the ticket paper to move towards the ticket issuing port.
[0079] Taking the ticket issuing device 010 provided in the embodiment of the present application as an example, when the control device 600 receives a ticket issuing instruction, the control device 600 controls the first motor 230 to drive the ticket kicking roller 210 and the ticket separating roller 220 to rotate, so as to convey the ticket paper at the bottom in the ticket bin 110 to the ticket issuing channel 130 through the outlet of the ticket bin 110. At the same time, the control device 600 also controls the second motor 330 to rotate, so as to drive the first conveying roller 310 and the second conveying roller 320 to convey the ticket paper to the ticket issuing port 120. Among them, the ticket issuing instruction may be a ticket purchasing instruction input by the user through the human-computer interaction device.
[0080] Step S200, judge whether the ticket paper has left the ticket bin.
[0081] Taking the ticket issuing device 010 provided in the embodiment of the present application as an example, the control device 600 can judge whether the ticket paper has left the ticket bin 110 according to the output signal of the first detection component 400. Optionally, the step of judging whether the ticket paper has left the ticket bin 110 includes: when it is detected that the front end of the ticket paper reaches the first detection component 400, it is determined that the ticket paper has left the ticket bin 110.
[0082] When the distance between the first detection component 400 and the outlet 117 of the ticket bin 110 is adapted to the length of the ticket paper, when it is detected that the front end of the ticket paper reaches the first detection component 400, it indicates that the tail of the ticket paper just leaves the outlet 117 of the ticket bin 110, that is, the ticket paper has left the ticket bin 110. When the ticket issuing device 010 further includes a ticket paper detection sensor located in the ticket issuing channel 130 and adjacent to the outlet 117, the step of judging whether the ticket paper has left the ticket bin 110 may include: when it is detected that the rear end of the ticket paper leaves the ticket paper detection sensor, it is determined that the ticket paper has left the ticket bin 110.
[0083] When the first detection component 400 includes a first sensor 410, and the distance between the first sensor 410 and the outlet 117 is not less than the length of one ticket paper and less than twice the length of one ticket paper, the step of determining whether the ticket paper has left the ticket magazine 110 specifically includes: when it is detected that the front end of the ticket paper reaches the first sensor 410, it is determined that the ticket paper has left the ticket magazine 110. It can be understood that when the front end of the ticket paper reaches the first sensor 410, the first sensor 410 can be triggered, resulting in a change in the signal output by the first sensor 410 (such as changing from a first signal to a second signal). At this time, the control device 600 determines that the front end of the ticket paper reaches the position of the first sensor 410. Since the distance between the first sensor 410 and the outlet 117 is not less than the length of one ticket paper and less than twice the length of one ticket paper, it indicates that the rear end of the ticket paper must already be outside the outlet 117, and the next ticket paper must not have been completely sent out from the outlet 117. At this time, there is only one ticket paper in the ticket issuing channel 130.
[0084] Step S300, when it is determined that the ticket paper has left the ticket magazine, control the first conveying component to stop moving.
[0085] Taking the ticket issuing device 010 provided by the embodiment of the present application as an example, the control device 600 can control the first motor 230 to stop working, so that the first conveying component 200 stops moving; further, the second motor 330 continues to work, so that the second conveying component 300 continues to convey the ticket paper in the ticket issuing channel 130 to the ticket issuing port 120.
[0086] Since when it is determined that the ticket paper has left the ticket magazine 110, there is only one ticket paper in the ticket issuing channel 130. In this case, even if the ticket paper is blocked at the ticket issuing port 120 due to human factors or accidents, the second conveying component 300 continues to work, but since the first conveying component 200 stops moving, it will not cause the ticket paper in the ticket magazine 110 to continuously enter the ticket issuing channel 130, resulting in an increase in the ticket paper in the ticket issuing channel 130. Therefore, even if the subsequent blockage is resolved, the user can only take away one ticket paper, and there will be no problem of issuing extra tickets.
[0087] Further, when the first detection component 400 includes a first sensor 410 and a second sensor 420 that are sequentially arranged at intervals in the ticket issuing channel 130 along the ticket issuing direction, the distance between the first sensor 410 and the outlet 117 is not less than the first length and less than twice the first length, and the distance between the second sensor 420 and the outlet 117 is not less than the second length and less than twice the second length, the ticket issuing control method may further include: before receiving the ticket issuing instruction and before controlling the first conveying component 200 and the second conveying component 300 to move, detecting the length of the ticket paper in the ticket magazine 110. In this case, step S200 may specifically include:
[0088] When it is detected that the ticket paper in the ticket bin 110 is of the first length, when it is detected that the front end of the ticket paper reaches the first sensor 410, it is determined that the ticket paper has left the ticket bin 110; when it is detected that the ticket paper in the ticket bin 110 is of the second length, when it is detected that the front end of the ticket paper reaches the second sensor 420, it is determined that the ticket paper has left the ticket bin 110.
[0089] Taking the ticket issuing device 010 provided in the embodiment of the present application as an example, the control device 600 can determine whether the length of the ticket paper stored in the current ticket bin 110 is the first length or the second length by judging whether the third sensor 510 or the fourth sensor 520 is triggered by the triggering portion 119 of the baffle 118. For example, in this embodiment, when the third sensor 510 is triggered by the triggering portion 119, it can be determined that the length of the ticket paper is the first length; when the fourth sensor 520 is triggered by the triggering portion 119, it can be determined that the length of the ticket paper is the second length. Such a setting enables the length specification of the ticket paper supported by the ticket bin 110 to be automatically detected during ticket issuing, and enables the first conveying assembly 200 to stop moving when the front end of the ticket paper reaches the first sensor 410 or the second sensor 420 according to the length specification of the ticket paper. Since the distance between the first sensor 410 and the outlet 117 is not less than the first length and less than twice the first length, and the distance between the second sensor 420 and the outlet 117 is not less than the second length and less than twice the second length, when the ticket paper in the ticket bin 110 is of the first length or the second length, it can be ensured that only one ticket paper is driven into the ticket issuing channel 130 when the first conveying assembly 200 moves, so as to solve the problem of multiple ticket issuing when the ticket outlet 120 is blocked.
[0090] Optionally, the ticket issuing control method further includes: when it is detected that the ticket paper in the ticket bin 110 is of the first length, if a ticket issuing instruction is received and after an interval of the first set time, it is still not detected that the front end of the ticket paper reaches the first sensor 410, controlling the first conveying assembly 200 and the second conveying assembly 300 to stop moving and sending out a first warning message; when it is detected that the ticket paper in the ticket bin 110 is of the second length, if a ticket issuing instruction is received and after an interval of the second set time, it is still not detected that the front end of the ticket paper reaches the second sensor 420, controlling the first conveying assembly 200 and the second conveying assembly 300 to stop moving and sending out a second warning message; if a ticket issuing instruction is received and after an interval of the third set time, it is still not detected that the rear end of the ticket paper moves to the second sensor 420, controlling the first conveying assembly 200 and the second conveying assembly 300 to stop moving, and sending out a third warning message. Such a setting enables, when a ticket jamming occurs during the ticket issuing process and the ticket paper cannot continue to move, the first conveying assembly 200 and the second conveying assembly 300 to be controlled to stop moving to prevent more ticket papers from accumulating in the ticket issuing channel 130, and timely remind the maintenance personnel to clean the jammed tickets.
[0091] Further, the ticket issuing instruction includes outputting N ticket papers, and the ticket issuing control method further includes:
[0092] Record the total number of tickets issued that have left the ticket bin 110; when it is detected that the rear end of the ticket paper has left the second sensor 420, determine whether the total number of tickets issued is equal to N; when the total number of tickets issued is not equal to N, control the first conveying component 200 to move; when the total number of tickets issued is equal to N, control the second conveying component 300 to stop moving.
[0093] Through the above control method, the number of tickets issued can be recorded. When it is determined that the total number of tickets issued has reached the number of tickets N included in the ticket issuing instruction, it indicates that the number of tickets issued has reached the number of tickets that the user needs to purchase. Therefore, the second conveying component 300 is stopped from continuing to work, and the ticket issuing process ends. When it is determined that the total number of tickets issued has not reached the number of tickets N included in the ticket issuing instruction, it indicates that tickets need to be continuously issued. Therefore, the first conveying component 200 is controlled to continue to convey the ticket paper to the ticket issuing channel 130, and the second conveying component 300 continues to convey the ticket paper in the ticket issuing channel 130 to the ticket outlet 120.
[0094] Further, in the case where the first detection component 400 includes the first sensor 410 and the second sensor 420, the distance between the first sensor 410 and the ticket outlet 120 is less than the second length, and the distance between the second sensor 420 and the ticket outlet 120 is less than the first length. The step of recording the total number of tickets issued that have left the ticket bin 110 may specifically include:
[0095] When it is detected that the ticket paper in the ticket bin 110 is of the first length, when it is detected that the rear end of the ticket paper has left the second sensor 420, record the total number of tickets issued as the previous statistical data plus 1;
[0096] When it is detected that the ticket paper in the ticket bin 110 is of the second length, when it is detected that the rear end of the ticket paper has left the first sensor 410, record the total number of tickets issued as the previous statistical data plus 1.
[0097] Through the above control method, the control device 600 can respectively judge whether the ticket paper of the second length and the ticket paper of the first length have protruded from the ticket outlet 120 according to the signal changes feedback by the first sensor 410 and the second sensor 420. When it is determined that the ticket paper has protruded from the ticket outlet 120, it indicates that the ticket paper is in a state where it can be taken by the user. Therefore, it can be considered that the ticket has been completely issued, and the total number of tickets issued is incremented by 1. Such a setting makes it possible that after the ticket paper is counted, the front end of the ticket paper has protruded from the ticket outlet 120. Even if the ticket issuing device 010 stops running due to an abnormality at this time, the user can pull the ticket paper out of the ticket issuing channel 130, avoiding the problem that the user cannot get the ticket when the counting is completed and the ticket issuing device 010 stops running.
[0098] In summary, a ticket issuing control method provided by the present application is applied to a ticket issuing device 010. The ticket issuing device 010 includes a frame 100, a first conveying component 200, and a second conveying component 300. The frame 100 includes a ticket bin 110, a ticket issuing port 120, and a ticket issuing channel 130. The ticket bin 110 and the ticket issuing port 120 are arranged at intervals along the ticket issuing direction. The ticket bin 110 is used to support ticket papers, and an outlet 117 is provided in the ticket bin 110. The ticket issuing channel 130 is connected between the outlet 117 and the ticket issuing port 120. The first conveying component 200 is arranged in the ticket bin 110 and is used to drive the ticket papers to move from the ticket bin 110 to the ticket issuing channel 130. The second conveying component 300 is arranged in the ticket issuing channel 130 and is used to drive the ticket papers to move towards the ticket issuing port 120. The ticket issuing control method includes: when receiving a ticket issuing instruction, controlling the first conveying component 200 and the second conveying component 300 to move to convey the ticket papers; determining whether the ticket papers leave the ticket bin 110, and when the ticket papers leave the ticket bin 110, controlling the first conveying component 200 to stop moving. Such a setting enables controlling the first conveying component 200 to stop moving when it is detected that the ticket papers leave the ticket bin 110, so as to ensure that only one ticket paper is driven into the ticket issuing channel 130 when the first conveying component 200 moves. Through this ticket issuing control method, even if the second conveying component 300 continues to move when the ticket papers are blocked at the ticket issuing port 120, the situation where multiple ticket papers are detained in the ticket issuing channel 130 will not occur. Therefore, the problem of multiple ticket issuances caused by the blockage of the ticket issuing port is solved. The ticket issuing device 010 provided by the embodiment of the present application is used to implement the above-mentioned ticket issuing method, and thus can avoid the problem of multiple ticket issuances caused by the blockage of the ticket papers.
[0099] As described above, the foregoing is only a specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by those skilled in the art within the technical scope disclosed by the present application should be covered within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A ticket issuing control method, applied to a ticket issuing device, characterized in that, The ticket issuing device includes a frame, a first conveying component and a second conveying component. The frame includes a ticket bin, a ticket outlet and a ticket issuing channel. The ticket bin and the ticket outlet are arranged at intervals along the ticket issuing direction. The ticket bin is used to support ticket papers, and the ticket bin has an outlet. The ticket issuing channel is communicated between the outlet and the ticket outlet. The first conveying component is arranged in the ticket bin and is used to drive the ticket papers in the ticket bin to move from the outlet to the ticket issuing channel. The second conveying component is arranged in the ticket issuing channel and is used to drive the ticket papers to move towards the ticket outlet. The ticket issuing control method includes: When receiving a ticket issuing instruction, controlling the first conveying component and the second conveying component to move to drive the ticket papers to move towards the ticket outlet; Judging whether the ticket papers leave the ticket bin; When it is determined that the ticket papers leave the ticket bin, controlling the first conveying component to stop moving.
2. The ticket issuing control method according to claim 1, wherein The ticket issuing device further includes a first detection component arranged in the ticket issuing channel. The step of judging whether the ticket papers leave the ticket bin includes: When it is detected that the front end of the ticket papers reaches the first detection component, determining that the ticket papers leave the ticket bin.
3. The ticket issuing control method according to claim 2, wherein The first detection component includes a first sensor arranged in the ticket issuing channel. The distance between the first sensor and the outlet is not less than the length of one ticket paper and less than the length of two ticket papers; The step of judging whether the ticket papers leave the ticket bin includes: When it is detected that the front end of the ticket papers reaches the first sensor, determining that the ticket papers leave the ticket bin.
4. The ticket issuing control method according to claim 2, wherein The first detection component includes a first sensor and a second sensor arranged at intervals in sequence along the ticket issuing direction in the ticket issuing channel. The distance between the first sensor and the outlet is not less than a first length and less than twice the first length. The distance between the second sensor and the outlet is not less than a second length and less than twice the second length. The second length is greater than the first length; The ticket issuing control method further includes: Before receiving the ticket issuing instruction and before controlling the first conveying component and the second conveying component to move, detecting the length of the ticket papers in the ticket bin; The step of judging whether the ticket papers leave the ticket bin includes: When the ticket papers in the ticket bin are detected to be of the first length, when it is detected that the front end of the ticket papers reaches the first sensor, determining that the ticket papers leave the ticket bin; when the ticket papers in the ticket bin are detected to be of the second length, when it is detected that the front end of the ticket papers reaches the second sensor, determining that the ticket papers leave the ticket bin.
5. The ticket issuing control method according to claim 4, wherein The ticket issuing instruction includes outputting N ticket papers. The ticket issuing control method further includes: Recording the total number of ticket papers issued that leave the ticket bin; When it is detected that the rear end of the ticket papers leaves the second sensor, judging whether the total number of ticket papers issued is equal to N; When the total number of ticket papers issued is not equal to N, controlling the first conveying component to move; When the total number of ticket papers issued is equal to N, controlling the second conveying component to stop moving.
6. The ticket issuing control method according to claim 5, wherein The distance between the first sensor and the ticket outlet is less than the second length, and the distance between the second sensor and the ticket outlet is less than the first length. The step of recording the total number of tickets issued that leave the ticket bin includes: When it is detected that the ticket in the ticket bin is of the first length, when it is detected that the rear end of the ticket leaves the second sensor, record the total number of tickets issued as the previous statistical data plus 1; When it is detected that the ticket in the ticket bin is of the second length, when it is detected that the rear end of the ticket leaves the first sensor, record the total number of tickets issued as the previous statistical data plus 1.
7. A ticket issuing device, characterized in that, It includes a frame, a first conveying component, a second conveying component and a control device. The frame includes a ticket bin, a ticket outlet and a ticket issuing channel. The ticket bin and the ticket outlet are arranged at intervals in sequence along the ticket issuing direction. The ticket bin is used to support tickets. The ticket bin has an outlet, and the ticket issuing channel is connected between the outlet and the ticket outlet. The first conveying component is arranged in the ticket bin, and the first conveying component is used to drive the ticket to move towards the ticket issuing channel. The second conveying component is arranged in the ticket issuing channel and is used to drive the ticket to move towards the ticket outlet. The first conveying component and the second conveying component are both electrically connected to the control device, and the control device is configured to: When receiving a ticket issuing instruction, control the first conveying component and the second conveying component to move to drive the ticket to move towards the ticket outlet; determine whether the ticket has left the ticket bin. When it is determined that the ticket has left the ticket bin, control the first conveying component to stop moving.
8. The ticket issuing device according to claim 7, characterized in that, The ticket issuing device further includes a first detection component arranged in the ticket issuing channel, and the control device is configured to: Judge whether the ticket has left the ticket bin according to the output signal of the first detection component.
9. The ticket issuing device according to claim 8, wherein The first detection component includes a first sensor arranged in the ticket issuing channel. The distance between the first sensor and the outlet is not less than the length of one ticket and less than the length of two tickets. When no ticket triggers the first sensor, the first sensor outputs a first signal. When there is a ticket triggering the first sensor, the first sensor outputs a second signal. The control device is configured to: When the output signal of the first sensor changes from the first signal to the second signal, it is determined that the ticket has left the ticket bin.
10. The ticket issuing device according to claim 8, wherein, The first detection component includes a first sensor and a second sensor arranged at intervals in sequence along the ticket issuing direction in the ticket issuing channel. The distance between the first sensor and the outlet is not less than the first length and less than twice the first length. The distance between the second sensor and the outlet is not less than the second length and less than twice the second length. The second length is greater than the first length. The ticket issuing device further includes a second detection component, and the second detection component is used to detect the length of the ticket. The control device is configured to: Before receiving the ticket issuing instruction and before controlling the movement of the first conveying component and the second conveying component, determine the length of the ticket paper in the ticket bin according to the output signal of the second detection component; in the case where the ticket paper in the ticket bin is determined to be the first length, when it is detected that the front end of the ticket paper reaches the first sensor, determine that the ticket paper leaves the ticket bin; in the case where the ticket paper in the ticket bin is determined to be the second length, when it is detected that the front end of the ticket paper reaches the second sensor, determine that the ticket paper leaves the ticket bin.