Program, information processing method, and information processing apparatus

The Picture-in-Picture mode allows applications to continue processing in the background, addressing the issue of task cancellation by displaying key information and enabling concurrent use of other apps, thus enhancing user convenience.

JP2024116855APending Publication Date: 2024-08-28CANON KK
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023022680
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-16
Publication Date
2024-08-28

AI Technical Summary

Technical Problem

Existing technologies fail to prevent the cancellation of tasks, such as print or scan processing, when applications transition to a background state, leading to discarded print jobs or incomplete tasks due to operating system constraints.

Method used

Implementing a Picture-in-Picture (PiP) mode that allows applications to continue processing in the background state, displaying key task information on a smaller screen while enabling the use of other applications, thus avoiding task termination by the OS.

Benefits of technology

Enables continuous task execution and user interaction with other applications during background processing, improving user convenience by ensuring tasks are completed and allowing simultaneous use of multiple applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024116855000001_ABST
    Figure 2024116855000001_ABST
Patent Text Reader

Abstract

To provide a mechanism to allow use of an application different from a predetermined application even during the execution of a function of the predetermined application.SOLUTION: An embodiment of the present invention is an application program. The application program causes an information processing apparatus to execute a method including a first acquisition step of acquiring an image related to a task being executed by the application program, and a generation step of generating a content based on the image acquired in the first acquisition step. When the application program is transitioned to a background state during the execution of the task, the content is displayed on a frontmost face in a display of the information processing apparatus.SELECTED DRAWING: Figure 6
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a program, an information processing method, and an information processing device. [Background technology]

[0002] Generally, there are many operational restrictions when operating in the background. For example, when a specific application program (hereinafter referred to as an application) is in the background, it can only continue processing for a certain period of time determined by the OS, and if the processing is not completed within the certain period of time, the OS may interrupt the processing. Operation restrictions in the background are set in order to prevent heavy processing that consumes a lot of resources such as the smartphone's battery and network from continuing to run without the user's knowledge.

[0003] However, if the GUI of a specific application is closed by the user while the function of the specific application is being executed, the operation state of the specific application may be put into the background state. In such a case, the task processing cannot be completed within a certain period of time set by the OS, and the processing of the specific application is stopped by the task control of the OS, resulting in a problem that the task is discarded.

[0004] As a technique for solving such problems, Patent Document 1 describes a method in which a print application running in the background requests the OS to start a GUI display application running in the foreground. After the GUI display application starts, the GUI display application can analyze the PrintTicket after acquiring a deferred object. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] JP 2019-197277 A Summary of the Invention [Problem to be solved by the invention]

[0006] However, in the technology described in Patent Document 1, when a user closes the GUI of a GUI display application that is running in the foreground state, the operating state of the GUI display application goes into the background state. This causes a problem that the processing of the print application is stopped and the print job is discarded. Thus, the conventional technology has not been able to completely solve the problem that the task is stopped when the application that executes a task such as a print process goes into the background state.

[0007] In view of the above-mentioned problems, an object of the present disclosure is to provide a mechanism for enabling the use of an application other than a specified application even when a function of the specified application is being executed. [Means for solving the problem]

[0008] One embodiment of the present invention is an application program that causes an information processing device to execute a method having a first acquisition step of acquiring an image related to a task being executed by the application program, and a generation step of generating content based on the image acquired by the first acquisition step, and is characterized in that when the application program transitions to a background state during execution of the task, the content is displayed in the foreground on a display unit of the information processing device. Effect of the Invention

[0009] According to the present disclosure, even when a function of a specific application is being executed, an application different from the specific application can be used, thereby improving user convenience. [Brief description of the drawings]

[0010] [Figure 1] Diagram showing the printing system [Diagram 2] A diagram showing the hardware configuration of a smartphone and a printer [Diagram 3] A diagram showing the GUI provided by the printing application. [Figure 4] Diagram showing the background state of the print application [Diagram 5] Diagram showing the GUI in Picture-in-Picture (PiP) mode [Figure 6] Diagram showing the printing application and OS processing in PiP mode [Figure 7] Diagram showing the process by the scanning application and OS in PiP mode DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] Hereinafter, specific embodiments for carrying out the contents of the present disclosure will be described with reference to the drawings. Note that the following embodiments do not unnecessarily limit the invention according to the claims, and all of the combinations of features described in the embodiments are not necessarily essential to the solution of the invention.

[0012] [First embodiment] <Printing system configuration> The configuration of a printing system according to this embodiment will be described below with reference to FIG. 1. FIG. 1 is a diagram showing an example of a printing system according to this embodiment. This printing system 100 has a smartphone 101 as an example of an information processing device, and a printer 102 as an example of a printing device that receives a print job including print data and performs printing based on the print data. Each device included in the printing system 100 is connected to a network 103 via an access point 104. This allows each device to communicate with each other through the network 103, which includes Wi-Fi (Wireless Fidelity) (registered trademark).

[0013] The printer 102 may be a single-function printer having only a printing function, or a multi-function printer having printing, scanning, and copying functions. In this example, the smartphone 101 is used as the information processing device, but the present invention is not limited to this, and various devices such as a tablet, a mobile terminal, and a notebook PC can be used. The number of smartphones 101 connected to the network 103 is not limited to one, and multiple smartphones 101 may be connected. The smartphone 101 can transmit a print job including print data and the like to the printer 102.

[0014] In addition, in FIG. 1, the smartphone 101 and the printer 102 communicate via an external access point 104, but they may also communicate directly (i.e., without going through the access point 104). The access point 104 is a device that constructs a network and determines the communication channel to be used in communication within the constructed network. In this embodiment, Wi-Fi (Wireless Fidelity) (registered trademark) is used, but Bluetooth Classic (registered trademark) or the like may also be used. Also, the access point 104 may be, for example, a device such as a wireless LAN router.

