Information processing system and program

The system addresses incomplete file uploads by automating the file upload process in web browsers, ensuring the file name is set only after generation is complete, thereby preventing errors and maintaining the upload process integrity.

JP2025134145AActive Publication Date: 2025-09-17FUJIFILM BUSINESS INNOVATION CORP
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2024031857
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-03-04
Publication Date
2025-09-17
Estimated Expiration
2044-03-04

AI Technical Summary

Technical Problem

Existing file upload methods in web browsers, particularly in multifunction peripherals, often result in the upload of incomplete or non-existent files due to the timing of setting the file name before the file generation is complete, especially when using a one-step file selection process.

Method used

An information processing system and program that automatically initiates the file upload process by setting a file name within a specified tag on a web page, monitors the file generation process, and sets the file name only after completion, ensuring the upload of a complete file.

Benefits of technology

Ensures the successful upload of newly generated files by detecting the end of the file generation process and setting the file name accordingly, preventing incomplete or non-existent file uploads and maintaining the upload process despite user interactions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2025134145000001_ABST
    Figure 2025134145000001_ABST
Patent Text Reader

Abstract

To achieve an operation to upload a newly generated file when selecting a predetermined tag in a web page, and newly generating a file and setting it to the predetermined tag.SOLUTION: A multifunctional machine 10 has: a browser function unit 11 that acquires a web page from a web server 2 and displays it on an operation panel; a browser control unit 12 that sets a file name to a file selection tag in the web page, only after scan data is generated through scanning that is executed by changing the interpretation of a user's button operation corresponding to a file selection tag to a scanning instruction; and a communication monitoring unit 121 that monitors the communication state of upload in which processing is automatically started upon setting of the file name to the file selection tag, and thereby detects the end of execution of upload processing.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present invention relates to an information processing system and a program. [Background technology]

[0002] It is common to upload files to a web server using a web browser. The HTML (HyperText Markup Language) specification discloses a method for uploading files using form tags. In these, the user selects an existing file by selecting a file selection tag, and then selects a submit tag, which uploads the selected file via the browser.

[0003] Incidentally, it is common to upload files to a web server from a browser installed in a multifunction peripheral. For example, Patent Documents 1 to 3 disclose a technique in which, when a web page is displayed on a browser installed in a multifunction peripheral, the interpretation of a file selection tag is changed, and instead of allowing the user to select an existing file, a scan is performed to generate a new file, and the newly generated file is then uploaded using a transmission tag. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] Japanese Patent Application Publication No. 2019-024187 [Patent Document 2] Japanese Patent Application Laid-Open No. 2012-205056 [Patent Document 3] Japanese Patent Application Laid-Open No. 2005-149320 Summary of the Invention [Problem to be solved by the invention]

[0005] Incidentally, JavaScript (registered trademark) is one example of a programming language that runs on a web browser. By using JavaScript, it is possible to add movement to web pages and control the operation of buttons and other elements. For this reason, in recent years, there has been a trend toward an increasing number of websites that create web pages by combining HTML and JavaScript.

[0006] Furthermore, with the development of programming languages ​​that run on web browsers, such as JavaScript (hereafter referred to as "scripting languages"), it has become possible to upload files using scripting languages ​​when a file is selected in HTML, without using HTML form tags. By using these technologies, what previously required two steps of user interaction (selecting a file and then selecting to send) can be reduced to a single step of selecting a file, improving user operability.

[0007] Incidentally, when uploading a file in one step as mentioned above, if a new file is generated when the user selects a file selection tag, as in the web browser of the multifunction device mentioned above, the timing of setting the file name in the HTML becomes important.Unlike setting a file that already exists, a new file is generated after the file selection tag is selected, so if the file name is set in the HTML before the file generation is complete, a non-existent file or an incomplete file will be uploaded.

[0008] The present invention aims to realize an upload operation for a newly generated file when a file is newly generated and set upon selecting a predetermined tag on a web page. [Means for solving the problem]

[0009] The information processing system of the present invention is characterized in that it includes a processor, and when the file upload process is automatically initiated by setting a file name within a specified tag on a web page, the processor selects the specified tag and then accepts an instruction to generate a file, and sets the file name of the file within the specified tag in response to detecting the end of execution of the file generation process executed in accordance with the accepted instruction.

[0010] The processor is also characterized in that it instructs the execution of the file generation process and monitors the execution of the file generation process without setting the file name of the file generated by the execution of the file generation process within the specified tag.

[0011] The processor may also start uploading the file by setting the file name of the file in the predetermined tag.

