Peripheral device, control method for peripheral device, and program

The described mechanism enables concurrent use of scanners by managing sessions and parallel processing, addressing inefficiencies in scanner usage by allowing multiple users to perform different stages of operations simultaneously, thereby improving operating rates and productivity.

JP7595432B2Active Publication Date: 2024-12-06CANON DENSHI KK
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2020134445
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-08-07
Publication Date
2024-12-06
Estimated Expiration
2040-08-07

AI Technical Summary

Technical Problem

Conventional scanners require all processing stages to be completed by one user before another can use the device, leading to inefficiencies in operating rates.

Method used

A mechanism that allows parallel processing by storing data after first-stage operations and managing sessions to enable multiple users to access and utilize a scanner simultaneously, including first-stage processing for one user while others perform second-stage operations.

Benefits of technology

Improves the operating rate of peripheral devices by allowing concurrent use of scanners, preventing data from occupying storage due to user errors or battery issues, and enhancing productivity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007595432000001
    Figure 0007595432000001
  • Figure 0007595432000002
    Figure 0007595432000002
  • Figure 0007595432000003
    Figure 0007595432000003
Patent Text Reader

Abstract

To improve the operating ratio of a peripheral device, such as a scanner to improve productivity.SOLUTION: A scanner 1 does not receive a request from a portable terminal 2b until all of scan processing of a portable terminal 2a ends, and when all of the scan processing of the portable terminal 2a ends, receives the request from the portable terminal 2b even during the execution of editing processing and transfer processing of the portable terminal 2a. The scanner can execute scan processing of the portable terminal 2b in parallel with the editing processing and transfer processing of the portable terminal 2a, and when image data generated through the scan processing of the portable terminal 2b cannot be stored in a storage unit 12, interrupts the scan processing of the portable terminal 2b until the image data can be stored in the storage unit.SELECTED DRAWING: Figure 17
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a peripheral device that can be used from an information processing device such as a mobile terminal via a network, a control method for the peripheral device, and a program. [Background technology]

[0002] In recent years, it has become common to connect peripheral devices such as scanners to the same network as an information processing device, such as a local area network (LAN), and to share and use the peripheral devices from multiple information processing devices. In addition, smartphones, tablet PCs, and the like have become widespread as portable information processing devices, and there has been an increasing demand for using peripheral devices from portable information processing devices.

[0003] Patent Document 1 proposes a technique for allowing an information processing device to access a peripheral device by reading code information displayed on the peripheral device, thereby transmitting and receiving document data from the information processing device.

[0004] When an information processing device uses a peripheral device, the peripheral device may already be in use by another information processing device, and therefore the peripheral device generally excludes requests from any information processing device other than the one currently in use.

[0005] In recent years, it has become possible to access and control peripheral devices from a web browser of an information processing device using web application technology. When performing exclusive processing with a web application, this can be done through session management.

[0006] A scanner (image reading device), which is an example of a peripheral device, is a device that executes a series of processes, including a scanning process for transporting an original and reading image data, an editing process for the image data after the scanning process, and a transfer process for the edited image data. For ease of explanation, hereinafter, the scanning process will be referred to as the "pre-stage processing," and the editing process and transfer process will be collectively referred to as the "post-stage processing." [Prior art documents] [Patent documents]

[0007] [Patent Document 1] Patent No. 5822040 Summary of the Invention [Problem to be solved by the invention]

[0008] In conventional scanners, the next user could not use the peripheral device until all processes, including pre-processing and post-processing, were completed. However, if the previous user's pre-processing (scanning) is completed and post-processing (editing or transfer) is in progress, it is desirable from the viewpoint of improving the operating rate of the peripheral device to perform the next user's pre-processing (scanning) in parallel with the previous user's post-processing.

[0009] The present invention has been made to solve the above-mentioned problems, and an object of the present invention is to provide a mechanism for improving the operating rate of peripheral devices. [Means for solving the problem]

[0010] In view of the above, the present invention provides a method for storing data generated by a first process in a storage area, the method comprising: receiving means for receiving a request from an information processing device capable of communicating via a network; first processing means for performing a first process in response to the request received by the receiving means and storing data generated by the first process in a storage area; In response to an operation received from the information processing device in a state in which the data is stored in the storage area, The data processing device includes a second processing means for performing a second processing on the data, and an erasing means for erasing the data from the storage area when the second processing is completed, and the accepting means does not accept requests from other information processing devices other than the requester of the first processing until the first processing based on the request is completed, and when the first processing based on the request is completed, accepts requests from the other information processing devices even if the second processing is being executed. Effect of the Invention

[0011] According to the present invention, the operating rate of peripheral devices can be improved. [Brief description of the drawings]

