Equipment control methods, devices, electronic equipment and storage media

By acquiring the input current signal parameters of the PFC circuit, the system controls the operation or shutdown of the equipment, solving the problem of equipment damage caused by direct shutdown of the PFC circuit, extending equipment life, and improving user experience.

CN116388547BActive Publication Date: 2026-05-26XIAOMI TECH (WUHAN) CO LTD +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
XIAOMI TECH (WUHAN) CO LTD
Filing Date
2022-12-30
Publication Date
2026-05-26

AI Technical Summary

Technical Problem

In existing technologies, PFC circuits directly shut down the device when the current reaches the protection value, which can damage the equipment, shorten its lifespan, and negatively impact the user experience.

Method used

By acquiring the input current signal of the PFC circuit, and based on signal parameters such as duration or frequency, the system controls the operation or shutdown of the equipment, avoiding direct shutdown and protecting the equipment.

Benefits of technology

It extends the lifespan of the equipment, improves the user experience, and reduces equipment wear and tear.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116388547B_ABST
    Figure CN116388547B_ABST
Patent Text Reader

Abstract

This disclosure relates to a control method, apparatus, electronic device, and storage medium for a device. When the electronic device is running, the method acquires the input current signal of the PFC circuit within the electronic device. When the input current signal is greater than or equal to a first preset current threshold and less than a preset current protection value, the method acquires signal parameters corresponding to the input current signal. These signal parameters include a first duration or a first count. Based on these signal parameters, the method controls the electronic device. This disclosure controls the operation or shutdown of the electronic device using the signal parameters corresponding to the input current signal, avoiding the damage caused to the electronic device by directly shutting down when the input current signal reaches the preset current protection value, extending the device's lifespan, and improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of power electronics technology, and in particular to a control method, apparatus, electronic device, and storage medium for a device. Background Technology

[0002] In related technologies, PFC (Power Factor Correction) circuits are used to improve the energy efficiency of equipment. In equipment controlled by PFC circuits, a current protection value is set. When the current in the circuit reaches this protection value, the equipment is directly shut down, thereby protecting the equipment's safe and stable operation. However, directly shutting down the equipment can easily cause damage, shorten its lifespan, and affect the user experience. Summary of the Invention

[0003] To overcome the problems existing in the related technologies, this disclosure provides a control method, apparatus, electronic device and storage medium for a device.

[0004] According to a first aspect of the present disclosure, a method for controlling a device is provided, applied to an electronic device, the electronic device including a PFC circuit, the method comprising:

[0005] When the electronic device is operating, the input current signal of the PFC circuit is acquired;

[0006] When the input current signal is greater than or equal to a first preset current threshold and less than a preset current protection value, the signal parameters corresponding to the input current signal are obtained; the signal parameters include a first duration or a first count; the first duration is the duration during which the input current signal is greater than or equal to the first preset current threshold and less than the preset current protection value; the first count is the number of times the input current signal is greater than or equal to the first preset current threshold and less than the preset current protection value within a first preset historical time period;

[0007] The electronic device is controlled based on the signal parameters.

[0008] Optionally, the signal parameters include a first duration; controlling the electronic device based on the signal parameters includes:

[0009] If the first duration is less than a first preset time period, the PFC circuit is controlled to turn off.

[0010] Optionally, the method further includes:

[0011] If the first duration is greater than or equal to the first preset time period, the electronic device is controlled to stop.

[0012] Optionally, the signal parameters include a first number; controlling the electronic device based on the signal parameters further includes:

[0013] If the first number of times is greater than or equal to a first preset number of times threshold, the electronic device is controlled to stop.

[0014] Optionally, the method further includes:

[0015] If the input current signal is greater than or equal to the preset current protection value, the PFC circuit is controlled to shut down.

[0016] Determine a second duration for which the PFC circuit is turned off;

[0017] When the second duration is greater than or equal to the second preset time period, the PFC circuit is controlled to be turned on.

[0018] Optionally, the method includes:

[0019] Determine the second number of times the PFC circuit is turned off within a second preset historical time period;

[0020] If the second number of times is greater than or equal to the second preset number of times threshold, the electronic device is controlled to stop.