[0012] Furthermore, when the processor detects the end of execution of the file generation process, it inquires about the file name of the file generated by the file generation process, and sets the file name obtained in response to the inquiry within the specified tag.

[0013] The processor is also characterized in that it instructs the execution of the file generation process without setting the file name in the specified tag even if the file name to be set in the specified tag has been obtained at the time of receiving the instruction.

[0014] The processor may also control the web browser that is executing the upload process so that the web browser is not terminated.

[0015] The processor may also display on a user interface a message indicating that the upload process is in progress, and may control the user interface so as not to accept any user operations.

[0016] The processor may also allocate a dedicated window to the web browser in response to a user operation on a user interface, allowing the execution of the upload process to continue, and making the user interface operable.

[0017] The processor also allocates a dedicated window to a web browser to start the upload process, and makes the user interface operable.

[0018] The information processing system of the present invention is characterized in that it includes a processor, and when the file upload process is automatically initiated by setting a file name within a specified tag on a web page, the processor selects the specified tag and then accepts an instruction to generate a file, and even if the file name to be set within the specified tag has been obtained at the time of receiving the instruction, the processor instructs the execution of the file generation process without setting it within the specified tag.

[0019] The file generation process is characterized by being a scan process.

[0020] The program of the present invention enables a computer to implement the following functions: when a file name is set within a specified tag on a web page and the upload process for the file is automatically initiated, the computer selects the specified tag and then accepts an instruction to generate a file; and the computer sets the file name of the file within the specified tag upon detecting the completion of the file generation process executed in accordance with the accepted instruction.

[0021] The program of the present invention enables a computer to implement the following functions: when a file name is set within a specified tag on a web page and the file upload process is automatically initiated, the computer can accept an instruction to generate a file after selecting the specified tag; and the computer can instruct the computer to execute the file generation process without setting the file name within the specified tag even if the file name to be set within the specified tag has been obtained at the time the instruction is received. [Effects of the Invention]

[0022] According to the invention described in claim 1, when a file is newly generated and set upon selecting a predetermined tag on a web page, it is possible to realize an upload operation for the newly generated file.

[0023] According to the invention as set forth in claim 2, the end of execution of the file generation process can be detected.

[0024] According to the invention as set forth in claim 3, the upload process can be automatically started in response to the completion of the execution of the file generation process.

[0025] According to the invention as set forth in claim 4, the process can be controlled so that the file name to be set in the predetermined tag can be obtained only after the execution of the file generation process has been completed.

[0026] According to the invention as set forth in claim 5, it is possible to control so that the file name is set in the predetermined tag only after the execution of the file generation process is completed.

[0027] According to the sixth aspect of the present invention, the upload process that is currently being performed can be terminated normally.

[0028] According to the seventh aspect of the present invention, it is possible to prevent an upload process that is currently being executed from being terminated by a user operation.

[0029] According to the invention as set forth in claim 8, it is possible to respond to user operations while maintaining the execution state of the upload process.

[0030] According to the invention as set forth in claim 9, the upload process can be executed without occupying the user interface.

[0031] According to the invention as set forth in claim 10, it is possible to control so that the file name is set in the predetermined tag only after the execution of the file generation process is completed.

[0032] According to the invention described in claim 11, a file newly generated by scanning can be uploaded.

[0033] According to the invention described in claim 12, when a file is newly generated and set upon selecting a specific tag on a web page, it is possible to realize an upload operation for the newly generated file.

[0034] According to the invention as set forth in claim 13, it is possible to control so that the file name is set in the predetermined tag only after the execution of the file generation process is completed. [Brief explanation of the drawings]

[0035] [Figure 1] 1 is a diagram showing the overall configuration of a Web service system and the block configuration of a multifunction peripheral according to an embodiment of the present invention; [Figure 2A] FIG. 10 is a sequence diagram showing a series of processes for generating and uploading scan data according to the present embodiment. [Figure 2B] FIG. 2B is a sequence diagram continuing from FIG. 2A. [Figure 3A] FIG. 2 is a diagram showing an example of a home screen displayed on an operation panel in the present embodiment. [Figure 3B] FIG. 10 is a diagram showing an example of a main screen of a cloud service displayed on an operation panel in the present embodiment. [Figure 3C]FIG. 10 is a diagram showing an example of a submenu screen displayed on the operation panel in the present embodiment. [Figure 3D] FIG. 4 is a diagram showing an example of a scan parameter setting screen displayed on an operation panel in the present embodiment. [Figure 3E] FIG. 10 is a diagram showing an example of a processing screen displayed on the operation panel in the present embodiment. [Figure 3F] FIG. 10 is a diagram showing an example of a file generation completion screen displayed on the operation panel in the present embodiment. [Figure 3G] FIG. 10 is a diagram showing an example of a main screen displayed on the operation panel after the upload process is completed in the present embodiment. DETAILED DESCRIPTION OF THE INVENTION