[0012] [Figure 1] FIG. 1 is a diagram showing an example of the configuration of a system according to an embodiment of the present invention. [Diagram 2] FIG. 4 is a diagram showing an example of a session management table included in the UI providing unit. [Diagram 3] FIG. 4 is a diagram showing an example of a session management table included in the UI providing unit. [Figure 4] FIG. 4 is a diagram showing an example of a session management table included in the UI providing unit. [Diagram 5] FIG. 4 is a diagram showing an example of a session management table included in the UI providing unit. [Figure 6] 6 is a flowchart illustrating a process flow when the scanner 1 is used from a mobile terminal. [Figure 7] FIG. 4 is a diagram showing an example of a menu screen of a scanner. [Figure 8] FIG. 13 is a diagram showing an example of a URL display screen of the scanner. [Figure 9] FIG. 11 is a diagram showing an example of a scan setting screen displayed on the mobile terminal. [Figure 10] FIG. 13 is a diagram showing an example of a scanning screen displayed on the mobile terminal. [Figure 11] FIG. 13 is a diagram showing an example of a continuation confirmation screen displayed on the mobile terminal. [Figure 12] FIG. 13 is a diagram showing an example of an image editing screen displayed on a mobile terminal. [Figure 13] FIG. 13 is a diagram showing an example of a detailed editing screen displayed on a mobile terminal. [Figure 14] FIG. 13 is a diagram showing an example of a screen displayed on the mobile terminal when the screen is in use by another user. [Figure 15] FIG. 13 is a diagram showing an example of a screen displayed on the mobile terminal when the screen is in use by another user. [Figure 16] 10 is a flowchart showing an example of a reception process according to the present embodiment. [Figure 17]5 is a flowchart showing an example of a scan process according to the present embodiment. [Figure 18] FIG. 13 is a diagram showing an example of a storage area shortage screen displayed on a mobile terminal. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] An embodiment of the present invention will be described below. In this example, a scanner is used as an example of a peripheral device, but the present invention is not limited to a scanner as a peripheral device, and can be applied to peripheral devices used in a similar environment.

[0014] [First embodiment] FIG. 1 is a diagram showing an example of a system configuration according to an embodiment of the present invention. The scanner 1 and the portable terminal 2a and the portable terminal 2b are communicatively connected to the same LAN 3, and are capable of transmitting and receiving data to and from each other.

[0015] For example, the IP address of the scanner 1 is assigned "192.168.1.10." The IP address of the portable terminal 2a is assigned "192.168.1.100." The IP address of the portable terminal 2b is assigned "192.168.1.101."

[0016] It is possible to further increase the number of mobile terminals (portable information processing devices) or to use normal information processing devices (such as personal computers) that are not portable information processing devices, but for the sake of simplicity, the above configuration is used in this example. Hereinafter, these information processing devices may be simply referred to as "terminals." Furthermore, LAN 3 may be a wireless network, a wired network, or a mixed wireless and wired network.

[0017] Scanner The scanner 1 is an image reading device equipped with an image reading unit 11 that has a function of reading a paper document and converting it into image data. The image reading unit 11 stores the read image data in a storage unit 12 under the control of a control unit 13.

[0018] The control unit 13 controls the entire scanner 1 by executing programs stored in a storage unit (not shown) in the control unit 13 or in the storage unit 12 .

[0019] The UI (user interface) unit 14 includes a display panel (not shown) and various keys such as an OK key, a cancel key, an up key, a down key, a numeric keypad, etc. The screen displayed on the display panel and detection of pressing of various keys are performed under the control of the control unit 13.

[0020] The transmitting / receiving unit 15 transmits a UI created by a UI providing unit 16 (described later) to the terminal in response to a request issued from the terminal. The transmitting / receiving unit 15 also receives requests such as a scan start request, a status confirmation request, and an image acquisition request, and transmits responses to the received requests.

[0021] The UI providing unit 16 creates operation screens and notification screens in html format, such as a scan setting screen for changing scan settings, an image editing screen and a detailed editing screen for editing scanned images, and a status display screen showing the current status such as during scanning, and provides them to the terminal. The UI providing unit 16 may create html format data with a program written in JavaScript (registered trademark) or the like embedded in it. By creating it in html format, the screens created by the UI providing unit 16 can be displayed on a web browser running on the terminal.

[0022] Furthermore, the UI providing unit 16 has an exclusion function that performs exclusion processing on requests from other terminals when the scanner 1 is being used from a specific terminal. This exclusion function is performed by session management. Specifically, when the scanner 1 is accessed from a web browser of a terminal, the scanner 1 acquires the IP address of the terminal that has accessed it. The scanner 1 then stores the IP address of the terminal that has accessed it as a session ID for session management in a session management table (for example, a table such as those shown in FIGS. 2 to 5) stored in a storage unit (not shown) provided in the UI providing unit 16.

[0023] 2 to 5 are diagrams showing an example of a session management table provided in the UI providing unit 16. In FIG. The session management table is configured to store multiple session IDs linked with scan processing end flags in order to manage the order of use of the scanner 1, and each row is assigned a usage order in advance. The initial value of the session ID is "0" to indicate the initial state. The initial value of the scan processing end flag is "- (hyphen)" to indicate the initial state.

