Electronic device, control method thereof, storage medium storing program, and computer program product

By receiving and processing the connection destination change request from the AP in the electronic device, and controlling the switching process using different operating modes, the stability problem of the STA when switching the AP is solved, ensuring the stable operation and power of the STA during the switching process. save.

CN119233338APending Publication Date: 2024-12-31CANON KK
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410822634.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-06-30
Filing Date
2024-06-25
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

In the extended service set composed of multiple APs, STAs may have problems when switching connection destination APs, especially when switching APs or disconnecting from connected APs, the prior art is difficult to properly perform changes in connection destinations, resulting in There is a problem with the STA.

Method used

Provided an electronic device and a control method thereof, by receiving an access point change request from a connected first access point that acts as a connection destination, control in different modes, including executing the connection destination in the first mode The process is changed and this process is not performed in the second mode (the processor clock frequency is low) in order to more appropriately handle the switching request.

Benefits of technology

It is realized that the STA is avoided when the connection to the destination AP is switched, ensuring that the STA operates stably during the switching process, especially in the power saving mode, reducing power consumption and avoiding the timeout problem after the connection to the destination AP is switched.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119233338A_ABST
    Figure CN119233338A_ABST
Patent Text Reader

Abstract

The invention relates to an electronic device, a control method thereof, a storage medium storing a program, and a computer program product. An electronic device includes: a receiving unit that receives a change request of an access point serving as a connection destination from a connected first access point; and a control unit that, in a case where the electronic device is in the first mode among a first mode and a second mode in which a clock frequency of the at least one processor is lower than that in the first mode, performs control to execute a connection destination change process based on the change request, and performing control so as not to execute a connection destination change process based on the change request when the electronic device is in the second mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to an electronic device connectable via a wireless local area network (LAN), a control method thereof, a storage medium storing a program, and a computer program product. Background Art

[0002] There is a technology for dynamically switching a connection destination AP in an extended service set (ESS) composed of multiple APs so as to efficiently exchange data between an access point (AP) and a station (STA). If it is determined to switch the connection destination AP based on the degree of congestion of the AP to which the STA is connected, the availability of other APs, radio wave conditions, etc., the connected AP sends a connection AP change request to the STA. Upon receiving the AP change request, the STA can switch the connection destination AP according to the request and connect to an appropriate AP.

[0003] Japanese Patent Laid-Open No. 2021-175068 discloses the following process as a process of requesting a change of the connection destination from a router with an AP function to a connected wireless slave device. A mobile router (MR1) that can be connected to multiple wireless slave devices checks whether the wireless slave terminal complies with IEEE 802.11v. Whether the wireless slave terminal complies with IEEE 802.11v can be determined from an association request frame sent when the wireless slave terminal is wirelessly connected to MR1. When the wireless slave terminal complies with IEEE802.11v, MR1 sends a BSS transition management (BTM) request frame to the wireless slave terminal. The BSS transition candidate list entry field of the BTM request frame specifies the BSSID of the master router RT2 as the connection destination. This prompts the switching of the connection destination of the wireless slave terminal, and the wireless slave terminal switches the connection destination from MR1 to RT2 according to the received BTM request frame. Summary of the invention

[0004] The present invention provides an electronic device that more appropriately performs a change of an access point serving as a connection destination, a control method thereof, a storage medium storing a program, and a computer program product.

[0005] The present invention provides an electronic device in its first aspect, the electronic device comprising: a receiving unit, the receiving unit being configured to receive a change request of an access point serving as a connection destination from a connected first access point; and a control unit, the control unit being configured to control to execute connection destination change processing based on the change request when the electronic device is in the first mode among a first mode and a second mode, in which the clock frequency of the at least one processor is lower than that in the first mode, and to control not to execute connection destination change processing based on the change request when the electronic device is in the second mode.

[0006] The present invention provides, in its second aspect, an electronic device control method, which is executed in an electronic device including at least one processor, the method comprising: receiving a change request for an access point serving as a connection destination from a connected first access point; when the electronic device is in the first mode between a first mode and a second mode, controlling to execute connection destination change processing based on the change request, in which the clock frequency of the at least one processor is lower than that in the first mode; and when the electronic device is in the second mode, controlling not to execute connection destination change processing based on the change request.

[0007] The present invention, in its third aspect, provides a non-transitory computer-readable storage medium storing a program, the program being configured to cause a computer to function as: a receiving unit configured to receive a change request for an access point serving as a connection destination from a connected first access point; and a control unit configured to, when the electronic device is in the first mode among a first mode and a second mode, control to execute connection destination change processing based on the change request, in which the clock frequency of the at least one processor is lower than in the first mode, and to control not to execute connection destination change processing based on the change request, when the electronic device is in the second mode.

[0008] The present invention, in its fourth aspect, provides a computer program product, which is configured to cause a computer to function as: a receiving unit, which is configured to receive a change request for an access point serving as a connection destination from a connected first access point; and a control unit, which is configured to control, when the electronic device is in the first mode among a first mode and a second mode, to perform connection destination change processing based on the change request, in which the clock frequency of the at least one processor is lower than that in the first mode, and to control not to perform connection destination change processing based on the change request when the electronic device is in the second mode.

[0009] According to the present invention, the change of the access point serving as the connection destination can be performed more appropriately.

[0010] Further features of the present invention will become apparent from the following description of exemplary embodiments with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 is a view showing the system configuration.

[0012] Figure 2A and Figure 2B is a view showing the arrangement of the MFP.

[0013] FIG. 3A to FIG. 3C is a view showing an operation display unit of the MFP.

[0014] Figure 4A and Figure 4B is a view showing the arrangement of a mobile terminal device.

[0015] Figure 5 is a block diagram showing an arrangement of access points.

[0016] Figure 6 It is a sequence diagram for explaining a process corresponding to a connection destination change request from an AP.

[0017] Figure 7 is a flowchart showing processing in the MFP. DETAILED DESCRIPTION

[0018] Hereinafter, the embodiments will be described in detail with reference to the accompanying drawings. Note that the following embodiments are not intended to limit the scope of the claimed invention. A plurality of features are described in the embodiments, but the invention is not limited to requiring all such features, and a plurality of such features may be appropriately combined. In addition, in the accompanying drawings, the same reference numerals are given to the same or similar configurations, and redundant descriptions thereof are omitted.

[0019] STA presents a state in which no problem occurs even when switching APs, and a state in which a problem occurs when switching APs or disconnecting from a connected AP. If STA receives an AP change request from an AP in a state in which a problem occurs and switches the connection destination AP according to the request, a problem occurs in STA.

[0020] According to the present disclosure, change of an access point serving as a connection destination can be performed more appropriately.

[0021] (System Configuration)

[0022] Figure 1 An example of a configuration of a system according to an embodiment is shown. In the example, the system is a wireless communication system in which a plurality of communication devices can wirelessly communicate with each other. Figure 1In the example of , the system includes a mobile terminal device 104 and an MFP 100 as communication devices, APs 101 and 102 as access points, a server 103, and a network 110. Note that APs 101 and 102 are sometimes referred to as AP1 and AP2. The mobile terminal device 104 is a device having a wireless communication function through a wireless LAN or the like. Note that a wireless LAN is sometimes referred to as a WLAN. The mobile terminal device 104 may be a personal information terminal such as a personal digital assistant (PDA), a mobile phone (smartphone), a digital camera, a personal computer, or the like.

