CN-116055645-B - Device control method, device, electronic device and computer readable storage medium
Abstract
The invention discloses a device control method, a device, an electronic device and a computer readable storage medium. The equipment control method comprises the steps of judging whether equipment is in a target network state according to the current network condition, wherein the target network state is a network configured state or a network opened state, and when the equipment is in the target network state, the equipment is in a first target energy-saving mode, and the equipment keeps network functions available in the first target energy-saving mode. According to the invention, in the sleep state of the equipment, the available state of the network in the energy-saving state is determined by judging whether the network is configured or opened, so that the power consumption is further reduced, and the user experience is balanced while the energy consumption of the equipment is reduced.
Inventors
- MA LONGWEI
- JIANG YONGJIU
Assignees
- 北京奔图信息技术有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20221229
Claims (8)
- 1. A method for controlling energy saving of an apparatus, the apparatus being an image forming apparatus, characterized in that the method comprises, The device detects the current network condition; Judging whether the equipment is in a target network state according to the current network condition of the equipment, wherein the target network state is a network configured state or a network function opened state; When the device is in a target network state of a network configured state, judging whether the current network function of the device is started, and when the device is not started, starting the network function to enable the device to be in a first target energy-saving mode, wherein the device keeps the network function available in the first target energy-saving mode; When the equipment is not in the target network state, the equipment is in a second target energy-saving mode, and the network function of the equipment is not available in the second target energy-saving mode; when the network function of the equipment is started, the equipment can only enter a first target energy-saving mode and cannot enter a second target energy-saving mode; the first target energy-saving mode and the second target energy-saving mode are leisure states waiting to be awakened.
- 2. The device power saving control method according to claim 1, wherein the target network state is a network configured state, when the device is not in the network configured state, it is detected whether a current device network function is turned on, and when it is turned on, the network function is turned off, and the device is placed in a third target power saving mode.
- 3. The device power saving control method according to claim 1, wherein the target network state is a network configured state, and when a wake-up signal is received in the second target power saving mode, a network function of the device is turned on.
- 4. The apparatus power saving control method according to claim 1, wherein the apparatus panel, the scan module, the print module, and the SOC IP module are turned off in the first target power saving mode; and closing the main controller of the equipment in the second target energy-saving mode, and starting a low-power consumption awakening function through the auxiliary controller.
- 5. The method for controlling power saving of a device according to any one of claims 1 to 4, wherein before determining whether the device is in the target network state according to the current network condition of the device, the method comprises: Judging whether the equipment meets the dormancy condition, and entering a dormancy mode when the equipment meets the dormancy condition, so that the equipment judges whether the equipment is in a target network state according to the current network state in the dormancy mode.
- 6. An apparatus energy saving control device, the apparatus being an image forming apparatus, comprising, The target network state judging module is used for judging whether the equipment is in a target network state according to the current network state after the equipment detects the current network state, wherein the target network state is a network configured state or a network opened state; The energy-saving mode setting module is used for judging whether the current network function of the equipment is started when the equipment is in a target network state with configured network, and starting the network function when the equipment is not started, so that the equipment is in a first target energy-saving mode, and the equipment keeps the network function available in the first target energy-saving mode; When the equipment is not in the target network state, the equipment is in a second target energy-saving mode, and the network function of the equipment is not available in the second target energy-saving mode; when the network function of the equipment is started, only the first target energy-saving mode can be entered, but the second target energy-saving mode cannot be entered; the first target energy-saving mode and the second target energy-saving mode are leisure states waiting to be awakened.
- 7. An electronic device comprising a processor and at least one memory communicatively coupled to the processor, wherein the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the device power conservation control method of any of claims 1-5.
- 8. A computer-readable storage medium storing computer instructions that cause the computer to perform the apparatus power saving control method according to any one of claims 1 to 5.
Description
Device control method, device, electronic device and computer readable storage medium Technical Field The present application relates to the field of printers, and in particular, to a device control method, a device, an electronic device, and a computer readable storage medium. Background There are many strategies for reducing power consumption in devices, such as printers, which tend to default off certain functions at specific times, sacrificing user experience, and thus it is often difficult for devices to strike a balance between power saving and user experience. In the related art, in order to reduce energy consumption, most functions of the printer are generally turned off directly when the printer is in an idle state, and when a user wants to activate some functions, such as a printing function, the user needs to wake up the device first and then establish a communication connection, and in the process of waking up the device, the user needs to experience a period of waiting time, so that it is difficult to achieve the requirement of quick use of the user in this way. Disclosure of Invention In order to solve the technical problems and reduce energy consumption, the invention provides a device control method, a device, an electronic device and a computer readable storage medium. According to a first aspect, an embodiment of the present invention provides a device control method, the method including, Judging whether the equipment is in a target network state according to the current network condition, wherein the target network state is a network configured state or a network opened state; and when the equipment is in the target network state, the equipment is in a first target energy-saving mode, and the equipment keeps network functions available in the first target energy-saving mode. In some embodiments, the method includes, when a device is not in the target network state, placing the device in a second target power saving mode in which the device network function is not available. In some embodiments, the target network state is a network configured state, when the device is not in the network configured state, it is detected whether the current device network is on, and when it is on, the network function is turned off, and the device is placed in a third target power saving mode. In some embodiments, the target network state is a network configured state, and when the device is in the target network state, the method includes: When the equipment is in a network configured state, judging whether the current network of the equipment is started; and when the power-saving mode is not started, starting the network, and enabling the equipment to be in a first target power-saving mode. In some embodiments, the target network state is a network configured state, and when in the second target power saving mode, a wake-up signal is received, the network of the device is turned on. In some embodiments, the device is an image forming device, and the device panel, scanning module, printing module, and SOC IP module are turned off in the first target energy-saving mode; and closing the main controller of the equipment in the second target energy-saving mode, and starting a low-power consumption awakening function through the auxiliary controller. In some embodiments, the determining whether the device is in the target network state according to the current network condition includes: Judging whether the equipment meets the dormancy condition, and entering a dormancy mode when the equipment meets the dormancy condition, so that the equipment judges whether the equipment is in a target network state according to the current network state in the dormancy mode. According to a second aspect, an embodiment of the present invention provides an apparatus control device, including, The target network state judging module is used for judging whether the equipment is in a target network state according to the current network state, wherein the target network state is a network configured state or a network opened state; and when the equipment is in the target network state, the equipment is in a first target energy-saving mode, and the equipment keeps network functions available in the first target energy-saving mode. According to a third aspect, an embodiment of the present invention provides an electronic device, including a processor, and at least one memory communicatively connected to the processor, where the memory stores program instructions executable by the processor, and the processor invokes the program instructions to execute the device control method according to the first aspect or any implementation manner of the first aspect. According to a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium storing computer instructions that cause the computer to execute the apparatus control method of the first aspect or any embodiment of the first aspect. According to t