Electronic device, and control method thereof
The electronic device addresses operational issues by dynamically adjusting the processing unit's clock speed based on usage rate, ensuring efficient handling of large data transfers and preventing errors.
Patent Information
- Application Number
- JP2023077904
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-05-10
- Publication Date
- 2024-11-21
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Electronic devices receiving large amounts of data through wireless communication may operate improperly, reducing their convenience.
An electronic device with a main control unit and network control unit that adjusts the operating clock of a processing unit based on usage rate, increasing it when high usage is predicted to prevent errors and maintain performance.
Prevents operation errors and maintains device convenience by proactively adjusting the processing unit's clock speed to handle increased data loads effectively.
Smart Images

Figure 2024162417000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to an electronic device and a method for controlling an electronic device. [Background technology]
[0002] In recent years, with the development of wireless communication technology, electronic devices that perform predetermined processing using data acquired through wireless communication have become widespread. Patent Document 1 discloses a printing device that executes printing using data acquired through wireless communication. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2018-19146 A Summary of the Invention [Problem to be solved by the invention]
[0004] In electronic devices that obtain data through wireless communication, there are cases where the electronic device does not operate normally when a large amount of data is received, resulting in a problem of reduced convenience of the electronic device. [Means for solving the problem]
[0005] According to one aspect of the present invention, an electronic device includes a main control unit for controlling an electronic device, a network control unit connected to the main control unit, and a wireless communication unit connected to the network control unit. The main control unit is configured to be able to control an operating clock of a processing unit of the network control unit, the network control unit has a determination unit that determines that a usage rate of the processing unit will increase, and when the determination unit of the network control unit determines that a usage rate of the processing unit will increase, the main control unit performs a process of increasing the operating clock of the processing unit of the network control unit.
[0006] A control method for an electronic device according to one embodiment of the present invention is a control method for an electronic device comprising a main control unit for controlling the electronic device, a network control unit connected to the main control unit, and a wireless communication unit connected to the network control unit, wherein when a determination unit of the network control unit determines that the usage rate of a processing unit of the network control unit will increase, the main control unit performs a process of increasing the operating clock of the processing unit of the network control unit. [Brief description of the drawings]
[0007] [Figure 1] FIG. 1 is a block diagram showing a configuration example of an electronic device according to an embodiment. [Diagram 2] FIG. 2 is a block diagram for explaining details of an electronic device according to an embodiment. [Diagram 3] 1 is a flowchart illustrating a control method for an electronic device according to an embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0008] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a configuration example of an electronic device according to an embodiment. FIG. 1 shows a configuration example in the case where the electronic device is a printer. Note that in the present embodiment, the electronic device may be a device other than a printer. For example, the electronic device may be a scanner, a facsimile machine, a copier, or a multifunction device. In addition, the electronic device may be a projector, a wearable device, a biometric information measuring device, a robot, a video device, a mobile information terminal, a physical quantity measuring device, or the like.
[0009] 1, the electronic device 1 includes a control unit 100, a wireless communication unit 30, a display unit 50, an operation unit 60, a printing unit 70, and a storage unit 80. The electronic device 1 is also configured to allow an external device 40 to be connected thereto.
[0010] The control unit 100 controls each unit of the electronic device 1. Specifically, the electronic device 1 controls each unit of the electronic device 1 including the wireless communication unit 30, the display unit 50, the operation unit 60, the printing unit 70, and the storage unit 80. The control unit 100 can be configured using, for example, a processor or a controller. For example, the control unit 100 includes multiple CPUs such as a main CPU and a sub-CPU. The main CPU controls each unit of the electronic device 1 and performs overall control. The sub-CPU is, for example, a CPU that performs communication control of the wireless communication unit 30. Furthermore, when the electronic device 1 is a printer, a CPU that performs various processes related to printing may be further provided.
[0011] In this embodiment, the control unit 100 can be configured by the following hardware. The hardware can include at least one of a circuit for processing digital signals and a circuit for processing analog signals. For example, the hardware can be configured by one or more circuit devices and one or more circuit elements mounted on a circuit board. The circuit device is, for example, an integrated circuit device. The circuit elements are, for example, resistors, capacitors, etc.
[0012] The control unit 100 can be realized by the following processor. For example, the control unit 100 includes a memory that stores information and a processor that operates based on the information stored in the memory. The information is, for example, a program and various data. The processor includes hardware. The processor can be various processors such as a central processing unit (CPU), a graphics processing unit (GPU), and a digital signal processor (DSP). The memory may be a semiconductor memory such as a static random access memory (SRAM) or a dynamic random access memory (DRAM), a register, a magnetic storage device such as a hard disk device, or an optical storage device such as an optical disk device. For example, the memory stores computer-readable instructions, and the function of the control unit 100 is realized as a process by the processor executing the instructions. The instructions here may be instructions of an instruction set constituting a program, or instructions that instruct the hardware circuit of the processor to operate.
[0013] The wireless communication unit 30 performs wireless communication conforming to, for example, a predetermined wireless communication standard. For example, the wireless communication unit 30 performs wireless communication conforming to a predetermined wireless LAN standard. Specifically, the wireless communication unit 30 performs wireless communication conforming to the Wi-Fi (registered trademark) standard, which is one of the wireless LAN standards. For example, the wireless communication unit 30 is realized by a wireless communication module. The wireless communication module includes at least one IC (Integrated Circuit). For example, the wireless communication module includes a wireless communication IC as at least one IC. The wireless communication module may also include an interface or memory IC in addition to the wireless communication IC. The wireless communication module may also have a wireless communication IC conforming to a standard other than the wireless LAN standard as the wireless communication IC. For example, the wireless communication module may include a wireless communication IC conforming to a short-range wireless communication standard such as Bluetooth (registered trademark). Specifically, the wireless communication module may include a wireless communication IC conforming to the BLE (Bluetooth Low Energy) standard. Alternatively, the wireless LAN and short-range wireless communication may be realized by a single-chip wireless communication IC.
[0014] The display unit 50 is configured with a display that displays various information to the user, etc. The operation unit 60 is configured with buttons that accept input operations from the user, etc. The display unit 50 and the operation unit 60 may be integrated into one unit, for example, a touch panel.
[0015] The printing unit 70 includes a print engine. The print engine is a mechanical configuration that executes printing of an image on a print medium. The print engine includes, for example, a transport mechanism, an inkjet type ejection head, and a driving mechanism for a carriage including the ejection head. The print engine prints an image on the print medium by ejecting ink from the ejection head onto the print medium transported by the transport mechanism. The print medium may be paper, cloth, or another medium. Note that the specific configuration of the print engine is not limited to the one exemplified here, and it may be one that prints with toner using an electrophotographic method.
[0016] The storage unit 80 stores various types of information such as data and programs. The control unit 100 and the wireless communication unit 30 operate, for example, using the storage unit 80 as a work area. The storage unit 80 may be a semiconductor memory such as an SRAM or a DRAM, a register, a magnetic storage device, or an optical storage device.
[0017] The electronic device 1 is configured to be capable of wireless communication with a predetermined information processing device via an access point. The wireless communication here is communication by wireless LAN, for example, communication using the Wi-Fi (registered trademark) system. The electronic device 1 acquires data from the predetermined information processing device via the access point. The storage unit 80 may store the data acquired from the information processing device. The data here is, for example, data used for printing by the printing unit 70.
[0018] The electronic device 1 is configured to be connectable to an external device 40. Here, the external device 40 is an information processing device, a USB memory, or other external device. Note that these are merely examples, and in this embodiment, an external device other than these may be connected as the external device 40.
[0019] FIG. 2 is a block diagram for explaining details of the electronic device according to the present embodiment, and is a block diagram showing a specific example of the configuration of the control unit 100 and the wireless communication unit 30 in the electronic device 1 shown in FIG.
[0020] As shown in Fig. 2, the control unit 100 includes a main control unit 10 and a network control unit 20. The main control unit 10 is a control unit for controlling each unit of the electronic device 1 and for overall control, and corresponds to a processor including the main CPU described above. The network control unit 20 is connected to the main control unit 10 and the wireless communication unit 30. The network control unit 20 is a control unit for performing network control, and corresponds to a processor including the sub CPU described above. Note that in this embodiment, the control unit 100 may further include processors other than these.
[0021] The main control unit 10 includes a processing unit 11, a clock control unit 12, and an interface 13. The processing unit 11 is a processor, and controls each unit of the electronic device 1 and performs overall control by executing a predetermined program in the processing unit 11.
[0022] The clock control unit 12 controls the operation clock of the processing unit 21 of the network control unit 20. For example, the clock control unit 12 can be set to a normal mode in which the operation clock of the processing unit 21 of the network control unit 20 is in a normal state, and a power saving mode in which the operation clock is lower than that in the normal mode.
[0023] For example, the clock control unit 12 may control the operation clock of the processing unit 21 according to the load state of the processing unit 21 of the network control unit 20. Specifically, when the load state of the processing unit 21 is low, the clock control unit 12 may lower the operation clock of the processing unit 21 and set it to the power saving mode. Also, when the load state of the processing unit 21 is high, the clock control unit 12 may increase the operation clock of the processing unit 21 and set it to the normal mode. Note that the criterion for the load state of the processing unit 21 for switching to the power saving mode can be determined arbitrarily. Also, in this embodiment, the clock control unit 12 may be configured to be able to set the operation clock of the processing unit 21 to a high processing mode having an operation clock even higher than that of the normal mode.
[0024] The clock control unit 12 controls the operation clock of the processing unit 21 in response to a request from the network control unit 20. For example, when the determination unit 22 of the network control unit 20 determines that the usage rate of the processing unit 21 will increase, the clock control unit 12 performs processing to increase the operation clock of the processing unit 21 of the network control unit 20. Specifically, when the determination unit 22 of the network control unit 20 determines that the usage rate of the processing unit 21 will increase, the network control unit 20 requests the clock control unit 12 of the main control unit 10 to increase the operation clock of the processing unit 21. When such a request is received from the network control unit 20, the clock control unit 12 outputs an instruction to the network control unit 20 to increase the operation clock of the processing unit 21.
[0025] The interface 13 is an interface for performing wired communication with the external device 40. The interface 13 is, for example, a serial interface capable of high-speed serial transfer. For example, the interface 13 is an interface that complies with the USB (Universal Serial Bus) communication standard.
[0026] The network control unit 20 includes a processing unit 21, a determination unit 22, a driver 23, and an interface 24. The processing unit 21 is a processor, and executes a predetermined program to perform various network controls. The network control unit 20 is also configured to be able to acquire data from the wireless communication unit 30. The processing unit 21 performs a predetermined process on the data acquired from the wireless communication unit 30. For example, when the processing unit 21 acquires print data from the wireless communication unit 30, it performs a predetermined process on the print data and converts it into data to be used by the printer.
[0027] The determination unit 22 determines that the usage rate of the processing unit 21 will increase. For example, when the determination unit 22 determines that the usage rate of the processing unit 21 will increase while the processing unit 21 is in the power saving mode, the determination unit 22 outputs a switching request to the main control unit 10 to switch the operation mode of the processing unit 21 from the power saving mode to the normal mode. In this case, in response to the switching request from the determination unit 22, the main control unit 10 increases the operation clock of the processing unit 21 to switch the operation mode of the processing unit 21 from the power saving mode to the normal mode. Then, the network control unit 20 starts acquiring data from the wireless communication unit 30 after the operation clock of the processing unit 21 has increased.
[0028] For example, the determination unit 22 may determine that the usage rate of the processing unit 21 will be high when the wireless communication unit 30 is wirelessly connected to another device. Specifically, the determination unit 22 may determine that the usage rate of the processing unit 21 will be high when the wireless communication unit 30 establishes wireless communication with another device that complies with the Wi-Fi (registered trademark) standard. Here, the other device is an access point or the like, which is a device to which the electronic device 1 according to the present embodiment is wirelessly connected.
[0029] When the wireless communication unit 30 establishes wireless communication with an access point, there is a possibility that the network control unit 20 acquires print data from the access point via the wireless communication unit 30. Here, since the print data has a large data size, it is predicted that the usage rate of the processing unit 21 that processes the data will be high. Therefore, the determination unit 22 can determine that the usage rate of the processing unit 21 will be high in such a case.
[0030] Also, for example, the determination unit 22 may determine that the usage rate of the processing unit 21 is high when the wireless communication unit 30 performs a scan for wireless connection with another device. For example, when the wireless communication unit 30 of the electronic device 1 wirelessly connects to another device present in the vicinity of the electronic device 1, the wireless communication unit 30 performs a scan to check the access points of the other device present in the vicinity of the electronic device 1. Then, the network control unit 20 lists the access point names of the other devices present in the vicinity of the electronic device 1 based on the result of the scan. For example, the network control unit 20 creates an SSID (Service Set Identifier) list for identifying the access points of the other devices based on the result of the scan. The user selects the access point of the other device to be connected to the electronic device 1 from the access points of the other devices listed. As a result, the wireless communication unit 30 of the electronic device 1 and the other device are wirelessly connected to each other and wireless communication is established.
[0031] The determination unit 22 may determine that the usage rate of the processing unit 21 will be high when the wireless communication unit 30 performs a scan to check for other devices in this manner. In other words, when the wireless communication unit 30 performs a scan, it is predicted that wireless communication will be established between the wireless communication unit 30 and the other device. In this case, the network control unit 20 may obtain print data from the other device via the wireless communication unit 30. Here, since the print data has a large data size, it is predicted that the usage rate of the processing unit 21 that processes the data will be high. Therefore, the determination unit 22 can determine that the usage rate of the processing unit 21 will be high in such a case.
[0032] The driver 23 is a driver such as a network driver or a USB driver. The network driver is a driver necessary for the wireless communication unit 30 to establish wireless communication with other devices, such as a Wi-Fi (registered trademark) driver. The driver 23 also performs scanning for wireless connection with the other devices described above. The USB driver is a driver for implementing data communication according to the USB communication standard.
[0033] The interface 24 is an interface for performing wired communication between internal devices of the electronic device 1, that is, with the interface 32 of the wireless communication unit 30. The interface 24 is, for example, a serial interface capable of high-speed serial transfer. For example, the interface 24 is an interface that complies with the USB communication standard.
[0034] The wireless communication unit 30 includes a wireless communication IC (31) and an interface 32. The wireless communication IC (31) is a wireless communication module for performing wireless communication conforming to a predetermined wireless LAN standard, for example, wireless communication conforming to the Wi-Fi (registered trademark) standard. The interface 32 is an interface for performing wired communication with the interface 24 of the network control unit 20. The interface 32 is an interface conforming to the USB communication standard. In other words, the network control unit 20 and the wireless communication unit 30 are connected by wire according to the USB communication standard.
[0035] In this embodiment, the main control unit 10 and the network control unit 20 may be mounted on the same semiconductor chip. In other words, the control unit 100 may be configured as a SoC (System-on-a-chip). In this case, the wireless communication unit 30 may be mounted on a wireless chip different from the semiconductor chip of the control unit 100.
[0036] In this embodiment, the main control unit 10 and the network control unit 20 may be configured to operate on different operating systems (OS). As an example, the main control unit 10 may use a real-time operating system (RTOS) as its OS, and the network control unit 20 may use LINUX (registered trademark). The main control unit 10 and the network control unit 20 may use other OSs. The main control unit 10 and the network control unit 20 may use the same OS as their OSs.
[0037] The electronic device according to this embodiment is characterized in that, when the determining unit 22 of the network control unit 20 determines that the usage rate of the processing unit 21 will become high, the main control unit 10 performs processing to increase the operating clock of the processing unit 21 of the network control unit 20. The operation of the electronic device according to this embodiment will be described in detail below with reference to the block diagram shown in FIG. 2 and the flowchart shown in FIG. 3.
[0038] In step S1 shown in Fig. 3, when the load state of the processing unit 21 of the network control unit 20 is low, the clock control unit 12 of the main control unit 10 shown in Fig. 2 lowers the operation clock of the processing unit 21 and sets it to the power saving mode. For example, when the load of the processing unit 21 becomes low, the network control unit 20 requests the clock control unit 12 of the main control unit 10 to lower the operation clock of the processing unit 21 and set it to the power saving mode. When the clock control unit 12 receives this request, it outputs an instruction to the network control unit 20 to lower the operation clock of the processing unit 21 and set it to the power saving mode. As a result, the operation clock of the processing unit 21 of the network control unit 20 transitions to the low clock.
[0039] After that, in step S2, the determination unit 22 of the network control unit 20 determines whether or not the usage rate of the processing unit 21 will increase. For example, the determination unit 22 may determine that the usage rate of the processing unit 21 will increase when the wireless communication unit 30 wirelessly connects to another device. Also, for example, the determination unit 22 may determine that the usage rate of the processing unit 21 will increase when the wireless communication unit 30 performs a scan for wirelessly connecting to another device.
[0040] When the determination unit 22 determines that the usage rate of the processing unit 21 will become high while the processing unit 21 is in the power saving mode (step S3: Yes), it outputs a switching request to switch the operation mode of the processing unit 21 from the power saving mode to the normal mode to the main control unit 10. In this case, in response to the switching request from the determination unit 22, the main control unit 10 increases the operating clock of the processing unit 21 to switch the operation mode of the processing unit 21 from the power saving mode to the normal mode (step S4).
[0041] Thereafter, after the wireless communication unit 30 establishes a wireless connection with another device, the network control unit 20 starts acquiring data from the wireless communication unit 30 (step S5). That is, in this embodiment, the network control unit 20 starts acquiring data from the wireless communication unit 30 after increasing the operating clock of the processing unit 21 in step S4.
[0042] When the determining unit 22 determines that the usage rate of the processing unit 21 will not increase (step S3: No), the determining unit 22 repeats the operations of steps S2 and S3.
[0043] In the electronic device according to the present embodiment, by performing the operations described above, it is possible to prevent errors from occurring in the operation of the processing unit 21. This makes it possible to prevent the convenience of the electronic device from decreasing.
[0044] That is, when the network control unit 20 acquires a large amount of data from the wireless communication unit 30 in a state where the operating clock of the processing unit 21 of the network control unit 20 is low, that is, in a power saving mode, the usage rate of the processing unit 21 increases, and an error may occur in the operation of the processing unit 21. That is, since the task for processing the data acquired from the wireless communication unit 30 is a high-priority task, when the amount of data acquired from the wireless communication unit 30 increases, the task for processing the data acquired from the wireless communication unit 30 occupies the task of the processing unit 21. For this reason, even if the network control unit 20 attempts to execute a task for increasing the clock of the processing unit 21 after starting to acquire data from the wireless communication unit 30, the task for changing the clock may time out, and the clock of the processing unit 21 may not be changed, resulting in an operation error.
[0045] In order to solve such a problem, in this embodiment, when the determination unit 22 of the network control unit 20 determines that the usage rate of the processing unit 21 will increase, the main control unit 10 performs processing to increase the operating clock of the processing unit 21 of the network control unit 20. That is, in this embodiment, the determination unit 22 of the network control unit 20 predicts that the usage rate of the processing unit 21 will increase depending on the state of the wireless communication unit 30. Then, when the determination unit 22 of the network control unit 20 predicts that the usage rate of the processing unit 21 will increase, the main control unit 10 performs processing to increase the operating clock of the processing unit 21 of the network control unit 20.
[0046] In this manner, in the present embodiment, the operating clock of the processing unit 21 of the network control unit 20 is increased in advance before the network control unit 20 acquires data from the wireless communication unit 30, so that it is possible to suppress the occurrence of errors in the operation of the processing unit 21 due to an increase in the amount of data acquired from the wireless communication unit 30. Therefore, it is possible to suppress a decrease in the convenience of the electronic device.
[0047] While the present invention has been described above in accordance with the above-described embodiment, the present invention is not limited to the configuration of the above-described embodiment, and naturally includes various modifications, alterations, and combinations that may be made by a person skilled in the art within the scope of the invention as defined in the claims of the present application. [Explanation of symbols]
[0048] 1...electronic device, 10...main control unit, 11...processing unit, 12...clock control unit, 13...interface, 20...network control unit, 21...processing unit, 22...determination unit, 23...driver, 24...interface, 30...wireless communication unit, 31...wireless communication IC, 32...interface, 40...external device, 50...display unit, 60...operation unit, 70...printing unit, 80...storage unit, 100...control unit
Claims
1. A main control unit for controlling the electronic device; a network control unit connected to the main control unit; a wireless communication unit connected to the network control unit, the main control unit is configured to be able to control an operating clock of a processing unit of the network control unit, the network control unit has a determination unit that determines when a usage rate of the processing unit becomes high, When the determination unit of the network control unit determines that the usage rate of the processing unit will become high, the main control unit performs a process of increasing the operating clock of the processing unit of the network control unit. electronic equipment.
2. The electronic device according to claim 1 , wherein the network control unit starts acquiring data from the wireless communication unit after an operating clock of the processing unit becomes high.
3. the main control unit can be set to a normal mode in which an operating clock of the processing unit of the network control unit is in a normal state, and a power saving mode in which an operating clock is lower than that of the normal mode; when the determination unit determines that the usage rate of the processing unit will be high in the power saving mode, the determination unit outputs a switching request to the main control unit to switch the operation mode of the processing unit from the power saving mode to the normal mode; the main control unit increases an operation clock of the processing unit in response to the switching request, and switches the operation mode of the processing unit from the power saving mode to the normal mode.
3. The electronic device according to claim 1 or 2.
4. The electronic device according to claim 1 , wherein the determining unit of the network control unit determines that a usage rate of the processing unit will be high when the wireless communication unit is wirelessly connected to another device.
5. The electronic device according to claim 1 , wherein the determination unit of the network control unit determines that the usage rate of the processing unit will be high when the wireless communication unit performs a scan for wireless connection to another device.
6. the main control unit and the network control unit are mounted on the same semiconductor chip, The wireless communication unit is mounted on a wireless chip different from the semiconductor chip.
3. The electronic device according to claim 1 or 2.
7. 3. The electronic device according to claim 1, wherein the main control unit and the network control unit operate under different operation systems.
8. A main control unit for controlling the electronic device; a network control unit connected to the main control unit; A method for controlling an electronic device including a wireless communication unit connected to the network control unit, When the determination unit of the network control unit determines that the usage rate of the processing unit of the network control unit is going to increase, the main control unit performs a process of increasing the operating clock of the processing unit of the network control unit. A method for controlling electronic devices.
Citation Information
Patent Citations
Communication apparatus and control method therefor, and program
JP2018019146A
