Document management device and document management method

JP2025029638APending Publication Date: 2025-03-07MUSASHI ENG INC
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023134364
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-08-22
Publication Date
2025-03-07

AI Technical Summary

Benefits of technology

【0015】 この発明に係る帳票管理装置及び帳票管理方法は、センサ値の移動平均値を算出し、移動平均値を第1閾値に設定し、移動平均値に比例しつつ第1閾値より小さい第2閾値を設定し、センサ値が第1閾値を超える期間にセンサ値から第1閾値を差し引いた差分値を加算して積分値を算出し、積分値が第2閾値を超えた後にセンサ値が第1閾値以下に変化した場合、計数値に1を加え、積分値をクリアし、取得したセンサ値それぞれについて以上の処理を繰り返すため、帳票の読み取り領域の汚れや傷による信号値の変化の影響を受けにくくなり、帳票の読み取り領域の汚れや傷に影響されず、帳票の綴じ目部を光学的に検出して帳票を正確に計数することができる。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2025029638000001_ABST
    Figure 2025029638000001_ABST
Patent Text Reader

Abstract

To provide a document management device and a document management method for accurately counting documents by optically detecting the binding area of a document without being affected by dirt or scratches in the document reading area.SOLUTION: In a document management device 100, when processing the sensor value corresponding to the detection of reflected light by a sensor 30 and calculating the count value of a passbook 1, a calculation unit 105 calculates the moving average value of the sensor value, sets the moving average value as a first threshold value, sets a second threshold value which is proportional to the moving average value and less than the first threshold value, calculates an integral value by adding a difference value obtained by subtracting the first threshold value from the sensor value during the period in which the sensor value exceeds the first threshold value, and if the sensor value changes to below the first threshold value after the integral value exceeds the second threshold value, adds 1 to the count value and clears the integral value.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a form management device and a form management method for counting forms. [Background technology]

[0002] For example, the document management device described in Patent Document 1 is known as a document management device for managing various documents such as savings and deposit passbooks and deposit certificates. This document management device has a document storage section provided in a drawer section and a sensor provided above the storage section. This document management device detects the stitching where the spines of the documents stored in the storage section are bound by sliding the sensor above the storage section, and counts the number of documents. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2017-27165 A Summary of the Invention [Problem to be solved by the invention]

[0004] In this type of document management device, the convex bindings of multiple documents are optically read, and the number of documents is counted based on the waveform change of the signal value obtained by reading. During this process, dirt on the bindings of the documents can cause the normal number of documents to be counted incorrectly.

[0005] False detection during counting of forms will be described with reference to Figs. 4 and 5. Fig. 4 shows the reading area of ​​a sensor for multiple forms. Fig. 5 shows the signal waveforms resulting from reading the sensor for multiple forms. In Fig. 4, the reading position of sensor 30 relative to the binding portions of multiple forms 1a to 1f is indicated by dashed lines. Note that forms 1a, 1c, 1e, and 1f have stains (black dots in Fig. 4) adhering to the binding portions. Here, stain 2c on form 1c overlaps with the reading position of sensor 30 indicated by dashed lines.

[0006] In the signal processing of the read result shown in FIG. 5, a signal processing unit (not shown) detects the peaks of the waveform by "rising" where the signal value rises with time and "falling" where the signal value falls with time. Furthermore, the number of books of the document is counted by the number of detected peaks. In the case shown in FIG. 5, the signal value of the document 1c is lower than the surroundings due to the stain 2c, and two peaks are formed on both sides of the stain 2c. As a result, the above-mentioned rising and falling occur twice, and a problem occurs in which one book of the document 1c is erroneously counted as two books. Here, a stain is used as a specific example, but a similar problem is expected to occur due to scratches on the surface of the document or peeling of the coating film caused by the scratches. Therefore, when counting stored documents by optically detecting them, it has been desired to be able to perform accurate counting without being affected by dirt or scratches on the reading area of ​​the document.

[0007] The present invention has been made to solve such problems, and aims to provide a document management device and a document management method that can optically detect the binding portion of a document and accurately count the documents without being affected by dirt or scratches on the reading area of ​​the document. [Means for solving the problem]