[0015] <Smartphone and printer configuration> The configurations of the smartphone 101 and printer 102 shown in Fig. 1 will be described below with reference to Fig. 2. Fig. 2 is a block diagram showing the hardware configurations of the smartphone 101 and printer 102. The smartphone 101 has an input interface 201, a CPU 202, a ROM 203, a RAM 204, an external storage device 205, an output interface 206, a display unit 207, a communication unit 208, an image capture device 209, and the like.

[0016] The input interface 201 is an interface for receiving data input and operational instructions from a user, and is composed of a physical keyboard, buttons, a touch panel, etc. Note that the output interface 206 described below and the input interface 201 may have the same configuration, and the screen output and the reception of operations from the user may be performed by the same configuration.

[0017] The CPU 202 is a system control unit, and controls the overall operation of the smartphone 101. The CPU 202 loads a program stored in the ROM 203 or the external storage device 205 into the RAM 204, and executes the loaded program to perform various controls such as displaying a UI screen (GUI), generating print data, and transmitting the print data. Note that GUI is an abbreviation for Graphical User Interface.

[0018] Fixed data such as control programs, data tables, and embedded operating system (hereinafter, referred to as OS) programs executed by the CPU 202 are stored in the ROM 203. In this embodiment, the CPU 202 uses each control program stored in the ROM 203 to perform software execution control such as scheduling, task switching, and interrupt processing under the management of the embedded OS stored in the ROM 203.

[0019] The RAM 204 is composed of a static random access memory (SRAM) that requires a backup power source. In the RAM 204, data is held by a primary battery for data backup (not shown), so important data such as program control variables can be stored without volatilization. The RAM 204 also has a memory area for storing setting information for the smartphone 101, management data for the smartphone 101, and the like. The RAM 204 is also used as the main memory and work memory for the CPU 202.

[0020] The external storage device 205 stores application programs for applications (printing application and scanning application described later) for providing a printing function, a scanning function, and the like. The external storage device 205 also stores various programs such as a printing information generating program for generating printing information that can be interpreted by the printer 102, and an information transmission / reception control program for transmitting and receiving data to and from the printer 102 connected via the communication unit 208. The external storage device 205 also stores various information used by these programs, and image data obtained from other terminal devices and the Internet. In this embodiment, a non-volatile memory such as an SSD (Solid State Drive) is assumed as the external storage device 205, but an auxiliary storage device such as an HDD (Hard Disk Drive) may also be used. In this manner, the hardware such as the CPU 202, the ROM 203, the RAM 204, and the external storage device 205 constitute a so-called computer.

[0021] The output interface 206 is an interface that controls display based on data on the display unit 207 and notification of the state of the smartphone 101 .

[0022] The display unit 207 is composed of an LED (light emitting diode), an LCD (liquid crystal display), etc. The display unit 207 displays data and notifies the state of the smartphone 101. Note that a soft keyboard equipped with keys such as numeric input keys, a mode setting key, a decision key, a cancel key, and a power key may be provided on the display unit 207 to accept input from a user via the display unit 207. Furthermore, the display unit 207 displays a screen provided by an OS or an application.

[0023] Incidentally, one of the screens provided by an application and displayed by the OS is a PiP screen in a PiP (Picture in Picture) mode. The PiP screen is a screen for displaying moving images, and is displayed in a small size in a corner of the screen, with priority over the screen provided by the OS or the screen provided by the application displayed on the display unit 207. "Preferentially" means that the screen is displayed overlapping the screen provided by the OS or the screen provided by the application, and is displayed at the forefront of each screen layer (the forefront of the display unit). "Displayed at the forefront" means that the PiP screen is displayed overlapping other screens different from the PiP screen, and the PiP screen is the topmost screen. Such preferential display makes it possible to operate the screen provided by the OS or the screen provided by the application while viewing a moving image. When a moving image is displayed on the screen provided by the application, the PiP screen is displayed by operating an object for transitioning to the PiP mode. The display of the PiP screen can be changed by a user's operation. For example, when the input interface 201 accepts a pinch open operation in which the distance between two fingers is gradually increased as a user's operation, the PiP screen becomes larger. On the other hand, when the input interface 201 receives a pinch-close operation in which the distance between two fingers is gradually narrowed, the PiP screen becomes smaller. Also, when the input interface 201 receives a tap operation on the PiP screen, controls for pausing, playing, rewinding, and forwarding the video, a control for closing the PiP screen, and a control for displaying the video in full screen are displayed. When the user operates each control, the display changes according to the operation. Also, when the input interface 201 receives an operation to drag the PiP screen, the PiP screen moves to a different position. In this case, if the PiP screen is dragged to the edge of the screen, the PiP screen becomes hidden, but the video continues to be played even in this state.

[0024] The communication unit 208 is a component for connecting to an external device such as the printer 102 and executing data communication. For example, the communication unit 208 may directly communicate with the printer 102 via wireless communication, or may communicate with the printer 102 via an access point 104 that is external to the smartphone 101 or printer 102.

[0025] The photographing device 209 is a device that converts an image photographed by an image sensor into digital data. This digital data is temporarily stored in the RAM 204. Thereafter, in accordance with a program executed by the CPU 202, this digital data is converted into image data in a predetermined image format, and the image data is stored in the external storage device 205.

[0026] The printer 102 is a device with which the smartphone 101 communicates. The printer 102 includes a ROM 211, a RAM 212, a CPU 213, a print engine 214, a communication unit 215, an input interface 216, an output interface 217, a function control unit 218, a display unit 219, and the like.