[0023] MFP 100 is a printing device with a printing function, and may further have a reading function (scanner), a FAX function, and a telephone function. The MFP 100 according to the embodiment has a communication function capable of wirelessly communicating with a mobile terminal device 104. In the embodiment, the case where MFP 100 is used will be illustrated, but some embodiments are not limited thereto. For example, a scanner, a projector, a mobile terminal, a smart phone, a notebook PC, a tablet terminal, a PDA, a digital camera, a music player, a television, or a smart speaker with a communication function may be used instead of MFP 100. Note that MFP is an acronym for Multi Function Peripheral.

[0024] The AP 101 is provided separately (externally) from the mobile terminal device 104 and the MFP 100, and is used as a WLAN base station device. A communication device having a WLAN communication function can communicate in a WLAN infrastructure mode via the AP 101. Note that an access point is sometimes referred to as an "AP". The infrastructure mode is sometimes referred to as a "wireless infrastructure mode". The AP 101 performs wireless communication with a communication device that the AP 101 allows (authenticates) to be connected to the AP 101, and relays wireless communication between the communication device and another communication device. The AP 101 is connected to, for example, a wired communication network, and can relay communication between a communication device connected to the wired communication network and another communication device wirelessly connected to the AP 101.

[0025] The AP 102 has functions equivalent to those of the AP 101, and as necessary, the MFP 100 switches connection from the AP 101 to the AP 102. The server 103 is connected to the MFP 100 via the AP 101 and the network 110, and provides services to the MFP 100 in response to a request from the MFP 100. The network 110 may be the so-called Internet, or a closed office network or a mobile phone network.

[0026] (MFP appearance layout)

[0027] Figure 2A An example of the appearance arrangement of the MFP 100 is shown. The MFP 100 includes, for example, a document table 201, a document cover 202, a print sheet insertion port 203, a print sheet discharge port 204, and an operation display unit 205. The document table 201 is a table on which a document to be read is placed. The document cover 202 is a cover that presses the document on the document table 201 and prevents light from a light source irradiating the document from leaking outward when reading. The print sheet insertion port 203 is an insertion port that can set sheets of various sizes. The print sheet discharge port 204 is a discharge port from which printed sheets are discharged. The sheets set at the print sheet insertion port 203 are conveyed to the printing unit one by one, and after being printed by the printing unit, are discharged from the print sheet discharge port 204. The operation display unit 205 includes keys (such as character input keys, cursor keys, OK key, and cancel key), LEDs, and LCDs. The operation display unit 205 can accept the user's activation of various functions of the MFP 100 and operations on various settings. The operation display unit 205 may include a touch panel display. The MFP 100 has a WLAN wireless communication function and includes a wireless communication antenna 206 for wireless communication, which does not need to be always visible from the appearance. Similar to the mobile terminal device 104, the MFP 100 can perform wireless communication in the 2.4 GHz frequency band and the 5 GHz frequency band through WLAN.

[0028] (MFP layout)

[0029] Figure 2B An example of the arrangement of the MFP 100 is shown. The MFP 100 includes a main board 211 that performs main control of the MFP 100 and a wireless unit 226 that serves as one communication module that performs WLAN communication using at least one common antenna. The MFP 100 includes a modem 229 for performing, for example, wired communication. The main board 211 includes, for example, a central processing unit (CPU) 212, a ROM 213, a RAM 214, a nonvolatile memory 215, an image memory 216, a read control unit 217, a data conversion unit 218, a read unit 219, and an encoding / decoding processing unit 221. The main board 211 includes, for example, a printing unit 222, a sheet feeding unit 223, a print control unit 224, and an operation display unit 220. The functional units in the main board 211 are connected to each other via a system bus 230 managed by the CPU 212. The main board 211 and the wireless unit 226 are connected via, for example, a dedicated bus 225, and the main board 211 and the modem 229 are connected via, for example, a bus 228.

[0030] The CPU 212 is a system control unit including at least one processor, and controls the entire MFP 100. In the example, the processing of the MFP 100 to be described below is realized by executing the program stored in the ROM 213 by the CPU 212. Note that hardware dedicated to each processing can be prepared. The ROM 213 stores a control program to be executed by the CPU 212, an embedded OS program, and the like. In the embodiment, the CPU 212 executes each control program stored in the ROM 213 under the management of the embedded OS similarly stored in the ROM 213, thereby performing software control such as scheduling or task switching.

[0031] The RAM 214 is composed of an SRAM or the like. The RAM 214 stores data such as program control variables, and data such as setting values ​​registered by a user and management data of the MFP 100. The RAM 214 can be used as a buffer for various jobs. The nonvolatile memory 215 is composed of a memory such as a flash memory, and keeps storing data even after the MFP 100 is turned off. The image memory 216 is composed of a memory such as a DRAM. The image memory 216 accumulates image data received via the wireless unit 226, image data processed by the encoding / decoding processing unit 221, and the like. Note that the memory configuration of the MFP 100 is not limited to the above-mentioned memory configuration. The data conversion unit 218 performs analysis of various forms of data, conversion from image data to print data, and the like.

[0032] The reading control unit 217 controls the reading unit 219 (e.g., a contact image sensor (CIS)) to optically read the document on the document table 201. The reading control unit 217 converts the image obtained by optically reading the document into electrical image data (image signal) and outputs the image data. At this time, the reading control unit 217 may output the image data after performing various image processing such as binarization processing and halftone processing.

[0033] The operation display unit 220 is a reference Figure 2A The described operation display unit 205, and performs display on the display based on display control of the CPU 212, generation of a signal in response to acceptance of a user operation, and the like.

[0034] The encoding / decoding processing unit 221 performs encoding processing, decoding processing, and scaling processing on image data (JPEG, PNG, etc.) handled by the MFP 100 .

[0035] The sheet feeding unit 223 holds sheets for printing. The sheet feeding unit 223 can supply set sheets under the control of the print control unit 224. The sheet feeding unit 223 may include a plurality of sheet feeding parts so as to hold a plurality of types of sheets, and may control which sheet feeding part feeds the sheet under the control of the print control unit 224.

[0036] The print control unit 224 performs various image processing such as smoothing processing, print density correction processing, and color correction on the image data to be printed, and outputs the processed image data to the print unit 222. The print unit 222 is configured to be able to perform a print process by, for example, an inkjet printing method. The print unit 222 discharges ink supplied from an ink cartridge from a print head, and prints an image on a print medium such as a sheet. Note that the print unit 222 may be configured to be able to perform another print process by an electrophotographic method or the like. The print control unit 224 may periodically read out information of the print unit 222, and update status information, etc., which is stored in the RAM 214 and includes the remaining amount of the ink cartridge, the state of the print head, etc.