[0024] When all session IDs are at their initial values ​​as shown in Fig. 2, the UI providing unit 16 stores the IP address of the terminal that first made a UI provision request to the UI providing unit 16 as a session ID in the row of usage order "1" in the session management table. For example, when the scanner 1 is accessed from the mobile terminal 2a, the UI providing unit 16 stores the session ID of usage order "1" as "192.168.1.100" and the scan processing end flag as "No" as shown in Fig. 3.

[0025] Thereafter, the UI providing unit 16 sequentially stores the IP addresses of newly accessed terminals as session IDs in the rows of the usage order "2" and onwards. For terminals for which the "scanning process" has been completely completed, the UI providing unit 16 overwrites the scan process completion flag to "Yes". For example, when the scanner is accessed from mobile terminal 2b in the state shown in Fig. 3, UI providing unit 16 stores the session ID of usage order "2" as "192.168.1.101" and the scan process end flag as "No". Then, when the "scan process" of mobile terminal 2a ends, UI providing unit 16 overwrites the scan process end flag of usage order "1" to "Yes". As a result, the session management table becomes as shown in Fig. 4.

[0026] Furthermore, when the series of processes related to scanning from the terminal stored in the usage order "1" is completed, the UI provision unit 16 deletes the session ID of the usage order "1" and moves up the session IDs of the usage order "2" and onwards. As a result, the session management table becomes as shown in Fig. 5. Note that the determination that the series of processes related to scanning from the terminal stored in the usage order "1" is completed is made when the "No" button 222 is pressed on a continuation confirmation screen 220 shown in Fig. 11, which will be described later, and the transmission / reception unit 15 receives information to the effect that the scanning process will not be continued, which is sent by the control unit 23 to the scanner 1.

[0027] When accessed by a terminal, scanner 1 compares the session ID stored in the usage order "1" in the session management table with the IP address of the access source, and if the comparison results are the same, it returns a response to the request to continue the scan process. On the other hand, if the comparison results are different, scanner 1 returns a response according to the usage status of scanner 1, which will be explained in detail in the "Reception process" below. Although the session management tables illustrated in FIGS. 2 to 5 are configured to store five rows of session IDs, the number of rows that can be stored may be increased or decreased as necessary. In the above description, the order of use is determined based on the order of access. However, it may be possible to overtake other users and take up the order of use, for example, "2."

[0028] Mobile devices The mobile terminals 2a and 2b are portable terminals such as smartphones and tablet PCs, and have the same configuration. Hereinafter, when describing functions common to the mobile terminals 2a and 2b, they may be referred to as "mobile terminal 2" and may be described using the same reference numerals.

[0029] The transmitting / receiving unit 21 transmits and receives various data to and from devices on the LAN 3 . The storage unit 22 stores application programs such as the OS (Operating System) of the mobile terminal and a web browser. The control unit 23 executes the programs stored in the storage unit 22 and controls the entire mobile terminal 2.

[0030] The UI unit 24 has a touch panel and displays a home screen, a web browser screen, and the like. When a button is displayed on the screen displayed on the touch panel, the UI unit 24 can detect a tap. The UI unit 24 also has a home key, and when the home key is pressed, a home screen is displayed on the touch panel. On the home screen, an application such as a web browser can be selected. The screen display of the touch panel, tap detection, and pressing detection of the home button are performed under the control of the control unit 23.

[0031] Mobile terminal 2 is equipped with camera 25. Mobile terminal 2 may have a function of reading codes such as two-dimensional codes (e.g., QR code (registered trademark)) read by camera 25 under the control of control unit 23. When mobile terminal 2 is capable of reading two-dimensional codes, it is possible to access a URL destination using URL information obtained from the two-dimensional code.

[0032] <Overall processing flow> FIG. 6 is a flowchart illustrating the flow of a series of processes when the scanner 1 is used from the portable terminal 2a. When the scanner 1 is powered on, the control unit 13 of the scanner 1 displays a menu screen 100 as shown in FIG.

[0033] FIG. 7 is a diagram showing an example of the menu screen 100 of the scanner 1. As shown in FIG. There are two menu items, "Web application mode" and "Main unit settings", in the menu screen 100 shown in Fig. 7. The user can select one of the items by pressing the up key or the down key of the UI unit 14, and then confirm the item by pressing the OK key.

[0034] When "Web application mode" is selected on this menu screen 100, the scanner 1 starts the web application mode following step S1000 in Fig. 6. On the other hand, when "Device settings" is selected, items related to device settings are displayed, but a description of these will be omitted.