[0021] Optionally, the method further includes:

[0022] When the input current signal is greater than or equal to the second preset current threshold and less than the first preset current threshold, the PFC circuit is controlled to turn off; the second preset current threshold is less than the first preset current threshold.

[0023] Optionally, the method further includes:

[0024] When the input current signal is less than the second preset current threshold, the PFC circuit is controlled to turn on.

[0025] Optionally, the method further includes:

[0026] If the input current signal is greater than or equal to the preset current protection value, the electronic device is controlled to shut down.

[0027] According to a second aspect of the present disclosure, a device control apparatus is provided to execute the device control method provided in the first aspect, the apparatus comprising:

[0028] The first acquisition module is configured to: acquire the input current signal of the PFC circuit in the electronic device when the electronic device is in operation;

[0029] The second acquisition module is configured to: acquire signal parameters corresponding to the input current signal when the input current signal is greater than or equal to a first preset current threshold and less than a preset current protection value; the signal parameters include a first duration or a first count; the first duration is the duration during which the input current signal is greater than or equal to the first preset current threshold and less than the preset current protection value; the first count is the number of times the input current signal is greater than or equal to the first preset current threshold and less than the preset current protection value within a first preset historical time period;

[0030] The control module is configured to control the electronic device according to the signal parameters.

[0031] Optionally, the signal parameters include a first duration; the device further includes:

[0032] The first control module is configured to control the PFC circuit to shut down when the first duration is less than a first preset time period.

[0033] Optionally, the device further includes:

[0034] The second control module is configured to control the electronic device to stop when the first duration is greater than or equal to the first preset time period.

[0035] Optionally, the signal parameters include a first number; the device further includes:

[0036] The third control module is configured to control the electronic device to stop when the first number of times is greater than or equal to a first preset number of times threshold.

[0037] Optionally, the device further includes:

[0038] The fourth control module is configured to: control the PFC circuit to turn off when the input current signal is greater than or equal to the preset current protection value; determine a second duration for the PFC circuit to turn off; and control the PFC circuit to turn on when the second duration is greater than or equal to a second preset time period.

[0039] Optionally, the device further includes:

[0040] The fifth control module is configured to: determine the second number of times the PFC circuit is turned off within a second preset historical time period; and control the electronic device to shut down if the second number is greater than or equal to a second preset number threshold.

[0041] Optionally, the device further includes:

[0042] The sixth control module is configured to: control the PFC circuit to shut down when the input current signal is greater than or equal to a second preset current threshold and less than a first preset current threshold; the second preset current threshold is less than the first preset current threshold.

[0043] Optionally, the device further includes:

[0044] The seventh control module is configured to control the PFC circuit to turn on when the input current signal is less than the second preset current threshold.

[0045] Optionally, the device further includes:

[0046] The eighth control module is configured to control the electronic device to shut down when the input current signal is greater than or equal to the preset current protection value.

[0047] According to a third aspect of the present disclosure, an electronic device is provided that performs the control method of the device provided in the first aspect, comprising:

[0048] processor;

[0049] Memory used to store processor-executable instructions;

[0050] The processor is configured to: acquire an input current signal of the PFC circuit in the electronic device while the electronic device is running; acquire signal parameters corresponding to the input current signal when the input current signal is greater than or equal to a first preset current threshold and less than a preset current protection value; the signal parameters include a first duration or a first count; the first duration is the duration during which the input current signal is greater than or equal to the first preset current threshold and less than the preset current protection value; the first count is the number of times the input current signal is greater than or equal to the first preset current threshold and less than the preset current protection value within a first preset historical time period; and control the electronic device according to the signal parameters.

[0051] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided that stores computer program instructions thereon, which, when executed by a processor, implement the steps of the control method for the device provided in the first aspect of the present disclosure.

[0052] The technical solutions provided by the embodiments of this disclosure can include the following beneficial effects: by controlling the operation or shutdown of the electronic device through the signal parameters corresponding to the input current signal, the damage caused to the electronic device by directly shutting down when the input current signal reaches the preset current protection value is avoided, the service life of the device is extended, and the user experience is improved.

[0053] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0054] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.

[0055] Figure 1 This is a flowchart illustrating a control method for a device according to an exemplary embodiment.

[0056] Figure 2 This is a schematic diagram illustrating a control method for a device according to an exemplary embodiment.

[0057] Figure 3 This is a structural block diagram of a control device for an apparatus according to an exemplary embodiment.

[0058] Figure 4 This is a structural block diagram of an electronic device according to an exemplary embodiment.

[0059] Figure 5 This is a structural block diagram of another electronic device according to an exemplary embodiment. Detailed Implementation

[0060] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.

[0061] First, the application scenario of this disclosure is introduced. This disclosure is applied to a scenario where the device is shut down when the input current in the PFC circuit is too high. In related technologies, the PFC circuit is used to improve the energy efficiency of the device. When the input current in the PFC circuit is too high and reaches the preset current protection value, the PFC circuit is shut down by turning off the drive signal of the IGBT (Insulated Gate Bipolar Transistor) in the PFC circuit, thereby controlling the device to shut down. Since there may be multiple instances of instantaneous excessive current in the circuit within a certain period of time, if the instantaneous current reaches the preset current protection value, it will cause the device to shut down repeatedly, causing damage to the device and thus affecting the user experience.

[0062] Therefore, this disclosure provides a control method, apparatus, electronic device, and storage medium for a device; by controlling the operation or shutdown of the electronic device through the signal parameters corresponding to the input current signal, the damage to the electronic device caused by directly shutting down when the input current signal reaches the preset current protection value is avoided, the service life of the device is extended, and the user experience is improved.

[0063] Figure 1 This is a flowchart illustrating a control method for a device according to an exemplary embodiment, such as... Figure 1 As shown, the method is applied to an electronic device, which includes a PFC circuit, and the method includes the following steps.

[0064] In step S101, while the electronic device is in operation, the input current signal of the PFC circuit is acquired.

[0065] The input current signal is obtained by filtering through a rectifier bridge.

[0066] In step S102, if the input current signal is greater than or equal to the first preset current threshold and less than the preset current protection value, the signal parameters corresponding to the input current signal are obtained.

[0067] The signal parameters include a first duration or a first count; the first duration is the duration during which the input current signal is greater than or equal to the first preset current threshold and less than the preset current protection value; the first count is the number of times the input current signal is greater than or equal to the first preset current threshold and less than the preset current protection value within a first preset historical time period.

[0068] For example, the preset current protection value can be I, which can be a value in the range of 27A-49A, such as 27A, 49A, or an intermediate value in the range, such as 38A; the first preset current threshold is slightly smaller than the preset current protection value and can be I1, which can be a value in the range of 25A-45A, such as 25A, 45A, or an intermediate value in the range, such as 35A.

[0069] In step S103, the electronic device is controlled according to the signal parameters.

[0070] The above technical solution allows the electronic device to be controlled to run or stop by using the signal parameters corresponding to the input current signal. This avoids the damage to the electronic device caused by directly stopping when the input current signal reaches the preset current protection value, extends the service life of the device, and improves the user experience.

[0071] In some embodiments, the signal parameter includes a first duration; based on this signal parameter, the electronic device can be controlled in the following ways: if the first duration is less than a first preset time period, the PFC circuit is controlled to shut down; if the first duration is greater than or equal to the first preset time period, the electronic device is controlled to stop. Thus, when the input current signal duration is short, the PFC control circuit is shut down instead of directly stopping the electronic device, protecting the device.

[0072] In other embodiments, the signal parameter includes a first count; based on this signal parameter, the electronic device can be controlled to shut down if the first count is greater than or equal to a first preset count threshold. For example, the first count is the number of times the input current signal is greater than or equal to the first preset current threshold and less than the preset current protection value within a first preset historical time period; for instance, the first count could be the first count within the historical time period or the third count within the historical time period; the first preset count threshold could be f... 1, The first preset number of times threshold f1 can be a value within the range of 4-8, such as 4 times, 8 times, or an intermediate value within this range, such as 5 times. The first preset number of times threshold f1 can be set according to user needs and is not limited here. In this way, if the input current signal is greater than or equal to the first preset current threshold and less than the preset current protection value a large number of times within the first preset historical time period, the electronic device will be controlled to shut down, thereby protecting the circuit.