[0036] Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings.

[0037] FIG. 1 is a diagram showing the overall configuration of a Web service system and the block configuration of a multifunction peripheral 10 according to this embodiment. FIG. 1 shows a configuration in which a Web server 2 and a multifunction peripheral 10 are connected via a network 4 such as the Internet. The Web server 2 is a server computer that provides Web services to the multifunction peripheral 10 as a client. The multifunction peripheral 10 is an example of an information processing system that uses the Web services provided by the Web server 2. There may be one or more Web servers 2 and one or more multifunction peripherals 10, but FIG. 1 shows only one of each, as long as each has the processing functions described below.

[0038] The multifunction peripheral 10 is a form of image forming device equipped with various functions such as a printing function, a copying function, a scanning function, etc., and with a built-in computer. The multifunction peripheral 10 in this embodiment can be realized with the same components as conventional devices. That is, the multifunction peripheral 10 includes at least ROM, RAM, a HDD as a storage means, an operation panel as a user interface, various mechanisms for realizing the functions installed in the multifunction peripheral 10, such as a scanner and a printer, a network interface for connecting to the network 4 and transmitting and receiving data to and from the web server 2, etc.

[0039] 1, the multifunction device 10 includes a browser function unit 11, a browser control unit 12, a job control unit 13, a job execution unit 14, a job status management unit 15, and a storage unit 16. Note that components not used in the description of this embodiment are omitted from the drawing.

[0040] The browser function unit 11 executes a web browser (hereinafter simply referred to as "browser") installed in the multifunction device 10, thereby executing various processes based on the browser function, as will be described later. The browser control unit 12 controls the execution of the browser by the browser function unit 11. The communication monitoring unit 121 in the browser control unit 12 monitors the communication processing in the web browser. More specifically, the communication monitoring unit 121 detects the end of the scan data upload process by monitoring the data communication between the browser function unit 11 and the web server 2.

[0041] The job execution unit 14 executes various jobs in response to requests from a user operating the operation panel. For example, when a scan is requested, the job execution unit 14 reads an original document set on the platen of the multifunction device 10 and generates the read image data (hereinafter also referred to as "scan data"). The job control unit 13 controls the execution of jobs executed by the job execution unit 14. The job status management unit 15 manages the execution status of jobs executed by the job execution unit 14. For example, the job status management unit 15 monitors the execution status of a job from the start to the end, and when the execution of the job is completed, records the execution details in a log. The memory unit 16 stores scan data and log files.

[0042] Each of the components 11 to 15 in the multifunction device 10 is realized by the cooperative operation of a computer installed in the multifunction device 10 and a program running on a CPU installed in the computer. The storage unit 16 is realized by an HDD installed in the multifunction device 10. Alternatively, RAM or an external storage means may be used via a network.

[0043] Furthermore, the programs used in the present embodiment can be provided not only by communication means but also by being stored in a computer-readable recording medium such as a USB memory. The programs provided from the communication means or recording medium are installed on a computer, and various processes are realized by the computer's CPU sequentially executing the programs.

[0044] Furthermore, although the multifunction peripheral 10 constituting the information processing system is illustrated as a single device, it may be realized by combining a plurality of computers or devices.

[0045] The web page used in this embodiment is created by combining HTML and JavaScript, an example of a language other than HTML. The web page used in this embodiment includes at least a file selection tag as a specific tag in HTML. The file selection tag is written in the format of an input tag with type="file". In this embodiment, the interpretation of the file selection tag is changed to perform scanning instead of file selection. Furthermore, when JavaScript detects that a file name has been set in the file selection tag, it automatically starts uploading.

[0046] Next, the operation of this embodiment will be described. In this embodiment, an example will be described in which a user scans an original using the multifunction device 10 and wishes to upload the file of the scanned data to the Web server 2. When the user selects a file selection tag from the Web page that is displayed when the user selects to upload a file, the multifunction device 10 in this embodiment processes scan upload instead of file selection. A series of processes from the display of this Web page to file upload will be described using the sequence diagram shown in FIG. 2 and the screen transitions shown in FIG. 3.