[0037] The wireless unit 226 is a unit capable of providing a WLAN communication function, and can provide, for example, a function similar to that of a combination of the WLAN unit 429 of the mobile terminal device 104. That is, the wireless unit 226 converts data into packets according to the WLAN standard and sends the packets to another device. In addition, the wireless unit 226 restores the original data from the packet from another external device and outputs the data to the CPU 212. The wireless unit 226 can communicate as a station compliant with the IEEE802.11 standard series. In particular, the wireless unit 226 can communicate as a station compliant with IEEE802.11a / b / g / n / ac / ax. A station is sometimes referred to as a STA. The wireless unit 226 can also communicate as a station compliant with Wi-Fi Agile Multiband. TM STA to communicate.

[0038] The wireless unit 226 complies with IEEE802.11ax, i.e., Wi-Fi 6 TM , and the MFP 100 can even operate as a STA that complies with at least either of Orthogonal Frequency Division Multiple Access (OFDMA) and Target Wake Time (TWT). Since the MFP 100 complies with TWT, the timing of data communication from the host device to the STA is adjusted. The wireless unit 226 (MFP 100) as a STA transitions the communication function to a sleep state when it does not need to wait for signal reception. This can suppress power consumption. The wireless unit 226 also complies with Wi-Fi 6E TMThat is, the wireless unit 226 can communicate even in the 6 GHz band (5.925 GHz to 7.125 GHz). The target band present in the 5 GHz band for performing dynamic frequency selection (DFS) does not exist in the 6 GHz band. Therefore, in the 6 GHz band communication, communication disconnection caused by the DFS standby time does not occur, and more comfortable communication can be expected.

[0039] Note that the mobile terminal device 104 and the MFP 100 can perform P2P (WLAN) communication based on WFD, and the wireless unit 226 has a software access point (soft AP) function or a group owner function. That is, the wireless unit 226 can build a P2P communication network and decide the channel used in the P2P communication.

[0040] (Operation display unit of MFP)

[0041] FIG. 3A to FIG. 3C An example of a screen display on a display (touch panel display) included in the operation display unit 220 of the MFP 100 is schematically shown. Figure 3A An example of a home screen displayed during a state (idle state or standby state) in which the MFP 100 is turned on and an operation such as printing or scanning is not performed is shown. Figure 3A In the display, display items (menu items) corresponding to copy, scan, and cloud are displayed. Cloud is a menu item related to cloud functions using Internet communication. When any menu item is selected by key operation or touch panel operation, MFP 100 can start executing the corresponding setting or function. MFP 100 can accept Figure 3A The home screen key operation or touch panel operation can be seamlessly displayed with Figure 3A The pictures in the picture are different.

[0042] Figure 3B An example of displaying another part of the home screen is shown. This screen is displayed from the home screen by an operation (e.g., a sliding operation to the left or right) to another page of the home screen. Figure 3A In the state transition. Figure 3B In the display, display items (menu items) corresponding to communication setting, printing and photo are displayed. When any menu item is selected, a function corresponding to the selected menu item, that is, any one of the printing function, the photo function and the communication setting is executed.

[0043] Figure 3C Shows that when Figure 3BAn example of a display of a menu screen for communication settings that is displayed when communication settings are selected on the screen in . The menu screen for communication settings displays menu items (options) "Wireless LAN", "Wired LAN", "Wireless Direct", "Bluetooth", and "Shared". "Wireless LAN", "Wired LAN", and "Wireless Direct" are menu items for performing LAN settings. From these items, settings such as settings for wired connection, valid / invalid settings for wireless infrastructure mode, and valid or invalid settings for P2P mode (such as WFD or soft AP mode) can be performed. When the item "Wireless LAN" is selected and the wireless LAN is set to valid by user operation, the wireless infrastructure mode becomes valid. When the item "Wireless Direct" is selected and the wireless direct connection is set to valid by user operation, the P2P (WLAN) mode becomes valid. On this screen, a common settings menu for various connection forms is also displayed. The user can perform settings of the frequency band and frequency channel of the wireless LAN, etc. from this screen.

[0044] (Appearance layout of mobile terminal equipment)

[0045] Figure 4A 4 is a view showing an example of the appearance arrangement of the mobile terminal device 104. In the embodiment, the case where the mobile terminal device 104 is a general form of a smart phone will be illustrated. Note that the mobile terminal device 104 includes, for example, a display unit 402, an operation unit 403, and a power key 404. The display unit 402 is, for example, a display including a liquid crystal display (LCD) type display mechanism. Note that the display unit 402 can display information using a light emitting diode (LED) or the like. In addition to the display unit 402 or in place of the display unit 402, the mobile terminal device 104 may have a function of outputting information by sound. The operation unit 403 includes physical keys such as keys and buttons, a touch panel, etc. for detecting user operations. Note that in this example, a common touch panel display is used to perform information display on the display unit 402 and acceptance of user operations by the operation unit 403, and the display unit 402 and the operation unit 403 are implemented by one device. In this case, for example, the display function of the display unit 402 is used to display button icons and a software keyboard, and the user's touch on these parts is detected by the operation acceptance function of the operation unit 403. Note that it is also possible to separate the display unit 402 and the operation unit 403 and prepare display hardware and operation acceptance hardware separately. The power key 404 is a physical key for accepting a user operation to turn the mobile terminal device 104 on or off.

[0046] The mobile terminal device 104 includes a WLAN unit 401 that provides a WLAN communication function, although it need not always be visible from the outside. The WLAN unit 401 is configured to be able to perform data (packet) communication in a WLAN system that complies with, for example, the IEEE802.11 standard series (e.g., IEEE802.11a / b / g / n / ac / ax). The WLAN unit 401 can be used as a WLAN that complies with Wi-Fi Agile Multiband. TM WLAN unit 401 can communicate with an AP of a wireless network. However, WLAN unit 401 is not limited thereto, and may be able to perform communication in accordance with a WLAN system of another standard. Note that this example assumes that WLAN unit 401 can communicate in both the 2.4 GHz frequency band and the 5 GHz frequency band. In addition, WLAN unit 401 can perform communication based on WFD, communication in soft AP mode, communication in wireless infrastructure mode, etc. Operations in these modes will be described later.

[0047] (Layout of mobile terminal equipment)

[0048] Figure 4B An example of the arrangement of the mobile terminal device 104 is shown. In the example, the mobile terminal device 104 includes a main board 411 that performs main control of the mobile terminal device 104 and a WLAN unit 429 that performs WLAN communication. The main board 411 includes, for example, a CPU 412, a ROM 413, a RAM 414, an image memory 415, a data conversion unit 416, a telephone unit 417, a GPS 419, a camera unit 421, a nonvolatile memory 422, a data accumulation unit 423, a speaker unit 424, and a power supply unit 425. CPU is an acronym for Central Processing Unit, ROM is an acronym for Read Only Memory, RAM is an acronym for Random Access Memory, and GPS is an acronym for Global Positioning System. The mobile terminal device 104 also includes a display unit 420 and an operation unit 418. The functional units in the main board 411 are connected to each other via the system bus 628 managed by the CPU 412. The main board 411 and the WLAN unit 429 are connected via the dedicated bus 426, for example.