[0027] The ROM 211 stores fixed data such as control programs, data tables, and embedded OS programs executed by the CPU 213. In this embodiment, the CPU 213 uses each control program stored in the ROM 211 to perform software execution control such as scheduling, task switching, and interrupt processing under the management of the embedded OS stored in the ROM 211. The ROM 211 also has a memory area for storing data that needs to be retained even when power is not being supplied, such as setting information for the printer 102 and management data for the printer 102.

[0028] The RAM 212 is composed of a DRAM or the like that requires a backup power source. Since the RAM 212 holds data by being supplied with a power source for data backup (not shown), it can store important data such as program control variables without volatilizing the data. The RAM 212 is also used as the main memory and work memory of the CPU 213. Furthermore, the RAM 212 functions as a receiving buffer for temporarily storing print information received from the smartphone 101 or the like, and stores various types of information.

[0029] The CPU 213 is a system control unit, and controls the entire printer 102. The CPU 213 loads a program stored in the ROM 211 into the RAM 212, and executes the loaded program.

[0030] The print engine 214 forms an image on a recording medium such as paper using a recording agent such as ink based on information stored in the RAM 212 and a print job received from the smartphone 101 or the like, and outputs the print result. Generally, a print job sent from the smartphone 101 or the like has a large amount of transmission data and requires high-speed communication, so it is preferable to receive the print job via the communication unit 215 that is capable of relatively high-speed communication.

[0031] The communication unit 215 is a component for connecting to an external device such as the smartphone 101 and performing data communication. In this embodiment, Wi-Fi is used as the wireless communication method of the communication unit 215, but Bluetooth Classic or the like may also be used. The communication unit 215 has an access point (not shown) for connecting to a device such as the smartphone 101 as an access point inside the printer 102. This access point can be connected to the communication unit 208 of the smartphone 101. The communication unit 215 may directly communicate with the smartphone 101 via the access point of the communication unit 215, or may communicate with the smartphone 101 via the access point 104. The communication unit 215 has a function of an access point, and the communication unit 215 may have hardware that functions as an access point, or the communication unit 215 may operate as an access point by software for functioning as an access point. The access point inside the printer 102 may be configured of multiple access points with different SSIDs and passwords.

[0032] The input interface 216 is an interface for receiving data input and operational instructions from the user, and is composed of a physical keyboard, buttons, a touch panel, etc. Note that the output interface 217 described below and the input interface 216 may have the same configuration, and the screen output and the reception of operations from the user may be performed by the same configuration.

[0033] The output interface 217 is an interface that controls display based on data on a display unit 219 and notification of the status of the printer 102 .

[0034] A function control unit 218 manages the operation of functions, such as determining whether or not the functions of the printer 102 are to be operated simultaneously.

[0035] The display unit 219 is composed of an LED (light emitting diode), an LCD (liquid crystal display), etc. The display unit 219 displays data and notifies the status of the printer 102. Note that by providing a soft keyboard on the display unit 219 that has keys such as numeric input keys, a mode setting key, a confirmation key, a cancel key, and a power key, it is possible to accept input from the user via the display unit 219.

[0036] Here, a printing system configured to use a printing application to transmit print data to a printing device is generally known. An OS, which is basic software, is installed on an information processing device such as a smartphone on which the printing application is installed, and the printing application is called from the OS via a user's operation and operates. A user can instruct a printing device to print by using the printing application, and at this time, the GUI of the printing application is displayed on the smartphone screen. In this way, a state in which an application is operating with the GUI of the application displayed on the smartphone screen is called a foreground state. In contrast, a state in which an application is operating with the GUI of the application not displayed on the smartphone screen is called a background state. For example, if the GUI of the printing application is closed and the GUI of the OS is displayed or a different application is switched to while printing is being performed on a printing device using the printing application, the printing application will be in the background state.

[0037] Generally, there are many operational restrictions on such background operation. For example, when an application is in the background, it can only continue processing for a certain period of time set by the OS, and if the processing is not completed within the certain period of time, the OS may interrupt the processing. Operation restrictions in the background are set to prevent heavy processing that consumes a lot of resources such as the smartphone's battery and network from continuing to be executed without the user's knowledge.

[0038] However, if the user closes the GUI of the print application while the print process is in progress, the operation state of the print application may go into the background. In such a case, the print process cannot be completed within a certain period of time set by the OS, and the print application process is stopped by the task control of the OS, resulting in the print job being discarded.

[0039] Therefore, in this embodiment, a sequence described later with reference to FIG. 6 is adopted. As a result, even if the GUI of the print application is closed, the print application is controlled to continue operating in the background, and the print process can be continued. In addition, such print process using the PiP mode makes it possible to use an application other than the print application even during the print process, improving user convenience.

[0040] <Print application operation> The operation of the print application that runs on the smartphone 101 will be described below with reference to FIG. 3 and FIG. 4. FIG. 3(a) shows a state in which a GUI is displayed on the display unit 207 of the smartphone 101 as a state in which the user is using a print application stored in the external storage device 205 of the smartphone 101. That is, FIG. 3(a) is a diagram showing a state in which a screen provided by the print application being used is displayed on the smartphone 101. The display unit 207 in FIG. 3(a) displays a screen for executing a print instruction to the printer 102 connected to the smartphone 101 via a network or the like. This screen has multiple objects such as an object 301 for executing settings related to printing and an object 302 for instructing the start of printing and executing printing. The user can use the functions of the printer 102 by performing a tap operation (also called pressing) on ​​the object 301 or the object 302. In more detail, the object 301 is an object for executing multiple print settings such as the size and type of paper used for printing, and border settings. The object 302 is an object for instructing the execution of printing. By tapping on the object 302, image data, document data, etc. selected as the print target are transmitted to the printer 102 as print data, and the printer 102 executes print processing based on the transmitted print data.

[0041] When a tap operation is performed on the object 302, the screen of the printing application displayed on the display unit 207 of the smartphone 101 transitions to the screen shown in FIG. 3B. FIG. 3B is a screen provided by the printing application while the printer 102 is executing a printing process. This screen displays an image 303 indicating the image data being printed, information 304 regarding the print settings, status information 305 regarding the printing operation of the printer 102, and the like. During printing, communication is established between the smartphone 101 and the printer 102 by the communication unit 208 of the smartphone 101 and the communication unit 215 of the printer 102, and the smartphone 101 can receive status information indicating the status of the printer 102. The screen of the printing application shown in FIG. 3B is updated according to the status of the printer 102 indicated by the received status information. For example, if the printer 102 runs out of paper (or is running low) or runs out of ink (or is running low), the contents of the status information 305 are updated, and an error state of the printer 102 can be presented to the user.

[0042] As shown in Figures 3(a) and 3(b), a state in which the screen of the running print application is displayed on the display unit 207 of the smartphone 101 and the print application is executing a process is called a foreground state. In the foreground state, the process for executing the print application is executed with priority, so that the capabilities of the CPU 202 and RAM 204 of the smartphone 101 can be fully used for that process. Also, when the print application is in the foreground state, the screen of the print application covers most of the display unit 207 of the smartphone 101, and the user generally cannot perform operations other than those related to the print application.

[0043] Here, the screen of the print application being displayed on the display unit 207 of the smartphone 101 can be closed at any timing. For example, when a home button (not shown) mounted on the smartphone 101 is pressed, the display on the display unit 207 of the smartphone 101 transitions to a screen provided by the OS mounted on the smartphone 101. Also, the screen of the print application can be closed and transitioned to a screen provided by the OS by swiping the home bar 306 displayed at the bottom of the display unit 207 of the smartphone 101 upward. FIG. 4(a) shows the state after this transition. A state in which the screen of the running print application is not displayed on the display unit 207 of the smartphone 101 is called a background state. In the background state, the priority of the process for executing the print application is lowered, and the capacity of the CPU 202 and RAM 204 of the smartphone 101 that is allocated to the process is reduced. The print application runs on the OS, and the OS interrupts the process of the print application when the print application continues processing in the background state for a predetermined time.

[0044] Also, as shown in Fig. 4(b), an application other than the print application may be executed. Fig. 4(b) shows a state in which a web browser is displayed as an example of a screen of an application other than the print application, and this state is also a background state for the print application.

[0045] In cases where the operating state of a print application is in the background state as shown in Figures 4(a) and 4(b), the print application can only continue processing for a certain period of time determined by the OS. For example, if the state transitions to that shown in Figure 4(a) during the print processing shown in Figure 3(b), the print application must complete the print processing within the certain period of time determined by the OS. If the print application cannot complete the print processing within the certain period of time determined by the OS, the print application will be terminated by the OS and the print job will be discarded.

[0046] FIG. 5 shows a state in which the screen of the print application is displayed in the picture in picture (PiP) mode on the display unit 207 of the smartphone 101. FIG. 5(a) shows the PiP mode in a state in which the screen of the print application is closed and transition is made to a screen provided by the OS installed in the smartphone 101, as in FIG. 4(a). FIG. 5(b) shows the PiP mode in a state in which an application other than the print application is executed, as in FIG. 4(b). The PiP screen 501 is configured using elements of the screen of the print application, and displays an image 303 showing image data being printed, information 304 related to print settings, status information 305 related to the printing operation of the printer 102, and the like. In the PiP mode, each element of the screen of the print application is displayed as a moving image. The moving image here is obtained by acquiring the screen of the print application as an image at regular intervals and stitching together the acquired images at regular intervals. For example, images are acquired every second of a partial area of ​​the entire print application screen, including the display area of ​​an image 303 showing the image data being printed, the display area of ​​information 304 related to print settings, and the display area of ​​status information 305 related to the printing operation of the printer 102. A video generated by stitching these images together is displayed on the PiP screen 501. Note that the aforementioned "partial area" is also referred to as a "partial area."

[0047] When the print application screen during print processing shown in FIG. 3B supports the PiP mode, the print application can be switched to the PiP mode by performing the same operation as that for putting the print application into the background during print processing. Specifically, the print application screen is closed and the mode is switched to the PiP mode by pressing the home button of the smartphone 101 or swiping upward the home bar 306 displayed at the bottom of the display unit 207 of the smartphone 101. When the mode is switched to the PiP mode, the print application is put into the background. The PiP mode screen to which the mode is switched at this time is the screen shown in FIG. 5A.

[0048] However, unlike the background states shown in FIG. 4(a) and FIG. 4(b), the background state in the PiP mode has less restrictive operating conditions imposed by the OS. For example, in the background state in the PiP mode, even if the print application cannot complete the print process within a certain time period determined by the OS, the print process is not forcibly terminated by the OS. Therefore, the print application can continue the print process for the printer 102 and keep updating the display contents of the PiP screen 501 even in the background state. That is, the current status of the print operation of the printer 102 can be displayed on the PiP screen 501. For example, if the mode is changed to the PiP mode during the print process shown in FIG. 3(b) and an error occurs in the printer 102, the display contents of the PiP screen 501 can be updated to notify the user of the contents of the error that occurred in the printer 102. As described above, the PiP screen 501 displays a moving image generated by stitching together images. Therefore, even in the background state in PiP mode, the error information display area on the print application screen is acquired as an image every second, and a video made by joining these images is displayed on the PiP screen 501.