[0008] The document management device of the present invention is a document management device that counts documents, and is equipped with a sensor that detects reflected light from the document and generates a detection signal, and a calculation unit that acquires a sensor value from the detection signal and processes the sensor value to calculate a count value of the document, the calculation unit calculates a moving average value of the sensor value, sets the moving average value to a first threshold, sets a second threshold value that is smaller than the first threshold and proportional to the moving average value, calculates an integral value for each sensor value by adding a difference value obtained by subtracting the first threshold from the sensor value during a period in which the sensor value exceeds the first threshold, and if the sensor value changes to below the first threshold after the integral value exceeds the second threshold, adds 1 to the count value and clears the integral value, and repeats the process.

[0009] In the document management device of the present invention, the calculation unit includes a moving average calculation unit that calculates a moving average value, a threshold calculation unit that sets a first threshold and a second threshold, a subtraction unit that calculates a difference value by subtracting the first threshold from the sensor value during a period in which the sensor value exceeds the first threshold, an integral value calculation unit that calculates an integral value, a determination unit that generates a trigger pulse when the sensor value changes to below the first threshold after the integral value exceeds the second threshold, and a counting unit that adds 1 to a count value in response to the trigger pulse, and the integral value calculation unit clears the integral value in response to the trigger pulse.

[0010] In the document management device according to the present invention, the calculation unit calculates the moving average value using a window size according to the thickness of the document.

[0011] In the document management device of the present invention, the device body is provided with a storage section capable of storing documents, and the storage section is configured to be movable relative to the device body by being pulled out of the device body or by the pulled-out storage section being pushed into the device body, and a sensor is fixed to the device body and detects reflected light from the documents as the storage section moves.

[0012] The document management device according to the present invention further comprises an encoder that detects the amount of movement of the storage unit, and the calculation unit obtains a sensor value according to the amount of movement detected by the encoder. In the document management device according to the present invention, the calculation unit stores the sensor values ​​acquired when the storage unit moves, and processes the stored sensor values ​​to calculate the count value of the document.

[0013] The document management method of the present invention is a document management method for counting documents in a document management device that has a sensor that detects reflected light from a document and generates a detection signal, and a calculation unit that acquires a sensor value from the detection signal and processes the sensor value to calculate a count value of the document, the method including an average value calculation step of calculating a moving average value of the sensor value, a threshold setting step of setting the moving average value to a first threshold and setting a second threshold that is smaller than the first threshold and proportional to the moving average value, an integral value calculation step of calculating an integral value by adding a difference value obtained by subtracting the first threshold from the sensor value during a period in which the sensor value exceeds the first threshold, and a counting step of adding 1 to the count value and clearing the integral value if the sensor value changes to below the first threshold after the integral value exceeds the second threshold, and the integral value calculation step and counting step are repeated for each sensor value.

[0014] The document management method of the present invention is a document management method for counting documents in a document management device that has a device main body and a storage unit that can be moved relative to the device main body by being pulled out or pushed in and can store a plurality of documents, and obtains a sensor value in response to the detection of reflected light when the storage unit moves. Effect of the Invention

[0015] The document management device and document management method of the present invention calculate a moving average value of the sensor value, set the moving average value as a first threshold, set a second threshold value proportional to the moving average value but smaller than the first threshold, calculate an integral value by adding a difference value obtained by subtracting the first threshold value from the sensor value during the period in which the sensor value exceeds the first threshold, and if the sensor value changes to below the first threshold after the integral value exceeds the second threshold, add 1 to the count value and clear the integral value, and repeat the above process for each acquired sensor value, thereby becoming less susceptible to changes in signal value due to dirt or scratches in the reading area of ​​the document, and being able to optically detect the binding portions of the documents and accurately count the documents without being affected by dirt or scratches in the reading area of ​​the document. [Brief description of the drawings]