[0035] In step S1000 in FIG. 6, when the control unit 13 of the scanner 1 starts the web application mode, the control unit 13 displays a URL display screen 110 as shown in FIG. 8 is a diagram showing an example of a URL display screen 110 of the scanner 1. This screen displays a URL and a two-dimensional code (e.g., a QR code) in which the contents of the URL are embedded, and this screen is displayed on the display panel of the UI unit 14 in the web application mode.

[0036] The user starts the web browser of the mobile terminal 2a and inputs the URL displayed on the display panel of the UI unit 14 of the scanner 1 from the touch panel of the UI unit. In response to this operation, the web browser executed by the control unit 23 of the mobile terminal 2a accepts the input of the URL (S1001) and uses the URL to access the scanner 1. Note that if the terminal device 2a is equipped with a camera and is capable of reading two-dimensional codes, the input of the URL may be substituted by reading the two-dimensional code from the camera.

[0037] In response to the access from the mobile terminal 2a, the UI providing unit 16 of the scanner 1 performs an acceptance process (S1002). Details of the acceptance process are shown in FIG. 16, which will be described later. Here, it is assumed that all scan processes by other users have been completed in the scanner 1. That is, it is assumed that all session IDs are in the initial value state as shown in FIG. 2. In this case, the UI providing unit 16 of the scanner 1 stores the session ID of the usage order "1" as "192.168.1.100" and the scan process end flag as "No" as shown in FIG. 3, and accepts the request from the mobile terminal 2a. Then, the UI providing unit 16 transmits a scan setting screen 200 as shown in FIG. 9 to the web browser of the mobile terminal 2a. As a result, the scan setting screen 200 as shown in FIG. 9 is displayed on the web browser of the mobile terminal 2a. FIG. 9 is a diagram showing an example of a scan setting screen 200 displayed on the mobile terminal.

[0038] The web browser of the mobile terminal 2a accepts scan settings from the scan setting screen 200 via the touch panel of the UI unit 24 (S1003). The user operates the scan setting screen 200 displayed on the web browser of the mobile terminal 2a via the touch panel of the UI unit 24 to perform scan settings. In the example of Fig. 9, the color mode is set to "Color", the document size is set to "A4", and the resolution is set to "300 dpi", but the settings are not limited to these, and scan setting items and contents may be added or changed as appropriate depending on the functions of the scanner 1.

[0039] Then, when the user presses the "Start Scan" button 204 to confirm the scan settings, the control unit 23 of the mobile terminal 2a advances the process to S1004.

[0040] In S1004, the control unit 23 of the portable terminal 2a transmits a scan start request to the scanner 1. This scan start request includes the scan settings received in S1003 above.

[0041] When the control unit 13 of the scanner 1 receives the scan start request via the transmission / reception unit 15, it starts the scan process based on the scan settings included in the request (S1005). Details of the scan process are shown in FIG. 17, which will be described later. If the scan start request is not received even after a certain time has passed since the scan setting screen 200 was sent to the terminal, the control unit 13 of the scanner 1 times out, deletes the session ID of the terminal in the session management table, moves up the usage order, and moves the process to the next session ID. Note that the timeout may be set when a certain time has passed since the session ID was stored in the usage order "1" in the session management table, rather than after the scan setting screen 200 was sent to the terminal.

[0042] Although not shown, the portable terminal 2a that instructed to start scanning periodically issues a status confirmation request to inquire of the scanner 1 about the status of the scan process. In response to this request, the UI providing unit 16 of the scanner 1 creates a status display screen showing the current status and provides it to the web browser of the portable terminal 2a. If the scan process corresponding to the above scan start request has not ended, a scanning in progress screen 210 is provided, which indicates that scanning is in progress, as shown in FIG. 10. FIG. 10 is a diagram showing an example of a scanning screen 210 displayed on the mobile terminal.

[0043] On the other hand, when the scan process for the scan start request is completed, the UI providing unit 16 of the scanner 1 transmits a continuation confirmation screen 220 as shown in Fig. 11 to the web browser of the mobile terminal 2a. As a result, the continuation confirmation screen 220 as shown in Fig. 11 is displayed on the web browser.

[0044] FIG. 11 is a diagram showing an example of a continuation confirmation screen 220 displayed on the mobile terminal. When the user presses the "Yes" button 221 on the continuation confirmation screen 220 (Yes in S1007), the control unit 23 returns the process to S1004 to perform an additional scan.

[0045] On the other hand, if the "No" button 222 is pressed (No in S1007), the control unit 23 transmits information to the scanner 1 that the scan process will not be continued. In response to this, the UI providing unit 16 of the scanner 1 determines that all scan processes of the mobile terminal 2a have been completed, and overwrites the corresponding scan process end flag with "Yes". Then, the UI providing unit 16 creates an image editing screen 230 as shown in FIG. 12 and provides it to the web browser of the mobile terminal 2a (S1008). As a result, the image editing screen 230 as shown in FIG. 12 is displayed on the web browser, and the control unit 23 of the mobile terminal 2a accepts an operation to edit the scanned image via the UI unit 24.

