Electronic device, and control method thereof
By stopping data acquisition and increasing the operating clock of the processing unit when load exceeds a threshold, the device maintains efficient operation and prevents errors, ensuring continued convenience.
Patent Information
- Application Number
- JP2023077894
- 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.
The device includes a network control unit that stops data acquisition when the processing unit's usage rate exceeds a threshold, and the main control unit increases the operating clock of the processing unit to manage data processing efficiently.
This approach prevents operation errors and maintains device convenience by managing data processing loads effectively.
Smart Images

Figure 2024162410000001_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 network control unit is configured to be able to acquire data from the wireless communication unit, and the main control unit is configured to be able to control an operation clock of a processing unit of the network control unit, and when a usage rate of the processing unit of the network control unit becomes higher than a predetermined usage rate, the network control unit stops acquiring data from the wireless communication unit, and the main control unit performs a process of increasing the operation clock of the processing unit of the network control unit after the network control unit stops acquiring the data.
[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 the network control unit acquires data from the wireless communication unit, if a usage rate of a processing unit of the network control unit becomes higher than a predetermined usage rate, the network control unit stops acquiring data from the wireless communication unit, and the main control unit performs a process of increasing the operating clock of the processing unit of the network control unit after the network control unit stops acquiring the data. [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 may control the operation clock of the processing unit 21 in response to a request from the network control unit 20. For example, when the load on the processing unit 21 increases while the processing unit 21 is set in a power saving mode, the network control unit 20 may request 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 driver 22, and an interface 23. 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 driver 22 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 a predetermined access point, such as a Wi-Fi (registered trademark) driver. The USB driver is a driver for implementing data communication according to the USB communication standard.
[0028] The interface 23 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 23 is, for example, a serial interface capable of high-speed serial transfer. For example, the interface 23 is an interface that complies with the USB communication standard.
[0029] 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 23 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.
[0030] 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.
[0031] 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.
[0032] In the electronic device according to the present embodiment, when the usage rate of the processing unit 21 of the network control unit 20 becomes higher than a predetermined usage rate, the network control unit 20 stops acquiring data from the wireless communication unit 30. In addition, the main control unit 10 is characterized in that after the network control unit 20 stops acquiring data, it performs processing to increase the operating clock of the processing unit 21 of the network control unit 20. Hereinafter, the operation of the electronic device according to the present embodiment will be described in detail with reference to the block diagram shown in FIG. 2 and the flowchart shown in FIG. 3.
[0033] 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.
[0034] Then, in step S2, the network control unit 20 acquires data from the wireless communication unit 30. The data acquired by the network control unit 20 from the wireless communication unit 30 is, for example, data used for printing by the printing unit 70 shown in FIG.
[0035] In step S1, the processing unit 21 of the network control unit 20 is set to a power saving mode with a low operating clock. Therefore, when the amount of data acquired by the network control unit 20 from the wireless communication unit 30 is large, the usage rate of the processing unit 21 becomes higher than a predetermined usage rate, and there is a risk that the processing unit 21 will not be able to process the data. In other words, the task for processing the data acquired from the wireless communication unit 30 will occupy the task executed by the processing unit 21 (processor), and an error may occur in the operation of the processing unit 21.
[0036] In this embodiment, when the usage rate of the processing unit 21 is higher than a predetermined usage rate (step S3 in FIG. 3: Yes), the network control unit 20 stops acquiring data from the wireless communication unit 30 (step S4). Here, the predetermined usage rate can be determined arbitrarily. For example, when the usage rate of the processing unit 21 is 100%, that is, when a task for processing the data acquired from the wireless communication unit 30 occupies a task executed by the processing unit 21, the network control unit 20 stops acquiring data from the wireless communication unit 30. For example, the network control unit 20 may stop acquiring data from the wireless communication unit 30 by controlling the interface 23. The network control unit 20 may also stop acquiring data from the wireless communication unit 30 by stopping USB interrupt processing.
[0037] On the other hand, if the usage rate of the processing unit 21 is not higher than the predetermined usage rate (step S3: No), the network control unit 20 continues to obtain data from the wireless communication unit 30 (step S2). That is, even if the processing unit 21 of the network control unit 20 is in the power saving mode, if the usage rate of the processing unit 21 is not higher than the predetermined usage rate, the network control unit 20 continues to obtain data from the wireless communication unit 30 while maintaining the power saving mode.
[0038] In addition, the electronic device of this embodiment is configured so that the interface 13 of the main control unit 10 does not stop operating even when the network control unit 20 controls the interface 23 to stop acquiring data from the wireless communication unit 30.
[0039] As described above, when the network control unit 20 is in the power saving mode and the usage rate of the processing unit 21 becomes higher than a predetermined usage rate due to an increase in the amount of data acquired from the wireless communication unit 30, the network control unit 20 stops acquiring data from the wireless communication unit 30 in step S4.
[0040] After that, in step S5, the clock control unit 12 of the main control unit 10 increases the operating clock of the processing unit 21 of the network control unit 20, and switches the operating mode of the processing unit 21 from the power saving mode to the normal mode, thereby improving the performance of the processing unit 21.
[0041] After the operating clock of the processing unit 21 becomes high, the network control unit 20 resumes acquiring data from the wireless communication unit 30 in step S6. Then, the processing unit 21 of the network control unit 20 performs a predetermined process on the data acquired from the wireless communication unit 30. When resuming the acquisition of data from the wireless communication unit 30, the data acquisition may be resumed from the middle, or the data may be acquired from the beginning.
[0042] 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.
[0043] That is, when the network control unit 20 acquires a large amount of data from the wireless communication unit 30 while the operating clock of the processing unit 21 of the network control unit 20 is low, 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 processing unit 21. For this reason, even if an attempt is made to execute a task for changing the clock of the processing unit 21, the task for changing the clock times out, and the clock of the processing unit 21 cannot be changed, resulting in an operation error.
[0044] In order to solve such a problem, in this embodiment, when the network control unit 20 acquires data from the wireless communication unit 30, if the usage rate of the processing unit 21 becomes higher than a predetermined usage rate, the network control unit 20 stops acquiring data from the wireless communication unit 30. In addition, after the network control unit 20 stops acquiring data, the main control unit 10 performs a process of increasing the operating clock of the processing unit 21 of the network control unit 20. Therefore, this embodiment can 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.
[0045] 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]
[0046] 1...electronic device, 10...main control unit, 11...processing unit, 12...clock control unit, 13...interface, 20...network control unit, 21...processing unit, 22...driver, 23...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 network control unit is configured to be able to acquire data from the wireless communication unit, the main control unit is configured to be able to control an operating clock of a processing unit of the network control unit, when a usage rate of the processing unit of the network control unit becomes higher than a predetermined usage rate, the network control unit stops acquiring data from the wireless communication unit, and the main control unit, after the network control unit stops acquiring the data, performs a process of increasing an 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 resumes 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 a usage rate of the processing unit becomes higher than a predetermined usage rate due to an increase in an amount of data acquired from the wireless communication unit in the power saving mode, the network control unit stops acquiring data from the wireless communication unit; the main control unit increases an operation clock of the processing unit of the network control unit, 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 network control unit is connected to the wireless communication unit via a first interface of a Universal Serial Bus (USB) communication standard; the network control unit controls the first interface to stop acquiring data from the wireless communication unit; 3. The electronic device according to claim 1 or 2.
5. the main control unit is provided with a second interface of a Universal Serial Bus (USB) communication standard; When the network control unit stops acquiring data from the wireless communication unit by controlling the first interface, the main control unit is configured not to stop the operation of the second interface.
5. The electronic device according to claim 4.
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 a usage rate of a processing unit of the network control unit becomes higher than a predetermined usage rate when the network control unit acquires data from the wireless communication unit, the network control unit stops acquiring data from the wireless communication unit; the main control unit performs a process of increasing an operating clock of the processing unit of the network control unit after the network control unit stops acquiring the data. A method for controlling electronic devices.
Citation Information
Patent Citations
Communication apparatus and control method therefor, and program
JP2018019146A
Cited By
Polymer resin recovery device
CN122029022A
Polymer resin recovery device
WO2025089375A1