[0049] The CPU 412 is a system control unit including at least one processor, and controls the entire mobile terminal device 104. In the example, the processing of the mobile terminal device 104 to be described below is realized by executing the program stored in the ROM 413 by the CPU 412. Note that hardware dedicated to each processing can be prepared. The ROM 413 stores a control program to be executed by the CPU 412, an embedded operating system (OS) program, and the like. In the embodiment, the CPU 412 executes each control program stored in the ROM 413 under the management of the embedded OS similarly stored in the ROM 413, thereby performing software control such as scheduling or task switching.

[0050] RAM 414 is composed of static RAM (SRAM) and the like. RAM 414 stores data such as program control variables, and data such as setting values ​​registered by the user and management data of the mobile terminal device 104. RAM 414 can be used as a buffer for various jobs. Image memory 415 is composed of a memory such as dynamic RAM (DRAM). Image memory 415 temporarily stores image data received via WLAN unit 429 and image data read out from data accumulation unit 423 so that data can be processed by CPU 412. Nonvolatile memory 422 is composed of a memory such as flash memory, and keeps storing data even after the mobile terminal device 104 is turned off. Note that the memory configuration of the mobile terminal device 104 is not limited to the above-mentioned memory configuration. For example, image memory 415 and RAM 414 can be shared, or data accumulation unit 423 can be used to perform backup of data, etc. In the embodiment, DRAM is exemplified as image memory 415, but another storage medium such as a hard disk or nonvolatile memory can be used.

[0051] The data conversion unit 416 performs analysis of various forms of data, and data conversion such as color conversion or image conversion. The telephone unit 417 controls the telephone line, and processes audio data input / output via the speaker unit 424, thereby realizing telephone communication. The GPS 419 receives radio waves transmitted from a satellite, and obtains position information such as the current latitude and longitude of the mobile terminal device 104.

[0052] The camera unit 421 has a function of electronically recording and encoding an image input via a lens. The image data obtained by the image capture of the camera unit 421 is stored in the data accumulation unit 423. The speaker unit 424 performs a function for realizing the input or output of a voice for a telephone function, and control of functions such as alarm notifications. The power supply unit 425 is, for example, a portable battery and performs power supply control for the device. The power supply state includes, for example, a battery exhaustion state in which the battery is exhausted, a power off state in which the power key 404 is not pressed, an active state in which the mobile terminal device 104 is normally activated, and a power saving state in which the mobile terminal device 104 is activated but power is saved.

[0053] Display unit 420 is a reference Figure 4A The display unit 402 described above displays various input operations, the operation status of the MFP 100, the status status, etc. based on the control of the CPU 412. The operation unit 418 is a reference Figure 4A The operation unit 403 described above performs control of generating an electric signal corresponding to the operation when accepting a user operation and outputting it to the CPU 412.

[0054] The mobile terminal device 104 performs wireless communication using the WLAN unit 429 and performs data communication with another device such as the MFP 100. The WLAN unit 429 converts data into packets and sends the packets to another device. In addition, the WLAN unit 429 recovers the original data from the packets from another external device and outputs the data to the CPU 412. The WLAN unit 429 is a unit for implementing communication in accordance with the WLAN standard. The WLAN unit 429 can operate concurrently in at least two communication modes including a wireless infrastructure mode and a P2P (WLAN) mode. Note that the frequency bands used in these communication modes are subject to hardware function and performance constraints.

[0055] (Access point placement)

[0056] Figure 5 1 is a block diagram showing the arrangement of the AP 101 having a wireless LAN access point function. The AP 101 includes a main board 510 that controls the AP 101 , a wireless LAN unit 516 , a wired LAN unit 518 , and an operation button 520 .

[0057] The CPU 511 in the form of a microprocessor arranged on the main board 510 operates according to the control program stored in the program memory 513 in the form of a ROM connected via the internal bus 512 and the contents of the data memory 514 in the form of a RAM. The CPU 511 performs wireless LAN communication with another communication terminal device by controlling the wireless LAN unit 516 via the wireless LAN communication control unit 515. The CPU 511 performs wired LAN communication with another communication terminal device by controlling the wired LAN unit 518 via the wired LAN communication control unit 517. The CPU 511 can accept an operation from a user via the operation button 520 by controlling the operation unit control circuit 519. The CPU 511 includes at least one processor.

[0058] The AP 101 further includes an interference wave detection unit 521 and a channel change unit 522. When wireless communication is performed in a frequency band in which dynamic frequency selection (DFS) is performed, the interference wave detection unit 521 performs interference wave detection processing. When an interference wave is detected while wireless communication is performed in a frequency band in which DFS is performed, the channel change unit 522 performs a change process of a channel used in the case where the channel must be immediately changed to an idle channel.

[0059] Note that AP 102 also has an arrangement similar to that of AP 101 .

[0060] (P2P communication method)

[0061] Next, a P2P (WLAN) communication method in which devices directly communicate with each other wirelessly without intervention of an external access point in WLAN communication will be generally explained. P2P (WLAN) communication can be implemented using a plurality of methods. For example, a communication device supports a plurality of modes for P2P (WLAN) communication, and P2P communication (WLAN) can be performed by selectively using any one of these modes.

[0062] As the P2P mode, the following two modes are assumed:

[0063] Soft AP mode

[0064] Wi-Fi Direct (WFD) mode

[0065] A communication device capable of performing P2P communication may be configured to support at least any one of these modes. However, even a communication device capable of performing P2P communication does not need to support all of these modes, and may be configured to support only some of the modes.

[0066] A communication device (e.g., mobile terminal device 104) having a WFD communication function accepts a user operation via an operation unit and calls an application for (in some cases, dedicated to) realizing the communication function. The communication device may display a user interface (UI) screen provided by the application to prompt the user to operate, and perform WFD communication based on the user operation accepted in response.

[0067] ●Soft AP mode

[0068] In the soft AP mode, the communication device (e.g., mobile terminal device 104) operates as a client that requests various services. Other communication devices (e.g., MFP 100) operate as a soft AP that can perform WLAN AP functions through software settings. Note that the commands and parameters sent / received when establishing a wireless connection between the client and the soft AP are sufficient to be controlled by the client. The commands and parameters are defined by the standard, so their description will be omitted here. The MFP 100 operating in the soft AP mode determines the frequency band and frequency channel as a master station. The MFP 100 can select which of 5 GHz and 2.4 GHz is used as the frequency band, and which frequency channel is used in the frequency band.

[0069] WFD mode

[0070] The MFP 100 can be statically activated as a master station (Autonomous Group Owner) in the WFD mode. In this case, the GO negotiation process for determining the role becomes unnecessary. In addition, in this case, the MFP 100 determines the frequency band and the frequency channel as the master station. The MFP 100 can select which of 5 GHz and 2.4 GHz is used as the frequency band, and which frequency channel is used in the frequency band.

[0071] (Wireless Infrastructure Mode)

[0072] In the wireless infrastructure mode, communication devices that communicate with each other (e.g., mobile terminal device 104 and MFP100) are connected to an external AP (e.g., AP 101) that controls the entire network, and communication between the communication devices is performed via the AP. In other words, communication between the communication devices is performed via a network constructed via the external AP. The mobile terminal device 104 and the MFP100 respectively discover AP 101, send a connection request to AP 101, connect to AP 101, and enable communication between these communication devices in the wireless infrastructure mode via AP 101. Note that multiple communication devices can be connected to a single AP. In this case, communication between the communication devices becomes possible by transmitting data between APs. Commands and parameters sent / received in communication between communication devices via an access point are sufficient to be controlled by The AP 101 may select which of 5 GHz, 2.4 GHz, and 6 GHz is used as the frequency band, and which frequency channel is used in the frequency band.

[0073] (Processing Corresponding to Connection Destination Change Request from AP to STA)

[0074] The mobile terminal device 104 and the MFP 100 are compliant with Wi-Fi Agile Function released to the public. Wi-Fi Agile Multiband is a function that enables selection of an optimal environment according to the changing conditions of the Wi-Fi network. More specifically, STAs such as the mobile terminal device 104 and the MFP 100 and APs such as the AP 101 exchange information about the network environment using the IEEE802.11 series of communication standards. Through this information exchange, when the network is congested, the AP can induce (change the connection destination) the STA to another AP, frequency band, channel, or in some cases, to another cellular service.

[0075] Figure 6 1 is a sequence diagram when the MFP 100 changes the connection destination AP from the AP 101 to the AP 102 according to the connection destination change request from the AP 101. The processing performed by each device in this sequence is realized by the CPU of each device reading out various programs stored in the memory of each device such as the ROM to the RAM and executing them.

[0076] exist Figure 6In the initial state of the processing in , it is assumed that the MFP 100 establishes a connection with the AP 101 in the wireless infrastructure mode. When the MFP 100 and the AP 101 are connected to each other in the wireless infrastructure mode, the AP 101 obtains information whether the MFP 100 complies with IEEE802.11v. If the AP 101 obtains information indicating that the MFP 100 complies with IEEE802.11v, the following processing is performed.

[0077] In S601, AP 101 sends an inquiry (measurement request) to MFP 100 about the radio field strength of APs around MFP 100. This inquiry including a beacon frame request or a beacon report request may be sent. That is, this request may use a mechanism defined by the IEEE802.11k standard.

[0078] In S602, the MFP 100 receives frames transmitted from surrounding APs according to the request received in S601, and measures the radio field strength. Thus, the radio field strength of each AP including the AP 101 and the AP 102 is measured.

[0079] In S603, the MFP 100 sends a list of radio field strengths of the APs around the MFP 100 measured in S602 as a response to the request received in S601. Note that the radio field strengths as a response may be information stored in the RAM 214 or the nonvolatile memory 215 of the MFP 100 in addition to or instead of the information measured in S602. This response including a beacon report or a measurement report is sent.

[0080] In S604, the AP 101 determines whether it is necessary to switch the connection destination of the MFP 100 based on the congestion condition in the network grasped by the AP 101 and the radio field strength received from the MFP 100 in S603. The factors for the AP 101 to determine that it is necessary to switch the connection are, for example, many connected STAs, a large amount of communication, less congestion of another AP, the presence / absence of interfering radio waves, and the stop of the AP function. If it is determined that it is necessary to switch the connection destination of the MFP 100, and the SSID, channel, and frequency band of another AP designated as the switching destination of the MFP 100 are decided, the process proceeds to S605.

[0081] In S605, AP 101 sends an AP change request (connection destination switching request) to MFP 100. The connection destination change request includes information of the SSID, channel, and frequency band of another AP designated as the switching destination of MFP 100 determined in S604. Note that multiple SSIDs can be designated. The connection destination change request is sent as, for example, a BTM request. That is, a BSS transition management (BTM) request frame defined by the IEEE802.11v standard is sent. Figure 6 In the example of FIG. 1 , it is assumed that the AP 102 is designated as the switching destination included in the connection destination change request.

[0082] In S606, if the MFP 100 complies with the connection destination change request received in S605, it sends a response indicating approval of the switch to the AP 101. If the MFP 100 does not comply with the connection destination change request, it may send a rejection of the switch as a response. The response is sent as a BTM response. Figure 6 In the example of , assume that a response is sent indicating approval of the handover.

[0083] In S607, the AP 101 and the MFP 100 cancel the connection in the wireless infrastructure mode.

[0084] In S608 , the MFP 100 transmits a connection request to the AP 102 in order to connect to the AP 102 specified by the connection destination change request received in S605 .

[0085] In S609 , the connection between the MFP 100 and the AP 102 in the wireless infrastructure mode is thus established.

[0086] With this mechanism, the MFP 100 acting as a STA can change the connection destination from the AP 101 to the AP 102 based on the connection destination change request from the AP 101 to which it was initially connected. The AP 101 and the AP 102 may be APs installed in different places. Figure 6 By performing the process of switching the MFP 100 to another AP installed at a different location from that of the AP initially connected, the AP sometimes corresponds to different frequency bands among a plurality of frequency bands (two or three of the 2.4 GHz, 5 GHz, and 6 GHz bands) provided by the same device. Figure 6 By the process of , the MFP 100 can switch to another frequency band provided by the same device as the initially connected AP. For example, the connection destination can be changed to a 6 GHz band AP based on the connection destination change request.

[0087] Note that in the embodiments, an example is given in which a measurement request and a connection destination change request from an AP are sent by a mechanism compliant with Wi-Fi Agile Multiband and the STA responds to them, but some embodiments are not limited thereto. The embodiments are applicable to a case in which the STA responds to a measurement request and a connection destination change request sent from an AP using a mechanism different from the above example and changes the connection destination AP (switches, deletes, or adds an AP serving as a connection destination).

[0088] [First embodiment]

[0089] (Control of connection destination change request from AP)

[0090] The STA presents a state in which no problem occurs even when switching APs, and a state in which a problem occurs when switching APs or disconnecting from a connected AP. If the STA receives an AP change request from an AP in a state in which a problem occurs and switches a connection destination AP according to the request, a problem occurs in the STA. If the STA does not satisfy the AP change request in order to avoid generation of a problem, it may disconnect from the connected AP. Even at this time, a problem occurs in the STA.

[0091] For example, as a technique for reducing the power consumption of the STA itself, there are some STAs in which, when the state of not using the STA continues for a predetermined time, the operation clock of the processing CPU in the STA is reduced according to the power mode, or the processing CPU is switched to a sub-CPU of a low operation clock, thereby reducing power consumption. When the connection destination AP is switched according to a request from the AP in the underclocking state of the STA in the power saving mode, in the connection process with the connection destination AP accompanied by the heavy calculation load of the Wi-Fi Protected Access Extensible Authentication Protocol (WPA-EAP), a timeout occurs on the connection destination AP side, and the connection with the AP may be canceled. According to the embodiment, the connection destination AP can be appropriately switched according to the state of the MFP 100.