[0049] The PiP screen 501 also has an object 502 that ends the PiP mode and returns the print application to the foreground state. When the user taps on the object 502, the PiP mode ends and the print application goes into the foreground state. In this example, the object 502 is provided so that the PiP screen 501 has the object 502, but the object 502 may be the PiP screen 501 itself. In this case, a tap on any location on the PiP screen 501 ends the PiP mode and the print application goes into the foreground state.

[0050] Furthermore, the PiP screen 501 can be freely moved by swiping in the direction in which the PiP screen 501 is to be moved. In this case, the PiP screen 501 can also be moved to a position where it is no longer visible from the display unit 207 of the smartphone 101. In this case, only an object for displaying the PiP screen 501 again on the display unit 207 of the smartphone 101 remains.

[0051] When the smartphone 101 transitions to the PiP mode during execution of a print process, the components of the screen of the print application can be displayed at the forefront of the display unit 207 of the smartphone 101. Examples of such components include a display area for an image 303 showing image data being printed, a display area for information 304 related to print settings, and a display area for status information 305 related to the print operation of the printer 102. In the PiP mode, the smartphone 101 can accept any operation, including an operation unrelated to the operation of the print application. In other words, in the smartphone 101 in the PiP mode, any application other than the print application stored in the external storage device 205 can be executed. For example, FIG. 5(b) shows a state in which a web browser is executed as an application other than the print application in the PiP mode.

[0052] In this way, by using the PiP mode, even if the GUI of the print application is closed, the print application can continue to operate in the background, and the print process can be continued. Also, by using the PiP mode, an application other than the print application can be used even during the print process, improving user convenience.

[0053] In the present embodiment, a representative form of the operation related to the PiP mode has been described, but the present invention is not limited to this as long as the object of the present disclosure can be achieved. For example, the case where the operation of transitioning the print application from the foreground state to the PiP mode is an operation of transitioning the print application to the background state has been described, but the present invention is not limited to this. For example, the screen during the execution of the print process shown in FIG. 3B may have an object that transitions to the PiP mode, and transition to the PiP mode may be made by operating the object. Also, the printer 102 may start the print process and transition to the PiP mode in response to the operation of the object 302 for instructing the start of printing shown in FIG. 3A.

[0054] Furthermore, the information displayed on the PiP screen 501 may be limited to only the status information 305 related to the print processing of the printer 102. If less information is displayed on the PiP screen 501, the size of the PiP screen 501 can be reduced, and the area for displaying the screen of any application during execution of the print processing can be increased.

[0055] Furthermore, while the PiP screen 501 displays a video generated by connecting images of each element on the screen of the print application every second, the display content is not limited to this. For example, an object for interrupting the print process of the print application may be provided, and the print application may instruct the printer 102 to cancel the print process by operating the object. Also, an object for displaying the online manual of the printer 102 may be provided, and the online manual may be displayed in a web browser or the like in response to a user operation on the object. In this case, the PiP mode continues, so the print process by the print application can continue without interruption.

[0056] Also, when the print application detects that the printing process of the printer 102 has ended, the print application may end the PiP mode and bring the print application to the foreground. Also, when the print application detects that the printing process of the printer 102 has ended, the print application may end the PiP mode and set the print application to the normal background state. If the printing process of the printer 102 has ended, the print application does not need to continue the process, and the printing will not be interrupted even if it transitions to the normal background state.

[0057] In this way, by adopting the PiP mode, when the GUI of the print application is closed during the execution of the printing process, the print application can continue to operate in the background. Therefore, the printing process can be continued and completed. Also, with various embodiments using such a PiP mode, an application different from the print application can be used even during the execution of the printing process, improving the convenience for the user.

[0058] <Processing in PiP Mode> Hereinafter, the processing in the smartphone 101 during the PiP mode will be described with reference to FIG. 6. FIG. 6 is a flowchart showing the processing executed according to the print application and the OS when using the PiP mode.

[0059] In step S601, the CPU 202 of the smartphone 101 receives an input of a user operation such as a tap on the object 302 (see FIG. 3(a)) in the GUI of the print application displayed on the display unit 207. Note that the object 302 is an object for instructing the printer 102 to start printing and executing the printing process, as described above. Also, hereinafter, for simplicity, "step S~" will be abbreviated as "S~".

[0060] In S602, the CPU 202 uses a print application to instruct the printer 102 to execute print processing. The printer 102 that has received the instruction to execute print processing in this step executes the print processing.

[0061] In S603, the CPU 202 uses the print application to display on the display unit 207 a screen (see FIG. 3B) indicating that print processing is being executed.

[0062] In S604, the CPU 202 uses a print application to determine whether the smartphone 101 supports the PiP mode and whether use of the PiP mode is permitted. The reason for executing the determination process in this step is that, depending on the type of smartphone 101, the PiP mode may not be supported, and in this case, the PiP mode cannot be used, so that the process related to the PiP mode is not executed. In addition, even if the smartphone 101 supports the PiP mode, the use of the PiP mode may not be permitted, and in this case, the PiP mode cannot be used, so that the process related to the PiP mode is not executed. If the determination result in this step is true (YES), the process proceeds to S605, and if the determination result is false (NO), the processes of S610 and S611 are executed, and the process of this flowchart ends (not shown).

[0063] In S605, the CPU 202 uses the print application to acquire an image (data) of a display area for information related to the execution of print processing every second as a partial area of ​​the entire screen of the GUI indicating that print processing is being executed. This partial area is an area that includes at least one of the display area of ​​an image 303 showing the image data being printed, the display area of ​​information 304 related to print settings, and the display area of ​​status information 305 related to the printing operation of the printer 102 (see FIG. 3(b)).

