The present application claims priority under 35 U.S.C. § 119 to Japanese Patent Application No. 2017-135902, filed on Jul. 12, 2017. The contents of this application are incorporated herein by reference in their entirety,
The present disclosure relates to an image reading device and an image reading method.
In general, a data-saving function of an electronic device is limited as available capacity in storage thereof decreases. To solve this problem, a digital camera prevents the function from being limited by the available capacity in the storage. In detail, the digital camera assigns a preferential order to image data and stores the image data in the storage. The digital camera erases the image data of the lowest preference stored in the storage when the available capacity in the storage is exceeded by volume of image data to be saved in the storage.
An image reading device according the present disclosure includes an operation section, a scanner, a controller, and storage. The operation section receives an instruction of a user. The scanner reads an image of an original document. The controller acquires original image data indicating the image of the original document read by the scanner. The storage stores the original image data. The controller replicates first original image data to generate second original image data and stores replication destination information in the storage. The first original data indicates, among the original image data stored in the storage, the original image data of a replication source according to a replication instruction received by the operation panel. The replication destination information indicates a replication destination of the first original image data. Upon acquiring third original image data, the controller executes a capacity determination process to determine whether or not original document data volume indicating volume of the third original image data is greater than available capacity of the storage. The third original image data is the original image data from the image of the original document that is newly read by the scanner. Upon determining that the original document data volume is greater than the available capacity, the controller executes a deletion process to delete one or more parts of the first original image data for which the replication destination information fulfills a predetermined condition from the storage.
An image reading method according to the present disclosure includes the following: acquiring original image data indicating an image of an original document read by a scanner; storing the original image data in storage; and replicating first original image data to generate second original image data and storing replication destination information in the storage. The first original data indicates the original image data stored in the storage according to a replication instruction of a user. The replication destination information indicates a replication destination of the first original image data. The storing includes the following: determining whether or not original document data volume indicating volume of third original image data is greater than available capacity of the storage upon acquiring the third original image data, and deleting one or more parts of the first original image data for which the replication destination information fulfills a predetermined condition from the storage upon determining that the original document data volume is greater than the available capacity. The third original image data is the original image data from the image of the original document that is newly read by the scanner.
An image reading device and an image reading method according to embodiments of the present disclosure will be described as follows with reference to the drawings. Note that elements within the drawings that are the same or equivalent will be referred to with the same reference numbers and description thereof will not be repeated.
First, a configuration of an image reading device I according to a first embodiment of the present disclosure will be described with reference to
As illustrated in FIG I, the image reading device 1 includes an operation section 2, a scanner 3, and a platen cover 4.
The operation section 2 receives an instruction of a user. The user can input the instruction to the image reading device 1 by operating the operation section 2. The operation section 2 includes a display 21 and a plurality of operation keys 22. The display 21 displays operation screens and various process results, for example. The operation keys 22 include a start key for a reading start instruction, for example.
The scanner 3 reads an image of an original document and outputs a signal indicating image data of the original document when the operation section 2 receives the reading start instruction. In the following, the image data of the original document will be referred to as “original image data”. The scanner 3 includes contact glass 31. The original document is placed on the contact glass 31.
The platen cover 4 is openable and closable. When the platen cover 4 is open, the contact glass 31 is exposed. When the platen cover 4 is closed by contrast, the contact glass 31 is covered by the platen cover 4.
Next, a configuration of the scanner 3 according to the first embodiment will be described with reference to
As illustrated in
The contact glass 31 is located in an upper portion of the scanner 3. The reading mechanism 32 includes a light source 321, a carriage 322, an optical system 323, and a charge-coupled device (CCD) image sensor 324. The light source 321 is supported by the carriage 322. The carriage 322 moves in a sub-scanning direction SD. The light source 321 irradiates the original document placed on the contact glass 31 with light while moving in the sub-scanning direction SD. The optical system 323 guides the light reflected from the original document to the CCD image sensor 324. The CCD image sensor 324 converts the light guided by the optical system 323 to an electrical signal and outputs the electrical signal. In detail, the CCD image sensor 324 outputs a signal indicating the original image data.
Continuing, the configuration of the image reading device 1 according to the first embodiment will be described in detail with reference to
As illustrated in
The controller 5 controls operation of each section of the image reading device 1. The controller 5 includes a processor such as a central processing unit (CPU), for example.
The controller 5 receives a signal indicating the instruction of the user from the operation section 2. The controller 5 directs the scanner 3 to read the image of the original document when the operation section 2 receives the reading start instruction. Upon reading the image of the original document, the scanner 3 sends the signal indicating the original image data to the controller 5. The controller 5 executes a data acquisition process and a data storage process upon receiving the signal indicating the original image data from the scanner 3. The data acquisition process means a process of acquiring the original image data from the signal indicating the original image data sent from the scanner 3. The data storage process means a process of storing the original image data in the storage 6.
The storage 6 stores various data. The various data includes the original image data acquired from the signal sent from the scanner 3. In the following, the original image data stored in the storage 6 will be referred to as “first original image data”.
The storage 6 includes a storage device and semiconductor memory. The storage device includes either or both a hard disk drive (HDD) and a solid-state drive (SSD), for example. The semiconductor memory constitutes random-access memory (RAM) and read-only memory (ROM), for example.
The storage 6 stores a control program. The control program is executed by the controller 5. The controller 5 controls the operation of each section included in the image reading device 1 by executing the control program.
The storage 6 stores a document box 61, a copy record 62, a user management table 63, and a deletion record 64.
The original image data (first original image data) is placed in the document box 61.
The document box 61 includes a plurality of boxes. The user assigns a box in which the original image data is to be placed. Specifically, the user operates the operation section 2 to assign the box in which the original image data is to be placed when giving the reading start instruction.
Owners are set for each box. According to the present embodiment, a “user A” is set as an owner of a “box A”, a “user B” is set as an owner of a “box B”, and a “user C” is set as an owner of a “box C”.
Next, a data saving process according to the first embodiment will be described with reference to
As illustrated in
Continuing, a data replication process executed by the controller 5 will be described with reference to
The controller 5 executes the data replication process upon receiving a signal indicating a replication instruction from the operation section 2. In detail, the controller 5 replicates the first original image data to generate the second original image data. The second original image data is placed in the assigned box (other user box). Upon placing the second original image data in the other user box, the controller 5 registers replication destination information indicating the replication destination of the first original image data in the copy record 62 stored in the storage 6.
Continuing, the data replication process according to the first embodiment will be further described with reference to
As illustrated in
Next, the copy record 62 according to the first embodiment will be described with reference to
As illustrated in
In the example illustrated in
Continuing, the data storage process described with reference to
The controller 5 executes the data storage process as described with reference to
As illustrated in
Continuing, the data deletion process according to the first embodiment will be described with reference to
As illustrated in
Upon specifying the user of the box of the copy source 622, the controller 5 refers to the user management table 63 (refer to
Next, the controller 5 acquires second group information (Step S406). The second group information indicates a group to which an owner of a box in which the second original image data (replicated data of the first original image data) has been placed belongs. Specifically, the controller 5 specifies a box as a copy destination 623 of the first original image data selected as the determination target data (box as a placement destination of the second original image data) and specifies the user of the box specified as the copy destination 623. For example, in the example illustrated in
Upon specifying the user of the box of the copy destination 623, the controller 5 refers to the user management table 63 to acquire a group to which the specified user (user C, for example) belongs.
Next, the controller 5 determines whether or not the first group information matches the second group information (Step S408). Upon determining that the first group information does not match the second group information (Step S408: No), the controller 5 returns to the process of Step S302 illustrated in
Upon returning to Step S302 illustrated in
Note that in Step S402 illustrated in
The order of the steps in the data deletion process is not limited to the order described in
Next, the user management table 63 according to the first embodiment will be described with reference to
As illustrated in
Next, the deletion record 64 according to the first embodiment will be described with reference to
As illustrated in
In the example illustrated in
The deletion record 64 is displayed on the display 21 described with reference to
The first embodiment has been described above. According to the first embodiment, the controller 5 refers to the copy record 62 and deletes one or more parts of the first original image data for which the replication destination information fulfills a predetermined condition from the storage 6. Accordingly, the user need not preset a preference to the first original image data. As a result, convenience for the user can be inhibited from decreasing.
Also according to the present embodiment, the controller 5 deletes one or more parts of the first original image data from which replicated data (second original image data) has been generated. In other words, the controller 5 deletes original image data for which original image data identical thereto in content is stored in the storage 6. Accordingly, the identical original image data can be inhibited from being redundantly stored in the storage 6 and thus exhausting storage capacity thereof.
According to the present embodiment, the controller 5 registers the deletion reason 642 to the deletion record 64 when deleting first original image data. The deletion reason 642 indicates the copy destination 623. Accordingly, the user can easily know which box the original image data (second original image data) identical in content to the deleted first original image data has been placed in by referring to the deletion reason 642.
According to the present embodiment, data replicated by a user belonging to a group is placed in the box of a different user belonging to the same group. Accordingly, the user can acquire the original image data (second original image data) identical in content to the deleted first original image data by asking the different user belonging to the same group in case the deleted first original image data becomes needed.
Note that according to the present embodiment, the controller 5 repeatedly executes the capacity determination process and the data deletion process until determining that the original document data volume is not greater than the available capacity. However, the controller 5 may delete one or more parts of the first original image data according to a predetermined condition when there is no candidate determination target data or candidate determination target data has run out. For example, the controller 5 may delete one or more parts of the first original image data in chronological order of save date and time, and determine whether or not the original document data volume is greater than the available capacity of the storage 6.
Continuing, a second embodiment of the present disclosure will be described with reference to
The communication device 7 connects to an e-mail server 100 (external device) through a network such as a local area network (LAN).
The e-mail server 100 includes a storage area. An e-mail box 101 is stored in the storage area. According to the present embodiment, the e-mail box 101 includes a plurality of boxes (a box A, a box B, and a box C). Owners are set for each box. According to the present embodiment, a “user A” is set as an owner of the box A, a “user B” is set as an owner of the box B, and a “user C” is set as an owner of the box C. Corresponding e-mail addresses 661 are set for each box. According to the present embodiment, a user inputs an instruction to send replicated data (second original image data) of original image data (first original image data) placed in an own box to the e-mail server 100 by operating an operation section 2. In the following, the instruction to send the second original image data to the e-mail server 100 will be referred to as a “sending instruction”. Note that the sending instruction is equivalent to a replication instruction according to an aspect of the present disclosure.
The controller 5 executes an e-mail sending process upon receiving a signal indicating the sending instruction from the operation section 2. In detail, the controller 5 sends the second original image data (replicated data of the first original image data) to the e-mail server 100 through the communication device 7. When inputting the sending instruction, the user assigns original image data (first original image data) as a sending target and a replication destination of the original image data (second original image data) obtained by replicating the original image data, assigned as the sending target by operating the operation section 2. According to the present embodiment, the replication destination indicates any one of the boxes included in the e-mail box 101 provided in the e-mail server 100. Specifically, the replication destination indicates the e-mail address 661 corresponding to any one of the boxes included in the e-mail box 101.
Storage 6 stores a document box 61, a user management table 63, a deletion record 64, a sending record 65, and an e-mail address book 66.
Next, the sending record 65 according to the second embodiment will be described with reference to
As illustrated in
In the example illustrated in
Next, the e-mail address book 66 according to the second embodiment will be described with reference to
As illustrated in
Continuing, a data deletion process according to the second embodiment will be described with reference to
As illustrated in
Next, the controller 5 acquires second group information (Step S506). The second group information indicates a group to which an owner of a box corresponding to the e-mail address 661 (user associated with the e-mail address 661) assigned as the sending destination 653 of the second original image data (replicated data of the first original image data) belongs. Specifically, the controller 5 specifies an e-mail address 661 as the sending destination 653 of the first original image data selected as the determination target data and specifies the user associated with the e-mail address 661 specified as the sending destination 653. In the example illustrated in
Next, the controller 5 determines whether or not the first group information matches the second group information (Step S408). Upon determining that the first group information does not match the second group information (Step S408: No), the controller 5 returns to the process of Step S302 illustrated in
Upon returning to Step S302 illustrated in
Note that in Step S502 illustrated in
The order of the steps in the data deletion process is not limited to the order described in
The second embodiment has been described above. According to the present embodiment, the controller 5 refers to the sending record 65 and deletes a part of the first original image data for which replication destination information fulfills a predetermined condition from the storage 6. Accordingly, the user need not preset preference to the first original image data. As a result, convenience for the user can be inhibited from decreasing.
According to the present embodiment, the controller 5 deletes a part of the first original image data from which replicated data (second original image data) has been generated. The replicated data is sent to the e-mail box of a different user belonging to the same group. Accordingly, the user can acquire the original image data (second original image data) identical in content to the deleted first original image data by asking the different user belonging to the same group in case the deleted first original image data has become needed.
The embodiments of the present disclosure have been described above with reference to the drawings (
For example, according to the embodiments of the present disclosure, an example of the controller 5 is described as deleting first original image data for which the replication destination information fulfills a predetermined condition one part at a time. However, the present disclosure is not limited hereto. According to the present disclosure, the controller 5 need only be able to save newly acquired data in the storage 6. For example, the controller 5 may delete all of the first original image data for which the replication destination information fulfills the predetermined condition at one time.
Items described in the first embodiment and the second embodiment may also be appropriately combined.
Number | Date | Country | Kind |
---|---|---|---|
2017-135902 | Jul 2017 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
5737601 | Jain | Apr 1998 | A |
6256675 | Rabinovich | Jul 2001 | B1 |
8719225 | Rath | May 2014 | B1 |
8769055 | Murphy | Jul 2014 | B2 |
8868508 | Drobychev | Oct 2014 | B2 |
8930311 | Wang | Jan 2015 | B1 |
9565252 | Kazi | Feb 2017 | B2 |
9600193 | Ahrens | Mar 2017 | B2 |
20040267752 | Wong | Dec 2004 | A1 |
20070185938 | Prahlad | Aug 2007 | A1 |
20080168303 | Spear | Jul 2008 | A1 |
20090030986 | Bates | Jan 2009 | A1 |
20100037031 | DeSantis | Feb 2010 | A1 |
20100199042 | Bates | Aug 2010 | A1 |
20120233118 | Holt | Sep 2012 | A1 |
20130061013 | Tokoro | Mar 2013 | A1 |
20130097377 | Satoyama | Apr 2013 | A1 |
20130339818 | Baker | Dec 2013 | A1 |
20150089171 | Fujita | Mar 2015 | A1 |
20160055225 | Xu | Feb 2016 | A1 |
20160077926 | Mutalik | Mar 2016 | A1 |
20160150012 | Barszczak | May 2016 | A1 |
20160196320 | Borowiec | Jul 2016 | A1 |
20170262346 | Pradhan | Sep 2017 | A1 |
20170315728 | Zheng | Nov 2017 | A1 |
20180181315 | Kusters | Jun 2018 | A1 |
20190073409 | Rahut | Mar 2019 | A1 |
20190108341 | Bedhapudi | Apr 2019 | A1 |
Number | Date | Country |
---|---|---|
2009-044296 | Feb 2009 | JP |
Number | Date | Country | |
---|---|---|---|
20190020781 A1 | Jan 2019 | US |