[0092] Next, we will refer to Figure 7 The flowchart explains control of the MFP 100 with respect to a connection destination AP change request from the AP 101 . Figure 7 Each step shown in the flowchart of FIG. 2 is realized by the CPU 212 deploying a control program stored in a computer-readable memory such as the ROM 213 to the RAM 214 and executing it.

[0093] In step S701, the CPU 212 receives a connection destination AP change request from the AP 101. In step S702, the CPU 212 refers to a request cause (Request Mode) included in the connection destination AP change request from the AP 101. The request cause is referred to in the following bits included in the change request:

[0094] Preferred Candidate List Included bit, which indicates whether the transition candidate list is included in the BTM request frame

[0095] Abridged Bit, which indicates the presence / absence of the AP recommended by the STA in the transition candidate list

[0096] Disassociation Imminent Bit, which indicates whether to cancel the connection with the current AP

[0097] BSS Termination Included Bit, which indicates whether to shut down the basic service set (BSS) and cancel the connection with the AP

[0098] ESS Disassociation Imminent Bit, which indicates that the Session Information URL field is included in the BTM request frame and the STA is disconnected from the ESS.

[0099] In step S703, the CPU 212 determines whether the request reason indicates cancellation of the connection with the AP 101. For example, when the disassociation immediate bit indicating whether the connection with the current AP is to be canceled is set, or the BSS termination inclusion bit indicating whether the BSS is to be shut down and the connection with the AP is canceled is set, the CPU 212 determines whether it indicates cancellation of the connection with the AP 101. If the CPU 212 determines that it indicates cancellation of the connection between the AP 101 and the MFP 100, it proceeds to step S704. If the CPU 212 determines that it does not indicate cancellation of the connection with the AP 101, it proceeds to step S708.

[0100] In step S704, the CPU 212 determines whether the MFP 100 is operating in the power saving mode. The power saving mode is a state in which the MFP 100 is operating at an operating clock frequency lower than the operating clock frequency when operating in the normal mode. The state in which the operating clock frequency is lower than the operating clock frequency when operating in the normal mode is achieved by reducing the operating clock frequency of the processing CPU installed in the MFP 100. When a plurality of processing CPUs such as a main CPU of a high operating clock frequency and a sub-CPU of a low operating clock frequency are installed in the MFP 100, this state can be achieved by switching the processing CPU to the sub-CPU of the low operating clock frequency.

[0101] In other words, the power saving mode is a mode in which the number of feeding blocks is smaller than the number of feeding blocks in the operation in the normal mode. Figure 2B When the states of all blocks in the MFP 100 in FIG. 2 are regarded as operations in the normal mode, the power saving mode is a state in which power feeding to the reading control unit 217, the reading unit 219, the printing unit 222, and the printing control unit 224 is stopped.

[0102] If the CPU 212 determines in step S704 that the MFP 100 is operating in the power saving mode, it proceeds to step S705. In step S705, the CPU 212 returns the MFP 100 from the power saving mode. The return from the power saving mode is achieved by changing the operating clock frequency of the processing CPU to the operating clock frequency when operating in the normal mode, or switching the processing CPU to the main CPU used when operating in the normal mode. If the CPU 212 determines in step S704 that the MFP 100 is not operating in the power saving mode, it proceeds to step S706. Through the processing in step S705, the MFP 100 can be transferred to a state in which the switching of the connection destination AP can be performed.

[0103] As described above, according to the embodiment, even when the MFP 100 is in the power saving state, if the request reason included in the connection destination AP change request is a predetermined reason such as a reason corresponding to canceling the connection with the AP 101, the connection destination AP is switched.

[0104] The CPU 212 transmits a response indicating approval of the switching to the AP 101 in step S706 , and switches the connection destination AP to the AP 102 in step S707 .

[0105] After executing step S707, the CPU 212 shifts the MFP 100 to the power saving mode. The shift to the power saving mode is achieved by changing the operating clock frequency of the processing CPU to the operating clock frequency when operating in the power saving mode or switching the processing CPU to the sub CPU used when operating in the power saving mode.

[0106] In step S708, the CPU 212 determines whether the security setting of the wireless communication during the connection is Wi-Fi Protected Access Extensible Authentication Protocol (WPA-EAP). If the CPU 212 determines that the security setting is WPA-EAP (first setting), it proceeds to step S709. If the CPU 212 determines that the security setting is not WPA-EAP (second setting different from the first setting), it proceeds to step S711. Note that in the embodiment, WPA-EAP has been exemplified, but the determination criterion may be another security setting in which a timeout may occur in the encryption process based on the operating clock frequency of the processing CPU in the power saving mode.

[0107] In step S709, similarly to step S704, the CPU 212 determines whether the MFP 100 is operating in the power saving mode. If the CPU 212 determines in step S709 that the MFP 100 is operating in the power saving mode, it proceeds to step S710. In step S710, the CPU 212 sends a response indicating rejection of switching of the connection destination AP to the AP 101, and maintains the connection with the AP 101. After step S710, the CPU 212 ends the Figure 7 If the CPU 212 determines in step S709 that the MFP 100 is not operating in the power saving mode, it proceeds to step S711.

[0108] In this way, when the connection destination AP change request received from AP 101 does not indicate cancellation of the connection between AP 101 and MFP 100, and the encryption processing is accompanied by heavy calculation processing, as long as MFP 100 operates in the power saving mode, rejection of switching of the connection destination AP is sent back as a response. This can prevent a timeout in the case of operation in the power saving mode between MFP 100 and the connection destination AP after switching (AP after change).

[0109] In step S711, the CPU 212 determines whether the print job is being processed. If the CPU 212 determines that the print job is being processed, it proceeds to step S712. If the CPU 212 determines that the print job is not being processed, it proceeds to step S713. In step S712, the CPU 212 sends a response indicating rejection of switching of the connection destination AP to the AP 101, and maintains the connection with the AP 101. After step S712, the CPU 212 ends the Figure 7 in the processing.

[0110] As described above, when the connection destination AP change request received from AP 101 does not indicate cancellation of the connection between AP 101 and MFP 100, if a print job is being executed, rejection of switching of the connection destination AP is sent back as a response. This can prevent a situation where print data is interrupted. Although a print job is illustrated in this example, it can be determined whether another job such as a scan job is being processed.

[0111] In step S713, the CPU 212 transmits a response indicating approval of switching of the connection destination AP to the AP 101. In step S714, the CPU 212 switches the connection destination AP to the AP 102. After step S714, the CPU 212 ends the Figure 7 in the processing.

[0112] In the embodiment, when the connection destination AP change request received from the AP 101 does not indicate cancellation of the connection between the AP 101 and the MFP 100, the MFP 100 operates so that approval of the switching of the connection destination AP is sent back as a response as much as possible. In other words, when the current state of the MFP 100 satisfies a predetermined condition, the connection destination AP is not switched. The predetermined condition is, for example, that the security setting is WPA-EAP, the MFP 100 is in the power saving mode, and a job is being processed.