[0016] [Figure 1]1 is a configuration diagram showing a configuration of a document management device according to a first embodiment. [Diagram 2] 4 is a flowchart showing a processing procedure of the document management device according to the first embodiment. [Diagram 3] 4 is a waveform diagram showing the processing of the document management device according to the first embodiment. FIG. [Figure 4] FIG. 2 is an explanatory diagram showing a reading area of ​​a document by a sensor. [Diagram 5] FIG. 11 is a waveform diagram showing the processing of a conventional document management device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0017] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, preferred embodiments of a form management device and a form management method according to the present invention will be described with reference to the accompanying drawings. Embodiment 1 First, the form management device in the first embodiment will be described with reference to Fig. 1. Fig. 1 is a configuration diagram showing the configuration of a form management device 100 in the first embodiment.

[0018] [Configuration of the document management device 100] In FIG. 1, the document management device 100 mainly includes a storage unit 10, an encoder 20, a sensor 30, a control unit 101, an operation display unit 103, and a calculation unit 105.

[0019] The storage unit 10 is configured to be capable of storing a plurality of documents. In this embodiment, the description will be given assuming that the document is a passbook 1 for deposits or the like. The storage unit 10 is configured to be movable by being pulled out or pushed into a device main body (not shown) that is the housing of the document management device 100 via a guide mechanism (not shown). The movement of the storage unit 10 may be due to a user's operation, or may be due to the driving of a motor or actuator (not shown) based on the control from the control unit 101. The encoder 20 detects the amount of movement of the storage unit 10 relative to the device body at each predetermined timing, and provides the detected amount of movement to the control unit 101 and the calculation unit 105. The encoder 20 may provide information on the direction of movement to the control unit 101 and the calculation unit 105 in addition to the amount of movement. The sensor 30 includes a light emitting unit and a light receiving unit. The sensor 30 irradiates light onto the convex binding portion of the passbook 1 stored in the storage unit 10, detects the light reflected from the passbook 1, and provides a detection signal corresponding to the reading of the passbook 1 to the calculation unit 105. The sensor 30 is fixed to the device body, and detects the light reflected from the passbook 1 when the storage unit 10 moves.

[0020] The control unit 101 controls each unit of the document management device 100. The control unit 101 receives operation input information from the operation display unit 103, a count value from the calculation unit 105, and the amount of movement of the storage unit 10 detected by the encoder 20, and provides display information to the operation display unit 103. The operation display unit 103 is configured with a touch panel capable of input and display, or a keyboard and display, and provides operation input received from a user to the control unit 101 as operation input information, and displays display information from the control unit 101 as characters or images. Note that the operation display unit 103 may be present in an external terminal or computer of the form management device 100.

[0021] The calculation unit 105 includes a data acquisition unit 110, a data storage unit 115, a moving average calculation unit 120, a threshold calculation unit 130, a subtraction unit 140, an integral value calculation unit 150, a determination unit 160, and a counting unit 170. The calculation unit 105 executes calculation processing in response to the detection signal from the sensor 30 and the amount of movement of the storage unit 10 detected by the encoder 20, and calculates the count value of the passbook 1 as follows.

[0022] [Processing details of document management method] The processing procedure of the document management device 100 in the first embodiment, i.e., the processing contents of the document management method, will be described below with reference to Fig. 2 and Fig. 3. Fig. 2 is a flowchart showing the processing procedure of the document management device 100 according to the first embodiment. Fig. 2 mainly shows the calculation processing in the calculation unit 105. Fig. 3 is a waveform diagram showing the processing of the document management device 100 according to the first embodiment. In Fig. 3, the horizontal axis indicates the data number in the order in which the sensor values ​​were acquired, the vertical axis indicates the value of each signal, and the sensor value, the first threshold value, the second threshold value, and the integral value are shown as waveforms.

[0023] First, when the document management device 100 starts its operation, it initializes the first threshold value, the second threshold value, the integral value, the count value, the encoder pulse count value, and the like. As the storage unit 10 moves due to a user's operation or the drive of a motor, the sensor 30 irradiates light toward the passbook 1 and detects the light reflected from the passbook 1, and provides a detection signal based on the reflected light to the calculation unit 105. The encoder 20 detects the amount of movement of the storage unit 10 relative to the device body, and provides an encoder pulse corresponding to the detected amount of movement to the control unit 101 and the calculation unit 105. In step S101, the data acquisition unit 110 acquires a sensor value in response to a detection signal from the sensor 30 that detects reflected light from the passbook 1 and an encoder pulse from the encoder 20. Here, the data acquisition unit 110 is composed of an AD converter and the like, and converts the analog detection signal from the sensor 30 into a sensor value of digital data with a predetermined resolution in response to the encoder pulse. The sensor value acquired by the data acquisition unit 110 is stored in the data storage unit 115. After this, the process proceeds to step S102.

