CN113119198A - Bill segmentation method, equipment, device and readable medium - Google Patents

Bill segmentation method, equipment, device and readable medium Download PDF

Info

Publication number
CN113119198A
CN113119198A CN202010026948.XA CN202010026948A CN113119198A CN 113119198 A CN113119198 A CN 113119198A CN 202010026948 A CN202010026948 A CN 202010026948A CN 113119198 A CN113119198 A CN 113119198A
Authority
CN
China
Prior art keywords
bill
sensing unit
sensing
unit
ticket
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010026948.XA
Other languages
Chinese (zh)
Other versions
CN113119198B (en
Inventor
朱熹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Yihua Computer Co Ltd
Shenzhen Yihua Time Technology Co Ltd
Shenzhen Yihua Financial Intelligent Research Institute
Original Assignee
Shenzhen Yihua Computer Co Ltd
Shenzhen Yihua Time Technology Co Ltd
Shenzhen Yihua Financial Intelligent Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Yihua Computer Co Ltd, Shenzhen Yihua Time Technology Co Ltd, Shenzhen Yihua Financial Intelligent Research Institute filed Critical Shenzhen Yihua Computer Co Ltd
Priority to CN202010026948.XA priority Critical patent/CN113119198B/en
Publication of CN113119198A publication Critical patent/CN113119198A/en
Application granted granted Critical
Publication of CN113119198B publication Critical patent/CN113119198B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B26HAND CUTTING TOOLS; CUTTING; SEVERING
    • B26DCUTTING; DETAILS COMMON TO MACHINES FOR PERFORATING, PUNCHING, CUTTING-OUT, STAMPING-OUT OR SEVERING
    • B26D5/00Arrangements for operating and controlling machines or devices for cutting, cutting-out, stamping-out, punching, perforating, or severing by means other than cutting
    • B26D5/005Computer numerical control means
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B26HAND CUTTING TOOLS; CUTTING; SEVERING
    • B26DCUTTING; DETAILS COMMON TO MACHINES FOR PERFORATING, PUNCHING, CUTTING-OUT, STAMPING-OUT OR SEVERING
    • B26D5/00Arrangements for operating and controlling machines or devices for cutting, cutting-out, stamping-out, punching, perforating, or severing by means other than cutting
    • B26D5/007Control means comprising cameras, vision or image processing systems
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B26HAND CUTTING TOOLS; CUTTING; SEVERING
    • B26DCUTTING; DETAILS COMMON TO MACHINES FOR PERFORATING, PUNCHING, CUTTING-OUT, STAMPING-OUT OR SEVERING
    • B26D7/00Details of apparatus for cutting, cutting-out, stamping-out, punching, perforating, or severing by means other than cutting
    • B26D7/01Means for holding or positioning work

Landscapes

  • Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Forests & Forestry (AREA)
  • Mechanical Engineering (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Engineering & Computer Science (AREA)
  • Inspection Of Paper Currency And Valuable Securities (AREA)

Abstract

The embodiment of the invention discloses a bill segmentation method, a bill segmentation device, equipment and a readable medium, wherein the bill segmentation method is based on a bill segmentation device, the bill segmentation device comprises a bill transmission channel for transmitting a bill to be segmented, and a driving unit connected with the bill transmission channel and used for driving the bill to be segmented to be transmitted in the bill transmission channel; the bill segmentation device also comprises a sensing unit and a segmentation unit which are arranged on the bill transmission channel; the method comprises the following steps: acquiring first sensing data when a bill to be divided passes through the sensing unit, and initializing according to the first sensing data; acquiring second sensing data when the bill to be divided passes through the sensing unit, and judging whether the second sensing data meets a preset bill dividing threshold value; and under the condition that the second sensing data meets the bill segmentation threshold, controlling the segmentation unit to segment the bill to be segmented.

Description

Bill segmentation method, equipment, device and readable medium
Technical Field
The invention relates to the technical field of computer data processing, in particular to a bill segmentation method, equipment, a device and a readable medium.
Background
With the rapid development of economy and the improvement of the tax consciousness of citizens, the tax receipt is more and more widely applied in daily life as a special certificate used by a tax authority to collect tax payment to taxpayers according to taxes.
In the application fields related to the bills such as tax receipts, the bills are often first required to be processed such as positioning the bills and separating the bills based on the positioning. The prior art is generally directed to the positioning and the splitting of the notes according to the type of note, such as tax stamps, with holes on both sides. The problem that the last note is not accurately positioned, the note cutting holes are deviated during the cutting process or the note cutting openings are not uniform due to the environment difference of other equipment, so that the defect that the subsequent note cutting based on the positions of the note holes is deviated is caused, and the accuracy and the efficiency of the note cutting are influenced.
Disclosure of Invention
In view of the above, there is a need to provide a method, an apparatus, a computer device and a readable medium for separating bills.
The bill splitting method is characterized by being based on a bill splitting device, wherein the bill splitting device comprises a bill transmission channel for transmitting bills to be split, and the bill splitting device further comprises a driving unit connected with the bill transmission channel and used for driving the bills to be split to be transmitted in the bill transmission channel;
the bill segmentation device also comprises a sensing unit and a segmentation unit which are arranged on the bill transmission channel;
the method comprises the following steps:
acquiring first sensing data when a bill to be divided passes through the sensing unit, and initializing according to the first sensing data;
acquiring second sensing data when the bill to be divided passes through the sensing unit, and judging whether the second sensing data meets a preset bill dividing threshold value;
and under the condition that the second sensing data meets the bill segmentation threshold, controlling the segmentation unit to segment the bill to be segmented.
Furthermore, the sensing unit further comprises a first sensing unit and a second sensing unit which are arranged at preset positions of the channel and are symmetrically arranged relative to the channel;
initializing according to the first sensing data, comprising:
judging whether the first sensing unit and the second sensing unit are triggered or not according to the first sensing data;
under the condition that the first sensing unit and/or the second sensing unit are/is not triggered, the driving unit drives the bill to be divided to continue to be conveyed in the bill conveying channel, so that the first sensing unit and the second sensing unit are triggered;
and initializing according to the first sensing data when the first sensing unit and the second sensing unit are detected to be triggered.
Optionally, the sensing unit further includes a third sensing unit, and further, the step of initializing according to the first sensing data includes:
determining a first target position of the third sensing unit according to the first sensing data;
and matching the first target position with a preset standard position, and initializing according to a matching result of the first target position and the standard position.
The step of initializing according to the matching result of the first target position and the standard position comprises the following steps:
determining a target position interval of the third sensor according to the matching result, and judging whether the target position interval is matched with a preset first position interval and a preset second position interval;
under the condition that the target position interval is matched with the first position interval or the second position interval, driving the bills to be divided to be transmitted in the bill transmission channel;
detecting whether the first sensing unit and the second sensing unit are triggered or not, and acquiring a second target position of the third sensing unit under the condition that the first sensing unit and the second sensing unit are not triggered;
the driving unit drives the bill to be divided to move in the preset direction of the bill conveying channel, and the movement distance of the bill to be divided is obtained;
under the condition that the movement of the bill to be divided is detected to be within a preset distance, acquiring a third target position of the third sensing unit;
and matching the second target position with the third target position, and initializing according to the matching result of the second target position and the third target position.
Optionally, the bill splitting device further includes a fourth sensing unit and a fifth sensing unit, which are disposed at preset positions of the passage and symmetrically disposed with respect to the passage;
before the step of judging whether the second sensing data meets the preset note segmentation threshold value, the method further comprises the following steps:
judging whether the fourth sensing unit or the fifth sensing unit is triggered or not according to the second sensing data;
acquiring the second sensing data when the fourth sensing unit and/or the fifth sensing unit is/are detected to be triggered;
and judging whether the bill to be divided is the first bill or not according to the second sensing data.
Optionally, the bill processing device further comprises a grating counting unit;
the judging whether the bill to be divided is the first bill according to the second sensing data comprises the following steps:
acquiring a first target grating number output by the grating counting unit, and respectively determining a first ticket hole number and a second ticket hole number output by the fourth sensing unit and the fifth sensing unit according to the second sensing data;
and judging whether the first ticket hole number and the second ticket hole number are matched with a preset ticket hole number threshold value, judging whether the first target grating number is matched with a preset standard grating number, and judging whether the ticket to be divided is a first ticket.
Optionally, after the step of judging whether the bill to be divided is the first bill, the method includes:
acquiring the number of ticket holes of the first ticket as a standard number of ticket holes, and a second target number of gratings corresponding to the grating unit, a third number of ticket holes output by the fourth sensing unit and a fifth sensing unit and a fourth number of ticket holes output by the fifth sensing unit after the first ticket passes;
and matching the second target grating number with a preset standard grating number, matching the third ticket hole number with the fourth ticket hole number, and judging whether the ratio of the third ticket hole number to the fourth ticket hole number to the standard ticket hole number is an integer or not.
A document segmenting device, characterized in that it comprises:
an initialization module: the device comprises a sensing unit, a data processing unit and a control unit, wherein the sensing unit is used for acquiring first sensing data when a bill to be cut passes through and initializing according to the first sensing data;
a judging module: the system comprises a sensing unit, a data processing unit and a data processing unit, wherein the sensing unit is used for acquiring second sensing data when the bill to be divided passes through and judging whether the second sensing data meets a preset bill dividing threshold value or not;
a cutting module: and the control unit is used for controlling the segmentation unit to segment the bill to be segmented under the condition that the second sensing data meets the bill segmentation threshold value.
A computer device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of:
acquiring first sensing data when a bill to be divided passes through the sensing unit, and initializing according to the first sensing data;
acquiring second sensing data when the bill to be divided passes through the sensing unit, and judging whether the second sensing data meets a preset bill dividing threshold value;
and under the condition that the second sensing data meets the bill segmentation threshold, controlling the segmentation unit to segment the bill to be segmented.
A computer-readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of:
acquiring first sensing data when a bill to be divided passes through the sensing unit, and initializing according to the first sensing data;
acquiring second sensing data when the bill to be divided passes through the sensing unit, and judging whether the second sensing data meets a preset bill dividing threshold value;
and under the condition that the second sensing data meets the bill segmentation threshold, controlling the segmentation unit to segment the bill to be segmented.
The embodiment of the invention is implemented based on a bill segmentation device comprising a bill transmission channel, and the bill segmentation device also comprises a driving unit connected with the bill transmission channel and used for driving the bill to be segmented to be transmitted in the bill transmission channel; the bill segmentation device further comprises a sensing unit and a segmentation unit which are arranged on the bill transmission channel. Further, the embodiment of the invention also provides a bill segmentation method based on the bill segmentation device, which comprises the steps of acquiring first sensing data when a bill to be segmented passes through by a sensing unit, initializing according to the first sensing data, acquiring second sensing data when the bill to be segmented passes through by the sensing unit after the initialization is finished, and judging whether the second sensing data meets a preset bill segmentation threshold value or not; and under the condition that the second sensing data meets the bill segmentation threshold value, controlling a segmentation unit to segment the bill to be segmented.
Compared with the defect of low bill segmentation accuracy caused by inaccurate bill positioning in the prior art, the bill to be segmented is positioned for cutting by arranging the sensing unit at the preset position of the bill transmission channel and combining the two aspects of grating counting and bill hole positioning counting, so that the accuracy and efficiency of bill positioning and segmenting are improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Wherein:
FIG. 1 shows a schematic view of a document segmentation apparatus in one embodiment;
FIG. 2 is a flow diagram that illustrates a method for document segmentation, according to one embodiment;
FIG. 3 illustrates a flow diagram for initialization based on first sensed data in one embodiment;
FIG. 4 is a flow chart illustrating initialization according to the first sensing data in another embodiment;
FIG. 5 is a flow diagram that illustrates initializing based on a match of the first target location and the standard location, in one embodiment;
FIG. 6 illustrates a flow diagram for determining whether the second sensed data meets a pre-set document cut threshold in one embodiment;
FIG. 7 is a flow chart showing the process of determining whether the bill to be divided is the first bill according to the second sensing data in one embodiment;
FIG. 8 is a flow chart illustrating a further embodiment of determining whether the second sensed data meets a pre-set document cut threshold;
fig. 9 shows a block diagram of the structure of the bill segmenting device in one embodiment.
FIG. 10 is a diagram illustrating an internal structure of a computer device in one embodiment.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention provides a bill segmentation method, and in one embodiment, the invention can be based on a bill segmentation device (such as a self-service tax bill drawing machine) which comprises a bill transmission channel for transmitting a bill to be segmented as shown in figure 1. Meanwhile, the bill segmentation device further comprises a driving unit connected with the bill transmission channel and used for driving the bills to be transmitted in the bill transmission channel. Further, the bill cutting device further comprises a sensing unit and a cutting unit which are arranged on the bill transmission channel. The sensing unit is used for acquiring state data of an object passing through the bill transmission channel, and the segmentation unit is used for segmenting the bill to be segmented.
In a particular embodiment, the components of the note-cutting device described above can be seen in fig. 1. FIG. 1 shows a schematic view of a document segmentation apparatus in one embodiment.
FIG. 2 shows a flow diagram of a method of document segmentation in one embodiment. Referring to fig. 2, an embodiment of the present invention provides a method for splitting a bill. The method for splitting bills in the present invention at least includes steps S1022 to S1026 shown in fig. 2, which are described in detail as follows:
in step S1022, first sensing data when the to-be-divided bill passes through is acquired by the sensing unit, and initialization is performed according to the first sensing data.
Referring first to fig. 1, the sensing units herein comprise a first sensing unit (1004) and a second sensing unit (1006) disposed at preset positions of a bill transport path (1002) included in the cutting device and symmetrically disposed with respect to the bill transport path (specifically, disposed at left and right sides of the bill transport path (1002) and symmetrically disposed with respect to the bill transport path, as shown in fig. 1). In one particular embodiment, the sensor types of 1004 and 1006 may be photosensitive elements for detecting image data associated with objects passing in the sheet transport path.
The purpose of the initialization here is: on the one hand, by carrying out function test and state detection on each sensing unit, when bills pass through the bill transmission channel, the sensing units with preset types and functions (such as bill hole counting and image acquisition starting marks) at each preset position can normally operate, and the condition that the bills are positioned due to the fact that the bills are stuck or the operating states of the bills cannot be sensed cannot occur.
Meanwhile, on the other hand, based on the requirement of bill positioning, after the initialization is completed, each bill to be divided and the bill transmission channel are determined to meet the preset position relation (such as the first bill hole of the first bill is aligned with the sensor for counting the bill holes).
Specifically, the above initialization process according to the first sensing data may further include steps S1032-S1036 shown in fig. 3, which is described below with reference to fig. 3. FIG. 3 illustrates a flow diagram for initialization based on first sensed data in one embodiment.
In step S1032, it is determined whether the first sensing unit and the second sensing unit are triggered according to the first sensing data.
Continuing with FIG. 2, in a specific embodiment, the first sensing data may be the sensing data respectively output by 1004 and 1006.
Taking into account the type of sensing and placement of 1004 and 1006, the trigger here may be the detection of a sensor being occluded (corresponding to an actual scene, i.e., an object such as a ticket moving through a ticket delivery path). In a specific embodiment, before the initialization, a sheet of tax excise stamp to be processed can be placed at the inlet of the bill transfer passage, so that the sheet of tax stamp moves in the bill transfer passage to the cutting unit at the end of the passage under the driving of the driving unit.
In step S1034, in a case that the first sensing unit and/or the second sensing unit are not triggered, the driving unit drives the to-be-divided bill to continue to be transported in the bill transporting channel, so that the first sensing unit and the second sensing unit are triggered.
In an alternative embodiment, in the case where one or both of the sensors 1004 and 1006 disposed on the left and right sides of the bill transfer path are not triggered, the tax reciept may be further moved by the driving unit to a distance toward the bill exit (i.e., where the cutting unit is disposed) so that both sensors 1004 and 1006 detect that they are triggered.
In step S1036, when it is detected that the first sensing unit and the second sensing unit are triggered, initialization is performed according to the first sensing data.
It should be noted that, in a specific embodiment, in the case of detecting that the first sensing unit and the second sensing unit are triggered, the driving unit drives the tax excise stamp to be separated to the inlet of the stamp transport passage, and in the case of detecting that neither the first sensing unit nor the second sensing unit is triggered, i.e. before the stamp to be separated has completely returned to the inlet, the first part of the initialization is considered to be completed, and then the second part of the initialization is performed, i.e. the stamp is further driven until the first stamp hole of the stamp is aligned with the preset stamp hole counting sensor, so that the stamp hole counting can be started to realize the positioning of the stamp.
Therefore, further, the process of initializing according to the first sensing data may further include steps S1042-S1044 in fig. 4. Fig. 4 shows a flow chart of initialization according to the first sensing data in another embodiment.
Referring also to fig. 1, the aforementioned sensing unit of the present invention further includes a third sensing unit (1008 in fig. 1), and in a specific embodiment, the sensor type of 1008 may be a photosensitive element or an image capturing element.
In step S1042, a first target position of the third sensing unit is determined according to the first sensing data.
First, referring to arrangement 1008 in fig. 2, after a ticket passes through the ticket transportation path and is triggered at entry points 1004 and 1006 (see fig. 2) (the first part of initialization), it can be determined whether the first ticket hole of the ticket is located by the sensing data of 1008, so that in the subsequent step, the number of corresponding ticket holes passing 1008 is determined according to the triggering number of 1008, and the number of ticket holes of each type of single ticket is constant, so that the ticket can be sliced according to the detected number of ticket holes.
The specific first sensed data may correspond to image capture data including 1008, or the like.
In step S1044, the first target position is matched with a preset standard position, and initialization is performed according to a matching result of the first target position and the standard position.
First, the standard location here may be the first ticket hole of the ticket to be separated that is co-directional with the third sensing unit 1008. That is, there is a determination 1008 as to whether it is aligned with the first ticket aperture of the ticket to be separated.
Further, step S1044 may include steps S1052-S10512 shown in fig. 5, which are explained in turn below. FIG. 5 is a flow diagram that illustrates initializing based on a match of the first target location and the standard location, in one embodiment.
In step S1052, a target position interval of the third sensor is determined according to the matching result, and whether the target position interval matches a preset first position interval and a preset second position interval is determined.
The target position interval here means the positional deviation between the position of the ticket hole positioning optical sensor 1008 and the first ticket hole of the ticket to be divided through the ticket transportation path.
Specifically, the second location interval is 1008 located between the first and second ticket holes, and the corresponding first location interval is 1008 located in front of the first ticket hole (i.e., the beginning of the ticket without any ticket holes).
In step S1054, when the target position interval matches the first position interval or the second position interval, the to-be-divided bill is driven to be transported in the bill transporting channel.
That is, in the event that the first ticket hole is not correctly positioned, it is necessary to displace the ticket by the drive unit so as to move its first ticket hole into alignment with 1008.
In step S1056, it is detected whether the first sensing unit and the second sensing unit are triggered, and if the first sensing unit and the second sensing unit are not triggered, a second target position of the third sensing unit is acquired.
Similar to the operation in step S1034, in the case where the first and second sensing units are not triggered, that is, the to-be-divided bill with inaccurate bill hole positioning in the previous step returns to the starting point of the bill conveying passage again, the next positioning can be started.
In step S1058, the driving unit drives the to-be-divided bill to move in the preset direction of the bill conveying channel, so as to obtain the movement distance of the to-be-divided bill.
The preset movement distance in the preset direction may be referred to as driving (i.e. withdrawing) the tax reciept towards the inlet.
In step S10510, when the bill to be divided is detected to move by the preset distance, a third target position of the third sensing unit is obtained.
First, in an alternative embodiment, the note-cutting device of the present invention may further include a raster counting unit (the part of the raster counting will be described in the subsequent steps), so that the preset distance of movement here refers to 2 times of the number of rasters corresponding to the distance between two adjacent note holes of the note.
In step S10512, the second target position and the third target position are matched, and initialization is performed according to a matching result of the second target position and the third target position.
That is, when the note aperture count (registration) sensor 1006 fails to register the first note aperture of the note to be separated, a corresponding withdrawal or advance of the note is required so that the registration can be performed to accurately count the note apertures from scratch.
It should be noted that after the initialization is completed, in consideration of the influence of the instability of the motor operation on the positioning of the bill, special processing is required for the positioning and the cutting of the first bill to be cut, so as to ensure the accurate positioning of the subsequent bills.
Therefore, before the step of determining whether the second sensing data meets the preset note cut threshold, steps S1062-S1066 shown in fig. 6 are also included. FIG. 6 illustrates a flow diagram for determining whether the second sensed data meets a pre-set document cut threshold in one embodiment.
The bill segmentation device further comprises a fourth sensing unit and a fifth sensing unit which are arranged at preset positions of the channel and are symmetrically arranged relative to the channel.
Continuing here with fig. 1, the fourth and fifth sensing units are 1010 and 1012, respectively, of fig. 1. Specifically, 1010 and 1012 may be optical sensors similar to 1004 and 1006 described above.
In step S1062, it is determined whether the fourth sensing unit or the fifth sensing unit is triggered according to the second sensing data.
Similar to the principle of detecting whether the first sensing unit and the second sensing unit are triggered in the previous steps, the detection is performed to detect whether a bill passes through.
In addition, when 1010 or 1012 in fig. 1 is detected to be triggered (i.e. blocked), a preset image acquisition unit (see 1014 in fig. 1) is controlled to start acquiring relevant bill data.
In step S1064, in a case that it is detected that the fourth sensing unit and/or the fifth sensing unit is triggered, the second sensing data is acquired.
It is understood that the second sensing data here includes the data outputted by the sensing units 1010 and 1012.
In step S1066, whether the bill to be divided is the first bill is determined according to the second sensing data.
Specifically, this step S1066 determines whether the bill to be divided is the first bill according to the second sensing data, and may further include steps S1072 to S1074 shown in fig. 7. Fig. 7 shows a flowchart for judging whether the bill to be divided is the first bill according to the second sensing data in one embodiment.
Firstly, the bill processing device also comprises a raster counting unit, and the setting of the raster counting unit and the action process in bill positioning are explained below.
In step 1072, a first target number of rasters output by the raster counting unit is obtained, and a first number of ticket holes and a second number of ticket holes output by the fourth sensing unit and the fifth sensing unit are respectively determined according to the second sensing data.
First, the first number of ticket holes and the second number of ticket holes are the calculated number of ticket holes that the first ticket has passed through, and the first target raster number is another item of data corresponding to the ticket that has passed through.
In step 1074, it is determined whether the first number of ticket holes and the second number of ticket holes match a preset threshold number of ticket holes, it is determined whether the first target grating number matches a preset standard grating number, and it is determined whether the ticket to be divided is a first ticket.
It will be readily appreciated that normally the number of apertures (i.e. the first and second number of apertures) detected on the left and right sides of the sheet transport path through which the sheets are transported should be consistent. And when the first ticket hole number and the second ticket hole number reach the ticket hole number threshold value of one standard ticket, the first ticket to be divided can be regarded as passing through the ticket transmission channel completely.
In step S1024, second sensing data when the to-be-divided bill passes through is obtained by the sensing unit, and whether the second sensing data meets a preset bill division threshold is determined.
The specific process of determining whether the ticket can be divided after the initialization is completed may further include steps S1082 to S1084 shown in fig. 8. FIG. 8 illustrates a flow chart for determining whether the second sensed data meets a pre-set document cut threshold in one embodiment.
In step S1082, the number of ticket holes of the first ticket is obtained as a standard number of ticket holes, and a second target number of rasters corresponding to the rastering unit, a third number of ticket holes output by the fourth sensing unit and the fifth sensing unit, and a fourth number of ticket holes output by the fifth sensing unit after the first ticket passes through.
In a specific embodiment, after the positioning of the first note to be cut is finished, the counting of the note holes and the positioning of the note cutting area according to the note holes can be started for the second and more notes.
Similarly to the previous steps, the third number of ticket holes and the fourth number of ticket holes correspond to the number of ticket holes on the left and right sides of the second ticket to be divided.
In step S1084, the second target grating number is matched with a preset standard grating number, the third ticket hole number is matched with the fourth ticket hole number, and whether a ratio of the third ticket hole number to the fourth ticket hole number to the standard ticket hole number is an integer is determined.
Similar to the fact that one bill corresponds to a bill with a specific number of bill holes, when one bill passes through, the number of the gratings corresponding to the grating rotated by the motor is also a certain number, and when the number of the bill holes and the number of the gratings on the two sides of the passage simultaneously meet the preset threshold value of the corresponding item of a single standard bill, one bill can be considered to pass through the bill transmission passage, and splitting or other processing can be carried out.
In step S1026, the segmentation unit is controlled to segment the to-be-segmented bill when the second sensing data meets the bill segmentation threshold.
After the required number of sheets is reached and the ticket is cut, post-processing similar to the initialization process is required, and the tax receipts are rewound in the post-processing process in the same manner as in the initialization process. The post-processing is used for correcting to prevent the damage to the tax receipts caused by the fact that the error is larger and larger due to the fact that the next positioning is influenced because the current cut receipts are not cut.
Fig. 9 shows a block diagram of the structure of the bill segmenting device in one embodiment.
Referring to fig. 9, a document segmentation apparatus 1090 according to one embodiment of the present invention comprises: an initialization module 1092, a judgment module 1094, and a segmentation module 1096.
Wherein, the initialization module 1092: the device comprises a sensing unit, a data processing unit and a control unit, wherein the sensing unit is used for acquiring first sensing data when a bill to be cut passes through and initializing according to the first sensing data;
the judging module 1094: the system comprises a sensing unit, a data processing unit and a data processing unit, wherein the sensing unit is used for acquiring second sensing data when the bill to be divided passes through and judging whether the second sensing data meets a preset bill dividing threshold value or not;
a cutting module 1096: and the control unit is used for controlling the segmentation unit to segment the bill to be segmented under the condition that the second sensing data meets the bill segmentation threshold value.
FIG. 10 is a diagram illustrating an internal structure of a computer device in one embodiment. The computer device may specifically be a terminal, and may also be a server. As shown in fig. 10, the computer device includes a processor, a memory, and a sensing module, a driving module, and a control module connected by a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and also stores a computer program, and when the computer program is executed by a processor, the computer program can enable the processor to realize the ticket segmentation method. The internal memory may also store a computer program, and when the computer program is executed by the processor, the computer program may cause the processor to execute the ticket segmentation method. Those skilled in the art will appreciate that the architecture shown in fig. 6 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is proposed, comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of:
acquiring first sensing data when a bill to be divided passes through the sensing unit, and initializing according to the first sensing data;
acquiring second sensing data when the bill to be divided passes through the sensing unit, and judging whether the second sensing data meets a preset bill dividing threshold value;
and under the condition that the second sensing data meets the bill segmentation threshold, controlling the segmentation unit to segment the bill to be segmented.
In one embodiment, a computer-readable storage medium is proposed, in which a computer program is stored which, when executed by a processor, causes the processor to carry out the steps of:
acquiring first sensing data when a bill to be divided passes through the sensing unit, and initializing according to the first sensing data;
acquiring second sensing data when the bill to be divided passes through the sensing unit, and judging whether the second sensing data meets a preset bill dividing threshold value;
and under the condition that the second sensing data meets the bill segmentation threshold, controlling the segmentation unit to segment the bill to be segmented.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. The method is characterized in that the method is based on a bill segmentation device, the bill segmentation device comprises a bill transmission channel for transmitting the bill to be segmented, and the bill segmentation device also comprises a driving unit connected with the bill transmission channel and used for driving the bill to be segmented to be transmitted in the bill transmission channel;
the bill segmentation device also comprises a sensing unit and a segmentation unit which are arranged on the bill transmission channel;
the method comprises the following steps:
acquiring first sensing data when a bill to be divided passes through the sensing unit, and initializing according to the first sensing data;
acquiring second sensing data when the bill to be divided passes through the sensing unit, and judging whether the second sensing data meets a preset bill dividing threshold value;
and under the condition that the second sensing data meets the bill segmentation threshold, controlling the segmentation unit to segment the bill to be segmented.
2. The method according to claim 1, wherein the sensing units comprise a first sensing unit and a second sensing unit disposed at preset positions of the channel and symmetrically disposed with respect to the channel;
initializing according to the first sensing data, comprising:
judging whether the first sensing unit and the second sensing unit are triggered or not according to the first sensing data;
under the condition that the first sensing unit and/or the second sensing unit are/is not triggered, the driving unit drives the bill to be divided to continue to be conveyed in the bill conveying channel, so that the first sensing unit and the second sensing unit are triggered;
and initializing according to the first sensing data when the first sensing unit and the second sensing unit are detected to be triggered.
3. The method of claim 2, wherein the sensing units further comprise a third sensing unit, and wherein the step of initializing based on the first sensing data comprises:
determining a first target position of the third sensing unit according to the first sensing data;
and matching the first target position with a preset standard position, and initializing according to a matching result of the first target position and the standard position.
4. The method of claim 3, wherein the step of initializing based on the matching of the first target location and the standard location comprises:
determining a target position interval of the third sensor according to the matching result, and judging whether the target position interval is matched with a preset first position interval and a preset second position interval;
under the condition that the target position interval is matched with the first position interval or the second position interval, driving the bills to be divided to be transmitted in the bill transmission channel;
detecting whether the first sensing unit and the second sensing unit are triggered or not, and acquiring a second target position of the third sensing unit under the condition that the first sensing unit and the second sensing unit are not triggered;
the driving unit drives the bill to be divided to move in the preset direction of the bill conveying channel, and the movement distance of the bill to be divided is obtained;
under the condition that the movement of the bill to be divided is detected to be within a preset distance, acquiring a third target position of the third sensing unit;
and matching the second target position with the third target position, and initializing according to the matching result of the second target position and the third target position.
5. The method according to claim 1, wherein the document segmentation device further comprises a fourth sensing unit and a fifth sensing unit which are arranged at preset positions of the passage and are symmetrically arranged relative to the passage;
before the step of judging whether the second sensing data meets the preset note segmentation threshold value, the method further comprises the following steps:
judging whether the fourth sensing unit or the fifth sensing unit is triggered or not according to the second sensing data;
acquiring the second sensing data when the fourth sensing unit and/or the fifth sensing unit is/are detected to be triggered;
and judging whether the bill to be divided is the first bill or not according to the second sensing data.
6. The method of claim 5, wherein the document processing device further comprises a raster counting unit;
the judging whether the bill to be divided is the first bill according to the second sensing data comprises the following steps:
acquiring a first target grating number output by the grating counting unit, and respectively determining a first ticket hole number and a second ticket hole number output by the fourth sensing unit and the fifth sensing unit according to the second sensing data;
and judging whether the first ticket hole number and the second ticket hole number are matched with a preset ticket hole number threshold value, judging whether the first target grating number is matched with a preset standard grating number, and judging whether the ticket to be divided is a first ticket.
7. The method according to claim 6, characterized in that after the step of judging whether the bill to be divided is the first bill, the method comprises the following steps:
acquiring the number of ticket holes of the first ticket as a standard number of ticket holes, and a second target number of gratings corresponding to the grating unit, a third number of ticket holes output by the fourth sensing unit and a fifth sensing unit and a fourth number of ticket holes output by the fifth sensing unit after the first ticket passes;
and matching the second target grating number with a preset standard grating number, matching the third ticket hole number with the fourth ticket hole number, and judging whether the ratio of the third ticket hole number to the fourth ticket hole number to the standard ticket hole number is an integer or not.
8. A document segmentation apparatus based on the method of claims 1-7, the apparatus comprising:
an initialization module: the device comprises a sensing unit, a data processing unit and a control unit, wherein the sensing unit is used for acquiring first sensing data when a bill to be cut passes through and initializing according to the first sensing data;
a judging module: the system comprises a sensing unit, a data processing unit and a data processing unit, wherein the sensing unit is used for acquiring second sensing data when the bill to be divided passes through and judging whether the second sensing data meets a preset bill dividing threshold value or not;
a cutting module: and the control unit is used for controlling the segmentation unit to segment the bill to be segmented under the condition that the second sensing data meets the bill segmentation threshold value.
9. A readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of the method according to any one of claims 1 to 7.
10. A computer device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the method according to any one of claims 1 to 7.
CN202010026948.XA 2020-01-10 2020-01-10 Bill segmentation method, device, apparatus and readable medium Active CN113119198B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010026948.XA CN113119198B (en) 2020-01-10 2020-01-10 Bill segmentation method, device, apparatus and readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010026948.XA CN113119198B (en) 2020-01-10 2020-01-10 Bill segmentation method, device, apparatus and readable medium

Publications (2)

Publication Number Publication Date
CN113119198A true CN113119198A (en) 2021-07-16
CN113119198B CN113119198B (en) 2024-06-14

Family

ID=76771536

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010026948.XA Active CN113119198B (en) 2020-01-10 2020-01-10 Bill segmentation method, device, apparatus and readable medium

Country Status (1)

Country Link
CN (1) CN113119198B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997015030A1 (en) * 1995-10-17 1997-04-24 Lottery Products Pty. Ltd. Ticket dispensing apparatus
CN1218234A (en) * 1997-11-21 1999-06-02 富士通株式会社 Paper discriminating apparatus
JPH11296702A (en) * 1998-04-06 1999-10-29 Shinko Electric Co Ltd Ticket paper with punch hole for detecting position
US20050029075A1 (en) * 2003-06-30 2005-02-10 Daishi Suzuki Banknote validating apparatus and method
JP2007050993A (en) * 2005-08-19 2007-03-01 Saxa Inc Bank bill carrying device
WO2009015450A2 (en) * 2007-07-27 2009-02-05 Igs Soluções Automotizadas Indústria, Comérico E Manutenção De Máquinas E Equipamentos Eletrônicos Ltda. Me System for operation and management of storytelling machines for bills, notes and similar documents
CN101722743A (en) * 2008-10-30 2010-06-09 山东新北洋信息技术股份有限公司 Paper cutting control device for bill paper and drawing machine thereof
CN102930633A (en) * 2012-10-25 2013-02-13 广州广电运通金融电子股份有限公司 Financial self-service device, as well as banknote recognition module and recognition method thereof
JP2014021584A (en) * 2012-07-13 2014-02-03 Toshiba Tec Corp Ticket printer
CN104802526A (en) * 2015-05-09 2015-07-29 福建实达电脑设备有限公司 Printer control device and printer control method based on grating encoder and FPGA (field programmable gate array)
CN205587509U (en) * 2016-03-09 2016-09-21 江苏东顺新能源科技有限公司 Die -cut mechanism of storage battery plant bars
CN109800747A (en) * 2018-12-14 2019-05-24 平安科技(深圳)有限公司 Medical invoice recognition methods, user equipment, storage medium and device
US20190244464A1 (en) * 2018-02-05 2019-08-08 Innovative Technology Limited Banknote validator
CN110570578A (en) * 2019-09-03 2019-12-13 深圳怡化电脑股份有限公司 bill issuing device and method

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997015030A1 (en) * 1995-10-17 1997-04-24 Lottery Products Pty. Ltd. Ticket dispensing apparatus
CN1218234A (en) * 1997-11-21 1999-06-02 富士通株式会社 Paper discriminating apparatus
JPH11296702A (en) * 1998-04-06 1999-10-29 Shinko Electric Co Ltd Ticket paper with punch hole for detecting position
US20050029075A1 (en) * 2003-06-30 2005-02-10 Daishi Suzuki Banknote validating apparatus and method
JP2007050993A (en) * 2005-08-19 2007-03-01 Saxa Inc Bank bill carrying device
WO2009015450A2 (en) * 2007-07-27 2009-02-05 Igs Soluções Automotizadas Indústria, Comérico E Manutenção De Máquinas E Equipamentos Eletrônicos Ltda. Me System for operation and management of storytelling machines for bills, notes and similar documents
CN101722743A (en) * 2008-10-30 2010-06-09 山东新北洋信息技术股份有限公司 Paper cutting control device for bill paper and drawing machine thereof
JP2014021584A (en) * 2012-07-13 2014-02-03 Toshiba Tec Corp Ticket printer
CN102930633A (en) * 2012-10-25 2013-02-13 广州广电运通金融电子股份有限公司 Financial self-service device, as well as banknote recognition module and recognition method thereof
CN104802526A (en) * 2015-05-09 2015-07-29 福建实达电脑设备有限公司 Printer control device and printer control method based on grating encoder and FPGA (field programmable gate array)
CN205587509U (en) * 2016-03-09 2016-09-21 江苏东顺新能源科技有限公司 Die -cut mechanism of storage battery plant bars
US20190244464A1 (en) * 2018-02-05 2019-08-08 Innovative Technology Limited Banknote validator
CN109800747A (en) * 2018-12-14 2019-05-24 平安科技(深圳)有限公司 Medical invoice recognition methods, user equipment, storage medium and device
CN110570578A (en) * 2019-09-03 2019-12-13 深圳怡化电脑股份有限公司 bill issuing device and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
赵霆雷;万里平;高春鸣;: "票据宽度精确检测方法", 计算机工程与应用, no. 11, pages 202 - 204 *

Also Published As

Publication number Publication date
CN113119198B (en) 2024-06-14

Similar Documents

Publication Publication Date Title
EP3174017B1 (en) Paper sheet handling machine and paper sheet handling method
CN111292465B (en) Paper sheet feeding device
US9919443B2 (en) Systems, methods, and computer readable media for sheet registration in a tractorless sheet processing device using at least one existing sheet feature
EP2410496A1 (en) Paper money identification and counting device and paper money identification and counting method
CN107301719B (en) Method, device and equipment for detecting paper money clamping
JPH05166029A (en) Paper money discriminating unit
KR100623946B1 (en) Paper discriminator
CN113119198A (en) Bill segmentation method, equipment, device and readable medium
JP2007302418A (en) Medium stacking device
CN113192252B (en) Method, device, equipment and readable medium for detecting note duplicate
CN113256904B (en) Self-service financial terminal control method, device, terminal and readable medium
US9981495B2 (en) Printer that performs shading correction and method for operating the same
JP2020086771A (en) Conveyed object display device and conveyed object display system
CN112447003B (en) Banknote handling system and banknote handling method
JP2566059B2 (en) Paper processing equipment
EP1739634A1 (en) Banknote handling apparatus
JP2018045568A (en) Bill identification storage device
EP3716232A1 (en) Money handling device and method for controlling money handling device
US11995940B2 (en) Banknote handling apparatus, conveyance control method, and non-transitory computer-readable recording medium
CN113284301B (en) Sheet medium data processing method and device, electronic device and storage medium
JPS6224838B2 (en)
US20240054840A1 (en) Paper sheet processing method and paper sheet processing device
US7690649B2 (en) Method for detecting paper feed shingling errors and synchronizing a printer and a feeder
RU2661536C1 (en) Method of work of counting-sorting machines with dividing cards
JP2004025691A (en) Medium handling device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant