Information processing device, method, and program
A concentration mode is implemented to prevent print and registration tasks from being interrupted by external events, ensuring uninterrupted processing in print applications.
Patent Information
- Application Number
- JP2023023634
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-17
- Publication Date
- 2024-08-29
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Print applications running in the background state on devices like smartphones can be interrupted due to external events, leading to incomplete processing tasks, as they cannot detect and handle such events effectively.
Implementing a mechanism that transitions the device to a 'concentration mode' where external events are not notified, allowing uninterrupted processing by requesting the operating system to shift the device into this mode before executing print or registration processes.
Ensures continuous processing of print and registration tasks by preventing interruptions from external events, maintaining task completion without user notification of the events.
Smart Images

Figure 2024117501000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to an information processing device, method, and program. [Background technology]
[0002] A configuration is generally known in which print data is sent to a printing device using a print application. An operating system (OS), which is basic software, is installed on an information processing device such as a smartphone on which the print application is installed, and the print application is called from the OS via a user operation and operates. By using the print application, a user can instruct the printing device to print. At this time, a GUI (Graphical User Interface) of the print application is displayed on the smartphone screen. In this way, a state in which the 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 the 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 print application is closed to display the GUI of the OS or a different application is switched to while a print process is being performed using the print application, the print application will be in the background state.
[0003] Generally, there are many operational restrictions on the operation of such applications in the background state. For example, when an application is in the background state, it can only continue processing for a certain period of time set by the OS, and if the processing is not completed within that period of time, the processing may be interrupted by the task control of the OS. This operational restriction in the background state is set in order to prevent heavy processing that consumes a lot of resources such as the smartphone's battery and network from being continued without the user's knowledge.
[0004] If a print application receives and responds to an external event while executing a print process, the operation state of the print application becomes background state. In such a case, if the print process cannot be completed within a certain time period determined by the OS, the print application process is interrupted and the print job is discarded. Patent Document 1 describes that if an external event occurs while executing a print process, the external event is handled after the print process is completed. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2006-87002 A Summary of the Invention [Problem to be solved by the invention]
[0006] In Patent Document 1, the print application itself is capable of detecting and handling an external event. Even if an external event occurs to a print application that cannot detect an external event, a mechanism is required that allows processing to continue without interruption.
[0007] An object of the present invention is to provide a mechanism that enables continuation of processing of a print application even when an external event occurs. [Means for solving the problem]
[0008] In order to solve the above problems, the program of the present invention causes a computer of the information processing device to function as: a receiving means for receiving an instruction to execute a process; a transition means for controlling the transition of the state of the information processing device to a predetermined mode in which the user is not notified that an event has been received from the outside after the receiving means has received the instruction to execute the process and before executing the process; and an execution means for executing the process after control has been performed by the transition means. Effect of the Invention
[0009] According to the present invention, it is possible to continue processing of a print application even when an external event occurs. [Brief description of the drawings]
[0010] [Figure 1] FIG. 1 is a diagram showing a system configuration including an information processing device and a communication device. [Diagram 2] FIG. 13 illustrates a screen of a printing application. [Diagram 3] FIG. 13 illustrates a screen of a printing application. [Figure 4] 4 is a flowchart showing a printing process. [Diagram 5] 4 is a flowchart showing a printing process. [Figure 6] FIG. 13 illustrates a screen of a printing application. [Figure 7] FIG. 13 illustrates a screen of a printing application. [Figure 8] FIG. 13 illustrates a screen of a printing application. [Figure 9] 13 is a flowchart showing a registration process. [Figure 10] FIG. 11 is a sequence diagram showing a network setup process. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] Hereinafter, the embodiments will be described in detail with reference to the attached drawings. Note that the following embodiments do not limit the invention according to the claims. Although the embodiments describe a number of features, not all of these features are essential to the invention, and the features may be combined in any manner. Furthermore, in the attached drawings, the same reference numbers are used for the same or similar configurations, and duplicated descriptions are omitted.
[0012] [First embodiment] The information processing device 101 and the communication device 151 included in the communication system of the present embodiment will be described. In the present embodiment, a smartphone is exemplified as the information processing device 101, but is not limited thereto. For example, various devices such as a mobile terminal, a PC (personal computer), a tablet terminal, a PDA (personal digital assistant), and a digital camera can be applied as the information processing device 101. In addition, a printer is exemplified as the communication device 151, but is not limited thereto, and various devices that can perform wireless communication with the information processing device 101 can be applied. For example, as a printer, an inkjet printer, a full-color laser beam printer, a monochrome printer, and the like can be applied. In addition to printers, copiers, facsimile machines, mobile terminals, smartphones, notebook PCs, tablet terminals, PDAs, digital cameras, music playback devices, televisions, smart speakers, and the like can be applied. In addition, a multifunction device having multiple functions such as a copy function, a FAX function, and a print function can be applied.
[0013] First, the configuration of the information processing device 101 of the present embodiment and the communication device 151 capable of communicating with the information processing device 101 of the present embodiment will be described with reference to the block diagram of Fig. 1. In addition, the following configuration will be described as an example in this embodiment, but is not limited to the functions shown in the figure. The configuration appropriately corresponds to functions that can be implemented by devices that can be used as devices capable of communicating with each other.
[0014] The information processing device 101 includes an input interface 102, a CPU 103, a ROM 104, a RAM 105, an external storage device 106, an output interface 107, a display unit 108, a communication unit 110, and a short-range wireless communication unit 111. The CPU 103, ROM 104, RAM 105, etc. form a computer of the information processing device 101 that executes a program.
[0015] The input interface 102 is an interface for receiving data input and operation instructions from a user by operating an operation unit such as a keyboard 109. Note that the operation unit may be a physical keyboard, physical buttons, etc., or may be a soft keyboard, soft buttons, etc. displayed on the display unit 108. In other words, the input interface 102 may receive input from the user via the display unit 108.
[0016] The CPU 103 is a system control unit, and controls the entire information processing device 101. The ROM 104 stores fixed data such as a control program executed by the CPU 103, a data table, and an embedded operating system (hereinafter, referred to as OS) program. In this embodiment, each control program stored in the ROM 104 performs software execution control such as scheduling, task switching, and interrupt processing under the management of the embedded OS stored in the ROM 104. In this embodiment, the OS provided in the information processing device 101 is iOS (registered trademark), but is not limited to this form, and may be another OS as long as it supports a mode equivalent to a concentration mode described later. Specifically, for example, the OS provided in the information processing device 101 may be Android (registered trademark), and the concentration mode described later may be a silent mode.
[0017] The RAM 105 is composed of a static random access memory (SRAM) that requires a backup power source. The RAM 105 holds data using a primary battery (not shown) for data backup, so that important data such as program control variables can be stored without volatilization. The RAM 105 also has a memory area for storing setting information for the information processing device 101, management data for the information processing device 101, and the like. The RAM 105 is also used as the main memory and work memory for the CPU 103.
[0018] The external storage device 106 stores an application program (setting application) for executing the network setup of the communication device 151, a print information generation program for generating print information that can be interpreted by the communication device 151, and the like. The network setup of the communication device 151 is specifically a process for connecting the communication device 151 to an access point that forms a network. The setting application is an application program for setting the access point to which the communication device 151 is connected. Note that in this embodiment, the setting application has functions other than the network setup. For example, the setting application may have a function for causing the communication device 151 to execute printing, a function for causing the communication device 151 to scan a document set on a document table of the communication device 151, a function for checking the status of the communication device 151, and the like. The setting application is stored in the external storage device 106 by being installed from an external server, for example, by Internet communication via the communication unit 110. The external storage device 106 also stores various programs, such as an information transmission / reception control program, transmitted / received between the communication device 151 connected via the communication unit 110, and various information used by these programs. Hereinafter, the setting application will also be referred to as the print application.
[0019] The output interface 107 is an interface that controls the display unit 108 to display data and notify the status of the information processing device 101. The display unit 108 is composed of an LED (light emitting diode), an LCD (liquid crystal display), and the like, and displays data and notifies the status of the information processing device 101. The imaging unit 112 is, for example, a camera that captures an image of the outside.
[0020] The communication unit 110 is configured to connect to devices such as the communication device 151 and the access point 131 to execute data communication. For example, the communication unit 110 can be connected to an access point (not shown) in the communication device 151. By connecting the communication unit 110 to the access point in the communication device 151, the information processing device 101 and the communication device 151 can communicate with each other. The communication unit 110 may directly communicate with the communication device 151 by wireless communication, or may communicate via an external device that exists outside the information processing device 101 and the communication device 151. The external device includes an external access point (such as the access point 131) that exists outside the information processing device 101 and outside the communication device 151, and a device that can relay communication other than an access point. In this embodiment, the wireless communication method used by the communication unit 110 is Wi-Fi (Wireless Fidelity) (registered trademark), which is a communication standard conforming to the IEEE802.11 series. In addition, the access point 131 can be, for example, a device such as a wireless LAN router. In this embodiment, a method in which the information processing device 101 and the communication device 151 are directly connected to each other without going through an external access point is called a direct connection method. Also, a method in which the information processing device 101 and the communication device 151 are connected to each other through an external access point is called an infrastructure connection method.
[0021] The short-range wireless communication unit 111 is configured to wirelessly connect to a device such as the communication device 151 at a short distance and execute data communication, and communicates by a communication method different from that of the communication unit 110. The short-range wireless communication unit 111 can be connected to, for example, a short-range wireless communication unit 157 in the communication device 151. Examples of the communication method include Near Field Communication (NFC), Bluetooth (registered trademark) Classic, Bluetooth Low Energy (BLE), and Wi-Fi Aware.
[0022] The communication device 151 is a communication device of this embodiment. The communication device 151 includes a ROM 152, a RAM 153, a CPU 154, a print engine 155, a communication unit 156, and a short-range wireless communication unit 157. The ROM 152, the RAM 153, the CPU 154, etc. form a computer of the communication device 151 that executes a program.
[0023] The communication unit 156 has an access point for connecting to an external device such as the information processing device 101 as an access point inside the communication device 151. The access point can be connected to the communication unit 110 of the information processing device 101. The communication unit 156 enables the access point, causing the communication device 151 to operate as an access point. The communication unit 156 may wirelessly connect directly to the information processing device 101, or may wirelessly connect via the access point 131. In this embodiment, the wireless communication method used by the communication unit 156 is a communication standard conforming to the IEEE802.11 series. The communication unit 156 may be provided with hardware that functions as an access point, or may operate as an access point by software for functioning as an access point.
[0024] The communication device 151 of this embodiment is capable of operating in an infrastructure mode and a P2P (Peer to Peer) mode as modes for performing communication using the communication unit 156.
[0025] The infrastructure mode is a mode in which the communication device 151 communicates with other devices such as the information processing device 101 via an external device (e.g., the access point 131) that forms a network. A connection with an external access point established by the communication device 151 operating in the infrastructure mode is called an infrastructure connection (hereinafter, infra connection). In this embodiment, in the infrastructure connection, the communication device 151 operates as a child device, and the external access point operates as a parent device. In this embodiment, the parent device is a device that determines a communication channel to be used in the network to which the parent device belongs, and the child device is a device that does not determine a communication channel to be used in the network to which the child device belongs, but uses the communication channel determined by the parent device.
[0026] The P2P mode is a mode in which the communication device 151 directly communicates with other devices such as the information processing device 101 without going through an external device that forms a network. In this embodiment, the P2P mode includes an AP mode in which the communication device 151 operates as an access point. The connection information (SSID and password) of the access point that is enabled in the communication device 151 in the AP mode can be arbitrarily set by the user. The P2P mode may include, for example, a WFD mode in which the communication device 151 communicates by Wi-Fi Direct (WFD). Which of a plurality of WFD-compatible devices operates as a parent device is determined, for example, according to a sequence called Group Owner Negotiation. The parent device may be determined without executing Group Owner Negotiation (hereinafter abbreviated as GO Negotiation). A device that is a WFD-compatible device and plays the role of a parent device is particularly called a Group Owner. A direct connection with another device established by the communication device 151 operating in the P2P mode is called a direct connection. In this embodiment, in a direct connection, the communication device 151 operates as a parent device, and the other device operates as a child device.
[0027] The communication device 151 can operate in a network setup mode, which is a mode for executing the network setup of the communication device 151 with a predetermined communication protocol (setup communication protocol), by accepting a predetermined operation from a user. When operating in the network setup mode, the communication device 151 operates as a setup access point that is valid during operation in the network setup mode by using the communication unit 156. The setup access point is an access point different from the access point that is enabled in the above-mentioned AP mode. In addition, the SSID of the setup access point includes a predetermined character string that can be recognized by the print application of the information processing device 101. In addition, the setup access point is an access point that does not require a password for connection. In addition, the communication device 151 operating in the network setup mode uses the setup communication protocol in communication with the information processing device 101 connected to the setup access point. Specifically, the setup communication protocol is, for example, SNMP (Simple Network Management Protocol). After starting operation in the network setup mode, when the timeout time for the network setup mode has elapsed, the communication device 151 stops operation in the network setup mode and disables the setup access point. This is because, since the setup access point is an access point that does not require a password as described above, if it is enabled for a long period of time, there is an increased possibility that an inappropriate device may request connection. Note that the setup access point may be an access point that requires a password. In this case, the password used to connect to the setup access point is a fixed password (that cannot be changed by the user) that is known in advance by the print application.
[0028] Furthermore, in this embodiment, the communication device 151 can also operate in a mode for executing the network setup of the communication device 151 with a communication protocol different from the setup communication protocol by accepting a predetermined operation from the user. If the information processing device 101 supports a function called Wi-Fi Easy Connect (hereinafter, WEC) (registered trademark), the information processing device 101 can execute the function. WEC is a function for executing the network setup of another device using Device Provisioning Protocol (hereinafter, DPP) established by the Wi-Fi Alliance. An example of the communication protocol different from the setup communication protocol is DPP, and the mode is referred to as DPP mode. When the communication device 151 is operating in the DPP mode and a network setup request by DPP is received from the information processing device 101, the network setup by DPP is executed. Therefore, in other words, the DPP mode is a mode in which a network setup request by DPP is awaited. After starting the operation in the DPP mode, the communication device 151 stops the operation in the DPP mode and stops waiting for a network setup request by DPP when a timeout time for the DPP mode has elapsed. The timeout period for the DPP mode may be the same as the timeout period for the network setup mode, or may be longer or shorter than the timeout period for the network setup mode. The communication device 151 starts operation in the DPP mode, for example, when operation in the network setup mode is started, or when an operation for starting operation in the network setup mode is performed.
[0029] The short-range wireless communication unit 157 is a component for wirelessly connecting to a device such as the information processing device 101 at a short distance, and can be connected to, for example, the short-range wireless communication unit 111 in the information processing device 101. Examples of communication methods include NFC, Bluetooth Classic, BLE, and Wi-Fi Aware.
[0030] The RAM 153 is composed of an SRAM or the like that requires a backup power source. Since the RAM 153 holds data using a primary battery (not shown) for data backup, it can store important data such as program control variables without volatilization. The RAM 153 also has a memory area for storing setting information for the communication device 151, management data for the communication device 151, and the like. The RAM 153 is also used as the main memory and work memory for the CPU 154, and stores a reception buffer for temporarily storing print information received from the information processing device 101, etc., and various types of information.
[0031] The ROM 152 stores fixed data such as control programs, data tables, and OS programs executed by the CPU 154. In this embodiment, each control program stored in the ROM 152 performs software execution control such as scheduling, task switching, and interrupt processing under the management of an embedded OS stored in the ROM 152. The CPU 154 is a system control unit, and controls the entire communication device 151.
[0032] Based on information stored in the print engine 155 and the RAM 153 and a print job received from the information processing device 101 or the like, a printing agent such as ink is applied to a recording medium such as paper to form an image on the recording medium, and the print result is output. Generally, since the amount of data of a print job transmitted from the information processing device 101 or the like is large, it is required to use a communication method capable of high-speed communication for communication of the print job. Therefore, the communication device 151 receives the print job via a communication unit 156 capable of communication at a higher speed than the short-range wireless communication unit 157. The display unit 158 is, for example, a panel, and displays data and notifies the status of the communication device 151.
[0033] Note that a memory such as an external HDD or an SD card may be attached to the communication device 151 as an optional device, and the information stored in the communication device 151 may be stored in the memory.
[0034] In this embodiment, the communication units 110 and 156 execute a communication parameter sharing process for sharing communication parameters between the devices. The communication parameter sharing process is a process in which a providing device provides communication parameters for wireless communication to a receiving device, and can be executed in both the infrastructure mode and the P2P mode. Here, the communication parameters include wireless communication parameters required for wireless LAN communication, such as an SSID (Service Set Identifier) as a network identifier, an encryption method, an encryption key, an authentication method, and an authentication key. In addition, the communication parameters include identification information such as a MAC address, a password, an IP address for communication at the IP layer, and information required for upper level services. The communication parameter sharing process executed by the communication units 110 and 156 may be, for example, WPS (Wi-Fi Protected Setup) defined by the Wi-Fi Alliance. In addition, the communication parameter sharing process executed by the communication units 110 and 156 may use a method for securely transferring communication parameters using a public key encryption method.
[0035] In this embodiment, the information processing device 101 further includes a barcode reading control unit and an imaging unit 112, which are not shown. The barcode reading control unit analyzes an image captured by the imaging unit 112, which is, for example, a camera, and acquires encoded code information. The barcode reading control unit performs analysis processing of code information such as a barcode, a two-dimensional code, or a QR code (registered trademark).
[0036] The communication device 151 also includes a barcode generation control unit. The barcode generation control unit is not shown in FIG. 1, but is realized by, for example, the CPU 154 executing a program. The barcode generation control unit generates code information such as a barcode, a two-dimensional code, and a QR code, and controls the display unit 158 to display the generated code information. The code information generated here is, for example, a two-dimensional code for allowing the information processing device 101 to obtain bootstrapping information in the WEC. The barcode generation control unit causes the display unit 158 to display a QR code or the like that encodes information required for setting communication parameters. The display unit 158 may be configured to display soft buttons or the like as an input interface for a user.
[0037] The operation of a print application that operates on the information processing device 101 will be described with reference to Figs. 2(a) to 2(c). Fig. 2(a) shows a state in which the display unit 108 of the information processing device 101 displays a user interface screen of the print application stored in the external storage device 106. Fig. 2(a) shows a screen 300 for executing a print instruction to the communication device 151 connected to the information processing device 101 via a network or the like. The screen 300 displays an object 301 for executing settings related to printing and an object 302 for receiving an instruction to execute printing. The objects included in the screen 300 are not limited to the objects shown in Fig. 2(a) and may include other objects. A function of the communication device 151 is executed by a user's tap operation on the object 301 or the object 302, or the like.
[0038] Object 301 is an object for executing multiple print settings such as the paper size and type used for printing, border settings, etc. Object 302 is an object for receiving a print execution instruction from a user. When a print execution instruction is received, image data, document data, etc. selected as the print target are transmitted to communication device 151 as print data.
[0039] When the object 302 is operated, the print application checks whether the state of the information processing device 101 is in a state in which reception of an external event is not notified. The external event here refers to an event in which the information processing device 101 responds to and the print application is put into a background state when the print application is executing a process in a foreground state. The external event is, for example, an incoming call or an incoming message. In this embodiment, for example, the state in which reception of an external event is not notified is a predetermined mode executed by the CPU 202 of the information processing device 101 using a function of the embedded OS, and is hereinafter referred to as a "concentration mode." The concentration mode is a mode in which some functions of the information processing device 101 are restricted. In this embodiment, for example, the concentration mode restricts incoming calls via a telephone line. That is, when the concentration mode is enabled (the information processing device 101 has shifted to the concentration mode), other functions (such as a print data transmission function via Wi-Fi) are not interrupted by an incoming call. Note that functions restricted by the concentration mode may include functions other than incoming calls. For example, a notification display function or a notification sound generation function by an application program designated by a user or a pre-designated application program may be restricted. The notification display function by an application program is, for example, a notification display function by a push notification function. The notification sound generation function by an application program is, for example, an alarm function. In addition, a user may specify which of the functions that can be restricted in the concentration mode should be enabled and how to restrict them. As described later in this embodiment, a form in which a process for shifting the information processing device 101 to the concentration mode is automatically executed without being based on a user operation will be described. However, it is also possible for the user to arbitrarily shift the information processing device 101 to the concentration mode by performing a default setting operation on the information processing device 101. It is also possible for the user to arbitrarily set the restriction contents by the concentration mode as described above. In this embodiment, it is also possible for the information processing device 101 to support the concentration mode function.
[0040] If the information processing device 101 is not in the concentration mode, the print application requests the OS to transition to the concentration mode, and displays a screen indicating that the information processing device 101 is transitioning to the concentration mode on the display unit 108. On the other hand, if the information processing device 101 is already in the concentration mode, the print application displays the screen 400 in FIG.
[0041] FIG. 2B is a screen provided by the print application when the information processing device 101 is shifted to the concentration mode. An indicator 303 indicating that the information processing device 101 is shifting to the concentration mode is displayed on the screen 310. Also, when the object 302 is pressed, the screen 320 of FIG. 3C may be displayed as a screen for shifting the information processing device 101 to the concentration mode. The screen 320 is a screen that can accept a user instruction as to whether or not to shift to the concentration mode. When the object 304 (Yes button) is pressed on the screen 320, the information processing device 101 starts shifting to the concentration mode, and the screen 310 of FIG. 2B is displayed. When the information processing device 101 shifts to the concentration mode, the print application displays the screen 400 of FIG. 3.
[0042] FIG. 3 is a screen provided by the print application while the communication device 151 is executing a print process. An image 401 showing data being printed, information 402 related to print settings, and status information 403 related to the print operation of the communication device 151 are displayed on the screen 400. The information included in the screen 400 is not limited to the information shown in FIG. 3, and may include other information. During the execution of the print process by the print application, communication is established between the communication unit 110 of the information processing device 101 and the communication unit 156 of the communication device 151, and the information processing device 101 receives information related to the print operation of the communication device 151 as status information. Then, the screen 400 in FIG. 3 is updated according to the received status information. For example, when the communication device 151 runs out of paper or ink, the status information 403 in FIG. 3 is updated. This makes it possible to present the error state of the communication device 151 to the user.
[0043] 3 is displayed, even if an external event occurs, the information processing apparatus 101 is in the concentration mode and does not notify the reception of the external event. With such a configuration, it is possible to prevent the print processing from going into the background state as a result of responding to an external event, and to prevent the print processing from being interrupted by task processing of the OS.
[0044] If the print application has requested the OS to switch the information processing device 101 to the concentration mode before the execution of the print process, the print application requests the OS to cancel the concentration mode when the print process is completed. The print application then displays a screen similar to screen 310 in FIG. 2B. By canceling the "concentration mode," the information processing device 101 enters a state in which it can notify the reception of an external event.
[0045] Next, a process of shifting the information processing device 101 to the concentration mode before the execution of a print process will be described with reference to Fig. 4. Fig. 4 is a flowchart showing a process of shifting the information processing device 101 to the concentration mode before the execution of a print process. The process of Fig. 4 is realized, for example, by the CPU 103 executing a program stored in the ROM 104. Before the process of Fig. 4 starts, it is assumed that the user is using a print application to print print data with the communication device 151. At that time, the screen 300 of Fig. 2(a) is displayed on the display unit 108 of the information processing device 101.
[0046] In S501, the print application accepts an operation of the object 302 instructing to start printing. Before starting execution of the print process, in S502, the print application inquires of the OS to determine whether the state of the information processing device 101 is in the concentration mode. If it is determined that the information processing device 101 is not in the concentration mode, in S503, the print application requests the OS to transition the state of the information processing device 101 to the concentration mode, and displays the screen 310 of FIG. 2B. This causes the OS to transition the information processing device 101 to the concentration mode. Then, when the print application is notified by the OS that the transition to the concentration mode has been completed, the process proceeds to S504. On the other hand, if it is determined that the information processing device 101 is in the concentration mode, the process proceeds to S504.
[0047] In S504, the print application instructs the communication device 151 to execute print processing. For example, the print application transmits print data and print setting information to the communication device 151, and the communication device 151 starts print processing.
[0048] In S505, the print application displays screen 400 of Fig. 3. In S506, the print application receives status information from communication device 151. In S507, if there is a change in the status information received in S506, the print application updates the information being displayed on screen 400 of Fig. 3 based on the received status information. For example, if an error such as out of paper occurs in communication device 151, the status information is updated to indicate error information. Furthermore, the screen 400 of Fig. 3 is updated for at least one of image 401 indicating the data being printed, information 402 relating to print settings, and status information 403.
[0049] In S508, the print application determines whether or not the end of the print process in the communication device 151 has been detected. For example, this is determined based on whether or not status information indicating completion of printing has been received. If it is determined that the end of the print process has been detected, in S510, the print application ends the process of receiving status information from the communication device 151 and the process of updating the screen 400 in FIG. 3, which were executed in S506 and S507. On the other hand, if it is determined that the end of the print process has not been detected, in S509, the print application waits for a predetermined time to elapse. The predetermined time is, for example, four seconds. After S509, the process from S506 is repeated.
[0050] In S511, the print application determines whether or not the state of the information processing device 101 has been shifted to the concentration mode in S503. If it is determined in S503 that the state of the information processing device 101 has been shifted to the concentration mode, in S512, the print application requests the OS to cancel the concentration mode of the information processing device 101, and displays a screen that is the same as screen 310 in FIG. 2(b). Then, the processing in FIG. 4 ends. On the other hand, if it is determined in S503 that the state of the information processing device 101 has not been shifted to the concentration mode, the processing in FIG. 4 ends.
[0051] As described above, according to this embodiment, when the print process is started by the print application, the information processing apparatus 101 is placed in a state in which it is not possible to notify the reception of an external event. This makes it possible to prevent the print application from going into the background as a result of responding to an external event, resulting in the print process being stopped by task processing of the OS, etc.
[0052] [Second embodiment] The second embodiment will be described below with respect to the differences from the first embodiment. Fig. 5 is a flowchart showing the process of shifting the information processing device 101 to the concentration mode before executing the print process in this embodiment. In this embodiment, there are two types of states, a first concentration mode and a second concentration mode, in which the reception of an external event is not notified.
[0053] The first concentration mode is the same as the concentration mode of the first embodiment. The second concentration mode is also a mode capable of restricting incoming calls via a telephone line, like the first concentration mode. However, the restriction contents that can be arbitrarily specified by the user in the second concentration mode are narrower in range than the restriction contents that can be arbitrarily specified by the user in the first concentration mode. Alternatively, the restriction contents preset in the second concentration mode are different from the restriction contents preset in the first concentration mode. The restriction contents are the contents of the functions restricted by each concentration mode and the restriction method. Note that the first concentration mode is a mode that includes the functions of the second concentration mode, and the first concentration mode may be a mode that is upwardly compatible with the second concentration mode. For example, the first concentration mode is the "concentration mode" in iOS, and the second concentration mode is the "sleep mode" in iOS.
[0054] For example, the concentration mode supported may differ depending on the version of the OS of the information processing device 101. For example, if the OS version is a predetermined version or higher, the first concentration mode is supported, and if the OS version is less than the predetermined version, the first concentration mode is not supported and the second concentration mode is supported. Note that iOS15 is a version that supports the first concentration mode and the second concentration mode, iOS12 to 14 are versions that do not support the first concentration mode but support the second concentration mode, and versions less than iOS11 are versions that do not support both the first concentration mode and the second concentration mode. In this embodiment, it is assumed that the information processing device 101 does not support the first concentration mode and supports the second concentration mode.
[0055] In S601, the print application accepts an operation of the object 302 instructing to start printing. Before starting execution of the print process, in S602, the print application determines whether the information processing device 101 supports the first concentration mode. For example, the print application may determine whether the information processing device 101 supports the first concentration mode by inquiring of the OS. In addition, the print application may hold information in which the OS version and the supportable mode are associated with each other, and may determine whether the information processing device 101 supports the first concentration mode based on the OS version. That is, this determination may be made to determine whether the OS version of the information processing device 101 is a version that supports the first concentration mode (i.e., iOS15). Note that whether the first concentration mode is supported may be based on the model of the information processing device 101, not on the OS version. In that case, this determination may be made to determine whether the model of the information processing device 101 supports the first concentration mode. If it is determined that the first concentration mode is supported, the process proceeds to S604, and if it is determined that the first concentration mode is not supported, the process proceeds to S603. In this example, since the information processing device 101 does not support the first concentration mode, the process proceeds to S603.
[0056] In S603, the print application determines whether the information processing device 101 supports the second concentration mode. For example, the print application may determine whether the information processing device 101 supports the second concentration mode by inquiring of the OS. Alternatively, the print application may hold information in which the OS version is associated with a supportable mode, and may determine whether the information processing device 101 supports the second concentration mode based on the OS version. That is, this determination may be to determine whether the OS version of the information processing device 101 supports the second concentration mode (i.e., any one of iOS12 to 14). Note that whether the second concentration mode is supported may be based on the model of the information processing device 101, not on the OS version. In that case, this determination may be to determine whether the model of the information processing device 101 supports the second concentration mode. If it is determined that the second concentration mode is supported, the process proceeds to S605, and if it is determined that the second concentration mode is not supported, the process proceeds to S608. In this example, since the information processing device 101 supports the second concentration mode, the process proceeds to S605. Note that it is determined that the second concentration mode is not supported when the version of the OS of the information processing device 101 does not support both the first concentration mode and the second concentration mode (i.e., a version earlier than iOS 11).
[0057] In S605, the print application inquires of the OS to determine whether the state of the information processing device 101 is the second concentration mode. If it is determined that the state is the second concentration mode, the process proceeds to S608. If it is determined that the state is not the second concentration mode, in S607, the print application requests the OS to transition the state of the information processing device 101 to the second concentration mode, and displays the screen 310 of FIG. 2B. Then, when the print application is notified by the OS that the transition to the second concentration mode has been completed, the process proceeds to S608.
[0058] If it is determined in S602 that the information processing device 101 supports the first concentration mode, then in S604 the print application inquires of the OS to determine whether or not the state of the information processing device 101 is in the first concentration mode. If it is determined that the state is the first concentration mode, the process proceeds to S608. If it is determined that the state is not the first concentration mode, then in S606 the print application requests the OS to transition the state of the information processing device 101 to the first concentration mode, and displays screen 310 of FIG. 2B. Then, when the print application is notified by the OS that the transition to the first concentration mode has been completed, the process proceeds to S608.
[0059] If it is determined in S603 that the information processing device 101 does not support the second concentration mode, the process proceeds to S608. In other words, if the information processing device 101 does not support either the first concentration mode or the second concentration mode, the process does not switch to the concentration mode and starts the execution of the print process.
[0060] In this manner, in this embodiment, if the information processing device 101 does not support the first concentration mode but supports the second concentration mode, the state of the information processing device 101 is shifted to the second concentration mode before starting execution of the print process. Also, if the information processing device 101 supports the first concentration mode, the state of the information processing device 101 is shifted to the first concentration mode before starting execution of the print process.
[0061] S608 to S614 are similar to the explanation of S504 to S510, so the explanation thereof will be omitted.
[0062] When the process of receiving status information from the communication device 151 and the process of updating the screen 400 in Fig. 3, which were executed in S610 and S611, are completed, the process proceeds to S615. In S615, the print application determines whether or not the state of the information processing device 101 was transitioned to the first concentration mode in S606. If it is determined in S606 that the state of the information processing device 101 was transitioned to the first concentration mode, in S617 the print application requests the OS to cancel the first concentration mode and displays the same screen as the screen 310 in Fig. 2(b). Then, the process in Fig. 5 ends.
[0063] If it is determined in S606 that the state of the information processing device 101 has not been shifted to the first concentration mode, then in S616 the print application determines whether or not the state of the information processing device 101 has been shifted to the second concentration mode in S607. If it is determined in S607 that the state of the information processing device 101 has been shifted to the second concentration mode, then in S618 the print application requests the OS to cancel the second concentration mode, and displays a screen that is the same as screen 310 in FIG. 2(b). Thereafter, the processing in FIG. 5 ends. If it is determined in S607 that the state of the information processing device 101 has not been shifted to the second concentration mode, then the processing in FIG. 5 ends.
[0064] As described above, according to this embodiment, a determination is made for each of a plurality of concentration modes, as in S602 and S603. Therefore, depending on the OS version of the information processing device 101, it is not possible to switch to the concentration mode, and as a result, it is possible to reduce the possibility that the print application will be put into the background state due to a response to an external event and the print process will be interrupted. In addition, in this embodiment, a configuration has been described in which a determination is made for each of two types of concentration modes, the first concentration mode and the second concentration mode. However, if there are three or more types of concentration modes, a determination may be made for each of them. Also, a determination may be made for only one of the first concentration mode and the second concentration mode. That is, for example, if the determination result of S602 is NO, S603 may be omitted and the process may proceed to S608. Also, for example, after S601, S602 may be omitted and the process may proceed to S603.
[0065] [Third embodiment] The third embodiment will be described below with respect to the differences from the first and second embodiments. In the first and second embodiments, a configuration in which the state of the information processing device 101 is shifted to a concentration mode in which reception of an external event is not notified before execution of a print process is described. In this embodiment, a configuration in which the state of the information processing device 101 is shifted to a concentration mode in which reception of an external event is not notified before execution of a registration process of the communication device 151 in a print application is described. Here, the registration process refers to a process in which the information processing device 101 and the communication device 151 are connected via a network such as a router, and information on the communication device 151 is registered in the print application. For example, the registration process is executed as a process related to the network setup of the communication device 151. The registration process puts the print application in a state in which it can execute a print process or the like for the communication device 151 connected via the network.
[0066] Here, the network setup process executed by the information processing device 101 will be described with reference to Fig. 10. The sequence shown in Fig. 10 is realized, for example, by the CPU of each device reading out a program stored in the ROM or external storage device of each device into the RAM of each device and executing it. As described above, a setup communication protocol is used in communication via a Wi-Fi connection between the communication device 151 operating in the network setup mode and the information processing device 101.
[0067] In step S1101, the information processing apparatus 101 requests a list of access points from the communication apparatus 151 via a Wi-Fi connection between the information processing apparatus 101 and the communication apparatus 151 operating in a network setup mode using a print application.
[0068] Next, in S1102, the communication device 151 transmits a list of access points to the information processing device 101 via a Wi-Fi connection between the communication device 151 operating in a network setup mode and the information processing device 101. Note that the list transmitted here is a list indicating one or more access points to which the communication device 151 can connect, which have been discovered by the communication device 151 performing an AP search.
[0069] Next, in S1103, the information processing device 101 transmits connection information of any of the access points included in the received list to the communication device 151 via a Wi-Fi connection between the communication device 151 operating in a network setup mode and the information processing device 101. Note that this process is realized by controlling the information processing device 101 so that the print application transmits connection information of any of the access points included in the received list. Specifically, in this process, if the connected AP is included in the received list, the information processing device 101 transmits connection information of the connected AP. Also, if the connected AP is not included in the received list, the information processing device 101 displays the received list and accepts the selection of any of the access points from the list from the user. Then, the information processing device 101 transmits connection information of the selected access point. Note that before transmitting the connection information, the information processing device 101 accepts input of a password for connecting to the access point from the user on a screen displayed by the print application. Then, the information processing device 101 transmits the connection information by including the accepted password in the connection information.
[0070] In S1104, the communication device 151 notifies the information processing device 101 that connection information has been received via the Wi-Fi connection between the communication device 151 operating in the network setup mode and the information processing device 101.
[0071] In S1105, the communication device 151 ends the network setup mode and transitions to the infrastructure mode. Then, the communication device 151 attempts to connect to an access point corresponding to the connection information acquired in S1103, using the connection information. If the connection is successful, the communication device 151 can thereafter perform communication via the network formed by the connected access point.
[0072] In S1106, the information processing device 101 uses the saved connection information by the print application to reconnect to the access point to which the information processing device 101 was connected when the setting operation was performed. Note that the present invention is not limited to this form. For example, if the information processing device 101 has transmitted to the communication device 151 connection information of an access point other than the access point to which the information processing device 101 was connected by Wi-Fi when the setting operation was performed, the information processing device 101 may connect to the other access point.
[0073] Thereafter, the information processing device 101 searches for the communication device 151 on the network to which the information processing device 101 belongs by the print application. When the information processing device 101 finds the communication device 151, the information processing device 101 requests capability information from the communication device 151, and the communication device 151 transmits the capability information to the information processing device 101. As a result, information on the communication device 151 is registered on the print application, and communication with the communication device 151 can be executed by the print application thereafter. Specifically, for example, a print job can be sent to the communication device 151 by the print application. Note that at this time, if the information processing device 101 belongs to a network formed by an access point to which the communication device 151 is connected by network setup, communication with the communication device 151 can be executed via the access point. Note that the communication at that time is executed by using, for example, a communication protocol different from DPP and a setup communication protocol (specifically, for example, CHMP).
[0074] 6(a) to 6(c), the operation of a print application in the registration process of the communication device 151 operating on the information processing device 101 will be described. Fig. 6(a) shows a state in which the display unit 108 of the information processing device 101 displays a user interface screen of the print application stored in the external storage device 106. A screen 700 in Fig. 6(a) displays network information 701 for connecting the information processing device 101 and the communication device 151 via a network.
[0075] On the screen 700, as an example of the network information 701, a plurality of pieces of SSID information of Wi-Fi are displayed, and the network information 701 can be selected by a tap operation by the user. For example, the network information 701 is SSID information obtained by a search process of the information processing device 101. When the network information 701 is selected, the screen transitions to a screen 710 of FIG. 6B. The screen 710 is a screen for inputting information associated with the network information 701. On the screen 710, an input object 702 for inputting a password of a Wi-Fi router is displayed as an example of information associated with the network information 701. In addition, an object 703 (OK button) for receiving an instruction to transmit the network information 701 and information associated therewith to the communication device 151 is displayed. When no characters are input into the input object 702, the object 703 is restricted so as not to accept a user operation. When characters are input into the input object 702 and the object 703 is pressed, the print application checks whether the state of the information processing device 101 is in a state in which reception of an external event is not notified. The state in which reception of an external event is not notified is the same as the concentration mode in the first embodiment. In this embodiment, it is assumed that the information processing device 101 supports the concentration mode.
[0076] If the information processing device 101 is not in the concentration mode, the information processing device 101 requests the OS to transition to the concentration mode and displays a screen indicating that the information processing device 101 is transitioning to the concentration mode on the display unit 108. On the other hand, if the information processing device 101 is already in the concentration mode, the screen 800 in FIG. 7 is displayed.
[0077] 6C shows a screen provided by the print application when the state of the information processing device 101 is to be shifted to the concentration mode. An indicator 704 indicating that the state is shifting to the concentration mode is displayed on the screen 720. When the state of the information processing device 101 is shifted to the concentration mode, the print application displays the screen 800 of FIG.
[0078] 7 is a diagram showing an example of a screen provided by a print application when the print application transmits network information 701 and information associated therewith to the communication device 151 and executes registration processing. A screen 800 displays information 801 indicating that the network information 701 and information associated therewith have been transmitted to the communication device 151, and that the information processing device 101 and the communication device 151 are connected via the network.
[0079] In the registration process, in order to establish communication between the information processing device 101 and the communication device 151 via a network, as described above, the print application instructs the communication device 151 to execute a connection process to a device corresponding to the network information 701. Next, the print application executes a search process using the network information 701 to search for the communication device 151 connected to the device corresponding to the network information 701. A timeout period is set for this search process, and if the search is not successful within a predetermined period of time, the print application ends the search process and the registration process. If the communication device 151 is successfully found, the print application executes a connection process to the communication device 151 via the network. In the connection process, information about the communication device 151 is registered in the print application.
[0080] 7 is displayed, the information processing device 101 is in the concentration mode, so the information processing device 101 does not notify the user of the receipt of the external event. This configuration makes it possible to prevent the registration process from going into the background as a result of responding to the external event and being interrupted by the task processing of the OS.
[0081] When the information of the communication device 151 is registered in the print application, the print application ends the registration process and displays the screen of FIG. 8(a). FIG. 8(a) is a screen that prompts the user to execute printing using the communication device 151 connected to the information processing device 101. A screen 900 of FIG. 8(a) is provided by the print application. The screen 900 displays an object 901 that prompts the user to execute printing, an object 902 that closes the screen 900, an object 903 that transitions to a print screen, and the like. The information included in the screen 900 is not limited to the information shown in FIG. 8(a) and may include other information. For example, an object for selecting an image to be printed may be displayed.
[0082] If the print application has made a request to the OS to transition the state of the information processing device 101 to the concentration mode before the execution of the registration process, the print application requests the OS to cancel the concentration mode when the registration process is completed. Then, the print application displays screen 900 of FIG. 8(a) and then screen 910 of FIG. 8(b). Screen 910 is a screen provided by the print application that indicates that the concentration mode is being cancelled. An indicator 904 that indicates that the concentration mode is being cancelled is displayed on screen 910. Canceling the concentration mode puts the information processing device 101 in a state in which it can notify the reception of an external event.
[0083] Next, a process of shifting the state of the information processing device 101 to the concentration mode before the execution of the registration process will be described with reference to Fig. 9. Fig. 9 is a flowchart showing a process of shifting the information processing device 101 to the concentration mode before the execution of the registration process. The process of Fig. 9 is realized, for example, by the CPU 103 executing a program stored in the ROM 104. Before the start of the process of Fig. 9, it is assumed that the user is going to execute the registration process via the network setup of the communication device 151 using a print application. At that time, the screen 300 of Fig. 6(a) is displayed on the display unit of the information processing device 101.
[0084] In S1001, the print application accepts the selection of network information 701 of the device to which the communication device 151 is to be connected. In S1002, the print application displays the screen 710 of FIG. 6B and accepts an operation on an input object 702 for inputting information associated with the selected network information 701.
[0085] In S1003, the print application accepts an operation on the object 703. Before starting execution of the registration process, in S1004, the print application inquires of the OS to determine whether the information processing device 101 is in the concentration mode. If it is determined that the information processing device 101 is not in the concentration mode, in S1005, the print application requests the OS to transition the information processing device 101 to the concentration mode, and displays the screen 720 of FIG. 6C. Then, when the print application is notified by the OS that the transition to the concentration mode has been completed, the process proceeds to S1006. On the other hand, if it is determined that the information processing device 101 is in the concentration mode, the process proceeds to S1006.
[0086] In S1006, the print application displays screen 800 of FIG. 7. In S1007, the print application instructs communication device 151 to execute a process for connecting to a device corresponding to network information 701. In S1008, the print application executes a search process for searching for communication device 151 connected to a device corresponding to network information 701, using network information 701. The process of S1008 is executed until a timeout occurs or communication device 151 is found. Here, it is assumed that communication device 151 has been found. In S1009, the print application executes a process for connecting to communication device 151. Then, in S1010, information on communication device 151 is registered in the print application. In S1011, the print application displays screen 900 that prompts the user to execute printing.
[0087] In S1012, the print application determines whether or not the state of the information processing device 101 has been shifted to the focus mode in S1005. If it is determined in S1005 that the state of the information processing device 101 has been shifted to the focus mode, in S1013, the print application requests the OS to cancel the focus mode and displays screen 910 in FIG. 8(b). Then, the processing in FIG. 9 ends. On the other hand, if it is determined in S1005 that the state of the information processing device 101 has not been shifted to the focus mode, the processing in FIG. 9 ends.
[0088] As described above, according to this embodiment, when the execution of the registration process is started by the print application, the information processing device 101 is in a state in which it does not notify the reception of an external event. Therefore, it is possible to prevent the print application from going into the background state due to a response to the external event, and as a result, the registration process being interrupted by task processing of the OS, etc. In addition, the timing for canceling the concentration mode may be after the completion of the print process started on the screen 900 in FIG. 8A. This makes it possible to prevent the registration process and the print process from going into the background state and being interrupted by task processing of the OS, etc.
[0089] (Other embodiments) In the above, the state of the information processing device 101 is shifted to the concentration mode or sleep mode based on the process for transmitting print data or receiving status information, but the present invention is not limited to this. The state of the information processing device 101 may be shifted to the concentration mode or sleep mode based on the process for other communication other than the transmission of print data. That is, for example, the operation accepted in S501 may be an operation for starting other communication, and the communication executed in S504 or S505 may be other communication. Also, the concentration mode or sleep mode may be released based on the completion of other communication. Note that the other communication may be any communication between the information processing device 101 and the communication device 151. Specifically, for example, it is the transmission of a scan job for causing the communication device 151 to execute a scan, or the reception of image data obtained by a scan executed based on a scan job. Also, for example, it is information for connecting the communication device 151 to an access point, and it is the transmission of connection information for connecting to the access point. Furthermore, when the operations of the respective embodiments are applied to other communications, the program that executes the process of transitioning the information processing apparatus 101 to the concentration mode may be another program rather than the print application.
[0090] 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.
[0091] The disclosure of the present embodiment includes the following information processing device, method, and program. (Item 1) A reception means for receiving an instruction to execute a process; a transition means for controlling, after the reception means has received an instruction to execute the process, to transition a state of the information processing device to a predetermined mode in which a user is not notified that an event has been received from the outside before the process is executed; an execution unit that executes the process after the control by the transfer unit is performed; A program for causing the computer of the information processing device to function as the above. (Item 2) after the execution instruction is received by the receiving means, the computer further functions as a first determination means for determining whether or not the state of the information processing device is in the predetermined mode; When the first determination means determines that the information processing device is not in the predetermined mode, the transition means performs control to transition the state of the information processing device to the predetermined mode. 2. The program according to item 1, (Item 3) 3. The program according to claim 2, wherein, when the first determination means determines that the predetermined mode is selected, the execution means executes the process even without control by the transition means. (Item 4) The method further comprises causing the computer to function as a second determination unit for determining whether the information processing device supports the predetermined mode, When the second determination means determines that the information processing device supports the predetermined mode, a determination is made by the first determination means. 4. The program according to item 2 or 3. (Item 5) The program described in item 4, characterized in that, when the second determination means determines that the information processing device does not support the specified mode, the execution means executes the processing even without control by the transition means. (Item 6) the predetermined mode includes a first mode and a second mode different from the first mode, The determination by the first determination means and the determination by the second determination means are performed for each of the first mode and the second mode. 6. The program according to item 4 or 5, (Item 7) 7. The program according to item 6, wherein the first mode is a mode in which more detailed settings regarding notifications can be made than in the second mode. (Item 8) 8. The program according to any one of items 1 to 7, further causing the computer to function as a release unit that releases the predetermined mode after the processing is completed. (Item 9) 9. The program according to item 8, wherein the canceling means cancels the predetermined mode when control by the transition means is being performed. (Item 10) The program according to item 8 or 9, wherein the canceling means does not cancel the predetermined mode when control by the transition means is not being performed. (Item 11) when the control by the transition means is performed, the computer is further caused to function as a second reception means for receiving an instruction as to whether or not to transition the state of the information processing device to the predetermined mode; the transition means, when receiving an instruction to transition to the predetermined mode from the second reception means, performs control to transition a state of the information processing device to the predetermined mode. 11. The program according to any one of items 1 to 10. (Item 12) 12. The program according to any one of items 1 to 11, wherein the process is executed in the foreground by the execution means. (Item 13) 13. The program according to any one of items 1 to 12, wherein the control by the transfer means is a request from an application to an operating system of the information processing device. (Item 14) 14. The program according to any one of items 1 to 13, wherein the process is a process of causing a printing device capable of communicating with the information processing device to execute printing. (Item 15) 14. The program according to any one of items 1 to 13, wherein the process includes network setup of a printing device capable of communicating with the information processing device. (Item 16) 16. The program according to item 15, wherein the network setup is a process for connecting the printing device to a device external to the information processing device and external to the printing device. (Item 17) 17. The program according to item 16, wherein the device is an access point. (Item 18) A method executed in an information processing device, comprising: a receiving step of receiving an instruction to execute a process; a transition step of controlling the information processing device to transition to a predetermined mode in which a user is not notified that an event has been received from the outside after the instruction to execute the process is received in the reception step and before the process is executed; an execution step of executing the process after the control in the transition step has been performed; The method according to claim 1, further comprising: (Item 19) A reception means for receiving an instruction to execute a process; a transition means for controlling the state of the information processing device to transition to a predetermined mode in which a user is not notified that an event has been received from the outside, after the reception means has received an instruction to execute the process, and before the process is executed; an execution unit that executes the process after the control by the transfer unit is performed; An information processing device comprising:
[0092] The invention is not limited to the above-described embodiments, and various modifications and variations are possible without departing from the spirit and scope of the invention. Accordingly, the following claims are appended to apprise the public of the scope of the invention. [Explanation of symbols]
[0093] 101 Information processing device: 103, 154 CPU: 104, 152 ROM: 105, 153 RAM: 151 Communication device
Claims
1. A reception means for receiving an instruction to execute a process; a transition means for controlling, after the reception means has received an instruction to execute the process, to transition a state of the information processing device to a predetermined mode in which a user is not notified that an event has been received from the outside before the process is executed; an execution unit that executes the process after the control by the transfer unit is performed; A program for causing the computer of the information processing device to function as the above.
2. after the execution instruction is received by the receiving means, the computer further functions as a first determination means for determining whether or not the state of the information processing device is in the predetermined mode; When the first determination means determines that the information processing device is not in the predetermined mode, the transition means performs control to transition the state of the information processing device to the predetermined mode.
2. The program according to claim 1 .
3. 3. The program according to claim 2, wherein, when the first determination means determines that the predetermined mode is selected, the execution means executes the process without control by the transition means.
4. The method further comprises causing the computer to function as a second determination unit for determining whether the information processing device supports the predetermined mode; When the second determination means determines that the information processing device supports the predetermined mode, a determination is made by the first determination means.
3. The program according to claim 2 .
5. The program according to claim 4, characterized in that when the second determination means determines that the information processing device does not support the specified mode, the execution means executes the processing without control by the transition means.
6. the predetermined mode includes a first mode and a second mode different from the first mode, The determination by the first determination means and the determination by the second determination means are performed for each of the first mode and the second mode.
5. The program according to claim 4.
7. 7. The program according to claim 6, wherein the first mode allows more detailed settings regarding notifications than the second mode.
8. 2. The program according to claim 1, further causing the computer to function as a canceling unit that cancels the predetermined mode after the processing is completed.
9. 9. The program according to claim 8, wherein the canceling means cancels the predetermined mode when the control by the transition means is being performed.
10. 9. The program according to claim 8, wherein the canceling means does not cancel the predetermined mode when control by the transition means is not being performed.
11. when the control by the transition means is performed, the computer is further caused to function as a second reception means for receiving an instruction as to whether or not to transition the state of the information processing device to the predetermined mode; the transition means, when receiving an instruction to transition to the predetermined mode from the second reception means, performs control to transition a state of the information processing device to the predetermined mode.
2. The program according to claim 1 .
12. 2. The program according to claim 1, wherein the process is executed in the foreground by the execution means.
13. 2. The program according to claim 1, wherein the control by said transfer means is a request from an application to an operating system of said information processing device.
14. 2. The program according to claim 1, wherein the process is a process of causing a printing device capable of communicating with the information processing device to execute printing.
15. 2. The program according to claim 1, wherein the process includes network setup of a printing device capable of communicating with the information processing device.
16. 16. The program according to claim 15, wherein the network setup is a process for connecting the printing device to a device external to the information processing device and to an external device external to the printing device.
17. 17. The program of claim 16, wherein the device is an access point.
18. A method executed in an information processing device, comprising: a receiving step of receiving an instruction to execute a process; a transition step of controlling the information processing device to transition to a predetermined mode in which a user is not notified that an event has been received from the outside after the instruction to execute the process is received in the reception step and before the process is executed; an execution step of executing the process after the control in the transition step has been performed; The method according to claim 1, further comprising:
19. A reception means for receiving an instruction to execute a process; a transition means for controlling the state of the information processing device to transition to a predetermined mode in which a user is not notified that an event has been received from the outside, after the reception means has received an instruction to execute the process, and before the process is executed; an execution unit that executes the process after the control by the transfer unit is performed; An information processing device comprising:
Citation Information
Patent Citations
Mobile terminal, print system and print communication control method, and computer program
JP2006087002A