[0024] In step S102, data acquisition unit 110 and data storage unit 115 repeat acquisition of sensor values ​​and storage of the acquired sensor values ​​until output of encoder pulses from encoder 20 stops or until the number of encoder pulses reaches an upper limit determined according to the size of storage unit 10. When output of encoder pulses from encoder 20 stops or the number of encoder pulses reaches an upper limit determined according to the size of storage unit 10, acquisition and storage of sensor values ​​are completed, so the process proceeds to step S103.

[0025] 3, the sensor value is highest at the convex seam of the passbook 1 and is lowest at the concave portion where the passbook 1 contacts the adjacent passbook 1. As a result, the sensor value changes with multiple passbooks 1, repeating peaks and valleys. The data acquiring unit 110 acquires sensor values ​​from the detection signal from the sensor 30 in accordance with the amount of movement of the storage unit 10 detected by the encoder 20 so that a constant number of data points are obtained for a constant amount of movement. This allows the data acquiring unit 110 to stably acquire sensor values ​​with a constant resolution even if the movement speed of the storage unit 10 changes. Also, a speed control device or torque control device (not shown) may be provided near the storage unit 10 so that the movement speed of the storage unit 10 is constant. In this case, the data acquiring unit 110 can acquire sensor values ​​with a constant resolution without using the amount of movement detected by the encoder 20.

[0026] In step S103, the moving average calculation unit 120 calculates the moving average of the sensor values ​​stored in the data storage unit 115 by obtaining a moving average according to a predetermined window size. The predetermined window size is set in advance to a value close to the number of data acquired by the data acquisition unit 110 for one bankbook 1. The window size may be input by the user from the operation display unit 103, or the control unit 101 may automatically calculate an optimal value by referring to the sensor value. As a result, a moving average value updated according to the change in the sensor value is obtained at the convex-shaped binding part of the bankbook 1, which is the brightest, and the concave part, which is the contact part with the adjacent bankbook 1, which is the darkest. The moving average calculation unit 120 provides the calculated moving average value to the threshold calculation unit 130. After this, the process proceeds to step S104.

[0027] In step S104, the threshold calculation unit 130 sets the moving average value calculated by the threshold calculation unit 130 as the first threshold value. The threshold calculation unit 130 also sets a second threshold value that is proportional to the moving average value and smaller than the first threshold value according to a predetermined coefficient. Here, the predetermined coefficient is a value less than 1, and is set to 0.25 as an example. That is, the threshold calculation unit 130 sets the moving average value as the first threshold value, and sets a value that is 1 / 4 of the first threshold value as the second threshold value. Note that the predetermined coefficient is preferably about 0.2 to 0.4 in relation to the integral value in the determination process described later. In FIG. 3, the first threshold value is indicated by a dashed line, and the second threshold value is indicated by a dashed double-dot line. The threshold calculation unit 130 provides the calculated first threshold value to the subtraction unit 140, and provides the calculated first threshold value and second threshold value to the determination unit 160. After this, the process proceeds to step S105.

[0028] In step S105, the variable i is set to an initial value of 1. After that, the process proceeds to step S106. In step S106, the determination unit 160 reads out the i-th sensor value from the data storage unit 115. After that, the process proceeds to step S107.

[0029] In step S107, the determination unit 160, the subtraction unit 140, and the integral value calculation unit 150 perform the following processing. When the sensor value is greater than the first threshold, the subtraction unit 140 calculates a difference value by subtracting the first threshold from the sensor value. The points where the sensor value becomes greater than the first threshold are indicated by circles in FIG. 3. The subtraction unit 140 provides the calculated difference value to the integral value calculation unit 150. The determination unit 160 determines whether the sensor value is greater than the first threshold, and when the sensor value is greater than the first threshold, determines that the sensor value belongs to the "peak side" region of the waveform. Here, the "peak side" refers to a convex-shaped region where the sensor value in the waveform diagram shown in FIG. 3 exceeds the first threshold, and does not refer to a concave-shaped "valley side" region where the sensor value is equal to or less than the first threshold. When the determination unit 160 determines that the sensor value is on the mountain side, it commands the integral value calculation unit 150 to calculate an integral value. In response to the command from the determination unit 160, the integral value calculation unit 150 adds the difference value provided by the subtraction unit 140 to the integral value it holds to calculate a new integral value. The integral value calculation unit 150 provides the new integral value to the determination unit 160. After this, the process proceeds to step S108.