[0073] It should be noted that if the initial count is less than the first preset count, the initial count for the input current signal to be greater than or equal to the first preset current threshold within the second preset time range is redefined. For example, if the initial count is less than the first preset count, the initial count can be reset to zero and the counting can begin again. This allows for a restart when the initial count is low, instead of directly shutting down the device, reducing wear and tear on the equipment and improving the user experience.

[0074] In some embodiments, if the input current signal is greater than or equal to the preset current protection value, the PFC circuit is controlled to turn off; a second duration for which the PFC circuit is turned off is determined; if the second duration is greater than or equal to a second preset time period, the PFC circuit is controlled to turn on. Next, a second number of times the PFC circuit is turned off within the second preset historical time period is determined; if the second number is greater than or equal to a second preset number threshold, the electronic device is controlled to shut down.

[0075] For example, the second preset time period can be t1, which can be a value in the range of 7ms-13ms, such as 7ms, or an intermediate value in this range, such as 10ms; the second historical time period can be t2, which can be a value in the range of 350ms-650ms, such as 350ms, or an intermediate value in this range, such as 500ms; the second preset number threshold can be f2, which can be a value in the range of 4-8, such as 4 times, or 8 times, or an intermediate value in this range, such as 6 times; the PFC circuit can be controlled to turn off when the input current signal is greater than or equal to the preset current protection value, and the PFC circuit can be controlled to turn on when the second duration of controlling the PFC circuit to turn off is greater than or equal to the second preset time period t1 (such as 10ms), and the electronic device is kept running during the above process. In this way, when the duration of the input current signal being greater than or equal to the preset current protection value is short, the on / off state of the PFC circuit is adjusted, and the electronic device is kept running, thereby improving the user experience.

[0076] Next, the number of times the PFC circuit shuts down within a second preset historical time period t2 (e.g., 500ms) is determined. If this second number is greater than or equal to a second preset number threshold f2 (e.g., 6 times), the electronic device is controlled to shut down. This allows the electronic device to shut down only when the second number is greater than or equal to the second preset number threshold, avoiding direct shutdown when the input current signal is greater than or equal to a preset current protection value, thus reducing equipment wear and tear.

[0077] In some embodiments, when the input current signal is greater than or equal to a second preset current threshold and less than a first preset current threshold, the PFC circuit is controlled to shut down; the second preset current threshold is less than the first preset current threshold. For example, the second preset current threshold is less than the first preset current threshold. The second preset current threshold can be I2, and the second preset current value I2 can be a value within the range of 17A-28A, such as 17A, 28A, or an intermediate value within that range, such as 24A. Thus, when the input current signal is between the second preset current threshold and the first preset current threshold, the PFC circuit is controlled to shut down, and the device is controlled to operate, avoiding the impact of multiple shutdowns on the user experience.

[0078] In some embodiments, if the input current signal is less than the second preset current threshold, the PFC circuit is controlled to turn on. For example, in this case, the input current signal is within a safe range, so the PFC circuit is controlled to turn on, and the device is kept running.

[0079] In some embodiments, when the input current signal is greater than or equal to the preset current protection value, the electronic device is controlled to shut down. For example, in this case, the input current signal is relatively large, so the electronic device is controlled to shut down to protect the device.

[0080] Figure 2 It is a schematic diagram of a control method for a device shown according to an exemplary embodiment. As Figure 2 shown, the abscissa is time t, the ordinate is the input current signal i, I is the preset current protection value, I1 is the first preset current threshold, I2 is the second preset current threshold, and I > I1 > I2.

[0081] 1. When i ≥ I, that is, the input current signal is greater than or equal to the preset current protection value, the device can be controlled in the following two ways:

[0082] Method 1: When the input current signal is greater than or equal to the preset current protection value, control the PFC circuit to turn off; determine the second duration when the PFC circuit is turned off; when the second duration is greater than or equal to the second preset time period, control the PFC circuit to turn on. Then, determine the second number of times the PFC circuit is turned off within the second preset historical time period; when the second number of times is greater than or equal to the second preset number threshold, control the electronic device to shut down.