[0046] FIG. 12 is a diagram showing an example of an image editing screen 230 displayed on the mobile terminal. The example in Fig. 12 displays an image editing screen 230 when four images are scanned, and four thumbnails 231, 232, 233, and 234 corresponding to the four scanned images are displayed. On the image editing screen 230, the user can change the order of the images by dragging them. Also, by tapping an image, a detailed editing screen 240 as shown in Fig. 13 is displayed on the web browser of the mobile device 2a.

[0047] FIG. 13 is a diagram showing an example of a detailed edit screen 240 displayed on the mobile terminal. In S1009, the control unit 23 of the portable device 2a accepts an editing operation on the detailed editing screen 240. When an editing operation is performed, the control unit 23 of the portable device 2a notifies the scanner 1 of the editing operation. In response to this notification, the scanner 1 performs an editing process according to the notified editing operation (S1010) and transmits the editing result to the portable device 2a. For example, when the user presses the "rotate 90 degrees" button 242, a process of rotating the currently displayed image clockwise by 90 degrees is performed. In addition, when the user presses the "trimming" button 243, an image trimming mode is started, and the image is trimmed to an area selected by the user. When the "complete" button 244 is pressed, the detailed editing process is ended, and the screen of the web browser of the portable device 2a transitions to the image editing screen 230. Here, when the image is tapped again on the image editing screen 230 (Yes in S1011), the portable terminal 2a returns the process to S1009 and enables editing of the image.

[0048] On the other hand, when the result of S1011 is No, and when the "Save and Exit" button 235 on the image editing screen 230 is detected to have been pressed, the mobile terminal 2a transmits an image acquisition request to the scanner 1. In response to this request, the control unit 13 of the scanner 1 transmits the image data stored in the storage unit 12 in the scan process of S1005 to the mobile terminal 2a (S1012). This downloads the image data to the mobile terminal 2a. The mobile terminal 2a receives the image data transmitted from the scanner 1 and stores it in the storage unit 22 of the mobile terminal 2a (S1013). The control unit 13 of the scanner 1 erases the image data that has been downloaded to the mobile terminal 2a from the storage unit 12, and a series of processes in the web application mode is completed. At this time, the UI provision unit 16 deletes the session ID of the usage order "1" and advances the session IDs of the usage order "2" and onward.

[0049] Furthermore, when the result of S1011 is No, and when it is detected that the "Exit without saving" button 236 on the image editing screen 230 has been pressed, the mobile terminal 2a notifies the scanner 1 that the process will end without saving. In response to this notification, the control unit 13 of the scanner 1 determines that permission has been granted to erase the image data stored in the storage unit 12 in the scan process of S1005 above, and the series of processes in the web application mode ends without saving the image data (deleting it from the storage unit 12). At this time, the UI provision unit 16 deletes the session ID with the usage order "1" and moves up the session IDs with the usage order "2" and onward.

[0050] The remaining time 237 on the image editing screen 230 or the remaining time 245 on the detailed editing screen 240 is the remaining time calculated by subtracting the time elapsed since the end of the scan process from a predetermined time. When the remaining time reaches zero, the control unit 13 times out, erases the image data corresponding to the scan process from the storage unit 12, and terminates the session with the corresponding terminal. This makes it possible to prevent the image data of the scan process from continuing to occupy the storage area of ​​the storage unit 12 in cases where the mobile terminal that requested the scan process is unable to continue the process due to a problem such as a dead battery or a program error, or where the user leaves the process after the scan process without proceeding further.

[0051] <Reception and scanning process> The above explanation has been given taking as an example the flow of processing when only the portable terminal 2a accesses the scanner 1. Next, the flow of reception processing and scanning processing that occurs when the portable terminal 2b accesses the scanner 1 while the portable terminal 2a is using the scanner 1 will be explained.

[0052] For example, when the scanner 1 is accessed from the mobile terminal 2b while the processing of steps S1003 to S1007 in FIG. 6 corresponding to the mobile terminal 2a is being performed, the UI providing unit 16 of the scanner 1 determines that the scanning process of the mobile terminal 2a is continuing, and displays a screen 250 in use by other users as shown in FIG. 14 on the mobile terminal 2b. It may be determined that the scanning process of the other mobile terminal is continuing because the scanning process of the session with the usage order "1" is "No" by referring to the session management table. This screen in use by other users can be used even when multiple people other than the user are waiting, and in that case, a screen 260 showing the number of people waiting as shown in FIG. 15 may be displayed. The number of people waiting can be calculated by referring to the session management table of the UI providing unit 16. For example, the number of people waiting is the number of terminals whose scanning process end flag is not "Yes" among the terminals in the usage order before the accessed terminal in the session management table. 14 and 15 are diagrams showing an example of a "Used by other users" screen displayed on a mobile terminal.