[0030] In step S108, the determination unit 160 determines whether or not the integral value calculated by the integral value calculation unit 150 exceeds the second threshold value. If the integral value does not exceed the second threshold value, the process proceeds to step S109. In step S109, the variable i is set to i+1, and the processes from step S106 onwards are repeated for the next sensor value. On the other hand, if the integral value exceeds the second threshold, the determination unit 160 determines that the sensor value belongs to the "peak" region of the waveform. In Fig. 3, the point where the integral value exceeds the second threshold is indicated by an upward-facing triangle. Here, the "peak" of the waveform means the region near the top of the "peak side" region of the convex shape where the sensor value in the waveform diagram shown in Fig. 3 exceeds the first threshold, and corresponds to a position near the seam of the passbook 1. After this, the process proceeds to step S110.

[0031] In step S110, the determination unit 160 determines whether the sensor value has become less than the first threshold value. That is, in step S110, it is determined whether the sensor value determined to be in the "mountain side" region has fallen below the first threshold value and changed from the "mountain side" to the "valley side". If the sensor value is equal to or greater than the first threshold, the sensor value is "mountain side" and the process proceeds to step S109, where the variable i is set to i=i+1, and the processes from step S106 onwards are repeated for the next sensor value. On the other hand, if the sensor value becomes less than the first threshold, the determination unit 160 determines that the sensor value has changed from the "mountain side" to the "valley side" region. In Fig. 3, the point where the sensor value becomes less than the first threshold is indicated by a downward triangle. After this, the process proceeds to step S111.

[0032] In step S111, in response to the sensor value changing to the "valley side" region, the determination unit 160 generates a trigger pulse and provides the generated trigger pulse to the integral value calculation unit 150 and the counting unit 170. After that, the process proceeds to step S112.

[0033] In step S112, counting unit 170 adds 1 to the count value it holds in response to the trigger pulse from determination unit 160. Counting unit 170 notifies control unit 101 of the new count value including 1. In response to the trigger pulse from determination unit 160, integral value calculation unit 150 clears the integral value it holds. FIG. 3 shows how the integral value is cleared when the sensor value becomes less than the first threshold value. After this, the process proceeds to step S113.

[0034] In step S113, the determination unit 160 determines whether or not the processing of all the sensor values ​​stored in the data storage unit 115 has been completed. If the determination unit 160 determines that the next unprocessed sensor value exists in the data storage unit 115, the process proceeds to step S109, where the variable i is set to i=i+1, and the processes from step S106 onwards are repeated for the next sensor value. That is, the integral value calculation steps of steps S106 and S107 and the counting steps of steps S108 to S112 are repeatedly executed for each sensor value. On the other hand, if the determination unit 160 determines that there is no next unprocessed sensor value in the data storage unit 115, that is, that the processing of all the sensor values ​​has been completed, the process proceeds to step S114.

[0035] In step S114, in response to the completion of processing of all sensor values, the determination unit 160 generates an end pulse indicating the completion of processing, and provides the end pulse to the counting unit 170. In response to the end pulse from the determination unit 160, the counting unit 170 notifies the control unit 101 of the latest count value that it holds as a final count value. The control unit 101 displays the final count value notified by the counting unit 170 on the operation and display unit 103. The control unit 101 may also display a message on the operation and display unit 103 indicating whether or not the number of passbook 1 booklets input by the user to the operation and display unit 103 matches the final count value. After this, the series of processes shown in the flowchart of Fig. 2 ends. Note that, if the number of passbooks 1 entered by the user on the operation display unit 103 does not match the final count value, the control unit 101 may execute another error process (not shown).

