Image forming apparatus and virus inspection method
阅读说明:本技术 图像形成装置和病毒检查方法 (Image forming apparatus and virus inspection method ) 是由 伊藤昌之 富安和弘 久野高资 杉浦博 大羽伸 太田哲人 于 2019-08-16 设计创作,主要内容包括:一种图像形成装置和病毒检查方法,该图像形成装置具有:储存部件,其储存数据;分割部件,其将数据分割为多个元素数据;以及对多个元素数据中的每一个按照指定的顺序实施病毒检查的部件。(An image forming apparatus and a virus inspection method, the image forming apparatus including: a storage section that stores data; a dividing means that divides data into a plurality of element data; and means for performing a virus check on each of the plurality of element data in a specified order.)
1. An image forming apparatus includes:
a storage section that stores data;
a dividing means that divides the data into a plurality of element data; and
and a1 st implementation unit that performs virus inspection in a predetermined order on each of the plurality of element data.
2. The image forming apparatus according to claim 1,
the data includes a header portion and a body portion,
the dividing means divides the main body portion into the plurality of element data.
3. The image forming apparatus according to claim 2,
said 1 st implementation component further implements said virus inspection on said header,
the dividing means divides the data into a plurality of element data after the virus check is performed on the header.
4. The image forming apparatus according to any one of claims 1 to 3, further having:
a2 nd implementation section that implements a specified process on the data,
if the virus check for the element data ends, the 2 nd implementation means performs the specified processing on the element data for which the virus check has ended without waiting for the completion of the virus check for the element data in the next order of the specified orders.
5. The image forming apparatus according to claim 4,
the data is document data having a plurality of pages,
the element data is page data of 1 page in the document data.
6. The image forming apparatus according to claim 5, further having:
an accepting section that accepts designation of a page of 1 or more from among the plurality of pages,
the 1 st implementation unit performs the virus check on page data of the designated page, and then performs the virus check on page data of pages other than the designated page among the plurality of pages.
7. The image forming apparatus according to claim 6,
the acceptance section accepts designation of pages of 2 or more pages in order from the plurality of pages,
the 1 st implementation unit performs the virus check on the page data of the designated page in the order in which the designation is accepted.
8. The image forming apparatus according to claim 5, further having:
an accepting section that accepts designation of a page of 1 or more from among the plurality of pages,
the 1 st embodiment unit determines whether all or a part of the designated pages are continuous when the receiving unit receives designation of a page of 2 or more pages,
the 1 st implementation unit first performs the virus check on the page data of the consecutive pages when all or a part of the designated pages are consecutive,
the 1 st implementation unit performs the virus inspection on the page data of at least 1 page before and after the continuous page after the virus inspection on the page data of the continuous page.
9. The image forming apparatus according to claim 8, further having a touch screen,
as the specified processing, the 2 nd implementation section divides the plurality of pages into a plurality of groups in order of a predetermined number of pages from the 1 st page, and simultaneously previews the predetermined number of pages on the touch panel in the group,
the 1 st implementation unit performs the virus inspection on the page data of the plurality of pages, with priority given to the page included in the group including the continuous page and the 1 st group before and after the group, and performs the virus inspection on the page data of the page with priority.
10. The image forming apparatus according to claim 6, further having a touch screen,
the 2 nd implementation component is a display control component that controls display of the touch screen,
the display control section causes a predetermined number of icons to be displayed simultaneously on the touch screen,
as the specified processing, the display control section causes preview display of the same number of the pages as the predetermined number on the touch screen at the same time,
each of the plurality of pages is associated with the icon that is different from one another,
the accepting means further accepts a flick operation on the icon,
the display control means changes the predetermined number of icons displayed on the touch screen based on the flick operation,
the acceptance unit determines that the predetermined number of pages associated with the predetermined number of icons are designated, in accordance with a case where the predetermined number of icons are displayed on the touch panel based on the flick operation.
11. The image forming apparatus according to claim 10,
the accepting means determines that the predetermined number of pages are designated on condition that the predetermined number of icons are displayed on the touch panel for a predetermined time or longer based on the flick operation.
12. The image forming apparatus according to claim 5,
has an operation mode for printing pages by changing the order of the pages from ascending to descending,
the 1 st implementation section, in a case where the operation mode is designated, implements the virus check on each of the page data of the plurality of pages in descending order from a final page of the plurality of pages.
13. The image forming apparatus according to claim 5,
an action pattern having an order of replacing the pages based on a predetermined rule,
the 1 st implementation section, in a case where the operation mode is designated, implements the virus check on the page data of the plurality of pages in the replaced order.
14. A virus inspection method comprising:
dividing data stored in a memory of the image forming apparatus into a plurality of element data; and
and performing a virus check on each of the plurality of element data in a specified order.
15. The virus inspection method according to claim 14,
the data includes a header portion and a body portion,
in the step of dividing the data, the main body portion is divided into the plurality of element data.
16. The virus inspection method according to claim 15,
in the step of performing the virus inspection, the virus inspection is further performed on the header,
in the step of dividing the data, the data is divided into a plurality of element data after the virus check is performed on the header.
17. The virus inspection method according to any one of claims 14 to 16, further comprising:
and a step of, when the virus check for the element data is completed, performing a predetermined process on the element data for which the virus check has been completed without waiting for completion of the virus check for the element data in the next order of the predetermined orders.
18. The virus inspection method according to claim 17,
the data is document data having a plurality of pages,
the element data is page data of 1 page in the document data.
19. The virus inspection method according to claim 18, further comprising:
a step of accepting designation of pages 1 or more from among the plurality of pages,
in the performing of the virus check, after performing the virus check on the page data of the specified page, the virus check is performed on page data of pages other than the specified page among the plurality of pages.
20. The virus inspection method according to claim 19,
in the accepting of the designation, designation of pages of 2 or more pages is accepted in order from the plurality of pages,
in the step of performing the virus check, the virus check is performed on the page data of the designated page in the order in which the designation is accepted.
21. The virus inspection method according to claim 18, further comprising:
a step of judging whether all or a part of the designated pages are continuous or not when the designation of the pages of 2 or more pages is accepted from the plurality of pages,
in the step of performing the virus inspection,
in the case where all or a part of the designated pages are continuous, the virus check is first performed on the page data of the continuous pages,
after the virus inspection for the page data of the continuous page, the virus inspection for the page data of at least 1 page before and after the continuous page is performed.
22. The virus inspection method according to claim 21, wherein,
in the step of performing the designated processing, the plurality of pages are divided into a plurality of groups in a predetermined number of pages in order from page 1, and the predetermined number of pages are simultaneously displayed as a preview on a touch panel of the image forming apparatus in the group,
in the step of performing the virus check, when the virus check is performed on the page data of the plurality of pages, the page data of the page having priority is subjected to the virus check with priority being given to the group including the continuous page and the pages included in 1 group before and after the group.
23. The virus inspection method according to claim 19, further comprising:
a step of causing a predetermined number of icons to be simultaneously displayed on a touch screen of the image forming apparatus;
in the step of implementing the specified processing, the same number of the pages as the predetermined number are simultaneously preview-displayed on the touch screen,
each of the plurality of pages is associated with the icon that is different from one another,
the virus inspection method further comprises:
a step of accepting a flick operation on the icon;
changing the predetermined number of icons displayed on the touch screen based on the flick operation; and
a step of determining that the predetermined number of pages related to the predetermined number of icons are designated, according to a case where the predetermined number of icons are displayed on the touch screen based on the flick operation.
24. The virus inspection method according to claim 23,
in the step of determining that the predetermined number of pages are designated, it is determined that the predetermined number of pages are designated on the condition that the predetermined number of icons are displayed on the touch panel for a predetermined time or more based on the flick operation.
25. The virus inspection method according to claim 18, further comprising:
a step of receiving designation of an operation mode for printing the pages by changing the order of the pages from ascending order to descending order,
in the performing of the virus check, the virus check is performed on each of the page data of the plurality of pages in descending order from a final page of the plurality of pages in a case where the operation mode is designated.
26. The virus inspection method according to claim 18, further comprising:
a step of accepting designation of an operation mode for replacing the order of the pages based on a predetermined rule;
in the step of performing the virus check, the virus check is performed on the page data of the plurality of pages in the replaced order in a case where the operation mode is designated.
Technical Field
The present invention relates to an image forming apparatus and a virus inspection method performed in the image forming apparatus.
Background
Conventionally, image forming apparatuses such as copiers, printers, facsimiles, and all-in-one machines thereof have been known. Such an image forming apparatus and other devices are connected via a network. Therefore, image forming apparatuses that perform virus inspection on received data have been developed.
Further, japanese patent application laid-open No. 2008-77231 discloses a file management server that is communicably connected to an all-in-one machine and performs virus inspection. The file management server determines the type of the electronic document if the electronic document is received from the all-in-one machine. Further, the file management server performs virus check only on electronic documents that are highly likely to be infected with viruses.
Disclosure of Invention
However, if a designated task is processed after waiting for completion of virus check on data such as a document, the start of the task is delayed.
The present disclosure has been made in view of the above problems, and an object of the present disclosure is to provide an image forming apparatus capable of reducing a task start delay caused by performing a virus inspection.
According to an aspect of the present disclosure, an image forming apparatus has: a storage section that stores data; a dividing means that divides data into a plurality of element data; and a1 st implementation unit that performs virus inspection in a prescribed order for each of the plurality of element data.
Preferably, the data comprises a header portion and a body portion. The dividing means divides the main body portion into a plurality of element data.
Preferably, the 1 st implementation component further performs a virus check on the head. The dividing means divides the data into a plurality of element data after performing a virus check on the header.
Preferably, the image forming apparatus further has: and a2 nd implementation unit that implements the specified processing on the data. When the virus check for the element data is completed, the 2 nd performing means performs the specified processing on the element data for which the virus check has been completed without waiting for the completion of the virus check for the element data in the next order in the specified order.
Preferably, the data is document data having a plurality of pages. The element data is page data of 1 page in the document data.
Preferably, the image forming apparatus further has: and an accepting section that accepts designation of a page of 1 or more from the plurality of pages. The 1 st implementation unit performs a virus check on page data of a designated page, and then performs a virus check on page data of pages other than the designated page among the plurality of pages.
Preferably, the accepting section accepts designation of pages of 2 or more pages from the plurality of pages in order. The 1 st implementation unit performs a virus check on the page data of the designated page in the order designated by the acceptance.
Preferably, the image forming apparatus further has: and an accepting section that accepts designation of a page of 1 or more from the plurality of pages. When the receiving means receives a designation of a page of 2 or more pages, the 1 st embodiment means determines whether all or a part of the designated pages are continuous. When all or a part of the designated pages are consecutive, the 1 st implementation unit first performs a virus check on page data of consecutive pages. The 1 st implementation unit performs a virus check on page data of consecutive pages, and then performs a virus check on page data of at least 1 page before and after the consecutive pages.
Preferably, the image forming apparatus further has a touch panel. The 2 nd implementation component divides the plurality of pages into a plurality of groups in order of a predetermined number of pages from the 1 st page as a designated process, and simultaneously previews the predetermined number of pages on the touch panel in the group unit. When performing a virus check on page data of a plurality of pages, the
Preferably, the image forming apparatus further has a touch panel. The 2 nd implementation component is a display control component that controls display of the touch screen. The display control section causes a predetermined number of icons to be simultaneously displayed on the touch screen. As the designated processing, the display control section causes the preview display on the touch panel of the same number of pages as the predetermined number at the same time. Each of the plurality of pages is associated with a different icon from the other. The accepting means further accepts a flick operation on the icon. The display control means changes a predetermined number of icons displayed on the touch panel based on the flick operation. The accepting unit determines that a predetermined number of pages associated with a predetermined number of icons are designated, in accordance with a case where the predetermined number of icons are displayed on the touch panel based on a flick operation.
Preferably, the accepting means determines that the predetermined number of pages are designated on condition that a predetermined number of icons are displayed on the touch panel for a predetermined time or longer based on the flick operation.
Preferably, the image forming apparatus has an operation mode for printing the pages by changing the order of the pages from ascending to descending. In the case where the operation mode is designated, the 1 st implementation section performs virus check on each of the page data of the plurality of pages in descending order from the final page of the plurality of pages.
Preferably, the image forming apparatus has an operation mode of replacing the order of pages based on a predetermined rule. When the operation mode is designated, the 1 st implementation unit performs a virus check on the page data of the plurality of pages in the replaced order.
According to another aspect of the present disclosure, a virus inspection method has: dividing data stored in a memory of the image forming apparatus into a plurality of element data; and a step of performing virus check on each of the plurality of element data in a specified order.
Preferably, the data comprises a header portion and a body portion. In the step of dividing data, the main body portion is divided into a plurality of element data.
Preferably, in the step of performing virus inspection, virus inspection is further performed on the head. In the step of dividing the data, after the virus inspection is performed on the header, the data is divided into a plurality of element data.
Preferably, the virus inspection method further comprises: and a step of, when the virus check for the element data is completed, performing a predetermined process on the element data for which the virus check has been completed without waiting for completion of the virus check for the element data in the next order in the predetermined order.
Preferably, the data is document data having a plurality of pages. The element data is page data of 1 page in the document data.
Preferably, the virus inspection method further comprises: and a step of accepting designation of a page of 1 or more from the plurality of pages. In the step of performing the virus check, after the virus check is performed on the page data of the designated page, the virus check is performed on page data of pages other than the designated page among the plurality of pages.
Preferably, in the accepting of the designation, designation of pages of 2 or more pages is accepted in order from the plurality of pages. In the step of performing virus check, virus check is performed on the page data of the designated page in the order designated by the acceptance.
Preferably, the virus inspection method further comprises: and a step of judging whether all or a part of the designated pages are continuous or not when the designation of the pages of 2 or more pages is accepted from the plurality of pages. In the step of performing the virus inspection, when all or a part of the designated pages are consecutive, the virus inspection is performed on the page data of the consecutive pages first, and after the virus inspection on the page data of the consecutive pages, the virus inspection is performed on the page data of at least 1 page before and after the consecutive pages.
Preferably, in the step of performing the designation, as the designation, the plurality of pages are divided into a plurality of groups in a predetermined number of pages in order from the 1 st page, and the predetermined number of pages are simultaneously displayed as a preview on the touch panel in the group unit. In the virus inspection step, when performing virus inspection on page data of a plurality of pages, a group including consecutive pages and pages included in 1 group before and after the group are prioritized, and the virus inspection is performed on page data of the prioritized page.
Preferably, the virus inspection method further comprises: and a step of causing a predetermined number of icons to be simultaneously displayed on a touch panel of the image forming apparatus. In the step of performing the specified processing, the same number of pages as the predetermined number are simultaneously preview-displayed on the touch panel. Each of the plurality of pages is associated with a different icon from the other. The virus inspection method further comprises: a step of accepting a flick operation on an icon; a step of changing a predetermined number of icons displayed on the touch screen based on the flick operation; and determining that a predetermined number of pages associated with the predetermined number of icons are designated, based on a case where the predetermined number of icons are displayed on the touch panel based on a flick operation.
Preferably, in the step of determining that the predetermined number of pages are designated, it is determined that the predetermined number of pages are designated on the condition that the predetermined number of icons are displayed on the touch panel for a predetermined time or more based on the flick operation.
Preferably, the virus inspection method further comprises: and a step of receiving designation of an operation mode for printing the pages by changing the order of the pages from ascending to descending. In the step of performing virus check, in a case where the operation mode is designated, the virus check is performed on each of the page data of the plurality of pages in descending order from a final page of the plurality of pages.
Preferably, the virus inspection method further has the steps of: and a step of accepting designation of an action pattern for replacing the order of pages based on a predetermined rule. In the step of performing virus check, if the operation mode is designated, the virus check is performed on the page data of the plurality of pages in the replaced order.
The above and other objects, features, aspects and advantages of the present invention will become apparent from the following detailed description, which is to be read in connection with the accompanying drawings.
Drawings
Fig. 1 is a schematic diagram showing an internal configuration of an image forming apparatus.
Fig. 2 is a block diagram showing an example of a hardware configuration of a main body of the image forming apparatus.
Fig. 3 is a diagram for explaining division of data without a header.
Fig. 4 is a diagram for explaining division of data having a header.
Fig. 5 is a diagram for explaining a time flow of the virus inspection process and the designated process.
Fig. 6 is a diagram for explaining a change in the procedure of virus inspection.
Fig. 7 is a diagram for explaining a change of the order in the case where only 1 page is designated from among a plurality of pages.
Fig. 8 is a diagram for explaining a change of the order in the case where 2 pages are designated from a plurality of pages.
Fig. 9 is a diagram for explaining a user interface when page data is specified.
Fig. 10 is a diagram for explaining a change of the order in the case where 2 pages are designated from a plurality of pages.
Fig. 11 is a diagram showing a state in which a plurality of pages are divided into a plurality of groups in 3-page units in order from the 1 st page, and the pages in the group units are simultaneously preview-displayed on the
Fig. 12 is a diagram for explaining a change in order in the case where a page is designated from a plurality of pages.
Fig. 13 is a diagram for explaining the implementation of virus inspection at the time of flick operation.
Fig. 14 is a diagram for explaining a change of the order in the case where the face-up function is selected.
Fig. 15 is a diagram for explaining a change of the procedure in the case where the booklet printing function is selected.
Fig. 16 is a diagram showing a typical example of a data structure when data division and sorting are performed.
Fig. 17 is a functional block diagram for explaining a functional configuration of the image forming apparatus.
Fig. 18 is a flowchart for explaining the flow of processing for generating a temporary data queue 402 from document data 401.
Fig. 19 is a flowchart for explaining the flow of processing for generating a page list from the temporary data queue.
Fig. 20 is a flowchart for explaining the flow of page data registration processing from the temporary data queue to the data queue for virus inspection based on the page list.
Fig. 21 is a flowchart for explaining details of step S206 in fig. 19.
Fig. 22 is a flowchart for explaining the flow of processing related to the sub page list.
Fig. 23 is a flowchart for explaining details of step S209 in fig. 19.
Fig. 24 is a flowchart for explaining the sorting process based on the action pattern.
Detailed Description
The following describes an image forming apparatus according to an embodiment with reference to the drawings. In the embodiments described below, when numbers, amounts, and the like are referred to, the scope of the present disclosure is not necessarily limited to the numbers, amounts, and the like unless otherwise specified. The same or corresponding components are denoted by the same reference numerals and will not be described repeatedly.
In the drawings, the actual dimensions are not shown to scale, and for the sake of understanding the structure, the scale is changed in some places to clearly show the structure. The embodiments and modifications described below can be appropriately selected and combined.
In the following description, an image forming apparatus as a color printer is described, but the image forming apparatus is not limited to the color printer. For example, the image forming apparatus may be a monochrome printer, a FAX, or a monochrome printer, a color printer, or a FAX all-in-one machine (MFP: Multi-Functional personal computer).
< A. device Structure
[ a1. internal Structure of image Forming apparatus 1000 ]
Fig. 1 is a schematic diagram showing an internal configuration of an
The
The
The
The
The
The
The
The
In addition, the
[ a2. hardware structure of main body part 10 ]
Fig. 2 is a block diagram showing an example of a hardware configuration of
Referring to fig. 2, the
The
The
The network IF36 transmits and receives various information to and from an external apparatus such as a PC (not shown) and another image forming apparatus (not shown) connected via the network NW.
The
Typically, the fixed
Summary of processing
An outline of the process performed by
[ b1. division treatment ]
(1. 1 st example)
Fig. 3 is a diagram for explaining division of data without a header.
Referring to fig. 3, the
The
(2. 2 nd example)
Fig. 4 is a diagram for explaining division of data having a header.
Referring to fig. 4,
The
[ b2. post-segmentation processing ]
Fig. 5 is a diagram for explaining a time flow of the virus inspection processing and the designation processing (task processing).
Referring to fig. 5, the
Specifically, when the virus inspection for the element data # i (i is a natural number of 1 or more and N-1 or less) is completed, the
In this manner, the
Therefore, according to
More specifically, in the case of data D2 (fig. 4) having a header Dh,
[ b3. sequence Change processing ]
Fig. 6 is a diagram for explaining a change in the procedure of virus inspection.
Referring to fig. 6, state (a) shows a default arrangement order after the division processing. In the state (a), virus inspection is performed in order from the element data #1 (in order from the left side of the figure).
The state (B) schematically represents a state in which the
State (C) shows the state after state (B). When the
Specifically, the
In this manner, the
Specific example of sequence Change processing
Hereinafter, a process of changing the order of virus inspection from the default order will be described as a specific example.
In the following, a case will be described as an example where data to be divided (for example, data D1 and D2) is document data (document) having a plurality of pages. In detail, a case where the element data De is data of 1 page (hereinafter, also referred to as "page data") in the document data will be described. That is, the case where the
In the following specific examples 1, 2, and 3, the case where the predetermined processing is "preview display" will be described. In specific 4 th and 5 th examples, a case where the predetermined process is a "printing process" will be described.
In specific examples 1, 2, and 3, a page is specified by a user operation such as a user selection of an icon, and page data of the page is specified.
[ c1. 1 st embodiment ]
(1) Specifying only 1 page
Fig. 7 is a diagram for explaining the change of the order in the case where the user designates only 1 page from among a plurality of pages.
Referring to fig. 7, state (a) shows a default arrangement order after the division processing. In the state (a), virus inspection is performed in order from the page data #1 (in order from the left side of the figure).
State (B) schematically represents a state in which
State (C) shows the state after state (B). When the
Specifically, the
In this manner, the
(2) Specifying multiple pages
Fig. 8 is a diagram for explaining a change of the order in the case where the user designates 2 pages from among the multiple pages.
Referring to fig. 8, state (a) shows a default arrangement order after the division processing. In the state (a), virus inspection is performed in order from the page data #1 (in order from the left side of the figure).
The state (B) schematically represents a state in which the
State (C) shows the state after state (B). When the
Specifically, the
In this manner, the
(3) User interface example for specifying timing
Fig. 9 is a diagram for explaining a user interface when page data is specified.
Referring to fig. 9, the
The state shown in fig. 9 indicates a state in which the user selects 5
(4) Small knot
The
Further, the
[ c2. description of embodiment 2 ]
In this specific example, a configuration in which the order of virus check is changed for page data of an unspecified page will be described.
(1) With priority given to a given page and adjacent pages
A description will be given of a configuration in which virus check is preferentially performed also on page data of a page adjacent to a page designated by a user.
Fig. 10 is a diagram for explaining a change of the order in the case where the user designates 2 pages from among the multiple pages.
Referring to fig. 10, state (a) shows a default arrangement order after the division processing. In the state (a), virus inspection is performed in order from the page data #1 (in order from the left side of the figure).
The state (B) schematically represents a state in which the
State (C) shows the state after state (B). When the
Specifically, the
Thereafter, the
Next, the
Further, the
In this manner,
(2) With priority given to groups of pages
The
Fig. 11 is a diagram showing a state in which a plurality of pages are divided into a plurality of groups in 3-page units in order from the 1 st page, and pages in group units are simultaneously preview-displayed on the
Referring to fig. 11, state (a) represents a state in which page data of
In the following, when
Fig. 12 is a diagram for explaining a change in order in the case where a page is designated from a plurality of pages.
Referring to fig. 12, state (a) shows a default arrangement order after the division processing. The state (B) schematically shows a state in which
State (C) shows the state after state (B). When the
Specifically, the
In this case, since the virus inspection of the 3 rd
As shown in the transition example of fig. 11, after the preview display of the 3 rd group is performed, the preview display of the groups (the 2 nd group and the 4 th group) before and after the 3 rd group is performed is highly likely. In this regard,
(3) Small knot
The
Further, the
[ c3. example 3 ]
The
Fig. 13 is a diagram for explaining the implementation of virus inspection at the time of flick operation.
Referring to fig. 13, state (a) shows a state in which a
When the
The state (B) shows a state in which a
When the state of the state (B) continues for a certain time or longer, the page data associated with the displayed icon is specified as shown in the state (C). In this example, not only the
When such specification is performed, the
(Small knot)
The
The
Specifically, the
[ c4. detailed description in 4 th case ]
The
Fig. 14 is a diagram for explaining a change of the order in the case where the face-up function is selected.
Referring to fig. 14, state (a) shows a default arrangement order after the division processing. The state (B) shows the state after the order is changed. As shown in state (B), the
With this configuration, when the right-side up function is executed, the virus inspection can be performed in the order of the printing order (descending order). Therefore, the time required for the printing process can be shortened as compared with the case where the virus inspection is performed in the default order (ascending order).
(Small knot)
As described above, the
[ c5. detailed description of the 5 th embodiment ]
The
Fig. 15 is a diagram for explaining a change of the procedure in the case where the booklet printing function is selected.
Referring to fig. 15, state (a) shows a default arrangement order after the division processing. As an example, a default arrangement order of 8 page data in the case of creating an 8-page booklet is shown.
The state (B) shows the changed order in the case where the booklet printing function is selected by the user. In this case, the
With this configuration, when the booklet printing function is executed, the virus check can be performed in the order of the printing order (descending order). Therefore, the time required for the printing process can be shortened as compared with the case where the virus inspection is performed in the default order (ascending order).
(Small knot)
As described above,
< D. data Structure >
As described above, the
Fig. 16 is a diagram showing a typical example of a data structure when data division and sorting are performed.
Referring to fig. 16, the
The document data has a header portion and a body portion. The main body is composed of N
For example, if
When the specification of the page data is completed, the page data is stored in the virus inspection data queue 404 in a changed order. In the case of this example, page data is stored in the order of
The details are as described later, but typically, the page list 403 is composed of a main page list and a sub page list.
Structure of function >
Fig. 17 is a functional block diagram for explaining a functional configuration of the
Referring to fig. 17,
The
The communication IF
The data obtained by the
The dividing
The
The receiving
The
The display control unit 561 causes the
The print processing unit 562 controls each unit of the
The editing processing unit 563 performs editing based on a user operation on a page designated by the user. Specifically, the editing unit 563 performs image quality adjustment such as image shift amount, image position adjustment, screen processing, tone curve adjustment, and the like on the designated page. The editing unit 563 performs sample printing after image quality adjustment. This allows the user to confirm whether the adjusted image quality is as expected.
The following describes the processing of the
(1) When the data stored in the
(2) On the other hand, when the virus inspection for the page data by the
(3) On the other hand, the receiving
(4) On the other hand, the receiving
(5) On the other hand, the receiving
When all or a part of the designated pages are consecutive, the
(6) On the other hand, as the designated processing, the display control portion 561 of the
When performing a virus check on page data of a plurality of pages, the
(7) The display control unit 561 of the
The receiving
Specifically, the receiving
(8) When the operation mode of the front-up function is designated, the
(9) When the operation mode of the booklet printing function is specified, the
Typically, the dividing
Control Structure
Next, a flow of processing executed by
Referring again to fig. 16, in
(1) Process of generating temporary data queue 402 from document data 401
(2) Registration processing from the temporary data queue 402 to the page list 403 (including registration to the sub-page list in the case where the specified pages are continuous)
(3) The page data is registered from the temporary data queue 402 to the virus inspection data queue 404 based on the page list 403 (order change process)
Fig. 18 is a flowchart for explaining the flow of processing (1)) of generating the temporary data queue 402 from the document data 401.
Referring to fig. 18, in step S101, the CPU311 (see fig. 2 and the like) acquires page information from the header of document data. In step S102, the CPU311 acquires information of the total number of pages (N) of the document data from the acquired page information.
In step S103, the CPU311 sets the value of a predetermined variable i to 1. In step S104, the CPU311 reads page data # i of the ith page from the main body section of the document data. In step S105, the CPU311 increments the value of the variable i. That is, the CPU311 increments the value of i by 1.
In step S106, the CPU311 determines whether i is N or more. When the CPU311 determines that i is equal to or greater than N (yes in step S106), in step S107, all the read
Fig. 19 is a flowchart for explaining the flow of the process of generating the page list from the temporary data queue (process (2)).
In step S201, the CPU311 determines whether the user operation for the page icon (see fig. 9) is a touch operation or a flick operation. If the CPU311 determines that the touch operation is performed, the process proceeds to step S202. If the CPU311 determines that the flick operation has been performed, the process proceeds to step S208.
In step S202, the CPU311 determines whether the generation of the page list 403 is completed. When determining that the page list 403 is not generated (no in step S202), the CPU311 generates the page list 403 in step S203. Thereafter, the CPU311 advances the process to step S204. Further, when determining that generation of page list 403 is completed (yes in step S202), CPU311 advances the process to step S204.
In step S204, the CPU311 registers page information (typically, page number) of a page corresponding to the page icon designated (selected) by the touch operation in the page list 403.
In step S205, the CPU311 determines whether the page numbers registered in the page list 403 are consecutive. If the CPU311 determines that the pages are consecutive (yes in step S205), it determines that the designated pages are consecutive in step S206, and registers page information on pages before and after the designated pages in the page list 403 (specifically, the sub-page list). Thereafter, the CPU311 advances the process to step S207. Further, if the CPU311 determines that the processing is not continuous (no in step S205), the processing proceeds to step S207.
In step S207, the CPU311 determines whether a touch operation is further accepted. If the CPU311 determines that a further touch operation has been accepted (yes in step S207), the process proceeds to step S202. When determining that no further touch operation has been accepted (specifically, when accepting a user operation to the effect of selecting the end page icon 351), the CPU311 ends the series of processing.
In step S208, the CPU311 generates the page list 403. In step S209, the CPU311 acquires the page number of the designated (centrally located) page icon 361 (refer to fig. 13) and the number of displayed page icons (5 in the case of fig. 13), and generates the page list 403. For example, in the case of fig. 13, page numbers (page information) for 5 pages of 13 pages to 17 pages are registered in the page list 403.
Fig. 20 is a flowchart for explaining the flow of page data registration processing (3)) from the temporary data queue 402 to the virus inspection data queue 404 based on the page list 403.
Referring to fig. 20, in step S301, the CPU311 reads the page list 403. In step S302, the CPU311 determines whether or not page information is registered in the page list 403. When determining that the registration is made (yes in step S302), the CPU311 sets the value of a predetermined variable j to 1 in step S303. If it is determined that the registration is not performed (no in step S302), the CPU311 ends the series of processing.
In step S304, the CPU311 reads page information of the jth from the top in the page list 403. In step S305, the CPU311 moves the read page data of the jth page information (typically, page number) from the temporary data queue 402 to the data queue 404 for virus inspection. Specifically, after the page data is registered in the data queue 404 for virus inspection, the page data is deleted from the temporary data queue 402.
In step S306, the CPU311 determines whether or not other page information exists in the page list 403. If the CPU311 determines that other page information is present (yes in step S306), the value of j is incremented in step S307. Thereafter, the CPU311 advances the process to step S304. When determining that there is no other page information (no in step S306), the CPU311 ends the series of processing.
Next, details of step S206 in fig. 19 will be described. In detail, the registration process in the sub page list will be described.
Fig. 21 is a flowchart for explaining details of step S206 in fig. 19.
Referring to fig. 21, in step S401, the CPU311 sets the value of a predetermined variable k to 1. In step S402, page information (typically, a page number) at the head of the k-th continuous page group is acquired from the page list 403.
In addition, the "continuous page group" means that, when page numbers of 3 pages, 4 pages, 8 pages, and 9 pages are registered as page information in the page list 403, for example, 3 pages and 4 pages constitute 1 continuous page group, and 8 pages and 9 pages constitute 1 continuous page group. That is, in this case, there are 2 consecutive page groups.
In step S403, the CPU311 determines whether or not a
In step S405, the CPU311 acquires the last page information (typically, page number) of the k-th continuous page group from the page list 403. In step S406, the CPU311 determines whether
In step S408, the CPU311 determines whether another continuous page group exists. If the CPU311 determines that the value is present (yes in step S408), the value of k is incremented in step S409. Thereafter, the CPU311 advances the process to step S402. If the CPU311 determines that there is no processing (no in step S408), it ends the series of processing.
Fig. 22 is a flowchart for explaining the flow of processing related to the sub page list.
Referring to fig. 22, in step S501, the CPU311 reads the sub-page list. In step S502, the CPU311 determines whether page information is registered in the sub-page list. If the CPU311 determines that the registration is made (yes in step S502), the CPU sets the value of a predetermined variable m to 1 in step S503. In step S504, the CPU311 reads page information of the mth from the top in the sub-page list. In step S505, the CPU311 moves the page data of the read mth page information from the temporary data queue 402 to the data queue 404 for virus inspection.
In step S506, the CPU311 determines whether there is other page information in the sub page list. If the CPU311 determines that other page information is present (yes in step S506), in step S507, the value of m is incremented. Thereafter, the CPU311 advances the process to step S504. If the CPU311 determines that there is no other page information (no in step S506), it ends the series of processing.
Fig. 23 is a flowchart for explaining details of step S209 in fig. 19.
Referring to fig. 23, in step S601, the CPU311 determines whether or not the page icon 361 (see fig. 13) is moving. If the CPU311 determines that the movement is underway (yes in step S601), the process returns to step S601. If determining that the movement is not being performed (no in step S601), the CPU311 determines in step S602 whether or not the
When determining that the page icon has been stopped for a predetermined time or more (yes in step S602), the CPU311 acquires page information of the page icon displayed on the
Fig. 24 is a flowchart for explaining the sorting process based on the action pattern.
Referring to fig. 24, in step S701, the CPU311 acquires information of the operation mode. In step S702, the CPU311 determines whether or not there is a process of changing the printing order in the acquired operation pattern. For example, when the operation mode is the mode for executing the front-side up function or the mode for executing the booklet printing function, the CPU311 determines that the print order change processing is present.
If the CPU311 determines that the process of changing the printing order is present (yes in step S702), it determines whether or not there is a change in the page layout in step S703. For example, when the operation mode is a mode for executing the front-side up function, the CPU311 determines that there is no change in page layout. On the other hand, the CPU311 determines that there is a change in page layout when the booklet printing function is in the mode.
If the CPU311 determines that there is a change in page layout (yes in step S703), in step S704, page layout processing is executed. Thereafter, the CPU311 advances the process to step S705. When determining that there is no change in the page layout (no in step S703), the CPU311 advances the process to step S705.
In step S705, the CPU311 registers the page data of the temporary data queue 402 in the virus inspection data queue 404 in a sorted state.
The embodiments of the present invention have been described, but the embodiments disclosed herein are not intended to be limiting but are merely illustrative in all respects. The scope of the present invention is indicated by the appended claims, and all changes that come within the meaning and range of equivalency of the claims are intended to be embraced therein.
- 上一篇:一种医用注射器针头装配设备
- 下一篇:一种扫描设备及其激光指向扫描方法