[0083] Method 2: Control the device to shut down.

[0084] 2. When I1 ≤ i < I, that is, when the input current signal is greater than or equal to the first preset current threshold and less than the preset current protection value, obtain the signal parameters corresponding to the input current signal, and control the electronic device according to the signal parameters. The above control of the electronic device according to the signal parameters can include the following two methods:

[0085] Method 1: Taking the signal parameter including the first duration as an example, the first duration is the duration when the input current signal is greater than or equal to the first preset current threshold and less than the preset current protection value. When the first duration is less than the first preset time period, control the PFC circuit to turn off. When the first duration is greater than or equal to the first preset time period, control the electronic device to shut down.

[0086] Method 2: Taking the signal parameter including the first number as an example, the first number is the number of times the input current signal is greater than or equal to the first preset current threshold and less than the preset current protection value within the first preset historical time period. When the first number is greater than or equal to the first preset number threshold, control the electronic device to shut down.

[0087] 3. When I2 ≤ i < I1, that is, when the input current signal is greater than or equal to the second preset current threshold and less than the first preset current threshold, control the PFC circuit to turn off; the second preset current threshold is less than the first preset current threshold.

[0088] 4. When i < I2, that is, when the input current signal is less than the second preset current threshold, control the PFC circuit to turn on.

[0089] In this way, according to the magnitude relationship between the input current signal and the first preset current threshold, the second preset current threshold, and the preset current protection value, the method of controlling the electronic device can be determined, achieving refined regulation and improving the user experience.

[0090] Figure 3 It is a structural block diagram of a control device of a device shown according to an exemplary embodiment. Refer to Figure 3 , the device 300 includes a first acquisition module 310, a second acquisition module 320, and a control module 330.

[0091] The first acquisition module 310 is configured to: when the electronic device is running, acquire the input current signal of the PFC circuit in the electronic device;

[0092] The second acquisition module 320 is configured to: when the input current signal is greater than or equal to the first preset current threshold and less than the preset current protection value, acquire the signal parameter corresponding to the input current signal; the signal parameter includes the first duration or the first number of times; the first duration is the duration during which the input current signal is greater than or equal to the first preset current threshold and less than the preset current protection value; the first number of times is the number of times the input current signal is greater than or equal to the first preset current threshold and less than the preset current protection value within the first preset historical time period;

[0093] The control module 330 is configured to: control the electronic device according to the signal parameter.

[0094] Through the above technical solution, the operation or shutdown of the electronic device can be controlled through the signal parameter corresponding to the input current signal, avoiding the loss of the electronic device caused by directly shutting down when the input current signal reaches the preset current protection value, extending the service life of the device, and improving the user experience.

[0095] Optionally, the signal parameter includes the first duration; the device further includes:

[0096] The first control module is configured to: when the first duration is less than the first preset time period, control the PFC circuit to turn off.

[0097] Optionally, the device further includes:

[0098] The second control module is configured to control the electronic device to stop when the first duration is greater than or equal to the first preset time period.

[0099] Optionally, the signal parameters include the first count; the device further includes:

[0100] The third control module is configured to control the electronic device to stop when the first count is greater than or equal to a first preset count threshold.

[0101] Optionally, the device further includes:

[0102] The fourth control module is configured to: control the PFC circuit to turn off when the input current signal is greater than or equal to the preset current protection value; determine a second duration for the PFC circuit to turn off; and control the PFC circuit to turn on when the second duration is greater than or equal to a second preset time period.

[0103] Optionally, the device further includes:

[0104] The fifth control module is configured to: determine the second number of times the PFC circuit is turned off within a second preset historical time period; and control the electronic device to shut down if the second number is greater than or equal to the second preset number threshold.

[0105] Optionally, the device further includes:

[0106] The sixth control module is configured to: control the PFC circuit to shut down when the input current signal is greater than or equal to the second preset current threshold and less than the first preset current threshold; the second preset current threshold is less than the first preset current threshold.

[0107] Optionally, the device further includes:

[0108] The seventh control module is configured to control the PFC circuit to turn on when the input current signal is less than the second preset current threshold.