[0036] [Consideration] As described above, by repeating each of the processes of setting the first and second thresholds based on the moving average value calculated from the sensor value, comparing the sensor value with the first threshold, calculating the integral value by adding the difference value obtained by subtracting the first threshold from the sensor value after the peak side determination, determining the peak of the waveform by comparing the integral value with the second threshold, determining the valley side by comparing the sensor value with the first threshold, and calculating the count value based on the valley side determination, for all sensor values, it is possible to calculate an accurate count value without being affected by dirt on passbook 1, unlike conventional count determinations based on the rise / fall of the sensor value or simple comparisons of general sensor values ​​with thresholds.

[0037] [Verification that the counting values ​​of the embodiment are accurate] The depression in the sensor value in Fig. 3 near the data number 31 (hereinafter simply referred to as "depression") is due to dirt on the binding part of the passbook 1, similar to the dirt 2c in Fig. 4. Here, the following (1) to (3) will be verified to confirm that the processing of the embodiment does not cause erroneous judgment due to dirt on the binding part of the passbook 1. (1) In the depression, the sensor value is not smaller than the first threshold value, so the condition in step S110 in FIG. (2) Even if it is assumed that the sensor value at the depression becomes smaller than the first threshold value, the integral value at that point is smaller than the second threshold value, which does not match the processing order of steps S108 and S110 in FIG. 3, and therefore no erroneous determination occurs. (3) If it is assumed that the sensor value becomes smaller than the first threshold value at the depression, and that the timing of the occurrence of the depression is after the integral value becomes larger than the second threshold value, the judgment unit 160 generates the first trigger pulse at that point. However, the remaining peak of the sensor value after the depression is short in duration. Therefore, the integral value does not reach the second threshold value again in the period after the depression, and the judgment unit 160 does not generate a second trigger pulse within the range of one book. Therefore, one passbook 1 is not counted as two, and erroneous judgment does not occur.

[0038] [Effects obtained by the embodiment] The above embodiments and their effects are listed below. (1) The document management device 100 described in the above embodiment is a document management device 100 that counts passbook 1, and includes a sensor 30 that detects reflected light from passbook 1 and generates a detection signal, and a calculation unit 105 that acquires a sensor value from the detection signal and processes the sensor value to calculate a count value of passbook 1. The calculation unit 105 calculates a moving average value of the sensor value, sets the moving average value to a first threshold, sets a second threshold value that is smaller than the first threshold and proportional to the moving average value, calculates an integral value for each sensor value by adding a difference value obtained by subtracting the first threshold value from the sensor value during a period in which the sensor value exceeds the first threshold, and if the sensor value changes to below the first threshold after the integral value exceeds the second threshold, adds 1 to the count value and clears the integral value, and repeats the process. In this document management device 100, the count value of the passbook 1 is calculated through predetermined processing in each section, making it less susceptible to changes in signal values ​​caused by dirt or scratches on the reading area of ​​the passbook 1, and it can accurately count the documents by optically detecting the binding parts of the documents without being affected by dirt or scratches on the reading area of ​​the passbook 1.

[0039] (2) In the document management device 100 described in (1) above, the calculation unit 105 includes a moving average calculation unit 120 that calculates a moving average value of the sensor value, a threshold calculation unit 130 that sets a first threshold and a second threshold, a subtraction unit 140 that calculates a difference value by subtracting the first threshold from the sensor value during a period in which the sensor value exceeds the first threshold, an integral value calculation unit 150 that calculates an integral value, a determination unit 160 that generates a trigger pulse when the sensor value changes to below the first threshold after the integral value exceeds the second threshold, and a counting unit 170 that adds 1 to a count value in response to the trigger pulse, and the integral value calculation unit 150 clears the integral value in response to the trigger pulse. In this document management device 100, the count value of the passbook 1 can be calculated by processing each section, and the documents can be accurately counted by optically detecting the binding portion of the document without being affected by dirt or scratches in the reading area of ​​the passbook 1.