[0064] In S606, the CPU 202 uses the print application to generate a video with one frame per second using the images acquired per second in S605. Note that S605 and S606 are repeatedly executed every second while the printer 102 is executing the print process. In other words, S605 and S606 are executed until the end of the print process is detected. The video to be displayed on the PiP screen 501 can be generated by S605 and S606.

[0065] Here, it is assumed that after S606, the CPU 202 detects that the print application has transitioned to the background state. Then, in S607, in response to the print application transitioning to the background state, the CPU 202 uses the print application to determine whether the print application is available in PiP mode. For example, if an application other than the print application is running in PiP mode, the print application cannot be used in PiP mode. If the determination result in this step is true, the process proceeds to S608. On the other hand, if the determination result in this step is false, the processes of S610 and S611 are executed, and the process of this flowchart ends. In this case, the print application does not run in PiP mode and is in a normal background state.

[0066] In S608, the CPU 202 starts operation in the PiP mode using the print application.

[0067] In S609, the CPU 202 uses the OS to display the PiP screen 501 on the display unit 207 of the smartphone 101. Note that during the PiP mode, the CPU 202 uses the print application to continuously perform the above-described repeated processes of S605 and S606, and the video generated in S606 is displayed on the PiP screen 501. In this way, by starting operation in the PiP mode, it becomes possible to continue the print process being executed by the print application without being terminated by the OS.

[0068] In S610, the CPU 202 uses the print application to acquire status information related to the print process being executed by the printer 102. This status information is transmitted by the printer 102. The acquisition process in this step is executed at four-second intervals while the printer 102 is executing the print process. Note that in this embodiment, the time interval (first time interval) employed in S605 is one second, and the time interval (second time interval) employed in S610 is four seconds, but is not limited to this. However, it is preferable that the second time interval is equal to or greater than the first time interval.

[0069] Here, it is assumed that the print status indicated by the status information acquired in S610 has changed. For example, it may be that printing is almost complete, or that the remaining amount of recording agent such as ink is low. In such a case, in S611, the CPU 202 uses the print application to update the display content in the GUI of the print application. In this embodiment, the display content that may be updated in this step is specifically content based on the image 303 indicating the image data being printed, information 304 related to print settings, status information 305 related to the print operation of the printer 102, and the like. In other words, when the updated information is acquired, the content based on the acquired information is displayed on the display unit 207 of the smartphone 101. In addition, the update process in S611 is executed regardless of whether the print application is in the foreground state or in the background state during PiP mode.

[0070] Here, it is assumed that the CPU 202 detects the end of the PiP mode using the OS. In this case, in S612, the CPU 202 uses the OS to return the print application to the foreground state. The PiP mode may be ended when an operation on any object in the PiP screen 501 is detected, or the PiP mode may be ended via the print application that detects the end of the print process of the printer 102.

[0071] Here, it is assumed that the CPU 202 detects the end of the print process by the printer 102. In response to this detection, in S613, the CPU 202 uses the print application to end the process related to the PiP screen display and the process related to printing. The process related to the PiP screen display specifically refers to the acquisition of image data in S605 and the generation of moving images in S606 described above. The process related to printing specifically refers to the acquisition of status information in S610 and the update of display contents in S611.

[0072] <Effects of this embodiment> The printing process when the PiP mode is used is the sequence described above. In the above embodiment, a moving image is generated in S606 using the image acquired in S605, and the generated moving image is displayed on the PiP screen in S609. However, in this embodiment, the content generated and displayed using the acquired image is not limited to a moving image. For example, an image of the entire or partial area of ​​the GUI screen (during application execution) may be acquired at predetermined intervals (for example, 10 seconds) in S605, and the acquired image may be displayed on the PiP screen as it is (still image content that is switched and displayed at predetermined intervals). In addition, the content does not have to be an image. For example, the GUI screen of the print application may be displayed as it is as the PiP screen, and the "Cancel" button displayed on the printing screen may be operated on the PiP screen.

[0073] By employing the sequence described above with reference to Fig. 6, the print application can continue to operate in the background even when the GUI of the print application is closed, and the print process can be continued. In addition, print processing using such PiP mode allows an application other than the print application to be used even during print processing, improving user convenience.

[0074] [Second embodiment] In this embodiment, the technical idea of ​​the present disclosure is applied to a scan function, and the operation when the technical idea is applied to the scan function will be described below with reference to Fig. 7. Fig. 7 is a flowchart showing the process executed according to the scan application and OS when the PiP mode is used. Note that, hereinafter, the description of the same contents as in the first embodiment will be omitted as appropriate (see Fig. 6), and the description will mainly focus on the contents different from the first embodiment.

[0075] In S701, the CPU 202 of the smartphone 101 accepts input of a user operation such as a tap on an object in the GUI of a scan application displayed on the display unit 207. This object is an object for instructing the scanner to start scanning and executing scanning processing.

[0076] In step S702, the CPU 202 instructs the scanner to execute a scan process using a scan application. The scanner that has received the instruction to execute the scan process in this step executes the scan process.

[0077] In S703, the CPU 202 uses the scan application to display on the display unit 207 a screen indicating that the scan process is being executed.

[0078] In S704, the CPU 202 uses a scan application to determine whether the smartphone 101 supports the PiP mode and whether use of the PiP mode is permitted. If the determination result in this step is true, the process proceeds to S705. On the other hand, if the determination result in this step is false, the process in S710, S711, and S714 is executed, and the process in this flowchart ends (not shown).

[0079] In S705, the CPU 202 uses the scan application to acquire an image (data) of a display area for information related to the execution of the scan process, which is a partial area of ​​the entire screen of the GUI showing that the scan process is in progress, every second. This partial area is an area that includes at least a display area for information related to the scan settings and a display area for status information related to the scan operation of the scanner.