[0047] First, in order to upload a scanned data file, the user selects the cloud service button 31 from the home screen 30 displayed on the operation panel of the multifunction device 10, as shown in Fig. 3A. An example of the cloud service main screen 40 displayed on the operation panel upon selecting this button is shown in Fig. 3B. In this embodiment, the identification information of the user who logs in to and uses the multifunction device 10 is assumed to be "User A."

[0048] When the browser function unit 11 in the multifunction device 10 receives a user instruction to display a web page by selecting the cloud service button 32 on the home screen 30 (step S111), the browser function unit 11 sends a request to obtain the web page to the web server 2 (step S112).

[0049] In response to a request from the multifunction peripheral 10, the Web server 2 transmits a Web page for displaying the service screen 40 to the multifunction peripheral 10 (step S21).

[0050] The browser function unit 11 in the multifunction device 10 obtains the web page corresponding to the cloud service obtained from the web server 2 as described above, and displays the main screen (hereinafter also referred to as the "service screen") 40 of the cloud service shown in FIG. 3B on the operation panel (step S113).

[0051] Next, the user selects the "+ Add New" button 42 on the service screen 40, and an example of the submenu screen 44 is shown in FIG. 3C. The submenu screen 44 is superimposed on the service screen 40 as shown in FIG. 3C, and displays a list of newly added functions provided by the cloud service. The user selects the desired "Upload File" button 46 from the submenu screen 44. This button 46 is included in the web page mentioned above. <input type="file"> The button 46 corresponds to a tag (hereinafter also referred to as a "file selection tag"), and selection of the button 46 is a selection operation of the file selection tag. When the file selection tag is selected by the user in this manner, the browser function unit 11 accepts the selection operation (step S114).

[0052] In response to the selection of a file selection tag, browser control unit 12 normally displays a file selection screen, but in this embodiment, the browser control unit 12 accepts the user's operation as a scan instruction and causes browser function unit 11 to display a scan parameter setting screen in response to the user's operation. Browser function unit 11 displays the scan parameter setting screen in accordance with the instruction from browser control unit 12 (step S115). An example of scan parameter setting screen 50 thus displayed on the operation panel is shown in FIG. 3D.

[0053] After setting the desired parameters on the scan parameter setting screen 50, the user selects the start button 52. Note that although the user may set the file name of the file generated by scanning, as shown by the dashed line 54, this example shows a case where the user has selected to use the function of the multifunction device 10 to automatically assign a file name.

[0054] While the example in FIG. 3D illustrates a user setting desired parameters, the present invention is not limited to this. For example, the scanning process may be automatically started with the initially set parameters without displaying FIG. 3D. Alternatively, predetermined parameters may be acquired from an external server and the scanning process may be started with the predetermined parameters.

[0055] When the user selects the start button 52, the browser function unit 11 passes the selected parameters to the browser control unit 12 (step S116). However, if "automatic assignment" is selected for the file name, as in this example, the browser function unit 11 generates a file name according to a predetermined rule and includes it in the parameters to be passed to the browser control unit 12.

[0056] It should be noted that the predetermined rule for naming the file name is not a feature of this embodiment. In this embodiment, the file name includes, for example, the date and time when the file was named or when file generation was completed.

[0057] As described above, the user operations required to execute the file upload function are completed. Thereafter, the browser function unit 11 may display a processing screen 60, as illustrated in FIG. 3E, on the operation panel to notify the user that the user's scan instruction has been successfully accepted and the scan process has begun. The processing screen 60 displays the automatically assigned file name, as indicated by the dashed line 62. At this time, parentheses may be added, for example, as shown in FIG. 3E, to distinguish automatically assigned file names from non-automatically assigned file names. Furthermore, if the scan data file has not yet been created, the file name may be displayed in a different display format from other parameters, for example, by graying out the file name text, to indicate this. The browser function unit 11 may continue to display the processing screen 60 on the operation panel until the file upload process is completed or until the user selects the cancel button 64. When the file generation is complete, the screen may transition to a file generation completion screen 70 as shown in Fig. 3F. When the file generation completion screen 70 is displayed, the user may know that the file generation is complete and select a close button 72 to display the service screen 40. An example of the service screen 40 that is displayed after the process is completed is shown in Fig. 3G.