[0109] Optionally, the device further includes:

[0110] The eighth control module is configured to control the electronic device to shut down when the input current signal is greater than or equal to the preset current protection value.

[0111] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0112] This disclosure also provides a computer-readable storage medium having stored thereon computer program instructions that, when executed by a processor, implement the steps of the control method for the device provided in this disclosure.

[0113] In summary, this disclosure provides a control method, apparatus, electronic device, and storage medium for a device. When the electronic device is operating, the method acquires the input current signal of the PFC circuit within the electronic device. When the input current signal is greater than or equal to a first preset current threshold and less than a preset current protection value, the method acquires signal parameters corresponding to the input current signal. These signal parameters include a first duration or a first count. The first duration is the duration during which the input current signal is greater than or equal to the first preset current threshold and less than the preset current protection value. The first count is the number of times the input current signal is greater than or equal to the first preset current threshold and less than the preset current protection value within a first preset historical time period. Based on these signal parameters, the electronic device is controlled. This disclosure controls the operation or shutdown of the electronic device through the signal parameters corresponding to the input current signal, avoiding the damage caused to the electronic device by directly shutting down when the input current signal reaches the preset current protection value, extending the device's lifespan, and improving the user experience.

[0114] Figure 4 This is a structural block diagram illustrating an electronic device 400 according to an exemplary embodiment. For example, the electronic device 400 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.

[0115] Reference Figure 4 The electronic device 400 may include one or more of the following components: processing component 402, memory 404, power supply component 406, multimedia component 408, audio component 410, input / output interface 412, sensor component 414, and communication component 416.

[0116] Processing component 402 typically controls the overall operation of electronic device 400, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 402 may include one or more processors 420 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 402 may include one or more modules to facilitate interaction between processing component 402 and other components. For example, processing component 402 may include a multimedia module to facilitate interaction between multimedia component 408 and processing component 402.

[0117] Memory 404 is configured to store various types of data to support the operation of electronic device 400. Examples of this data include instructions for any application or method operating on electronic device 400, contact data, phonebook data, messages, pictures, videos, etc. Memory 404 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0118] Power supply component 406 provides power to various components of electronic device 400. Power supply component 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 400.

[0119] Multimedia component 408 includes a screen that provides an output interface between the electronic device 400 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 408 includes a front-facing camera and / or a rear-facing camera. When the electronic device 400 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0120] Audio component 410 is configured to output and / or input audio signals. For example, audio component 410 includes a microphone (MIC) configured to receive external audio signals when electronic device 400 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 404 or transmitted via communication component 416. In some embodiments, audio component 410 also includes a speaker for outputting audio signals.

[0121] Input / output interface 412 provides an interface between processing component 402 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, start buttons, and lock buttons.

[0122] Sensor assembly 414 includes one or more sensors for providing state assessments of various aspects of electronic device 400. For example, sensor assembly 414 may detect the on / off state of electronic device 400, the relative positioning of components such as the display and keypad of electronic device 400, changes in position of electronic device 400 or a component of electronic device 400, the presence or absence of user contact with electronic device 400, orientation or acceleration / deceleration of electronic device 400, and temperature changes of electronic device 400. Sensor assembly 414 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 414 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 414 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.

[0123] Communication component 416 is configured to facilitate wired or wireless communication between electronic device 400 and other devices. Electronic device 400 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 416 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 416 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0124] In an exemplary embodiment, the electronic device 400 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.

[0125] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 404 including instructions, which can be executed by a processor 420 of an electronic device 400 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0126] Figure 5This is a block diagram illustrating another electronic device 500 according to an exemplary embodiment. For example, electronic device 500 may be provided as a server. (Refer to...) Figure 5 The electronic device 500 includes a processing component 522, which further includes one or more processors, and memory resources represented by memory 532 for storing instructions, such as applications, that can be executed by the processing component 522. The applications stored in memory 532 may include one or more modules, each corresponding to a set of instructions. Furthermore, the processing component 522 is configured to execute instructions to perform the aforementioned device control methods. The electronic device 500 may also include a power supply component 526 configured to perform power management of the electronic device 500, a wired or wireless network interface 550 configured to connect the electronic device 500 to a network, and an input / output interface 558. The electronic device 500 can operate on an operating system, such as Windows Server, stored in memory 532. TM Mac OS X TM Unix TM Linux TM FreeBSD TM Or similar.

