Information processing system, control method, and program
The information processing system in cloud browsers checks terminal space and file size before downloading, preventing unnecessary file transfers and optimizing communication and storage usage.
Patent Information
- Application Number
- JP2022082529
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-05-19
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2042-05-19
AI Technical Summary
In cloud browsers, unnecessary file downloads occur due to free space on communication terminals, leading to wasted communication when downloading files from external web services.
An information processing system that includes a free space inquiry mechanism to check the communication terminal's available space and file size before downloading, controlling the download process to avoid unnecessary file transfers.
This system prevents unnecessary downloads by ensuring files are only transferred when there is sufficient space, optimizing communication and storage usage in cloud browsers.
Smart Images

Figure 0007551687000004 
Figure 0007551687000010 
Figure 0007551687000005
Abstract
Description
[Technical field]
[0001] The present invention relates to an information processing system, a control method, and a program. [Background technology]
[0002] Currently, communication devices equipped with a web browser (hereafter referred to as a browser) and capable of viewing web pages on the browser are in widespread use. By displaying the web pages of external services through the browser, the communication device can link with the external services.
[0003] The browser's operations include a standard specification for downloading files stored on external Web services by the user. In Web services, file downloads are realized by the file download element. This proposal is related to the file download element.
[0004] On a web page, the file download element This is achieved by the following statement (hereafter referred to as the file download element). Here, the URL describes the path where the file to be downloaded is saved.
[0005] If a file download element exists in a web page, the browser displays a button for downloading the file in the web page. If the user presses this button, the browser displays a download dialog. If the user agrees to the download, the browser downloads the file to the desired folder.
[0006] In recent years, there has been an increase in cases where a browser and a program other than a browser (hereinafter, "other program") are used simultaneously. One example is where an area displayed by the browser is embedded in part of an area displayed by another program. Here, a method has been proposed for downloading a file from the browser to the other program by drag-and-drop processing (Patent Document 1). [Prior art documents] [Patent documents]
[0007] [Patent Document 1] JP 2015-32002 A Summary of the Invention [Problem to be solved by the invention]
[0008] In Patent Document 1, a browser extension program monitors whether an object has been dropped outside the area displayed by the browser. If an object has been dropped, the extension program obtains the corresponding content from an external server. This allows files to be downloaded between the browser and other programs by drag-and-drop processing.
[0009] By the way, there is a type of browser called a cloud browser, which generates the rendering results of web pages on a cloud server. By performing computationally intensive processes such as web page analysis and execution on the server, the computational load is not imposed on the communication terminal.
[0010] Patent Document 1 proposes a method of downloading by drag-and-drop processing between a browser and another program. However, when an image generation system exists between a communication terminal and an external Web service, such as a cloud browser, a problem occurs in that downloads between the external Web service and the image generation system are wasted due to the free space on the communication terminal.
[0011] For this reason, there is a need for a method in cloud browsers that avoids unnecessary communication when downloading files from external web services. [Means for solving the problem]
[0012] In order to solve the above problems, the information processing system of the present invention is an information processing system capable of transmitting image data corresponding to a Web page between an image generation system and a communication terminal, the image generation system having free space inquiring means for inquiring about free space on the communication terminal, a file size inquiring means for inquiring about the size of a file to be downloaded, and if the free space on the communication terminal is smaller than the size of the file, outside and a control means for controlling so as not to download the file to be downloaded from the external Web server. Effect of the Invention
[0013] According to the present invention, it is possible to prevent unnecessary downloads from occurring in an image generating system. [Brief description of the drawings]
[0014] [Figure 1] Virtual Machine Hardware Diagram [Diagram 2] Configuration diagram of the proposed image generation system and communication terminal [Diagram 3] 1 is a flowchart showing the process flow of the image generating system according to the first embodiment. [Figure 4] 1 is a flowchart showing a process flow of a communication terminal according to a first embodiment of the present invention. [Diagram 5] An example of the proposed process implemented in a program [Figure 6] Example of an HTTP protocol response [Figure 7] Example of a file download element and download dialog [Figure 8] Examples of successful and failed download indications [Figure 9] Example of data sent and received between the image generation system and the communication terminal [Figure 10] Sequence diagram for successful download DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0015] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. Note that the following embodiment does not limit the present invention related to the scope of the claims, and not all of the combinations of features described in the embodiments are necessarily essential to the solution of the present invention. Note that the same components are described with the same reference numerals. EXAMPLES
[0016] In this embodiment, a case will be considered in which a cloud browser queries a communication terminal about available space, and further queries an external web server about the size of a file to be downloaded, thereby avoiding unnecessary downloads.
[0017] The configuration of the virtual machine referred to in this embodiment will be described with reference to the block diagram of FIG. 1. In FIG. 1, 101 is a central processing unit (CPU) that controls the entire virtual machine 100. 102 is a read only memory (ROM) that stores programs and parameters that do not require modification. 103 is a random access memory (RAM) that temporarily stores programs and data supplied from an external device. 104 is an interface for displaying data to be held or data supplied. 105 is a system bus that communicably connects each unit 101 to 104. There may be an interface with an input device such as a pointing device such as a mouse that inputs data in response to a user's operation and a keyboard. There may also be a hard disk or a memory card that is virtually fixed and installed in the virtual machine 100. There may also be an external storage device including an optical disk such as a flexible disk (FD) or a compact disk (CD), a magnetic or optical card, an IC card, a memory card, etc. that is virtually detachable from the virtual machine 100. There may also be a network interface for connecting to a network line such as the Internet.
[0018] Next, the configuration of the cloud browser of the present proposal will be described with reference to Fig. 2. Fig. 2 shows the configuration of the image generating system and the communication terminal of the first embodiment.
[0019] In Fig. 2, 201 is a communication terminal. Also, 203 is an image generation system. In this embodiment, the image generation system refers to a cloud browser. Also, the entire system is called an information processing system.
[0020] A user is viewing the screen of a communication terminal 201. The communication terminal 201 transmits, via a transmission / reception unit 212, the URL of a Web page 202 that the user wishes to view to an image generation system 203.
[0021] Next, the image generation system 203 accesses the Web page 202, and generates a drawing result in the drawing result generation unit 210. After that, when there is a request for obtaining the drawing result from the communication terminal 201, the image generation system 203 returns the generated drawing result to the communication terminal 201 through the transmission / reception unit 210. The communication terminal 201 receives the drawing result through the transmission / reception unit 212, and presents the drawing result to the user on the display unit 211.
[0022] Here, the image generation system 203 includes a gateway 204 and a virtual machine A 205. A browser 206 that generates drawing results runs on the virtual machine A 205. The browser 206 that generates drawing results runs on the virtual machine A 205. The browser 206 is a so-called browser engine, and performs analysis of HTML, JavaScript (registered trademark), CSS, etc., and processes associated with user operations and communication events. Communication between 201 and 205, and communication between 202 and 205, is performed via a gateway 204.
[0023] Based on a user's operation instruction received from the communication terminal 201, the virtual machine A 205 determines in the pressed element determination unit 207 whether or not the user has pressed a file download element included in the Web page 202 being displayed in the browser 206.
[0024] Also, free space inquiry unit 208 inquires of communication terminal 201 about free space. Furthermore, file size inquiry unit 209 inquires of an external Web server about the size of the file to be downloaded. Figures 3 and 4 are flowcharts of this embodiment. Figure 3 shows the processing flow on the image generation system 203 side, and Figure 4 shows the processing flow on the communication terminal 201 side.
[0025] In this embodiment, first, the URL of the web page notified from the communication terminal 201 is read (S301). At this time, the image generation system 203 transmits a drawing result (image data corresponding to the web page) to the communication terminal 201. Next, the image generation system 203 receives an operation instruction from the user notified from the communication terminal 201 (S302). The operation instruction from the user includes information indicating operation attributes such as "tapping" by touching the terminal screen with a finger and "key input" by pressing a keyboard equipped on the terminal. In addition, information attached to each operation attribute such as x, y coordinates indicating the place touched by the user on the screen and the value of the key pressed by the user is included. The URL of the web page and the operation instruction pass through the gateway 204 and the transmission / reception unit 210 to reach the browser 206.
[0026] Here, a method for transmitting a user operation instruction from the communication terminal 201 to the image generation system 203 in this embodiment will be described with reference to Fig. 5(B). Fig. 5(B) is a JavaScript program that stores user operation information in the BODY of HTTP communication. webclient in Fig. 5(B) is a structure that transmits an HTTP communication request to the communication destination. The request destination can be specified by the url member, and the value is "https: / / www.cloudbrowser.canon". The body of the request can be specified by the body member, and the value is {type:click, x:50, y:20}. type:click indicates that the user operation is a click. Furthermore, x:50 indicates that the x coordinate where the user clicked is 50, and y:20 indicates that the y coordinate where the user clicked is 20.
[0027] Next, the pressed element determination unit 207 determines whether the element pressed by the user is a file download element (S303). Here, the file download element based on the Web standard specifications and the display result of the download dialog will be described with reference to FIG.
[0028] FIG. 7(A) is a Web page that includes a file download element. In FIG. 7(A), the file download element is a link 701 that displays dummy_file.txt. If it is determined that the user has pressed link 701, browser 206 launches a download dialog. FIG. 7(B) shows the result of the download dialog being called. 702 is the download dialog. In the example of FIG. 7(B), the user is queried as to whether or not to download dummy_file.txt. If the user agrees to the download, he or she presses button 703 that displays OK.
[0029] Next, the judgment method of S303 will be described with reference to Fig. 5(A). Fig. 5(A) is a JavaScript program for judging a file download element. document.getElementFromPoint(x, y); is a function for extracting an element at x and y coordinates. This makes it possible to know the element present at the position (x, y) where the user tapped. Furthermore, element.tagName; indicates the element name. element.hasAttribute("download") checks whether the target element has the download attribute. In this embodiment, if the element name is "input" and the download attribute is assigned, it is judged that the element pressed by the user was a file download element.
[0030] Next, information indicating that the element pressed by the user is a file download element will be described with reference to Fig. 9. Fig. 9 is an example of data transmitted and received between the image generation system and the communications terminal. Looking at Fig. 9, if the information transmitted and received between the communications terminal 201 and the image generation system 203 is key=Element, value=Download, it can be seen that the pressed element is a file download element. In S303, if the element pressed by the user is a file download element, the image generation system 203 transmits a character string key=Element, value=Download to the communications terminal 201.
[0031] On the other hand, if it is determined in S303 that the element pressed by the user is not a file download element, the process proceeds to S315.
[0032] If it is determined in S303 that the element pressed by the user is a file download element, the free space of the virtual machine is obtained (S304).
[0033] Next, the free space inquiry unit 208 transmits a free space inquiry request to the communication terminal 201 via the transmission / reception unit 210 (S305). In S305, the communication terminal 201 and the image generation system 203 predetermine the correspondence between the information to be transmitted and received and the type of element, so that the communication terminal 201 can determine whether the request is for an inquiry about free space.
[0034] Here, a method for determining the correspondence between transmitted and received information and inquiry requests will be described with reference to Fig. 9. Fig. 9 has a key column, a value column, and an explanation column. The key column indicates the attribute of the information, and the value column indicates the value of that attribute. It is assumed that the table in Fig. 9 is possessed by both the communication terminal 201 and the image generation system 203.
[0035] For example, assume that in S305 the transmitting / receiving unit 210 transmits a character string of Key=Inquiry, value=FreeSpace to the communication terminal 201. In this case, when the description column of Key=Inquiry, value=FreeSpace is examined, it is written "Inquiry about free space", and it is understood that the communication terminal 201 has received a request from the image generation system 203 to inquire about free space.
[0036] Next, the file size inquiry unit 209 acquires the size of the file to be downloaded from the external Web server via the transmission / reception unit 210 (S306). In this embodiment, the HEAD method of the HTTP protocol is used in S306. With the HEAD method of the HTTP protocol, only the HEAD data in which the information of the target file is stored is acquired, and the BODY data corresponding to the data of the target file is not acquired.
[0037] An example of HEAD data is shown in Figure 6. In Figure 6, Content-length: 3274014 is displayed. Content-length is a value that indicates the size of the target file. From this, in Figure 6, we can see that the size of the target file is 3274014 bytes.
[0038] Next, it is determined whether the file to be downloaded can be downloaded (S307). In this embodiment, in S307, both the free space of the virtual machine A 205 acquired in S304 and the free space of the communication terminal 201 acquired in S305 are used.
[0039] The free space of virtual machine A 205 acquired in S304 is compared with the size of the file to be downloaded acquired in S306 to determine whether the free space of virtual machine A 205 is larger. If the free space of virtual machine A 205 is smaller, it is determined that downloading is not possible. Next, the free space of communication terminal 201 acquired in S305 is compared with the size of the file to be downloaded acquired in S306 to determine whether the free space of communication terminal 201 is larger. If the free space of communication terminal 201 is smaller, it is determined that downloading is not possible.
[0040] If it is determined in S307 that the download is possible, the process proceeds to S308. On the other hand, if it is determined in S307 that the download is not possible, the process proceeds to S314.
[0041] In S308, the operation instruction received in S302 is notified to the browser (S308). As a result, the browser 206 downloads the target file in accordance with the Web standard specifications. Next, the image generation system 203 notifies the communication terminal 201 from the transmission / reception unit 211 of the destination URL where the file downloaded in S309 is saved (S310). Here, the information indicating the destination URL will be explained using FIG. 9. Looking at the explanation column of Key=FileStored, value=[URL] in FIG. 9, it is written "destination URL", and it can be seen that the communication terminal 201 side has received the destination URL from the image generation system 203. Here, the [URL] in FIG. 9 is filled with a character string of any URL. This enables the communication terminal 201 to receive the file to be downloaded from the image generation system 203.
[0042] On the other hand, in S314, the communication terminal 201 is notified of the download failure. Here, the information indicating the download failure will be explained with reference to Fig. 9. Looking at Fig. 9, if the information transmitted and received between the communication terminal 201 and the image generation system 203 is key=Error, value=Download, it can be seen that the download has failed. In S314, the image generation system 203 transmits the character string key=Error, value=Download to the communication terminal 201.
[0043] Next, the drawing result generating unit 210 generates a drawing result and transmits it to the communication terminal 201 (S311). Thereafter, it is determined whether or not browsing of the Web page has ended (S312). If the result of the determination in S312 is that browsing of the Web page has ended, the file downloaded in S307 is deleted from the storage area of the virtual machine A 205 (S313). In S313, the file is deleted from the viewpoint of information confidentiality. Therefore, if the file received in S307 is to be continuously used within the virtual machine A 205, it does not need to be deleted.
[0044] If it is determined in S303 that the element pressed by the user is not a file download element, the pressed element determination unit 207 notifies the browser 206 of the user operation (S315). Next, the transmission / reception unit 210 transmits information about the pressed element to the communication terminal 201 (S316). The processes of S315 and S316 are not unique to this proposal, but are also performed in conventional cloud browsers.
[0045] Next, the processing flow of the communication terminal 201 will be described with reference to Fig. 4. First, the communication terminal 201 starts up the dedicated view 214 (S401). At this time, the communication terminal 201 transmits to the image generation system 203 the URL of the Web page 202 to be displayed.
[0046] The dedicated view 214 has two main functions. One is to display the rendering results received from the image generation system 203. The other is to receive operation instructions from the user and transmit them to the image generation system 203.
[0047] Next, the dedicated view 214 transmits the user's operation instruction to the image generation system 203 via the transmission / reception unit 212 (S402). The operation instruction transmitted in S402 is used in S302 in the processing flow on the image generation system 203 side.
[0048] Next, the transmitting / receiving unit 212 judges whether the information received from the image generating system 203 is a free space inquiry request (S403). Here, the free space inquiry request is a character string of Key=Inquiry, value=FreeSpace.
[0049] Next, if the result of the determination in S403 is that a free space inquiry request has been received, the transmitter / receiver 212 transmits the free space of the communication terminal to the image generation system 203 (S404). On the other hand, if the result of the determination in S403 is that a free space inquiry request has not been received, the process proceeds to S306.
[0050] Next, it is determined whether the user has finished using the cloud browser (S407). If the result of the determination in S407 is that the user has finished using the cloud browser, the process ends. On the other hand, if the result of the determination in S407 is that the user will continue using the cloud browser, the process proceeds to S402.
[0051] Next, if no free space inquiry request has been received in S403, the transmitting / receiving unit 212 determines whether the information received from the image generation system 203 is a destination URL (S406). If the received information is a destination URL as a result of the determination in S406, the file is downloaded from the destination URL (S407). Next, the display unit 211 displays information indicating that the download has been successful on the screen (S408). An example of the display in S408 is shown in FIG. 8(A). In FIG. 8(A), 801 is information indicating that the download has been successful. Note that the image generation system 203 may notify the communication terminal 201 of the destination URL and at the same time, may share the download progress rate. At this time, the communication terminal 201 may display the download progress on the screen, indicating how far the download has progressed.
[0052] On the other hand, if the result of the determination in S406 is that the received information is not a destination URL, it is determined whether the information received from the image generation system 203 is information indicating a download failure (S409). If the result of the determination in S409 is that information indicating a download failure has been received, the display unit 211 displays information indicating that the download has failed on the screen (S410). An example of the display in S410 is shown in FIG. 8(B). In FIG. 8(B), 802 is information indicating that the download has failed. In this proposal, the screen indicating the download failure is read out from the screens stored in the communication terminal.
[0053] If no information indicating a download failure has been received in S409, it is determined whether or not a drawing result has been received (S411). If the result of the determination in S411 is that a drawing result has been received, the display unit 211 displays the drawing result on the screen (S412). On the other hand, if the result of the determination in S411 is that a drawing result has not been received, the process proceeds to S413.
[0054] Next, if the result of the determination in S411 is that the drawing result has not been received, a process corresponding to the pressed element is carried out (S413). The process corresponding to S413 is, for example, a process in which the display unit 211 displays a software keyboard on the screen of the communication terminal.
[0055] Next, the processing sequence of the communication terminal 201, the image generation system 203, and the external Web server will be shown using Fig. 10. The sequence diagram of Fig. 10 shows the sequence when the download is successful.
[0056] First, the communication terminal 201 starts a dedicated view and transmits the URL of the Web page 202 to be displayed to the image generation system 203 (S401). Based on the received URL, the image generation system 203 requests the Web page 202 from an external Web server. The external Web server then returns the Web page 202. The image generation system 203 renders the acquired Web page 202 and transmits the result to the communication terminal (S301).
[0057] Next, the communication terminal 201 transmits a user operation instruction to the image generation system 203 (S402). The image generation system 203 determines the element pressed by the user according to the instruction (S303). If the pressed element is a file download element, the image generation system 203 requests free space from the communication terminal 201 (S305). Next, the image generation system 203 requests the size of the file to be downloaded from the external web server (S306). The processing of S305 and S306 may be performed asynchronously in which a request is made without waiting for a response as shown in FIG. 10, or may be performed synchronously in which processing is performed after a response to the request is returned.
[0058] Next, the communication terminal 201 transmits the free space to the image generation system 203 (S404). In addition, the external Web server transmits the file size of the file to be downloaded to the image generation system 203. After that, the image generation system 203 determines whether or not the download is possible (S307).
[0059] If downloading is possible in S307, the image generation system 203 downloads the file to be downloaded from the external Web server, and then notifies the URL of the destination where the file to be downloaded is saved (S310).
[0060] Furthermore, the communication terminal 201 acquires the file from the received destination URL (S407), and then displays information indicating the successful download on the screen (S408).
[0061] This proposal makes it possible to avoid unnecessary downloads between external web services and the image generation system in a cloud browser.
[0062] <Other embodiments> A recording medium on which the program code of the software for realizing the above-mentioned functions is recorded may be supplied to the system or device, and the computer (CPU, MPU) of the system or device may read and execute the program code stored in the recording medium. In this case, the program code itself read from the storage medium will realize the functions of the above-mentioned embodiments, and the storage medium on which the program code is stored will constitute the above-mentioned device.
[0063] Examples of storage media for supplying the program code include flexible disks, hard disks, optical disks, magneto-optical disks, CD-ROMs, CD-Rs, magnetic tapes, non-volatile memory cards, ROMs, and DVDs.
[0064] In addition, the above-mentioned functions may be realized not only by the computer executing the read program code, but also by the OS running on the computer performing all or part of the actual processing based on the instructions of the program code. OS is an abbreviation for Operating System.
[0065] Furthermore, the program code read from the storage medium may be written to a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, and a CPU provided in the function expansion board or function expansion unit may perform part or all of the actual processing based on instructions in the program code to realize the above-mentioned functions.
[0066] 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. [Explanation of symbols]
[0067] 201 Communication terminal 203 Image Generation System 205 Virtual Machine A
Claims
1. An information processing system capable of transmitting image data corresponding to a web page between an image generation system and a communication terminal, The image generation system includes: an available capacity inquiring means for inquiring about an available capacity of the communication terminal; a file size inquiry means for inquiring about the size of a file to be downloaded; a control means for controlling the communication terminal not to download the file to be downloaded from the external web server when the available capacity of the communication terminal is smaller than the size of the file; An information processing system comprising:
2. 2. The information processing system according to claim 1, wherein said image generating system makes an inquiry by said free space inquiry means when the element pressed by the user is a file download element.
3. 2. The information processing system according to claim 1, wherein said image generating system performs an inquiry using said file size inquiry means when the element pressed by the user is a file download element.
4. The information processing system according to claim 1, characterized in that the image generation system acquires free space in the image generation system, and downloads the file to be downloaded if the free space in the image generation system is larger than the size of the file to be downloaded.
5. The information processing system according to claim 1, further comprising a communication means for notifying the communication terminal of a destination URL indicating the location where the downloaded file is saved after downloading the file to be downloaded.
6. The information processing system according to claim 1, further comprising a transmission means for transmitting information indicating that the download has failed to the communication terminal if the file to be downloaded is not downloaded.
7. The information processing system according to claim 1, characterized in that the communication terminal is provided with a display means for displaying information indicating that the download has failed on a screen when the communication terminal receives information indicating that the download has failed from the image generation system.
8. 2. The information processing system according to claim 1, wherein the communication terminal comprises a download unit that, when receiving a destination URL from the image generating system, downloads a file from the destination URL.
9. 9. The information processing system according to claim 8, wherein the communication terminal comprises a display unit that displays information indicating that the download has been successful on a screen after the file has been downloaded from the destination URL.
10. A method for controlling an information processing system capable of transmitting image data corresponding to a web page between an image generation system and a communication terminal, comprising the steps of: In the image generating system, a free space inquiry step of inquiring about free space of the communication terminal; a file size inquiry step of inquiring about the size of a file to be downloaded; a control step of controlling the communication terminal not to download the file to be downloaded from an external web server when the free space of the communication terminal is smaller than the size of the file; A control method comprising:
11. A program for causing a computer to function as the information processing system according to any one of claims 1 to 9.
Citation Information
Patent Citations
Image forming system and method
JP2002366364A
Pos terminal
JP2003085651A
Web site browsing system, server and program for server
JP2011253301A
Document management program and information processor
JP2015032002A
Image processing device, image processing system, image processing method, and web browser program
JP2019024187A