[0058] When the browser control unit 12 receives the scan parameters sent from the browser function unit 11 together with the notification of the instruction to start scanning, the browser control unit 12 retains the file name of the scan data included in the scan parameters (step S121). That is, since the file name of the scan data is included in the scan parameters sent from the browser function unit 11, the browser control unit 12 retains the file name internally at this stage without setting it in the file selection tag in the browser function unit 11, even though the file name has been set before the scan is executed. The browser control unit 12 then requests the execution of scanning by sending the scan parameters to the job control unit 13 (step S122). Note that the file name may be retained after the scan execution request.

[0059] Thereafter, browser control unit 12 monitors the operation of job control unit 13. More specifically, browser control unit 12 monitors the execution of the scan process to know whether the generation of a file of the scan data by the scan process has been completed (step S123).

[0060] In response to the scan execution request from the browser control unit 12, the job control unit 13 instructs the job execution unit 14 to execute a scan (step S131).

[0061] In this embodiment, job execution is recorded in a log. Therefore, the job control unit 13 notifies the job status management unit 15 that a scan job will be executed, along with issuing a scan execution instruction to the job execution unit 14. As a result, the job execution unit 14 executes the scan process in accordance with the scan parameters sent with the execution instruction (step S141). Note that the scan process executed in accordance with the instruction generates a file of the scan data, so the scan process corresponds to a file generation process. Meanwhile, upon receiving a notification from the job control unit 13, the job status management unit 15 starts recording a log when a job (hereinafter referred to as a "scan upload job") for the scan process and the upload process of the file generated by the scan is started (step S151). When initially setting up the log, the job status management unit 15 sets the scan upload job to a state in which scanning has started. Then, the job status management unit 15 changes the job status of the scan upload job from the start of scanning to scanning in progress (step S152).

[0062] When the scanning started as described above is completed, the job execution unit 14 notifies the job control unit 13 of the completion of the scanning (step S142). The job control unit 13 detects that the scanning is completed by receiving the notification from the job execution unit 14 (step S132). Note that the browser control unit 12, which monitors the operation of the job control unit 13, also knows that the scanning is completed.

[0063] Next, the job execution unit 14 generates a file for saving the read image data generated by scanning, and when the generation of this file is completed, the job execution unit 14 notifies the job control unit 13 that the file generation is completed (step S143).

[0064] In this embodiment, the file name of the file generated by the scan process is set in advance on the scan parameter setting screen 50 shown in Fig. 3D, but if the file name has not been set, the job control unit 13 may inquire of the user about the file name upon detecting the completion of the scan process by the job execution unit 14, and acquire the file name in response to this inquiry. The file name acquired in this way will be set in the file selection tag by the process described below.

[0065] Upon receiving the notification from the job execution unit 14, the job control unit 13 detects that the file generation is complete (step S133). When the job control unit 13 detects that the file generation is complete, it notifies the job status management unit 15 of this (step S134). In response to the notification of the file generation completion, the job status management unit 15 changes the status of the scan upload job from "scanning" to "scan completed" (step S153). Then, the job control unit 13 notifies the job status management unit 15 of the start of execution of the subsequent upload process (step S135). The job status management unit 15 changes the status of the scan upload job from "scan completed" to "uploading" (step S154).

[0066] On the other hand, browser control unit 12 detects the completion of file generation by monitoring the operation of job control unit 13. Note that in this embodiment, browser control unit 12 monitors the operation of job control unit 13 in step S123, thereby becoming aware of the completion of generation of the scan data file, but for example, job control unit 13 may notify browser control unit 12 together with job status management unit 15 in step S134.

[0067] In response to detecting the completion of file generation, browser control unit 12 sets the file name of the stored scan data in the file selection tag (step S124). In this embodiment, regardless of when the file name of the scan data file is set, the file name of the scan data is set in the file selection tag after the file generation is completed.

[0068] Next, the communication monitoring unit 121 in the browser control unit 12 sets the file name and then starts communication by upload processing (step S125). Strictly speaking, the file path may be set in the file selection tag, but in this embodiment, for the sake of convenience, the description will be given assuming that the "file name" is set.

[0069] On the other hand, when the file name is set in the file selection tag, the JavaScript that is written as part of the web page and realizes the upload function detects that a file name has been set in the file selection tag (corresponding to the event being fired (step S117) in Figure 2B), and automatically starts the upload process of the scan data corresponding to the set file name (step S118).

[0070] Then, the Web server 2 receives the file uploaded by the browser function unit 11 (step S22).

[0071] By the way, when uploading a file, the conventional two-step user operation of selecting a file and selecting to send it (for example, using a file selection tag to select a file and a form tag "submit" to select to send it) occurs a page transition in the browser, and the file upload is completed when the page transition is complete. Therefore, it is possible to detect the completion of the file upload by monitoring the page transition status of a normal browser.