[0053] The flow of the reception process will be described below with reference to a flowchart. 16 is a flowchart showing an example of the reception process of this embodiment. This process is realized by the UI providing unit 16 of the scanner 1 executing a program stored in a storage unit (not shown) in the UI providing unit 16.

[0054] When the scanner 1 is accessed from a terminal (here, mobile terminal 2b), if the IP address of mobile terminal 2b is not managed in the session management table, the UI providing unit 16 of the scanner 1 adds it to the session ID in the session management table. If there is a change in the session management table, the UI providing unit 16 starts the process of this flowchart.

[0055] First, the UI providing unit 16 determines whether all scan processes of other users have been completed (S3000). This determination can be made by the UI providing unit 16 by referring to the session management table. In this determination, if the usage order of the accessing terminal in the session management table is "1" or if the scan process end flags of terminals earlier in the usage order than the accessing terminal are all "Yes", it is determined that all scan processes of other users have been completed, and if not, it is determined that the scan processes of other users are continuing.

[0056] When it is determined that all scan processes by other users have been completed (Yes in S3000), the UI providing unit 16 advances the process to S3001. In S3001, the UI providing unit 16 overwrites the scan processing end flag in the session management table of the mobile terminal 2b to "No", creates the scan setting screen 200, and provides (transmits) it to the mobile terminal 2b. In this case, the subsequent processing of the UI providing unit 16 merges with the scan processing described later.

[0057] On the other hand, if it is determined that the scan process of another user is continuing (No in S3000), the UI providing unit 16 advances the process to S3002. In S3002, the UI providing unit 16 creates the other user's in-use screen 250 (or 260) and provides (transmits) it to the mobile terminal 2b.

[0058] As described above, the scanner 1 of this embodiment does not accept a request from a terminal other than the terminal that requested the scan process (e.g., portable terminal 2b) until all scan processes at the terminal that accepted the request (e.g., portable terminal 2a) are completed, and when all scan processes at the terminal that accepted the request are completed, it can accept requests from other terminals even if the terminal that accepted the request is currently executing an editing process or a transfer process.

[0059] Next, if accessed from portable terminal 2b while the processing of steps S1008 to S1012 in Fig. 6 corresponding to portable terminal 2a is being performed, the scanner 1 determines that an edit process or save process is being performed on portable terminal 2a and that scan process on portable terminal 2b can be performed in parallel with these processes. Note that by referring to the session management table and seeing that the scan process of the session with the usage order "1" is "Yes", it may be determined that the scan process on another portable terminal has been completed and that an edit process or save process is being performed. The flow of the scan process in this embodiment will be described below.

[0060] 17 is a flow chart showing an example of the scan process of this embodiment. This process is realized by the control unit 13 of the scanner 1 executing a program stored in the storage unit 12 or a storage unit (not shown) in the control unit 13. Note that the scan process of a later user can be executed in parallel with the edit process or transfer process of a previous user. Explaining the above example, the scan process of the mobile terminal 2b can be executed in parallel with the edit process or transfer process of the mobile terminal 2a.

[0061] When a scan start request is received from the portable terminal 2b, the control unit 13 of the scanner 1 starts the process of this flowchart. First, in step S2000, the control unit 13 starts a scan process corresponding to the received scan start request (S2000).

[0062] Next, in step S2001, control unit 13 determines whether storage unit 12 has free space to store image data. In this determination, the size of the image data calculated from the scan settings is compared with the free space in storage unit 12, and if the free space is equal to or larger than the size of the image data, it is determined that there is free space; otherwise, it is determined that there is no free space. If storage unit 12 has free space to store image data (Yes in S2001), control unit 13 advances the process to step S2002 and executes scanning. As a result, a sheet of document transported from a document tray (not shown) is read, and the generated image data is stored in storage unit 12.

[0063] On the other hand, in the above S2001, if there is no free space in the memory unit 12 capable of storing image data (No in S2001), the control unit 13 waits until free space becomes available in the memory unit 12 capable of storing image data. During this wait, in response to a status confirmation request periodically issued from the mobile terminal 2b, the UI providing unit 16 provides the mobile terminal 2b with an insufficient memory space screen 270 indicating a status of insufficient memory space, as shown in Fig. 18. As a result, the insufficient memory space screen 270 is displayed on the web browser of the mobile terminal 2b, and the user of the mobile terminal 2b can be notified that the scanner 1 has insufficient memory space and that the processing of another user is to be completed. FIG. 18 is a diagram showing an example of a memory area shortage screen 270 displayed on the mobile terminal.