[0040] (3) In the document management device 100 described in (1) or (2) above, the calculation unit 105 calculates a moving average value using a window size according to the thickness of the passbook 1. In this document management device 100, a moving average value is obtained by averaging the convex-shaped binding portion of the passbook 1, which is the brightest, and the concave portion, which is the contact portion with an adjacent passbook 1, which is the darkest, and by using this moving average value as the first threshold value, appropriate comparison with the sensor value is possible, so that the binding portion of the document can be optically detected and the documents can be accurately counted without being affected by dirt or scratches in the reading area of ​​the passbook 1.

[0041] (4) In the document management device 100 described in any one of (1) to (3) above, a storage unit 10 capable of storing a passbook 1 is provided in the device body, the storage unit 10 is configured to be movable relative to the device body by being pulled out of the device body or by the pulled-out storage unit 10 being pushed into the device body, and the sensor 30 is fixed to the device body and detects reflected light from the passbook 1 when the storage unit 10 moves. Unlike conventional document management devices in which the storage section is pushed into the document management device and closed, and then a sensor slides to detect the passbook stored in the storage section, this document management device 100 can move the storage section 10 and optically read the passbook 1 at the same time, thereby shortening the time required for optical reading.

[0042] (5) In the document management device 100 described in any one of (1) to (4) above, an encoder is further provided for detecting the amount of movement of the storage section 10 described in (4) above, and the calculation section 105 acquires a sensor value according to the amount of movement detected by the encoder. In this document management device 100, even if the moving speed of the storage unit 10 changes, the data acquisition unit 110 can acquire sensor values ​​with a constant resolution. In other words, the sensor values ​​can be acquired from the detection signal from the sensor 30 so that a constant number of data points are obtained for a constant amount of movement of the storage unit 10. This makes it possible to count the passbooks 1 accurately. (6) In the document management device 100 described in any one of (1) to (5) above, the calculation unit 105 stores the sensor values ​​acquired when the storage unit 10 described in (4) above moves, and processes the stored sensor values ​​to calculate the count value of the passbook 1. In this document management device 100, sensor values ​​are acquired and stored in accordance with the movement of the storage unit 10. Then, the calculation unit 105 can execute each process at high speed while reading out the stored sensor values.

[0043] (7) The document management method described in the above embodiments is a document management method for counting passbook 1 in document management device 100, which is equipped with sensor 30 that detects reflected light from passbook 1 and generates a detection signal, and calculation unit 105 that acquires a sensor value from the detection signal and processes the sensor value to calculate a count value of passbook 1, and includes an average value calculation step of calculating a moving average value of the sensor value, a threshold setting step of setting the moving average value to a first threshold and setting a second threshold that is smaller than the first threshold and proportional to the moving average value, an integral value calculation step of calculating an integral value by adding a difference value obtained by subtracting the first threshold value from the sensor value during a period in which the sensor value exceeds the first threshold, and a counting step of adding 1 to the count value and clearing the integral value when the sensor value changes to below the first threshold after the integral value exceeds the second threshold, and the integral value calculation step and the counting step are repeated for each sensor value. In this document management method, the count value of the passbook 1 is calculated according to a predetermined procedure, making it less susceptible to changes in signal values ​​caused by dirt or scratches on the reading area of ​​the passbook 1, and the documents can be accurately counted by optically detecting the binding portion of the passbook 1 without being affected by dirt or scratches on the reading area of ​​the passbook 1.

[0044] (8) In the document management method described in (7) above, the document management device 100 comprises a device body and a storage unit 10 that can be moved relative to the device body by being pulled out or pushed in and can store a plurality of passbooks 1, and is a document management method for counting passbooks 1, and when the storage unit 10 moves, a sensor value is obtained in response to the detection of reflected light. Unlike conventional document management methods in which the storage section is pushed into the device and closed, and then a sensor slides to detect the passbook stored in the storage section, this document management method allows the movement of the storage section 10 and the optical reading of the passbook 1 to be performed at the same time, thereby shortening the time required for optical reading.