[0072] In contrast to the two-step operation described above, in the case of a one-step operation in which a file is uploaded using a scripting language that runs on the browser, for example, if a scripting language such as JavaScript is used to complete the upload through a single operation of file selection, the browser does not transition between pages, so it is not possible to detect the upload status from the state of the page transition. For example, since Figure 3B and Figure 3G have the same URL, it is not possible to detect the upload status from the state of the page transition.

[0073] Therefore, in this embodiment, a communication monitoring unit 121 is provided in the browser control unit 12, and a process (step S125) is added in which the browser control unit 12 monitors the communication between the browser and the Web server 2 after setting a file name in the file selection tag. The system then determines that an upload is in progress when communication starts, and determines that the upload process has ended when communication stops. If the end of the upload process can be detected, a log of the scan upload job can be recorded, as will be described later, and this can also be used to control the display on the operation panel.

[0074] As described above, the browser control unit 12 detects the end of the upload process by monitoring the communication status during the upload process. For example, after setting a file in an HTML tag, the browser control unit 12 monitors HTTP post communication between the browser function unit and the currently displayed web server.

[0075] Incidentally, in order to detect the end of the upload process, the communication monitoring unit 121 only needs to start monitoring at least before the upload process ends. Since the end timing of the upload process is uncertain, monitoring basically starts around the time the upload process starts. In other words, although the file name setting is illustrated first in FIG. 2B, communication monitoring may start first.

[0076] As described above, when the communication monitoring unit 121 detects the end of the upload of the scan data, the browser control unit 12 notifies the job control unit 13 of the completion of the upload (step S126).

[0077] When the job control unit 13 receives the notification that the upload is complete, it notifies the job status management unit 15 of the upload completion (step S136). When the job status management unit 15 receives the notification that the upload is complete, it changes the status of the scan upload job from uploading to upload completed (step S154). Furthermore, since the scan upload job ends with the upload being completed, it changes the status of the scan upload job from upload completed to scan upload job upload completed, and saves the recorded content in the log (step S156).

[0078] As shown in Fig. 3G, a list of files stored in a folder ("Work" in Fig. 3G) prepared and selected for a user (User A) on the Web server 2 is displayed in a display area 40a on the right side of the service screen 40. As shown in the display example in Fig. 3G, a file 48 newly stored by this upload has been added to the list of files.

[0079] Then, the browser function unit 11 may separately display a message 49 indicating that the file has been added in the display area 40a, as shown in Fig. 3G. The message 49 is written as part of a Web page, for example, and is displayed by JavaScript that realizes the upload function.

[0080] As described above, according to this embodiment, even if a file selection tag is selected by the user, the file name is set in the file selection tag in response to detection of completion of file generation of the scan data to be uploaded. This makes it possible to prevent uploading of an empty or incomplete file, even if uploading is automatically started by the one-step operation.

[0081] As mentioned above, when a web page is written only in HTML, the screen display on the operation panel transitions to a screen informing the user that the upload process has completed when the upload process is complete. However, when the upload process is executed using JavaScript, JavaScript does not detect the completion of the upload process, so the screen display on the operation panel does not transition to another screen even when the upload process is complete. Furthermore, although the operation panel is equipped with buttons such as a home button, these buttons remain operable. Therefore, even if the web browser displaying the web page, in other words, the web browser executing the upload process, is using the operation panel, if a user operates a button such as the home button to change the display screen, the web browser is forced to close. In other words, if the web browser is executing the upload process when the user operates a button, the upload process will be terminated prematurely.

[0082] Therefore, in this embodiment, the Web browser executing the upload process is controlled so as not to be terminated as follows.

[0083] First, when the upload process is in progress, the browser control unit 12 displays on the operation panel a message indicating that the upload process is in progress and controls input / output to the operation panel so that user operations on the operation panel are not accepted. Alternatively, the user can be notified that the scan data is being uploaded by displaying, for example, a message indicating that the upload process is in progress on the operation panel. Alternatively, the operation panel may display a message indicating that user operations on the operation panel are not accepted because the upload process is in progress. Furthermore, even if the user operates the operation panel despite this, by controlling the operation not to be accepted, the web browser that is executing the upload process does not have to be terminated.

[0084] Furthermore, when the browser control unit 12 detects a user operation on the operation panel, it may allocate a dedicated window to the upload process to continue execution and make the operation panel operable. By allocating a dedicated window to the web browser executing the upload process, it is possible to separate it from the operation panel and continue execution in the background. This allows the multifunction device 10 to respond to user operations on the operation panel and maintain the execution state of the upload process without being affected by user operations. It is not necessary to display a message indicating that the upload process is in progress.