[0064] The image data stored in the storage unit 12 is erased by the control unit 13 in response to the image data being transferred to the mobile terminal (mobile terminal 2a in the above example) in S1011 of FIG. 6. The image data stored in the storage unit 12 is also erased by the control unit 13 in response to the remaining time 237 in FIG. 12 or the remaining time 245 in FIG. 13 having elapsed (timeout). The image data stored in the storage unit 12 is also erased by the control unit 13 in response to an instruction from an administrator (for example, a user authenticated as an administrator by a predetermined authentication method performed from the UI unit 14). For example, even if a web application or the like is terminated or interrupted before the document reading process is completed due to some accident such as the battery running out of the mobile terminal, and the like, and the scan session is not normally terminated, the administrator or the like can force the application to be terminated without waiting for the timeout, thereby enabling the scanner 1 to be used from another terminal. When the storage unit 12 has free space in which image data can be stored, the control unit 13 advances the process to step S2002.

[0065] When the scan in S2002 is completed, the control unit 13 advances the process to S2003. In step S2003, the control unit 13 determines whether or not there is a document in a document tray (not shown). If there is a document in the document tray (Yes in S2003), the control unit 13 returns the process to step S2001.

[0066] On the other hand, if there is no document in the document tray (No in S2003), the control unit 13 advances the process to step S2004. In S2004, the control unit 13 ends the scan process corresponding to the received scan start request, and ends the process of this flowchart. Note that at this point, the scan process of the portable terminal 2b may continue, and in S3000 of FIG. 16 described above, it is not determined that "all scan processes of the portable terminal 2b have ended."

[0067] In the above description of S2001, the size of the image data calculated from the scan settings is compared with the free space in the storage unit 12, and if there is free space, the process proceeds to S2002 to execute the scan, and if there is no free space, the process proceeds to S2010 to interrupt the scan. However, the present invention is not limited to a configuration in which the size of the image data calculated from the scan settings is compared with the free space in the storage unit 12. For example, when a scan is performed using a line sensor, if one line of image data can be stored in the storage unit 12, the process proceeds to S2002 to execute the scan, and if one line of image data cannot be stored, the scan may be interrupted.

[0068] As a result, while an editing process or a saving process is being performed for the portable terminal 2a, a scanning process for the portable terminal 2b can be performed in parallel. Also, if there is insufficient memory space for storing image data generated by the scanning process for the portable terminal 2b, the scanning process for the portable terminal 2b is suspended until the memory space becomes available. This allows the scanner 1 to operate efficiently.

[0069] In this embodiment, the configuration has been described in which the scanner 1 is accessed and used using a web browser installed on the mobile terminals 2a and 2b. However, a configuration may also be used in which a scan application for the scanner 1 is installed on the mobile terminals 2a and 2b and the scanner 1 is used using the scan application. Also, a configuration may be used in which the scanner 1 is accessed from the mobile terminals 2a and 2b using a web browser and the scan application is downloaded from the scanner 1 and used.

[0070] The configuration in which the timeout is determined based on the remaining time 237 or 245 has been described. However, if an error such as a jam occurs during scanning, the timeout may occur while the user is trying to resolve the error, and the right to use the scanner 1 may be transferred to another terminal. In such a case, the user who has resolved the jam must wait until the user of the other terminal finishes scanning, and the user is unable to complete the scanning task promptly. Therefore, for example, if an error such as a jam occurs while the scanner 1 is being used from the portable terminal 2a, a screen (having a "Continue" button and an "End" button) for confirming whether or not to continue scanning after the error is resolved (for example, the open state of the transport path transitions to a closed state) is sent from the scanner 1 to the portable terminal 2a. Then, when it is confirmed that the "Continue" button has been selected on the portable terminal 2a, the scanner 1 may be controlled to continue the scanning session and not time out. In that case, it is preferable to reset the timer at that point. On the other hand, if the "End" button is selected on the portable terminal 2a, or if it is confirmed that neither the "Continue" nor the "End" button has been selected after a certain period of time has elapsed, the scanner 1 controls the scanning session to continue and time out.

[0071] However, in the case of an error such as a hardware error that is predicted not to resume processing, the scan session may be terminated. In this manner, processing may be controlled to be switched according to the type of error that has occurred. The timeout period may also be changed according to the type of error. For example, in the case of a staple detection error, it is predicted that it will take some time before processing can be resumed, so the timeout period may be set to be longer than the normal timeout period. Note that a staple detection error can be detected by a sensor (not shown) provided in the document transport path detecting the jumping of the document, or by a metal sensor (not shown) detecting staples.

[0072] As described above, even if an error such as a jam (document jam) occurs during scanning, the session with the current terminal can be continued and timeouts can be prevented, allowing the user to complete the scanning task (document reading task).

[0073] In addition, in each of the above embodiments, an example has been described in which an IP address is used as the scan session ID, but the scan session ID may also be generated using a specific rule using other information related to the terminal, such as the device name of the terminal, the IP address, etc.