[0045] [Modification or replacement of parts] Although the preferred embodiments have been described in detail above, the present invention is not limited to the above-described embodiments, and various modifications and substitutions can be made to the above-described embodiments without departing from the scope of the claims. In this embodiment, a reflective photosensor having a light emitting portion and a light receiving portion is used as the sensor 30, but other sensors may be used instead. For example, a one-dimensional or two-dimensional imaging device having an imaging element such as a C-MOS or a CCD may be used as the sensor 30. In addition, in this embodiment, the object of document management is a passbook 1 for deposits and savings, etc., but any document having a convex-shaped binding portion can be used, and documents such as checkbooks, bill books, or various types of record books can also be subject to document management. 3, the integral value calculation step (steps S106 and S107) and the counting step (steps S108 to S112) are executed after the threshold value setting step (step S104), but this is not limited to this. That is, the threshold value setting step, the integral value calculation step, and the counting step may be processed in parallel so that the first and second threshold values ​​used in the integral value calculation step and the counting step can be set in time. [Explanation of symbols]

[0046] 1 passbook (document), 10 storage section, 20 encoder, 30 sensor, 100 document management device, 101 control section, 103 operation display section, 105 calculation section, 110 data acquisition section, 115 data storage section, 120 moving average calculation section, 130 threshold calculation section, 140 subtraction section, 150 integral value calculation section, 160 judgment section, 170 counting section.

Claims

1. A document management device that counts documents, a sensor that detects reflected light from the document and generates a detection signal; a calculation unit that acquires a sensor value from the detection signal and processes the sensor value to calculate a count value of the document; Equipped with The calculation unit is Calculating a moving average of the sensor values; setting the moving average value as a first threshold value, and setting a second threshold value that is smaller than the first threshold value and proportional to the moving average value; For each of the sensor values, calculating an integral value by adding a difference value obtained by subtracting the first threshold value from the sensor value during a period in which the sensor value exceeds the first threshold value; when the sensor value changes to equal to or less than the first threshold value after the integral value exceeds the second threshold value, the count value is incremented by 1 and the integral value is cleared. Repeat the process, Document management device.

2. The calculation unit is A moving average calculation unit that calculates the moving average value; a threshold calculation unit that sets the first threshold and the second threshold; a subtraction unit that calculates a difference value by subtracting the first threshold value from the sensor value during a period in which the sensor value exceeds the first threshold value; an integral calculation unit for calculating the integral; a determination unit that generates a trigger pulse when the sensor value changes to be equal to or less than the first threshold value after the integral value exceeds the second threshold value; a counting unit that adds 1 to the count value in response to the trigger pulse; Equipped with the integral value calculation unit clears the integral value in response to the trigger pulse; The document management device according to claim 1.

3. The calculation unit calculates the moving average value using a window size according to the thickness of the document. The document management device according to claim 1.

4. a storage unit capable of storing the document is provided in the device body; the storage unit is configured to be movable relative to the device body by being pulled out from the device body or by the pulled-out storage unit being pushed into the device body; the sensor is fixed to the device body and detects reflected light from the document when the storage unit moves. The document management device according to claim 1.

5. An encoder for detecting the amount of movement of the storage unit is further provided. The calculation unit acquires the sensor value in accordance with the amount of movement detected by the encoder. The document management device according to claim 4.

6. the calculation unit stores the sensor value acquired when the storage unit moves, and processes the stored sensor value to calculate the count value of the document. The document management device according to claim 4.

7. A form management method for counting forms in a form management device including a sensor that detects reflected light from a form and generates a detection signal, and a calculation unit that acquires a sensor value from the detection signal and processes the sensor value to calculate a count value of the form, comprising: an average value calculation step of calculating a moving average value of the sensor value; a threshold setting step of setting the moving average value to a first threshold value and setting a second threshold value that is smaller than the first threshold value and proportional to the moving average value; an integral calculation step of calculating an integral value by adding a difference value obtained by subtracting the first threshold value from the sensor value during a period in which the sensor value exceeds the first threshold value; a counting step of adding 1 to the count value and clearing the integral value when the sensor value changes to be equal to or less than the first threshold value after the integral value exceeds the second threshold value; having repeating the integral value calculation step and the counting step for each of the sensor values; How to manage documents.

8. A form management method for counting forms in a form management device including a device body and a storage unit that can be moved relative to the device body by being pulled out or pushed in and that can store a plurality of forms, comprising: When the storage unit moves, the sensor value is acquired in response to detection of the reflected light. The document management method according to claim 7.

Citation Information

Patent Citations

  • Document handling device and document management system

    JP2017027165A