[0113] Note that when the process advances from "No" in step S708 to "No" in step S711, the MFP 100 may be in the power saving mode. Therefore, before step S713, the same process as that in steps S704 and S705 may be performed. With this process, when the MFP 100 is in the power saving mode, it may be configured to perform switching of the connection destination AP in step S714 after returning from the power saving mode. After executing step S714, the CPU 212 transitions the MFP 100 to the power saving mode. The transition to the power saving mode is achieved by changing the operating clock frequency of the processing CPU to the operating clock frequency when operating in the power saving mode, or by switching the processing CPU to a sub-CPU used when operating in the power saving mode.

[0114] [Second embodiment]

[0115] The second embodiment will be described with respect to the difference from the first embodiment. In the first embodiment, when it is determined in step S709 that the MFP 100 is in the power saving mode, a response indicating rejection of switching of the connection destination AP is sent to the AP 101 in step S710 to maintain the power saving mode. In the second embodiment, when the MFP 100 satisfies a predetermined condition and transitions to the power saving mode, control is performed so as not to send a connection destination AP change request from the AP 101 to the MFP 100. With this arrangement, when the MFP 100 transitions to the power saving mode, the power saving mode can be maintained without switching the connection destination AP.

[0116] As a predetermined condition for transitioning to the power saving mode, for example, it is assumed that it is set that no operation is accepted on the operation display unit 220 within a predetermined time. In this case, first, the CPU 212 cancels the connection with the AP 101 based on the fact that the condition is satisfied, and sends a request for connection with the AP 101 to the AP 101 again. At this time, the CPU 212 sends information indicating that the MFP 100 does not conform to IEEE802.11v to the AP 101. Here, even if the MFP 100 actually conforms to IEEE802.11v, the information indicating that the MFP 100 does not conform to this standard is sent to the AP 101. Then, the CPU 212 transitions the MFP 100 to the power saving mode. The transition to the power saving mode is achieved by changing the operating clock frequency of the processing CPU to the operating clock frequency when operating in the power saving mode, or switching the processing CPU to the sub-CPU used when operating in the power saving mode. By this operation, it is possible to control not to send a connection destination AP change request from the AP 101.

[0117] Based on the fact that the condition for returning from the power saving mode is satisfied, the CPU 212 causes the MFP 100 to return from the power saving mode. The condition for returning from the power saving mode is, for example, acceptance of a user operation on the operation display unit 220. The return from the power saving mode is achieved by changing the operating clock frequency of the processing CPU to the operating clock frequency when operating in the normal mode, or switching the processing CPU to the main CPU used when operating in the normal mode. Then, the CPU 212 cancels the connection with the AP 101, and sends a request for connection with the AP 101 to the AP 101. At this time, the CPU 212 sends information indicating that the MFP 100 complies with IEEE802.11v to the AP 101.

[0118] In this manner, when the MFP 100 satisfies a predetermined condition and shifts to the power saving mode, control does not transmit a connection destination AP change request from the AP 101 to the MFP 100. With this arrangement, when the MFP 100 shifts to the power saving mode, the power saving mode can be maintained without switching the connection destination AP.

[0119] In the above-mentioned second embodiment, the following example has been explained: in this example, when transitioning to the power saving mode, connection with the AP is performed again, and information indicating that the connection destination change function is not supported (not compliant with IEEE802.11v) is sent to the AP to connect to the AP, thereby preventing the change of the connection destination corresponding to the connection destination change request. However, some embodiments are not limited to this, and another method can be adopted as long as the change of the connection destination AP corresponding to the connection destination change request from the AP can be controlled in the power saving mode. For example, it can be controlled that information indicating that the connection destination change function is supported when connecting to the AP is sent to the AP, but when the measurement request (S601) is received, for the radio wave reception condition of another AP other than the connected access point, information indicating a radio wave reception condition inferior to the actual measured condition (radio wave is weak, noise is large, or radio wave cannot be detected) is sent back as a response (pseudo response). Through this control, it can be expected that the transmission of the request for change of the connection destination from the connected AP to another AP is suppressed. Therefore, the change of the connection destination corresponding to the connection destination change request is suppressed.

[0120] Note that the above-described various control operations performed by the MFP 100 in the above-described embodiment may be performed by one piece of hardware, or control of the entire apparatus may be performed by sharing processing among a plurality of hardware units (eg, a plurality of processors or circuits).

[0121] Although the present disclosure has described the exemplary embodiments in detail, some embodiments are not limited to these specific embodiments and also include various forms without departing from the spirit and scope of the disclosure. In addition, the above-mentioned embodiments are merely embodiments of the present disclosure and can be appropriately combined.

[0122] In the above-mentioned embodiments, an example in which the present disclosure is applied to the MFP 100 has been described. However, some embodiments are not limited to this example, and may be applied to a wireless device having multiple operation modes and serving as a STA capable of performing processing corresponding to a connection destination change request from an AP. That is, the present disclosure may be applied to personal computers, PDAs, tablet terminals, mobile phone terminals such as smart phones, music players, game devices, e-book readers, smart watches, and various measuring devices (sensor devices) such as thermometers and hygrometers. The present disclosure may be applied to digital cameras (including still cameras, video cameras, web cameras, and security cameras), printers, scanners, and drones. The present disclosure may be applied to video output devices, audio output devices (e.g., smart speakers), media streaming players, and wireless LAN slave devices (adapters) that can be connected to a USB terminal or a LAN cable terminal. The video output device includes obtaining (downloading) a movie on the Internet indicated by a URL specified by a slave electronic device and outputting it to a computer via a network such as a wireless network. The video output device also includes a display device connected to a video output terminal of the display device to realize streaming playback on the display device, and a device that realizes mirror display (in which the content displayed on the electronic device is also displayed on the display device). Video output devices also include media players such as televisions, hard disk recorders, Blu-ray recorders and DVD recorders, head-mounted displays, projectors, televisions, display devices (monitors) and marking devices. The present disclosure can even be applied to Wi-Fi-connectable devices known as smart home appliances, such as air conditioners, refrigerators, washing machines, cleaners, ovens, microwave ovens, lighting equipment, heating equipment and cooling equipment.

[0123] Note that in the above-described embodiment, an example has been explained in which the STA (e.g., MFP 100) changes the connection destination AP based on the connection destination change request received from the connected AP (e.g., AP 101). It can also be controlled that even if the STA does not receive a connection destination change request from the AP, and if the STA satisfies a specific switching condition, the STA actively determines to switch the connection destination AP, and switches the connection destination AP. The specific switching condition is, for example, a decrease in the radio field strength of the connected AP. For example, the radio field strength of the connected AP is measured, and if a predetermined condition indicating that the radio field strength of the connected AP becomes weak is satisfied, the STA actively determines to switch the connection destination AP. The predetermined condition is, for example, that the radio field strength of the connected AP becomes lower than a threshold, that the state in which the radio field strength of the connected AP becomes lower than a threshold continues for a predetermined time, or that the average value of the radio field strength of the connected AP in a specific period becomes lower than a threshold. When the STA determines to switch the connection destination AP, it searches for an AP (AP search), and decides an AP different from the currently connected AP among the APs detected by the AP search as a switching target AP serving as a connection destination after switching, cancels the connection with the connected AP, and switches the connection destination to the switching target AP. Alternatively, the AP after switching may be added and connected without canceling the connection with the connected AP. Even such active switching control of the connection destination AP by the STA may be suppressed based on a condition similar to the condition for switching the connection destination AP based on the change request described above. More specifically, even if the above-mentioned specific switching condition is satisfied, switching (changing) of the connection destination AP is controlled not to be performed in the power saving mode, or switching (changing) of the connection destination AP is suppressed.