[0085] In the above description, a dedicated window is allocated to the upload process in response to detection of a user operation on the operation panel, but the upload process may be controlled to be executed in the background from the start of execution by automatically allocating a dedicated window when the upload process starts. In this case, the browser control unit 12 makes the operation panel operable from the start of execution of the upload process.

[0086] In the above explanation, the multifunction device 10 has been described as an example of an information processing system, but it is not necessary to be limited to the multifunction device 10, and it is possible to realize an information processing system by linking a computer such as a PC with the multifunction device 10 equipped with a scanner, or by attaching an external scanner to a PC or the like.

[0087] In the above embodiments, the term "processor" refers to a processor in a broad sense, and includes general-purpose processors (e.g., CPU: Central Processing Unit, etc.) and dedicated processors (e.g., GPU: Graphics Processing Unit, ASIC: Application Specific Integrated Circuit, FPGA: Field Programmable Gate Array, programmable logic device, etc.).

[0088] Furthermore, the operations of the processors in the above embodiments may not only be performed by a single processor, but may also be performed by multiple processors located at physically separate locations working together. Furthermore, the order of the operations of the processors is not limited to the order described in the above embodiments, and may be changed as appropriate.

[0089] (Addendum) (((1))) a processor; The processor: When a file upload process is automatically initiated by setting a file name within a predetermined tag on a web page, selecting the predetermined tag and then accepting an instruction to generate a file; setting a file name of the file in the predetermined tag in response to detecting completion of execution of the file generation process executed in response to the received instruction; An information processing system comprising: (((2))) The information processing system described in (((1))) is characterized in that the processor instructs the execution of the file generation process and monitors the execution of the file generation process without setting the file name of the file generated by the execution of the file generation process within the specified tag. (((3))) The information processing system described in (((1))) or (((2))) is characterized in that the processor starts the upload process of the file by setting the file name of the file within the specified tag. (((4))) The processor: When the end of the execution of the file generation process is detected, the file name of the file generated by the file generation process is inquired; The file name obtained in response to the inquiry is set in the predetermined tag. The information processing system according to (((1))) is characterized in that: (((5))) The information processing system described in any one of (((1))) to (((3))) is characterized in that the processor instructs execution of the file generation process without setting the file name in the specified tag even if the file name to be set in the specified tag has been obtained at the time of receiving the instruction. (((6))) The information processing system described in any one of ((1))) to (((5))) is characterized in that the processor controls the web browser executing the upload process so that it is not terminated. (((7))) The information processing system described in (((6))) is characterized in that the processor displays on a user interface that the upload process is being executed, and controls the user interface so that no user operations are accepted. (((8))) The information processing system described in (((6))) is characterized in that the processor allocates a dedicated window to the web browser in response to user operations on the user interface, continues execution of the upload process, and makes the user interface operable. (((9))) The information processing system described in any one of (((1))) to (((8))) is characterized in that the processor allocates a dedicated window to a web browser to start the execution of the upload process and makes the user interface operable. (((10))) a processor; The processor: When a file upload process is automatically initiated by setting a file name within a predetermined tag on a web page, selecting the predetermined tag and then accepting an instruction to generate a file; Even if the file name to be set in the predetermined tag has been acquired at the time of receiving the instruction, the execution of the file generation process is instructed without setting the file name in the predetermined tag. An information processing system comprising: (((11))) The information processing system according to any one of ((1))) to (((10))), wherein the file generation process is a scan process. (((12))) On the computer, A function to accept an instruction to create a file after selecting a predetermined tag in a web page when the file upload process is automatically initiated by setting the file name within the predetermined tag; a function of setting a file name of the file in the predetermined tag in response to detecting completion of execution of a file generation process executed in response to the received instruction; A program to achieve this. (((13))) On the computer, A function to accept an instruction to create a file after selecting a predetermined tag in a web page when the file upload process is automatically initiated by setting the file name within the predetermined tag; a function of instructing execution of file generation processing without setting the file name in the predetermined tag even if the file name to be set in the predetermined tag has been acquired at the time of receiving the instruction; A program to achieve this.