[0080] In S706, the CPU 202 uses the scan application to generate a video with one frame per second using the images acquired per second in S705. Note that S705 and S706 are repeatedly executed every second while the scanner is executing the scan process. In other words, S705 and S706 are executed until the end of the scan process is detected. The video to be displayed on the PiP screen 501 can be generated by S705 and S706.

[0081] Here, it is assumed that after S706, CPU 202 detects that the scan application has transitioned to the background state. Then, in response to the transition of the scan application to the background state, in S707, CPU 202 uses the scan application to determine whether the scan application is available in PiP mode. If the determination result in this step is true, the process proceeds to S708. On the other hand, if the determination result in this step is false, the processes of S710, S711, and S714 are executed, and the process of this flowchart ends (not shown).

[0082] In S708, the CPU 202 starts operation in the PiP mode using the scan application.

[0083] In S709, the CPU 202 uses the OS to display the PiP screen 501 on the display unit 207 of the smartphone 101. During the PiP mode, the CPU 202 uses the scan application to continuously perform the above-described repeated processes of S705 and S706, and the video generated in S706 is displayed on the PiP screen 501. In this way, by starting operation in the PiP mode, it becomes possible to continue the scan process being executed by the scan application without being terminated by the OS.

[0084] In S710, the CPU 202 uses the scan application to obtain status information regarding the scan process being performed by the scanner. This status information is transmitted by the scanner. The obtaining process in this step is performed at four-second intervals while the scanner is performing the scan process.

[0085] Here, it is assumed that the status related to scanning indicated by the status information acquired in S710 has changed. In such a case, in S711, CPU 202 uses the scan application to update the display content in the GUI of the scan application. In this embodiment, the display content that may be updated in this step is specifically content based on information related to scan settings, status information related to the scanner's scan operation, etc.

[0086] Here, it is assumed that CPU 202 detects the end of the PiP mode using the OS. In this case, in S712, CPU 202 uses the OS to return the scan application to the foreground state. Note that the PiP mode may be ended when an operation on any object in PiP screen 501 is detected, or the PiP mode may be ended via the scan application that detects the end of the scanner scan process.

[0087] Here, it is assumed that CPU 202 detects the end of the scan process by the scanner. In response to this detection, in S713, CPU 202 uses the scan application to end the process related to the PiP screen display and the process related to the scan. The process related to the PiP screen display is specifically the acquisition of image data in S705 and the generation of moving images in S706 described above. The process related to the scan is specifically the acquisition of status information in S710 and the update of the display contents in S711.

[0088] In S714, the CPU 202 uses the scan application to display the scan results on the display unit 207 of the smartphone 101. The scan results are displayed on the GUI of the scan application in the foreground state, but if the display area of ​​the scan results is also set as a display target area of ​​the PiP screen 501, the scan results can also be displayed on the PiP screen 501. When scanning multiple pages, an object for scanning the next page can be displayed on the PiP screen 501, and when an operation is received for that object, the scanner can be instructed to execute scanning processing for the next page.

[0089] The scanning process when using the PiP mode follows the sequence described above. By adopting such a sequence, even if the GUI of the scanning application is closed, the scanning application can continue to operate in the background, and the scanning process can be continued. In addition, the scanning process using such PiP mode allows an application other than the scanning application to be used even during the scanning process, improving user convenience.

[0090] [Other embodiments] The above-mentioned embodiment can also be realized by executing the following process. That is, software (programs) that realize the functions of the above-mentioned embodiment are supplied to a system or device via a network or various storage media, and a computer (CPU, MPU, etc.) of the system or device reads and executes the program. The program may be executed by one computer, or may be executed by multiple computers in cooperation with each other. It is not necessary to realize all of the above-mentioned processes by software, and some or all of the processes may be realized by hardware such as ASIC. The CPU is also not limited to one that performs all processes by one CPU, and multiple CPUs may perform processes in cooperation with each other as appropriate.

[0091] In addition, the functions of the above-mentioned embodiments are not only realized by a computer reading and executing the program code, but also include cases where an OS running on a computer performs part or all of the actual processing based on the instructions of the program code, and the functions of the above-mentioned embodiments are realized by the processing.

[0092] [Technical Features of the Disclosure] The present disclosure includes the following configurations.

[0093] (Configuration 1) An application program comprising: an information processing device executing a method having a first acquisition step of acquiring an image related to a task being executed by the application program; and a generation step of generating content based on the image acquired by the first acquisition step; and when the application program transitions to a background state during execution of the task, the content is displayed in the foreground on a display unit of the information processing device.

[0094] (Configuration 2) The application program according to configuration 1, further comprising a continuation step for continuing the task in an executable state until the task is completed, even if the application program has transitioned to a background state.

[0095] (Configuration 3) 3. The application program according to claim 1, wherein the information processing device operates in a picture-in-picture mode and the content is displayed on a picture-in-picture screen.

[0096] (Configuration 4) 4. The application program according to any one of configurations 1 to 3, wherein when the end of the picture-in-picture mode is detected, the application program in a background state returns to a foreground state.

[0097] (Configuration 5) 5. The application program according to any one of configurations 1 to 4, wherein in the first acquisition step, the image is acquired at first time intervals.

[0098] (Configuration 6) 6. The application program according to any one of configurations 1 to 5, wherein the first time interval is 1 second, and the content is a video in which one frame is 1 second long.

[0099] (Configuration 7) The application program of any one of configurations 1 to 6, wherein the image is an image of a display area in which information regarding the execution of the task is displayed as a partial area of ​​the entire screen of a GUI indicating that the application program is executing the task.