[0124] Other embodiments

[0125] Embodiments of the present invention may also be implemented by reading out and executing computer executable instructions (e.g., one or more programs) recorded on a storage medium (which may also be more completely referred to as a 'non-transitory computer-readable storage medium') to perform one or more functions in the above-mentioned embodiments and / or a computer of a system or device including one or more circuits (e.g., an application-specific integrated circuit (ASIC)) for performing one or more functions in the above-mentioned embodiments, and by a computer of the system or device, for example, reading out and executing computer executable instructions from a storage medium to perform one or more functions in the above-mentioned embodiments and / or controlling one or more circuits to perform one or more functions in the above-mentioned embodiments. The computer may include one or more processors (e.g., a central processing unit (CPU), a microprocessing unit (MPU)), and may include a network of separate computers or separate processors to read out and execute computer executable instructions. Computer executable instructions may be provided to the computer, for example, from a network or a storage medium. The storage medium may include, for example, a hard disk, a random access memory (RAM), a read-only memory (ROM), a storage device of a distributed computing system, an optical disk (such as a compact disk (CD), a digital versatile disk (DVD), or a Blu-ray disk (BD)) TM ), one or more of a flash memory device, a memory card, etc.

[0126] The embodiments of the present invention may also be implemented by providing software (program) for performing the functions of the above-described embodiments to a system or device via a network or various storage media, and a computer or a central processing unit (CPU) or a microprocessing unit (MPU) of the system or device reads and executes the program.

[0127] While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments.The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.

Claims

1. An electronic device, comprising: a receiving unit configured to receive a change request of an access point serving as a connection destination from a connected first access point; as well as a control unit configured to control to execute connection destination change processing based on the change request when the electronic device is in the first mode among a first mode and a second mode, in which the clock frequency of the at least one processor is lower than that in the first mode, and When the electronic device is in the second mode, control is performed so as not to execute connection destination change processing based on the change request.

2. The device according to claim 1, wherein the control unit controls to execute connection destination change processing based on the change request when the electronic device is in the first mode and the change request is received; and In a case where the electronic device is in the second mode and the change request is received, control is performed so as not to execute connection destination change processing based on the change request.

3. The device according to claim 1, wherein, when the electronic device is in the second mode, the control unit controls not to perform connection destination change processing based on the change request by performing specific processing for suppressing transmission of the change request from the first access point in the second mode.

4. The device according to claim 3, wherein, in a case where the electronic device transitions from the first mode to the second mode, the control unit performs control to cancel the connection with the first access point as the specific processing, connect to the first access point again, and notify the electronic device that the change request of the connection destination is not satisfied together with the connection.

5. The apparatus according to claim 3, wherein in the second mode, the control unit controls to respond to the measurement request received from the first access point by indicating information that a radio wave condition of another access point other than the first access point is worse than a measured condition as the specific processing.

6. The device according to claim 1, wherein the control unit controls not to perform connection destination change processing based on the change request when the electronic device is in the second mode and the setting regarding the connection with the second access point serving as the connection destination after the change based on the change request is the first setting, and In a case where the electronic device is in the second mode but the setting regarding the connection with the second access point is a second setting different from the first setting, control is performed to execute connection destination change processing based on the change request. 7 . The apparatus according to claim 6 , wherein the first setting is a setting for using a predetermined encryption process in connection with the second access point.

8. The device of claim 7, wherein the predetermined encryption process is Wi-Fi Protected Access Extensible Authentication Protocol (WPA-EAP). 9 . The device according to claim 1 , wherein in a case where the electronic device is in the first mode but in a predetermined state, the control unit performs control so as not to execute connection destination change processing based on the change request.

10. The apparatus according to claim 9, wherein the predetermined state includes a state in which a job is being executed.

11. An apparatus according to claim 1, wherein when the electronic device is in the second mode, but the information indicating the reason for the change of the connection destination included in the change request received by the receiving unit indicates a predetermined reason, the control unit controls to perform connection destination change processing based on the change request. 12 . The apparatus according to claim 11 , wherein the predetermined cause is a cause corresponding to cancellation of a connection between the access point and the electronic device.

13. A device according to claim 11, wherein when the change request including information indicating the predetermined reason is received in the second mode, the control unit controls to transition the electronic device from the second mode to the first mode, and then performs connection destination change processing based on the change request.

14. A device according to claim 13, wherein when the change request including information indicating the predetermined reason is received in the second mode, the control unit controls to transition the electronic device from the second mode to the first mode, performs connection destination change processing based on the change request, and then transitions the electronic device from the first mode to the second mode. 15 . The apparatus according to claim 1 , wherein the second mode is a power saving mode in which power consumption is lower than that in the first mode.

16. The device of claim 1, wherein the electronic device further comprises a printer configured to print an image on a print medium. 17 . The device of claim 1 , wherein the electronic device is a device capable of performing an operation corresponding to at least one of Orthogonal Frequency Division Multiple Access (OFDMA) and Target Wake Time (TWT).

18. The device of claim 1, wherein the electronic device is a device capable of operating in compliance with IEEE802.11ax.

19. The apparatus according to claim 1, wherein in a case where the control unit performs control to perform a change of a connection destination based on the change request, the control unit performs control to change to an access point of a 6 GHz frequency band.

20. An electronic device control method, the electronic device control method being executed in an electronic device including at least one processor, the method comprising: receiving a change request of an access point serving as a connection destination from a connected first access point; controlling to execute connection destination change processing based on the change request when the electronic device is in the first mode among a first mode and a second mode in which the clock frequency of the at least one processor is lower than that in the first mode; as well as When the electronic device is in the second mode, control is performed so as not to execute connection destination change processing based on the change request.

21. A non-transitory computer-readable storage medium storing a program, the program being configured to cause a computer to function as: a receiving unit configured to receive a change request of an access point serving as a connection destination from a connected first access point; and a control unit configured to control to execute connection destination change processing based on the change request when the electronic device is in the first mode among a first mode and a second mode, in which the clock frequency of the at least one processor is lower than that in the first mode, and When the electronic device is in the second mode, control is performed so as not to execute connection destination change processing based on the change request.

22. A computer program product configured to cause a computer to: a receiving unit configured to receive a change request of an access point serving as a connection destination from a connected first access point; and a control unit configured to control to execute connection destination change processing based on the change request when the electronic device is in the first mode among a first mode and a second mode, in which the clock frequency of the at least one processor is lower than that in the first mode, and When the electronic device is in the second mode, control is performed so as not to execute connection destination change processing based on the change request.