[0090] According to the invention described in (((1))), when a specific tag on a web page is selected and a new file is created and set, it is possible to perform an upload operation on the newly created file. According to the invention described in (((2))), it is possible to detect the end of execution of the file generation process. According to the invention described in (((3))), the upload process can be automatically started in response to the completion of the execution of the file generation process. According to the invention described in (((4))), the process can be controlled so that the file name to be set in the predetermined tag can be obtained only after the execution of the file generation process has finished. According to the invention described in (((5))), it is possible to control so that the file name is set in the predetermined tag only after the execution of the file generation process is completed. According to the invention described in (((6))), the upload process in progress can be terminated normally. According to the invention described in (((7))), it is possible to prevent an upload process that is currently being executed from being terminated by a user operation. According to the invention described in (((8))), it is possible to respond to user operations while maintaining the upload processing execution state. According to the invention described in (((9))), upload processing can be performed without occupying the user interface. According to the invention described in (((10))), it is possible to control so that the file name is set in a predetermined tag only after the execution of the file generation process is completed. According to the invention described in (((11))), a file newly generated by scanning can be uploaded. According to the invention described in (((12))), when a specific tag on a web page is selected and a new file is created and set, it is possible to perform an upload operation on the newly created file. According to the invention described in (((13))), it is possible to control so that the file name is set in the predetermined tag only after the execution of the file generation process is completed. [Explanation of symbols]

[0091] 2 Web server, 4 Network, 10 Multifunction device, 11 Browser function unit, 12 Browser control unit, 13 Job control unit, 14 Job execution unit, 15 Job status management unit, 16 Memory unit, 121 Communication monitoring unit.

Claims

1. a processor; The processor: When a file upload process is automatically initiated by setting a file name within a predetermined tag on a web page, the predetermined tag is selected and then an instruction to generate a file is received; setting a file name of the file in the predetermined tag in response to detecting completion of execution of the file generation process executed in response to the received instruction; An information processing system comprising:

2. The information processing system according to claim 1, characterized in that the processor instructs the execution of the file generation process and monitors the execution of the file generation process without setting the file name of the file generated by the execution of the file generation process within the specified tag.

3. 2. The information processing system according to claim 1, wherein the processor starts uploading the file by setting a file name of the file in the predetermined tag.

4. The processor: When the end of the execution of the file generation process is detected, the file name of the file generated by the file generation process is inquired; The file name obtained in response to the inquiry is set in the predetermined tag.

2. The information processing system according to claim 1, wherein:

5. The information processing system according to claim 1, characterized in that the processor instructs execution of the file generation process without setting the file name in the specified tag even if the file name to be set in the specified tag has been obtained at the time of receiving the instruction.

6. 2. The information processing system according to claim 1, wherein the processor controls the web browser that is executing the upload process so that the web browser is not terminated.

7. 7. The information processing system according to claim 6, wherein the processor displays on a user interface a message indicating that the upload process is in progress, and controls the user interface so as not to accept any user operations.

8. The information processing system according to claim 6, wherein the processor allocates a dedicated window to the web browser in response to a user operation on a user interface, thereby continuing execution of the upload process and making the user interface operable.

9. 2. The information processing system according to claim 1, wherein the processor allocates a dedicated window to a web browser, starts execution of the upload process, and makes a user interface operable.

10. a processor; The processor: When a file upload process is automatically initiated by setting a file name within a predetermined tag on a web page, the predetermined tag is selected and then an instruction to generate a file is received; Even if the file name to be set in the predetermined tag has been acquired at the time of receiving the instruction, the execution of the file generation process is instructed without setting the file name in the predetermined tag. An information processing system comprising:

11. 11. The information processing system according to claim 1, wherein the file generation process is a scan process.

12. On the computer, A function to accept an instruction to create a file after selecting a predetermined tag in a web page when the file upload process is automatically initiated by setting the file name within the predetermined tag; a function of setting a file name of the file in the predetermined tag in response to detecting completion of execution of a file generation process executed in response to the received instruction; A program to achieve this.

13. On the computer, A function to accept an instruction to create a file after selecting a predetermined tag in a web page when the file upload process is automatically initiated by setting the file name within the predetermined tag; a function of instructing execution of file generation processing without setting the file name in the predetermined tag even if the file name to be set in the predetermined tag has been acquired at the time of receiving the instruction; A program to achieve this.

Citation Information

Patent Citations

  • Information processor, information processing system, information processor control method and program

    JP2012185650A

  • Image processing device

    JP2018029260A

  • Image processing apparatus, image processing method, and program

    JP2021076975A

  • Image processing apparatus, control method therefor, and program

    JP2005149320A

  • Information processing apparatus, image reading apparatus, file upload system, and program

    JP2012205056A