[0127] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of this disclosure. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.

[0128] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

Claims

1. A method for controlling equipment, characterized in that, Applied to an electronic device, the electronic device including a PFC circuit, the method includes: When the electronic device is operating, the input current signal of the PFC circuit is acquired; When the input current signal is greater than or equal to a first preset current threshold and less than a preset current protection value, the signal parameters corresponding to the input current signal are obtained; the signal parameters include a first duration or a first count; the first duration is the duration during which the input current signal is greater than or equal to the first preset current threshold and less than the preset current protection value; the first count is the number of times the input current signal is greater than or equal to the first preset current threshold and less than the preset current protection value within a first preset historical time period; The electronic device is controlled based on the signal parameters.

2. The method according to claim 1, characterized in that, The signal parameters include a first duration; controlling the electronic device based on the signal parameters includes: If the first duration is less than a first preset time period, the PFC circuit is controlled to turn off.

3. The method according to claim 2, characterized in that, The method further includes: If the first duration is greater than or equal to the first preset time period, the electronic device is controlled to stop.

4. The method according to claim 1, characterized in that, The signal parameters include a first number; controlling the electronic device based on the signal parameters further includes: If the first number of times is greater than or equal to a first preset number of times threshold, the electronic device is controlled to stop.

5. The method according to claim 1, characterized in that, The method further includes: If the input current signal is greater than or equal to the preset current protection value, the PFC circuit is controlled to shut down. Determine a second duration for which the PFC circuit is turned off; When the second duration is greater than or equal to the second preset time period, the PFC circuit is controlled to be turned on.

6. The method according to claim 5, characterized in that, The method includes: Determine the second number of times the PFC circuit is turned off within a second preset historical time period; If the second number of times is greater than or equal to the second preset number of times threshold, the electronic device is controlled to stop.

7. The method according to claim 1, characterized in that, The method further includes: When the input current signal is greater than or equal to the second preset current threshold and less than the first preset current threshold, the PFC circuit is controlled to turn off; the second preset current threshold is less than the first preset current threshold.

8. The method according to claim 7, characterized in that, The method further includes: When the input current signal is less than the second preset current threshold, the PFC circuit is controlled to turn on.

9. The method according to any one of claims 1-8, characterized in that, The method further includes: If the input current signal is greater than or equal to the preset current protection value, the electronic device is controlled to shut down.

10. A control device for an equipment, characterized in that, The apparatus for performing the method according to any one of claims 1-9 comprises: The first acquisition module is configured to: acquire the input current signal of the PFC circuit in the electronic device when the electronic device is in operation; The second acquisition module is configured to: acquire signal parameters corresponding to the input current signal when the input current signal is greater than or equal to a first preset current threshold and less than a preset current protection value; the signal parameters include a first duration or a first count; the first duration is the duration during which the input current signal is greater than or equal to the first preset current threshold and less than the preset current protection value; the first count is the number of times the input current signal is greater than or equal to the first preset current threshold and less than the preset current protection value within a first preset historical time period; The control module is configured to control the electronic device according to the signal parameters.

11. An electronic device, characterized in that, The method of any one of claims 1-9 comprises: processor; Memory used to store processor-executable instructions; The processor is configured to: acquire an input current signal of the PFC circuit in the electronic device while the electronic device is running; acquire signal parameters corresponding to the input current signal when the input current signal is greater than or equal to a first preset current threshold and less than a preset current protection value; the signal parameters include a first duration or a first count; the first duration is the duration during which the input current signal is greater than or equal to the first preset current threshold and less than the preset current protection value; the first count is the number of times the input current signal is greater than or equal to the first preset current threshold and less than the preset current protection value within a first preset historical time period; and control the electronic device according to the signal parameters.

12. A computer-readable storage medium having computer program instructions stored thereon, characterized in that, When executed by a processor, the program instructions implement the steps of the method described in any one of claims 1-9.