[0074] Although the image reading device has been described as an example, the peripheral device may be a device other than the image reading device. In the case of the image reading device, the pre-stage process (first process) is a scan process, and the post-stage process (second process) is an edit process and a transfer process, but in the case of other peripheral devices, the pre-stage process and a post-stage process related to the pre-stage process that is executed after the pre-stage process may be sufficient. Note that data generated by the pre-stage process and stored in the storage unit 12 is erased from the storage unit 12 when the post-stage process related to the pre-stage process is completed. Note that, in the case of the image reading device, the edit process and the transfer process are described as the post-stage process, but the image reading device may not have the edit process. Also, the transfer process may be configured to allow the transfer destination to be specified, and in that case, a timeout time or the like may be set as in the edit process.

[0075] As described above, it is possible to quickly perform pre-processing for the next user after the pre-processing for the previous user. It is also possible to prevent the data of the previous user from continuing to occupy the recording area due to a dead battery on the terminal side or an error, etc. This improves the operating rate of peripheral devices, leading to improved productivity.

[0076] It goes without saying that the configurations and contents of the various data described above are not limited to those described above, and the data may have various configurations and contents depending on the application and purpose. Although one embodiment has been described above, the present invention can be embodied, for example, as a system, an apparatus, a method, a program, a storage medium, etc. Specifically, the present invention may be applied to a system composed of multiple devices, or may be applied to an apparatus composed of a single device. Furthermore, any combination of the above-described embodiments is also included in the present invention.

[0077] (Other embodiments) The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that implements one or more of the functions. Furthermore, the present invention may be applied to a system made up of a plurality of devices, or to an apparatus made up of a single device. The present invention is not limited to the above-mentioned embodiment, and various modifications (including organic combinations of the embodiments) are possible based on the spirit of the present invention, and are not excluded from the scope of the present invention. In other words, the present invention includes all configurations that combine the above-mentioned embodiments and their modifications. [Explanation of symbols]

[0078] 1. Scanner 2a, 2b Mobile terminal 3. LAN 11 Image reading unit 12 Storage section 13 Control section 16 UI provision department

Claims

1. a reception means for receiving a request from an information processing device capable of communicating via a network; a first processing means for performing a first process in response to the request received by the receiving means and storing data generated by the first process in a storage area; a second processing means for performing a second process on the data in response to an operation received from the information processing device while the data is stored in the storage area after the first process; an erasing means for erasing the data from the storage area when the second process is completed; Equipped with The peripheral device is characterized in that the receiving means does not accept a request from another information processing device other than the request source of the first processing until all of the first processing based on the request has been completed, and when all of the first processing based on the request has been completed, the receiving means receives a request from the other information processing device even if the second processing is being executed.

2. The peripheral device described in claim 1, characterized in that the first processing means is capable of executing the first process based on a request from the other information processing device in parallel with the second process, and if the data generated in the first process cannot be stored in the memory area, the first process is suspended until the data generated in the first process can be stored in the memory area.

3. a confirmation means for confirming with an information processing device which is a requester of the first process whether or not to additionally perform the first process after the first process is completed; 3. The peripheral device according to claim 1, wherein the accepting means determines that the requested first process has been completed in its entirety when the requested first process has been completed and the confirmation means has confirmed that the first process will not be performed additionally.

4. 4. The peripheral device according to claim 1, wherein the erasing means erases data generated by the first process from the memory area when a predetermined time has elapsed since the first process was completed.

5. The peripheral device according to any one of claims 1 to 4, characterized in that the erasing means erases the data generated by the first process from the memory area in response to an instruction from a user who has been authenticated as an administrator by a predetermined authentication method.

6. the peripheral device is an image reading device, the first processing is a scanning processing for reading an original document and generating image data; 6 . The peripheral device according to claim 1 , wherein the second process includes a process of transmitting at least image data generated by the scan process to the information processing device that has requested the scan process.

7. The peripheral device according to any one of claims 1 to 6, characterized in that it has a providing means for providing an operation screen to the web browser for accepting processing from the web browser in response to a request from the web browser running on the information processing device, and for accepting processing from the operation screen displayed on the web browser.

8. 8. The peripheral device according to claim 1, wherein the information processing device is a mobile terminal.

9. A method for controlling a peripheral device, comprising: a receiving step of receiving a request from an information processing device capable of communicating via a network; a first processing step of performing a first process in response to the request received in the receiving step and storing data generated by the first process in a storage area; a second processing step of performing a second processing on the data in response to an operation received from the information processing device while the data is stored in the storage area after the first processing; an erasing step of erasing the data from the storage area when the second process is completed; Equipped with A method for controlling a peripheral device, characterized in that in the receiving step, a request from another information processing device other than the request source of the first processing based on the request is not accepted until all of the first processing based on the request has been completed, and when all of the first processing based on the request has been completed, a request from the other information processing device is accepted even if the second processing is being executed.

10. A program for causing a computer to function as each of the means according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Electron scanning type ultrasonic probe

    JP1983022040A

  • Method and processor for information processing, control program of the information processor, and storage medium

    JP2003224689A

  • Image processing device

    JP2006128948A

  • Network scanner device

    JP2007295283A

  • Image reading system

    JP2009117966A