[0100] (Configuration 8) 8. The application program according to any one of configurations 1 to 7, further comprising a second acquisition step of acquiring information regarding the execution of the task.

[0101] (Configuration 9) The application program of any one of configurations 1 to 8, wherein the task is executed by an external device of the information processing device, and in the second acquisition step, information regarding the execution of the task transmitted from the external device is acquired at a second time interval that is the same as or longer than the first time interval.

[0102] (Configuration 10) 10. The application program according to any one of configurations 1 to 9, wherein the content of the video is updated based on information regarding the execution of the task acquired by the second acquisition step.

[0103] (Configuration 11) An application program described in any one of configurations 1 to 10, wherein an image relating to a task being executed by the application program is an image relating to a GUI, and the content is displayed at the forefront on the display unit in response to a user operation on an object of the GUI.

[0104] (Configuration 12) 12. The application program according to any one of configurations 1 to 11, wherein the object is an object for instructing the execution of the task.

[0105] (Configuration 13) 13. The application program according to any one of configurations 1 to 12, wherein when the task is completed, display of the content is terminated.

[0106] (Configuration 14) An application program described in any one of configurations 1 to 13, wherein the task is a printing process of a printer, the application program is a printing application program, and the partial area includes at least one of a display area for an image showing image data being printed, a display area for information regarding print settings, and a display area for status information regarding the printing operation of the printer.

[0107] (Configuration 15) An application program described in any one of configurations 1 to 14, wherein the task is a scanning process of a scanner, the application program is a scanning application program, and the partial area includes at least one of a display area for information regarding scan settings and a display area for status information regarding the scanning operation of the scanner.

[0108] (Configuration 16) An application program described in any one of configurations 1 to 15, wherein the application program runs on an OS, and the OS suspends processing of the application program when the application program has been running in the background for a predetermined period of time.

[0109] (Configuration 17) An information processing method comprising: an acquisition step of acquiring an image related to a task being executed by an application program; a generation step of generating content based on the image acquired by the acquisition step; and a step of displaying the content in the foreground on a display unit of an information processing device when the application program transitions to a background state during execution of the task.

[0110] (Configuration 18) An information processing device comprising: a storage means for storing an application program; an acquisition means for acquiring an image related to a task being executed by the application program; a generation means for generating content based on the image acquired by the acquisition means; and a display means for displaying the content at the forefront of a display unit of the information processing device when the application program transitions to a background state during execution of the task. [Explanation of symbols]

[0111] 101 Smartphone 102 Printer 202 CPU 501 PiP screen

Claims

1. An application program, a first acquisition step of acquiring an image related to a task being executed by the application program; a generating step of generating content based on the image acquired by the first acquiring step; A method comprising the steps of: When the application program transitions to a background state during the execution of the task, the content is displayed in the foreground on a display unit of the information processing device.

1. An application program comprising:

2. The method further includes a continuation step for continuing the task in an executable state until the task is completed even if the application program has transitioned to a background state.

2. The application program according to claim 1.

3. The information processing device operates in a picture-in-picture mode, The content is displayed on a picture-in-picture screen.

3. The application program according to claim 2.

4. When the end of the picture-in-picture mode is detected, the application program in the background state returns to the foreground state.

4. The application program according to claim 3.

5. In the first acquiring step, the images are acquired at first time intervals.

5. The application program according to claim 1.

6. the first time interval is 1 second; The content is a video in which one frame is one second long.

6. The application program according to claim 5.

7. the image is an image of a display area in which information regarding the execution of the task is displayed as a partial area of ​​an entire screen of a GUI showing that the application program is executing the task; 7. The application program according to claim 6.

8. The method further includes a second acquisition step of acquiring information regarding the execution of the task.

8. The application program according to claim 7.

9. the task is executed by an external device of the information processing device; In the second acquisition step, the information regarding the execution of the task transmitted from the external device is acquired at a second time interval that is equal to or longer than the first time interval.

9. The application program according to claim 8.

10. The content of the video is updated based on the information regarding the execution of the task acquired by the second acquisition step.

10. The application program according to claim 9.

11. the image relating to a task being executed by the application program is an image relating to a GUI, and the content is displayed in the foreground on the display unit in response to a user operation on an object of the GUI; 5. The application program according to claim 1.

12. the object is an object for instructing the execution of the task; 12. The application program according to claim 11.

13. When the task is completed, the display of the content is terminated.

5. The application program according to claim 1.

14. the task is a printing process of a printer, the application program is a print application program, the partial area includes at least one of a display area for an image showing image data being printed, a display area for information on print settings, and a display area for status information on the printing operation of the printer; 8. The application program according to claim 7.

15. the task is a scanning process of a scanner, the application program is a scan application program, the partial area includes at least one of a display area for information on scan settings and a display area for status information on a scan operation of the scanner; 8. The application program according to claim 7.

16. The application program runs on an OS, and the OS suspends processing of the application program when the application program has been running in a background state for a predetermined period of time.

5. The application program according to claim 1.

17. an acquisition step in which an application program acquires an image relating to a task being performed; a generating step of generating content based on the image acquired by the acquiring step; displaying the content on the foreground of a display unit of an information processing device when the application program transitions to a background state during execution of the task; having 23. An information processing method comprising:

18. A storage means in which an application program is stored; an acquisition means for acquiring an image related to a task being executed by the application program; a generation means for generating content based on the image acquired by the acquisition means; a display unit that displays the content on the foreground of a display unit of an information processing device when the application program transitions to a background state during execution of the task; having 23. An information processing apparatus comprising:

Citation Information

Patent Citations

  • program

    JP2019197277A